Function at 0x4d6d20
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff9c
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x64], ebx
mov byte [ebp - 5], cl
mov dword [ebp - 4], edx
mov esi, eax
mov eax, dword [ebp - 4]
call fcn.00404d90
mov eax, dword [ebp + 0xc]
call fcn.00404d90
mov eax, dword [ebp + 8]
call fcn.00404d90
xor eax, eax
push ebp
push 0x4d6f6f
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
push 3
push 0
lea eax, [ebp - 0x64]
mov ecx, dword [ebp - 4]
mov edx, 0x4d6f8c
call fcn.00404bec
mov ecx, dword [ebp - 0x64]
mov edx, 0x12
mov eax, esi
mov esi, dword [eax]
call dword [esi + 0x38]
cmp byte [ebp + 0x10], 0
je 0x4d6e75
mov ecx, dword [0x512408]
mov ecx, dword [ecx]
mov dl, 1
mov eax, dword [0x48ce3c]
call fcn.0048f8ec
mov ebx, eax
mov dl, 4
mov eax, ebx
call fcn.00491710
mov edx, 0x12c
mov eax, ebx
call fcn.0047698c
mov edx, 0xaa
mov eax, ebx
call fcn.004769b0
mov edx, dword [ebp + 0xc]
mov eax, ebx
call fcn.00477200
mov dl, 3
mov eax, ebx
call fcn.004910b0
mov dl, byte [0x4d6f94]
mov eax, ebx
call fcn.00491084
mov ecx, ebx
mov dl, 1
mov eax, dword [0x45da98]
call fcn.0046250c
mov esi, eax
mov edx, ebx
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0x68]
mov dl, 4
mov eax, esi
call fcn.00462cc8
mov edx, 0xa
mov eax, esi
call fcn.00476940
mov edx, 0xa
mov eax, esi
call fcn.00476964
mov ecx, ebx
mov dl, 1
mov eax, dword [0x469888]
call fcn.00470574
mov edi, eax
mov edx, ebx
mov eax, edi
mov ecx, dword [eax]
call dword [ecx + 0x68]
mov edx, 0xa
mov eax, edi
call fcn.00476940
mov edx, dword [esi + 0x44]
add edx, dword [esi + 0x4c]
add edx, 8
mov eax, edi
call fcn.00476964
mov edx, dword [ebp + 8]
mov eax, edi
call fcn.00477200
mov eax, ebx
call fcn.00493c44
mov eax, ebx
mov edx, dword [eax]
call dword [edx + 0x80]
mov dl, 1
mov eax, esi
call fcn.00462c74
mov byte [ebp - 6], 0
lea eax, [ebp - 0x50]
xor ecx, ecx
mov edx, 0x44
call fcn.004032a4
mov dword [ebp - 0x50], 0x44
cmp byte [ebp - 5], 0
je 0x4d6e9d
mov word [ebp - 0x20], 5
jmp 0x4d6ea3
mov word [ebp - 0x20], 0
mov dword [ebp - 0x24], 1
lea eax, [ebp - 0x60]
push eax
lea eax, [ebp - 0x50]
push eax
push 0
push 0
push 0x20
push 0
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.00404da0
push eax
push 0
call sub.kernel32.dll_CreateProcessA
test eax, eax
je 0x4d6f31
push 0xffffffffffffffff
mov eax, dword [ebp - 0x60]
push eax
call sub.kernel32.dll_WaitForSingleObject
test eax, eax
jne 0x4d6f0c
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 0x60]
push eax
call sub.kernel32.dll_GetExitCodeProcess
test eax, eax
je 0x4d6f0c
cmp dword [ebp - 0xc], 0
jne 0x4d6efe
mov byte [ebp - 6], 1
jmp 0x4d6f0c
mov eax, dword [ebp - 0xc]
add eax, 0x2000
push eax
call sub.kernel32.dll_SetLastError
call sub.kernel32.dll_GetLastError_1
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x60]
push eax
call sub.kernel32.dll_CloseHandle_1
mov eax, dword [ebp - 0x5c]
push eax
call sub.kernel32.dll_CloseHandle_1
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_SetLastError
jmp 0x4d6f39
call sub.kernel32.dll_GetLastError_1
mov dword [ebp - 0xc], eax
test ebx, ebx
je 0x4d6f44
mov eax, ebx
call fcn.00403b0c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4d6f76
lea eax, [ebp - 0x64]
call fcn.004048e0
lea eax, [ebp - 4]
call fcn.004048e0
lea eax, [ebp + 8]
mov edx, 2
call fcn.00404904
ret