Function at 0x421616
Capabilities:
Create process on windows

Disassembly:
push 0x74
mov eax, 0x43aff7
call fcn.00438ae6
mov dword [ebp - 0x44], edx
mov edi, ecx
xor ebx, ebx
lea ecx, [ebp + 8]
mov dword [ebp - 4], ebx
call fcn.00405d1e
test al, al
jne 0x4218c3
call fcn.00401891
mov esi, eax
cmp esi, 0x10000
jae 0x4218c3
push 0x3c
lea eax, [ebp - 0x80]
push ebx
push eax
call fcn.00424d40
add esp, 0xc
mov dword [ebp - 0x80], 0x3c
mov dword [ebp - 0x7c], 0x1c0
cmp byte [ebp + 0x20], bl
je 0x421678
mov dword [ebp - 0x7c], 0x5c0
push ebx
lea ecx, [ebp + 8]
call fcn.00402374
push 0x22
pop ecx
cmp word [eax], cx
jne 0x421693
push 1
lea ecx, [ebp + 8]
call fcn.00402374
mov dword [ebp - 0x70], eax
mov edx, ebx
test esi, esi
je 0x421705
push edx
lea ecx, [ebp + 8]
call fcn.00402374
push 0x22
pop ecx
cmp word [eax], cx
jne 0x4216d8
lea ecx, [ebp + 8]
inc edx
call fcn.00401891
mov esi, eax
jmp 0x4216cc
push edx
lea ecx, [ebp + 8]
call fcn.00402374
push 0x22
pop ecx
cmp word [eax], cx
je 0x4216d2
inc edx
cmp edx, esi
jb 0x4216ba
jmp 0x4216d8
push 0x20
pop ecx
mov word [eax], cx
push edx
lea ecx, [ebp + 8]
call fcn.00402374
push 0x20
pop ecx
inc edx
cmp word [eax], cx
je 0x421730
push edx
lea ecx, [ebp + 8]
call fcn.00402374
cmp word [eax], 0x2f
je 0x421735
lea ecx, [ebp + 8]
call fcn.00401891
cmp edx, eax
jb 0x42169c
mov eax, dword [ebp - 0x6c]
test eax, eax
je 0x421711
cmp word [eax], bx
jne 0x421743
mov bh, byte [ebp + 0x20]
test bh, bh
jne 0x421746
mov ecx, 0x44a9d8
call fcn.00405d1e
test al, al
jne 0x421746
call fcn.0040126f
mov dword [ebp - 0x6c], eax
jmp 0x421746
xor ecx, ecx
mov word [eax], cx
push edx
lea ecx, [ebp + 8]
call fcn.00402374
mov dword [ebp - 0x6c], eax
jmp 0x421708
mov bh, byte [ebp + 0x20]
mov eax, dword [ebp - 0x44]
mov ecx, dword [ebp - 0x70]
mov dword [ebp - 0x64], eax
call fcn.00410ec7
mov esi, eax
test esi, esi
je 0x421771
mov edx, str..inf
mov ecx, esi
call fcn.0041897d
test eax, eax
jne 0x421771
mov dword [ebp - 0x74], 0x443a14
push dword [ebp - 0x70]
lea ecx, [ebp - 0x28]
call fcn.00401d16
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 1
call fcn.0040f334
lea ecx, [ebp - 0x28]
mov bl, al
call fcn.00401e5c
lea ecx, [ebp - 0x40]
call fcn.004021e6
mov byte [ebp - 4], 2
test bl, bl
je 0x4217cf
push dword [ebp - 0x70]
lea ecx, [ebp - 0x28]
call fcn.00401d16
lea edx, [ebp - 0x40]
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x28]
call fcn.004114c0
lea ecx, [ebp - 0x28]
call fcn.00401e5c
lea ecx, [ebp - 0x40]
call fcn.0040126f
mov dword [ebp - 0x70], eax
lea eax, [ebp - 0x80]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
je 0x4218bb
cmp byte [0x44a998], 0
jne 0x4217f6
test bh, bh
jne 0x4217f6
cmp byte [0x44a972], bh
je 0x421864
test edi, edi
je 0x421813
push edi
call dword [sym.imp.USER32.dll_IsWindowVisible]
xor ebx, ebx
test eax, eax
je 0x421815
push ebx
push edi
call dword [sym.imp.USER32.dll_ShowWindow]
mov bl, 1
jmp 0x421815
xor ebx, ebx
push 0x7d0
push dword [ebp - 0x48]
call dword [sym.imp.USER32.dll_WaitForInputIdle]
mov ecx, dword [ebp - 0x48]
call fcn.004218d3
cmp byte [0x44a972], 0
je 0x421866
cmp byte [ebp + 0x20], 0
jne 0x421866
lea eax, [ebp - 0x44]
push eax
push dword [ebp - 0x48]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test eax, eax
je 0x421866
mov eax, dword [ebp - 0x44]
cmp eax, dword [0x44aeac]
jbe 0x42185b
mov dword [0x44aeac], eax
mov byte [0x44a973], 1
jmp 0x421866
xor ebx, ebx
push dword [ebp - 0x48]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test esi, esi
je 0x421883
mov edx, str..exe
mov ecx, esi
call fcn.0041897d
test eax, eax
je 0x4218a7
cmp byte [0x44a998], 0
mov al, byte [ebp + 0x20]
je 0x4218aa
test al, al
jne 0x4218aa
cmp byte [0x44a972], al
jne 0x4218aa
mov dword [0x44aec8], 0x1b58
jmp 0x4218aa
mov al, byte [ebp + 0x20]
test bl, bl
je 0x4218bb
test al, al
je 0x4218bb
push 1
push edi
call dword [sym.imp.USER32.dll_ShowWindow]
lea ecx, [ebp - 0x40]
call fcn.00401e5c
lea ecx, [ebp + 8]
call fcn.00401e5c
call fcn.00438a95
ret 0x1c