Function at 0x10059ca0
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1006e89a
mov eax, dword fs:[0]
push eax
push ecx
push ebx
sub esp, 0x150
mov eax, dword [0x10084040]
xor eax, ebp
mov dword [ebp - 0x1c], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov edx, eax
mov dword [ebp - 0x124], 0
mov dword [0x10089f68], edx
lea ecx, [edx + 0xff1188]
mov dword [0x1008a190], ecx
lea eax, [edx + 0xfeda90]
lea ecx, [edx + 0xff1141]
mov dword [0x1008a124], eax
mov dword [0x1008a18c], ecx
lea eax, [ebp - 0x120]
lea ecx, [edx + 0x112db70]
mov dword [0x1008a0e8], ecx
lea esi, [edx + 0xff118c]
lea ecx, [edx + 0xf8d568]
mov dword [0x1008a130], ecx
lea ecx, [ebp - 0x124]
push ecx
push eax
push ecx
lea ecx, [ebp - 0x30]
call fcn.10054440
mov edi, dword [ebp - 0x2c]
xor ecx, ecx
mov edx, dword [ebp - 0x30]
sub edi, edx
sar edi, 2
test edi, edi
je 0x10059d74
mov eax, dword [edx + ecx*4]
inc ecx
add eax, dword [esi]
mov esi, eax
cmp ecx, edi
jb 0x10059d68
test edx, edx
je 0x10059db1
mov eax, dword [ebp - 0x28]
sub eax, edx
sar eax, 2
lea ecx, [eax*4]
mov eax, edx
cmp ecx, 0x1000
jb 0x10059da7
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10059da7
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.1006c5e3
add esp, 8
lea ecx, [ebp - 0x124]
mov dword [0x1008a188], esi
push ecx
lea eax, [ebp - 0x120]
mov dword [ebp - 0x124], 0
push eax
push ecx
lea ecx, [ebp - 0x138]
call fcn.10054440
mov ecx, dword [ebp - 0x138]
test ecx, ecx
je 0x10059e21
mov eax, dword [ebp - 0x130]
sub eax, ecx
sar eax, 2
lea edx, [eax*4]
mov eax, ecx
cmp edx, 0x1000
jb 0x10059e17
mov ecx, dword [eax - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10059e17
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.1006c5e3
add esp, 8
lea ecx, [ebp - 0x124]
mov dword [ebp - 0x124], 0
push ecx
lea eax, [ebp - 0x120]
push eax
push ecx
lea ecx, [ebp - 0x138]
call fcn.10054440
mov ecx, dword [ebp - 0x138]
test ecx, ecx
je 0x10059e8b
mov eax, dword [ebp - 0x130]
sub eax, ecx
sar eax, 2
lea edx, [eax*4]
mov eax, ecx
cmp edx, 0x1000
jb 0x10059e81
mov ecx, dword [eax - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10059e81
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.1006c5e3
add esp, 8
mov esi, dword [0x10089f68]
lea ecx, [ebp - 0x120]
push ecx
push ecx
lea edx, [ebp - 0x124]
mov dword [ebp - 0x124], 0
push edx
lea ecx, [ebp - 0x30]
add esi, 0x1126640
call fcn.10054440
mov edi, dword [ebp - 0x2c]
xor ecx, ecx
mov edx, dword [ebp - 0x30]
sub edi, edx
sar edi, 2
test edi, edi
je 0x10059edc
nop dword [eax]
mov eax, dword [edx + ecx*4]
inc ecx
add eax, dword [esi]
mov esi, eax
cmp ecx, edi
jb 0x10059ed0
test edx, edx
je 0x10059f19
mov eax, dword [ebp - 0x28]
sub eax, edx
sar eax, 2
lea ecx, [eax*4]
mov eax, edx
cmp ecx, 0x1000
jb 0x10059f0f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10059f0f
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.1006c5e3
add esp, 8
lea ecx, [ebp - 0x120]
mov dword [0x1008a100], esi
mov esi, dword [0x10089f68]
lea edx, [ebp - 0x124]
push ecx
push ecx
push edx
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x124], 0
add esi, 0x11265f0
call fcn.10054440
mov edi, dword [ebp - 0x2c]
xor ecx, ecx
mov edx, dword [ebp - 0x30]
sub edi, edx
sar edi, 2
test edi, edi
je 0x10059f6c
nop dword [eax]
mov eax, dword [edx + ecx*4]
inc ecx
add eax, dword [esi]
mov esi, eax
cmp ecx, edi
jb 0x10059f60
test edx, edx
je 0x10059fa9
mov eax, dword [ebp - 0x28]
sub eax, edx
sar eax, 2
lea ecx, [eax*4]
mov eax, edx
cmp ecx, 0x1000
jb 0x10059f9f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10059f9f
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.1006c5e3
add esp, 8
lea ecx, [ebp - 0x120]
mov dword [0x1008a180], esi
mov esi, dword [0x10089f68]
lea edx, [ebp - 0x124]
push ecx
push ecx
push edx
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x124], 0
add esi, 0x11265c8
call fcn.10054440
mov edi, dword [ebp - 0x2c]
xor ecx, ecx
mov edx, dword [ebp - 0x30]
sub edi, edx
sar edi, 2
test edi, edi
je 0x10059ffc
nop dword [eax]
mov eax, dword [edx + ecx*4]
inc ecx
add eax, dword [esi]
mov esi, eax
cmp ecx, edi
jb 0x10059ff0
test edx, edx
je 0x1005a039
mov eax, dword [ebp - 0x28]
sub eax, edx
sar eax, 2
lea ecx, [eax*4]
mov eax, edx
cmp ecx, 0x1000
jb 0x1005a02f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1005a02f
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.1006c5e3
add esp, 8
lea ecx, [ebp - 0x120]
mov dword [0x1008a17c], esi
mov esi, dword [0x10089f68]
lea edx, [ebp - 0x124]
push ecx
push ecx
push edx
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x124], 0
add esi, 0x1126628
call fcn.10054440
mov edi, dword [ebp - 0x2c]
xor ecx, ecx
mov edx, dword [ebp - 0x30]
sub edi, edx
sar edi, 2
test edi, edi
je 0x1005a08c
nop dword [eax]
mov eax, dword [edx + ecx*4]
inc ecx
add eax, dword [esi]
mov esi, eax
cmp ecx, edi
jb 0x1005a080
test edx, edx
je 0x1005a0c9
mov eax, dword [ebp - 0x28]
sub eax, edx
sar eax, 2
lea ecx, [eax*4]
mov eax, edx
cmp ecx, 0x1000
jb 0x1005a0bf
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1005a0bf
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.1006c5e3
add esp, 8
lea ecx, [ebp - 0x120]
mov dword [0x1008a184], esi
mov esi, dword [0x10089f68]
lea edx, [ebp - 0x124]
push ecx
push ecx
push edx
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x124], 0
add esi, 0x1126788
call fcn.10054440
mov edi, dword [ebp - 0x2c]
xor ecx, ecx
mov edx, dword [ebp - 0x30]
sub edi, edx
sar edi, 2
test edi, edi
je 0x1005a11c
nop dword [eax]
mov eax, dword [edx + ecx*4]
inc ecx
add eax, dword [esi]
mov esi, eax
cmp ecx, edi
jb 0x1005a110
test edx, edx
je 0x1005a159
mov eax, dword [ebp - 0x28]
sub eax, edx
sar eax, 2
lea ecx, [eax*4]
mov eax, edx
cmp ecx, 0x1000
jb 0x1005a14f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1005a14f
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.1006c5e3
add esp, 8
lea ecx, [ebp - 0x120]
mov dword [0x1008a174], esi
mov esi, dword [0x10089f68]
lea edx, [ebp - 0x124]
push ecx
push ecx
push edx
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x124], 0
add esi, 0x112685c
call fcn.10054440
mov edi, dword [ebp - 0x2c]
xor ecx, ecx
mov edx, dword [ebp - 0x30]
sub edi, edx
sar edi, 2
test edi, edi
je 0x1005a1ac
nop dword [eax]
mov eax, dword [edx + ecx*4]
inc ecx
add eax, dword [esi]
mov esi, eax
cmp ecx, edi
jb 0x1005a1a0
test edx, edx
je 0x1005a1e9
mov eax, dword [ebp - 0x28]
sub eax, edx
sar eax, 2
lea ecx, [eax*4]
mov eax, edx
cmp ecx, 0x1000
jb 0x1005a1df
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1005a1df
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.1006c5e3
add esp, 8
lea ecx, [ebp - 0x120]
mov dword [0x1008a16c], esi
mov esi, dword [0x10089f68]
lea edx, [ebp - 0x124]
push ecx
push ecx
push edx
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x124], 0
add esi, 0xff0f6c
call fcn.10054440
mov edi, dword [ebp - 0x2c]
xor ecx, ecx
mov edx, dword [ebp - 0x30]
sub edi, edx
sar edi, 2
test edi, edi
je 0x1005a23c
nop dword [eax]
mov eax, dword [edx + ecx*4]
inc ecx
add eax, dword [esi]
mov esi, eax
cmp ecx, edi
jb 0x1005a230
test edx, edx
je 0x1005a279
mov eax, dword [ebp - 0x28]
sub eax, edx
sar eax, 2
lea ecx, [eax*4]
mov eax, edx
cmp ecx, 0x1000
jb 0x1005a26f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1005a26f
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.1006c5e3
add esp, 8
lea ecx, [ebp - 0x124]
mov dword [0x1008a168], esi
push ecx
lea eax, [ebp - 0x120]
mov dword [ebp - 0x124], 0
push eax
push ecx
lea ecx, [ebp - 0x138]
call fcn.10054440
mov ecx, dword [ebp - 0x138]
test ecx, ecx
je 0x1005a2e9
mov eax, dword [ebp - 0x130]
sub eax, ecx
sar eax, 2
lea edx, [eax*4]
mov eax, ecx
cmp edx, 0x1000
jb 0x1005a2df
mov ecx, dword [eax - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1005a2df
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.1006c5e3
add esp, 8
mov esi, dword [0x10089f68]
lea ecx, [ebp - 0x120]
push ecx
push ecx
lea edx, [ebp - 0x124]
mov dword [ebp - 0x124], 0
push edx
lea ecx, [ebp - 0x30]
add esi, 0x112776c
call fcn.10054440
mov edi, dword [ebp - 0x2c]
xor ecx, ecx
mov edx, dword [ebp - 0x30]
sub edi, edx
sar edi, 2
test edi, edi
je 0x1005a333
mov eax, dword [edx + ecx*4]
inc ecx
add eax, dword [esi]
mov esi, eax
cmp ecx, edi
jb 0x1005a327
test edx, edx
je 0x1005a370
mov eax, dword [ebp - 0x28]
sub eax, edx
sar eax, 2
lea ecx, [eax*4]
mov eax, edx
cmp ecx, 0x1000
jb 0x1005a366
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1005a366
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.1006c5e3
add esp, 8
lea ecx, [ebp - 0x120]
mov dword [0x1008a0d8], esi
mov esi, dword [0x10089f68]
lea edx, [ebp - 0x124]
push ecx
push ecx
push edx
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x124], 0
add esi, 0x1126884
call fcn.10054440
mov edi, dword [ebp - 0x2c]
xor ecx, ecx
mov edx, dword [ebp - 0x30]
sub edi, edx
sar edi, 2
test edi, edi
je 0x1005a3c0
mov eax, dword [edx + ecx*4]
inc ecx
add eax, dword [esi]
mov esi, eax
cmp ecx, edi
jb 0x1005a3b4
test edx, edx
je 0x1005a3fd
mov eax, dword [ebp - 0x28]
sub eax, edx
sar eax, 2
lea ecx, [eax*4]
mov eax, edx
cmp ecx, 0x1000
jb 0x1005a3f3
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1005a3f3
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.1006c5e3
add esp, 8
lea ecx, [ebp - 0x124]
mov dword [0x1008a0f4], esi
push ecx
lea eax, [ebp - 0x120]
mov dword [ebp - 0x124], 0
push eax
push ecx
lea ecx, [ebp - 0x138]
call fcn.10054440
mov ecx, dword [ebp - 0x138]
test ecx, ecx
je 0x1005a46d
mov eax, dword [ebp - 0x130]
sub eax, ecx
sar eax, 2
lea edx, [eax*4]
mov eax, ecx
cmp edx, 0x1000
jb 0x1005a463
mov ecx, dword [eax - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1005a463
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.1006c5e3
add esp, 8
lea ecx, [ebp - 0x124]
mov dword [ebp - 0x124], 0
push ecx
lea eax, [ebp - 0x120]
push eax
push ecx
lea ecx, [ebp - 0x138]
call fcn.10054440
mov ecx, dword [ebp - 0x138]
test ecx, ecx
je 0x1005a4d7
mov eax, dword [ebp - 0x130]
sub eax, ecx
sar eax, 2
lea edx, [eax*4]
mov eax, ecx
cmp edx, 0x1000
jb 0x1005a4cd
mov ecx, dword [eax - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1005a4cd
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.1006c5e3
add esp, 8
mov esi, dword [0x10089f68]
lea ecx, [ebp - 0x120]
push ecx
push ecx
lea edx, [ebp - 0x124]
mov dword [ebp - 0x124], 0
push edx
lea ecx, [ebp - 0x30]
add esi, 0x11268a8
call fcn.10054440
mov edi, dword [ebp - 0x2c]
xor ecx, ecx
mov edx, dword [ebp - 0x30]
sub edi, edx
sar edi, 2
test edi, edi
je 0x1005a521
mov eax, dword [edx + ecx*4]
inc ecx
add eax, dword [esi]
mov esi, eax
cmp ecx, edi
jb 0x1005a515
test edx, edx
je 0x1005a55e
mov eax, dword [ebp - 0x28]
sub eax, edx
sar eax, 2
lea ecx, [eax*4]
mov eax, edx
cmp ecx, 0x1000
jb 0x1005a554
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1005a554
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.1006c5e3
add esp, 8
lea ecx, [ebp - 0x124]
mov dword [0x1008a178], esi
push ecx
lea eax, [ebp - 0x120]
mov dword [ebp - 0x124], 0
push eax
push ecx
lea ecx, [ebp - 0x138]
call fcn.10054440
mov ecx, dword [ebp - 0x138]
test ecx, ecx
je 0x1005a5ce
mov eax, dword [ebp - 0x130]
sub eax, ecx
sar eax, 2
lea edx, [eax*4]
mov eax, ecx
cmp edx, 0x1000
jb 0x1005a5c4
mov ecx, dword [eax - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1005a5c4
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.1006c5e3
add esp, 8
mov esi, dword [0x10089f68]
lea ecx, [ebp - 0x120]
push ecx
push ecx
lea edx, [ebp - 0x124]
mov dword [ebp - 0x124], 0
push edx
lea ecx, [ebp - 0x30]
add esi, 0x11268d0
call fcn.10054440
mov edi, dword [ebp - 0x2c]
xor ecx, ecx
mov edx, dword [ebp - 0x30]
sub edi, edx
sar edi, 2
test edi, edi
je 0x1005a61c
nop dword [eax]
mov eax, dword [edx + ecx*4]
inc ecx
add eax, dword [esi]
mov esi, eax
cmp ecx, edi
jb 0x1005a610
test edx, edx
je 0x1005a659
mov eax, dword [ebp - 0x28]
sub eax, edx
sar eax, 2
lea ecx, [eax*4]
mov eax, edx
cmp ecx, 0x1000
jb 0x1005a64f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1005a64f
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.1006c5e3
add esp, 8
lea ecx, [ebp - 0x120]
mov dword [0x1008a0d4], esi
mov esi, dword [0x10089f68]
lea edx, [ebp - 0x124]
push ecx
push ecx
push edx
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x124], 0
add esi, 0x1126a00
call fcn.10054440
mov edi, dword [ebp - 0x2c]
xor ecx, ecx
mov edx, dword [ebp - 0x30]
sub edi, edx
sar edi, 2
test edi, edi
je 0x1005a6ac
nop dword [eax]
mov eax, dword [edx + ecx*4]
inc ecx
add eax, dword [esi]
mov esi, eax
cmp ecx, edi
jb 0x1005a6a0
test edx, edx
je 0x1005a6e9
mov eax, dword [ebp - 0x28]
sub eax, edx
sar eax, 2
lea ecx, [eax*4]
mov eax, edx
cmp ecx, 0x1000
jb 0x1005a6df
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1005a6df
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.1006c5e3
add esp, 8
lea ecx, [ebp - 0x120]
mov dword [0x1008a164], esi
mov esi, dword [0x10089f68]
lea edx, [ebp - 0x124]
push ecx
push ecx
push edx
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x124], 0
add esi, 0x1126684
call fcn.10054440
mov edi, dword [ebp - 0x2c]
xor ecx, ecx
mov edx, dword [ebp - 0x30]
sub edi, edx
sar edi, 2
test edi, edi
je 0x1005a73c
nop dword [eax]
mov eax, dword [edx + ecx*4]
inc ecx
add eax, dword [esi]
mov esi, eax
cmp ecx, edi
jb 0x1005a730
test edx, edx
je 0x1005a779
mov eax, dword [ebp - 0x28]
sub eax, edx
sar eax, 2
lea ecx, [eax*4]
mov eax, edx
cmp ecx, 0x1000
jb 0x1005a76f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1005a76f
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.1006c5e3
add esp, 8
lea ecx, [ebp - 0x124]
mov dword [0x1008a0dc], esi
push ecx
lea eax, [ebp - 0x120]
mov dword [ebp - 0x124], 0
push eax
push ecx
lea ecx, [ebp - 0x138]
call fcn.10054440
mov ecx, dword [ebp - 0x138]
test ecx, ecx
je 0x1005a7e9
mov eax, dword [ebp - 0x130]
sub eax, ecx
sar eax, 2
lea edx, [eax*4]
mov eax, ecx
cmp edx, 0x1000
jb 0x1005a7df
mov ecx, dword [eax - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1005a7df
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.1006c5e3
add esp, 8
mov esi, dword [0x10089f68]
lea ecx, [ebp - 0x120]
push ecx
push ecx
lea edx, [ebp - 0x124]
mov dword [ebp - 0x124], 0
push edx
lea ecx, [ebp - 0x30]
add esi, 0x11268b8
call fcn.10054440
mov edi, dword [ebp - 0x2c]
xor ecx, ecx
mov edx, dword [ebp - 0x30]
sub edi, edx
sar edi, 2
test edi, edi
je 0x1005a833
mov eax, dword [edx + ecx*4]
inc ecx
add eax, dword [esi]
mov esi, eax
cmp ecx, edi
jb 0x1005a827
test edx, edx
je 0x1005a870
mov eax, dword [ebp - 0x28]
sub eax, edx
sar eax, 2
lea ecx, [eax*4]
mov eax, edx
cmp ecx, 0x1000
jb 0x1005a866
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1005a866
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.1006c5e3
add esp, 8
lea ecx, [ebp - 0x120]
mov dword [0x1008a0f8], esi
mov esi, dword [0x10089f68]
lea edx, [ebp - 0x124]
push ecx
push ecx
push edx
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x124], 0
add esi, 0x11264f8
call fcn.10054440
mov edi, dword [ebp - 0x2c]
xor ecx, ecx
mov edx, dword [ebp - 0x30]
sub edi, edx
sar edi, 2
test edi, edi
je 0x1005a8c0
mov eax, dword [edx + ecx*4]
inc ecx
add eax, dword [esi]
mov esi, eax
cmp ecx, edi
jb 0x1005a8b4
test edx, edx
je 0x1005a8fd
mov eax, dword [ebp - 0x28]
sub eax, edx
sar eax, 2
lea ecx, [eax*4]
mov eax, edx
cmp ecx, 0x1000
jb 0x1005a8f3
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1005a8f3
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.1006c5e3
add esp, 8
lea ecx, [ebp - 0x120]
mov dword [0x1008a170], esi
mov esi, dword [0x10089f68]
lea edx, [ebp - 0x124]
push ecx
push ecx
push edx
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x124], 0
add esi, 0x11268e0
call fcn.10054440
mov edi, dword [ebp - 0x3c]
xor ecx, ecx
mov edx, dword [ebp - 0x40]
sub edi, edx
sar edi, 2
test edi, edi
je 0x1005a94d
mov eax, dword [edx + ecx*4]
inc ecx
add eax, dword [esi]
mov esi, eax
cmp ecx, edi
jb 0x1005a941
test edx, edx
je 0x1005a99f
mov eax, dword [ebp - 0x38]
sub eax, edx
sar eax, 2
lea ecx, [eax*4]
mov eax, edx
cmp ecx, 0x1000
jb 0x1005a980
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1005a980
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.1006c5e3
add esp, 8
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0
mov dword [0x1008a120], esi
mov esi, dword [0x10089f68]
lea eax, [esi + 0x101a72c]
mov dword [0x1008a128], eax
lea eax, [esi + 0x1004d50]
mov dword [0x1008a13c], eax
lea eax, [esi + 0x1005840]
mov dword [0x1008a138], eax
lea eax, [esi + 0x1007000]
mov dword [0x1008a134], eax
lea eax, [esi + 0x1007830]
mov dword [0x1008a0e0], eax
lea eax, [esi + 0x100e79c]
mov dword [0x1008a0cc], eax
lea eax, [esi + 0x1013788]
mov dword [0x1008a0e4], eax
mov eax, dword [0x1008a124]
cmp dword [eax + 0x139090], 0
je 0x1005b229
lea ecx, [ebp - 0x124]
mov dword [ebp - 0x124], 0
push ecx
lea eax, [ebp - 0x120]
add esi, 0x11264d8
push eax
push ecx
lea ecx, [ebp - 0x30]
call fcn.10054440
mov edi, dword [ebp - 0x2c]
xor ecx, ecx
mov edx, dword [ebp - 0x30]
sub edi, edx
sar edi, 2
test edi, edi
je 0x1005aa4e
mov eax, dword [edx + ecx*4]
inc ecx
add eax, dword [esi]
mov esi, eax
cmp ecx, edi
jb 0x1005aa42
test edx, edx
je 0x1005aa8b
mov eax, dword [ebp - 0x28]
sub eax, edx
sar eax, 2
lea ecx, [eax*4]
mov eax, edx
cmp ecx, 0x1000
jb 0x1005aa81
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1005aa81
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.1006c5e3
add esp, 8
test esi, esi
je 0x1005b229
push 0x1e
xorps xmm0, xmm0
mov dword [ebp - 0xd0], 0
push str.root.global.effects.explosions
lea ecx, [ebp - 0xe0]
mov dword [ebp - 0xcc], 0
movups xmmword [ebp - 0xe0], xmm0
call fcn.10046c50
mov dword [ebp - 4], 0
lea ecx, [ebp - 0xc8]
push 0x1d
xorps xmm0, xmm0
mov dword [ebp - 0xb8], 0
push str.root.global.animations.groups
movups xmmword [ebp - 0xc8], xmm0
mov dword [ebp - 0xb4], 0
call fcn.10046c50
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xb0]
push 0x22
xorps xmm0, xmm0
mov dword [ebp - 0xa0], 0
push str.root.global.game.AttachableObjects
movups xmmword [ebp - 0xb0], xmm0
mov dword [ebp - 0x9c], 0
call fcn.10046c50
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x98]
push 0x19
xorps xmm0, xmm0
mov dword [ebp - 0x88], 0
push str.root.global.genericactors
movups xmmword [ebp - 0x98], xmm0
mov dword [ebp - 0x84], 0
call fcn.10046c50
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x80]
push 0x1a
xorps xmm0, xmm0
mov dword [ebp - 0x70], 0
push str.root.global.vehicles.types
movups xmmword [ebp - 0x80], xmm0
mov dword [ebp - 0x6c], 0
call fcn.10046c50
lea ecx, [ebp - 0x158]
mov byte [ebp - 4], 4
mov esi, dword [0x10089f68]
lea edx, [ebp - 0x160]
push ecx
push ecx
push edx
lea ecx, [ebp - 0x138]
mov dword [ebp - 0x160], 0
mov dword [ebp - 0x15c], 0
add esi, 0x11264d8
call fcn.10054440
mov edi, dword [ebp - 0x134]
xor ecx, ecx
mov edx, dword [ebp - 0x138]
sub edi, edx
sar edi, 2
test edi, edi
je 0x1005abec
nop
mov eax, dword [edx + ecx*4]
inc ecx
add eax, dword [esi]
mov esi, eax
cmp ecx, edi
jb 0x1005abe0
test edx, edx
je 0x1005ac2c
mov eax, dword [ebp - 0x130]
sub eax, edx
sar eax, 2
lea ecx, [eax*4]
mov eax, edx
cmp ecx, 0x1000
jb 0x1005ac22
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1005ac22
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.1006c5e3
add esp, 8
xorps xmm0, xmm0
mov dword [0x1008a0ec], esi
push ecx
lea edx, [ebp - 0xe0]
movq qword [ebp - 0x30], xmm0
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x28], 0
call fcn.1005c500
add esp, 4
lea edx, [ebp - 0x30]
mov byte [ebp - 4], 5
call fcn.1005c860
xorps xmm0, xmm0
mov dword [0x1008a0fc], eax
push ecx
lea edx, [ebp - 0xc8]
movq qword [ebp - 0x68], xmm0
lea ecx, [ebp - 0x68]
mov dword [ebp - 0x60], 0
call fcn.1005c500
add esp, 4
lea edx, [ebp - 0x68]
mov byte [ebp - 4], 6
call fcn.1005c860
xorps xmm0, xmm0
mov dword [0x1008a118], eax
push ecx
lea edx, [ebp - 0xb0]
movq qword [ebp - 0x5c], xmm0
lea ecx, [ebp - 0x5c]
mov dword [ebp - 0x54], 0
call fcn.1005c500
add esp, 4
lea edx, [ebp - 0x5c]
mov byte [ebp - 4], 7
call fcn.1005c860
xorps xmm0, xmm0
mov dword [0x1008a11c], eax
push ecx
lea edx, [ebp - 0x98]
movq qword [ebp - 0x50], xmm0
lea ecx, [ebp - 0x50]
mov dword [ebp - 0x48], 0
call fcn.1005c500
add esp, 4
lea edx, [ebp - 0x50]
mov byte [ebp - 4], 8
call fcn.1005c860
xorps xmm0, xmm0
mov dword [0x1008a114], eax
push ecx
lea edx, [ebp - 0x80]
movq qword [ebp - 0x40], xmm0
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x38], 0
call fcn.1005c500
add esp, 4
lea edx, [ebp - 0x40]
call fcn.1005c860
lea ecx, [ebp - 0x40]
mov dword [0x1008a110], eax
call fcn.10054800
lea ecx, [ebp - 0x50]
call fcn.10054800
lea ecx, [ebp - 0x5c]
call fcn.10054800
lea ecx, [ebp - 0x68]
call fcn.10054800
lea ecx, [ebp - 0x30]
call fcn.10054800
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x6c]
cmp ecx, 0xf
jbe 0x1005ad85
mov edx, dword [ebp - 0x80]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1005ad7b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1005ae6a
push ecx
push edx
call fcn.1006c5e3
add esp, 8
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x84]
cmp ecx, 0xf
jbe 0x1005adc3
mov edx, dword [ebp - 0x98]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1005adb9
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1005ae6a
push ecx
push edx
call fcn.1006c5e3
add esp, 8
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x9c]
cmp ecx, 0xf
jbe 0x1005adfd
mov edx, dword [ebp - 0xb0]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1005adf3
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1005ae6a
push ecx
push edx
call fcn.1006c5e3
add esp, 8
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0xb4]
cmp ecx, 0xf
jbe 0x1005ae37
mov edx, dword [ebp - 0xc8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1005ae2d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1005ae6a
push ecx
push edx
call fcn.1006c5e3
add esp, 8
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xcc]
cmp ecx, 0xf
jbe 0x1005ae7a
mov edx, dword [ebp - 0xe0]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1005ae70
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1005ae70
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.1006c5e3
add esp, 8
push 0x40
lea eax, [ebp - 0x120]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
sub esp, 0xc
xorps xmm0, xmm0
mov ecx, esp
push 0xb
movups xmmword [ecx], xmm0
push str.LANoire.exe
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
call fcn.10046c50
lea ecx, [ebp - 0x120]
call fcn.10046530
add esp, 0x18
mov dword [ebp - 4], 9
lea ecx, [ebp - 0x158]
xorps xmm0, xmm0
mov dword [ebp - 0x38], 0
push 8
push 0x1007c988
movq qword [ebp - 0x40], xmm0
movups xmmword [ebp - 0x158], xmm0
mov dword [ebp - 0x148], 0
mov dword [ebp - 0x144], 0
call fcn.10046c50
xor edi, edi
mov dword [ebp - 0x40], 0
xor edx, edx
mov dword [ebp - 0x3c], edi
mov dword [ebp - 0x38], edx
mov byte [ebp - 4], 0xb
lea esi, [ebp - 0x158]
cmp dword [ebp - 0x144], 0xf
mov eax, dword [ebp - 0x158]
cmova esi, eax
nop dword [eax + eax]
cmp dword [ebp - 0x144], 0xf
lea ecx, [ebp - 0x158]
cmova ecx, eax
mov eax, dword [ebp - 0x148]
add eax, ecx
cmp esi, eax
je 0x1005af86
mov al, byte [esi]
mov byte [ebp - 0x139], al
cmp edi, edx
je 0x1005af67
mov byte [edi], al
inc edi
mov eax, dword [ebp - 0x158]
inc esi
mov dword [ebp - 0x3c], edi
jmp 0x1005af30
lea eax, [ebp - 0x139]
push eax
push edi
lea ecx, [ebp - 0x40]
call fcn.10046dd0
mov edx, dword [ebp - 0x38]
inc esi
mov edi, dword [ebp - 0x3c]
mov eax, dword [ebp - 0x158]
jmp 0x1005af30
mov byte [ebp - 4], 9
mov eax, dword [ebp - 0x144]
mov dword [ebp - 0x124], edx
cmp eax, 0xf
jbe 0x1005afce
mov ecx, dword [ebp - 0x158]
lea edx, [eax + 1]
mov eax, ecx
cmp edx, 0x1000
jb 0x1005afc4
mov ecx, dword [eax - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1005afc4
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.1006c5e3
add esp, 8
mov dword [ebp - 0x148], 0
mov dword [ebp - 0x144], 0xf
mov byte [ebp - 0x158], 0
sub esp, 0x18
mov byte [ebp - 4], 0xc
mov eax, dword [ebp - 0xec]
mov ecx, esp
mov dword [ebp - 0x15c], esp
xorps xmm0, xmm0
mov dword [ebp - 0x164], eax
mov eax, dword [ebp - 0xf0]
push 8
movups xmmword [ecx], xmm0
push str.xxxxxxxx
mov dword [ebp - 0x140], eax
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
call fcn.10046c50
sub esp, 0xc
mov byte [ebp - 4], 0xd
mov esi, esp
mov dword [ebp - 0x44], esi
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
sub edi, dword [ebp - 0x40]
je 0x1005b082
cmp edi, 0x7fffffff
ja 0x1005b249
push edi
mov ecx, esi
call fcn.10046d50
mov eax, dword [ebp - 0x40]
mov esi, dword [esi]
push edi
push eax
push esi
call sub.VCRUNTIME140.dll_memmove
lea eax, [esi + edi]
add esp, 0xc
mov esi, dword [ebp - 0x44]
mov dword [esi + 4], eax
mov edx, dword [ebp - 0x164]
mov ecx, dword [ebp - 0x140]
mov byte [ebp - 4], 0xc
call fcn.10046860
mov ecx, dword [0x10089f68]
add eax, 0xf
mov dword [0x1008a160], eax
add esp, 0x20
mov byte [ebp - 4], 0xe
lea eax, [ecx + 0x938280]
mov dword [0x1008a12c], eax
lea eax, [ecx + 0x4723a0]
mov dword [0x1008a154], eax
lea eax, [ecx + 0x939880]
mov dword [0x1008a150], eax
lea eax, [ecx + 0x92c110]
mov dword [0x1008a14c], eax
lea eax, [ecx + 0x86c9b0]
mov dword [0x1008a148], eax
lea eax, [ecx + 0x9e9dd0]
mov dword [0x1008a144], eax
lea eax, [ecx + 0x54aa77]
mov dword [0x1008a15c], eax
lea eax, [ecx + 0x7445bd]
mov dword [0x1008a158], eax
lea eax, [ecx + 0x10e490]
mov dword [0x1008a140], eax
call fcn.1005be10
add esp, 4
mov dword [ebp - 4], 0xc
jmp 0x1005b146
movss xmm0, dword [0x100892e8]
mulss xmm0, dword [0x1007d354]
mov ecx, dword [0x1008a0e4]
movss dword [0x100892e8], xmm0
mov eax, dword [ecx]
mov eax, dword [eax + 8]
call eax
mov ecx, dword [0x1008a0cc]
mov dword [0x1008a0d0], eax
mov eax, dword [ecx]
mov eax, dword [eax + 8]
call eax
mov ecx, dword [0x1008a134]
mov dword [0x1008a10c], eax
push 0
mov eax, dword [ecx]
call dword [eax + 0x14]
mov ecx, dword [0x1008a13c]
push 0
mov eax, dword [ecx]
mov eax, dword [eax + 0x14]
call eax
mov ecx, dword [0x1008a138]
mov dword [0x1008a108], eax
push 0
mov eax, dword [ecx]
call dword [eax + 0x14]
mov eax, dword [0x1008a0d0]
mov edi, dword [0x1008a158]
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov word [eax + 0x5a], 0x101
lea eax, [ebp - 0x44]
push eax
push 0x40
push 1
push edi
call esi
lea eax, [ebp - 0x44]
mov byte [edi], 0xeb
push eax
push dword [ebp - 0x44]
push 1
push edi
call esi
mov edx, dword [ebp - 0x40]
test edx, edx
je 0x1005b21a
mov ecx, dword [ebp - 0x124]
mov eax, edx
sub ecx, edx
cmp ecx, 0x1000
jb 0x1005b210
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1005b210
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.1006c5e3
add esp, 8
lea ecx, [ebp - 0x120]
call fcn.100460b0
mov al, 1
jmp 0x1005b22b
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.1006c1ab
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.10046d40
int3