Function at 0x4f70f8
Capabilities:
Create process on windows
Print debug messages

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe60
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x1a0], ecx
mov dword [ebp - 8], ecx
mov dword [ebp - 0xc], ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4f73ab
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 1], 0
xor edx, edx
mov eax, 2
call fcn.004b6d38
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x4f737e
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x148], 0x128
lea edx, [ebp - 0x148]
mov eax, dword [ebp - 0x10]
call fcn.004b6d58
test eax, eax
je 0x4f7367
jmp 0x4f7351
lea eax, [ebp - 0x1a0]
lea edx, [ebp - 0x124]
mov ecx, 0x104
call fcn.004047f4
mov eax, dword [ebp - 0x1a0]
mov edx, 0x4f73c4
call fcn.00409418
test al, al
je 0x4f7351
mov eax, dword [ebp - 0x140]
push eax
push 0xffffffffffffffff
push 0x1f0fff
call sub.kernel32.dll_OpenProcess
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0xffffffff
je 0x4f7367
xor eax, eax
push ebp
push 0x4f734a
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x18]
push eax
push 0xf00ff
mov eax, dword [ebp - 0x14]
push eax
call sub.advapi32.dll_OpenProcessToken
test eax, eax
je 0x4f7333
xor eax, eax
push ebp
push 0x4f732c
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x1c]
push eax
push 1
push 1
push 0
push 0x2000000
mov eax, dword [ebp - 0x18]
push eax
call sub.advapi32.dll_DuplicateTokenEx
test eax, eax
je 0x4f7315
xor eax, eax
push ebp
push 0x4f730e
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
mov eax, dword [ebp - 0x1c]
push eax
lea eax, [ebp - 0x20]
push eax
call sub.Userenv.dll_CreateEnvironmentBlock
cmp al, 1
jne 0x4f72e8
lea eax, [ebp - 8]
mov edx, ebx
call fcn.0040460c
lea eax, [ebp - 0x18c]
xor ecx, ecx
mov edx, 0x44
call fcn.00402f1c
mov dword [ebp - 0x18c], 0x44
mov word [ebp - 0x15c], 1
lea eax, [ebp - 0x19c]
xor ecx, ecx
mov edx, 0x10
call fcn.00402f1c
test esi, esi
je 0x4f7292
push 0x4f73dc
push ebx
push 0x4f73e8
push esi
lea eax, [ebp - 0xc]
mov edx, 4
call fcn.00404904
jmp 0x4f729c
lea eax, [ebp - 0xc]
mov edx, ebx
call fcn.0040460c
lea eax, [ebp - 0x19c]
push eax
lea eax, [ebp - 0x18c]
push eax
push 0
mov eax, dword [ebp - 0x20]
push eax
push 0x430
push 0
push 0
push 0
mov eax, dword [ebp - 0xc]
call fcn.00404a44
push eax
push 0
mov eax, dword [ebp - 0x1c]
push eax
call sub.advapi32.dll_CreateProcessAsUserA
cmp eax, 1
sbb eax, eax
inc eax
mov byte [ebp - 1], al
cmp byte [ebp - 1], 0
jne 0x4f72e8
push 0x4f73ec
call sub.kernel32.dll_OutputDebugStringA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4f7315
mov eax, dword [ebp - 0x1c]
push eax
call sub.kernel32.dll_CloseHandle
cmp dword [ebp - 0x20], 0
je 0x4f730d
mov eax, dword [ebp - 0x20]
push eax
call sub.Userenv.dll_DestroyEnvironmentBlock
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4f7333
mov eax, dword [ebp - 0x18]
push eax
call sub.kernel32.dll_CloseHandle
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4f7367
mov eax, dword [ebp - 0x14]
push eax
call sub.kernel32.dll_CloseHandle
ret
lea edx, [ebp - 0x148]
mov eax, dword [ebp - 0x10]
call fcn.004b6d78
test eax, eax
jne 0x4f7169
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4f7385
mov eax, dword [ebp - 0x10]
push eax
call sub.kernel32.dll_CloseHandle
ret