Function at 0x416500
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c7969
mov eax, dword fs:[0]
push eax
sub esp, 0x120
mov eax, dword [0x50e008]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x120], edx
mov edi, ecx
mov esi, dword [ebp + 0xc]
test esi, esi
je 0x416542
mov dword [esi], 0
call fcn.00402650
test al, al
je 0x416552
xor al, al
jmp 0x41692f
lea ecx, [ebp - 0x40]
call fcn.00402750
mov dword [ebp - 4], 0
lea edx, [ebp - 0x40]
mov ecx, edi
call fcn.00409890
mov edx, edi
lea ecx, [ebp - 0xcc]
call fcn.00408640
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xcc]
call fcn.00405b00
mov edx, str..exe
mov ecx, eax
call fcn.00412450
test al, al
je 0x4167b0
xorps xmm0, xmm0
mov dword [ebp - 0x84], 0x44
xor eax, eax
movlpd qword [ebp - 0x80], xmm0
mov word [ebp - 0x42], ax
lea ecx, [ebp - 0x28]
mov eax, 1
movlpd qword [ebp - 0x78], xmm0
movlpd qword [ebp - 0x70], xmm0
movlpd qword [ebp - 0x68], xmm0
movlpd qword [ebp - 0x60], xmm0
movlpd qword [ebp - 0x52], xmm0
movlpd qword [ebp - 0x4a], xmm0
movups xmmword [ebp - 0xdc], xmm0
mov word [ebp - 0x54], ax
mov dword [ebp - 0x58], 0x81
call fcn.00402750
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x28]
call fcn.00402850
mov dword [ebp - 0x128], eax
mov edx, dword [eax + 0x10]
mov dword [ebp - 0x12c], edx
cmp edx, 0x104
ja 0x416648
cmp dword [eax + 0x14], 0x104
jae 0x416648
mov byte [ebp - 0x124], 0
lea ecx, [ebp - 0x28]
push dword [ebp - 0x124]
mov eax, 0x104
sub eax, edx
push eax
call fcn.00409040
mov eax, dword [ebp - 0x128]
mov ecx, dword [ebp - 0x12c]
mov dword [eax + 0x10], ecx
push 0x4ed5e8
call fcn.00402a80
add esp, 4
lea ecx, [ebp - 0x28]
push eax
push 0x4ed5e8
call fcn.00402870
mov ecx, edi
call fcn.00402850
mov ecx, eax
cmp dword [eax + 0x14], 8
jb 0x416674
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
lea ecx, [ebp - 0x28]
call fcn.00407190
push 0x4ed5e8
call fcn.00402a80
add esp, 4
lea ecx, [ebp - 0x28]
push eax
push 0x4ed5e8
call fcn.00407190
mov ecx, dword [ebp - 0x120]
call fcn.00402650
test al, al
jne 0x4166e6
push 0x4ed610
call fcn.00402a80
add esp, 4
lea ecx, [ebp - 0x28]
push eax
push 0x4ed610
call fcn.00407190
mov ecx, dword [ebp - 0x120]
call fcn.00402850
mov ecx, eax
cmp dword [eax + 0x14], 8
jb 0x4166da
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
lea ecx, [ebp - 0x28]
call fcn.00407190
lea ecx, [ebp - 0x40]
call fcn.00402650
test al, al
je 0x4166f6
xor eax, eax
jmp 0x4166fe
lea ecx, [ebp - 0x40]
call fcn.00405b00
lea ecx, [ebp - 0xdc]
push ecx
lea ecx, [ebp - 0x84]
push ecx
push eax
push 0
push 0x30
push 0
push 0
push 0
lea ecx, [ebp - 0x28]
call fcn.00405b00
push eax
mov ecx, edi
call fcn.00405b00
push eax
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x4167a4
mov eax, dword [ebp - 0xd8]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x41674f
push eax
call edi
mov dword [ebp - 0xd8], 0
mov eax, dword [ebp - 0xdc]
test eax, eax
jne 0x41676b
mov byte [ebp - 0x119], al
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x28]
jmp 0x416906
test esi, esi
je 0x416784
mov dword [esi], eax
mov byte [ebp - 0x119], 1
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x28]
jmp 0x416906
push eax
call edi
mov dword [ebp - 0xdc], 0
mov byte [ebp - 0x119], 1
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x28]
jmp 0x416906
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x28]
call fcn.00402290
push str.open
lea ecx, [ebp - 0xb4]
call fcn.00402700
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x9c]
push dword [ebp - 0x120]
call fcn.00402770
mov byte [ebp - 4], 5
xorps xmm0, xmm0
lea ecx, [ebp - 0xb4]
movlpd qword [ebp - 0xf8], xmm0
movlpd qword [ebp - 0xf0], xmm0
movlpd qword [ebp - 0xe8], xmm0
mov dword [ebp - 0xe0], 0
mov dword [ebp - 0x118], 0x3c
mov dword [ebp - 0x110], 0
mov dword [ebp - 0x114], 0x100540
call fcn.00405b00
mov ecx, edi
mov dword [ebp - 0x10c], eax
call fcn.00405b00
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x108], eax
call fcn.00405b00
lea ecx, [ebp - 0x9c]
mov dword [ebp - 0x100], eax
call fcn.00405b00
push 0x4ed5ec
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x104], eax
mov dword [ebp - 0xfc], 1
call fcn.00402700
mov byte [ebp - 4], 6
lea eax, [ebp - 0x28]
push eax
call fcn.004131f0
mov ecx, eax
call fcn.004132b0
mov edi, eax
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x28]
call fcn.00402290
test edi, edi
je 0x4168e6
push str.ShellExecuteExW
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x4168e6
lea ecx, [ebp - 0x118]
push ecx
call eax
test eax, eax
je 0x4168e6
mov eax, dword [ebp - 0xe0]
test eax, eax
je 0x4168e6
test esi, esi
je 0x4168cc
mov dword [esi], eax
mov byte [ebp - 0x119], 1
jmp 0x4168ed
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0xe0], 0
mov byte [ebp - 0x119], 1
jmp 0x4168ed
mov byte [ebp - 0x119], 0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x9c]
call fcn.00402290
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xb4]
call fcn.00402290
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xcc]
call fcn.00402290
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
call fcn.00402290
mov al, byte [ebp - 0x119]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004a100a
mov esp, ebp
pop ebp
ret