Function at 0x420169
Capabilities:
Create process on windows

Disassembly:
mov eax, 0x4334a5
call fcn.00425dc8
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 0x4201a0
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 0x420228
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 0x42021a
mov dword [ebp - 0x10], ebx
jmp 0x420417
mov eax, dword [ebp - 0x38]
push 1
mov dword [ebp - 0x10], eax
pop edi
jmp 0x420368
push 0x10
lea eax, [ebp - 0x34]
push ebx
push eax
call fcn.00426630
push 0x44
lea eax, [ebp - 0x104]
pop edi
push edi
push ebx
push eax
call fcn.00426630
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], 0x43447c
mov dword [ebp - 0xa0], 0x434474
call fcn.00401581
lea eax, [ebp + 0xf]
push edi
push eax
lea ecx, [ebp - 0x12c]
push dword [ebp + 0xc]
mov dword [ebp - 4], ebx
call fcn.004014ff
mov eax, dword [eax + 8]
mov esi, 0x434494
cmp eax, ebx
mov byte [ebp - 4], 1
mov dword [ebp - 0x20], esi
je 0x4202b6
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x19]
push edi
push eax
lea ecx, [ebp - 0x98]
push dword [ebp + 8]
call fcn.004014ff
mov eax, dword [eax + 8]
mov byte [ebp - 4], 2
cmp eax, ebx
jne 0x4202d6
mov eax, esi
push dword [ebp - 0x20]
push eax
lea eax, [ebp - 0xc0]
push str.__s___s
push eax
call fcn.004175a4
add esp, 0x10
lea ecx, [ebp - 0x98]
mov byte [ebp - 4], 1
call fcn.0040191f
lea ecx, [ebp - 0x12c]
mov byte [ebp - 4], bl
call fcn.0040191f
lea ecx, [ebp - 0xc0]
call fcn.004016f0
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 0x42034d
mov dword [ebp - 0x10], ebx
jmp 0x420359
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.0040191f
cmp dword [ebp - 0x10], ebx
je 0x420417
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 0x4203ed
cmp eax, edi
jne 0x4203ed
push edi
push ebx
push ebx
lea eax, [ebp - 0x8c]
push ebx
push eax
call esi
test eax, eax
je 0x420377
cmp dword [ebp - 0x88], 0xf
je 0x4203c3
cmp dword [ebp - 0x88], 0x113
jne 0x4203dd
mov ecx, dword [ebp + 0x14]
push edi
call fcn.0041b871
jmp 0x4203dd
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 0x420377
jmp 0x420392
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 [0x443124], eax
je 0x420412
push dword [ebp - 0x14]
call esi
push dword [ebp - 0x10]
call esi
cmp dword [ebp - 0x24], ebx
pop edi
pop esi
pop ebx
je 0x420428
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