Function at 0x434c8a
Capabilities:
Create a process with modified i/o handles and window
Create process on windows

Disassembly:
push ebp
sub esp, 0x58
lea ebp, [esp - 4]
mov eax, dword [0x592894]
xor eax, ebp
mov dword [ebp + 0x58], eax
push 0xd4
mov eax, 0x521609
call fcn.0047b821
mov eax, dword [ebp + 0x6c]
mov edi, dword [ebp + 0x64]
mov esi, dword [ebp + 0x68]
mov dword [ebp + 0x14], eax
mov eax, dword [ebp + 0x70]
xor ebx, ebx
push ebx
lea ecx, [ebp + 0x3c]
mov dword [ebp + 0x1c], eax
mov dword [ebp + 0x54], 7
call fcn.00402357
lea eax, [ebp - 0x60]
push eax
mov eax, dword [edi]
mov ecx, dword [eax + 4]
add ecx, edi
mov dword [ebp - 4], ebx
call fcn.00412b36
push eax
lea eax, [ebp - 0x44]
push 0x533a20
push eax
mov byte [ebp - 4], 1
call fcn.00434bf8
push 0x533a18
push eax
lea eax, [ebp - 0x28]
push eax
mov byte [ebp - 4], 2
call fcn.00434c43
add esp, 0x18
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [ebp + 0x3c]
mov byte [ebp - 4], 3
call fcn.0042b357
push ebx
push 1
lea ecx, [ebp - 0x28]
call fcn.004036a7
push ebx
push 1
lea ecx, [ebp - 0x44]
call fcn.004036a7
push ebx
push 1
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], bl
call fcn.004036a7
lea ebx, [ebp - 0x28]
call fcn.00434ae7
push 0xffffffffffffffff
xor ebx, ebx
push ebx
push eax
lea ecx, [ebp + 0x3c]
mov byte [ebp - 4], 4
call fcn.0042b357
xor esi, esi
push ebx
inc esi
push esi
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], bl
call fcn.004036a7
cmp dword [ebp + 0x54], 8
mov eax, dword [ebp + 0x40]
jae 0x434d75
lea eax, [ebp + 0x40]
push eax
call fcn.004803a4
pop ecx
mov dword [ebp + 0x18], eax
cmp eax, ebx
jne 0x434e45
lea eax, [ebp + 0x18]
mov edi, 0x9c40
push eax
mov dword [ebp + 0x18], edi
call fcn.00432974
mov ecx, eax
call fcn.00431f04
test al, al
je 0x434e34
push str.bp::process::spawn
lea ecx, [ebp - 0x28]
call fcn.0040979d
push str........._srclibs_bputils_srcUtils_bpprocess_Windows.cpp
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 5
call fcn.0040979d
push str.memory_allocation_failure
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], 6
call fcn.0040979d
push 0x66
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x44]
push eax
lea ecx, [ebp - 0xe0]
mov byte [ebp - 4], 7
mov dword [ebp + 0x18], edi
call fcn.004095fe
push eax
lea eax, [ebp - 0x60]
push eax
lea eax, [ebp + 0x18]
push eax
mov byte [ebp - 4], 8
call fcn.00432974
mov ecx, eax
call fcn.004322cc
lea ecx, [ebp - 0xe0]
call fcn.004a73e9
push ebx
push esi
lea ecx, [ebp - 0x60]
call fcn.0040365c
push ebx
push esi
lea ecx, [ebp - 0x44]
call fcn.0040365c
push ebx
push esi
lea ecx, [ebp - 0x28]
call fcn.0040365c
push ebx
push esi
lea ecx, [ebp + 0x3c]
call fcn.004036a7
xor al, al
jmp 0x434f91
xor eax, eax
cmp byte [ebp + 0x78], bl
setne al
mov dword [ebp + 0x10], eax
lea eax, [ebp + 0x20]
push eax
mov eax, dword [ebp + 0x1c]
mov ecx, dword [eax]
mov ecx, dword [ecx + 4]
add ecx, eax
call fcn.00412d4a
mov byte [ebp - 4], 9
cmp dword [ebp + 0x34], ebx
jne 0x434e71
mov dword [ebp + 0x1c], ebx
jmp 0x434e80
cmp dword [ebp + 0x38], 8
mov eax, dword [ebp + 0x24]
jae 0x434e7d
lea eax, [ebp + 0x24]
mov dword [ebp + 0x1c], eax
push 0x44
lea eax, [ebp - 0xa4]
push ebx
push eax
call fcn.0047b1c0
add esp, 0xc
mov dword [ebp - 0x78], esi
cmp byte [ebp + 0x78], bl
je 0x434ec2
push 0xfffffffffffffff6
mov dword [ebp - 0x78], 0x101
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push 0xfffffffffffffff5
mov dword [ebp - 0x6c], eax
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push 0xfffffffffffffff4
mov dword [ebp - 0x68], eax
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov dword [ebp - 0x64], eax
xor eax, eax
push 0x10
mov word [ebp - 0x74], ax
lea eax, [ebp]
push ebx
push eax
mov dword [ebp - 0xa4], 0x44
call fcn.0047b1c0
add esp, 0xc
lea eax, [ebp - 0x28]
push eax
mov eax, dword [edi]
mov ecx, dword [eax + 4]
add ecx, edi
call fcn.00412b36
cmp dword [eax + 0x18], 8
jb 0x434efc
mov eax, dword [eax + 4]
jmp 0x434eff
add eax, 4
lea ecx, [ebp]
push ecx
lea ecx, [ebp - 0xa4]
push ecx
push dword [ebp + 0x1c]
push ebx
push 0x8000000
push dword [ebp + 0x10]
push ebx
push ebx
push dword [ebp + 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
push ebx
push esi
lea ecx, [ebp - 0x28]
mov dword [ebp + 0x1c], eax
call fcn.004036a7
cmp dword [ebp + 0x1c], ebx
je 0x434f4b
mov eax, dword [ebp + 0x14]
cmp eax, ebx
je 0x434f60
mov ecx, dword [ebp + 8]
mov dword [eax + 4], ecx
mov ecx, dword [ebp]
mov dword [eax], ebx
mov dword [eax + 8], ecx
jmp 0x434f60
mov edi, dword [ebp + 0x14]
cmp edi, ebx
je 0x434f60
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [edi], eax
mov dword [edi + 4], ebx
mov dword [edi + 8], ebx
push dword [ebp + 0x18]
call fcn.0047acd4
pop ecx
cmp dword [ebp + 4], ebx
je 0x434f77
push dword [ebp + 4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebx
push esi
lea ecx, [ebp + 0x20]
call fcn.004036a7
push ebx
push esi
lea ecx, [ebp + 0x3c]
call fcn.004036a7
cmp dword [ebp + 0x1c], ebx
setne al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x58]
xor ecx, ebp
call fcn.0047b812
add ebp, 0x5c
leave
ret