Function at 0x403447
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c4
push ebx
push esi
push edi
push 0x40
xor ebx, ebx
pop ecx
xor eax, eax
lea edi, [ebp - 0x157]
mov byte [ebp - 0x158], bl
push 0x40
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
pop ecx
xor eax, eax
lea edi, [ebp - 0x2bf]
mov byte [ebp - 0x2c0], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
push 0x40
xor eax, eax
pop ecx
lea edi, [ebp - 0x3c3]
mov byte [ebp - 0x3c4], bl
mov dword [ebp - 0x10], ebx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
xor eax, eax
lea edi, [ebp - 0xc]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
push 0x10
xor eax, eax
pop ecx
lea edi, [ebp - 0x50]
mov dword [ebp - 0x54], 0x44
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x54]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
mov eax, dword [0x4150dc]
cmp eax, 3
je 0x4034f4
or dword [ebp - 0x28], 1
sub eax, ebx
je 0x4034ee
dec eax
je 0x4034e6
dec eax
je 0x4034de
dec eax
jne 0x4034f4
mov word [ebp - 0x24], bx
jmp 0x4034f4
mov word [ebp - 0x24], 3
jmp 0x4034f4
mov word [ebp - 0x24], 6
jmp 0x4034f4
mov word [ebp - 0x24], 5
cmp dword [0x415140], ebx
jne 0x4036c2
mov eax, dword [0x415190]
cmp eax, ebx
je 0x40350c
push eax
jmp 0x403512
push dword [0x415150]
mov esi, dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea eax, [ebp - 0x2c0]
push eax
call esi
lea eax, [ebp - 0x2c0]
push eax
lea eax, [ebp - 0x158]
push eax
call esi
lea eax, [ebp - 0x158]
push eax
call fcn.00403271
mov edi, dword [sym.imp.KERNEL32.dll_lstrcatA]
pop ecx
push dword [0x415188]
lea eax, [ebp - 0x158]
push eax
call edi
lea eax, [ebp - 0x158]
push ebx
push eax
call fcn.004014b2
pop ecx
test eax, eax
pop ecx
jne 0x403575
push dword [0x415188]
lea eax, [ebp - 0x158]
push eax
call esi
lea eax, [ebp - 0x2c0]
push eax
call fcn.0040329c
lea eax, [ebp - 0x158]
push eax
call fcn.00403748
pop ecx
test eax, eax
pop ecx
jne 0x4035df
movzx eax, word [ebp - 0x24]
push eax
lea eax, [ebp - 0x2c0]
push eax
lea eax, [ebp - 0x158]
push dword [0x41518c]
push eax
push str.open
push ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esi, eax
cmp esi, 0x20
jle 0x403725
push ebx
call fcn.004037ac
pop ecx
push 0x64
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
je 0x4035c3
jmp 0x4036c2
lea eax, [ebp - 0x158]
push eax
lea eax, [ebp - 0x3c4]
push eax
call esi
lea eax, [ebp - 0x3c4]
push eax
lea eax, [ebp - 0x158]
push str.__s_
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
cmp dword [0x4151a0], ebx
mov esi, 0x414198
je 0x403631
lea eax, [ebp - 0x158]
push esi
push eax
call edi
push dword [0x4151a0]
lea eax, [ebp - 0x158]
push eax
call edi
cmp dword [0x41518c], ebx
je 0x403652
lea eax, [ebp - 0x158]
push esi
push eax
call edi
push dword [0x41518c]
lea eax, [ebp - 0x158]
push eax
call edi
push ebx
push 0x40372d
push ebx
push 0x3f1
push dword [0x4150d8]
call dword [sym.imp.USER32.dll_CreateDialogParamA]
mov esi, eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x54]
push eax
lea eax, [ebp - 0x2c0]
push eax
push ebx
push ebx
push ebx
push ebx
lea eax, [ebp - 0x158]
push ebx
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x4036c6
push ebx
call fcn.004037ac
pop ecx
push 0x64
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
je 0x403692
push dword [ebp - 0x10]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call edi
push dword [ebp - 0xc]
call edi
push esi
call dword [sym.imp.USER32.dll_DestroyWindow]
xor eax, eax
jmp 0x403728
push 0x18
xor eax, eax
pop ecx
lea edi, [ebp - 0x1bb]
mov byte [ebp - 0x1bc], bl
cmp dword [0x41519c], ebx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
je 0x40370a
lea eax, [ebp - 0x1bc]
push 0x64
push eax
push 0x31
push 0x414178
call fcn.00401447
add esp, 0x10
test eax, eax
je 0x40370a
lea eax, [ebp - 0x1bc]
push ebx
push eax
jmp 0x403710
push ebx
push str.Unable_to_Execute_
lea eax, [ebp - 0x158]
push eax
push ebx
call dword [sym.imp.USER32.dll_MessageBoxA]
push esi
call dword [sym.imp.USER32.dll_DestroyWindow]
push 0xc
pop eax
pop edi
pop esi
pop ebx
leave
ret