Function at 0x416890
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x525ab7
mov eax, dword fs:[0]
push eax
sub esp, 0x7d4
mov eax, dword [0x581500]
xor eax, esp
mov dword [esp + 0x7d0], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x581500]
xor eax, esp
push eax
lea eax, [esp + 0x7e8]
mov dword fs:[0], eax
cmp byte [0x58e9a4], 0
mov edi, ecx
mov ebx, edx
jne 0x416bfb
mov eax, dword [0x58e9a8]
test eax, eax
je 0x4168f1
push ebx
push edi
call eax
add esp, 8
jmp 0x416bfb
lea ecx, [esp + 0x14]
call fcn.004114e0
lea esi, [esp + 0x5dc]
mov dword [esp + 0x7f0], 0
call fcn.00416690
test eax, eax
je 0x416b4f
lea ecx, [esp + 0x13c]
call fcn.004114e0
mov eax, esi
lea edx, [esp + 0x13c]
call fcn.00411710
lea ecx, [esp + 0x38c]
call fcn.004114e0
mov eax, esi
lea edx, [esp + 0x38c]
call fcn.00411710
mov eax, dword [esp + 0x140]
push eax
lea eax, [esp + 0x140]
call fcn.00411e50
lea ebx, [esp + 0x140]
call fcn.00411c10
lea eax, [esp + 0x38c]
call fcn.00411e50
inc eax
push eax
xor eax, eax
lea ebx, [esp + 0x390]
call fcn.00411c10
lea ecx, [esp + 0x264]
call fcn.004114e0
push 0x55e3ac
lea ecx, [esp + 0x4b8]
call fcn.00411610
mov byte [esp + 0x7f0], 4
cmp byte [esp + 0x4a8], 0
lea esi, [esp + 0x398]
jne 0x4169c6
mov esi, dword [esp + 0x394]
push 0x55e3bc
push 0x55d15c
lea edx, [esp + 0x26c]
call fcn.00411e80
add esi, 4
push esi
push 0x55d15c
lea edx, [esp + 0x274]
call fcn.00411e80
mov eax, edi
add esp, 0x10
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x416a00
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.004fbaed
add esp, 4
cmp word [edi], 0
mov ebp, eax
mov ecx, edi
mov edx, ebp
je 0x416a98
jmp 0x416a40
mov ebx, dword [esp + 0x4b8]
test ebx, ebx
jbe 0x416a86
cmp byte [esp + 0x5d0], 0
lea edi, [esp + 0x4c0]
jne 0x416a63
mov edi, dword [esp + 0x4bc]
movzx esi, word [ecx]
xor eax, eax
cmp word [edi + eax*2 + 4], si
je 0x416a76
inc eax
cmp eax, ebx
jb 0x416a68
jmp 0x416a86
cmp eax, 0xffffffff
je 0x416a86
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 0x416a40
xor ecx, ecx
mov word [edx], cx
push 0x55d414
push 0x55d15c
lea edx, [esp + 0x26c]
call fcn.00411e80
push ebp
push 0x55d15c
lea edx, [esp + 0x274]
call fcn.00411e80
push ebp
call fcn.004fbe63
add esp, 0x14
cmp byte [esp + 0x258], 0
lea ecx, [esp + 0x148]
jne 0x416ae6
mov ecx, dword [esp + 0x144]
cmp byte [esp + 0x380], 0
lea eax, [esp + 0x270]
jne 0x416afe
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.00411680
lea ecx, [esp + 0x264]
call fcn.00411680
lea ecx, [esp + 0x38c]
call fcn.00411680
lea ecx, [esp + 0x13c]
call fcn.00411680
jmp 0x416bd4
lea edx, [esp + 0x5dc]
push edx
call fcn.00416260
add esp, 4
test eax, eax
je 0x416bc4
push 0x55c228
push 0x55d15c
lea edx, [esp + 0x1c]
call fcn.00411e80
lea eax, [esp + 0x5e4]
push eax
push 0x55d15c
lea edx, [esp + 0x24]
call fcn.00411e80
push 0x55c228
push 0x55d15c
lea edx, [esp + 0x2c]
call fcn.00411e80
add esp, 0x18
cmp byte [esp + 0x130], 0
lea eax, [esp + 0x20]
jne 0x416bb4
mov eax, dword [esp + 0x1c]
push 5
push 0
push edi
add eax, 4
push eax
push str.open
jmp 0x416bcd
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 0x416bfb
mov eax, dword [esp + 0x1c]
lea ecx, [esp + 0x20]
cmp eax, ecx
je 0x416bfb
push eax
call fcn.004faac5
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.004fa259
add esp, 0x7e0
ret