Function at 0x40839e
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x42a53a
mov eax, dword fs:[0]
push eax
sub esp, 0x838
mov eax, dword [0x43fee0]
xor eax, esp
mov dword [esp + 0x830], eax
push ebx
push esi
push edi
mov eax, dword [0x43fee0]
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 0x408689
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 0x408515
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 0x40850e
push ebx
mov ecx, eax
call dword [sym.imp.MFC80.DLL_Ordinal_865]
cmp al, 0x5c
je 0x408515
mov byte [esp + 0x17], 1
jmp 0x408519
mov byte [esp + 0x17], bl
test byte [esp + 0x18], 1
je 0x40852a
lea ecx, [esp + 0x28]
call dword [sym.imp.MFC80.DLL_Ordinal_578]
cmp byte [esp + 0x17], bl
je 0x40853c
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.004082f3
lea esi, [esp + 0x24]
push eax
call fcn.0040831f
mov eax, esi
push eax
lea eax, [esp + 0x24]
push eax
lea eax, [esp + 0x24]
push eax
call fcn.004086bc
add esp, 0xc
mov byte [esp + 0x850], 2
mov esi, dword [esp + 0x1c]
call fcn.00408cce
test eax, eax
je 0x4085a1
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 0x40866b
push 9
lea esi, [esp + 0x28]
call fcn.0040831f
mov eax, esi
push eax
lea eax, [esp + 0x24]
push eax
lea eax, [esp + 0x20]
push eax
call fcn.004086bc
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.00408cce
test eax, eax
jne 0x40866b
lea ecx, [esp + 0x18]
call fcn.0040fd2b
lea ecx, [esp + 0x28]
mov byte [esp + 0x850], 4
call fcn.0040fd2b
push edi
lea ecx, [esp + 0x1c]
mov byte [esp + 0x854], 5
call fcn.0040fd38
push 0x2f
lea ecx, [esp + 0x2c]
call fcn.0040fd38
push 0x30
push dword [esp + 0x1c]
push dword [esp + 0x30]
call fcn.00407b5f
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.00422a47
mov esp, ebp
pop ebp
ret 8