Function at 0x421666
Capabilities:
Create process on windows

Disassembly:
push 0x74
mov eax, 0x43b079
call fcn.00438b26
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 0x421913
call fcn.00401891
mov esi, eax
cmp esi, 0x10000
jae 0x421913
push 0x3c
lea eax, [ebp - 0x80]
push ebx
push eax
call fcn.00424d90
add esp, 0xc
mov dword [ebp - 0x80], 0x3c
mov dword [ebp - 0x7c], 0x1c0
cmp byte [ebp + 0x20], bl
je 0x4216c8
mov dword [ebp - 0x7c], 0x5c0
push ebx
lea ecx, [ebp + 8]
call fcn.00402374
push 0x22
pop ecx
cmp word [eax], cx
jne 0x4216e3
push 1
lea ecx, [ebp + 8]
call fcn.00402374
mov dword [ebp - 0x70], eax
mov edx, ebx
test esi, esi
je 0x421755
push edx
lea ecx, [ebp + 8]
call fcn.00402374
push 0x22
pop ecx
cmp word [eax], cx
jne 0x421728
lea ecx, [ebp + 8]
inc edx
call fcn.00401891
mov esi, eax
jmp 0x42171c
push edx
lea ecx, [ebp + 8]
call fcn.00402374
push 0x22
pop ecx
cmp word [eax], cx
je 0x421722
inc edx
cmp edx, esi
jb 0x42170a
jmp 0x421728
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 0x421780
push edx
lea ecx, [ebp + 8]
call fcn.00402374
cmp word [eax], 0x2f
je 0x421785
lea ecx, [ebp + 8]
call fcn.00401891
cmp edx, eax
jb 0x4216ec
mov eax, dword [ebp - 0x6c]
test eax, eax
je 0x421761
cmp word [eax], bx
jne 0x421793
mov bh, byte [ebp + 0x20]
test bh, bh
jne 0x421796
mov ecx, 0x44a9d8
call fcn.00405d1e
test al, al
jne 0x421796
call fcn.0040126f
mov dword [ebp - 0x6c], eax
jmp 0x421796
xor ecx, ecx
mov word [eax], cx
push edx
lea ecx, [ebp + 8]
call fcn.00402374
mov dword [ebp - 0x6c], eax
jmp 0x421758
mov bh, byte [ebp + 0x20]
mov eax, dword [ebp - 0x44]
mov ecx, dword [ebp - 0x70]
mov dword [ebp - 0x64], eax
call fcn.00410e97
mov esi, eax
test esi, esi
je 0x4217c1
mov edx, str..inf
mov ecx, esi
call fcn.004189e0
test eax, eax
jne 0x4217c1
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.0040f304
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 0x42181f
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.00411490
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 0x42190b
cmp byte [0x44a998], 0
jne 0x421846
test bh, bh
jne 0x421846
cmp byte [0x44a972], bh
je 0x4218b4
test edi, edi
je 0x421863
push edi
call dword [sym.imp.USER32.dll_IsWindowVisible]
xor ebx, ebx
test eax, eax
je 0x421865
push ebx
push edi
call dword [sym.imp.USER32.dll_ShowWindow]
mov bl, 1
jmp 0x421865
xor ebx, ebx
push 0x7d0
push dword [ebp - 0x48]
call dword [sym.imp.USER32.dll_WaitForInputIdle]
mov ecx, dword [ebp - 0x48]
call fcn.00421923
cmp byte [0x44a972], 0
je 0x4218b6
cmp byte [ebp + 0x20], 0
jne 0x4218b6
lea eax, [ebp - 0x44]
push eax
push dword [ebp - 0x48]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test eax, eax
je 0x4218b6
mov eax, dword [ebp - 0x44]
cmp eax, dword [0x44aeac]
jbe 0x4218ab
mov dword [0x44aeac], eax
mov byte [0x44a973], 1
jmp 0x4218b6
xor ebx, ebx
push dword [ebp - 0x48]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test esi, esi
je 0x4218d3
mov edx, str..exe
mov ecx, esi
call fcn.004189e0
test eax, eax
je 0x4218f7
cmp byte [0x44a998], 0
mov al, byte [ebp + 0x20]
je 0x4218fa
test al, al
jne 0x4218fa
cmp byte [0x44a972], al
jne 0x4218fa
mov dword [0x44aec8], 0x1b58
jmp 0x4218fa
mov al, byte [ebp + 0x20]
test bl, bl
je 0x42190b
test al, al
je 0x42190b
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.00438ad5
ret 0x1c