Function at 0x403dd0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c0
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 [0x40eef4]
cmp eax, 3
je case.default.0x403e04
mov edx, dword [ebp - 0x28]
or edx, 1
cmp eax, 3
mov dword [ebp - 0x28], edx
ja case.default.0x403e04
jmp dword [eax*4 + 0x40403c]
mov word [ebp - 0x24], 5
jmp case.default.0x403e04
mov word [ebp - 0x24], 0
jmp case.default.0x403e04
mov word [ebp - 0x24], 6
jmp case.default.0x403e04
mov word [ebp - 0x24], 3
mov eax, dword [0x40ef94]
test eax, eax
je 0x403e3c
lea ecx, [ebp - 0x25c]
push eax
push ecx
jmp 0x403e4a
mov edx, dword [0x40eefc]
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 [0x40eee0]
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 0x403eac
mov ecx, dword [0x40eee0]
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.00403d50
add esp, 4
test eax, eax
jne 0x403f28
mov edx, dword [ebp - 0x24]
mov ecx, dword [0x40ef6c]
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 0x404031
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 0x403f0a
xor eax, eax
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov eax, dword [0x40ef6c]
test eax, eax
je 0x403f4f
lea eax, [ebp - 0x158]
push 0x40c220
push eax
call edi
mov ecx, dword [0x40ef6c]
lea edx, [ebp - 0x158]
push ecx
push edx
call edi
mov eax, dword [0x40ef00]
test eax, eax
je 0x403f76
lea eax, [ebp - 0x158]
push 0x40c224
push eax
call edi
mov ecx, dword [0x40ef00]
lea edx, [ebp - 0x158]
push ecx
push edx
call edi
lea eax, [ebp - 0x10]
lea ecx, [ebp - 0x54]
push eax
lea edx, [ebp - 0x25c]
push ecx
push edx
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x158]
push 0
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x403fd3
mov esi, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push 0
call fcn.004010e0
mov ecx, dword [ebp - 0x10]
add esp, 4
push 0x64
push ecx
call esi
cmp eax, 0x102
je 0x403fa8
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov eax, dword [0x40eef8]
test eax, eax
je 0x40401b
lea eax, [ebp - 0x2c0]
push 0x64
push eax
push 0x31
push str.Strings
call fcn.00401590
add esp, 0x10
test eax, eax
je 0x40401b
lea ecx, [ebp - 0x2c0]
push 0
lea edx, [ebp - 0x158]
push ecx
push edx
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 eax, [ebp - 0x158]
push str.Unable_to_Execute_
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
pop edi
mov eax, 0xc
pop esi
mov esp, ebp
pop ebp
ret