Function at 0x436506
Capabilities:
Create process on windows

Disassembly:
mov eax, 0x4869e1
call fcn.0046746c
sub esp, 0x224
push ebx
push esi
push edi
push str.Shell32.dll
xor ebx, ebx
xor esi, esi
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
cmp eax, ebx
mov dword [ebp - 0x24], eax
je 0x43653d
push str.ShellExecuteExA
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
push 0xe
xor eax, eax
pop ecx
lea edi, [ebp - 0x6c]
mov dword [ebp - 0x70], ebx
mov dword [ebp - 0x34], ebx
rep stosd dword es:[edi], eax
lea edi, [ebp - 0x30]
push 0x10
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
pop ecx
xor eax, eax
lea edi, [ebp - 0x100]
mov dword [ebp - 0x104], ebx
cmp esi, ebx
mov dword [ebp - 0x10], ebx
rep stosd dword es:[edi], eax
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0xcccccccc
je 0x4365c5
mov eax, dword [ebp + 8]
mov dword [ebp - 0x70], 0x3c
mov dword [ebp - 0x60], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x5c], eax
xor eax, eax
cmp dword [ebp + 0x10], ebx
mov dword [ebp - 0x58], ebx
mov dword [ebp - 0x68], ebx
mov dword [ebp - 0x64], ebx
setne al
mov dword [ebp - 0x54], eax
lea eax, [ebp - 0x70]
push eax
mov dword [ebp - 0x6c], 0x40
call esi
test eax, eax
jne 0x4365b7
mov dword [ebp - 0x10], ebx
jmp 0x4367b4
mov eax, dword [ebp - 0x38]
push 1
mov dword [ebp - 0x10], eax
pop edi
jmp 0x436705
push 0x10
lea eax, [ebp - 0x34]
push ebx
push eax
call fcn.00467b20
push 0x44
lea eax, [ebp - 0x104]
pop edi
push edi
push ebx
push eax
call fcn.00467b20
add esp, 0x18
xor eax, eax
cmp dword [ebp + 0x10], ebx
mov dword [ebp - 0x104], edi
push 1
lea ecx, [ebp - 0xc0]
setne al
pop edi
mov word [ebp - 0xd4], ax
lea eax, [ebp + 0x13]
push ebx
push eax
mov dword [ebp - 0xd8], edi
mov dword [ebp - 0xc0], 0x48b660
mov dword [ebp - 0xa0], 0x48b658
call fcn.00401907
lea eax, [ebp + 0xf]
push edi
push eax
lea ecx, [ebp - 0x12c]
push dword [ebp + 0xc]
mov dword [ebp - 4], ebx
call fcn.00401884
mov eax, dword [eax + 8]
mov esi, 0x48b67c
cmp eax, ebx
mov byte [ebp - 4], 1
mov dword [ebp - 0x20], esi
je 0x436653
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x19]
push edi
push eax
lea ecx, [ebp - 0x98]
push dword [ebp + 8]
call fcn.00401884
mov eax, dword [eax + 8]
mov byte [ebp - 4], 2
cmp eax, ebx
jne 0x436673
mov eax, esi
push dword [ebp - 0x20]
push eax
lea eax, [ebp - 0xc0]
push str.__s___s
push eax
call fcn.00423c2b
add esp, 0x10
lea ecx, [ebp - 0x98]
mov byte [ebp - 4], 1
call fcn.00401093
lea ecx, [ebp - 0x12c]
mov byte [ebp - 4], bl
call fcn.00401093
lea ecx, [ebp - 0xc0]
call fcn.00401a14
push eax
lea eax, [ebp - 0x230]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x104]
push eax
push ebx
push ebx
push 0x20
push ebx
push ebx
lea eax, [ebp - 0x230]
push ebx
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
jne 0x4366ea
mov dword [ebp - 0x10], ebx
jmp 0x4366f6
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x14], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xc0]
call fcn.00401093
cmp dword [ebp - 0x10], ebx
je 0x4367b4
mov esi, dword [sym.imp.USER32.dll_PeekMessageA]
push 0xff
push 0xffffffffffffffff
lea eax, [ebp - 0x10]
push ebx
push eax
push edi
call dword [sym.imp.USER32.dll_MsgWaitForMultipleObjects]
cmp eax, ebx
je 0x43678a
cmp eax, edi
jne 0x43678a
push edi
push ebx
push ebx
lea eax, [ebp - 0x8c]
push ebx
push eax
call esi
test eax, eax
je 0x436714
cmp dword [ebp - 0x88], 0xf
je 0x436760
cmp dword [ebp - 0x88], 0x113
jne 0x43677a
mov ecx, dword [ebp + 0x14]
push edi
call fcn.0042d35f
jmp 0x43677a
lea eax, [ebp - 0x8c]
push eax
call dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [ebp - 0x8c]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageA]
push ebx
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x436714
jmp 0x43672f
lea eax, [ebp - 0x18]
push eax
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov eax, dword [ebp - 0x18]
cmp dword [ebp - 0x14], ebx
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [0x4ac178], eax
je 0x4367af
push dword [ebp - 0x14]
call esi
push dword [ebp - 0x10]
call esi
cmp dword [ebp - 0x24], ebx
pop edi
pop esi
pop ebx
je 0x4367c5
push dword [ebp - 0x24]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x18]
mov dword fs:[0], ecx
leave
ret 0x10