Function at 0x409a20
Capabilities:
Create process on windows

Disassembly:
push ebp
lea ebp, [esp - 0x1804]
mov eax, 0x1804
call fcn.004fe1a0
push 0xffffffffffffffff
push 0x525f58
mov eax, dword fs:[0]
push eax
sub esp, 0x60
mov eax, dword [0x5a4aa8]
xor eax, ebp
mov dword [ebp + 0x1800], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, ecx
push 0x535a4c
lea ecx, [ebp - 0x14]
call fcn.00405c00
mov dword [ebp - 4], 0
mov byte [ebp - 4], 1
lea edi, [esi + 0x200]
mov eax, edi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x409a85
sub eax, edx
sar eax, 1
je 0x409d22
lea ebx, [esi + 0xa00]
mov eax, ebx
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x409aa5
sub eax, edx
sar eax, 1
je 0x409d22
push 0x800
push 0
lea eax, [ebp + 0x1000]
push eax
call fcn.004fd670
push 0x800
push 0
lea ecx, [ebp + 0x800]
push ecx
call fcn.004fd670
push 0x800
push 0
lea edx, [ebp]
push edx
call fcn.004fd670
add esp, 0x24
push 0
push 0x400
lea eax, [ebp + 0x1000]
push eax
push edi
call fcn.004290d0
mov ecx, eax
call fcn.00480760
test eax, eax
je 0x409b2c
push 0x3ff
push edi
push 0x400
lea ecx, [ebp + 0x1000]
push ecx
call fcn.004fa71b
add esp, 0x10
push 0
push 0x400
lea edx, [ebp + 0x800]
push edx
push ebx
call fcn.004290d0
mov ecx, eax
call fcn.00480760
test eax, eax
je 0x409b65
push 0x3ff
push ebx
push 0x400
lea eax, [ebp + 0x800]
push eax
call fcn.004fa71b
add esp, 0x10
lea ebx, [esi + 0x1200]
push 0
push 0x400
lea ecx, [ebp]
push ecx
push ebx
call fcn.004290d0
mov ecx, eax
call fcn.00480760
test eax, eax
je 0x409b9e
push 0x3ff
push ebx
push 0x400
lea edx, [ebp]
push edx
call fcn.004fa71b
add esp, 0x10
lea eax, [ebp + 0x800]
push eax
lea ecx, [ebp + 0x1000]
push ecx
push str._s__s
lea edx, [ebp - 0x14]
push edx
call fcn.004081a0
push 0x44
push 0
lea eax, [ebp - 0x6c]
push eax
call fcn.004fd670
add esp, 0x1c
xor eax, eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
lea ecx, [ebp - 0x28]
push ecx
lea edx, [ebp - 0x6c]
push edx
push eax
push eax
push 0x20
push 1
push eax
push eax
mov eax, dword [ebp - 0x14]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x409c64
mov eax, dword [ebp - 0x28]
test eax, eax
jne 0x409c27
push str.Fail_____Invalid_Parameter_in_CCmdProcessor::FNT_EXE_FILE_WAIT____
mov ecx, 0x649e50
call fcn.004918f0
add esp, 4
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.00406150
xor eax, eax
jmp 0x409cfd
lea edi, [esi + 0x322c]
mov dword [edi], eax
mov dword [esi + 0x3a30], esi
push 0x3ff
push ebx
push 0x400
add esi, 0x3230
push esi
call fcn.004fa71b
add esp, 0x10
push 0
push 0
push 0
push 0
push edi
push 0x40a300
call fcn.004e5814
jmp 0x409ce2
lea eax, [ebp]
lea edx, [eax + 2]
lea ebx, [ebx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x409c70
sub eax, edx
sar eax, 1
je 0x409ce2
push str.Install_VC
lea ecx, [ebp]
push ecx
call fcn.004f9f1e
add esp, 8
test eax, eax
jne 0x409ce2
mov dword [ebp - 0x18], 0xffffffff
mov esi, dword [esi + 0x320c]
push eax
push 4
push 4
push str.Install_VC
push esi
lea ecx, [ebp - 0x18]
mov edx, str.InstallingSetup
call fcn.004924c0
add esp, 0x14
test eax, eax
jne 0x409ce2
lea edx, [ebp + 0x800]
push edx
lea eax, [ebp + 0x1000]
push eax
push str.Fail_to_createprocess_:_Command__s___Param__s_
mov ecx, 0x649e50
call fcn.004918f0
add esp, 0xc
mov dword [ebp - 4], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.00406150
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x1800]
xor ecx, ebp
call fcn.004fa103
add ebp, 0x1804
mov esp, ebp
pop ebp
ret
push str.Fail_____Invalid_Parameter_in_CCmdProcessor::FNT_EXECUTE_FILE_WAIT____
mov ecx, 0x649e50
call fcn.004918f0
add esp, 4
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.00406150
xor eax, eax
jmp 0x409cfd