Function at 0x4fdf87
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.00567b43
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.004fe542
mov dword [ebp - 0x6c], eax
mov ebx, dword [ebp - 0x68]
test ebx, ebx
je 0x4fe099
push ebx
call fcn.00567b49
add esp, 4
mov ebx, dword [ebp - 0x64]
test ebx, ebx
je 0x4fe0a9
push ebx
call fcn.00567b49
add esp, 4
mov eax, dword [ebp - 0x6c]
mov ebx, dword [ebp - 0x60]
mov dword [ebx], eax
push dword [ebp + 0xc]
call fcn.004fe601
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.004fe61d
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp - 0x6c]
push eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x4fe0f3
push ebx
call fcn.00567b49
add esp, 4
pop eax
mov dword [ebp - 0xc], eax
mov eax, 0xd1918f
mov dword [ebp - 0x60], eax
lea eax, [ebp - 0x60]
push eax
call fcn.004fe7cc
mov dword [ebp - 0x64], eax
mov ebx, dword [ebp - 0x60]
test ebx, ebx
je 0x4fe11b
push ebx
call fcn.00567b49
add esp, 4
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x10], eax
push reloc.WS2_32.dll_getpeername
push 0
push 0xd1918f
push 1
mov ebx, 0x194
call fcn.005689a0
add esp, 0x10
mov dword [ebp - 0x14], eax
call fcn.004dfca6
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.00568970
add esp, 0x10
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x60]
push eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x4fe187
push ebx
call fcn.00567b49
add esp, 4
pop eax
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x24]
push eax
call fcn.004fe7cc
mov dword [ebp - 0x28], eax
push 0x80000301
push 0
push 0x2000
push 0x80000301
push 0
push 0x1000
push 2
mov ebx, 0xc8
call fcn.005696f0
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 0x4fe202
push 0x255
push 0x4020338
push 6
call fcn.00567b4f
add esp, 0xc
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
jne 0x4fe214
jmp 0x4fe4c1
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.004d4b7e
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 [0xea09d2]
nop
nop
nop
nop
cmp dword [ebp - 0x60], esp
je 0x4fe280
push 0x37a
push 0x4020338
push 6
call fcn.00567b4f
add esp, 0xc
mov dword [ebp - 0x68], eax
cmp dword [ebp - 0x68], 0
je 0x4fe292
jmp 0x4fe4c1
mov dword [ebp - 0x38], 8
push 0
push 0x278
push dword [ebp - 0x28]
call fcn.004fe7f3
lea eax, [ebp - 0xc]
push eax
call fcn.004fe7cc
mov dword [ebp - 0x60], eax
lea eax, [ebp - 8]
push eax
call fcn.004fe819
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.004fe835
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 [0xea09d2]
nop
nop
nop
nop
cmp dword [ebp - 0x60], esp
je 0x4fe318
push 0x527
push 0x4020338
push 6
call fcn.00567b4f
add esp, 0xc
mov dword [ebp - 0x68], eax
cmp dword [ebp - 0x68], 0
je 0x4fe32a
jmp 0x4fe4c1
push dword [ebp - 0x34]
push dword [ebp - 0x30]
push dword [ebp - 4]
lea eax, [ebp - 0x44]
push eax
call fcn.004feae6
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x40], 0
je 0x4fe34e
jmp 0x4fe4c1
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 0x4fe37f
push 0xace
push 0x4020338
push 6
call fcn.00567b4f
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 0x4fe3ab
push 0xaed
push 0x4020338
push 6
call fcn.00567b4f
add esp, 0xc
fild dword [ebp - 0x34]
fstp qword [ebp - 0x64]
fld qword [ebp - 0x64]
fadd qword [0xd192fb]
fstp qword [ebp - 0x6c]
fld qword [ebp - 0x6c]
call fcn.004d4b7e
mov dword [ebp - 0x48], eax
lea eax, [ebp - 0x50]
push eax
call fcn.004fed76
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 [0xea09d6]
nop
nop
nop
nop
cmp dword [ebp - 0x64], esp
je 0x4fe418
push 0xbaa
push 0x4020338
push 6
call fcn.00567b4f
add esp, 0xc
mov dword [ebp - 0x6c], eax
cmp dword [ebp - 0x6c], 0
je 0x4fe42a
jmp 0x4fe4c1
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x54], 0
fild dword [ebp - 0x34]
fstp qword [ebp - 0x64]
fld qword [ebp - 0x64]
fadd qword [0xd19303]
fstp qword [ebp - 0x6c]
fld qword [ebp - 0x6c]
call fcn.004d4b7e
mov dword [ebp - 0x5c], eax
lea eax, [ebp - 0x58]
push eax
call fcn.004fed76
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 [0xea09d6]
nop
nop
nop
nop
cmp dword [ebp - 0x64], esp
je 0x4fe4a5
push 0xcbb
push 0x4020338
push 6
call fcn.00567b4f
add esp, 0xc
mov dword [ebp - 0x6c], eax
cmp dword [ebp - 0x6c], 0
je 0x4fe4b7
jmp 0x4fe4c1
jmp 0x4fe4c1
cmp dword [ebp - 0x2c], 0
je 0x4fe4e8
push 0x8000
push 0
push 0
mov eax, dword [ebp - 0x2c]
cdq
push edx
push eax
push dword [ebp - 4]
call fcn.004f191a
mov edx, dword [ebp - 0x4c]
mov eax, dword [ebp - 0x50]
mov dword [ebp + 0x10], eax
mov dword [ebp + 0x14], edx
mov eax, 1
jmp 0x4fe4fe
push eax
mov ebx, dword [ebp - 8]
push ebx
call fcn.00567b49
add esp, 4
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x4fe51b
push ebx
call fcn.00567b49
add esp, 4
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x4fe52b
push ebx
call fcn.00567b49
add esp, 4
mov ebx, dword [ebp - 0x3c]
test ebx, ebx
je 0x4fe53b
push ebx
call fcn.00567b49
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 0x10