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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x100beb60]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x100bfd04]
lea ecx, [ebp - 8]
push ebx
push esi
push edi
add eax, 0x9466fd
push eax
call fcn.10002c20
mov esi, dword [ebp - 8]
lea eax, [ebp - 0x10]
mov edi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
push eax
push 0x40
push 1
push esi
mov dword [ebp - 0x14], 1
mov dword [ebp - 0x18], esi
call edi
test eax, eax
setne byte [ebp - 0xc]
mov byte [esi], 0xeb
cmp byte [ebp - 0xc], 0
je 0x10005996
mov eax, dword [ebp - 0x10]
lea ecx, [ebp - 8]
push ecx
push eax
push dword [ebp - 0x14]
mov dword [ebp - 8], eax
push dword [ebp - 0x18]
call edi
mov eax, dword [0x100bfd04]
lea ecx, [ebp - 8]
add eax, 0x946793
push eax
call fcn.10002c20
mov esi, dword [ebp - 8]
lea eax, [ebp - 0x10]
push eax
push 0x40
push 1
push esi
mov dword [ebp - 0x14], 1
mov dword [ebp - 0x18], esi
call edi
test eax, eax
setne byte [ebp - 0xc]
mov byte [esi], 0xc0
cmp byte [ebp - 0xc], 0
je 0x100059e3
mov eax, dword [ebp - 0x10]
lea ecx, [ebp - 8]
push ecx
push eax
push dword [ebp - 0x14]
mov dword [ebp - 8], eax
push dword [ebp - 0x18]
call edi
mov eax, dword [0x100bfd04]
lea ecx, [ebp - 8]
add eax, 0x1ca3df
push eax
call fcn.10002c20
mov esi, dword [ebp - 8]
lea eax, [ebp - 0x10]
push eax
push 0x40
push 1
push esi
mov dword [ebp - 0x14], 1
mov dword [ebp - 0x18], esi
call edi
test eax, eax
setne byte [ebp - 0xc]
mov byte [esi], 0xeb
cmp byte [ebp - 0xc], 0
je 0x10005a30
mov eax, dword [ebp - 0x10]
lea ecx, [ebp - 8]
push ecx
push eax
push dword [ebp - 0x14]
mov dword [ebp - 8], eax
push dword [ebp - 0x18]
call edi
mov eax, dword [0x100bfd04]
lea ecx, [ebp - 8]
add eax, 0x694673
push eax
call fcn.10002c20
mov esi, dword [ebp - 8]
lea eax, [ebp - 0x10]
push eax
push 0x40
push 1
push esi
mov dword [ebp - 0x14], 1
mov dword [ebp - 0x18], esi
call edi
test eax, eax
setne byte [ebp - 0xc]
mov byte [esi], 0xeb
cmp byte [ebp - 0xc], 0
je 0x10005a7d
mov eax, dword [ebp - 0x10]
lea ecx, [ebp - 8]
push ecx
push eax
push dword [ebp - 0x14]
mov dword [ebp - 8], eax
push dword [ebp - 0x18]
call edi
mov eax, dword [0x100bfd04]
lea ecx, [ebp - 8]
add eax, 0x82c615
push eax
call fcn.10002c20
mov esi, dword [ebp - 8]
lea eax, [ebp - 0x10]
push eax
push 0x40
push 1
push esi
mov dword [ebp - 0x14], 1
mov dword [ebp - 0x18], esi
call edi
test eax, eax
setne byte [ebp - 0xc]
mov byte [esi], 0xeb
cmp byte [ebp - 0xc], 0
je 0x10005aca
mov eax, dword [ebp - 0x10]
lea ecx, [ebp - 8]
push ecx
push eax
push dword [ebp - 0x14]
mov dword [ebp - 8], eax
push dword [ebp - 0x18]
call edi
mov eax, dword [0x100bfd04]
lea ecx, [ebp - 8]
add eax, 0x82c659
push eax
call fcn.10002c20
mov esi, dword [ebp - 8]
lea eax, [ebp - 0x10]
push eax
push 0x40
push 1
push esi
mov dword [ebp - 0x14], 1
mov dword [ebp - 0x18], esi
call edi
test eax, eax
setne byte [ebp - 0xc]
mov byte [esi], 0xeb
cmp byte [ebp - 0xc], 0
je 0x10005b17
mov eax, dword [ebp - 0x10]
lea ecx, [ebp - 8]
push ecx
push eax
push dword [ebp - 0x14]
mov dword [ebp - 8], eax
push dword [ebp - 0x18]
call edi
mov eax, dword [0x100bfd04]
lea ecx, [ebp - 8]
add eax, 0x6e46f1
push eax
call fcn.10002c20
mov esi, dword [ebp - 8]
lea eax, [ebp - 0x10]
push eax
push 0x40
push 2
push esi
mov dword [ebp - 0x14], 2
mov dword [ebp - 0x18], esi
call edi
test eax, eax
mov ebx, 0x90909090
setne byte [ebp - 0xc]
mov word [esi], bx
cmp byte [ebp - 0xc], 0
je 0x10005b69
mov eax, dword [ebp - 0x10]
lea ecx, [ebp - 8]
push ecx
push eax
push dword [ebp - 0x14]
mov dword [ebp - 8], eax
push dword [ebp - 0x18]
call edi
mov eax, dword [0x100bfd04]
lea ecx, [ebp - 8]
add eax, 0x9c6bd2
push eax
call fcn.10002c20
mov esi, dword [ebp - 8]
lea eax, [ebp - 0x10]
push eax
push 0x40
push 2
push esi
mov dword [ebp - 0x14], 2
mov dword [ebp - 0x18], esi
call edi
test eax, eax
setne byte [ebp - 0xc]
mov word [esi], bx
cmp byte [ebp - 0xc], 0
je 0x10005bb6
mov eax, dword [ebp - 0x10]
lea ecx, [ebp - 8]
push ecx
push eax
push dword [ebp - 0x14]
mov dword [ebp - 8], eax
push dword [ebp - 0x18]
call edi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1004e12b
mov esp, ebp
pop ebp
ret