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

Disassembly:
mov rax, rsp
push rsi
push rdi
push r12
sub rsp, 0x80
mov qword [rsp + 0x48], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbp
mov rax, qword [0x140055b28]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov rbp, rcx
xor r12d, r12d
mov rbx, r12
mov qword [rsp + 0x38], rbx
mov rcx, r12
mov qword [rsp + 0x30], rcx
mov rdi, qword [rbp + 0xb8]
test rdi, rdi
je 0x1400168ac
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov rcx, rdi
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov rbx, rax
mov qword [rsp + 0x38], rax
test rax, rax
jne 0x1400168a7
mov ecx, 0x8007000e
call fcn.14000e230
int3
mov rcx, qword [rsp + 0x30]
mov rdi, qword [rbp + 0xc0]
cmp rdi, rcx
je 0x1400168e6
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
test rdi, rdi
je 0x1400168e1
mov rcx, rdi
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov qword [rsp + 0x30], rax
test rax, rax
jne 0x1400168e6
mov ecx, 0x8007000e
call fcn.14000e230
int3
mov qword [rsp + 0x30], r12
cmp byte [rbp + 0xc8], 0
jne 0x14001690f
mov rcx, rbx
call qword [sym.imp.OLEAUT32.dll_VariantInit]
test eax, eax
je 0x14001690f
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.OLEAUT32.dll_VariantInit]
test eax, eax
jne 0x140016a15
lea r9, str..nrg_.bin_.ccd_.cue_.iso_.isz_.vcd_.ape_.flac_.wv_.mds_.mdf_.img_
mov r8d, 0x2793
lea rdx, [rsp + 0x38]
mov rcx, rbp
call fcn.140015240
test eax, eax
jne 0x140016949
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
nop
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
jmp 0x140016d13
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.OLEAUT32.dll_VariantInit]
test eax, eax
jne 0x140016a10
mov rbx, qword [rsp + 0x38]
mov rcx, rbx
call qword [sym.imp.SHLWAPI.dll_PathFindExtensionW]
mov rdi, rax
lea rdx, str..zip
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x1400169b5
lea rdx, str..mou
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x1400169b5
lea rdx, str..wim
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x1400169b5
lea rcx, [rsp + 0x30]
call fcn.14001ec30
jmp 0x140016a15
test rbx, rbx
jne 0x1400169bf
mov rdi, r12
jmp 0x1400169d6
mov rcx, rbx
call qword [sym.imp.OLEAUT32.dll_SysAllocStringByteLen]
mov edx, eax
mov rcx, rbx
call qword [sym.imp.OLEAUT32.dll_DllRegisterServer]
mov rdi, rax
mov rcx, qword [rsp + 0x30]
cmp rdi, rcx
je 0x140016a15
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
test rdi, rdi
je 0x140016a09
mov rcx, rdi
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov qword [rsp + 0x30], rax
test rax, rax
jne 0x140016a15
mov ecx, 0x8007000e
call fcn.14000e230
int3
mov qword [rsp + 0x30], r12
jmp 0x140016a15
mov rbx, qword [rsp + 0x38]
mov edx, 0x27dd
lea r9d, [rdx + 0x3c]
lea r8d, [rdx + 0x3b]
mov rcx, rbp
call fcn.1400130e0
mov rcx, qword [rbp + 0xa0]
mov rax, qword [rcx]
lea r9, [rbp + 0x50]
mov r8, qword [rsp + 0x30]
mov rdx, rbx
call qword [rax + 0x28]
mov edx, eax
test eax, eax
js 0x140016ae8
test eax, eax
jne 0x140016acf
mov r9, rbx
mov edx, 0x27dd
lea r8d, [rdx + 0x40]
mov rcx, rbp
call fcn.140013250
call fcn.14001fb70
test eax, eax
je 0x140016cfe
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov edi, r12d
nop dword [rax + rax]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x140016aa6
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
inc edi
cmp edi, 0xa
jl 0x140016a80
jmp 0x140016cfe
mov dword [rsp + 0x28], 5
mov qword [rsp + 0x20], r12
xor r9d, r9d
mov r8, qword [rsp + 0x30]
lea rdx, [0x140044038]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_ShellExecuteW]
jmp 0x140016cfe
mov r9, rbx
mov edx, 0x27dd
lea r8d, [rdx + 0x23]
mov rcx, rbp
call fcn.140013250
jmp 0x140016cfe
cmp eax, 0xeeee0001
jne 0x140016bed
mov qword [rsp + 0x40], r12
mov rcx, rbx
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov rbx, r12
mov qword [rsp + 0x38], rbx
mov ecx, 0x27ff
call fcn.140010590
test rax, rax
je 0x140016b2d
movzx edx, word [rax]
lea rcx, [rax + 2]
call qword [sym.imp.OLEAUT32.dll_SysReAllocStringLen]
mov rbx, rax
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x70], 7
mov qword [rsp + 0x68], r12
mov word [rsp + 0x58], r12w
xor eax, eax
or rcx, 0xffffffffffffffff
mov rdi, rbx
repne scasw ax, word [rdi]
not rcx
lea r8, [rcx - 1]
mov rdx, rbx
lea rcx, [rsp + 0x50]
call fcn.1400013b0
nop
mov r8d, 2
lea rdx, [0x140044138]
lea rcx, [rsp + 0x50]
call fcn.140015620
xor eax, eax
or rcx, 0xffffffffffffffff
xor edi, edi
repne scasw ax, word [rdi]
not rcx
lea r8, [rcx - 1]
xor edx, edx
lea rcx, [rsp + 0x50]
call fcn.140015620
lea r9, [rsp + 0x58]
cmp qword [rsp + 0x70], 8
cmovae r9, qword [rsp + 0x58]
mov edx, 0x27dd
lea r8d, [rdx + 0x21]
mov rcx, rbp
call fcn.140013250
nop
cmp qword [rsp + 0x70], 8
jb 0x140016bcc
mov rcx, qword [rsp + 0x58]
call fcn.1400245c0
mov qword [rsp + 0x70], 7
mov qword [rsp + 0x68], r12
mov word [rsp + 0x58], r12w
xor ecx, ecx
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
jmp 0x140016cfe
cmp eax, 0xeeee0002
jne 0x140016cec
xor ecx, ecx
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov rsi, r12
mov qword [rsp + 0x40], r12
mov ecx, 0x27fd
call fcn.140010590
test rax, rax
je 0x140016c2c
movzx edx, word [rax]
lea rcx, [rax + 2]
call qword [sym.imp.OLEAUT32.dll_SysReAllocStringLen]
mov rsi, rax
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x70], 7
mov qword [rsp + 0x68], r12
mov word [rsp + 0x58], r12w
xor eax, eax
or rcx, 0xffffffffffffffff
mov rdi, rbx
repne scasw ax, word [rdi]
not rcx
lea r8, [rcx - 1]
mov rdx, rbx
lea rcx, [rsp + 0x50]
call fcn.1400013b0
nop
mov r8d, 2
lea rdx, [0x140044138]
lea rcx, [rsp + 0x50]
call fcn.140015620
xor eax, eax
or rcx, 0xffffffffffffffff
mov rdi, rsi
repne scasw ax, word [rdi]
not rcx
lea r8, [rcx - 1]
mov rdx, rsi
lea rcx, [rsp + 0x50]
call fcn.140015620
lea r9, [rsp + 0x58]
cmp qword [rsp + 0x70], 8
cmovae r9, qword [rsp + 0x58]
mov edx, 0x27dd
lea r8d, [rdx + 0x21]
mov rcx, rbp
call fcn.140013250
nop
cmp qword [rsp + 0x70], 8
jb 0x140016ccd
mov rcx, qword [rsp + 0x58]
call fcn.1400245c0
mov qword [rsp + 0x70], 7
mov qword [rsp + 0x68], r12
mov word [rsp + 0x58], r12w
mov rcx, rsi
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
jmp 0x140016cfe
cmp eax, 0x80004004
je 0x140016cfe
mov rax, qword [rbp + 0x50]
lea rcx, [rbp + 0x50]
call qword [rax]
nop
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
nop
mov rcx, rbx
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.1400253c0
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsp, r11
pop r12
pop rdi
pop rsi
ret