Function at 0x41faa0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xb8
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0xb8]
push ebx
push esi
push eax
mov dword [ebp - 0x1c], 0
call fcn.00425f00
xor ecx, ecx
mov dword [ebp - 0x20], 7
push 0xffffffffffffffff
push ecx
mov word [ebp - 0x34], cx
lea ecx, [ebp - 0x34]
push eax
mov dword [ebp - 0x24], 0
call fcn.004063c0
lea ecx, [ebp - 0xb8]
call fcn.00401f50
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x18]
push 0
push eax
call fcn.00425dc0
cmp dword [ebp - 4], 8
lea eax, [ebp - 0x18]
push 0xffffffffffffffff
cmovae eax, dword [ebp - 0x18]
cmp word [eax], 0x22
jne 0x41fb7b
xor eax, eax
mov dword [ebp - 0x38], 7
mov word [ebp - 0x4c], ax
lea ecx, [ebp - 0x4c]
mov eax, dword [ebp - 0x24]
add eax, 2
mov dword [ebp - 0x3c], 0
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.004063c0
mov eax, dword [ebp - 4]
cmp eax, 8
jb 0x41fb49
inc eax
lea ecx, [ebp - 0x18]
push eax
push dword [ebp - 0x18]
call fcn.00406780
xor eax, eax
mov dword [ebp - 4], 7
mov word [ebp - 0x18], ax
lea ecx, [ebp - 0x18]
lea eax, [ebp - 0x4c]
mov dword [ebp - 8], 0
push eax
call fcn.00405910
mov eax, dword [ebp - 0x38]
cmp eax, 8
jb 0x41fbe8
inc eax
lea ecx, [ebp - 0x4c]
push eax
push dword [ebp - 0x4c]
jmp 0x41fbe3
push dword [ebp - 0x24]
xor eax, eax
mov dword [ebp - 0x50], 7
mov word [ebp - 0x64], ax
lea ecx, [ebp - 0x64]
lea eax, [ebp - 0x18]
mov dword [ebp - 0x54], 0
push eax
call fcn.004063c0
mov eax, dword [ebp - 4]
cmp eax, 8
jb 0x41fbb3
inc eax
lea ecx, [ebp - 0x18]
push eax
push dword [ebp - 0x18]
call fcn.00406780
xor eax, eax
mov dword [ebp - 4], 7
mov word [ebp - 0x18], ax
lea ecx, [ebp - 0x18]
lea eax, [ebp - 0x64]
mov dword [ebp - 8], 0
push eax
call fcn.00405910
mov eax, dword [ebp - 0x50]
cmp eax, 8
jb 0x41fbe8
inc eax
lea ecx, [ebp - 0x64]
push eax
push dword [ebp - 0x64]
call fcn.00406780
lea eax, [ebp - 0x18]
push eax
push 3
push eax
call fcn.0042e2c0
call fcn.0041f9f0
push 0x38
mov esi, eax
lea eax, [ebp - 0x9c]
push 0
push eax
call fcn.00496a10
add esp, 0x18
mov dword [ebp - 0xa0], 0x3c
cmp dword [ebp - 0x20], 8
lea eax, [ebp - 0x34]
mov dword [ebp - 0x9c], 0x40
cmovae eax, dword [ebp - 0x34]
cmp dword [ebp - 4], 8
mov dword [ebp - 0x90], eax
lea eax, [ebp - 0x18]
cmovae eax, dword [ebp - 0x18]
xor bl, bl
mov dword [ebp - 0x8c], eax
lea eax, [ebp - 0xa0]
push eax
mov dword [ebp - 0x98], esi
mov dword [ebp - 0x94], str.runas
mov dword [ebp - 0x84], 5
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
cmp eax, 1
jne 0x41fcac
cmp byte [ebp + 0x10], al
jne 0x41fcaa
push 0xffffffffffffffff
push dword [ebp - 0x68]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x1c], 0
push eax
push dword [ebp - 0x68]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test eax, eax
je 0x41fcac
mov ecx, dword [ebp + 0xc]
mov bl, 1
test ecx, ecx
je 0x41fcac
mov eax, dword [ebp - 0x1c]
mov dword [ecx], eax
jmp 0x41fcac
mov bl, 1
test esi, esi
je 0x41fcb7
push esi
call dword [sym.imp.USER32.dll_DestroyWindow]
mov eax, dword [ebp - 4]
cmp eax, 8
jb 0x41fccc
inc eax
lea ecx, [ebp - 0x18]
push eax
push dword [ebp - 0x18]
call fcn.00406780
mov ecx, dword [ebp - 0x20]
xor eax, eax
mov dword [ebp - 4], 7
mov dword [ebp - 8], 0
mov word [ebp - 0x18], ax
cmp ecx, 8
jb 0x41fcf5
inc ecx
push ecx
push dword [ebp - 0x34]
lea ecx, [ebp - 0x34]
call fcn.00406780
pop esi
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret