Function at 0x404c40
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x423fe9
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x138
push ebx
push ebp
push esi
push edi
xor edi, edi
mov dword [esp + 0x10], edi
call fcn.00401d00
lea ecx, [esp + 0x70]
mov esi, eax
mov dword [esp + 0x14], 0x426224
call fcn.00403640
mov ebx, 1
mov dword [esp + 0x70], vtable.std::basic_ios_char__struct_std::char_traits_char__.0
mov dword [esp + 0x10], ebx
push edi
lea eax, [esp + 0x20]
push edi
push eax
lea ecx, [esp + 0x20]
mov dword [esp + 0x15c], edi
call fcn.00402ed0
push edi
lea ecx, [esp + 0x20]
mov dword [esp + 0x154], ebx
call fcn.00403670
mov ecx, dword [esp + 0x14]
push 0x21
push esi
mov byte [esp + 0x158], 2
mov edx, dword [ecx + 4]
lea ecx, [esp + 0x24]
mov dword [esp + edx + 0x1c], 0x426220
call fcn.00403ff0
test eax, eax
jne 0x404cf0
mov eax, dword [esp + 0x14]
push edi
push 2
mov ecx, dword [eax + 4]
lea ecx, [esp + ecx + 0x1c]
call fcn.00401fd0
mov ebx, 3
mov dword [esp + 0x150], ebx
call fcn.00401d00
push eax
call fcn.00401d30
sub esp, 0x14
sub eax, 8
mov ecx, esp
mov dword [esp + 0x28], esp
mov dword [ecx], eax
mov edx, dword [0x426808]
mov dword [ecx + 8], edx
mov eax, dword [0x42680c]
mov dword [ecx + 0xc], eax
mov edx, dword [0x432980]
mov dword [ecx + 0x10], edx
lea ecx, [esp + 0x2c]
call fcn.00404f40
push 8
call fcn.0040a448
add esp, 4
mov esi, eax
lea ecx, [esp + 0x14]
push 8
push esi
call fcn.00403ee0
mov eax, dword [esi]
push eax
call fcn.0040a448
mov ebp, eax
call fcn.00401d00
push eax
call fcn.00401d30
mov edx, dword [esi]
mov ecx, 0xfffffff8
sub ecx, edx
mov edx, dword [esp + 0x1c]
add eax, ecx
add esp, 8
mov ecx, dword [edx + 4]
mov edx, dword [esp + ecx + 0x18]
test dl, 6
lea ecx, [esp + ecx + 0x14]
jne 0x404d9b
mov ecx, dword [ecx + 0x28]
push 1
push edi
push eax
mov edx, dword [ecx]
lea eax, [esp + 0x13c]
push eax
call dword [edx + 0x20]
mov ecx, dword [esi]
push ecx
push ebp
lea ecx, [esp + 0x1c]
call fcn.00403ee0
mov eax, dword [esp + 0x6c]
cmp eax, edi
je 0x404dd1
push eax
call fcn.00409618
add esp, 4
test eax, eax
jne 0x404dd1
push 2
push edi
lea ecx, [esp + 0x24]
call fcn.00404b40
lea edx, [esp + 0x1c]
test edx, edx
jne 0x404de4
mov eax, dword [esp + 0x14]
push edi
push 2
mov ecx, dword [eax + 4]
lea ecx, [esp + ecx + 0x1c]
call fcn.00401fd0
call fcn.00403bf0
lea ecx, [esp + 0xfc]
mov edi, eax
mov dword [esp + 0xa4], 0x42623c
call fcn.00403640
mov dword [esp + 0xfc], vtable.std::basic_ios_char__struct_std::char_traits_char__.0
mov dword [esp + 0x10], ebx
push 0
push 1
lea edx, [esp + 0xb0]
push 0
push edx
lea ecx, [esp + 0xb4]
mov byte [esp + 0x160], 4
call fcn.00404990
push 0
lea ecx, [esp + 0xac]
mov dword [esp + 0x154], 5
call fcn.00403670
mov eax, dword [esp + 0xa4]
push 0x22
push edi
mov byte [esp + 0x158], 6
mov ecx, dword [eax + 4]
mov dword [esp + ecx + 0xac], 0x426238
lea ecx, [esp + 0xb0]
call fcn.00403ff0
test eax, eax
jne 0x404e95
mov edx, dword [esp + 0xa4]
push eax
push 2
mov eax, dword [edx + 4]
lea ecx, [esp + eax + 0xac]
call fcn.00401fd0
mov ecx, dword [esi]
mov byte [esp + 0x150], 7
push ecx
push ebp
lea ecx, [esp + 0xac]
call fcn.00404670
lea ecx, [esp + 0xa8]
call fcn.00403800
test eax, eax
jne 0x404ed6
mov edx, dword [esp + 0xa4]
push eax
push 2
mov eax, dword [edx + 4]
lea ecx, [esp + eax + 0xac]
call fcn.00401fd0
push 1
push edi
call dword [sym.imp.KERNEL32.DLL_WinExec]
lea ecx, [esp + 0xfc]
mov byte [esp + 0x150], bl
call fcn.00404890
lea ecx, [esp + 0xfc]
call fcn.00401fc0
lea ecx, [esp + 0x70]
mov dword [esp + 0x150], 0xffffffff
call fcn.00402d00
lea ecx, [esp + 0x70]
call fcn.00401fc0
mov ecx, dword [esp + 0x148]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x144
ret