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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
mov eax, dword [0x100a9114]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [0x100aa6ac]
xor edx, edx
mov eax, dword fs:[0x2c]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_VirtualProtect]
push esi
lea eax, [eax + ecx*4]
mov dword [ebp - 0x54], edx
push edi
mov dword [ebp - 0x50], eax
lea ecx, [edx + edx*4]
xor esi, esi
mov dword [ebp - 0x58], ecx
nop dword [eax + eax]
cmp byte [0x1008e070], 0
je 0x100088ef
mov eax, dword [esi*4 + 0x1008e048]
mov dword [ebp - 8], eax
lea eax, [ecx + esi]
mov edi, dword [eax*4 + 0x1006fad8]
add edi, dword [0x100aa24c]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x50]
mov ecx, dword [eax]
mov eax, dword [0x100aa2cc]
cmp eax, dword [ecx + 4]
jg 0x10008986
lea eax, [ebp - 0x14]
mov dword [ebp - 0x18], 4
push eax
push 0x40
push 4
push edi
mov dword [ebp - 0x1c], edi
call ebx
test eax, eax
mov eax, dword [ebp - 8]
setne byte [ebp - 0x10]
mov dword [edi], eax
cmp byte [ebp - 0x10], 0
je 0x10008819
mov eax, dword [ebp - 0x14]
lea ecx, [ebp - 8]
push ecx
push eax
push dword [ebp - 0x18]
mov dword [ebp - 8], eax
push dword [ebp - 0x1c]
call ebx
cmp dword [ebp - 0x54], 5
jne 0x100088e1
cmp esi, 2
jne 0x10008881
mov edx, dword [ebp - 0x50]
mov edi, dword [0x100aa24c]
mov eax, dword [0x100aa2cc]
add edi, 0x14a989c
mov ecx, dword [edx]
cmp eax, dword [ecx + 4]
jg 0x100089da
lea eax, [ebp - 0x24]
mov dword [ebp - 0x28], 4
push eax
push 0x40
push 4
push edi
mov dword [ebp - 0x2c], edi
call ebx
test eax, eax
setne byte [ebp - 0x20]
mov dword [edi], 0x20701
cmp byte [ebp - 0x20], 0
je 0x100088e1
mov eax, dword [ebp - 0x24]
lea ecx, [ebp - 8]
push ecx
push eax
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
jmp 0x100088dc
test esi, esi
jne 0x100088e1
mov edx, dword [ebp - 0x50]
mov edi, dword [0x100aa24c]
mov eax, dword [0x100aa2cc]
add edi, 0x14a988c
mov ecx, dword [edx]
cmp eax, dword [ecx + 4]
jg 0x10008a2e
lea eax, [ebp - 0x34]
mov dword [ebp - 0x38], 4
push eax
push 0x40
push 4
push edi
mov dword [ebp - 0x3c], edi
call ebx
test eax, eax
setne byte [ebp - 0x30]
mov dword [edi], 0x20700
cmp byte [ebp - 0x30], 0
je 0x100088e1
mov eax, dword [ebp - 0x34]
lea ecx, [ebp - 8]
push ecx
push eax
push dword [ebp - 0x38]
push dword [ebp - 0x3c]
mov dword [ebp - 8], eax
call ebx
cmp byte [0x1008e070], 0
jne 0x10008958
mov edi, dword [ebp - 0xc]
jmp 0x100088f2
lea edi, [esi + ecx]
mov eax, dword [edi*4 + 0x1006fc08]
mov edi, dword [edi*4 + 0x1006fad8]
add edi, dword [0x100aa24c]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x50]
mov ecx, dword [eax]
mov eax, dword [0x100aa2cc]
cmp eax, dword [ecx + 4]
jg 0x10008a82
lea eax, [ebp - 0x44]
mov dword [ebp - 0x48], 4
push eax
push 0x40
push 4
push edi
mov dword [ebp - 0x4c], edi
call ebx
test eax, eax
mov eax, dword [ebp - 0xc]
setne byte [ebp - 0x40]
mov dword [edi], eax
cmp byte [ebp - 0x40], 0
je 0x10008958
mov eax, dword [ebp - 0x44]
lea ecx, [ebp - 0xc]
push ecx
push eax
push dword [ebp - 0x48]
mov dword [ebp - 0xc], eax
push dword [ebp - 0x4c]
call ebx
mov ecx, dword [ebp - 0x58]
inc esi
cmp esi, 5
jl 0x100087a0
mov edx, dword [ebp - 0x54]
inc edx
mov dword [ebp - 0x54], edx
cmp edx, 0xe
jle 0x10008790
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10040e3d
mov esp, ebp
pop ebp
ret
push 0x100aa2cc
call fcn.10040d67
add esp, 4
cmp dword [0x100aa2cc], 0xffffffff
jne 0x100087e0
mov ecx, 0x100aa2c0
mov dword [0x100aa2c0], 0x1006fac4
mov dword [0x100aa2c8], 0
mov dword [0x100aa2c4], 0
call fcn.10004bc0
push 0x100aa2cc
call fcn.10040d1d
add esp, 4
jmp 0x100087e0
push 0x100aa2cc
call fcn.10040d67
add esp, 4
cmp dword [0x100aa2cc], 0xffffffff
jne 0x1000884a
mov ecx, 0x100aa2c0
mov dword [0x100aa2c0], 0x1006fac4
mov dword [0x100aa2c8], 0
mov dword [0x100aa2c4], 0
call fcn.10004bc0
push 0x100aa2cc
call fcn.10040d1d
add esp, 4
jmp 0x1000884a
push 0x100aa2cc
call fcn.10040d67
add esp, 4
cmp dword [0x100aa2cc], 0xffffffff
jne 0x100088a7
mov ecx, 0x100aa2c0
mov dword [0x100aa2c0], 0x1006fac4
mov dword [0x100aa2c8], 0
mov dword [0x100aa2c4], 0
call fcn.10004bc0
push 0x100aa2cc
call fcn.10040d1d
add esp, 4
jmp 0x100088a7
push 0x100aa2cc
call fcn.10040d67
add esp, 4
cmp dword [0x100aa2cc], 0xffffffff
jne 0x1000891f
mov ecx, 0x100aa2c0
mov dword [0x100aa2c0], 0x1006fac4
mov dword [0x100aa2c8], 0
mov dword [0x100aa2c4], 0
call fcn.10004bc0
push 0x100aa2cc
call fcn.10040d1d
add esp, 4
jmp 0x1000891f