Function at 0x4c9810
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x590778
mov eax, dword fs:[0]
push eax
sub esp, 0x90
mov eax, dword [0x5e173c]
xor eax, esp
mov dword [esp + 0x88], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5e173c]
xor eax, esp
push eax
lea eax, [esp + 0xa4]
mov dword fs:[0], eax
mov ebp, ecx
mov edi, dword [esp + 0xb4]
lea ecx, [esp + 0x80]
mov esi, dword [esp + 0xb8]
xor eax, eax
push 0xffffffffffffffff
push eax
mov dword [esp + 0x98], 0
xor bl, bl
mov dword [esp + 0x9c], 0
push edx
mov dword [esp + 0xa0], 7
mov dword [esp + 0x9c], 0
mov word [esp + 0x8c], ax
call fcn.00404960
mov dword [esp + 0xac], 0
xor eax, eax
push 0xffffffffffffffff
push eax
mov dword [esp + 0x68], 0
lea ecx, [esp + 0x58]
mov dword [esp + 0x6c], 0
push esi
mov dword [esp + 0x70], 7
mov dword [esp + 0x6c], 0
mov word [esp + 0x5c], ax
call fcn.00404960
mov byte [esp + 0xac], 1
cmp dword [esp + 0x60], 0
je 0x4c98fe
lea ecx, [esp + 0x50]
call fcn.004b3080
test al, al
jne 0x4c992c
lea ecx, [esp + 0x80]
call fcn.004b2f30
test al, al
jne 0x4c9915
xor bl, bl
jmp 0x4c9aa8
cmp dword [esp + 0x60], 0
jne 0x4c992c
lea edx, [esp + 0x50]
lea ecx, [esp + 0x80]
call fcn.004b26b0
xor eax, eax
mov dword [esp + 0x78], 0
push 0xffffffffffffffff
push eax
mov dword [esp + 0x84], 0
lea ecx, [esp + 0x70]
push ebp
mov dword [esp + 0x88], 7
mov dword [esp + 0x84], 0
mov word [esp + 0x74], ax
call fcn.00404960
mov byte [esp + 0xac], 2
cmp dword [esp + 0x78], 0
jne 0x4c9991
call fcn.00409cc0
test al, al
je 0x4c9991
push 5
push str.runas
lea ecx, [esp + 0x70]
call fcn.00404a80
push 0x38
lea eax, [esp + 0x1c]
push 0
push eax
call fcn.0056cbb0
mov eax, dword [esp + 0xcc]
add esp, 0xc
mov dword [esp + 0x14], 0x3c
mov dword [esp + 0x18], eax
call dword [sym.imp.USER32.dll_GetActiveWindow]
cmp dword [esp + 0x7c], 8
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x68]
cmovae eax, dword [esp + 0x68]
cmp dword [esp + 0x94], 8
mov dword [esp + 0x20], eax
lea eax, [esp + 0x80]
cmovae eax, dword [esp + 0x80]
cmp dword [edi + 0x14], 8
mov dword [esp + 0x24], eax
jb 0x4c99f4
mov edi, dword [edi]
cmp dword [esp + 0x64], 8
lea eax, [esp + 0x50]
mov dword [esp + 0x28], edi
cmovae eax, dword [esp + 0x50]
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x14]
push eax
mov dword [esp + 0x34], 0
mov dword [esp + 0x50], 0
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
jne 0x4c9a33
cmp dword [esp + 0x34], 0x20
seta bl
jmp 0x4c9a76
mov eax, dword [esp + 0x4c]
test eax, eax
je 0x4c9a76
push 0x1388
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
mov dword [esp + 0x98], 0
lea eax, [esp + 0x98]
push eax
push dword [esp + 0x50]
setne bl
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
push dword [esp + 0x4c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov byte [esp + 0xac], 1
cmp dword [esp + 0x7c], 8
jb 0x4c9a91
push dword [esp + 0x68]
call fcn.00564de3
add esp, 4
xor eax, eax
mov dword [esp + 0x7c], 7
mov dword [esp + 0x78], 0
mov word [esp + 0x68], ax
mov byte [esp + 0xac], 0
cmp dword [esp + 0x64], 8
jb 0x4c9ac3
push dword [esp + 0x50]
call fcn.00564de3
add esp, 4
xor eax, eax
mov dword [esp + 0x64], 7
mov dword [esp + 0x60], 0
mov word [esp + 0x50], ax
mov dword [esp + 0xac], 0xffffffff
cmp dword [esp + 0x94], 8
jb 0x4c9afe
push dword [esp + 0x80]
call fcn.00564de3
add esp, 4
xor eax, eax
mov dword [esp + 0x94], 7
mov word [esp + 0x80], ax
mov al, bl
mov dword [esp + 0x90], 0
mov ecx, dword [esp + 0xa4]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x88]
xor ecx, esp
call fcn.00564de8
add esp, 0x9c
ret