Function at 0x42e5f0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x456c0c
mov eax, dword fs:[0]
push eax
sub esp, 0x230
mov eax, dword [0x46c664]
xor eax, esp
mov dword [esp + 0x228], eax
push ebx
push esi
push edi
mov eax, dword [0x46c664]
xor eax, esp
push eax
lea eax, [esp + 0x240]
mov dword fs:[0], eax
mov ebx, dword [ebp + 8]
push ebx
call fcn.0042f8a0
xor edi, edi
push 0x40
lea eax, [esp + 0x5c]
push edi
push eax
mov dword [esp + 0x60], edi
call fcn.0043a080
add esp, 0xc
lea ecx, [esp + 0x54]
push ecx
push ebx
call fcn.0042ee40
mov edx, dword [esp + 0x90]
mov dword [esp + 0x2c], edx
mov dword [esp + 0x30], edi
mov dword [esp + 0x248], edi
mov eax, dword [esp + 0x94]
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], edi
mov byte [esp + 0x248], 1
mov ecx, dword [esp + 0x8c]
mov dword [esp + 0x34], ecx
mov dword [esp + 0x38], edi
mov byte [esp + 0x248], 2
pxor xmm0, xmm0
mov dword [esp + 0x44], edi
movq qword [esp + 0x48], xmm0
mov dword [esp + 0x50], edi
cmp dword [ebx + 0x80], edi
jne 0x42e809
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov esi, eax
cmp dword [0x470734], edi
je 0x42e704
push 0x470710
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov edx, 0x20
mov dword [0x4706e8], esi
mov dword [0x4706ec], 0x45ff2c
mov dword [0x4706f0], 1
mov word [0x4706f4], dx
mov byte [0x4706f6], 0
lea eax, [esp + 0xdc]
push eax
call fcn.0040dbc0
add esp, 4
mov byte [esp + 0x248], 3
cmp eax, edi
je 0x42e725
lea esi, [eax + 0x10]
jmp 0x42e727
xor esi, esi
lea edx, [esp + 0xa0]
mov ecx, ebx
call fcn.0042e160
mov byte [esp + 0x248], 4
push 0x45ee20
push ecx
push eax
push ecx
push str.Executing__
push esi
call fcn.0040dc20
add esp, 0xc
push eax
call fcn.0040e660
add esp, 0xc
push eax
call fcn.0040dc20
add esp, 8
mov byte [esp + 0x248], 3
mov esi, 8
cmp dword [esp + 0xb4], esi
jb 0x42e78b
mov ecx, dword [esp + 0xa0]
push ecx
call fcn.0043266a
add esp, 4
xor edx, edx
mov dword [esp + 0xb4], 7
mov dword [esp + 0xb0], edi
mov word [esp + 0xa0], dx
mov byte [esp + 0x248], 5
lea eax, [esp + 0xdc]
push eax
call fcn.004254d0
add esp, 4
mov byte [esp + 0x248], 2
lea ecx, [esp + 0x13c]
call fcn.0040d930
lea ecx, [esp + 0x13c]
mov dword [esp + 0x18], ecx
mov dword [esp + method.std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__.virtual_0], vtable.std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__.0
mov byte [esp + 0x248], 2
mov edx, ecx
push edx
mov dword [esp + method.std::ios_base.virtual_0], vtable.std::ios_base.0
call fcn.0043060b
jmp 0x42e95b
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov esi, eax
cmp dword [0x470734], edi
je 0x42e850
push 0x470710
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, 0x20
mov dword [0x4706e8], esi
mov dword [0x4706ec], 0x45ff2c
mov dword [0x4706f0], 1
mov word [0x4706f4], ax
mov byte [0x4706f6], 0
lea ecx, [esp + 0xdc]
push ecx
call fcn.0040dbc0
add esp, 4
mov byte [esp + 0x248], 7
cmp eax, edi
je 0x42e871
lea esi, [eax + 0x10]
jmp 0x42e873
xor esi, esi
lea edx, [esp + 0xa0]
mov ecx, ebx
call fcn.0042e160
mov byte [esp + 0x248], 8
push str.__with_working_directory
push ecx
push eax
push ecx
push str.Executing__
push esi
call fcn.0040dc20
add esp, 0xc
push eax
call fcn.0040e660
add esp, 0xc
push eax
call fcn.0040dc20
lea ecx, [ebx + 0x70]
push ecx
push eax
call fcn.0040e660
add esp, 0x10
mov byte [esp + 0x248], 7
cmp dword [esp + 0xb4], 8
jb 0x42e8dd
mov edx, dword [esp + 0xa0]
push edx
call fcn.0043266a
add esp, 4
xor eax, eax
mov dword [esp + 0xb4], 7
mov dword [esp + 0xb0], edi
mov word [esp + 0xa0], ax
mov byte [esp + 0x248], 9
lea ecx, [esp + 0xdc]
push ecx
call fcn.004254d0
add esp, 4
mov byte [esp + 0x248], 2
lea ecx, [esp + 0x13c]
call fcn.0040d930
lea edx, [esp + 0x13c]
mov dword [esp + 0x18], edx
mov dword [esp + method.std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__.virtual_0], vtable.std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__.0
mov byte [esp + 0x248], 2
mov eax, edx
push eax
mov dword [esp + method.std::ios_base.virtual_0], vtable.std::ios_base.0
call fcn.0043060b
mov esi, 8
add esp, 4
cmp dword [ebx + 0x80], edi
jne 0x42e96c
mov dword [esp + 0x20], edi
jmp 0x42e983
cmp dword [ebx + 0x84], esi
lea eax, [ebx + 0x70]
jb 0x42e97f
mov ecx, dword [eax]
mov dword [esp + 0x20], ecx
jmp 0x42e983
mov dword [esp + 0x20], eax
cmp dword [ebx + 0x2c], edi
jne 0x42e98e
mov dword [esp + 0x24], edi
jmp 0x42e9a2
cmp dword [ebx + 0x30], esi
lea eax, [ebx + 0x1c]
jb 0x42e99e
mov edx, dword [eax]
mov dword [esp + 0x24], edx
jmp 0x42e9a2
mov dword [esp + 0x24], eax
lea edx, [esp + 0xa0]
mov ecx, ebx
call fcn.0042de60
mov byte [esp + 0x248], 0xb
cmp dword [eax + 0x14], esi
jb 0x42e9c5
mov eax, dword [eax]
mov dword [esp + 0x28], eax
jmp 0x42e9c9
mov dword [esp + 0x28], eax
lea ecx, [esp + 0xe0]
mov dword [esp + 0xdc], ecx
cmp eax, edi
jne 0x42e9e4
mov dword [esp + 0xdc], edi
jmp 0x42ea54
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
lea edi, [esp + 0xe0]
mov ecx, eax
lea esi, [esp + 0xdc]
mov dword [esp + 0x18], eax
call fcn.0042dbc0
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x28]
add eax, eax
push eax
push edx
push eax
mov eax, dword [esp + 0xe8]
push eax
call fcn.00432c6b
add esp, 0x10
cmp eax, 0x50
ja case.0x42ea32.0
movzx ecx, byte [eax + 0x42ede8]
jmp dword [ecx*4 + 0x42edd8]
push 0x8007000e
call fcn.0040eae0
push 0x80070057
call fcn.0040eae0
mov esi, 8
xor edi, edi
mov byte [esp + 0x248], 0xc
mov ecx, dword [esp + 0x20]
lea edx, [esp + 0x44]
push edx
mov edx, dword [esp + 0xe0]
lea eax, [esp + 0x58]
push eax
mov eax, dword [esp + 0x2c]
push ecx
push edi
push edi
push 1
push edi
push edi
push edx
push eax
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
sete byte [esp + 0x17]
mov byte [esp + 0x248], 0xb
mov eax, dword [esp + 0xdc]
lea ecx, [esp + 0xe0]
cmp eax, ecx
je 0x42eaae
push eax
call fcn.00432c31
add esp, 4
mov byte [esp + 0x248], 2
cmp dword [esp + 0xb4], esi
jb 0x42eacf
mov edx, dword [esp + 0xa0]
push edx
call fcn.0043266a
add esp, 4
xor eax, eax
cmp byte [esp + 0x17], al
mov word [esp + 0xa0], ax
mov eax, dword [esp + 0x48]
mov dword [esp + 0xb4], 7
mov dword [esp + 0xb0], edi
je 0x42eca2
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp eax, edi
je 0x42eb06
push eax
call esi
mov eax, dword [esp + 0x44]
cmp eax, edi
je 0x42eb11
push eax
call esi
cmp dword [ebx + 0x98], edi
jne 0x42eb2b
mov eax, dword [ebx + 0x94]
cmp eax, 0xffffffff
je 0x42eb2b
cmp eax, edi
je 0x42eb2b
push eax
call esi
mov eax, dword [ebx + 0x98]
cmp eax, edi
je 0x42eb5a
dec dword [eax]
jne 0x42eb5a
mov eax, dword [ebx + 0x94]
cmp eax, 0xffffffff
je 0x42eb4b
cmp eax, edi
je 0x42eb4b
push eax
call esi
mov eax, dword [ebx + 0x98]
push eax
call fcn.0043266a
add esp, 4
mov dword [ebx + 0x98], edi
mov dword [ebx + 0x94], 0xffffffff
cmp dword [ebx + 0xa0], edi
jne 0x42eb84
mov eax, dword [ebx + 0x9c]
cmp eax, 0xffffffff
je 0x42eb84
cmp eax, edi
je 0x42eb84
push eax
call esi
mov eax, dword [ebx + 0xa0]
cmp eax, edi
je 0x42ebb3
dec dword [eax]
jne 0x42ebb3
mov eax, dword [ebx + 0x9c]
cmp eax, 0xffffffff
je 0x42eba4
cmp eax, edi
je 0x42eba4
push eax
call esi
mov eax, dword [ebx + 0xa0]
push eax
call fcn.0043266a
add esp, 4
lea edx, [esp + 0x1e4]
mov ecx, ebx
mov dword [ebx + 0xa0], edi
mov dword [ebx + 0x9c], 0xffffffff
call fcn.0042e160
mov ebx, eax
mov byte [esp + 0x248], 0xd
xor ecx, ecx
push 0x18
mov eax, str.Error_starting_process__
lea esi, [esp + 0xa4]
mov dword [esp + 0xb8], 7
mov dword [esp + 0xb4], edi
mov word [esp + 0xa4], cx
call fcn.0040e990
mov byte [esp + 0x248], 0xe
lea edx, [esp + 0x21c]
push edx
mov edx, ebx
mov ecx, esi
call fcn.0041c020
add esp, 4
mov byte [esp + 0x248], 0xf
push eax
lea eax, [esp + 0x204]
push eax
mov edx, 0x45ee20
call fcn.004185a0
add esp, 8
mov esi, eax
mov bl, 0x10
mov byte [esp + 0x248], bl
call dword [sym.imp.KERNEL32.dll_GetLastError]
xor ecx, ecx
push edi
mov dword [esp + 0xc0], eax
mov word [esp + 0xc4], cx
push esi
or eax, 0xffffffff
lea ecx, [esp + 0xc8]
mov dword [esp + 0xdc], 7
mov dword [esp + 0xd8], edi
call fcn.00401a90
mov byte [esp + 0x248], bl
push 0x4630f4
lea edx, [esp + 0xc0]
push edx
call fcn.00436bf2
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x44]
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], edi
mov byte [esp + 0x248], 0x12
lea esi, [ebx + 0x8c]
lea edi, [esp + 0x18]
call fcn.004264b0
mov byte [esp + 0x248], 2
mov edi, dword [esp + 0x1c]
test edi, edi
jne 0x42ecf4
mov eax, dword [esp + 0x18]
cmp eax, 0xffffffff
je 0x42ed15
test eax, eax
je 0x42ed15
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push eax
call edi
jmp 0x42ed1b
dec dword [edi]
jne 0x42ed15
mov eax, dword [esp + 0x18]
cmp eax, 0xffffffff
je 0x42ed0c
test eax, eax
je 0x42ed0c
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
call fcn.0043266a
add esp, 4
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esi]
push 0x3e8
push eax
mov dword [esp + 0x24], 0
mov dword [esp + 0x20], 0xffffffff
call dword [sym.imp.USER32.dll_WaitForInputIdle]
mov byte [esp + 0x248], 1
mov eax, dword [esp + 0x34]
xor esi, esi
cmp eax, 0xffffffff
je 0x42ed53
cmp eax, esi
je 0x42ed53
push eax
call edi
mov dword [esp + 0x38], esi
mov dword [esp + 0x34], 0xffffffff
mov byte [esp + 0x248], 0
mov eax, dword [esp + 0x3c]
cmp eax, 0xffffffff
je 0x42ed77
cmp eax, esi
je 0x42ed77
push eax
call edi
or ecx, 0xffffffff
mov dword [esp + 0x40], esi
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x248], ecx
mov eax, dword [esp + 0x2c]
cmp eax, ecx
je 0x42ed98
cmp eax, esi
je 0x42ed98
push eax
call edi
mov dword [esp + 0x30], esi
mov dword [esp + 0x2c], 0xffffffff
mov eax, ebx
mov ecx, dword [esp + 0x240]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x228]
xor ecx, esp
call fcn.00432675
mov esp, ebp
pop ebp
ret 4
push 0x80004005
call fcn.0040eae0
mov edi, edi
dec ebp
ljmp 1290