Function at 0x403ee0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c4
push esi
lea eax, [ebp - 0x54]
push edi
push eax
mov dword [ebp - 0x54], 0x44
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
mov eax, dword [0x40ff1c]
cmp eax, 3
je case.default.0x403f14
mov edx, dword [ebp - 0x28]
or edx, 1
cmp eax, 3
mov dword [ebp - 0x28], edx
ja case.default.0x403f14
jmp dword [eax*4 + 0x404178]
mov word [ebp - 0x24], 5
jmp case.default.0x403f14
mov word [ebp - 0x24], 0
jmp case.default.0x403f14
mov word [ebp - 0x24], 6
jmp case.default.0x403f14
mov word [ebp - 0x24], 3
mov eax, dword [0x40ffb4]
test eax, eax
je 0x403f4c
lea ecx, [ebp - 0x25c]
push eax
push ecx
jmp 0x403f5a
mov edx, dword [0x40ff24]
lea eax, [ebp - 0x25c]
push edx
push eax
mov esi, dword [sym.imp.KERNEL32.dll_lstrcpyA]
call esi
lea ecx, [ebp - 0x25c]
lea edx, [ebp - 0x158]
push ecx
push edx
call esi
lea eax, [ebp - 0x158]
push eax
call fcn.00401160
mov ecx, dword [0x40ff08]
mov edi, dword [sym.imp.KERNEL32.dll_lstrcatA]
add esp, 4
lea edx, [ebp - 0x158]
push ecx
push edx
call edi
lea eax, [ebp - 0x158]
push 0
push eax
call fcn.00401000
add esp, 8
test eax, eax
jne 0x403fbc
mov ecx, dword [0x40ff08]
lea edx, [ebp - 0x158]
push ecx
push edx
call esi
lea eax, [ebp - 0x25c]
push eax
call fcn.004010c0
add esp, 4
lea ecx, [ebp - 0x158]
push ecx
call fcn.00403e60
add esp, 4
test eax, eax
jne 0x404038
mov edx, dword [ebp - 0x24]
mov ecx, dword [0x40ff8c]
and edx, 0xffff
lea eax, [ebp - 0x25c]
push edx
push eax
lea edx, [ebp - 0x158]
push ecx
push edx
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esi, eax
test esi, esi
je 0x40416d
mov edi, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push 0
call fcn.004010e0
add esp, 4
push 0x64
push esi
call edi
cmp eax, 0x102
je 0x40401a
xor eax, eax
pop edi
pop esi
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x158]
lea ecx, [ebp - 0x3c4]
push eax
push ecx
call esi
lea edx, [ebp - 0x3c4]
lea eax, [ebp - 0x158]
push edx
push str.__s_
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
mov eax, dword [0x40ff8c]
add esp, 0xc
test eax, eax
je 0x40408b
lea ecx, [ebp - 0x158]
push 0x40d248
push ecx
call edi
mov edx, dword [0x40ff8c]
lea eax, [ebp - 0x158]
push edx
push eax
call edi
mov eax, dword [0x40ff28]
test eax, eax
je 0x4040b2
lea ecx, [ebp - 0x158]
push 0x40d24c
push ecx
call edi
mov edx, dword [0x40ff28]
lea eax, [ebp - 0x158]
push edx
push eax
call edi
lea ecx, [ebp - 0x10]
lea edx, [ebp - 0x54]
push ecx
lea eax, [ebp - 0x25c]
push edx
push eax
push 0
push 0
push 0
push 0
lea ecx, [ebp - 0x158]
push 0
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x40410f
mov esi, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push 0
call fcn.004010e0
mov edx, dword [ebp - 0x10]
add esp, 4
push 0x64
push edx
call esi
cmp eax, 0x102
je 0x4040e4
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov eax, dword [0x40ff20]
test eax, eax
je 0x404157
lea ecx, [ebp - 0x2c0]
push 0x64
push ecx
push 0x31
push str.Strings
call fcn.00401590
add esp, 0x10
test eax, eax
je 0x404157
lea edx, [ebp - 0x2c0]
push 0
lea eax, [ebp - 0x158]
push edx
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
mov eax, 0xc
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push 0
lea ecx, [ebp - 0x158]
push str.Unable_to_Execute_
push ecx
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
pop edi
mov eax, 0xc
pop esi
mov esp, ebp
pop ebp
ret