Function at 0x10048020
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 0x1005d21e
mov eax, dword fs:[0]
push eax
push ecx
push ebx
sub esp, 0xe8
mov eax, dword [0x10071040]
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 - 0xbc], 0
mov dword [0x10076fd8], edx
lea ecx, [edx + 0xff1188]
mov dword [0x1007704c], ecx
lea eax, [edx + 0x11264d4]
lea ecx, [edx + 0xff1141]
mov dword [0x10076fbc], eax
mov dword [0x10077048], ecx
lea eax, [ebp - 0xb8]
lea ecx, [edx + 0x112db70]
mov dword [0x10077044], ecx
lea esi, [edx + 0xff118c]
lea ecx, [edx + 0xf8d568]
mov dword [0x10076fdc], ecx
lea ecx, [ebp - 0xbc]
push ecx
push eax
push ecx
lea ecx, [ebp - 0x30]
call fcn.100457e0
mov edi, dword [ebp - 0x2c]
xor ecx, ecx
mov edx, dword [ebp - 0x30]
sub edi, edx
sar edi, 2
test edi, edi
je 0x100480f4
mov eax, dword [edx + ecx*4]
inc ecx
add eax, dword [esi]
mov esi, eax
cmp ecx, edi
jb 0x100480e8
test edx, edx
je 0x10048131
mov eax, dword [ebp - 0x28]
sub eax, edx
sar eax, 2
lea ecx, [eax*4]
mov eax, edx
cmp ecx, 0x1000
jb 0x10048127
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10048127
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.1005b378
add esp, 8
lea ecx, [ebp - 0xb8]
mov dword [0x10077040], esi
mov esi, dword [0x10076fd8]
lea edx, [ebp - 0xbc]
push ecx
push ecx
push edx
lea ecx, [ebp - 0x30]
mov dword [ebp - 0xbc], 0
add esi, 0x1126530
call fcn.100457e0
mov edi, dword [ebp - 0x2c]
xor ecx, ecx
mov edx, dword [ebp - 0x30]
sub edi, edx
sar edi, 2
test edi, edi
je 0x10048181
mov eax, dword [edx + ecx*4]
inc ecx
add eax, dword [esi]
mov esi, eax
cmp ecx, edi
jb 0x10048175
test edx, edx
je 0x100481be
mov eax, dword [ebp - 0x28]
sub eax, edx
sar eax, 2
lea ecx, [eax*4]
mov eax, edx
cmp ecx, 0x1000
jb 0x100481b4
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100481b4
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.1005b378
add esp, 8
lea ecx, [ebp - 0xb8]
mov dword [0x10076fb4], esi
mov esi, dword [0x10076fd8]
lea edx, [ebp - 0xbc]
push ecx
push ecx
push edx
lea ecx, [ebp - 0x30]
mov dword [ebp - 0xbc], 0
add esi, 0x11264d4
call fcn.100457e0
mov edi, dword [ebp - 0x2c]
xor ecx, ecx
mov edx, dword [ebp - 0x30]
sub edi, edx
sar edi, 2
test edi, edi
je 0x1004820e
mov eax, dword [edx + ecx*4]
inc ecx
add eax, dword [esi]
mov esi, eax
cmp ecx, edi
jb 0x10048202
test edx, edx
je 0x1004824b
mov eax, dword [ebp - 0x28]
sub eax, edx
sar eax, 2
lea ecx, [eax*4]
mov eax, edx
cmp ecx, 0x1000
jb 0x10048241
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10048241
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.1005b378
add esp, 8
lea ecx, [ebp - 0xbc]
mov dword [0x1007703c], esi
push ecx
lea eax, [ebp - 0xb8]
mov dword [ebp - 0xbc], 0
push eax
push ecx
lea ecx, [ebp - 0xd0]
call fcn.100457e0
mov ecx, dword [ebp - 0xd0]
test ecx, ecx
je 0x100482bb
mov eax, dword [ebp - 0xc8]
sub eax, ecx
sar eax, 2
lea edx, [eax*4]
mov eax, ecx
cmp edx, 0x1000
jb 0x100482b1
mov ecx, dword [eax - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100482b1
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.1005b378
add esp, 8
mov esi, dword [0x10076fd8]
lea ecx, [ebp - 0xb8]
push ecx
push ecx
lea edx, [ebp - 0xbc]
mov dword [ebp - 0xbc], 0
push edx
lea ecx, [ebp - 0x30]
add esi, 0x1126640
call fcn.100457e0
mov edi, dword [ebp - 0x2c]
xor ecx, ecx
mov edx, dword [ebp - 0x30]
sub edi, edx
sar edi, 2
test edi, edi
je 0x1004830c
nop dword [eax]
mov eax, dword [edx + ecx*4]
inc ecx
add eax, dword [esi]
mov esi, eax
cmp ecx, edi
jb 0x10048300
test edx, edx
je 0x10048349
mov eax, dword [ebp - 0x28]
sub eax, edx
sar eax, 2
lea ecx, [eax*4]
mov eax, edx
cmp ecx, 0x1000
jb 0x1004833f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1004833f
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.1005b378
add esp, 8
lea ecx, [ebp - 0xb8]
mov dword [0x10076fc4], esi
mov esi, dword [0x10076fd8]
lea edx, [ebp - 0xbc]
push ecx
push ecx
push edx
lea ecx, [ebp - 0x30]
mov dword [ebp - 0xbc], 0
add esi, 0x11265f0
call fcn.100457e0
mov edi, dword [ebp - 0x2c]
xor ecx, ecx
mov edx, dword [ebp - 0x30]
sub edi, edx
sar edi, 2
test edi, edi
je 0x1004839c
nop dword [eax]
mov eax, dword [edx + ecx*4]
inc ecx
add eax, dword [esi]
mov esi, eax
cmp ecx, edi
jb 0x10048390
test edx, edx
je 0x100483d9
mov eax, dword [ebp - 0x28]
sub eax, edx
sar eax, 2
lea ecx, [eax*4]
mov eax, edx
cmp ecx, 0x1000
jb 0x100483cf
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100483cf
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.1005b378
add esp, 8
lea ecx, [ebp - 0xb8]
mov dword [0x10077034], esi
mov esi, dword [0x10076fd8]
lea edx, [ebp - 0xbc]
push ecx
push ecx
push edx
lea ecx, [ebp - 0x30]
mov dword [ebp - 0xbc], 0
add esi, 0x11265c8
call fcn.100457e0
mov edi, dword [ebp - 0x2c]
xor ecx, ecx
mov edx, dword [ebp - 0x30]
sub edi, edx
sar edi, 2
test edi, edi
je 0x1004842c
nop dword [eax]
mov eax, dword [edx + ecx*4]
inc ecx
add eax, dword [esi]
mov esi, eax
cmp ecx, edi
jb 0x10048420
test edx, edx
je 0x10048469
mov eax, dword [ebp - 0x28]
sub eax, edx
sar eax, 2
lea ecx, [eax*4]
mov eax, edx
cmp ecx, 0x1000
jb 0x1004845f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1004845f
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.1005b378
add esp, 8
lea ecx, [ebp - 0xbc]
mov dword [0x10077030], esi
push ecx
lea eax, [ebp - 0xb8]
mov dword [ebp - 0xbc], 0
push eax
push ecx
lea ecx, [ebp - 0xd0]
call fcn.100457e0
mov ecx, dword [ebp - 0xd0]
test ecx, ecx
je 0x100484d9
mov eax, dword [ebp - 0xc8]
sub eax, ecx
sar eax, 2
lea edx, [eax*4]
mov eax, ecx
cmp edx, 0x1000
jb 0x100484cf
mov ecx, dword [eax - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100484cf
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.1005b378
add esp, 8
mov esi, dword [0x10076fd8]
lea ecx, [ebp - 0xb8]
push ecx
push ecx
lea edx, [ebp - 0xbc]
mov dword [ebp - 0xbc], 0
push edx
lea ecx, [ebp - 0x30]
add esi, 0x1126628
call fcn.100457e0
mov edi, dword [ebp - 0x2c]
xor ecx, ecx
mov edx, dword [ebp - 0x30]
sub edi, edx
sar edi, 2
test edi, edi
je 0x10048523
mov eax, dword [edx + ecx*4]
inc ecx
add eax, dword [esi]
mov esi, eax
cmp ecx, edi
jb 0x10048517
test edx, edx
je 0x10048560
mov eax, dword [ebp - 0x28]
sub eax, edx
sar eax, 2
lea ecx, [eax*4]
mov eax, edx
cmp ecx, 0x1000
jb 0x10048556
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10048556
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.1005b378
add esp, 8
lea ecx, [ebp - 0xb8]
mov dword [0x10077038], esi
mov esi, dword [0x10076fd8]
lea edx, [ebp - 0xbc]
push ecx
push ecx
push edx
lea ecx, [ebp - 0x30]
mov dword [ebp - 0xbc], 0
add esi, 0x1126788
call fcn.100457e0
mov edi, dword [ebp - 0x2c]
xor ecx, ecx
mov edx, dword [ebp - 0x30]
sub edi, edx
sar edi, 2
test edi, edi
je 0x100485b0
mov eax, dword [edx + ecx*4]
inc ecx
add eax, dword [esi]
mov esi, eax
cmp ecx, edi
jb 0x100485a4
test edx, edx
je 0x100485ed
mov eax, dword [ebp - 0x28]
sub eax, edx
sar eax, 2
lea ecx, [eax*4]
mov eax, edx
cmp ecx, 0x1000
jb 0x100485e3
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100485e3
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.1005b378
add esp, 8
lea ecx, [ebp - 0xb8]
mov dword [0x10077028], esi
mov esi, dword [0x10076fd8]
lea edx, [ebp - 0xbc]
push ecx
push ecx
push edx
lea ecx, [ebp - 0x30]
mov dword [ebp - 0xbc], 0
add esi, 0x112685c
call fcn.100457e0
mov edi, dword [ebp - 0x2c]
xor ecx, ecx
mov edx, dword [ebp - 0x30]
sub edi, edx
sar edi, 2
test edi, edi
je 0x1004863d
mov eax, dword [edx + ecx*4]
inc ecx
add eax, dword [esi]
mov esi, eax
cmp ecx, edi
jb 0x10048631
test edx, edx
je 0x1004867a
mov eax, dword [ebp - 0x28]
sub eax, edx
sar eax, 2
lea ecx, [eax*4]
mov eax, edx
cmp ecx, 0x1000
jb 0x10048670
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10048670
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.1005b378
add esp, 8
lea ecx, [ebp - 0xb8]
mov dword [0x10077020], esi
mov esi, dword [0x10076fd8]
lea edx, [ebp - 0xbc]
push ecx
push ecx
push edx
lea ecx, [ebp - 0x30]
mov dword [ebp - 0xbc], 0
add esi, 0xff0f6c
call fcn.100457e0
mov edi, dword [ebp - 0x2c]
xor ecx, ecx
mov edx, dword [ebp - 0x30]
sub edi, edx
sar edi, 2
test edi, edi
je 0x100486cc
nop
mov eax, dword [edx + ecx*4]
inc ecx
add eax, dword [esi]
mov esi, eax
cmp ecx, edi
jb 0x100486c0
test edx, edx
je 0x10048709
mov eax, dword [ebp - 0x28]
sub eax, edx
sar eax, 2
lea ecx, [eax*4]
mov eax, edx
cmp ecx, 0x1000
jb 0x100486ff
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100486ff
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.1005b378
add esp, 8
lea ecx, [ebp - 0xb8]
mov dword [0x1007701c], esi
mov esi, dword [0x10076fd8]
lea edx, [ebp - 0xbc]
push ecx
push ecx
push edx
lea ecx, [ebp - 0x30]
mov dword [ebp - 0xbc], 0
add esi, 0x1126524
call fcn.100457e0
mov edi, dword [ebp - 0x2c]
xor ecx, ecx
mov edx, dword [ebp - 0x30]
sub edi, edx
sar edi, 2
test edi, edi
je 0x1004875c
nop dword [eax]
mov eax, dword [edx + ecx*4]
inc ecx
add eax, dword [esi]
mov esi, eax
cmp ecx, edi
jb 0x10048750
test edx, edx
je 0x10048799
mov eax, dword [ebp - 0x28]
sub eax, edx
sar eax, 2
lea ecx, [eax*4]
mov eax, edx
cmp ecx, 0x1000
jb 0x1004878f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1004878f
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.1005b378
add esp, 8
lea ecx, [ebp - 0xbc]
mov dword [0x10076fa0], esi
push ecx
lea eax, [ebp - 0xb8]
mov dword [ebp - 0xbc], 0
push eax
push ecx
lea ecx, [ebp - 0xd0]
call fcn.100457e0
mov ecx, dword [ebp - 0xd0]
test ecx, ecx
je 0x10048809
mov eax, dword [ebp - 0xc8]
sub eax, ecx
sar eax, 2
lea edx, [eax*4]
mov eax, ecx
cmp edx, 0x1000
jb 0x100487ff
mov ecx, dword [eax - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100487ff
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.1005b378
add esp, 8
lea ecx, [ebp - 0xbc]
mov dword [ebp - 0xbc], 0
push ecx
lea eax, [ebp - 0xb8]
push eax
push ecx
lea ecx, [ebp - 0xd0]
call fcn.100457e0
mov ecx, dword [ebp - 0xd0]
test ecx, ecx
je 0x10048873
mov eax, dword [ebp - 0xc8]
sub eax, ecx
sar eax, 2
lea edx, [eax*4]
mov eax, ecx
cmp edx, 0x1000
jb 0x10048869
mov ecx, dword [eax - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10048869
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.1005b378
add esp, 8
mov esi, dword [0x10076fd8]
lea ecx, [ebp - 0xb8]
push ecx
push ecx
lea edx, [ebp - 0xbc]
mov dword [ebp - 0xbc], 0
push edx
lea ecx, [ebp - 0x30]
add esi, 0x112776c
call fcn.100457e0
mov edi, dword [ebp - 0x2c]
xor ecx, ecx
mov edx, dword [ebp - 0x30]
sub edi, edx
sar edi, 2
test edi, edi
je 0x100488bd
mov eax, dword [edx + ecx*4]
inc ecx
add eax, dword [esi]
mov esi, eax
cmp ecx, edi
jb 0x100488b1
test edx, edx
je 0x100488fa
mov eax, dword [ebp - 0x28]
sub eax, edx
sar eax, 2
lea ecx, [eax*4]
mov eax, edx
cmp ecx, 0x1000
jb 0x100488f0
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100488f0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.1005b378
add esp, 8
lea ecx, [ebp - 0xb8]
mov dword [0x10076f90], esi
mov esi, dword [0x10076fd8]
lea edx, [ebp - 0xbc]
push ecx
push ecx
push edx
lea ecx, [ebp - 0x30]
mov dword [ebp - 0xbc], 0
add esi, 0x1126884
call fcn.100457e0
mov edi, dword [ebp - 0x2c]
xor ecx, ecx
mov edx, dword [ebp - 0x30]
sub edi, edx
sar edi, 2
test edi, edi
je 0x1004894c
nop
mov eax, dword [edx + ecx*4]
inc ecx
add eax, dword [esi]
mov esi, eax
cmp ecx, edi
jb 0x10048940
test edx, edx
je 0x10048989
mov eax, dword [ebp - 0x28]
sub eax, edx
sar eax, 2
lea ecx, [eax*4]
mov eax, edx
cmp ecx, 0x1000
jb 0x1004897f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1004897f
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.1005b378
add esp, 8
lea ecx, [ebp - 0xbc]
mov dword [0x10076fa8], esi
push ecx
lea eax, [ebp - 0xb8]
mov dword [ebp - 0xbc], 0
push eax
push ecx
lea ecx, [ebp - 0xd0]
call fcn.100457e0
mov ecx, dword [ebp - 0xd0]
test ecx, ecx
je 0x100489f9
mov eax, dword [ebp - 0xc8]
sub eax, ecx
sar eax, 2
lea edx, [eax*4]
mov eax, ecx
cmp edx, 0x1000
jb 0x100489ef
mov ecx, dword [eax - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100489ef
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.1005b378
add esp, 8
lea ecx, [ebp - 0xbc]
mov dword [ebp - 0xbc], 0
push ecx
lea eax, [ebp - 0xb8]
push eax
push ecx
lea ecx, [ebp - 0xd0]
call fcn.100457e0
mov ecx, dword [ebp - 0xd0]
test ecx, ecx
je 0x10048a63
mov eax, dword [ebp - 0xc8]
sub eax, ecx
sar eax, 2
lea edx, [eax*4]
mov eax, ecx
cmp edx, 0x1000
jb 0x10048a59
mov ecx, dword [eax - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10048a59
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.1005b378
add esp, 8
mov esi, dword [0x10076fd8]
lea ecx, [ebp - 0xb8]
push ecx
push ecx
lea edx, [ebp - 0xbc]
mov dword [ebp - 0xbc], 0
push edx
lea ecx, [ebp - 0x30]
add esi, 0x11268a8
call fcn.100457e0
mov edi, dword [ebp - 0x2c]
xor ecx, ecx
mov edx, dword [ebp - 0x30]
sub edi, edx
sar edi, 2
test edi, edi
je 0x10048aad
mov eax, dword [edx + ecx*4]
inc ecx
add eax, dword [esi]
mov esi, eax
cmp ecx, edi
jb 0x10048aa1
test edx, edx
je 0x10048aea
mov eax, dword [ebp - 0x28]
sub eax, edx
sar eax, 2
lea ecx, [eax*4]
mov eax, edx
cmp ecx, 0x1000
jb 0x10048ae0
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10048ae0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.1005b378
add esp, 8
lea ecx, [ebp - 0xbc]
mov dword [0x1007702c], esi
push ecx
lea eax, [ebp - 0xb8]
mov dword [ebp - 0xbc], 0
push eax
push ecx
lea ecx, [ebp - 0xd0]
call fcn.100457e0
mov ecx, dword [ebp - 0xd0]
test ecx, ecx
je 0x10048b5a
mov eax, dword [ebp - 0xc8]
sub eax, ecx
sar eax, 2
lea edx, [eax*4]
mov eax, ecx
cmp edx, 0x1000
jb 0x10048b50
mov ecx, dword [eax - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10048b50
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.1005b378
add esp, 8
mov esi, dword [0x10076fd8]
lea ecx, [ebp - 0xb8]
push ecx
push ecx
lea edx, [ebp - 0xbc]
mov dword [ebp - 0xbc], 0
push edx
lea ecx, [ebp - 0x30]
add esi, 0x11268d0
call fcn.100457e0
mov edi, dword [ebp - 0x2c]
xor ecx, ecx
mov edx, dword [ebp - 0x30]
sub edi, edx
sar edi, 2
test edi, edi
je 0x10048ba4
mov eax, dword [edx + ecx*4]
inc ecx
add eax, dword [esi]
mov esi, eax
cmp ecx, edi
jb 0x10048b98
test edx, edx
je 0x10048be1
mov eax, dword [ebp - 0x28]
sub eax, edx
sar eax, 2
lea ecx, [eax*4]
mov eax, edx
cmp ecx, 0x1000
jb 0x10048bd7
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10048bd7
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.1005b378
add esp, 8
lea ecx, [ebp - 0xb8]
mov dword [0x10076f8c], esi
mov esi, dword [0x10076fd8]
lea edx, [ebp - 0xbc]
push ecx
push ecx
push edx
lea ecx, [ebp - 0x30]
mov dword [ebp - 0xbc], 0
add esi, 0x1126a00
call fcn.100457e0
mov edi, dword [ebp - 0x2c]
xor ecx, ecx
mov edx, dword [ebp - 0x30]
sub edi, edx
sar edi, 2
test edi, edi
je 0x10048c31
mov eax, dword [edx + ecx*4]
inc ecx
add eax, dword [esi]
mov esi, eax
cmp ecx, edi
jb 0x10048c25
test edx, edx
je 0x10048c6e
mov eax, dword [ebp - 0x28]
sub eax, edx
sar eax, 2
lea ecx, [eax*4]
mov eax, edx
cmp ecx, 0x1000
jb 0x10048c64
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10048c64
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.1005b378
add esp, 8
lea ecx, [ebp - 0xb8]
mov dword [0x10077018], esi
mov esi, dword [0x10076fd8]
lea edx, [ebp - 0xbc]
push ecx
push ecx
push edx
lea ecx, [ebp - 0x30]
mov dword [ebp - 0xbc], 0
add esi, 0x1126684
call fcn.100457e0
mov edi, dword [ebp - 0x2c]
xor ecx, ecx
mov edx, dword [ebp - 0x30]
sub edi, edx
sar edi, 2
test edi, edi
je 0x10048cbe
mov eax, dword [edx + ecx*4]
inc ecx
add eax, dword [esi]
mov esi, eax
cmp ecx, edi
jb 0x10048cb2
test edx, edx
je 0x10048cfb
mov eax, dword [ebp - 0x28]
sub eax, edx
sar eax, 2
lea ecx, [eax*4]
mov eax, edx
cmp ecx, 0x1000
jb 0x10048cf1
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10048cf1
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.1005b378
add esp, 8
lea ecx, [ebp - 0xbc]
mov dword [0x10076f94], esi
push ecx
lea eax, [ebp - 0xb8]
mov dword [ebp - 0xbc], 0
push eax
push ecx
lea ecx, [ebp - 0xd0]
call fcn.100457e0
mov ecx, dword [ebp - 0xd0]
test ecx, ecx
je 0x10048d6b
mov eax, dword [ebp - 0xc8]
sub eax, ecx
sar eax, 2
lea edx, [eax*4]
mov eax, ecx
cmp edx, 0x1000
jb 0x10048d61
mov ecx, dword [eax - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10048d61
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.1005b378
add esp, 8
mov esi, dword [0x10076fd8]
lea ecx, [ebp - 0xb8]
push ecx
push ecx
lea edx, [ebp - 0xbc]
mov dword [ebp - 0xbc], 0
push edx
lea ecx, [ebp - 0x30]
add esi, 0x11268b8
call fcn.100457e0
mov edi, dword [ebp - 0x2c]
xor ecx, ecx
mov edx, dword [ebp - 0x30]
sub edi, edx
sar edi, 2
test edi, edi
je 0x10048dbc
nop dword [eax]
mov eax, dword [edx + ecx*4]
inc ecx
add eax, dword [esi]
mov esi, eax
cmp ecx, edi
jb 0x10048db0
test edx, edx
je 0x10048df9
mov eax, dword [ebp - 0x28]
sub eax, edx
sar eax, 2
lea ecx, [eax*4]
mov eax, edx
cmp ecx, 0x1000
jb 0x10048def
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10048def
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.1005b378
add esp, 8
lea ecx, [ebp - 0xb8]
mov dword [0x10076fb0], esi
mov esi, dword [0x10076fd8]
lea edx, [ebp - 0xbc]
push ecx
push ecx
push edx
lea ecx, [ebp - 0x30]
mov dword [ebp - 0xbc], 0
add esi, 0x11264f8
call fcn.100457e0
mov edi, dword [ebp - 0x2c]
xor ecx, ecx
mov edx, dword [ebp - 0x30]
sub edi, edx
sar edi, 2
test edi, edi
je 0x10048e4c
nop dword [eax]
mov eax, dword [edx + ecx*4]
inc ecx
add eax, dword [esi]
mov esi, eax
cmp ecx, edi
jb 0x10048e40
test edx, edx
je 0x10048e89
mov eax, dword [ebp - 0x28]
sub eax, edx
sar eax, 2
lea ecx, [eax*4]
mov eax, edx
cmp ecx, 0x1000
jb 0x10048e7f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10048e7f
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.1005b378
add esp, 8
lea ecx, [ebp - 0xb8]
mov dword [0x10077024], esi
mov esi, dword [0x10076fd8]
lea edx, [ebp - 0xbc]
push ecx
push ecx
push edx
lea ecx, [ebp - 0x40]
mov dword [ebp - 0xbc], 0
add esi, 0x11268e0
call fcn.100457e0
mov edi, dword [ebp - 0x3c]
xor ecx, ecx
mov edx, dword [ebp - 0x40]
sub edi, edx
sar edi, 2
test edi, edi
je 0x10048edc
nop dword [eax]
mov eax, dword [edx + ecx*4]
inc ecx
add eax, dword [esi]
mov esi, eax
cmp ecx, edi
jb 0x10048ed0
test edx, edx
je 0x10048f2e
mov eax, dword [ebp - 0x38]
sub eax, edx
sar eax, 2
lea ecx, [eax*4]
mov eax, edx
cmp ecx, 0x1000
jb 0x10048f0f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10048f0f
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.1005b378
add esp, 8
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0
mov dword [0x10076fd0], esi
mov esi, dword [0x10076fd8]
lea eax, [esi + 0x101a72c]
mov dword [0x10076fd4], eax
lea eax, [esi + 0x1004d50]
mov dword [0x10076fe8], eax
lea eax, [esi + 0x1005840]
mov dword [0x10076fe4], eax
lea eax, [esi + 0x1007000]
mov dword [0x10076fe0], eax
lea eax, [esi + 0x1007830]
mov dword [0x10076f98], eax
lea eax, [esi + 0x100e79c]
mov dword [0x10076fec], eax
lea eax, [esi + 0x1013788]
mov dword [0x10076fa4], eax
mov eax, dword [0x10076fbc]
cmp dword [eax + 0x64c], 0
je 0x100495a9
lea ecx, [ebp - 0xbc]
mov dword [ebp - 0xbc], 0
push ecx
lea eax, [ebp - 0xb8]
add esi, 0x11264d8
push eax
push ecx
lea ecx, [ebp - 0x30]
call fcn.100457e0
mov edi, dword [ebp - 0x2c]
xor ecx, ecx
mov edx, dword [ebp - 0x30]
sub edi, edx
sar edi, 2
test edi, edi
je 0x10048fdd
mov eax, dword [edx + ecx*4]
inc ecx
add eax, dword [esi]
mov esi, eax
cmp ecx, edi
jb 0x10048fd1
test edx, edx
je 0x1004901a
mov eax, dword [ebp - 0x28]
sub eax, edx
sar eax, 2
lea ecx, [eax*4]
mov eax, edx
cmp ecx, 0x1000
jb 0x10049010
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10049010
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.1005b378
add esp, 8
test esi, esi
je 0x100495a9
push 0x1e
xorps xmm0, xmm0
mov dword [ebp - 0x64], 0
push str.root.global.effects.explosions
lea ecx, [ebp - 0x74]
mov dword [ebp - 0x60], 0
movups xmmword [ebp - 0x74], xmm0
call fcn.1003cd70
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x5c]
push 0x22
xorps xmm0, xmm0
mov dword [ebp - 0x4c], 0
push str.root.global.game.AttachableObjects
movups xmmword [ebp - 0x5c], xmm0
mov dword [ebp - 0x48], 0
call fcn.1003cd70
lea ecx, [ebp - 0xf0]
mov byte [ebp - 4], 1
mov esi, dword [0x10076fd8]
lea edx, [ebp - 0xf8]
push ecx
push ecx
push edx
lea ecx, [ebp - 0xd0]
mov dword [ebp - 0xf8], 0
mov dword [ebp - 0xf4], 0
add esi, 0x11264d8
call fcn.100457e0
mov edi, dword [ebp - 0xcc]
xor ecx, ecx
mov edx, dword [ebp - 0xd0]
sub edi, edx
sar edi, 2
test edi, edi
je 0x100490d2
mov eax, dword [edx + ecx*4]
inc ecx
add eax, dword [esi]
mov esi, eax
cmp ecx, edi
jb 0x100490c6
test edx, edx
je 0x10049112
mov eax, dword [ebp - 0xc8]
sub eax, edx
sar eax, 2
lea ecx, [eax*4]
mov eax, edx
cmp ecx, 0x1000
jb 0x10049108
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10049108
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.1005b378
add esp, 8
xorps xmm0, xmm0
mov dword [0x10076f9c], esi
push ecx
lea edx, [ebp - 0x74]
movq qword [ebp - 0x30], xmm0
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x28], 0
call fcn.1004a9c0
add esp, 4
lea edx, [ebp - 0x30]
mov byte [ebp - 4], 2
call fcn.1004ad20
xorps xmm0, xmm0
mov dword [0x10076fc0], eax
push ecx
lea edx, [ebp - 0x5c]
movq qword [ebp - 0x40], xmm0
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x38], 0
call fcn.1004a9c0
add esp, 4
lea edx, [ebp - 0x40]
call fcn.1004ad20
lea ecx, [ebp - 0x40]
mov dword [0x10076fcc], eax
call fcn.100458b0
lea ecx, [ebp - 0x30]
call fcn.100458b0
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x48]
cmp ecx, 0xf
jbe 0x100491b6
mov edx, dword [ebp - 0x5c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100491ac
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100491e3
push ecx
push edx
call fcn.1005b378
add esp, 8
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x60]
cmp ecx, 0xf
jbe 0x100491f3
mov edx, dword [ebp - 0x74]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100491e9
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100491e9
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.1005b378
add esp, 8
push 0x40
lea eax, [ebp - 0xb8]
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.1003cd70
lea ecx, [ebp - 0xb8]
call fcn.1003c650
add esp, 0x18
mov dword [ebp - 4], 3
lea ecx, [ebp - 0xf0]
xorps xmm0, xmm0
mov dword [ebp - 0x38], 0
push 8
push 0x10069eac
movq qword [ebp - 0x40], xmm0
movups xmmword [ebp - 0xf0], xmm0
mov dword [ebp - 0xe0], 0
mov dword [ebp - 0xdc], 0
call fcn.1003cd70
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], 5
lea esi, [ebp - 0xf0]
cmp dword [ebp - 0xdc], 0xf
mov eax, dword [ebp - 0xf0]
cmova esi, eax
nop dword [eax]
nop dword [eax + eax]
cmp dword [ebp - 0xdc], 0xf
lea ecx, [ebp - 0xf0]
cmova ecx, eax
mov eax, dword [ebp - 0xe0]
add eax, ecx
cmp esi, eax
je 0x10049306
mov al, byte [esi]
mov byte [ebp - 0xd1], al
cmp edi, edx
je 0x100492e7
mov byte [edi], al
inc edi
mov eax, dword [ebp - 0xf0]
inc esi
mov dword [ebp - 0x3c], edi
jmp 0x100492b0
lea eax, [ebp - 0xd1]
push eax
push edi
lea ecx, [ebp - 0x40]
call fcn.1003cef0
mov edx, dword [ebp - 0x38]
inc esi
mov edi, dword [ebp - 0x3c]
mov eax, dword [ebp - 0xf0]
jmp 0x100492b0
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0xdc]
mov dword [ebp - 0xbc], edx
cmp eax, 0xf
jbe 0x1004934e
mov ecx, dword [ebp - 0xf0]
lea edx, [eax + 1]
mov eax, ecx
cmp edx, 0x1000
jb 0x10049344
mov ecx, dword [eax - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10049344
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.1005b378
add esp, 8
mov dword [ebp - 0xe0], 0
mov dword [ebp - 0xdc], 0xf
mov byte [ebp - 0xf0], 0
sub esp, 0x18
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x84]
mov ecx, esp
mov dword [ebp - 0xf4], esp
xorps xmm0, xmm0
mov dword [ebp - 0xfc], eax
mov eax, dword [ebp - 0x88]
push 8
movups xmmword [ecx], xmm0
push str.xxxxxxxx
mov dword [ebp - 0xd8], eax
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
call fcn.1003cd70
sub esp, 0xc
mov byte [ebp - 4], 7
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 0x10049402
cmp edi, 0x7fffffff
ja 0x100495c9
push edi
mov ecx, esi
call fcn.1003ce70
mov eax, dword [ebp - 0x40]
mov esi, dword [esi]
push edi
push eax
push esi
call sub.VCRUNTIME140.dll_memmove
lea eax, [edi + esi]
add esp, 0xc
mov esi, dword [ebp - 0x44]
mov dword [esi + 4], eax
mov edx, dword [ebp - 0xfc]
mov ecx, dword [ebp - 0xd8]
mov byte [ebp - 4], 6
call fcn.1003c980
mov ecx, dword [0x10076fd8]
add eax, 0xf
mov dword [0x10077014], eax
add esp, 0x20
mov byte [ebp - 4], 8
lea eax, [ecx + 0x938280]
mov dword [0x10076ffc], eax
lea eax, [ecx + 0x4723a0]
mov dword [0x10077008], eax
lea eax, [ecx + 0x939880]
mov dword [0x10077004], eax
lea eax, [ecx + 0x92c110]
mov dword [0x10077000], eax
lea eax, [ecx + 0x86c9b0]
mov dword [0x10076ff8], eax
lea eax, [ecx + 0x9e9dd0]
mov dword [0x10076ff4], eax
lea eax, [ecx + 0x54aa77]
mov dword [0x10077010], eax
lea eax, [ecx + 0x7445bd]
mov dword [0x1007700c], eax
lea eax, [ecx + 0x10e490]
mov dword [0x10076ff0], eax
call fcn.1004a3c0
add esp, 4
mov dword [ebp - 4], 6
jmp 0x100494c6
movss xmm0, dword [0x1007628c]
mulss xmm0, dword [0x1006a784]
mov ecx, dword [0x10076fa4]
movss dword [0x1007628c], xmm0
mov eax, dword [ecx]
mov eax, dword [eax + 8]
call eax
mov ecx, dword [0x10076fec]
mov dword [0x10076f88], eax
mov eax, dword [ecx]
mov eax, dword [eax + 8]
call eax
mov ecx, dword [0x10076fe0]
mov dword [0x10076fb8], eax
push 0
mov eax, dword [ecx]
call dword [eax + 0x14]
mov ecx, dword [0x10076fe8]
push 0
mov eax, dword [ecx]
mov eax, dword [eax + 0x14]
call eax
mov ecx, dword [0x10076fe4]
mov dword [0x10076fac], eax
push 0
mov eax, dword [ecx]
call dword [eax + 0x14]
mov eax, dword [0x10076f88]
mov edi, dword [0x1007700c]
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 0x1004959a
mov ecx, dword [ebp - 0xbc]
mov eax, edx
sub ecx, edx
cmp ecx, 0x1000
jb 0x10049590
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10049590
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.1005b378
add esp, 8
lea ecx, [ebp - 0xb8]
call fcn.1003c1d0
mov al, 1
jmp 0x100495ab
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.1005ae5b
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.1003ce60
int3