Function at 0x4014c0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x68
push ebx
push esi
push edi
push 0x104
xor eax, eax
lea edi, [ebp - 0x68]
push 8
push dword [0x434000]
mov ecx, 0x11
mov dword [ebp - 8], eax
rep stosd dword es:[edi], eax
mov edi, dword [sym.imp.KERNEL32.dll_HeapAlloc]
call edi
mov dword [ebp - 0xc], eax
test eax, eax
je 0x401750
push 0x4030a0
lea ecx, [ebp - 0xc]
mov dword [ebp - 8], 0x104
call fcn.00401250
push 0x104
push 8
push dword [0x434000]
mov dword [ebp - 0x10], 0
call edi
mov dword [ebp - 0x14], eax
test eax, eax
je 0x40175a
push 0x403844
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x10], 0x104
call fcn.00401250
mov esi, dword [ebp - 0x14]
lea ecx, [ebp - 0xc]
push esi
call fcn.004011a0
mov ebx, dword [sym.imp.KERNEL32.dll_HeapFree]
push esi
push 0
push dword [0x434000]
call ebx
test eax, eax
je 0x401764
push 0x104
push 8
push dword [0x434000]
mov dword [ebp - 0x10], 0
call edi
mov dword [ebp - 0x14], eax
test eax, eax
je 0x40176e
push dword [ebp + 8]
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x10], 0x104
call fcn.00401250
mov esi, dword [ebp - 0x14]
lea ecx, [ebp - 0xc]
push esi
call fcn.004011a0
push esi
push 0
push dword [0x434000]
call ebx
test eax, eax
je 0x401778
push 0x104
push 8
push dword [0x434000]
mov dword [ebp - 0x10], 0
call edi
mov dword [ebp - 0x14], eax
test eax, eax
je 0x401782
push 0x403848
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x10], 0x104
call fcn.00401250
mov esi, dword [ebp - 0x14]
lea ecx, [ebp - 0xc]
push esi
call fcn.004011a0
push esi
push 0
push dword [0x434000]
call ebx
test eax, eax
je 0x40178c
push 0x104
push 8
push dword [0x434000]
mov dword [ebp - 0x10], 0
call edi
mov dword [ebp - 0x14], eax
test eax, eax
je 0x401796
push dword [ebp + 0x10]
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x10], 0x104
call fcn.00401250
mov esi, dword [ebp - 0x14]
lea ecx, [ebp - 0xc]
push esi
call fcn.004011a0
push esi
push 0
push dword [0x434000]
call ebx
test eax, eax
je 0x4017a0
mov esi, dword [ebp - 0xc]
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x401666
sub ecx, edx
sar ecx, 1
lea eax, [ecx*2 + 2]
push eax
push 8
push dword [0x434000]
call edi
mov edi, eax
test edi, edi
je 0x4017aa
mov edx, edi
mov ecx, esi
sub edx, esi
jmp 0x4016a0
movzx eax, word [ecx]
lea ecx, [ecx + 2]
mov word [edx + ecx - 2], ax
test ax, ax
jne 0x4016a0
lea eax, [ebp - 0x68]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoW]
or dword [ebp - 0x3c], 1
mov eax, 5
mov word [ebp - 0x38], ax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x68]
push eax
push dword [ebp + 0xc]
push dword [ebp + 0x14]
push 0x400
push 0
push 0
push 0
push edi
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x4017b4
push 0xffffffffffffffff
push dword [ebp - 0x24]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea eax, [ebp - 4]
push eax
push dword [ebp - 0x24]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test eax, eax
je 0x401715
mov eax, dword [ebp - 4]
mov dword [0x434004], eax
push dword [ebp - 0x24]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x20]
call esi
push edi
push 0
push dword [0x434000]
call ebx
test eax, eax
je 0x4017be
push dword [ebp - 0xc]
push 0
push dword [0x434000]
call ebx
test eax, eax
je 0x4017c8
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push str.Out_of_heap_memory
call fcn.00401dd0
push str.Out_of_heap_memory
call fcn.00401dd0
push str.Error_freeing_memory
call fcn.00401dd0
push str.Out_of_heap_memory
call fcn.00401dd0
push str.Error_freeing_memory
call fcn.00401dd0
push str.Out_of_heap_memory
call fcn.00401dd0
push str.Error_freeing_memory
call fcn.00401dd0
push str.Out_of_heap_memory
call fcn.00401dd0
push str.Error_freeing_memory
call fcn.00401dd0
push str.Out_of_heap_memory
call fcn.00401dd0
push str.Unable_to_start_process
call fcn.00401dd0
push str.Error_freeing_memory
call fcn.00401dd0
push str.Error_freeing_memory
call fcn.00401dd0
int3