Function at 0x4097e0
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x498
push ebx
push ebp
push esi
mov ebp, ecx
call fcn.004054b0
mov esi, dword [esp + 0x4a8]
lea ebx, [ebp + 0x110]
push esi
mov ecx, ebx
mov dword [esp + 0x14], eax
call fcn.00403120
test eax, eax
mov dword [esp + 0x14], eax
je 0x409a7b
mov dword [esp + 0xc], 0
jle 0x409a7b
push edi
jmp 0x40982d
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.00403190
mov edi, dword [esp + 0x10]
lea edx, [esp + 0x3a4]
push 0x104
push edx
push 1
push edi
push esi
mov ecx, ebx
call fcn.00403190
lea eax, [esp + 0x2a0]
push 0x104
lea ecx, [esp + 0x3a8]
push eax
push ecx
mov ecx, ebx
call fcn.00403140
lea edx, [esp + 0x19c]
mov ecx, ebp
push edx
push esi
push edi
call fcn.0040a5e0
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 0x4098f0
lea ecx, [ebp + 0x8567]
lea edx, [esp + 0x2a0]
push ecx
push edx
mov ecx, ebx
call fcn.00403c60
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 0x409967
mov edi, 0x41449c
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.00404400
mov eax, dword [esp + 0x24]
mov edi, 0x3c
add esp, 0x10
cmp eax, edi
jne 0x4099e3
lea edx, [esp + 0x98]
push 0
push edx
mov ecx, ebp
call fcn.0040a3e0
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.00404400
add esp, 0x10
test esi, esi
jne 0x409a65
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 0x409a39
lea ecx, [esp + 0x58]
push ecx
push str.Program__s_has_been_executed.
jmp 0x409a43
lea edx, [esp + 0x58]
push edx
push str.Fail_to_execute_Program__s.
push 0
push ebp
call fcn.00404400
mov eax, dword [ebp + 0x8778]
add esp, 0x10
test eax, eax
je 0x409a65
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 0x409826
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x498
ret 4