Function at 0x4679f1
Capabilities:
Create process on windows

Disassembly:
push 0x94
mov eax, 0x5c1c94
call fcn.004aa3a5
mov eax, dword [ebp + 0x18]
mov ebx, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
and dword [ebp - 0x44], 0
push 0x44
pop edi
push edi
mov dword [ebp - 0x4c], eax
lea eax, [ebp - 0xa0]
push 0
push eax
mov dword [ebp - 0x48], ebx
call fcn.00486960
mov dword [ebp - 0xa0], edi
lea eax, [ebp - 0x5c]
push 0x10
xor edi, edi
push edi
push eax
call fcn.00486960
add esp, 0x18
mov dword [ebp - 0x18], edi
xor eax, eax
mov word [ebp - 0x28], ax
push 7
pop ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 4], edi
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x30], edi
mov word [ebp - 0x40], ax
mov byte [ebp - 4], 1
call fcn.00460534
test al, al
je 0x467a7d
dec edi
pop esp
mov esp, 0x798bd586
xchg ebp, eax
inc esi
mov ecx, 0x9b6380b4
mov bh, byte [ecx + 0x5d8b5475]
mov eax, 0xdb85ff33
test ebx, ebx
je 0x467a9b
cmp word [ebx], di
jne 0x467a8a
mov eax, edi
jmp 0x467a91
push ebx
call fcn.0049899e
pop ecx
push eax
push ebx
lea ecx, [ebp - 0x40]
call fcn.00402510
or ebx, 0xffffffff
cmp dword [ebp - 0x30], 0
jne 0x467ac0
cmp word [esi], di
jne 0x467aad
mov eax, edi
jmp 0x467ab4
push esi
call fcn.0049899e
pop ecx
push eax
push esi
lea ecx, [ebp - 0x28]
call fcn.00402510
jmp 0x467b16
mov edi, 0x5c61e0
push edi
call fcn.0049899e
pop ecx
push eax
push edi
lea ecx, [ebp - 0x28]
call fcn.00402510
xor edi, edi
cmp word [esi], di
jne 0x467ae1
mov eax, edi
jmp 0x467ae8
push esi
call fcn.0049899e
pop ecx
push eax
push esi
lea ecx, [ebp - 0x28]
call fcn.00404190
mov esi, 0x5cb348
push esi
call fcn.0049899e
pop ecx
push eax
push esi
lea ecx, [ebp - 0x28]
call fcn.00404190
push ebx
push edi
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x28]
call fcn.004042c0
call fcn.0046030c
test al, al
je 0x467b3f
in al, 0xfb
ret
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
push 0x67
call fcn.00465785
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
pop ecx
cmovae eax, dword [ebp - 0x28]
xor edi, edi
pop ecx
lea ecx, [ebp - 0x5c]
push ecx
lea ecx, [ebp - 0xa0]
push ecx
push edi
push edi
push edi
push 1
push edi
push edi
push eax
push edi
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x467b86
mov esi, edi
jmp 0x467c15
cmp byte [ebp + 0x10], 0
je 0x467b9d
cmp dword [ebp + 0x14], edi
cmovg ebx, dword [ebp + 0x14]
push ebx
push dword [ebp - 0x5c]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov esi, dword [ebp - 0x4c]
test esi, esi
je 0x467bba
lea eax, [ebp - 0x44]
push eax
push dword [ebp - 0x5c]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test eax, eax
je 0x467bba
mov eax, dword [ebp - 0x44]
mov dword [esi], eax
call fcn.004606d2
test al, al
je 0x467be1
insd dword es:[edi], dx
movsb byte es:[edi], byte [esi]
in eax, dx
fiadd dword [ecx + 0x71d04639]
out dx, eax
dec eax
invalid
call fcn.0046016e
test al, al
je 0x467c02
inc edi
das
invalid
push dword [ebp - 0x5c]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x58]
call esi
xor esi, esi
inc esi
push edi
push 1
lea ecx, [ebp - 0x40]
call fcn.00402450
push edi
push 1
lea ecx, [ebp - 0x28]
call fcn.00402450
mov eax, esi
call fcn.004aa360
ret