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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
mov eax, dword [0x1000dadb]
mov dword [ebp - 4], eax
mov dword [ebp - 8], 5
push 1
push dword [ebp - 8]
push dword [ebp - 4]
push 0x1000da27
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x24]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
push eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x100051db
push ebx
call fcn.10008fc9
add esp, 4
pop eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x18], esp
push 0x40
push 0x1000
push 0x64
push 0
push 0xffffffff
call dword [sym.imp.KERNEL32.dll_VirtualAllocEx]
nop
nop
nop
nop
cmp dword [ebp - 0x18], esp
je 0x10005217
push 6
call fcn.10008fb7
add esp, 4
mov dword [ebp - 0x10], eax
push 0x1000d45e
push dword [ebp - 0x14]
mov ecx, 2
call fcn.10001018
add esp, 8
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
push eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x10005246
push ebx
call fcn.10008fc9
add esp, 4
pop eax
mov dword [ebp - 0x14], eax
push 0x100054e1
call fcn.100016f7
push 0x80000301
push 0
push eax
push 1
mov ebx, 0x9dc
call fcn.10009370
add esp, 0x10
push 0x80000301
push 0
push eax
push 1
mov ebx, 0x198
call fcn.100095f0
add esp, 0x10
mov dword [ebp - 0x20], eax
push 0x1000d424
push dword [ebp - 0x20]
push 0x1000d3fa
push dword [ebp - 0x14]
mov ecx, 4
call fcn.10001018
add esp, 0x10
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x100052bb
push ebx
call fcn.10008fc9
add esp, 4
mov eax, dword [ebp - 0x24]
push eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x100052cf
push ebx
call fcn.10008fc9
add esp, 4
pop eax
mov dword [ebp - 0x14], eax
push 0x1000d467
push dword [ebp - 0x14]
mov ecx, 2
call fcn.10001018
add esp, 8
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
push eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x100052ff
push ebx
call fcn.10008fc9
add esp, 4
pop eax
mov dword [ebp - 0x14], eax
push dword [ebp - 0xc]
push dword [ebp - 0x14]
mov ecx, 2
call fcn.10001018
add esp, 8
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
push eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x1000532d
push ebx
call fcn.10008fc9
add esp, 4
pop eax
mov dword [ebp - 0x14], eax
push dword [ebp - 8]
push dword [ebp - 4]
call fcn.10001535
mov dword [ebp - 0x18], eax
push 0x80000005
push 0
mov eax, dword [ebp - 0x14]
test eax, eax
jne 0x10005352
mov eax, 0x1000d21a
push eax
push 1
mov ebx, 0x194
call fcn.10009b30
add esp, 0x10
push eax
push dword [ebp - 0x10]
call fcn.10001535
push eax
push dword [ebp - 0x18]
call fcn.10004a6f
mov dword [ebp - 0x24], eax
push 5
push dword [ebp - 0x24]
call fcn.10004a6f
push 0x80000301
push 0
push eax
push 1
mov ebx, 0x9dc
call fcn.10009370
add esp, 0x10
push 0x80000301
push 0
push eax
push 1
mov ebx, 0x198
call fcn.100095f0
add esp, 0x10
mov dword [ebp - 0x30], eax
push dword [ebp - 0x30]
push 0x1000d2a5
push dword [ebp - 0x14]
mov ecx, 3
call fcn.10001018
add esp, 0xc
mov dword [ebp - 0x34], eax
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x100053e9
push ebx
call fcn.10008fc9
add esp, 4
mov eax, dword [ebp - 0x34]
push eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x100053fd
push ebx
call fcn.10008fc9
add esp, 4
pop eax
mov dword [ebp - 0x14], eax
push 0x80000005
push 0
mov eax, dword [ebp - 0x14]
test eax, eax
jne 0x10005414
mov eax, 0x1000d21a
push eax
push 1
mov ebx, 0x194
call fcn.10009b30
add esp, 0x10
mov dword [ebp - 0x18], eax
push 1
push dword [ebp - 0x18]
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 0x10]
push 0x1000da27
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x28]
mov eax, dword [ebp - 0x10]
jmp 0x1000544d
push eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x1000545e
push ebx
call fcn.10008fc9
add esp, 4
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x1000546e
push ebx
call fcn.10008fc9
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret