Function at 0x412f80
Capabilities:
Check if file exists
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x454c81
mov eax, dword fs:[0]
push eax
sub esp, 0x66c
mov eax, dword [0x46c018]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov ebx, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
push edi
call ebx
test eax, eax
je 0x413389
mov esi, dword [sym.imp.ole32.dll_CoInitializeEx]
push 6
push 0
mov dword [ebp - method.QMTShortCut.virtual_0], vtable.QMTShortCut.0
mov dword [ebp - method.CQMTInitializeCOMThread.virtual_0], vtable.CQMTInitializeCOMThread.0
mov dword [ebp - 0x650], 0
call esi
mov ecx, dword [ebp - 0x650]
mov edx, 1
test eax, eax
mov dword [ebp - 0x64c], 0
mov dword [ebp - 0x648], 0
cmove ecx, edx
mov dword [ebp - 0x644], edx
mov dword [ebp - 0x650], ecx
push edi
mov dword [ebp - 4], 0
call ebx
test eax, eax
je 0x413179
mov eax, dword [ebp - 0x648]
test eax, eax
je 0x413047
mov dword [ebp - 0x648], 0
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x64c]
test eax, eax
je 0x413061
mov dword [ebp - 0x64c], 0
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea eax, [ebp - 0x64c]
push eax
push 0x457380
push 1
push 0
push 0x4573c0
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x413179
mov ecx, dword [ebp - 0x64c]
test ecx, ecx
je 0x41309f
mov eax, dword [ecx]
lea edx, [ebp - 0x648]
push edx
push 0x4573d0
push ecx
call dword [eax]
mov eax, dword [ebp - 0x648]
push 0
mov dword [ebp - 0x644], 1
push edi
mov ecx, dword [eax]
push eax
call dword [ecx + 0x14]
push edi
mov esi, eax
lea eax, [ebp - 0x640]
push 0x104
push eax
call fcn.0043b794
add esp, 0xc
test esi, esi
js 0x413173
push 0x20a
lea eax, [ebp - 0x220]
push 0
push eax
call fcn.0042f000
mov eax, dword [ebp - 0x64c]
lea edx, [ebp - 0x220]
add esp, 0xc
mov ecx, dword [eax]
push 0
push 0
push 0x104
push edx
push eax
call dword [ecx + 0xc]
test eax, eax
js 0x413121
lea eax, [ebp - 0x220]
push eax
call ebx
test eax, eax
jne 0x413121
xor ebx, ebx
jmp 0x4132f5
cmp dword [ebp - 0x644], 2
jne 0x41313f
mov eax, dword [ebp - 0x648]
lea edx, [ebp - 0x640]
push 0
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x18]
mov eax, dword [ebp - 0x648]
test eax, eax
je 0x413159
mov dword [ebp - 0x648], 0
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x64c]
test eax, eax
je 0x413173
mov dword [ebp - 0x64c], 0
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov esi, dword [sym.imp.ole32.dll_CoInitializeEx]
call fcn.00415480
cmp eax, 6
jne 0x4131b3
push str.WIN7
push 0x46cca0
call fcn.00415860
add esp, 8
push 0
push 0
push 0
push edi
push str.startpin
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov ebx, 1
jmp 0x4132f5
push 0x20a
lea eax, [ebp - 0x430]
push 0
push eax
call fcn.0042f000
add esp, 0xc
mov dword [ebp - method.QMTVerb.virtual_0], vtable.QMTVerb.0
mov dword [ebp - method.CQMTInitializeCOMThread.virtual_0], vtable.CQMTInitializeCOMThread.0
mov dword [ebp - 0x668], 0
push 6
push 0
call esi
mov ecx, dword [ebp - 0x668]
test eax, eax
mov eax, 1
cmove ecx, eax
mov dword [ebp - 0x668], ecx
mov dword [ebp - 0x664], 0
mov byte [ebp - 4], 2
push 0x2c
mov dword [ebp - 0x660], 0
mov dword [ebp - 0x65c], 0
call fcn.0042cd41
add esp, 4
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [ebp - 0x660], eax
mov eax, dword [ebp - 0x664]
test eax, eax
je 0x41325d
mov dword [ebp - 0x664], 0
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push ecx
lea eax, [ebp - 0x430]
mov byte [ebp - 4], 3
push eax
push ecx
lea ecx, [ebp - 0x670]
call fcn.00416590
test eax, eax
jns 0x41327d
xor ebx, ebx
jmp 0x413297
lea eax, [ebp - 0x430]
push eax
push edi
lea ecx, [ebp - 0x670]
call fcn.004160e0
xor ebx, ebx
test eax, eax
setns bl
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x660]
mov dword [ebp - method.QMTVerb.virtual_0], vtable.QMTVerb.0
push dword [eax + 4]
lea eax, [ebp - 0x660]
push eax
mov ecx, eax
call fcn.00416860
push 0x2c
push dword [ebp - 0x660]
call fcn.0042cd10
mov ecx, dword [ebp - 0x664]
add esp, 8
test ecx, ecx
je 0x4132dc
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
cmp dword [ebp - 0x668], 0
mov dword [ebp - method.CQMTInitializeCOMThread.virtual_0], vtable.CQMTInitializeCOMThread.0
je 0x4132f5
call dword [sym.imp.ole32.dll_CoUninitialize]
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x648]
mov dword [ebp - method.QMTShortCut.virtual_0], vtable.QMTShortCut.0
test ecx, ecx
je 0x41332a
mov eax, ecx
xor ecx, ecx
mov dword [ebp - 0x648], ecx
test eax, eax
je 0x41332a
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov ecx, dword [ebp - 0x648]
mov edx, dword [ebp - 0x64c]
test edx, edx
je 0x413354
mov eax, edx
xor edx, edx
mov dword [ebp - 0x64c], edx
test eax, eax
je 0x413354
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov ecx, dword [ebp - 0x648]
mov edx, dword [ebp - 0x64c]
test ecx, ecx
je 0x413364
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov edx, dword [ebp - 0x64c]
test edx, edx
je 0x41336e
mov eax, dword [edx]
push edx
call dword [eax + 8]
cmp dword [ebp - 0x650], 0
mov dword [ebp - method.CQMTInitializeCOMThread.virtual_0], vtable.CQMTInitializeCOMThread.0
je 0x413387
call dword [sym.imp.ole32.dll_CoUninitialize]
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0042cd02
mov esp, ebp
pop ebp
ret