; ; sub_180016890 from 0x180016890 to 0x180016ffe (1902 bytes) ; ; 2 xrefs: ; > sub_180016880 @ 0x180016880 ; > @ 0x1801f7194 ; ; 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:52:48 +0000 ; push rbx ; +0x0, 0x180016890 push rbp ; +0x2, 0x180016892 push rsi ; +0x3, 0x180016893 push r13 ; +0x4, 0x180016894 sub rsp, 0E8h ; +0x6, 0x180016896 mov rax, cs:__security_cookie ; +0xd, 0x18001689d xor rax, rsp ; +0x14, 0x1800168a4 mov [rsp+108h+var_48], rax ; +0x17, 0x1800168a7 xor ebp, ebp ; +0x1f, 0x1800168af mov dword ptr [rcx+28h], 5 ; +0x21, 0x1800168b1 mov [rcx+120h], rbp ; +0x28, 0x1800168b8 mov r13, r8 ; +0x2f, 0x1800168bf mov [rcx+128h], rbp ; +0x32, 0x1800168c2 mov esi, edx ; +0x39, 0x1800168c9 mov [rcx+130h], rbp ; +0x3b, 0x1800168cb mov rbx, rcx ; +0x42, 0x1800168d2 mov [rcx+148h], rbp ; +0x45, 0x1800168d5 mov [rcx+138h], rbp ; +0x4c, 0x1800168dc mov [rcx+168h], rbp ; +0x53, 0x1800168e3 mov [rcx+18h], ebp ; +0x5a, 0x1800168ea mov [rcx+8], rbp ; +0x5d, 0x1800168ed test r8, r8 ; +0x61, 0x1800168f1 jz short loc_180016912 ; +0x64, 0x1800168f4 mov rdx, [r8+0D8h] ; +0x66, 0x1800168f6 test rdx, rdx ; +0x6d, 0x1800168fd jz short loc_180016912 ; +0x70, 0x180016900 mov rcx, [rcx+20h] ; +0x72, 0x180016902 call sub_180015FB0 ; +0x76, 0x180016906 mov [rbx+178h], rax ; +0x7b, 0x18001690b mov [rsp+108h+arg_8], rdi ; +0x82, 0x180016912 mov [rsp+108h+var_28], r12 ; +0x8a, 0x18001691a mov [rsp+108h+var_30], r14 ; +0x92, 0x180016922 mov [rsp+108h+var_38], r15 ; +0x9a, 0x18001692a cmp [rbx+178h], rbp ; +0xa2, 0x180016932 jnz loc_180016D71 ; +0xa9, 0x180016939 mov rcx, [rbx+170h] ; +0xaf, 0x18001693f lea rdx, [rsp+108h+var_88] ; +0xb6, 0x180016946 mov r9d, 3Ch ; '<' ; +0xbe, 0x18001694e mov [rsp+108h+var_E8], rbp ; +0xc4, 0x180016954 lea r8d, [r9-3Bh] ; +0xc9, 0x180016959 call sub_1800B3470 ; +0xcd, 0x18001695d test eax, eax ; +0xd2, 0x180016962 jnz loc_180016FC1 ; +0xd4, 0x180016964 lea r8d, [rax+4] ; +0xda, 0x18001696a lea rdx, aFsb4; "FSB4" ; +0xde, 0x18001696e lea rcx, [rsp+108h+var_88] ; +0xe5, 0x180016975 call sub_1800B7FB0 ; +0xed, 0x18001697d test eax, eax ; +0xf2, 0x180016982 jz loc_180016ECA ; +0xf4, 0x180016984 mov r8d, 4 ; +0xfa, 0x18001698a lea rdx, aFsb5; "FSB5" ; +0x100, 0x180016990 lea rcx, [rsp+108h+var_88] ; +0x107, 0x180016997 call sub_1800B7FB0 ; +0x10f, 0x18001699f test eax, eax ; +0x114, 0x1800169a4 jz short loc_1800169B2 ; +0x116, 0x1800169a6 mov eax, 13h ; +0x118, 0x1800169a8 jmp loc_180016FC1 ; +0x11d, 0x1800169ad mov eax, [rsp+108h+var_84] ; +0x122, 0x1800169b2 test eax, eax ; +0x129, 0x1800169b9 jz loc_180016ECA ; +0x12b, 0x1800169bb cmp eax, 1 ; +0x131, 0x1800169c1 jnz loc_180016ECA ; +0x134, 0x1800169c4 mov eax, [rsp+108h+var_78] ; +0x13a, 0x1800169ca mov r15d, [rsp+108h+var_7C] ; +0x141, 0x1800169d1 add eax, 3Ch ; '<' ; +0x149, 0x1800169d9 add r15d, eax ; +0x14c, 0x1800169dc mov eax, [rsp+108h+var_70] ; +0x14f, 0x1800169df cmp eax, 0Fh ; +0x156, 0x1800169e6 jnz short loc_1800169F9 ; +0x159, 0x1800169e9 cmp [rsp+108h+var_6C], 1 ; +0x15b, 0x1800169eb jnz loc_180016ECA ; +0x163, 0x1800169f3 test [rsp+108h+var_68], 2 ; +0x169, 0x1800169f9 jnz loc_180016ECA ; +0x171, 0x180016a01 cmp eax, 0Eh ; +0x177, 0x180016a07 ja short loc_180016A1A ; +0x17a, 0x180016a0a mov ecx, 537Ah ; +0x17c, 0x180016a0c bt ecx, eax ; +0x181, 0x180016a11 jb loc_180016ECA ; +0x184, 0x180016a14 cmp eax, 10h ; +0x18a, 0x180016a1a ja loc_180016EC0 ; +0x18d, 0x180016a1d mov ecx, 18884h ; +0x193, 0x180016a23 bt ecx, eax ; +0x198, 0x180016a28 jnb loc_180016EC0 ; +0x19b, 0x180016a2b mov rcx, [rbx+20h] ; +0x1a1, 0x180016a31 lea rdx, [rsp+108h+var_5C] ; +0x1a5, 0x180016a35 call sub_180015FB0 ; +0x1ad, 0x180016a3d mov [rbx+178h], rax ; +0x1b2, 0x180016a42 test rax, rax ; +0x1b9, 0x180016a49 jnz loc_180016D71 ; +0x1bc, 0x180016a4c mov rcx, cs:off_1801AED20 ; +0x1c2, 0x180016a52 lea r8, aCBuildagent1Wo_2; "C:\\buildagent1\\work\\570ad728b1678096"... ; +0x1c9, 0x180016a59 mov r9d, 26Dh ; +0x1d0, 0x180016a60 mov dword ptr [rsp+108h+var_E8], ebp ; +0x1d6, 0x180016a66 lea edx, [rax+50h] ; +0x1da, 0x180016a6a mov rcx, [rcx+1A0h] ; +0x1dd, 0x180016a6d call sub_1800B6880 ; +0x1e4, 0x180016a74 test rax, rax ; +0x1e9, 0x180016a79 jz loc_180016EAF ; +0x1ec, 0x180016a7c mov [rax], rax ; +0x1f2, 0x180016a82 lea r9, [rax+38h] ; +0x1f5, 0x180016a85 mov [rax+8], rax ; +0x1f9, 0x180016a89 lea r8, [rax+40h] ; +0x1fd, 0x180016a8d mov rcx, [rbx+170h] ; +0x201, 0x180016a91 lea rdx, [rsp+108h+var_88] ; +0x208, 0x180016a98 mov [rbx+178h], rax ; +0x210, 0x180016aa0 call sub_180017010 ; +0x217, 0x180016aa7 mov edi, eax ; +0x21c, 0x180016aac test eax, eax ; +0x21e, 0x180016aae jz short loc_180016B08 ; +0x220, 0x180016ab0 mov rdx, [rbx+178h] ; +0x222, 0x180016ab2 mov r9, [rdx+8] ; +0x229, 0x180016ab9 mov rcx, [rdx] ; +0x22d, 0x180016abd mov [r9], rcx ; +0x230, 0x180016ac0 mov r9, [rdx] ; +0x233, 0x180016ac3 mov rcx, [rdx+8] ; +0x236, 0x180016ac6 mov [r9+8], rcx ; +0x23a, 0x180016aca mov r9d, 276h ; +0x23e, 0x180016ace mov [rdx], rdx ; +0x244, 0x180016ad4 lea r8, aCBuildagent1Wo_2; "C:\\buildagent1\\work\\570ad728b1678096"... ; +0x247, 0x180016ad7 mov [rdx+8], rdx ; +0x24e, 0x180016ade mov rcx, cs:off_1801AED20 ; +0x252, 0x180016ae2 mov byte ptr [rsp+108h+var_E8], 1 ; +0x259, 0x180016ae9 mov rcx, [rcx+1A0h] ; +0x25e, 0x180016aee call sub_1800B6AA0 ; +0x265, 0x180016af5 mov eax, edi ; +0x26a, 0x180016afa mov [rbx+178h], rbp ; +0x26c, 0x180016afc jmp loc_180016FC1 ; +0x273, 0x180016b03 bt esi, 1Bh ; +0x278, 0x180016b08 jb loc_180016BBD ; +0x27c, 0x180016b0c mov rsi, [rbx+178h] ; +0x282, 0x180016b12 mov rdi, [rbx+170h] ; +0x289, 0x180016b19 mov [rsi+48h], rbp ; +0x290, 0x180016b20 mov edx, [rsp+108h+var_78] ; +0x294, 0x180016b24 test edx, edx ; +0x29b, 0x180016b2b jz loc_180016BBD ; +0x29d, 0x180016b2d mov rcx, cs:off_1801AED20 ; +0x2a3, 0x180016b33 lea r8, aCBuildagent1Wo_2; "C:\\buildagent1\\work\\570ad728b1678096"... ; +0x2aa, 0x180016b3a mov [rsp+108h+var_D8], 1 ; +0x2b1, 0x180016b41 mov r9d, 233h ; +0x2b6, 0x180016b46 mov byte ptr [rsp+108h+var_E0], bpl ; +0x2bc, 0x180016b4c mov dword ptr [rsp+108h+var_E8], ebp ; +0x2c1, 0x180016b51 mov rcx, [rcx+1A0h] ; +0x2c5, 0x180016b55 call sub_1800B6530 ; +0x2cc, 0x180016b5c mov r14, rax ; +0x2d1, 0x180016b61 test rax, rax ; +0x2d4, 0x180016b64 jnz short loc_180016B6E ; +0x2d7, 0x180016b67 lea edi, [rax+26h] ; +0x2d9, 0x180016b69 jmp short loc_180016B92 ; +0x2dc, 0x180016b6c mov r9d, [rsp+108h+var_78] ; +0x2de, 0x180016b6e mov r8d, 1 ; +0x2e6, 0x180016b76 mov rdx, r14 ; +0x2ec, 0x180016b7c mov [rsp+108h+var_E8], rbp ; +0x2ef, 0x180016b7f mov rcx, rdi ; +0x2f4, 0x180016b84 call sub_1800B3470 ; +0x2f7, 0x180016b87 mov edi, eax ; +0x2fc, 0x180016b8c test eax, eax ; +0x2fe, 0x180016b8e jz short loc_180016BB9 ; +0x300, 0x180016b90 mov rdx, [rbx+178h] ; +0x302, 0x180016b92 mov r9d, 280h ; +0x309, 0x180016b99 mov r8, [rdx+8] ; +0x30f, 0x180016b9f mov rcx, [rdx] ; +0x313, 0x180016ba3 mov [r8], rcx ; +0x316, 0x180016ba6 mov r8, [rdx] ; +0x319, 0x180016ba9 mov rcx, [rdx+8] ; +0x31c, 0x180016bac mov [r8+8], rcx ; +0x320, 0x180016bb0 jmp loc_180016AD4 ; +0x324, 0x180016bb4 mov [rsi+48h], r14 ; +0x329, 0x180016bb9 mov rax, [rbx+178h] ; +0x32d, 0x180016bbd movups xmm0, [rsp+108h+var_5C] ; +0x334, 0x180016bc4 movups xmmword ptr [rax+10h], xmm0 ; +0x33c, 0x180016bcc mov rcx, [rbx+178h] ; +0x340, 0x180016bd0 mov eax, [rsp+108h+var_80] ; +0x347, 0x180016bd7 mov [rcx+24h], eax ; +0x34e, 0x180016bde mov rax, [rbx+178h] ; +0x351, 0x180016be1 movzx ecx, [rsp+108h+var_68] ; +0x358, 0x180016be8 and cl, 1 ; +0x360, 0x180016bf0 mov [rax+28h], cl ; +0x363, 0x180016bf3 mov rcx, [rbx+178h] ; +0x366, 0x180016bf6 mov eax, [rsp+108h+var_70] ; +0x36d, 0x180016bfd mov [rcx+2Ch], eax ; +0x374, 0x180016c04 mov rax, [rbx+178h] ; +0x377, 0x180016c07 mov [rax+30h], r15d ; +0x37e, 0x180016c0e mov eax, [rsp+108h+var_74] ; +0x382, 0x180016c12 mov rcx, [rbx+178h] ; +0x389, 0x180016c19 mov [rcx+34h], eax ; +0x390, 0x180016c20 mov rax, [rbx+178h] ; +0x393, 0x180016c23 mov rdi, rax ; +0x39a, 0x180016c2a cmp dword ptr [rax+2Ch], 0Fh ; +0x39d, 0x180016c2d jnz loc_180016D1E ; +0x3a1, 0x180016c31 mov r14d, ebp ; +0x3a7, 0x180016c37 cmp [rax+24h], ebp ; +0x3aa, 0x180016c3a jle loc_180016D1E ; +0x3ad, 0x180016c3d mov r12, [rsp+108h+var_C8] ; +0x3b3, 0x180016c43 mov r15, rbp ; +0x3b8, 0x180016c48 nop dword ptr [rax+rax+00h] ; +0x3bb, 0x180016c4b xor r9d, r9d ; +0x3c0, 0x180016c50 lea r8, [rsp+108h+var_C0] ; +0x3c3, 0x180016c53 mov edx, r14d ; +0x3c8, 0x180016c58 mov rcx, rbx ; +0x3cb, 0x180016c5b call sub_1800165A0 ; +0x3ce, 0x180016c5e mov edi, eax ; +0x3d3, 0x180016c63 test eax, eax ; +0x3d5, 0x180016c65 jnz loc_180016E88 ; +0x3d7, 0x180016c67 mov rax, [rbx+180h] ; +0x3dd, 0x180016c6d test rax, rax ; +0x3e4, 0x180016c74 jz short loc_180016C7F ; +0x3e7, 0x180016c77 mov ecx, [r15+rax] ; +0x3e9, 0x180016c79 jmp short loc_180016C82 ; +0x3ed, 0x180016c7d mov ecx, r14d ; +0x3ef, 0x180016c7f mov rdx, [rbx+178h] ; +0x3f2, 0x180016c82 movsxd rcx, ecx ; +0x3f9, 0x180016c89 mov rax, [rdx+38h] ; +0x3fc, 0x180016c8c movsxd r8, dword ptr [rax+rcx*4] ; +0x400, 0x180016c90 add r8, [rdx+40h] ; +0x404, 0x180016c94 movzx eax, byte ptr [r8] ; +0x408, 0x180016c98 add r8, 8 ; +0x40c, 0x180016c9c and al, 1 ; +0x410, 0x180016ca0 jz short loc_180016CEB ; +0x412, 0x180016ca2 nop dword ptr [rax+00h] ; +0x414, 0x180016ca4 nop dword ptr [rax+rax+00000000h] ; +0x418, 0x180016ca8 mov ecx, [r8] ; +0x420, 0x180016cb0 mov edx, ecx ; +0x423, 0x180016cb3 shr edx, 1 ; +0x425, 0x180016cb5 mov eax, ecx ; +0x427, 0x180016cb7 and edx, 0FFFFFFh ; +0x429, 0x180016cb9 shr eax, 19h ; +0x42f, 0x180016cbf and cl, 1 ; +0x432, 0x180016cc2 add r8, 4 ; +0x435, 0x180016cc5 cmp eax, 6 ; +0x439, 0x180016cc9 jz short loc_180016CE8 ; +0x43c, 0x180016ccc cmp eax, 9 ; +0x43e, 0x180016cce jz short loc_180016CE8 ; +0x441, 0x180016cd1 cmp eax, 0Bh ; +0x443, 0x180016cd3 jz short loc_180016CE8 ; +0x446, 0x180016cd6 cmp eax, 0Fh ; +0x448, 0x180016cd8 jz short loc_180016CE8 ; +0x44b, 0x180016cdb mov eax, edx ; +0x44d, 0x180016cdd add r8, rax ; +0x44f, 0x180016cdf test cl, cl ; +0x452, 0x180016ce2 jnz short loc_180016CB0 ; +0x454, 0x180016ce4 jmp short loc_180016CEB ; +0x456, 0x180016ce6 mov r12, r8 ; +0x458, 0x180016ce8 mov r8d, [r12] ; +0x45b, 0x180016ceb mov edx, [rsp+108h+var_B0] ; +0x45f, 0x180016cef mov ecx, [rsp+108h+var_B4] ; +0x463, 0x180016cf3 call sub_180017630 ; +0x467, 0x180016cf7 mov rdi, [rbx+178h] ; +0x46c, 0x180016cfc mov esi, eax ; +0x473, 0x180016d03 test eax, eax ; +0x475, 0x180016d05 jnz loc_180016E36 ; +0x477, 0x180016d07 inc r14d ; +0x47d, 0x180016d0d add r15, 4 ; +0x480, 0x180016d10 cmp r14d, [rdi+24h] ; +0x484, 0x180016d14 jl loc_180016C50 ; +0x488, 0x180016d18 mov rsi, [rbx+20h] ; +0x48e, 0x180016d1e xor cl, cl ; +0x492, 0x180016d22 test rsi, rsi ; +0x494, 0x180016d24 jz short loc_180016D38 ; +0x497, 0x180016d27 mov edx, 12h ; +0x499, 0x180016d29 mov rcx, rsi ; +0x49e, 0x180016d2e call sub_1801021C0 ; +0x4a1, 0x180016d31 mov cl, 1 ; +0x4a6, 0x180016d36 mov dword ptr [rdi+20h], 1 ; +0x4a8, 0x180016d38 lea r8, [rsi+121C8h] ; +0x4af, 0x180016d3f mov rax, [r8] ; +0x4b6, 0x180016d46 mov [rdi], rax ; +0x4b9, 0x180016d49 mov [rdi+8], r8 ; +0x4bc, 0x180016d4c mov [rax+8], rdi ; +0x4c0, 0x180016d50 mov rax, [rdi+8] ; +0x4c4, 0x180016d54 mov [rax], rdi ; +0x4c8, 0x180016d58 test cl, cl ; +0x4cb, 0x180016d5b jz short loc_180016D71 ; +0x4cd, 0x180016d5d test rsi, rsi ; +0x4cf, 0x180016d5f jz short loc_180016D71 ; +0x4d2, 0x180016d62 mov edx, 12h ; +0x4d4, 0x180016d64 mov rcx, rsi ; +0x4d9, 0x180016d69 call sub_180102300 ; +0x4dc, 0x180016d6c test r13, r13 ; +0x4e1, 0x180016d71 jz loc_180016F05 ; +0x4e4, 0x180016d74 mov rcx, [r13+0D8h] ; +0x4ea, 0x180016d7a test rcx, rcx ; +0x4f1, 0x180016d81 jz short loc_180016D94 ; +0x4f4, 0x180016d84 mov rax, [rbx+178h] ; +0x4f6, 0x180016d86 movups xmm0, xmmword ptr [rax+10h] ; +0x4fd, 0x180016d8d movups xmmword ptr [rcx], xmm0 ; +0x501, 0x180016d91 mov rcx, [r13+28h] ; +0x504, 0x180016d94 test rcx, rcx ; +0x508, 0x180016d98 jz loc_180016F05 ; +0x50b, 0x180016d9b mov r8d, [r13+30h] ; +0x511, 0x180016da1 test r8d, r8d ; +0x515, 0x180016da5 jz loc_180016F05 ; +0x518, 0x180016da8 cmp [r13+20h], r8d ; +0x51e, 0x180016dae jnz loc_180016F05 ; +0x522, 0x180016db2 mov edx, ebp ; +0x528, 0x180016db8 test r8d, r8d ; +0x52a, 0x180016dba jle short loc_180016DE4 ; +0x52d, 0x180016dbd mov rax, [rbx+178h] ; +0x52f, 0x180016dbf mov r9d, [rax+24h] ; +0x536, 0x180016dc6 nop word ptr [rax+rax+00h] ; +0x53a, 0x180016dca cmp [rcx], r9d ; +0x540, 0x180016dd0 jge loc_180016ED4 ; +0x543, 0x180016dd3 inc edx ; +0x549, 0x180016dd9 add rcx, 4 ; +0x54b, 0x180016ddb cmp edx, r8d ; +0x54f, 0x180016ddf jl short loc_180016DD0 ; +0x552, 0x180016de2 mov rcx, cs:off_1801AED20 ; +0x554, 0x180016de4 lea edi, ds:0[r8*4] ; +0x55b, 0x180016deb mov [rsp+108h+var_D8], 1 ; +0x563, 0x180016df3 lea r8, aCBuildagent1Wo_2; "C:\\buildagent1\\work\\570ad728b1678096"... ; +0x568, 0x180016df8 mov byte ptr [rsp+108h+var_E0], bpl ; +0x56f, 0x180016dff mov r9d, 2C7h ; +0x574, 0x180016e04 mov edx, edi ; +0x57a, 0x180016e0a mov dword ptr [rsp+108h+var_E8], ebp ; +0x57c, 0x180016e0c mov rcx, [rcx+1A0h] ; +0x580, 0x180016e10 call sub_1800B6530 ; +0x587, 0x180016e17 mov [rbx+180h], rax ; +0x58c, 0x180016e1c test rax, rax ; +0x593, 0x180016e23 jnz loc_180016EDE ; +0x596, 0x180016e26 mov eax, 26h ; '&' ; +0x59c, 0x180016e2c jmp loc_180016FC1 ; +0x5a1, 0x180016e31 mov rcx, [rdi+8] ; +0x5a6, 0x180016e36 lea r8, aCBuildagent1Wo_2; "C:\\buildagent1\\work\\570ad728b1678096"... ; +0x5aa, 0x180016e3a mov rax, [rdi] ; +0x5b1, 0x180016e41 mov r9d, 2A7h ; +0x5b4, 0x180016e44 mov rdx, rdi ; +0x5ba, 0x180016e4a mov byte ptr [rsp+108h+var_E8], 1 ; +0x5bd, 0x180016e4d mov [rcx], rax ; +0x5c2, 0x180016e52 mov rcx, [rdi] ; +0x5c5, 0x180016e55 mov rax, [rdi+8] ; +0x5c8, 0x180016e58 mov [rcx+8], rax ; +0x5cc, 0x180016e5c mov [rdi+8], rdi ; +0x5d0, 0x180016e60 mov [rdi], rdi ; +0x5d4, 0x180016e64 mov rcx, cs:off_1801AED20 ; +0x5d7, 0x180016e67 mov rcx, [rcx+1A0h] ; +0x5de, 0x180016e6e call sub_1800B6AA0 ; +0x5e5, 0x180016e75 mov eax, esi ; +0x5ea, 0x180016e7a mov [rbx+178h], rbp ; +0x5ec, 0x180016e7c jmp loc_180016FC1 ; +0x5f3, 0x180016e83 mov rdx, [rbx+178h] ; +0x5f8, 0x180016e88 mov r9d, 296h ; +0x5ff, 0x180016e8f mov rcx, [rdx+8] ; +0x605, 0x180016e95 mov rax, [rdx] ; +0x609, 0x180016e99 mov [rcx], rax ; +0x60c, 0x180016e9c mov rcx, [rdx] ; +0x60f, 0x180016e9f mov rax, [rdx+8] ; +0x612, 0x180016ea2 mov [rcx+8], rax ; +0x616, 0x180016ea6 jmp loc_180016AD4 ; +0x61a, 0x180016eaa mov [rbx+178h], rbp ; +0x61f, 0x180016eaf mov eax, 26h ; '&' ; +0x626, 0x180016eb6 jmp loc_180016FC1 ; +0x62b, 0x180016ebb mov eax, 44h ; 'D' ; +0x630, 0x180016ec0 jmp loc_180016FC1 ; +0x635, 0x180016ec5 mov eax, 45h ; 'E' ; +0x63a, 0x180016eca jmp loc_180016FC1 ; +0x63f, 0x180016ecf mov eax, 1Fh ; +0x644, 0x180016ed4 jmp loc_180016FC1 ; +0x649, 0x180016ed9 mov rdx, [r13+28h]; Src ; +0x64e, 0x180016ede mov rcx, rax; void * ; +0x652, 0x180016ee2 movsxd r8, edi; Size ; +0x655, 0x180016ee5 call memmove ; +0x658, 0x180016ee8 mov eax, [r13+30h] ; +0x65d, 0x180016eed mov [rbx+18h], eax ; +0x661, 0x180016ef1 mov [r13+28h], rbp ; +0x664, 0x180016ef4 mov [r13+30h], ebp ; +0x668, 0x180016ef8 mov rcx, [rbx+178h] ; +0x66c, 0x180016efc jmp short loc_180016F12 ; +0x673, 0x180016f03 mov rcx, [rbx+178h] ; +0x675, 0x180016f05 mov eax, [rcx+24h] ; +0x67c, 0x180016f0c mov [rbx+18h], eax ; +0x67f, 0x180016f0f mov rdx, rcx ; +0x682, 0x180016f12 cmp [rcx+28h], bpl ; +0x685, 0x180016f15 jz short loc_180016F38 ; +0x689, 0x180016f19 mov rcx, [rbx+170h] ; +0x68b, 0x180016f1b mov eax, [rcx+194h] ; +0x692, 0x180016f22 or eax, 4 ; +0x698, 0x180016f28 mov [rcx+194h], eax ; +0x69b, 0x180016f2b mov rdx, [rbx+178h] ; +0x6a1, 0x180016f31 mov eax, [rdx+2Ch] ; +0x6a8, 0x180016f38 cmp eax, 0Bh ; +0x6ab, 0x180016f3b jnz short loc_180016F4C ; +0x6ae, 0x180016f3e mov dword ptr [rbx+0A4h], 3 ; +0x6b0, 0x180016f40 jmp short loc_180016FB2 ; +0x6ba, 0x180016f4a cmp eax, 0Ah ; +0x6bc, 0x180016f4c jnz short loc_180016F5D ; +0x6bf, 0x180016f4f mov dword ptr [rbx+0A4h], 4 ; +0x6c1, 0x180016f51 jmp short loc_180016FB2 ; +0x6cb, 0x180016f5b cmp eax, 7 ; +0x6cd, 0x180016f5d jnz short loc_180016F6E ; +0x6d0, 0x180016f60 mov dword ptr [rbx+0A4h], 2 ; +0x6d2, 0x180016f62 jmp short loc_180016FB2 ; +0x6dc, 0x180016f6c cmp eax, 0Dh ; +0x6de, 0x180016f6e jnz short loc_180016F7F ; +0x6e1, 0x180016f71 mov dword ptr [rbx+0A4h], 6 ; +0x6e3, 0x180016f73 jmp short loc_180016FB2 ; +0x6ed, 0x180016f7d cmp eax, 10h ; +0x6ef, 0x180016f7f jnz short loc_180016F90 ; +0x6f2, 0x180016f82 mov dword ptr [rbx+0A4h], 7 ; +0x6f4, 0x180016f84 jmp short loc_180016FB2 ; +0x6fe, 0x180016f8e cmp eax, 0Fh ; +0x700, 0x180016f90 jnz short loc_180016FA1 ; +0x703, 0x180016f93 mov dword ptr [rbx+0A4h], 5 ; +0x705, 0x180016f95 jmp short loc_180016FB2 ; +0x70f, 0x180016f9f cmp eax, 11h ; +0x711, 0x180016fa1 mov ecx, 8 ; +0x714, 0x180016fa4 cmovz ebp, ecx ; +0x719, 0x180016fa9 mov [rbx+0A4h], ebp ; +0x71c, 0x180016fac or dword ptr [rbx+2Ch], 2 ; +0x722, 0x180016fb2 mov eax, [rdx+30h] ; +0x726, 0x180016fb6 mov [rbx+110h], eax ; +0x729, 0x180016fb9 xor eax, eax ; +0x72f, 0x180016fbf mov r15, [rsp+108h+var_38] ; +0x731, 0x180016fc1 mov r14, [rsp+108h+var_30] ; +0x739, 0x180016fc9 mov r12, [rsp+108h+var_28] ; +0x741, 0x180016fd1 mov rdi, [rsp+108h+arg_8] ; +0x749, 0x180016fd9 mov rcx, [rsp+108h+var_48] ; +0x751, 0x180016fe1 xor rcx, rsp; StackCookie ; +0x759, 0x180016fe9 call __security_check_cookie ; +0x75c, 0x180016fec add rsp, 0E8h ; +0x761, 0x180016ff1 pop r13 ; +0x768, 0x180016ff8 pop rsi ; +0x76a, 0x180016ffa pop rbp ; +0x76b, 0x180016ffb pop rbx ; +0x76c, 0x180016ffc retn ; +0x76d, 0x180016ffd