; ; sub_180034590 from 0x180034590 to 0x180034a91 (1281 bytes) ; ; 5 xrefs: ; > sub_180034270 @ 0x1800343cf ; > @ 0x180180284 ; > @ 0x1801802c0 ; > @ 0x1801802e0 ; > @ 0x1801f7ab8 ; ; 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 ; push rbp ; +0x0, 0x180034590 push r14 ; +0x2, 0x180034592 lea rbp, [rsp-568h] ; +0x4, 0x180034594 sub rsp, 668h ; +0xc, 0x18003459c mov rax, cs:__security_cookie ; +0x13, 0x1800345a3 xor rax, rsp ; +0x1a, 0x1800345aa mov [rbp+570h+var_20], rax ; +0x1d, 0x1800345ad mov r14, rcx ; +0x24, 0x1800345b4 mov [rsp+670h+var_62C], 200h ; +0x27, 0x1800345b7 mov rcx, [rcx+170h] ; +0x2f, 0x1800345bf xor r8d, r8d ; +0x36, 0x1800345c6 xor edx, edx ; +0x39, 0x1800345c9 call sub_1800B3990 ; +0x3b, 0x1800345cb test eax, eax ; +0x40, 0x1800345d0 jnz loc_180034A71 ; +0x42, 0x1800345d2 mov [rsp+670h+var_10], r15 ; +0x48, 0x1800345d8 lea r8, [rsp+670h+var_62C] ; +0x50, 0x1800345e0 xor r15d, r15d ; +0x55, 0x1800345e5 lea rdx, [rsp+670h+var_620] ; +0x58, 0x1800345e8 xor r9d, r9d ; +0x5d, 0x1800345ed mov [rsp+670h+var_650], r15 ; +0x60, 0x1800345f0 mov rcx, r14 ; +0x65, 0x1800345f5 call sub_180033E10 ; +0x68, 0x1800345f8 test eax, eax ; +0x6d, 0x1800345fd jnz loc_180034A69 ; +0x6f, 0x1800345ff lea r8d, [r15+0Bh] ; +0x75, 0x180034605 lea rdx, [rsp+670h+var_620] ; +0x79, 0x180034609 lea rcx, aAsxVersion_0; "ASX VERSION" ; +0x7e, 0x18003460e call sub_1800B7FF0 ; +0x85, 0x180034615 test eax, eax ; +0x8a, 0x18003461a jz short loc_180034627 ; +0x8c, 0x18003461c lea eax, [r15+13h] ; +0x8e, 0x18003461e jmp loc_180034A69 ; +0x92, 0x180034622 mov [rsp+670h+arg_8], rbx ; +0x97, 0x180034627 mov [rsp+670h+arg_18], rdi ; +0x9f, 0x18003462f mov [rsp+670h+arg_10], rsi ; +0xa7, 0x180034637 nop ; +0xaf, 0x18003463f mov edi, r15d ; +0xb0, 0x180034640 mov [rsp+670h+var_630], dil ; +0xb3, 0x180034643 nop dword ptr [rax+rax+00000000h] ; +0xb8, 0x180034648 mov rcx, [r14+170h] ; +0xc0, 0x180034650 lea rdx, [rsp+670h+var_62F] ; +0xc7, 0x180034657 call sub_1800B2CB0 ; +0xcc, 0x18003465c test eax, eax ; +0xd1, 0x180034661 jnz loc_180034A4F ; +0xd3, 0x180034663 movzx eax, [rsp+670h+var_62F] ; +0xd9, 0x180034669 cmp al, 20h ; ' ' ; +0xde, 0x18003466e jz short loc_180034650 ; +0xe0, 0x180034670 cmp al, 9 ; +0xe2, 0x180034672 jz short loc_180034650 ; +0xe4, 0x180034674 cmp al, 0Ah ; +0xe6, 0x180034676 jz short loc_180034650 ; +0xe8, 0x180034678 cmp al, 0Dh ; +0xea, 0x18003467a jz short loc_180034650 ; +0xec, 0x18003467c mov rcx, [r14+170h] ; +0xee, 0x18003467e mov edx, 0FFFFFFFFh ; +0xf5, 0x180034685 lea r8d, [rdx+2] ; +0xfa, 0x18003468a call sub_1800B3990 ; +0xfe, 0x18003468e test eax, eax ; +0x103, 0x180034693 jnz loc_180034A4F ; +0x105, 0x180034695 nop dword ptr [rax+rax+00h] ; +0x10b, 0x18003469b mov rcx, [r14+170h] ; +0x110, 0x1800346a0 lea rdx, [rsp+670h+var_630] ; +0x117, 0x1800346a7 call sub_1800B2CB0 ; +0x11c, 0x1800346ac test eax, eax ; +0x121, 0x1800346b1 jnz loc_180034A4F ; +0x123, 0x1800346b3 cmp [rsp+670h+var_630], 3Ch ; '<' ; +0x129, 0x1800346b9 jnz short loc_1800346A0 ; +0x12e, 0x1800346be lea rbx, [rsp+670h+var_620] ; +0x130, 0x1800346c0 nop word ptr [rax+rax+00000000h] ; +0x135, 0x1800346c5 mov rcx, [r14+170h] ; +0x140, 0x1800346d0 lea rdx, [rsp+670h+var_630] ; +0x147, 0x1800346d7 call sub_1800B2CB0 ; +0x14c, 0x1800346dc test eax, eax ; +0x151, 0x1800346e1 jnz loc_180034A4F ; +0x153, 0x1800346e3 movzx eax, [rsp+670h+var_630] ; +0x159, 0x1800346e9 cmp edi, 200h ; +0x15e, 0x1800346ee jge short loc_1800346FD ; +0x164, 0x1800346f4 inc edi ; +0x166, 0x1800346f6 mov [rbx], al ; +0x168, 0x1800346f8 inc rbx ; +0x16a, 0x1800346fa cmp al, 3Eh ; '>' ; +0x16d, 0x1800346fd jnz short loc_1800346D0 ; +0x16f, 0x1800346ff lea esi, [rdi-1] ; +0x171, 0x180034701 xor edx, edx ; +0x174, 0x180034704 mov rcx, r14 ; +0x176, 0x180034706 mov edi, r15d ; +0x179, 0x180034709 mov rbx, r15 ; +0x17c, 0x18003470c call sub_180035E20 ; +0x17f, 0x18003470f test eax, eax ; +0x184, 0x180034714 jnz loc_180034A4F ; +0x186, 0x180034716 nop dword ptr [rax+00h] ; +0x18c, 0x18003471c mov rcx, [r14+170h] ; +0x190, 0x180034720 lea rdx, [rsp+670h+var_630] ; +0x197, 0x180034727 call sub_1800B2CB0 ; +0x19c, 0x18003472c test eax, eax ; +0x1a1, 0x180034731 jnz loc_180034A4F ; +0x1a3, 0x180034733 movzx eax, [rsp+670h+var_630] ; +0x1a9, 0x180034739 cmp rbx, 200h ; +0x1ae, 0x18003473e jge short loc_180034753 ; +0x1b5, 0x180034745 inc edi ; +0x1b7, 0x180034747 mov [rbp+rbx+570h+var_220], al ; +0x1b9, 0x180034749 inc rbx ; +0x1c0, 0x180034750 cmp al, 3Ch ; '<' ; +0x1c3, 0x180034753 jnz short loc_180034720 ; +0x1c5, 0x180034755 mov rcx, [r14+170h] ; +0x1c7, 0x180034757 lea rdx, [rsp+670h+var_630] ; +0x1ce, 0x18003475e lea ebx, [rdi-1] ; +0x1d3, 0x180034763 call sub_1800B2CB0 ; +0x1d6, 0x180034766 test eax, eax ; +0x1db, 0x18003476b jnz loc_180034A4F ; +0x1dd, 0x18003476d cmp [rsp+670h+var_630], 2Fh ; '/' ; +0x1e3, 0x180034773 jnz short loc_1800347A2 ; +0x1e8, 0x180034778 nop word ptr [rax+rax+00h] ; +0x1ea, 0x18003477a mov rcx, [r14+170h] ; +0x1f0, 0x180034780 lea rdx, [rsp+670h+var_630] ; +0x1f7, 0x180034787 call sub_1800B2CB0 ; +0x1fc, 0x18003478c test eax, eax ; +0x201, 0x180034791 jnz loc_180034A4F ; +0x203, 0x180034793 cmp [rsp+670h+var_630], 3Eh ; '>' ; +0x209, 0x180034799 jnz short loc_180034780 ; +0x20e, 0x18003479e jmp short loc_1800347BF ; +0x210, 0x1800347a0 mov rcx, [r14+170h] ; +0x212, 0x1800347a2 mov edx, 0FFFFFFFEh ; +0x219, 0x1800347a9 lea r8d, [rdx+3] ; +0x21e, 0x1800347ae call sub_1800B3990 ; +0x222, 0x1800347b2 test eax, eax ; +0x227, 0x1800347b7 jnz loc_180034A4F ; +0x229, 0x1800347b9 movsxd rax, esi ; +0x22f, 0x1800347bf cmp rax, 200h ; +0x232, 0x1800347c2 jnb loc_180034A8B ; +0x238, 0x1800347c8 mov [rsp+rax+670h+var_620], r15b ; +0x23e, 0x1800347ce movsxd rax, ebx ; +0x243, 0x1800347d3 cmp rax, 200h ; +0x246, 0x1800347d6 jnb loc_180034A8B ; +0x24c, 0x1800347dc mov r8d, 5 ; +0x252, 0x1800347e2 mov [rbp+rax+570h+var_220], r15b ; +0x258, 0x1800347e8 lea rdx, [rsp+670h+var_620] ; +0x260, 0x1800347f0 lea rcx, aEntry; "ENTRY" ; +0x265, 0x1800347f5 call sub_1800B7FF0 ; +0x26c, 0x1800347fc test eax, eax ; +0x271, 0x180034801 jnz short loc_180034831 ; +0x273, 0x180034803 mov [rsp+670h+var_640], r15b ; +0x275, 0x180034805 lea r8, aEntry; "ENTRY" ; +0x27a, 0x18003480a mov [rsp+670h+var_648], 6 ; +0x281, 0x180034811 lea edx, [rax+8] ; +0x289, 0x180034819 xor r9d, r9d ; +0x28c, 0x18003481c mov dword ptr [rsp+670h+var_650], r15d ; +0x28f, 0x18003481f mov rcx, r14 ; +0x294, 0x180034824 call sub_180012590 ; +0x297, 0x180034827 jmp loc_180034640 ; +0x29c, 0x18003482c test ebx, ebx ; +0x2a1, 0x180034831 jnz loc_180034A18 ; +0x2a3, 0x180034833 xor cl, cl ; +0x2a9, 0x180034839 mov rax, r15 ; +0x2ab, 0x18003483b mov ebx, r15d ; +0x2ae, 0x18003483e mov rdx, r15 ; +0x2b1, 0x180034841 cmp rax, 200h ; +0x2b4, 0x180034844 jge short loc_180034854 ; +0x2ba, 0x18003484a movzx ecx, [rsp+rax+670h+var_620] ; +0x2bc, 0x18003484c inc rax ; +0x2c1, 0x180034851 cmp cl, 22h ; '"' ; +0x2c4, 0x180034854 jnz short loc_180034844 ; +0x2c7, 0x180034857 nop dword ptr [rax+00000000h] ; +0x2c9, 0x180034859 movzx ecx, [rsp+rax+670h+var_620] ; +0x2d0, 0x180034860 inc rax ; +0x2d5, 0x180034865 cmp cl, 22h ; '"' ; +0x2d8, 0x180034868 jz short loc_180034881 ; +0x2db, 0x18003486b mov [rbp+rdx+570h+var_420], cl ; +0x2dd, 0x18003486d inc ebx ; +0x2e4, 0x180034874 inc rdx ; +0x2e6, 0x180034876 cmp rax, 1FFh ; +0x2e9, 0x180034879 jl short loc_180034860 ; +0x2ef, 0x18003487f mov [rbp+rdx+570h+var_420], r15b ; +0x2f1, 0x180034881 lea rcx, aRefHref; "REF HREF" ; +0x2f9, 0x180034889 lea rdx, [rsp+670h+var_620] ; +0x300, 0x180034890 mov r8d, 8 ; +0x305, 0x180034895 call sub_1800B7FF0 ; +0x30b, 0x18003489b test eax, eax ; +0x310, 0x1800348a0 jnz short loc_1800348D8 ; +0x312, 0x1800348a2 lea eax, [rbx+1] ; +0x314, 0x1800348a4 mov [rsp+670h+var_640], r15b ; +0x317, 0x1800348a7 mov [rsp+670h+var_648], 6 ; +0x31c, 0x1800348ac lea r9, [rbp+570h+var_420] ; +0x324, 0x1800348b4 lea r8, aFile; "FILE" ; +0x32b, 0x1800348bb mov dword ptr [rsp+670h+var_650], eax ; +0x332, 0x1800348c2 mov edx, 8 ; +0x336, 0x1800348c6 mov rcx, r14 ; +0x33b, 0x1800348cb call sub_180012590 ; +0x33e, 0x1800348ce jmp loc_180034640 ; +0x343, 0x1800348d3 mov r8d, 0Dh ; +0x348, 0x1800348d8 lea rdx, [rsp+670h+var_620] ; +0x34e, 0x1800348de lea rcx, aMoreinfoHref; "MOREINFO HREF" ; +0x353, 0x1800348e3 call sub_1800B7FF0 ; +0x35a, 0x1800348ea test eax, eax ; +0x35f, 0x1800348ef jnz short loc_180034927 ; +0x361, 0x1800348f1 lea eax, [rbx+1] ; +0x363, 0x1800348f3 mov [rsp+670h+var_640], r15b ; +0x366, 0x1800348f6 mov [rsp+670h+var_648], 6 ; +0x36b, 0x1800348fb lea r9, [rbp+570h+var_420] ; +0x373, 0x180034903 lea r8, aMoreinfo; "MOREINFO" ; +0x37a, 0x18003490a mov dword ptr [rsp+670h+var_650], eax ; +0x381, 0x180034911 mov edx, 8 ; +0x385, 0x180034915 mov rcx, r14 ; +0x38a, 0x18003491a call sub_180012590 ; +0x38d, 0x18003491d jmp loc_180034640 ; +0x392, 0x180034922 mov r8d, 0Eh ; +0x397, 0x180034927 lea rdx, [rsp+670h+var_620] ; +0x39d, 0x18003492d lea rcx, aDurationValue; "DURATION VALUE" ; +0x3a2, 0x180034932 call sub_1800B7FF0 ; +0x3a9, 0x180034939 test eax, eax ; +0x3ae, 0x18003493e jnz short loc_180034976 ; +0x3b0, 0x180034940 lea eax, [rbx+1] ; +0x3b2, 0x180034942 mov [rsp+670h+var_640], r15b ; +0x3b5, 0x180034945 mov [rsp+670h+var_648], 6 ; +0x3ba, 0x18003494a lea r9, [rbp+570h+var_420] ; +0x3c2, 0x180034952 lea r8, aDuration; "DURATION" ; +0x3c9, 0x180034959 mov dword ptr [rsp+670h+var_650], eax ; +0x3d0, 0x180034960 mov edx, 8 ; +0x3d4, 0x180034964 mov rcx, r14 ; +0x3d9, 0x180034969 call sub_180012590 ; +0x3dc, 0x18003496c jmp loc_180034640 ; +0x3e1, 0x180034971 mov r8d, 9 ; +0x3e6, 0x180034976 lea rdx, [rsp+670h+var_620] ; +0x3ec, 0x18003497c lea rcx, aLogoHref; "LOGO HREF" ; +0x3f1, 0x180034981 call sub_1800B7FF0 ; +0x3f8, 0x180034988 test eax, eax ; +0x3fd, 0x18003498d jnz short loc_1800349C5 ; +0x3ff, 0x18003498f lea eax, [rbx+1] ; +0x401, 0x180034991 mov [rsp+670h+var_640], r15b ; +0x404, 0x180034994 mov [rsp+670h+var_648], 6 ; +0x409, 0x180034999 lea r9, [rbp+570h+var_420] ; +0x411, 0x1800349a1 lea r8, aLogo; "LOGO" ; +0x418, 0x1800349a8 mov dword ptr [rsp+670h+var_650], eax ; +0x41f, 0x1800349af mov edx, 8 ; +0x423, 0x1800349b3 mov rcx, r14 ; +0x428, 0x1800349b8 call sub_180012590 ; +0x42b, 0x1800349bb jmp loc_180034640 ; +0x430, 0x1800349c0 mov r8d, 0Bh ; +0x435, 0x1800349c5 lea rdx, [rsp+670h+var_620] ; +0x43b, 0x1800349cb lea rcx, aBannerHref; "BANNER HREF" ; +0x440, 0x1800349d0 call sub_1800B7FF0 ; +0x447, 0x1800349d7 test eax, eax ; +0x44c, 0x1800349dc jnz loc_180034640 ; +0x44e, 0x1800349de lea eax, [rbx+1] ; +0x454, 0x1800349e4 mov [rsp+670h+var_640], r15b ; +0x457, 0x1800349e7 mov [rsp+670h+var_648], 6 ; +0x45c, 0x1800349ec lea r9, [rbp+570h+var_420] ; +0x464, 0x1800349f4 lea r8, aBanner; "BANNER" ; +0x46b, 0x1800349fb mov dword ptr [rsp+670h+var_650], eax ; +0x472, 0x180034a02 mov edx, 8 ; +0x476, 0x180034a06 mov rcx, r14 ; +0x47b, 0x180034a0b call sub_180012590 ; +0x47e, 0x180034a0e jmp loc_180034640 ; +0x483, 0x180034a13 lea rcx, [rsp+670h+var_620] ; +0x488, 0x180034a18 call sub_1800B8170 ; +0x48d, 0x180034a1d mov [rsp+670h+var_640], r15b ; +0x492, 0x180034a22 lea r9, [rbp+570h+var_220] ; +0x497, 0x180034a27 mov r8, rax ; +0x49e, 0x180034a2e mov [rsp+670h+var_648], 6 ; +0x4a1, 0x180034a31 mov edx, 8 ; +0x4a9, 0x180034a39 mov dword ptr [rsp+670h+var_650], edi ; +0x4ae, 0x180034a3e mov rcx, r14 ; +0x4b2, 0x180034a42 call sub_180012590 ; +0x4b5, 0x180034a45 jmp loc_180034640 ; +0x4ba, 0x180034a4a mov rsi, [rsp+670h+arg_10] ; +0x4bf, 0x180034a4f xor eax, eax ; +0x4c7, 0x180034a57 mov rdi, [rsp+670h+arg_18] ; +0x4c9, 0x180034a59 mov rbx, [rsp+670h+arg_8] ; +0x4d1, 0x180034a61 mov r15, [rsp+670h+var_10] ; +0x4d9, 0x180034a69 mov rcx, [rbp+570h+var_20] ; +0x4e1, 0x180034a71 xor rcx, rsp; StackCookie ; +0x4e8, 0x180034a78 call __security_check_cookie ; +0x4eb, 0x180034a7b add rsp, 668h ; +0x4f0, 0x180034a80 pop r14 ; +0x4f7, 0x180034a87 pop rbp ; +0x4f9, 0x180034a89 retn ; +0x4fa, 0x180034a8a call __report_rangecheckfailure ; +0x4fb, 0x180034a8b db 0CCh ; +0x500, 0x180034a90