Function at 0x409b50
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x498
push ebx
push ebp
push esi
mov ebp, ecx
call fcn.00405590
mov esi, dword [esp + 0x4a8]
lea ebx, [ebp + 0x110]
push esi
mov ecx, ebx
mov dword [esp + 0x14], eax
call fcn.004031e0
test eax, eax
mov dword [esp + 0x14], eax
je 0x409deb
mov dword [esp + 0xc], 0
jle 0x409deb
push edi
jmp 0x409b9d
mov esi, dword [esp + 0x4ac]
mov ecx, 0x41
xor eax, eax
lea edi, [esp + 0x19c]
push 0x40
rep stosd dword es:[edi], eax
mov ecx, 0x41
lea edi, [esp + 0x9c]
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x5c]
push eax
push 0
push ecx
push esi
mov ecx, ebx
call fcn.00403250
mov edi, dword [esp + 0x10]
lea edx, [esp + 0x3a4]
push 0x104
push edx
push 1
push edi
push esi
mov ecx, ebx
call fcn.00403250
lea eax, [esp + 0x2a0]
push 0x104
lea ecx, [esp + 0x3a8]
push eax
push ecx
mov ecx, ebx
call fcn.00403200
lea edx, [esp + 0x19c]
mov ecx, ebp
push edx
push esi
push edi
call fcn.0040a950
mov edi, eax
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x19c]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov eax, dword [ebp + 0x877c]
and ecx, 3
test eax, eax
rep movsb byte es:[edi], byte [esi]
je 0x409c60
lea ecx, [ebp + 0x8567]
lea edx, [esp + 0x2a0]
push ecx
push edx
mov ecx, ebx
call fcn.00403d20
lea edi, [esp + 0x2a0]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x98]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [esp + 0x98]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp byte [esp + ecx + 0x97], 0x5c
je 0x409cd7
mov edi, 0x41549c
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x98]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea eax, [esp + 0x19c]
lea ecx, [esp + 0x58]
push eax
lea edx, [esp + 0x9c]
push ecx
push edx
lea eax, [esp + 0xa4]
push str._s_s__s
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x14
lea ecx, [esp + 0x98]
push ecx
push str.szApplicationName_is__s
push 0
push ebp
call fcn.004044c0
mov eax, dword [esp + 0x24]
mov edi, 0x3c
add esp, 0x10
cmp eax, edi
jne 0x409d53
lea edx, [esp + 0x98]
push 0
push edx
mov ecx, ebp
call fcn.0040a750
mov esi, eax
push esi
push str.Get_out_of_CreateProcessASUserOnVista_with_return_value__d__non_zero_for_OK_
push 0
push ebp
call fcn.004044c0
add esp, 0x10
test esi, esi
jne 0x409dd5
lea eax, [esp + 0x58]
lea ecx, [esp + 0x19c]
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x1c]
lea edx, [esp + 0x2a0]
push eax
mov dword [esp + 0x20], edi
mov dword [esp + 0x24], 0x40
mov dword [esp + 0x2c], str.open
mov dword [esp + 0x34], ecx
mov dword [esp + 0x38], edx
mov dword [esp + 0x3c], 5
call dword [sym.imp.SHELL32.dll_ShellExecuteExA]
cmp eax, 1
jne 0x409da9
lea ecx, [esp + 0x58]
push ecx
push str.Program__s_has_been_executed.
jmp 0x409db3
lea edx, [esp + 0x58]
push edx
push str.Fail_to_execute_Program__s.
push 0
push ebp
call fcn.004044c0
mov eax, dword [ebp + 0x8778]
add esp, 0x10
test eax, eax
je 0x409dd5
mov eax, dword [esp + 0x54]
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x18]
inc eax
cmp eax, ecx
mov dword [esp + 0x10], eax
jl 0x409b96
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x498
ret 4