Function at 0x403c6b
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c8
push esi
mov dword [ebp - 4], 0
mov eax, dword [ebp + 8]
push eax
call fcn.004110d0
add esp, 4
cmp eax, 0x104
jb 0x403b5e
mov eax, 6
jmp 0x403d85
mov ecx, dword [ebp + 8]
push ecx
lea edx, [ebp - 0x170]
push edx
call fcn.00410ec0
add esp, 8
mov dword [ebp - 8], 0
jmp 0x403b83
mov eax, dword [ebp - 8]
add eax, 1
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
cmp ecx, dword [ebp + 0xc]
jge 0x403bef
mov edx, dword [ebp + 8]
push edx
call fcn.004110d0
add esp, 4
mov esi, eax
mov eax, dword [ebp - 8]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ecx + eax*4]
push edx
call fcn.004110d0
add esp, 4
lea eax, [esi + eax + 1]
cmp eax, 0x104
jb 0x403bc0
mov eax, 6
jmp 0x403d85
push 0x42d91c
lea ecx, [ebp - 0x170]
push ecx
call fcn.00410ed0
add esp, 8
mov edx, dword [ebp - 8]
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax + edx*4]
push ecx
lea edx, [ebp - 0x170]
push edx
call fcn.00410ed0
add esp, 8
jmp 0x403b7a
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x403c09
cmp dword [ebp - 0xc], 1
je 0x403c14
cmp dword [ebp - 0xc], 2
je 0x403c1f
jmp 0x403c28
mov ecx, dword [ebp - 4]
or ecx, 8
mov dword [ebp - 4], ecx
jmp 0x403c31
mov edx, dword [ebp - 4]
or edx, 0x10
mov dword [ebp - 4], edx
jmp 0x403c31
mov dword [ebp - 4], 0
jmp 0x403c31
mov eax, dword [ebp - 4]
or eax, 0x10
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 0x18]
mov dword [ebp - 0x14], ecx
cmp dword [ebp - 0x14], 3
ja case.default.0x403c40
mov edx, dword [ebp - 0x14]
jmp dword [edx*4 + 0x403d8c]
mov eax, dword [ebp - 4]
or eax, 0x40
mov dword [ebp - 4], eax
jmp 0x403c81
mov ecx, dword [ebp - 4]
or ecx, 0x20
mov dword [ebp - 4], ecx
jmp 0x403c81
mov edx, dword [ebp - 4]
or edx, 0x80
mov dword [ebp - 4], edx
jmp 0x403c81
mov eax, dword [ebp - 4]
or eax, 0x100
mov dword [ebp - 4], eax
jmp 0x403c81
mov ecx, dword [ebp - 4]
or ecx, 0x20
mov dword [ebp - 4], ecx
push 0x44
push 0
lea edx, [ebp - 0x6c]
push edx
call fcn.0040ccc0
add esp, 0xc
push 0x10
push 0
lea eax, [ebp - 0x28]
push eax
call fcn.0040ccc0
add esp, 0xc
mov dword [ebp - 0x6c], 0x44
mov dword [ebp - 0x40], 1
mov ecx, 1
mov word [ebp - 0x3c], cx
lea edx, [ebp - 0x28]
push edx
lea eax, [ebp - 0x6c]
push eax
push 0
push 0
mov ecx, dword [ebp - 4]
push ecx
push 0
push 0
push 0
lea edx, [ebp - 0x170]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
jne 0x403d67
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x18], eax
push 0
push 0
lea eax, [ebp - 0x10]
push eax
push 0
mov ecx, dword [ebp - 0x18]
push ecx
push 0
push 0x1300
call dword [sym.imp.KERNEL32.dll_FormatMessageA]
mov edx, dword [ebp - 0x10]
push edx
push 0x42d920
push 0x950
push 0x42d934
call fcn.00404130
add esp, 0x10
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [ebp - 0x18]
push ecx
push 0x42d960
lea edx, [ebp - 0x3c8]
push edx
call fcn.004040c0
add esp, 0x10
push 0
push 0x42d980
lea eax, [ebp - 0x3c8]
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, 6
jmp 0x403d85
mov edx, dword [ebp + 0x1c]
mov eax, dword [ebp - 0x20]
mov dword [edx], eax
mov ecx, dword [ebp - 0x28]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp - 0x24]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret