Function at 0x1005da80
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
sub esp, 0x80
mov eax, dword [0x10084040]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [0x1008a104]
lea edx, [ebp - 0x40]
push esi
push edi
push ecx
lea eax, [ecx + 0x12f360]
mov dword [ebp - 0x40], 8
mov dword [ebp - 0x80], eax
lea esi, [ecx + 0x11266dc]
lea eax, [ecx + 0x9e9e40]
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x30], eax
lea eax, [ecx + 0x9ef9d0]
mov dword [ebp - 0x74], eax
lea eax, [ecx + 0x31b180]
mov dword [ebp - 0x6c], eax
lea eax, [ecx + 0x9eb0a0]
mov dword [ebp - 0x64], eax
lea eax, [ecx + 0x9ed7c0]
mov dword [ebp - 0x2c], eax
lea ecx, [ebp - 0x50]
mov eax, dword [0x1008a06c]
shl eax, 2
mov dword [ebp - 0x3c], eax
lea eax, [ebp - 0x34]
push eax
push edx
mov dword [ebp - 0x14], esi
call fcn.10054440
mov edi, dword [ebp - 0x4c]
xor ecx, ecx
mov edx, dword [ebp - 0x50]
sub edi, edx
sar edi, 2
test edi, edi
je 0x1005db37
mov eax, dword [edx + ecx*4]
inc ecx
add eax, dword [esi]
mov esi, eax
cmp ecx, edi
jb 0x1005db28
mov dword [ebp - 0x14], eax
test edx, edx
je 0x1005db82
mov ecx, dword [ebp - 0x48]
mov eax, edx
sub ecx, edx
and ecx, 0xfffffffc
cmp ecx, 0x1000
jb 0x1005db63
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1005db63
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 - 0x50], 0
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 0
lea ecx, [ebp - 8]
mov dword [ebp - 0x60], esi
push ecx
lea eax, [ebp - 4]
mov dword [ebp - 8], 0
push eax
push ecx
lea ecx, [ebp - 0x28]
call fcn.10054440
mov eax, dword [ebp - 0x24]
lea edi, [esi + 0x2c]
mov edx, dword [ebp - 0x28]
xor ecx, ecx
sub eax, edx
sar eax, 2
test eax, eax
je 0x1005dbc2
mov esi, eax
mov eax, dword [edx + ecx*4]
inc ecx
add eax, dword [edi]
mov edi, eax
cmp ecx, esi
jb 0x1005dbb3
mov esi, dword [ebp - 0x14]
test edx, edx
je 0x1005dbf8
mov ecx, dword [ebp - 0x20]
mov eax, edx
sub ecx, edx
and ecx, 0xfffffffc
cmp ecx, 0x1000
jb 0x1005dbee
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1005dbee
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
movzx ecx, di
cmp ecx, 0xffff
je 0x1005dc7f
mov dword [ebp - 8], 0
call fcn.1005c080
mov edi, eax
lea eax, [ebp - 4]
push ecx
push eax
lea eax, [ebp - 8]
push eax
lea ecx, [ebp - 0x28]
call fcn.10054440
mov eax, dword [ebp - 0x24]
xor ecx, ecx
mov edx, dword [ebp - 0x28]
sub eax, edx
sar eax, 2
test eax, eax
je 0x1005dc44
mov esi, eax
mov eax, dword [edx + ecx*4]
inc ecx
add eax, dword [edi]
mov edi, eax
cmp ecx, esi
jb 0x1005dc35
mov esi, dword [ebp - 0x14]
test edx, edx
je 0x1005dc7a
mov ecx, dword [ebp - 0x20]
mov eax, edx
sub ecx, edx
and ecx, 0xfffffffc
cmp ecx, 0x1000
jb 0x1005dc70
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1005dc70
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 - 0x54], edi
jmp 0x1005dc86
mov dword [ebp - 0x54], 0
lea ecx, [ebp - 8]
mov dword [ebp - 8], 0
push ecx
lea eax, [ebp - 4]
push eax
push ecx
lea ecx, [ebp - 0x28]
call fcn.10054440
mov eax, dword [ebp - 0x24]
lea edi, [esi + 0x2e]
mov edx, dword [ebp - 0x28]
xor ecx, ecx
sub eax, edx
sar eax, 2
test eax, eax
je 0x1005dcc3
mov esi, eax
mov eax, dword [edx + ecx*4]
inc ecx
add eax, dword [edi]
mov edi, eax
cmp ecx, esi
jb 0x1005dcb4
mov esi, dword [ebp - 0x14]
test edx, edx
je 0x1005dcf9
mov ecx, dword [ebp - 0x20]
mov eax, edx
sub ecx, edx
and ecx, 0xfffffffc
cmp ecx, 0x1000
jb 0x1005dcef
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1005dcef
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
movzx ecx, di
cmp ecx, 0xffff
je 0x1005dd80
mov dword [ebp - 8], 0
call fcn.1005c080
mov edi, eax
lea eax, [ebp - 4]
push ecx
push eax
lea eax, [ebp - 8]
push eax
lea ecx, [ebp - 0x28]
call fcn.10054440
mov eax, dword [ebp - 0x24]
xor ecx, ecx
mov edx, dword [ebp - 0x28]
sub eax, edx
sar eax, 2
test eax, eax
je 0x1005dd45
mov esi, eax
mov eax, dword [edx + ecx*4]
inc ecx
add eax, dword [edi]
mov edi, eax
cmp ecx, esi
jb 0x1005dd36
mov esi, dword [ebp - 0x14]
test edx, edx
je 0x1005dd7b
mov ecx, dword [ebp - 0x20]
mov eax, edx
sub ecx, edx
and ecx, 0xfffffffc
cmp ecx, 0x1000
jb 0x1005dd71
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1005dd71
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 - 0x58], edi
jmp 0x1005dd87
mov dword [ebp - 0x58], 0
lea ecx, [ebp - 8]
mov dword [ebp - 8], 0
push ecx
lea eax, [ebp - 4]
push eax
push ecx
lea ecx, [ebp - 0x28]
call fcn.10054440
mov eax, dword [ebp - 0x24]
lea edi, [esi + 0x32]
mov edx, dword [ebp - 0x28]
xor ecx, ecx
sub eax, edx
sar eax, 2
test eax, eax
je 0x1005ddc4
mov esi, eax
mov eax, dword [edx + ecx*4]
inc ecx
add eax, dword [edi]
mov edi, eax
cmp ecx, esi
jb 0x1005ddb5
mov esi, dword [ebp - 0x14]
test edx, edx
je 0x1005ddfa
mov ecx, dword [ebp - 0x20]
mov eax, edx
sub ecx, edx
and ecx, 0xfffffffc
cmp ecx, 0x1000
jb 0x1005ddf0
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1005ddf0
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
movzx ecx, di
cmp ecx, 0xffff
je 0x1005de81
mov dword [ebp - 8], 0
call fcn.1005c080
mov edi, eax
lea eax, [ebp - 4]
push ecx
push eax
lea eax, [ebp - 8]
push eax
lea ecx, [ebp - 0x28]
call fcn.10054440
mov eax, dword [ebp - 0x24]
xor ecx, ecx
mov edx, dword [ebp - 0x28]
sub eax, edx
sar eax, 2
test eax, eax
je 0x1005de46
mov esi, eax
mov eax, dword [edx + ecx*4]
inc ecx
add eax, dword [edi]
mov edi, eax
cmp ecx, esi
jb 0x1005de37
mov esi, dword [ebp - 0x14]
test edx, edx
je 0x1005de7c
mov ecx, dword [ebp - 0x20]
mov eax, edx
sub ecx, edx
and ecx, 0xfffffffc
cmp ecx, 0x1000
jb 0x1005de72
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1005de72
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 - 0x5c], edi
jmp 0x1005de88
mov dword [ebp - 0x5c], 0
lea ecx, [ebp - 8]
mov dword [ebp - 8], 0
push ecx
lea eax, [ebp - 4]
push eax
push ecx
lea ecx, [ebp - 0x28]
call fcn.10054440
mov edi, dword [ebp - 0x24]
add esi, 0x30
mov edx, dword [ebp - 0x28]
xor ecx, ecx
sub edi, edx
sar edi, 2
test edi, edi
je 0x1005dec0
mov eax, dword [edx + ecx*4]
inc ecx
add eax, dword [esi]
mov esi, eax
cmp ecx, edi
jb 0x1005deb4
test edx, edx
je 0x1005def6
mov ecx, dword [ebp - 0x20]
mov eax, edx
sub ecx, edx
and ecx, 0xfffffffc
cmp ecx, 0x1000
jb 0x1005deec
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1005deec
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
movzx ecx, si
cmp ecx, 0xffff
je 0x1005df78
mov dword [ebp - 8], 0
lea edi, [ebp - 4]
call fcn.1005c080
push ecx
mov esi, eax
lea ecx, [ebp - 0x28]
push edi
lea eax, [ebp - 8]
push eax
call fcn.10054440
mov edi, dword [ebp - 0x24]
xor ecx, ecx
mov edx, dword [ebp - 0x28]
sub edi, edx
sar edi, 2
test edi, edi
je 0x1005df3d
mov eax, dword [edx + ecx*4]
inc ecx
add eax, dword [esi]
mov esi, eax
cmp ecx, edi
jb 0x1005df31
test edx, edx
je 0x1005df73
mov ecx, dword [ebp - 0x20]
mov eax, edx
sub ecx, edx
and ecx, 0xfffffffc
cmp ecx, 0x1000
jb 0x1005df69
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1005df69
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 - 0xc], esi
jmp 0x1005df7f
mov dword [ebp - 0xc], 0
mov esi, dword [0x1008a104]
lea ecx, [ebp - 0x44]
push ecx
push ecx
lea edx, [ebp - 0x4c]
mov dword [ebp - 0x4c], 0x10
push edx
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x48], 0
add esi, 0x1126508
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 0x1005dfcc
nop dword [eax + eax]
mov eax, dword [edx + ecx*4]
inc ecx
add eax, dword [esi]
mov esi, eax
cmp ecx, edi
jb 0x1005dfc0
test edx, edx
je 0x1005e017
mov ecx, dword [ebp - 0x38]
mov eax, edx
sub ecx, edx
and ecx, 0xfffffffc
cmp ecx, 0x1000
jb 0x1005dff8
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1005dff8
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
lea eax, [esi + 0x230]
mov dword [ebp - 8], 0
mov dword [ebp - 0x14], eax
lea ecx, [ebp - 4]
lea eax, [esi + 0x1a0]
mov dword [ebp - 0x7c], eax
lea edx, [ebp - 8]
lea eax, [esi + 0x600]
push ecx
mov dword [ebp - 0x68], eax
lea eax, [esi + 0x610]
mov esi, dword [0x1008a104]
push ecx
push edx
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x78], eax
add esi, 0x11265c8
call fcn.10054440
mov edi, dword [ebp - 0x24]
xor ecx, ecx
mov edx, dword [ebp - 0x28]
sub edi, edx
sar edi, 2
test edi, edi
je 0x1005e07c
mov eax, dword [edx + ecx*4]
inc ecx
add eax, dword [esi]
mov esi, eax
cmp ecx, edi
jb 0x1005e070
test edx, edx
je 0x1005e0b2
mov ecx, dword [ebp - 0x20]
mov eax, edx
sub ecx, edx
and ecx, 0xfffffffc
cmp ecx, 0x1000
jb 0x1005e0a8
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1005e0a8
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 - 0x70], esi
mov esi, dword [ebp - 0x14]
call dword [ebp - 0x64]
push 1
mov ecx, dword [ebp - 0x14]
add ecx, 0x24
call dword [ebp - 0x2c]
add ecx, 4
push 1
call dword [ebp - 0x2c]
add ecx, 4
push 1
call dword [ebp - 0x2c]
add ecx, 4
push 1
call dword [ebp - 0x2c]
mov esi, dword [ebp - 0x14]
lea eax, [ebp - 8]
mov edi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
add esi, 0x24
push eax
push 0x40
push 0x10
push esi
call edi
lea eax, [ebp - 8]
xorps xmm0, xmm0
push eax
push dword [ebp - 8]
movups xmmword [esi], xmm0
push 0x10
push esi
call edi
lea eax, [ebp - 8]
mov dword [ebp - 0x10], 0
push eax
push 0x40
push 4
lea eax, [ebp - 0x10]
push eax
call edi
mov esi, dword [ebp - 0x14]
add esi, 0x18
mov eax, dword [esi]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 8]
push eax
push dword [ebp - 8]
lea eax, [ebp - 0x10]
push 4
push eax
call edi
lea eax, [ebp - 8]
push eax
push 0x40
push 4
push esi
call edi
mov ecx, dword [ebp - 0x14]
mov eax, dword [ecx + 0x14]
mov dword [esi], eax
lea eax, [ebp - 8]
push eax
push dword [ebp - 8]
push 4
push esi
call edi
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x54]
push 1
call dword [ebp - 0x30]
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x58]
push 1
call dword [ebp - 0x30]
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x5c]
push 1
call dword [ebp - 0x30]
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0xc]
push 1
call dword [ebp - 0x30]
lea eax, [ebp - 0xc]
push eax
push 0x40
push 4
push esi
call edi
mov eax, dword [ebp - 0x10]
mov dword [esi], eax
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 0xc]
push 4
push esi
call edi
mov edi, dword [ebp - 0x68]
mov edx, dword [ebp - 0x60]
call dword [ebp - 0x6c]
mov ecx, dword [ebp - 0x14]
mov esi, dword [ebp - 0x70]
call dword [ebp - 0x74]
push dword [ebp - 0x60]
push dword [ebp - 0x78]
mov eax, dword [ebp - 0x7c]
call dword [ebp - 0x80]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop edi
pop esi
call fcn.1006c1ab
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret