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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60
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 - 0x24], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x48], 0
mov eax, dword [ebp + 8]
mov dword [ebp - 4], eax
push dword [ebp + 0xc]
call fcn.004103e0
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x50], 0
push 0
push dword [ebp - 0x50]
mov dword [ebp - 0x54], 0
push 0
push dword [ebp - 0x54]
push dword [ebp - 0x4c]
call fcn.004103fc
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x58]
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x40ffb1
push ebx
call fcn.0041bc29
add esp, 4
pop eax
mov dword [ebp - 8], eax
mov eax, 0x42eddb
mov dword [ebp - 0x4c], eax
lea eax, [ebp - 0x4c]
push eax
call fcn.004105ab
mov dword [ebp - 0x50], eax
mov ebx, dword [ebp - 0x4c]
test ebx, ebx
je 0x40ffd9
push ebx
call fcn.0041bc29
add esp, 4
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0xc], eax
push htons
push 0
push 0x42eddb
push 1
mov ebx, 0x194
call fcn.0041c1a0
add esp, 0x10
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], 0xb20
push 0x80000301
push 0
push dword [ebp - 0x14]
push 1
mov ebx, 0x1bc
call fcn.0041de60
add esp, 0x10
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x4c]
push eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x41003a
push ebx
call fcn.0041bc29
add esp, 4
pop eax
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x18]
push eax
call fcn.004105ab
mov dword [ebp - 0x1c], eax
push 0x80000301
push 0
push 0x2000
push 0x80000301
push 0
push 0x1000
push 2
mov ebx, 0xc8
call fcn.0041daf0
add esp, 0x1c
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x50], esp
push 0x40
push dword [ebp - 0x4c]
push 0x1000
push 0
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_VirtualAllocEx]
nop
nop
nop
nop
cmp dword [ebp - 0x50], esp
je 0x4100b5
push 0x1ec
push 0x409c0ab
push 6
call fcn.0041bc17
add esp, 0xc
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jne 0x4100c7
jmp 0x41035a
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x24], eax
fild dword [ebp - 0x24]
fstp qword [ebp - 0x50]
fld qword [ebp - 0x50]
fild dword [ebp - 0x10]
fstp qword [ebp - 0x58]
fadd qword [ebp - 0x58]
fstp qword [ebp - 0x60]
fld qword [ebp - 0x60]
call fcn.00404958
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x4c], esp
push 0
mov eax, dword [ebp - 0x10]
cdq
push edx
push eax
push dword [ebp - 0xc]
mov eax, dword [ebp - 0x24]
cdq
push edx
push eax
push dword [ebp - 4]
call dword [0x42fa1e]
nop
nop
nop
nop
cmp dword [ebp - 0x4c], esp
je 0x41012d
push 0x311
push 0x409c0ab
push 6
call fcn.0041bc17
add esp, 0xc
mov dword [ebp - 0x54], eax
cmp dword [ebp - 0x54], 0
je 0x41013f
jmp 0x41035a
push 0
push 0x278
push dword [ebp - 0x1c]
call fcn.004105d2
lea eax, [ebp - 8]
push eax
call fcn.004105ab
mov dword [ebp - 0x4c], eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp - 0x4c]
push dword [ebp - 0x1c]
call fcn.004105f8
mov dword [ebp - 0x4c], esp
push 0
mov eax, dword [ebp - 0x14]
cdq
push edx
push eax
push dword [ebp - 0x1c]
mov eax, dword [ebp - 0x28]
cdq
push edx
push eax
push dword [ebp - 4]
call dword [0x42fa1e]
nop
nop
nop
nop
cmp dword [ebp - 0x4c], esp
je 0x4101b1
push 0x488
push 0x409c0ab
push 6
call fcn.0041bc17
add esp, 0xc
mov dword [ebp - 0x54], eax
cmp dword [ebp - 0x54], 0
je 0x4101c3
jmp 0x41035a
push dword [ebp - 0x28]
push dword [ebp - 0x24]
push dword [ebp - 4]
lea eax, [ebp - 0x30]
push eax
call fcn.00411e39
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
je 0x4101e7
jmp 0x41035a
mov dword [ebp - 0x4c], esp
push 0xffffffff
push dword [ebp - 0x30]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
nop
nop
nop
nop
cmp dword [ebp - 0x4c], esp
je 0x410218
push 0x67f
push 0x409c0ab
push 6
call fcn.0041bc17
add esp, 0xc
mov dword [ebp - 0x4c], esp
push dword [ebp - 0x30]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
nop
nop
nop
nop
cmp dword [ebp - 0x4c], esp
je 0x410244
push 0x69e
push 0x409c0ab
push 6
call fcn.0041bc17
add esp, 0xc
fild dword [ebp - 0x28]
fstp qword [ebp - 0x50]
fld qword [ebp - 0x50]
fadd qword [0x42ef47]
fstp qword [ebp - 0x58]
fld qword [ebp - 0x58]
call fcn.00404958
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x3c]
push eax
call fcn.004120b8
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x50], esp
push 0
push 0
push 8
push dword [ebp - 0x4c]
mov eax, dword [ebp - 0x34]
cdq
push edx
push eax
push dword [ebp - 4]
call dword [0x42fa22]
nop
nop
nop
nop
cmp dword [ebp - 0x50], esp
je 0x4102b1
push 0x75b
push 0x409c0ab
push 6
call fcn.0041bc17
add esp, 0xc
mov dword [ebp - 0x58], eax
cmp dword [ebp - 0x58], 0
je 0x4102c3
jmp 0x41035a
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x40], 0
fild dword [ebp - 0x28]
fstp qword [ebp - 0x50]
fld qword [ebp - 0x50]
fadd qword [0x42ef4f]
fstp qword [ebp - 0x58]
fld qword [ebp - 0x58]
call fcn.00404958
mov dword [ebp - 0x48], eax
lea eax, [ebp - 0x44]
push eax
call fcn.004120b8
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x50], esp
push 0
push 0
push 8
push dword [ebp - 0x4c]
mov eax, dword [ebp - 0x48]
cdq
push edx
push eax
push dword [ebp - 4]
call dword [0x42fa22]
nop
nop
nop
nop
cmp dword [ebp - 0x50], esp
je 0x41033e
push 0x86c
push 0x409c0ab
push 6
call fcn.0041bc17
add esp, 0xc
mov dword [ebp - 0x58], eax
cmp dword [ebp - 0x58], 0
je 0x410350
jmp 0x41035a
jmp 0x41035a
cmp dword [ebp - 0x20], 0
je 0x41039d
mov dword [ebp - 0x4c], esp
push 0x8000
push 0
push dword [ebp - 0x20]
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_VirtualFreeEx]
nop
nop
nop
nop
cmp dword [ebp - 0x4c], esp
je 0x41039d
push 0x929
push 0x409c0ab
push 6
call fcn.0041bc17
add esp, 0xc
mov edx, dword [ebp - 0x38]
mov eax, dword [ebp - 0x3c]
mov ebx, dword [ebp + 0x1c]
mov dword [ebx], eax
mov dword [ebx + 4], edx
mov edx, dword [ebp - 0x40]
mov eax, dword [ebp - 0x44]
jmp 0x4103b6
push edx
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x4103c8
push ebx
call fcn.0041bc29
add esp, 4
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x4103d8
push ebx
call fcn.0041bc29
add esp, 4
pop eax
pop edx
mov esp, ebp
pop ebp
ret 0x1c