Function at 0x421732
Capabilities:
Create process on windows

Disassembly:
mov eax, 0x434fa5
call fcn.00427498
sub esp, 0x224
push ebx
push esi
push edi
push 0x43ea94
xor ebx, ebx
xor esi, esi
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
cmp eax, ebx
mov dword [ebp - 0x24], eax
je 0x421769
push 0x43ea84
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 0x4217f1
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 0x4217e3
mov dword [ebp - 0x10], ebx
jmp 0x4219e0
mov eax, dword [ebp - 0x38]
push 1
mov dword [ebp - 0x10], eax
pop edi
jmp 0x421931
push 0x10
lea eax, [ebp - 0x34]
push ebx
push eax
call fcn.00427d00
push 0x44
lea eax, [ebp - 0x104]
pop edi
push edi
push ebx
push eax
call fcn.00427d00
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], 0x43647c
mov dword [ebp - 0xa0], 0x436474
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, 0x436494
cmp eax, ebx
mov byte [ebp - 4], 1
mov dword [ebp - 0x20], esi
je 0x42187f
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 0x42189f
mov eax, esi
push dword [ebp - 0x20]
push eax
lea eax, [ebp - 0xc0]
push 0x43ea74
push eax
call fcn.0041865e
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 0x421916
mov dword [ebp - 0x10], ebx
jmp 0x421922
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 0x4219e0
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 0x4219b6
cmp eax, edi
jne 0x4219b6
push edi
push ebx
push ebx
lea eax, [ebp - 0x8c]
push ebx
push eax
call esi
test eax, eax
je 0x421940
cmp dword [ebp - 0x88], 0xf
je 0x42198c
cmp dword [ebp - 0x88], 0x113
jne 0x4219a6
mov ecx, dword [ebp + 0x14]
push edi
call fcn.0041ce9d
jmp 0x4219a6
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 0x421940
jmp 0x42195b
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 [0x445424], eax
je 0x4219db
push dword [ebp - 0x14]
call esi
push dword [ebp - 0x10]
call esi
cmp dword [ebp - 0x24], ebx
pop edi
pop esi
pop ebx
je 0x4219f1
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