Function at 0x467710
Capabilities:
Create process on windows

Disassembly:
push ebp
lea ebp, [esp - 0x64]
sub esp, 0x64
push 0xffffffffffffffff
push 0x47bad0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xb4
mov eax, dword [ebp + 0x6c]
push eax
lea ecx, [ebp - 0x7c]
call fcn.00403f80
mov dword [ebp - 4], 0
mov ecx, dword [ebp + 0x70]
mov edx, dword [ecx]
mov dword [ebp + 0x20], edx
mov eax, dword [ebp + 0x20]
mov dword [ebp + 0x54], eax
jmp 0x46775f
mov ecx, dword [ebp + 0x54]
add ecx, 0x18
mov dword [ebp + 0x54], ecx
mov edx, dword [ebp + 0x70]
mov eax, dword [edx + 4]
mov dword [ebp + 0x30], eax
mov ecx, dword [ebp + 0x30]
mov dword [ebp + 0x38], ecx
mov edx, dword [ebp + 0x54]
cmp edx, dword [ebp + 0x38]
jne 0x46777f
mov dword [ebp + 0x48], 1
jmp 0x467786
mov dword [ebp + 0x48], 0
movzx eax, byte [ebp + 0x48]
test eax, eax
jne 0x467797
mov dword [ebp + 0x40], 1
jmp 0x46779e
mov dword [ebp + 0x40], 0
movzx ecx, byte [ebp + 0x40]
test ecx, ecx
je 0x46781c
movsx edx, byte [0x48d434]
test edx, edx
jne 0x4677ba
mov dword [ebp + 0x4c], 0
jmp 0x4677eb
mov dword [ebp + 0x58], 0x48d434
mov eax, dword [ebp + 0x58]
add eax, 1
mov dword [ebp + 0x18], eax
mov ecx, dword [ebp + 0x58]
mov dl, byte [ecx]
mov byte [ebp + 0x5f], dl
add dword [ebp + 0x58], 1
cmp byte [ebp + 0x5f], 0
jne 0x4677ca
mov eax, dword [ebp + 0x58]
sub eax, dword [ebp + 0x18]
mov dword [ebp + 0x24], eax
mov ecx, dword [ebp + 0x24]
mov dword [ebp + 0x4c], ecx
mov edx, dword [ebp + 0x4c]
push edx
push 0x48d434
lea ecx, [ebp - 0x7c]
call fcn.0040b0e0
mov eax, dword [ebp + 0x54]
mov dword [ebp + 0x1c], eax
mov ecx, dword [0x48db58]
push ecx
push 0
mov edx, dword [ebp + 0x1c]
push edx
lea ecx, [ebp - 0x7c]
call fcn.00406250
jmp 0x467756
mov dword [ebp + 0x10], 0
mov dword [ebp + 0x14], 0
push 0
push 0
lea ecx, [ebp]
call fcn.0040be90
mov byte [ebp - 4], 1
lea eax, [ebp]
push eax
lea ecx, [ebp - 0x7c]
push ecx
call fcn.004626e0
add esp, 8
lea edx, [ebp - 0x50]
push edx
call dword [sym.imp.KERNEL32.dll_GetStartupInfoW]
mov dword [ebp - 0x50], 0x44
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x24], 0x180
xor eax, eax
mov word [ebp - 0x1e], ax
mov dword [ebp - 0x1c], 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov dword [ebp + 0x60], eax
cmp dword [ebp + 0x74], 0
je 0x4678c2
push 2
push 1
push 0
lea ecx, [ebp - 0x18]
push ecx
mov edx, dword [ebp + 0x60]
push edx
mov eax, dword [ebp + 0x74]
mov ecx, dword [eax]
call fcn.00477cd0
push eax
mov ecx, dword [ebp + 0x60]
push ecx
call dword [sym.imp.KERNEL32.dll_DuplicateHandle]
push 1
mov ecx, dword [ebp + 0x74]
call fcn.00477ed0
jmp 0x4678e3
push 2
push 1
push 0
lea edx, [ebp - 0x18]
push edx
mov eax, dword [ebp + 0x60]
push eax
push 0xfffffffffffffff6
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
mov ecx, dword [ebp + 0x60]
push ecx
call dword [sym.imp.KERNEL32.dll_DuplicateHandle]
cmp dword [ebp + 0x78], 0
je 0x46790e
push 2
push 1
push 0
lea edx, [ebp - 0x14]
push edx
mov eax, dword [ebp + 0x60]
push eax
mov ecx, dword [ebp + 0x78]
mov ecx, dword [ecx]
call fcn.00477cf0
push eax
mov edx, dword [ebp + 0x60]
push edx
call dword [sym.imp.KERNEL32.dll_DuplicateHandle]
jmp 0x46792f
push 2
push 1
push 0
lea eax, [ebp - 0x14]
push eax
mov ecx, dword [ebp + 0x60]
push ecx
push 0xfffffffffffffff5
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
mov edx, dword [ebp + 0x60]
push edx
call dword [sym.imp.KERNEL32.dll_DuplicateHandle]
cmp dword [ebp + 0x7c], 0
je 0x46795a
push 2
push 1
push 0
lea eax, [ebp - 0x10]
push eax
mov ecx, dword [ebp + 0x60]
push ecx
mov edx, dword [ebp + 0x7c]
mov ecx, dword [edx]
call fcn.00477cf0
push eax
mov eax, dword [ebp + 0x60]
push eax
call dword [sym.imp.KERNEL32.dll_DuplicateHandle]
jmp 0x46797b
push 2
push 1
push 0
lea ecx, [ebp - 0x10]
push ecx
mov edx, dword [ebp + 0x60]
push edx
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
mov eax, dword [ebp + 0x60]
push eax
call dword [sym.imp.KERNEL32.dll_DuplicateHandle]
cmp dword [ebp + 0x78], 0
je 0x46798b
push 2
mov ecx, dword [ebp + 0x78]
call fcn.00477ed0
cmp dword [ebp + 0x7c], 0
je 0x46799b
push 2
mov ecx, dword [ebp + 0x7c]
call fcn.00477ed0
cmp dword [ebp + 0x14], 8
jb 0x4679af
mov ecx, dword [ebp - 0x54]
mov dword [ebp + 0x50], ecx
mov edx, dword [ebp]
mov dword [ebp + 0x50], edx
jmp 0x4679b5
lea eax, [ebp]
mov dword [ebp + 0x50], eax
lea ecx, [ebp - 0x64]
push ecx
lea edx, [ebp - 0x50]
push edx
push 0
push 0
push 0
push 1
push 0
push 0
mov eax, dword [ebp + 0x50]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov dword [ebp + 0x2c], eax
mov ecx, dword [ebp - 0x18]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp + 0x2c], 0
je 0x467a73
mov ecx, dword [ebp - 0x60]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x10
call fcn.0043da33
add esp, 4
mov dword [ebp + 0x44], eax
mov byte [ebp - 4], 2
cmp dword [ebp + 0x44], 0
je 0x467a32
mov edx, dword [ebp - 0x5c]
push edx
mov eax, dword [ebp - 0x64]
push eax
mov ecx, dword [ebp + 0x44]
call fcn.00467480
mov dword [ebp + 0x3c], eax
jmp 0x467a39
mov dword [ebp + 0x3c], 0
mov ecx, dword [ebp + 0x3c]
mov dword [ebp + 0x28], ecx
mov byte [ebp - 4], 1
mov edx, dword [ebp + 0x28]
mov dword [ebp + 0x34], edx
mov byte [ebp - 4], 0
push 0
push 1
lea ecx, [ebp]
call fcn.0040be90
mov dword [ebp - 4], 0xffffffff
push 0
push 1
lea ecx, [ebp - 0x7c]
call fcn.004054b0
mov eax, dword [ebp + 0x34]
jmp 0x467ae6
push str.Cannot_launch_process
lea ecx, [ebp - 0x94]
call fcn.00403fb0
mov byte [ebp - 4], 3
push 0
mov eax, dword [ebp + 0x6c]
push eax
lea ecx, [ebp - 0x94]
push ecx
lea ecx, [ebp - 0xc0]
call fcn.00432560
push 0x4996b0
lea edx, [ebp - 0xc0]
push edx
call fcn.0043e6d5
mov byte [ebp - 4], 1
push 0
push 1
lea ecx, [ebp - 0x94]
call fcn.004054b0
mov byte [ebp - 4], 0
push 0
push 1
lea ecx, [ebp]
call fcn.0040be90
mov dword [ebp - 4], 0xffffffff
push 0
push 1
lea ecx, [ebp - 0x7c]
call fcn.004054b0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
add ebp, 0x64
mov esp, ebp
pop ebp
ret