Function at 0x42de10
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x45630c
mov eax, dword fs:[0]
push eax
sub esp, 0x230
mov eax, dword [0x46b664]
xor eax, esp
mov dword [esp + 0x228], eax
push ebx
push esi
push edi
mov eax, dword [0x46b664]
xor eax, esp
push eax
lea eax, [esp + 0x240]
mov dword fs:[0], eax
mov ebx, dword [ebp + 8]
mov ecx, ebx
call fcn.0042f0c0
xor edi, edi
push 0x40
lea eax, [esp + 0x5c]
push edi
push eax
mov dword [esp + 0x60], edi
call fcn.004397f0
add esp, 0xc
lea ecx, [esp + 0x54]
push ecx
push ebx
call fcn.0042e660
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 0x42e02a
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov esi, eax
cmp dword [0x46f734], edi
je 0x42df25
push 0x46f710
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov edx, 0x20
mov dword [0x46f6e8], esi
mov dword [0x46f6ec], 0x45ef1c
mov dword [0x46f6f0], 1
mov word [0x46f6f4], dx
mov byte [0x46f6f6], 0
lea eax, [esp + 0xdc]
push eax
call fcn.0040ddf0
add esp, 4
mov byte [esp + 0x248], 3
cmp eax, edi
je 0x42df46
lea esi, [eax + 0x10]
jmp 0x42df48
xor esi, esi
lea edx, [esp + 0xa0]
mov ecx, ebx
call fcn.0042d980
mov byte [esp + 0x248], 4
push 0x45de30
push ecx
push eax
push ecx
push str.Executing__
push esi
call fcn.0040de50
add esp, 0xc
push eax
call fcn.0040e870
add esp, 0xc
push eax
call fcn.0040de50
add esp, 8
mov byte [esp + 0x248], 3
mov esi, 8
cmp dword [esp + 0xb4], esi
jb 0x42dfac
mov ecx, dword [esp + 0xa0]
push ecx
call fcn.00431dda
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.00424d80
add esp, 4
mov byte [esp + 0x248], 2
lea ecx, [esp + 0x13c]
call fcn.0040db60
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.0042fd7b
jmp 0x42e17c
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov esi, eax
cmp dword [0x46f734], edi
je 0x42e071
push 0x46f710
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, 0x20
mov dword [0x46f6e8], esi
mov dword [0x46f6ec], 0x45ef1c
mov dword [0x46f6f0], 1
mov word [0x46f6f4], ax
mov byte [0x46f6f6], 0
lea ecx, [esp + 0xdc]
push ecx
call fcn.0040ddf0
add esp, 4
mov byte [esp + 0x248], 7
cmp eax, edi
je 0x42e092
lea esi, [eax + 0x10]
jmp 0x42e094
xor esi, esi
lea edx, [esp + 0xa0]
mov ecx, ebx
call fcn.0042d980
mov byte [esp + 0x248], 8
push str.__with_working_directory
push ecx
push eax
push ecx
push str.Executing__
push esi
call fcn.0040de50
add esp, 0xc
push eax
call fcn.0040e870
add esp, 0xc
push eax
call fcn.0040de50
lea ecx, [ebx + 0x70]
push ecx
push eax
call fcn.0040e870
add esp, 0x10
mov byte [esp + 0x248], 7
cmp dword [esp + 0xb4], 8
jb 0x42e0fe
mov edx, dword [esp + 0xa0]
push edx
call fcn.00431dda
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.00424d80
add esp, 4
mov byte [esp + 0x248], 2
lea ecx, [esp + 0x13c]
call fcn.0040db60
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.0042fd7b
mov esi, 8
add esp, 4
cmp dword [ebx + 0x80], edi
jne 0x42e18d
mov dword [esp + 0x20], edi
jmp 0x42e1a4
cmp dword [ebx + 0x84], esi
lea eax, [ebx + 0x70]
jb 0x42e1a0
mov ecx, dword [eax]
mov dword [esp + 0x20], ecx
jmp 0x42e1a4
mov dword [esp + 0x20], eax
cmp dword [ebx + 0x2c], edi
jne 0x42e1af
mov dword [esp + 0x24], edi
jmp 0x42e1c3
cmp dword [ebx + 0x30], esi
lea eax, [ebx + 0x1c]
jb 0x42e1bf
mov edx, dword [eax]
mov dword [esp + 0x24], edx
jmp 0x42e1c3
mov dword [esp + 0x24], eax
lea edx, [esp + 0xa0]
mov ecx, ebx
call fcn.0042d680
mov byte [esp + 0x248], 0xb
cmp dword [eax + 0x14], esi
jb 0x42e1e6
mov eax, dword [eax]
mov dword [esp + 0x28], eax
jmp 0x42e1ea
mov dword [esp + 0x28], eax
lea ecx, [esp + 0xe0]
mov dword [esp + 0xdc], ecx
cmp eax, edi
jne 0x42e205
mov dword [esp + 0xdc], edi
jmp 0x42e275
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.0042c0f0
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.004323db
add esp, 0x10
cmp eax, 0x50
ja case.0x42e253.0
movzx ecx, byte [eax + 0x42e608]
jmp dword [ecx*4 + 0x42e5f8]
push 0x8007000e
call fcn.0040ecf0
push 0x80070057
call fcn.0040ecf0
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 0x42e2cf
push eax
call fcn.004323a1
add esp, 4
mov byte [esp + 0x248], 2
cmp dword [esp + 0xb4], esi
jb 0x42e2f0
mov edx, dword [esp + 0xa0]
push edx
call fcn.00431dda
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 0x42e4c3
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp eax, edi
je 0x42e327
push eax
call esi
mov eax, dword [esp + 0x44]
cmp eax, edi
je 0x42e332
push eax
call esi
cmp dword [ebx + 0x98], edi
jne 0x42e34c
mov eax, dword [ebx + 0x94]
cmp eax, 0xffffffff
je 0x42e34c
cmp eax, edi
je 0x42e34c
push eax
call esi
mov eax, dword [ebx + 0x98]
cmp eax, edi
je 0x42e37b
dec dword [eax]
jne 0x42e37b
mov eax, dword [ebx + 0x94]
cmp eax, 0xffffffff
je 0x42e36c
cmp eax, edi
je 0x42e36c
push eax
call esi
mov eax, dword [ebx + 0x98]
push eax
call fcn.00431dda
add esp, 4
mov dword [ebx + 0x98], edi
mov dword [ebx + 0x94], 0xffffffff
cmp dword [ebx + 0xa0], edi
jne 0x42e3a5
mov eax, dword [ebx + 0x9c]
cmp eax, 0xffffffff
je 0x42e3a5
cmp eax, edi
je 0x42e3a5
push eax
call esi
mov eax, dword [ebx + 0xa0]
cmp eax, edi
je 0x42e3d4
dec dword [eax]
jne 0x42e3d4
mov eax, dword [ebx + 0x9c]
cmp eax, 0xffffffff
je 0x42e3c5
cmp eax, edi
je 0x42e3c5
push eax
call esi
mov eax, dword [ebx + 0xa0]
push eax
call fcn.00431dda
add esp, 4
lea edx, [esp + 0x1e4]
mov ecx, ebx
mov dword [ebx + 0xa0], edi
mov dword [ebx + 0x9c], 0xffffffff
call fcn.0042d980
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.0040eba0
mov byte [esp + 0x248], 0xe
lea edx, [esp + 0x21c]
push edx
mov edx, ebx
mov ecx, esi
call fcn.0041bbd0
add esp, 4
mov byte [esp + 0x248], 0xf
push eax
lea eax, [esp + 0x204]
push eax
mov edx, 0x45de30
call fcn.00418660
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 0x462084
lea edx, [esp + 0xc0]
push edx
call fcn.00436362
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.00425c60
mov byte [esp + 0x248], 2
mov edi, dword [esp + 0x1c]
test edi, edi
jne 0x42e515
mov eax, dword [esp + 0x18]
cmp eax, 0xffffffff
je 0x42e536
test eax, eax
je 0x42e536
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push eax
call edi
jmp 0x42e53c
dec dword [edi]
jne 0x42e536
mov eax, dword [esp + 0x18]
cmp eax, 0xffffffff
je 0x42e52d
test eax, eax
je 0x42e52d
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
call fcn.00431dda
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 0x42e574
cmp eax, esi
je 0x42e574
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 0x42e598
cmp eax, esi
je 0x42e598
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 0x42e5b9
cmp eax, esi
je 0x42e5b9
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.00431de5
mov esp, ebp
pop ebp
ret 4
push 0x80004005
call fcn.0040ecf0
nop
outsb dx, byte [esi]
loop 4384317
add byte [edx - 0x1e], bl
inc edx
add byte [edx + 0x42], ah
add ch, ch
in eax, 0x42
add byte [eax], al
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ecx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [edx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [edx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [eax]
int3