Function at 0x140009a10
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov rax, rsp
push rsi
push rdi
push r14
sub rsp, 0x80
mov qword [rax - 0x28], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov r14, rdx
mov rdi, rcx
lea rdx, [rax + 0x20]
call fcn.14000c7c0
nop
mov rcx, qword [rsp + 0xb8]
cmp dword [rcx - 0x10], 0
jne 0x140009a5f
xor eax, eax
mov dword [rsp + 0x44], eax
lea rdx, [0x140016400]
lea rcx, [rsp + 0x44]
call sub.MSVCR120.dll__CxxThrowException
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x140009a81
xor eax, eax
mov dword [rsp + 0x3c], eax
lea rdx, [0x140016400]
lea rcx, [rsp + 0x3c]
call sub.MSVCR120.dll__CxxThrowException
lea rcx, [rsp + 0xb8]
call qword [sym.imp.mfc120u.dll_Ordinal_4856]
mov rcx, rax
call qword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
or rbx, 0xffffffffffffffff
mov edx, ebx
lea rcx, [rsp + 0xb8]
call qword [sym.imp.mfc120u.dll_Ordinal_12110]
lea rdx, str.install.log
lea rcx, [rsp + 0xb8]
call qword [sym.imp.mfc120u.dll_Ordinal_2373]
mov rcx, qword [rsp + 0xb8]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x140009aeb
xor eax, eax
mov dword [rsp + 0x30], eax
lea rdx, [0x140016400]
lea rcx, [rsp + 0x30]
call sub.MSVCR120.dll__CxxThrowException
mov r8d, 0x40
mov rdx, qword [rsp + 0xb8]
lea rcx, [rsp + 0x48]
call qword [sym.imp.mfc120u.dll_Ordinal_486]
nop
mov esi, 0x400
lea rcx, [rsp + 0x48]
call qword [sym.imp.mfc120u.dll_Ordinal_5578]
cmp rax, 0x800
jae 0x140009b2b
lea rcx, [rsp + 0x48]
call qword [sym.imp.mfc120u.dll_Ordinal_5578]
mov rsi, rax
mov ecx, esi
neg ecx
add ecx, ecx
movsxd rdx, ecx
mov r8d, 2
lea rcx, [rsp + 0x48]
call qword [sym.imp.mfc120u.dll_Ordinal_12594]
lea rcx, [rsp + 0xb0]
call qword [sym.imp.mfc120u.dll_Ordinal_296]
nop
lea edx, [rsi + 1]
lea rcx, [rsp + 0xb0]
call qword [sym.imp.mfc120u.dll_Ordinal_4855]
lea r8d, [rsi + rsi]
mov rdx, rax
lea rcx, [rsp + 0x48]
call qword [sym.imp.mfc120u.dll_Ordinal_11903]
mov edx, esi
lea rcx, [rsp + 0xb0]
call qword [sym.imp.mfc120u.dll_Ordinal_12110]
lea rdx, [rsp + 0x20]
mov rcx, rdi
call fcn.14000c250
mov rax, qword [rax]
nop word [rax + rax]
inc rbx
cmp word [rax + rbx*2], 0
jne 0x140009ba0
test rbx, rbx
sete bl
lea rcx, [rsp + 0x20]
call qword [sym.imp.mfc120u.dll_Ordinal_1030]
test bl, bl
je 0x140009bd6
xor eax, eax
mov dword [rsp + 0x40], eax
lea rdx, [0x140016400]
lea rcx, [rsp + 0x40]
call sub.MSVCR120.dll__CxxThrowException
lea rdx, [rsp + 0x20]
mov rcx, rdi
call fcn.14000c250
xor r8d, r8d
mov rdx, qword [rax]
lea rcx, [rsp + 0xb0]
call qword [sym.imp.mfc120u.dll_Ordinal_4467]
mov ebx, eax
lea rcx, [rsp + 0x20]
call qword [sym.imp.mfc120u.dll_Ordinal_1030]
test ebx, ebx
jns 0x140009c1f
xor eax, eax
mov dword [rsp + 0x38], eax
lea rdx, [0x140016400]
lea rcx, [rsp + 0x38]
call sub.MSVCR120.dll__CxxThrowException
mov r8d, ebx
lea rdx, str.Nitro
lea rcx, [rsp + 0xb0]
call qword [sym.imp.mfc120u.dll_Ordinal_4467]
test eax, eax
jns 0x140009c52
xor eax, eax
mov dword [rsp + 0x28], eax
lea rdx, [0x140016400]
lea rcx, [rsp + 0x28]
call sub.MSVCR120.dll__CxxThrowException
mov r8d, eax
lea rdx, [0x140011acc]
lea rcx, [rsp + 0xb0]
call qword [sym.imp.mfc120u.dll_Ordinal_4467]
lea ebx, [rax + 1]
nop dword [rax]
mov edx, ebx
lea rcx, [rsp + 0xb0]
call qword [sym.imp.mfc120u.dll_Ordinal_1626]
movzx ecx, ax
call qword [sym.imp.MSVCR120.dll_iswdigit]
test eax, eax
jne 0x140009caa
cmp ebx, esi
jl 0x140009ca6
mov dword [rsp + 0x2c], eax
lea rdx, [0x140016400]
lea rcx, [rsp + 0x2c]
call sub.MSVCR120.dll__CxxThrowException
inc ebx
jmp 0x140009c70
mov edi, ebx
nop dword [rax]
mov edx, edi
lea rcx, [rsp + 0xb0]
call qword [sym.imp.mfc120u.dll_Ordinal_1626]
movzx ecx, ax
call qword [sym.imp.MSVCR120.dll_iswdigit]
test eax, eax
je 0x140009cec
cmp edi, esi
jl 0x140009ce8
xor eax, eax
mov dword [rsp + 0x34], eax
lea rdx, [0x140016400]
lea rcx, [rsp + 0x34]
call sub.MSVCR120.dll__CxxThrowException
inc edi
jmp 0x140009cb0
sub edi, ebx
mov r9d, edi
mov r8d, ebx
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0xb0]
call qword [sym.imp.mfc120u.dll_Ordinal_8334]
mov rcx, qword [rax]
call qword [sym.imp.MSVCR120.dll__wtoi]
mov dword [r14], eax
lea rcx, [rsp + 0x20]
call qword [sym.imp.mfc120u.dll_Ordinal_1030]
nop
lea rcx, [rsp + 0xb0]
call qword [sym.imp.mfc120u.dll_Ordinal_1030]
nop
lea rcx, [rsp + 0x48]
call qword [sym.imp.mfc120u.dll_Ordinal_1117]
nop
lea rcx, [rsp + 0xb8]
call qword [sym.imp.mfc120u.dll_Ordinal_1030]
mov al, 1
jmp 0x140009d4e
mov rbx, qword [rsp + 0xa0]
add rsp, 0x80
pop r14
pop rdi
pop rsi
ret