Function at 0x40778e
Capabilities:
Create process on windows

Disassembly:
push 0x80
mov eax, 0x41a159
call fcn.0040d675
mov dword [ebp - 4], 5
call dword [0x42348c]
push 0x44
pop esi
xor edi, edi
push esi
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x8c]
push edi
push eax
mov dword [ebp - 0x30], edi
call fcn.0040deb0
push 0x10
lea eax, [ebp - 0x48]
push edi
push eax
mov dword [ebp - 0x8c], esi
mov dword [ebp - 0x88], edi
mov dword [ebp - 0x60], edi
mov word [ebp - 0x5c], di
call fcn.0040deb0
add esp, 0x18
push 0x41c79c
lea ecx, [ebp - 0x28]
call fcn.0040144f
mov ebx, eax
mov esi, 0x41c798
push esi
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 6
call fcn.0040144f
mov dword [ebp - 0x20], eax
push esi
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 7
call fcn.0040144f
lea ecx, [ebp + 0x14]
push ecx
push eax
lea eax, [ebp - 0x1c]
push eax
mov byte [ebp - 4], 8
call fcn.0040304d
push dword [ebp - 0x20]
mov byte [ebp - 4], 9
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.0040304d
push ebx
push eax
lea eax, [ebp - 0x18]
push eax
mov byte [ebp - 4], 0xa
call fcn.0040304d
lea ecx, [ebp + 0x18]
push ecx
push eax
lea eax, [ebp - 0x2c]
push eax
mov byte [ebp - 4], 0xb
call fcn.0040304d
mov ecx, dword [ebp - 0x18]
add esp, 0x30
add ecx, 0xfffffff0
call fcn.00401189
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.00401189
mov ecx, dword [ebp - 0x1c]
add ecx, 0xfffffff0
call fcn.00401189
mov ecx, dword [ebp - 0x34]
add ecx, 0xfffffff0
call fcn.00401189
mov ecx, dword [ebp - 0x38]
add ecx, 0xfffffff0
call fcn.00401189
mov ecx, dword [ebp - 0x28]
add ecx, 0xfffffff0
call fcn.00401189
cmp dword [ebp + 0x1c], edi
mov ebx, dword [sym.imp.KERNEL32.dll_lstrlenA]
je 0x4078ba
push dword [ebp + 0x1c]
call ebx
mov esi, eax
inc esi
cmp esi, 0x3fffffff
jle 0x4078bf
mov dword [ebp - 0x1c], edi
jmp 0x4078d9
lea eax, [esi + esi]
call fcn.0040de60
mov eax, esp
push dword [ebp - 0x24]
push esi
push dword [ebp + 0x1c]
push eax
call fcn.00401503
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x2c]
cmp eax, edi
mov dword [ebp - 0x28], eax
je 0x4078f1
push eax
call ebx
mov esi, eax
inc esi
cmp esi, 0x3fffffff
jle 0x4078f6
mov dword [ebp - 0x14], edi
jmp 0x407910
lea eax, [esi + esi]
call fcn.0040de60
mov eax, esp
push dword [ebp - 0x24]
push esi
push dword [ebp - 0x28]
push eax
call fcn.00401503
mov dword [ebp - 0x14], eax
cmp dword [ebp + 0xc], edi
je 0x407925
push dword [ebp + 0xc]
call ebx
mov esi, eax
inc esi
cmp esi, 0x3fffffff
jle 0x40792a
mov dword [ebp - 0x18], edi
jmp 0x407944
lea eax, [esi + esi]
call fcn.0040de60
mov eax, esp
push dword [ebp - 0x24]
push esi
push dword [ebp + 0xc]
push eax
call fcn.00401503
mov dword [ebp - 0x18], eax
cmp dword [ebp + 0x10], edi
je 0x407959
push dword [ebp + 0x10]
call ebx
mov esi, eax
inc esi
cmp esi, 0x3fffffff
jle 0x40795e
mov dword [ebp - 0x20], edi
jmp 0x407978
lea eax, [esi + esi]
call fcn.0040de60
mov eax, esp
push dword [ebp - 0x24]
push esi
push dword [ebp + 0x10]
push eax
call fcn.00401503
mov dword [ebp - 0x20], eax
cmp dword [ebp + 8], edi
je 0x40798d
push dword [ebp + 8]
call ebx
mov esi, eax
inc esi
cmp esi, 0x3fffffff
jle 0x407991
xor eax, eax
jmp 0x4079a8
lea eax, [esi + esi]
call fcn.0040de60
mov eax, esp
push dword [ebp - 0x24]
push esi
push dword [ebp + 8]
push eax
call fcn.00401503
lea ecx, [ebp - 0x48]
push ecx
lea ecx, [ebp - 0x8c]
push ecx
push dword [ebp - 0x1c]
push edi
push 0x4000000
push dword [ebp - 0x14]
push edi
push 1
push dword [ebp - 0x18]
push dword [ebp - 0x20]
push eax
call dword [sym.imp.ADVAPI32.dll_CreateProcessWithLogonW]
test eax, eax
je 0x4079ec
push 0xffffffffffffffff
push dword [ebp - 0x48]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [ebp + 0x20]
push dword [ebp - 0x48]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
jmp 0x4079f5
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x30], eax
mov ecx, dword [ebp - 0x2c]
add ecx, 0xfffffff0
call fcn.00401189
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.00401189
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff0
call fcn.00401189
mov ecx, dword [ebp + 0x10]
add ecx, 0xfffffff0
call fcn.00401189
mov ecx, dword [ebp + 0x14]
add ecx, 0xfffffff0
call fcn.00401189
mov ecx, dword [ebp + 0x18]
add ecx, 0xfffffff0
call fcn.00401189
mov ecx, dword [ebp + 0x1c]
add ecx, 0xfffffff0
call fcn.00401189
mov eax, dword [ebp - 0x30]
lea esp, [ebp - 0x9c]
call fcn.0040d6bf
ret 0x1c