; ; sub_180034AA0 from 0x180034aa0 to 0x180035068 (1480 bytes) ; ; 5 xrefs: ; > sub_180034270 @ 0x18003442f ; > @ 0x18018043c ; > @ 0x18018044c ; > @ 0x180180464 ; > @ 0x1801f7b00 ; ; This function is hookable on this platform! ; ; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA ; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings ; push rbp ; +0x0, 0x180034aa0 push rbx ; +0x2, 0x180034aa2 push rsi ; +0x3, 0x180034aa3 lea rbp, [rsp-560h] ; +0x4, 0x180034aa4 sub rsp, 660h ; +0xc, 0x180034aac mov rax, cs:__security_cookie ; +0x13, 0x180034ab3 xor rax, rsp ; +0x1a, 0x180034aba mov [rbp+570h+var_20], rax ; +0x1d, 0x180034abd mov rbx, rcx ; +0x24, 0x180034ac4 mov [rsp+670h+var_62C], 200h ; +0x27, 0x180034ac7 mov rcx, [rcx+170h] ; +0x2f, 0x180034acf xor r8d, r8d ; +0x36, 0x180034ad6 xor edx, edx ; +0x39, 0x180034ad9 mov esi, 200h ; +0x3b, 0x180034adb call sub_1800B3990 ; +0x40, 0x180034ae0 test eax, eax ; +0x45, 0x180034ae5 jnz loc_180035048 ; +0x47, 0x180034ae7 xor r9d, r9d ; +0x4d, 0x180034aed mov [rsp+670h+var_650], 0 ; +0x50, 0x180034af0 lea r8, [rsp+670h+var_62C] ; +0x59, 0x180034af9 mov rcx, rbx ; +0x5e, 0x180034afe lea rdx, [rsp+670h+var_620] ; +0x61, 0x180034b01 call sub_180033E10 ; +0x66, 0x180034b06 test eax, eax ; +0x6b, 0x180034b0b jnz loc_180035048 ; +0x6d, 0x180034b0d mov [rsp+670h+arg_8], rdi ; +0x73, 0x180034b13 lea r8d, [rax+0Ch] ; +0x7b, 0x180034b1b lea rdx, [rsp+670h+var_620] ; +0x7f, 0x180034b1f mov [rsp+670h+arg_10], r14 ; +0x84, 0x180034b24 lea rcx, aXmlVersion_0; "?XML VERSION" ; +0x8c, 0x180034b2c call sub_1800B7FF0 ; +0x93, 0x180034b33 test eax, eax ; +0x98, 0x180034b38 jnz loc_180035033 ; +0x9a, 0x180034b3a lea r8d, [rax+10h] ; +0xa0, 0x180034b40 lea rdx, [rsp+670h+var_620] ; +0xa4, 0x180034b44 lea rcx, aEntryPlaystrin; "ENTRY PLAYSTRING=" ; +0xa9, 0x180034b49 call sub_1800B7FF0 ; +0xb0, 0x180034b50 test eax, eax ; +0xb5, 0x180034b55 jz loc_180034D30 ; +0xb7, 0x180034b57 nop dword ptr [rax] ; +0xbd, 0x180034b5d xor esi, esi ; +0xc0, 0x180034b60 mov [rsp+670h+var_630], sil ; +0xc2, 0x180034b62 nop word ptr [rax+rax+00000000h] ; +0xc7, 0x180034b67 mov rcx, [rbx+170h] ; +0xd0, 0x180034b70 lea rdx, [rsp+670h+var_62F] ; +0xd7, 0x180034b77 call sub_1800B2CB0 ; +0xdc, 0x180034b7c test eax, eax ; +0xe1, 0x180034b81 jnz loc_180035033 ; +0xe3, 0x180034b83 movzx eax, [rsp+670h+var_62F] ; +0xe9, 0x180034b89 cmp al, 20h ; ' ' ; +0xee, 0x180034b8e jz short loc_180034B70 ; +0xf0, 0x180034b90 cmp al, 9 ; +0xf2, 0x180034b92 jz short loc_180034B70 ; +0xf4, 0x180034b94 cmp al, 0Ah ; +0xf6, 0x180034b96 jz short loc_180034B70 ; +0xf8, 0x180034b98 cmp al, 0Dh ; +0xfa, 0x180034b9a jz short loc_180034B70 ; +0xfc, 0x180034b9c mov rcx, [rbx+170h] ; +0xfe, 0x180034b9e mov edx, 0FFFFFFFFh ; +0x105, 0x180034ba5 lea r8d, [rdx+2] ; +0x10a, 0x180034baa call sub_1800B3990 ; +0x10e, 0x180034bae test eax, eax ; +0x113, 0x180034bb3 jnz loc_180035033 ; +0x115, 0x180034bb5 nop dword ptr [rax+rax+00h] ; +0x11b, 0x180034bbb mov rcx, [rbx+170h] ; +0x120, 0x180034bc0 lea rdx, [rsp+670h+var_630] ; +0x127, 0x180034bc7 call sub_1800B2CB0 ; +0x12c, 0x180034bcc test eax, eax ; +0x131, 0x180034bd1 jnz loc_180035033 ; +0x133, 0x180034bd3 cmp [rsp+670h+var_630], 3Ch ; '<' ; +0x139, 0x180034bd9 jnz short loc_180034BC0 ; +0x13e, 0x180034bde lea rdi, [rsp+670h+var_620] ; +0x140, 0x180034be0 nop word ptr [rax+rax+00000000h] ; +0x145, 0x180034be5 mov rcx, [rbx+170h] ; +0x150, 0x180034bf0 lea rdx, [rsp+670h+var_630] ; +0x157, 0x180034bf7 call sub_1800B2CB0 ; +0x15c, 0x180034bfc test eax, eax ; +0x161, 0x180034c01 jnz loc_180035033 ; +0x163, 0x180034c03 movzx eax, [rsp+670h+var_630] ; +0x169, 0x180034c09 cmp esi, 200h ; +0x16e, 0x180034c0e jge short loc_180034C1D ; +0x174, 0x180034c14 inc esi ; +0x176, 0x180034c16 mov [rdi], al ; +0x178, 0x180034c18 inc rdi ; +0x17a, 0x180034c1a cmp al, 3Eh ; '>' ; +0x17d, 0x180034c1d jnz short loc_180034BF0 ; +0x17f, 0x180034c1f lea r14d, [rsi-1] ; +0x181, 0x180034c21 xor edx, edx ; +0x185, 0x180034c25 mov rcx, rbx ; +0x187, 0x180034c27 xor esi, esi ; +0x18a, 0x180034c2a xor edi, edi ; +0x18c, 0x180034c2c call sub_180035E20 ; +0x18e, 0x180034c2e test eax, eax ; +0x193, 0x180034c33 jnz loc_180035033 ; +0x195, 0x180034c35 nop dword ptr [rax+rax+00h] ; +0x19b, 0x180034c3b mov rcx, [rbx+170h] ; +0x1a0, 0x180034c40 lea rdx, [rsp+670h+var_630] ; +0x1a7, 0x180034c47 call sub_1800B2CB0 ; +0x1ac, 0x180034c4c test eax, eax ; +0x1b1, 0x180034c51 jnz loc_180035033 ; +0x1b3, 0x180034c53 movzx eax, [rsp+670h+var_630] ; +0x1b9, 0x180034c59 cmp rdi, 200h ; +0x1be, 0x180034c5e jge short loc_180034C73 ; +0x1c5, 0x180034c65 inc esi ; +0x1c7, 0x180034c67 mov [rbp+rdi+570h+var_220], al ; +0x1c9, 0x180034c69 inc rdi ; +0x1d0, 0x180034c70 cmp al, 3Ch ; '<' ; +0x1d3, 0x180034c73 jnz short loc_180034C40 ; +0x1d5, 0x180034c75 mov rcx, [rbx+170h] ; +0x1d7, 0x180034c77 lea rdx, [rsp+670h+var_630] ; +0x1de, 0x180034c7e dec esi ; +0x1e3, 0x180034c83 call sub_1800B2CB0 ; +0x1e5, 0x180034c85 test eax, eax ; +0x1ea, 0x180034c8a jnz loc_180035033 ; +0x1ec, 0x180034c8c cmp [rsp+670h+var_630], 2Fh ; '/' ; +0x1f2, 0x180034c92 jnz short loc_180034CC2 ; +0x1f7, 0x180034c97 nop dword ptr [rax+00000000h] ; +0x1f9, 0x180034c99 mov rcx, [rbx+170h] ; +0x200, 0x180034ca0 lea rdx, [rsp+670h+var_630] ; +0x207, 0x180034ca7 call sub_1800B2CB0 ; +0x20c, 0x180034cac test eax, eax ; +0x211, 0x180034cb1 jnz loc_180035033 ; +0x213, 0x180034cb3 cmp [rsp+670h+var_630], 3Eh ; '>' ; +0x219, 0x180034cb9 jnz short loc_180034CA0 ; +0x21e, 0x180034cbe jmp short loc_180034CDF ; +0x220, 0x180034cc0 mov rcx, [rbx+170h] ; +0x222, 0x180034cc2 mov edx, 0FFFFFFFEh ; +0x229, 0x180034cc9 lea r8d, [rdx+3] ; +0x22e, 0x180034cce call sub_1800B3990 ; +0x232, 0x180034cd2 test eax, eax ; +0x237, 0x180034cd7 jnz loc_180035033 ; +0x239, 0x180034cd9 movsxd rax, r14d ; +0x23f, 0x180034cdf cmp rax, 200h ; +0x242, 0x180034ce2 jnb loc_180035062 ; +0x248, 0x180034ce8 mov [rsp+rax+670h+var_620], 0 ; +0x24e, 0x180034cee movsxd rax, esi ; +0x253, 0x180034cf3 cmp rax, 200h ; +0x256, 0x180034cf6 jnb loc_180035062 ; +0x25c, 0x180034cfc mov r8d, 10h ; +0x262, 0x180034d02 mov [rbp+rax+570h+var_220], 0 ; +0x268, 0x180034d08 lea rdx, [rsp+670h+var_620] ; +0x270, 0x180034d10 lea rcx, aEntryPlaystrin; "ENTRY PLAYSTRING=" ; +0x275, 0x180034d15 call sub_1800B7FF0 ; +0x27c, 0x180034d1c test eax, eax ; +0x281, 0x180034d21 jnz loc_180034B60 ; +0x283, 0x180034d23 nop dword ptr [rax+00000000h] ; +0x289, 0x180034d29 test esi, esi ; +0x290, 0x180034d30 jnz loc_180034E5B ; +0x292, 0x180034d32 xor cl, cl ; +0x298, 0x180034d38 xor eax, eax ; +0x29a, 0x180034d3a xor edi, edi ; +0x29c, 0x180034d3c xor edx, edx ; +0x29e, 0x180034d3e cmp rax, 200h ; +0x2a0, 0x180034d40 jge short loc_180034D50 ; +0x2a6, 0x180034d46 movzx ecx, [rsp+rax+670h+var_620] ; +0x2a8, 0x180034d48 inc rax ; +0x2ad, 0x180034d4d cmp cl, 22h ; '"' ; +0x2b0, 0x180034d50 jnz short loc_180034D40 ; +0x2b3, 0x180034d53 nop word ptr [rax+rax+00000000h] ; +0x2b5, 0x180034d55 movzx ecx, [rsp+rax+670h+var_620] ; +0x2c0, 0x180034d60 inc rax ; +0x2c5, 0x180034d65 cmp cl, 22h ; '"' ; +0x2c8, 0x180034d68 jz short loc_180034D81 ; +0x2cb, 0x180034d6b mov [rbp+rdx+570h+var_420], cl ; +0x2cd, 0x180034d6d inc edi ; +0x2d4, 0x180034d74 inc rdx ; +0x2d6, 0x180034d76 cmp rax, 1FFh ; +0x2d9, 0x180034d79 jl short loc_180034D60 ; +0x2df, 0x180034d7f mov [rbp+rdx+570h+var_420], 0 ; +0x2e1, 0x180034d81 lea rcx, aEntryPlaystrin; "ENTRY PLAYSTRING=" ; +0x2e9, 0x180034d89 lea rdx, [rsp+670h+var_620] ; +0x2f0, 0x180034d90 mov r8d, 11h ; +0x2f5, 0x180034d95 call sub_1800B7FF0 ; +0x2fb, 0x180034d9b test eax, eax ; +0x300, 0x180034da0 jnz short loc_180034DDD ; +0x302, 0x180034da2 lea r8d, [rax+5] ; +0x304, 0x180034da4 inc edi ; +0x308, 0x180034da8 lea rdx, [rbp+570h+var_420] ; +0x30a, 0x180034daa lea rcx, aFile_0; "FILE:" ; +0x311, 0x180034db1 call sub_1800B7FF0 ; +0x318, 0x180034db8 test eax, eax ; +0x31d, 0x180034dbd lea r9, [rbp+570h+var_41B] ; +0x31f, 0x180034dbf lea rcx, [rbp+570h+var_420] ; +0x326, 0x180034dc6 cmovnz r9, rcx ; +0x32d, 0x180034dcd lea r8, aFile; "FILE" ; +0x331, 0x180034dd1 jmp loc_180034E72 ; +0x338, 0x180034dd8 mov r8d, 0Dh ; +0x33d, 0x180034ddd lea rdx, [rsp+670h+var_620] ; +0x343, 0x180034de3 lea rcx, aName; "NAME" ; +0x348, 0x180034de8 call sub_1800B7FF0 ; +0x34f, 0x180034def test eax, eax ; +0x354, 0x180034df4 jnz short loc_180034E1C ; +0x356, 0x180034df6 mov [rsp+670h+var_640], 0 ; +0x358, 0x180034df8 lea eax, [rdi+1] ; +0x35d, 0x180034dfd mov [rsp+670h+var_648], 3 ; +0x360, 0x180034e00 lea r9, [rbp+570h+var_420] ; +0x368, 0x180034e08 mov dword ptr [rsp+670h+var_650], eax ; +0x36f, 0x180034e0f lea r8, aName; "NAME" ; +0x373, 0x180034e13 jmp short loc_180034E83 ; +0x37a, 0x180034e1a mov r8d, 0Eh ; +0x37c, 0x180034e1c lea rdx, [rsp+670h+var_620] ; +0x382, 0x180034e22 lea rcx, aLength; "LENGTH" ; +0x387, 0x180034e27 call sub_1800B7FF0 ; +0x38e, 0x180034e2e test eax, eax ; +0x393, 0x180034e33 jnz short loc_180034E90 ; +0x395, 0x180034e35 mov [rsp+670h+var_640], 0 ; +0x397, 0x180034e37 lea eax, [rdi+1] ; +0x39c, 0x180034e3c mov [rsp+670h+var_648], 3 ; +0x39f, 0x180034e3f lea r9, [rbp+570h+var_420] ; +0x3a7, 0x180034e47 mov dword ptr [rsp+670h+var_650], eax ; +0x3ae, 0x180034e4e lea r8, aLength; "LENGTH" ; +0x3b2, 0x180034e52 jmp short loc_180034E83 ; +0x3b9, 0x180034e59 lea rcx, [rsp+670h+var_620] ; +0x3bb, 0x180034e5b lea edi, [rsi+1] ; +0x3c0, 0x180034e60 call sub_1800B8170 ; +0x3c3, 0x180034e63 mov r8, rax ; +0x3c8, 0x180034e68 lea r9, [rbp+570h+var_220] ; +0x3cb, 0x180034e6b mov [rsp+670h+var_640], 0 ; +0x3d2, 0x180034e72 mov [rsp+670h+var_648], 3 ; +0x3d7, 0x180034e77 mov dword ptr [rsp+670h+var_650], edi ; +0x3df, 0x180034e7f mov edx, 8 ; +0x3e3, 0x180034e83 mov rcx, rbx ; +0x3e8, 0x180034e88 call sub_180012590 ; +0x3eb, 0x180034e8b xor esi, esi ; +0x3f0, 0x180034e90 mov [rsp+670h+var_630], sil ; +0x3f2, 0x180034e92 nop word ptr [rax+rax+00000000h] ; +0x3f7, 0x180034e97 mov rcx, [rbx+170h] ; +0x400, 0x180034ea0 lea rdx, [rsp+670h+var_62F] ; +0x407, 0x180034ea7 call sub_1800B2CB0 ; +0x40c, 0x180034eac test eax, eax ; +0x411, 0x180034eb1 jnz loc_18003502F ; +0x413, 0x180034eb3 movzx eax, [rsp+670h+var_62F] ; +0x419, 0x180034eb9 cmp al, 20h ; ' ' ; +0x41e, 0x180034ebe jz short loc_180034EA0 ; +0x420, 0x180034ec0 cmp al, 9 ; +0x422, 0x180034ec2 jz short loc_180034EA0 ; +0x424, 0x180034ec4 cmp al, 0Ah ; +0x426, 0x180034ec6 jz short loc_180034EA0 ; +0x428, 0x180034ec8 cmp al, 0Dh ; +0x42a, 0x180034eca jz short loc_180034EA0 ; +0x42c, 0x180034ecc mov rcx, [rbx+170h] ; +0x42e, 0x180034ece mov edx, 0FFFFFFFFh ; +0x435, 0x180034ed5 lea r8d, [rdx+2] ; +0x43a, 0x180034eda call sub_1800B3990 ; +0x43e, 0x180034ede test eax, eax ; +0x443, 0x180034ee3 jnz loc_18003502F ; +0x445, 0x180034ee5 nop dword ptr [rax+rax+00h] ; +0x44b, 0x180034eeb mov rcx, [rbx+170h] ; +0x450, 0x180034ef0 lea rdx, [rsp+670h+var_630] ; +0x457, 0x180034ef7 call sub_1800B2CB0 ; +0x45c, 0x180034efc test eax, eax ; +0x461, 0x180034f01 jnz loc_18003502F ; +0x463, 0x180034f03 cmp [rsp+670h+var_630], 3Ch ; '<' ; +0x469, 0x180034f09 jnz short loc_180034EF0 ; +0x46e, 0x180034f0e lea rdi, [rsp+670h+var_620] ; +0x470, 0x180034f10 nop word ptr [rax+rax+00000000h] ; +0x475, 0x180034f15 mov rcx, [rbx+170h] ; +0x480, 0x180034f20 lea rdx, [rsp+670h+var_630] ; +0x487, 0x180034f27 call sub_1800B2CB0 ; +0x48c, 0x180034f2c test eax, eax ; +0x491, 0x180034f31 jnz loc_18003502F ; +0x493, 0x180034f33 movzx eax, [rsp+670h+var_630] ; +0x499, 0x180034f39 cmp esi, 200h ; +0x49e, 0x180034f3e jge short loc_180034F4D ; +0x4a4, 0x180034f44 inc esi ; +0x4a6, 0x180034f46 mov [rdi], al ; +0x4a8, 0x180034f48 inc rdi ; +0x4aa, 0x180034f4a cmp al, 3Eh ; '>' ; +0x4ad, 0x180034f4d jnz short loc_180034F20 ; +0x4af, 0x180034f4f lea r14d, [rsi-1] ; +0x4b1, 0x180034f51 xor edx, edx ; +0x4b5, 0x180034f55 mov rcx, rbx ; +0x4b7, 0x180034f57 xor esi, esi ; +0x4ba, 0x180034f5a xor edi, edi ; +0x4bc, 0x180034f5c call sub_180035E20 ; +0x4be, 0x180034f5e test eax, eax ; +0x4c3, 0x180034f63 jnz loc_18003502F ; +0x4c5, 0x180034f65 nop dword ptr [rax+rax+00h] ; +0x4cb, 0x180034f6b mov rcx, [rbx+170h] ; +0x4d0, 0x180034f70 lea rdx, [rsp+670h+var_630] ; +0x4d7, 0x180034f77 call sub_1800B2CB0 ; +0x4dc, 0x180034f7c test eax, eax ; +0x4e1, 0x180034f81 jnz loc_18003502F ; +0x4e3, 0x180034f83 movzx eax, [rsp+670h+var_630] ; +0x4e9, 0x180034f89 cmp rdi, 200h ; +0x4ee, 0x180034f8e jge short loc_180034FA3 ; +0x4f5, 0x180034f95 inc esi ; +0x4f7, 0x180034f97 mov [rbp+rdi+570h+var_220], al ; +0x4f9, 0x180034f99 inc rdi ; +0x500, 0x180034fa0 cmp al, 3Ch ; '<' ; +0x503, 0x180034fa3 jnz short loc_180034F70 ; +0x505, 0x180034fa5 mov rcx, [rbx+170h] ; +0x507, 0x180034fa7 lea rdx, [rsp+670h+var_630] ; +0x50e, 0x180034fae dec esi ; +0x513, 0x180034fb3 call sub_1800B2CB0 ; +0x515, 0x180034fb5 test eax, eax ; +0x51a, 0x180034fba jnz short loc_18003502F ; +0x51c, 0x180034fbc cmp [rsp+670h+var_630], 2Fh ; '/' ; +0x51e, 0x180034fbe jnz short loc_180034FEE ; +0x523, 0x180034fc3 nop word ptr [rax+rax+00000000h] ; +0x525, 0x180034fc5 mov rcx, [rbx+170h] ; +0x530, 0x180034fd0 lea rdx, [rsp+670h+var_630] ; +0x537, 0x180034fd7 call sub_1800B2CB0 ; +0x53c, 0x180034fdc test eax, eax ; +0x541, 0x180034fe1 jnz short loc_18003502F ; +0x543, 0x180034fe3 cmp [rsp+670h+var_630], 3Eh ; '>' ; +0x545, 0x180034fe5 jnz short loc_180034FD0 ; +0x54a, 0x180034fea jmp short loc_180035007 ; +0x54c, 0x180034fec mov rcx, [rbx+170h] ; +0x54e, 0x180034fee mov edx, 0FFFFFFFEh ; +0x555, 0x180034ff5 lea r8d, [rdx+3] ; +0x55a, 0x180034ffa call sub_1800B3990 ; +0x55e, 0x180034ffe test eax, eax ; +0x563, 0x180035003 jnz short loc_18003502F ; +0x565, 0x180035005 movsxd rax, r14d ; +0x567, 0x180035007 cmp rax, 200h ; +0x56a, 0x18003500a jnb short loc_180035062 ; +0x570, 0x180035010 mov [rsp+rax+670h+var_620], 0 ; +0x572, 0x180035012 movsxd rax, esi ; +0x577, 0x180035017 cmp rax, 200h ; +0x57a, 0x18003501a jnb short loc_180035062 ; +0x580, 0x180035020 mov [rbp+rax+570h+var_220], 0 ; +0x582, 0x180035022 jmp loc_180034D30 ; +0x58a, 0x18003502a xor eax, eax ; +0x58f, 0x18003502f jmp short loc_180035038 ; +0x591, 0x180035031 mov eax, 13h ; +0x593, 0x180035033 mov rdi, [rsp+670h+arg_8] ; +0x598, 0x180035038 mov r14, [rsp+670h+arg_10] ; +0x5a0, 0x180035040 mov rcx, [rbp+570h+var_20] ; +0x5a8, 0x180035048 xor rcx, rsp; StackCookie ; +0x5af, 0x18003504f call __security_check_cookie ; +0x5b2, 0x180035052 add rsp, 660h ; +0x5b7, 0x180035057 pop rsi ; +0x5be, 0x18003505e pop rbx ; +0x5bf, 0x18003505f pop rbp ; +0x5c0, 0x180035060 retn ; +0x5c1, 0x180035061 call __report_rangecheckfailure ; +0x5c2, 0x180035062 db 0CCh ; +0x5c7, 0x180035067