; ; sub_180035510 from 0x180035510 to 0x1800357be (686 bytes) ; ; 5 xrefs: ; > sub_180034270 @ 0x18003439f ; > @ 0x1801803e8 ; > @ 0x1801803f8 ; > @ 0x18018040c ; > @ 0x1801f7b60 ; ; This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True! ; ; Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA ; Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings ; Generated at Fri, 27 Nov 2026 10:53:05 +0000 ; mov [rsp-8+arg_10], rbx ; +0x0, 0x180035510 push rbp ; +0x5, 0x180035515 lea rbp, [rsp-160h] ; +0x6, 0x180035516 sub rsp, 260h ; +0xe, 0x18003551e mov rax, cs:__security_cookie ; +0x15, 0x180035525 xor rax, rsp ; +0x1c, 0x18003552c mov [rbp+160h+var_10], rax ; +0x1f, 0x18003552f mov rbx, rcx ; +0x26, 0x180035536 xor r8d, r8d ; +0x29, 0x180035539 mov rcx, [rcx+170h] ; +0x2c, 0x18003553c xor edx, edx ; +0x33, 0x180035543 call sub_1800B3990 ; +0x35, 0x180035545 test eax, eax ; +0x3a, 0x18003554a jnz loc_180035791 ; +0x3c, 0x18003554c xor r9d, r9d ; +0x42, 0x180035552 lea rdx, [rsp+260h+var_210] ; +0x45, 0x180035555 mov r8d, 200h ; +0x4a, 0x18003555a mov rcx, rbx ; +0x50, 0x180035560 call sub_180033FC0 ; +0x53, 0x180035563 test eax, eax ; +0x58, 0x180035568 jnz loc_1800357B1 ; +0x5a, 0x18003556a lea r8d, [rax+0Ah] ; +0x60, 0x180035570 lea rdx, aPlaylist_0; "[playlist]" ; +0x64, 0x180035574 lea rcx, [rsp+260h+var_210] ; +0x6b, 0x18003557b call sub_1800B7FF0 ; +0x70, 0x180035580 test eax, eax ; +0x75, 0x180035585 jnz loc_1800357B1 ; +0x77, 0x180035587 xor r9d, r9d ; +0x7d, 0x18003558d mov [rsp+260h+arg_8], rdi ; +0x80, 0x180035590 mov r8d, 200h ; +0x88, 0x180035598 lea rdx, [rsp+260h+var_210] ; +0x8e, 0x18003559e mov rcx, rbx ; +0x93, 0x1800355a3 call sub_180033FC0 ; +0x96, 0x1800355a6 test eax, eax ; +0x9b, 0x1800355ab jnz loc_180035787 ; +0x9d, 0x1800355ad xor edi, edi ; +0xa3, 0x1800355b3 mov r8d, 4 ; +0xa5, 0x1800355b5 lea rdx, [rsp+260h+var_210] ; +0xab, 0x1800355bb lea rcx, aFile_1; "File" ; +0xb0, 0x1800355c0 call sub_1800B7FF0 ; +0xb7, 0x1800355c7 lea rdx, [rsp+260h+var_210] ; +0xbc, 0x1800355cc test eax, eax ; +0xc1, 0x1800355d1 jnz short loc_180035625 ; +0xc3, 0x1800355d3 lea r9, [rsp+260h+var_220] ; +0xc5, 0x1800355d5 mov r8d, 200h ; +0xca, 0x1800355da mov rcx, rbx ; +0xd0, 0x1800355e0 call sub_180033FC0 ; +0xd3, 0x1800355e3 test eax, eax ; +0xd8, 0x1800355e8 jnz loc_180035787 ; +0xda, 0x1800355ea mov eax, [rsp+260h+var_220] ; +0xe0, 0x1800355f0 lea r9, [rsp+260h+var_210] ; +0xe4, 0x1800355f4 inc eax ; +0xe9, 0x1800355f9 mov [rsp+260h+var_230], dil ; +0xeb, 0x1800355fb mov [rsp+260h+var_238], 3 ; +0xf0, 0x180035600 lea r8, aFile; "FILE" ; +0xf8, 0x180035608 mov edx, 8 ; +0xff, 0x18003560f mov [rsp+260h+var_240], eax ; +0x104, 0x180035614 mov rcx, rbx ; +0x108, 0x180035618 call sub_180012590 ; +0x10b, 0x18003561b jmp loc_180035769 ; +0x110, 0x180035620 mov r8d, 5 ; +0x115, 0x180035625 lea rcx, aTitle_0; "Title" ; +0x11b, 0x18003562b call sub_1800B7FF0 ; +0x122, 0x180035632 lea rdx, [rsp+260h+var_210] ; +0x127, 0x180035637 test eax, eax ; +0x12c, 0x18003563c jnz short loc_180035690 ; +0x12e, 0x18003563e lea r9, [rsp+260h+var_220] ; +0x130, 0x180035640 mov r8d, 200h ; +0x135, 0x180035645 mov rcx, rbx ; +0x13b, 0x18003564b call sub_180033FC0 ; +0x13e, 0x18003564e test eax, eax ; +0x143, 0x180035653 jnz loc_180035787 ; +0x145, 0x180035655 mov eax, [rsp+260h+var_220] ; +0x14b, 0x18003565b lea r9, [rsp+260h+var_210] ; +0x14f, 0x18003565f inc eax ; +0x154, 0x180035664 mov [rsp+260h+var_230], dil ; +0x156, 0x180035666 mov [rsp+260h+var_238], 3 ; +0x15b, 0x18003566b lea r8, aTitle; "TITLE" ; +0x163, 0x180035673 mov edx, 8 ; +0x16a, 0x18003567a mov [rsp+260h+var_240], eax ; +0x16f, 0x18003567f mov rcx, rbx ; +0x173, 0x180035683 call sub_180012590 ; +0x176, 0x180035686 jmp loc_180035769 ; +0x17b, 0x18003568b mov r8d, 6 ; +0x180, 0x180035690 lea rcx, aLength_0; "Length" ; +0x186, 0x180035696 call sub_1800B7FF0 ; +0x18d, 0x18003569d lea rdx, [rsp+260h+var_210] ; +0x192, 0x1800356a2 test eax, eax ; +0x197, 0x1800356a7 jnz short loc_18003571E ; +0x199, 0x1800356a9 lea r9, [rsp+260h+var_220] ; +0x19b, 0x1800356ab mov [rsp+260h+var_21C], edi ; +0x1a0, 0x1800356b0 mov r8d, 200h ; +0x1a4, 0x1800356b4 mov rcx, rbx ; +0x1aa, 0x1800356ba call sub_180033FC0 ; +0x1ad, 0x1800356bd test eax, eax ; +0x1b2, 0x1800356c2 jnz loc_180035787 ; +0x1b4, 0x1800356c4 movsxd rax, [rsp+260h+var_220] ; +0x1ba, 0x1800356ca cmp rax, 200h ; +0x1bf, 0x1800356cf jnb loc_1800357B8 ; +0x1c5, 0x1800356d5 lea rcx, [rsp+260h+var_210] ; +0x1cb, 0x1800356db mov [rsp+rax+260h+var_210], dil ; +0x1d0, 0x1800356e0 call unknown_libname_28; Microsoft VisualC 64bit universal runtime ; +0x1d5, 0x1800356e5 mov [rsp+260h+var_230], dil ; +0x1da, 0x1800356ea lea r9, [rsp+260h+var_21C] ; +0x1df, 0x1800356ef mov [rsp+260h+var_238], 1 ; +0x1e4, 0x1800356f4 lea r8, aLength; "LENGTH" ; +0x1ec, 0x1800356fc mov edx, 8 ; +0x1f3, 0x180035703 mov [rsp+260h+var_240], 4 ; +0x1f8, 0x180035708 mov rcx, rbx ; +0x200, 0x180035710 mov [rsp+260h+var_21C], eax ; +0x203, 0x180035713 call sub_180012590 ; +0x207, 0x180035717 jmp short loc_180035769 ; +0x20c, 0x18003571c mov r8d, 0Fh ; +0x20e, 0x18003571e lea rcx, aNumberofentrie; "NumberOfEntries" ; +0x214, 0x180035724 call sub_1800B7FF0 ; +0x21b, 0x18003572b lea rdx, [rsp+260h+var_210] ; +0x220, 0x180035730 test eax, eax ; +0x225, 0x180035735 jz short loc_180035754 ; +0x227, 0x180035737 mov r8d, 7 ; +0x229, 0x180035739 lea rcx, aVersion; "Version" ; +0x22f, 0x18003573f call sub_1800B7FF0 ; +0x236, 0x180035746 test eax, eax ; +0x23b, 0x18003574b jnz short loc_180035769 ; +0x23d, 0x18003574d lea rdx, [rsp+260h+var_210] ; +0x23f, 0x18003574f xor r9d, r9d ; +0x244, 0x180035754 mov r8d, 200h ; +0x247, 0x180035757 mov rcx, rbx ; +0x24d, 0x18003575d call sub_180033FC0 ; +0x250, 0x180035760 test eax, eax ; +0x255, 0x180035765 jnz short loc_180035787 ; +0x257, 0x180035767 xor r9d, r9d ; +0x259, 0x180035769 lea rdx, [rsp+260h+var_210] ; +0x25c, 0x18003576c mov r8d, 200h ; +0x261, 0x180035771 mov rcx, rbx ; +0x267, 0x180035777 call sub_180033FC0 ; +0x26a, 0x18003577a test eax, eax ; +0x26f, 0x18003577f jz loc_1800355B5 ; +0x271, 0x180035781 mov rdi, [rsp+260h+arg_8] ; +0x277, 0x180035787 xor eax, eax ; +0x27f, 0x18003578f mov rcx, [rbp+160h+var_10] ; +0x281, 0x180035791 xor rcx, rsp; StackCookie ; +0x288, 0x180035798 call __security_check_cookie ; +0x28b, 0x18003579b mov rbx, [rsp+260h+arg_10] ; +0x290, 0x1800357a0 add rsp, 260h ; +0x298, 0x1800357a8 pop rbp ; +0x29f, 0x1800357af retn ; +0x2a0, 0x1800357b0 mov eax, 13h ; +0x2a1, 0x1800357b1 jmp short loc_180035791 ; +0x2a6, 0x1800357b6 call __report_rangecheckfailure ; +0x2a8, 0x1800357b8 db 0CCh ; +0x2ad, 0x1800357bd