Function at 0x401c00
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x527fac
mov eax, dword fs:[0]
push eax
sub esp, 0x4d8
mov eax, dword [0x573790]
xor eax, esp
mov dword [esp + 0x4d0], eax
push ebx
push esi
push edi
mov eax, dword [0x573790]
xor eax, esp
push eax
lea eax, [esp + 0x4e8]
mov dword fs:[0], eax
mov esi, ecx
xor ebx, ebx
mov edi, 0xf
mov eax, esi
mov dword [esp + 0x80], edi
mov dword [esp + 0x7c], ebx
mov byte [esp + 0x6c], bl
lea edx, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x401c60
sub eax, edx
push eax
push esi
lea ecx, [esp + 0x74]
call fcn.00408e80
mov dword [esp + 0x4f0], ebx
push 1
push 0x553a6c
lea ecx, [esp + 0xac]
mov dword [esp + 0xc0], edi
mov dword [esp + 0xbc], ebx
mov byte [esp + 0xac], bl
call fcn.00408e80
mov byte [esp + 0x4f0], 1
push 1
push 0x553a70
lea ecx, [esp + 0x90]
mov dword [esp + 0xa4], edi
mov dword [esp + 0xa0], ebx
mov byte [esp + 0x90], bl
call fcn.00408e80
lea eax, [esp + 0xa4]
push eax
lea ecx, [esp + 0x70]
push ecx
lea edx, [esp + 0xc8]
push edx
lea ecx, [esp + 0x94]
mov byte [esp + 0x4fc], 2
call fcn.0040a220
add esp, 0xc
mov esi, eax
lea eax, [esp + 0x6c]
cmp eax, esi
je 0x401d6b
cmp dword [esp + 0x80], 0x10
jb 0x401d20
mov ecx, dword [esp + 0x6c]
push ecx
call fcn.0040c4d4
add esp, 4
mov dword [esp + 0x80], edi
mov dword [esp + 0x7c], ebx
mov byte [esp + 0x6c], bl
cmp dword [esi + 0x14], 0x10
jae 0x401d4a
mov edx, dword [esi + 0x10]
inc edx
push edx
lea eax, [esp + 0x70]
push esi
push eax
call fcn.004fee80
add esp, 0xc
jmp 0x401d52
mov ecx, dword [esi]
mov dword [esp + 0x6c], ecx
mov dword [esi], ebx
mov edx, dword [esi + 0x10]
mov dword [esp + 0x7c], edx
mov eax, dword [esi + 0x14]
mov dword [esp + 0x80], eax
mov dword [esi + 0x14], edi
mov dword [esi + 0x10], ebx
mov byte [esi], bl
cmp dword [esp + 0xd4], 0x10
jb 0x401d85
mov ecx, dword [esp + 0xc0]
push ecx
call fcn.0040c4d4
add esp, 4
cmp dword [esp + 0x9c], 0x10
mov dword [esp + 0xd4], edi
mov dword [esp + 0xd0], ebx
mov byte [esp + 0xc0], bl
jb 0x401db4
mov edx, dword [esp + 0x88]
push edx
call fcn.0040c4d4
add esp, 4
cmp dword [esp + 0xb8], 0x10
mov dword [esp + 0x9c], edi
mov dword [esp + 0x98], ebx
mov byte [esp + 0x88], bl
jb 0x401de3
mov eax, dword [esp + 0xa4]
push eax
call fcn.0040c4d4
add esp, 4
push 0x44
lea ecx, [esp + 0x28]
push ebx
push ecx
call fcn.005023a0
add esp, 0xc
push 0x400
lea edx, [esp + 0xe0]
push ebx
push edx
call fcn.005023a0
mov eax, dword [esp + 0x78]
mov esi, 0x10
add esp, 0xc
cmp dword [esp + 0x80], esi
jae 0x401e1f
lea eax, [esp + 0x6c]
push 0x554a2f
push eax
lea eax, [esp + 0xe4]
push str._s__s
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x28]
push edx
push ebx
push ebx
push ebx
push 1
push ebx
push ebx
lea eax, [esp + 0xfc]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
jne 0x401e8c
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.createprocess_failed__d_n
call fcn.0050021a
add eax, 0x40
push eax
call fcn.0050010e
add esp, 0xc
cmp dword [esp + 0x80], esi
jb 0x401ea2
mov ecx, dword [esp + 0x6c]
push ecx
jmp 0x401e9a
cmp dword [esp + 0x80], esi
jb 0x401ea2
mov edx, dword [esp + 0x6c]
push edx
call fcn.0040c4d4
add esp, 4
mov ecx, dword [esp + 0x4e8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x4d0]
xor ecx, esp
call fcn.004fecc6
mov esp, ebp
pop ebp
ret