Function at 0x421d70
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x510b97
mov eax, dword fs:[0]
push eax
sub esp, 0x7d4
mov eax, dword [0x56957c]
xor eax, esp
mov dword [esp + 0x7d0], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x56957c]
xor eax, esp
push eax
lea eax, [esp + 0x7e8]
mov dword fs:[0], eax
cmp byte [0x571bc5], 0
mov edi, ecx
mov ebx, edx
jne 0x4220db
mov eax, dword [0x571bc8]
test eax, eax
je 0x421dd1
push ebx
push edi
call eax
add esp, 8
jmp 0x4220db
lea ecx, [esp + 0x14]
call fcn.004174b0
lea esi, [esp + 0x5dc]
mov dword [esp + 0x7f0], 0
call fcn.00421b70
test eax, eax
je 0x42202f
lea ecx, [esp + 0x13c]
call fcn.004174b0
mov eax, esi
lea edx, [esp + 0x13c]
call fcn.00417710
lea ecx, [esp + 0x38c]
call fcn.004174b0
mov eax, esi
lea edx, [esp + 0x38c]
call fcn.00417710
mov eax, dword [esp + 0x140]
push eax
lea eax, [esp + 0x140]
call fcn.00417ea0
lea ebx, [esp + 0x140]
call fcn.00417c90
lea eax, [esp + 0x38c]
call fcn.00417ea0
inc eax
push eax
xor eax, eax
lea ebx, [esp + 0x390]
call fcn.00417c90
lea ecx, [esp + 0x264]
call fcn.004174b0
push str.____
lea ecx, [esp + 0x4b8]
call fcn.004175e0
mov byte [esp + 0x7f0], 4
cmp byte [esp + 0x4a8], 0
lea esi, [esp + 0x398]
jne 0x421ea6
mov esi, dword [esp + 0x394]
push 0x54b57c
push 0x549858
lea edx, [esp + 0x26c]
call fcn.00417ed0
add esi, 4
push esi
push 0x549858
lea edx, [esp + 0x274]
call fcn.00417ed0
mov eax, edi
add esp, 0x10
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x421ee0
sub eax, edx
sar eax, 1
xor ecx, ecx
lea eax, [eax + eax + 1]
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004ecd60
add esp, 4
cmp word [edi], 0
mov ebp, eax
mov ecx, edi
mov edx, ebp
je 0x421f78
jmp 0x421f20
mov ebx, dword [esp + 0x4b8]
test ebx, ebx
jbe 0x421f66
cmp byte [esp + 0x5d0], 0
lea edi, [esp + 0x4c0]
jne 0x421f43
mov edi, dword [esp + 0x4bc]
movzx esi, word [ecx]
xor eax, eax
cmp word [edi + eax*2 + 4], si
je 0x421f56
inc eax
cmp eax, ebx
jb 0x421f48
jmp 0x421f66
cmp eax, 0xffffffff
je 0x421f66
mov eax, 0x5e
mov word [edx], ax
add edx, 2
mov ax, word [ecx]
mov word [edx], ax
add ecx, 2
add edx, 2
cmp word [ecx], 0
jne 0x421f20
xor ecx, ecx
mov word [edx], cx
push 0x544c84
push 0x549858
lea edx, [esp + 0x26c]
call fcn.00417ed0
push ebp
push 0x549858
lea edx, [esp + 0x274]
call fcn.00417ed0
push ebp
call fcn.004ef1ac
add esp, 0x14
cmp byte [esp + 0x258], 0
lea ecx, [esp + 0x148]
jne 0x421fc6
mov ecx, dword [esp + 0x144]
cmp byte [esp + 0x380], 0
lea eax, [esp + 0x270]
jne 0x421fde
mov eax, dword [esp + 0x26c]
push 0
add ecx, 4
push ecx
add eax, 4
push eax
push str.cmd.exe
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
lea ecx, [esp + 0x4b4]
call fcn.00417650
lea ecx, [esp + 0x264]
call fcn.00417650
lea ecx, [esp + 0x38c]
call fcn.00417650
lea ecx, [esp + 0x13c]
call fcn.00417650
jmp 0x4220b4
lea edx, [esp + 0x5dc]
push edx
call fcn.00421740
add esp, 4
test eax, eax
je 0x4220a4
push 0x54644c
push 0x549858
lea edx, [esp + 0x1c]
call fcn.00417ed0
lea eax, [esp + 0x5e4]
push eax
push 0x549858
lea edx, [esp + 0x24]
call fcn.00417ed0
push 0x54644c
push 0x549858
lea edx, [esp + 0x2c]
call fcn.00417ed0
add esp, 0x18
cmp byte [esp + 0x130], 0
lea eax, [esp + 0x20]
jne 0x422094
mov eax, dword [esp + 0x1c]
push 5
push 0
push edi
add eax, 4
push eax
push str.open
jmp 0x4220ad
push 5
push 0
push 0
push edi
push 0
push ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp byte [esp + 0x130], 0
mov dword [esp + 0x14], vtable.t_str.0
jne 0x4220db
mov eax, dword [esp + 0x1c]
lea ecx, [esp + 0x20]
cmp eax, ecx
je 0x4220db
push eax
call fcn.004ed7b6
add esp, 4
mov ecx, dword [esp + 0x7e8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x7d0]
xor ecx, esp
call fcn.004ecddb
add esp, 0x7e0
ret