Function at 0x408038
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4299ae
mov eax, dword fs:[0]
push eax
sub esp, 0x838
mov eax, dword [0x43ed50]
xor eax, esp
mov dword [esp + 0x830], eax
push ebx
push esi
push edi
mov eax, dword [0x43ed50]
xor eax, esp
push eax
lea eax, [esp + 0x848]
mov dword fs:[0], eax
xor ebx, ebx
mov dword [esp + 0x18], ebx
xor eax, eax
mov byte [esp + 0x2c], bl
lea edi, [esp + 0x2d]
stosd dword es:[edi], eax
mov esi, 0x1ff
push esi
stosb byte es:[edi], al
lea eax, [esp + 0x241]
push ebx
push eax
mov byte [esp + 0x248], bl
call sub.MSVCR80.dll_memset
add esp, 0xc
push esi
lea eax, [esp + 0x641]
push ebx
push eax
mov byte [esp + 0x648], bl
call sub.MSVCR80.dll_memset
add esp, 0xc
push esi
lea eax, [esp + 0x441]
push ebx
push eax
mov byte [esp + 0x448], bl
call sub.MSVCR80.dll_memset
add esp, 0xc
add esi, 8
push esi
lea eax, [esp + 0x39]
push ebx
push eax
mov byte [esp + 0x40], bl
call sub.MSVCR80.dll_memset
add esp, 0xc
push esi
lea eax, [esp + 0x38]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jbe 0x408323
mov eax, 0x200
push eax
lea ecx, [esp + 0x440]
push ecx
push eax
lea ecx, [esp + 0x648]
push ecx
push eax
lea eax, [esp + 0x250]
push eax
push 6
lea eax, [esp + 0x48]
push eax
lea eax, [esp + 0x54]
push eax
call dword [sym.imp.MSVCR80.dll__splitpath_s]
add esp, 0x24
push ebx
push ebx
lea eax, [esp + 0x244]
push eax
lea eax, [esp + 0x38]
push eax
lea eax, [esp + 0x44]
push 0x208
push eax
call dword [sym.imp.MSVCR80.dll__makepath_s]
add esp, 0x18
lea eax, [esp + 0x34]
push eax
lea ecx, [esp + 0x24]
call dword [sym.imp.MFC80.DLL_Ordinal_304]
mov dword [esp + 0x850], ebx
mov eax, dword [esp + 0x20]
mov eax, dword [eax - 0xc]
xor edi, edi
inc edi
cmp eax, ebx
jle 0x4081af
push edi
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x28]
call dword [sym.imp.MFC80.DLL_Ordinal_5563]
mov ecx, dword [eax]
cmp dword [ecx - 0xc], edi
mov dword [esp + 0x18], edi
jne 0x4081a8
push ebx
mov ecx, eax
call dword [sym.imp.MFC80.DLL_Ordinal_865]
cmp al, 0x5c
je 0x4081af
mov byte [esp + 0x17], 1
jmp 0x4081b3
mov byte [esp + 0x17], bl
test byte [esp + 0x18], 1
je 0x4081c4
lea ecx, [esp + 0x28]
call dword [sym.imp.MFC80.DLL_Ordinal_578]
cmp byte [esp + 0x17], bl
je 0x4081d6
push 0x5c
lea ecx, [esp + 0x24]
call dword [sym.imp.MFC80.DLL_Ordinal_908]
lea ecx, [esp + 0x24]
call dword [sym.imp.MFC80.DLL_Ordinal_310]
mov byte [esp + 0x850], 1
call fcn.00407f8d
lea esi, [esp + 0x24]
push eax
call fcn.00407fb9
mov eax, esi
push eax
lea eax, [esp + 0x24]
push eax
lea eax, [esp + 0x24]
push eax
call fcn.00408356
add esp, 0xc
mov byte [esp + 0x850], 2
mov esi, dword [esp + 0x1c]
call fcn.00408968
test eax, eax
je 0x40823b
push edi
push ebx
push ebx
push dword [esp + 0x28]
push ebx
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
jmp 0x408305
push 9
lea esi, [esp + 0x28]
call fcn.00407fb9
mov eax, esi
push eax
lea eax, [esp + 0x24]
push eax
lea eax, [esp + 0x20]
push eax
call fcn.00408356
add esp, 0xc
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x854], 3
call dword [sym.imp.MFC80.DLL_Ordinal_781]
lea ecx, [esp + 0x18]
mov byte [esp + 0x850], 2
call dword [sym.imp.MFC80.DLL_Ordinal_578]
push edi
push ebx
push ebx
push dword [esp + 0x28]
push ebx
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esi, dword [esp + 0x1c]
call fcn.00408968
test eax, eax
jne 0x408305
lea ecx, [esp + 0x18]
call fcn.0040f9eb
lea ecx, [esp + 0x28]
mov byte [esp + 0x850], 4
call fcn.0040f9eb
push edi
lea ecx, [esp + 0x1c]
mov byte [esp + 0x854], 5
call fcn.0040f9f8
push 0x2f
lea ecx, [esp + 0x2c]
call fcn.0040f9f8
push 0x30
push dword [esp + 0x1c]
push dword [esp + 0x30]
call fcn.004077e4
push dword [eax + 0x20]
call dword [sym.imp.USER32.dll_MessageBoxA]
lea ecx, [esp + 0x28]
call dword [sym.imp.MFC80.DLL_Ordinal_578]
lea ecx, [esp + 0x18]
call dword [sym.imp.MFC80.DLL_Ordinal_578]
lea ecx, [esp + 0x1c]
call dword [sym.imp.MFC80.DLL_Ordinal_578]
lea ecx, [esp + 0x24]
call dword [sym.imp.MFC80.DLL_Ordinal_578]
lea ecx, [esp + 0x20]
call dword [sym.imp.MFC80.DLL_Ordinal_578]
mov ecx, dword [esp + 0x848]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x830]
xor ecx, esp
call fcn.00421eef
mov esp, ebp
pop ebp
ret 8