Function at 0x180009350
Capabilities:
Check if file exists

Disassembly:
mov rax, rsp
push rbp
lea rbp, [rax - 0x5f]
sub rsp, 0xc0
mov qword [rbp - 0x39], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x1801c2938]
xor rax, rsp
mov qword [rbp + 0x47], rax
mov rbx, rcx
mov qword [rbp - 0x41], rcx
xor esi, esi
mov dword [rbp - 0x49], esi
mov qword [rbp - 0x19], 7
mov qword [rbp - 0x21], rsi
mov word [rbp - 0x31], si
lea rcx, [rbp - 9]
call fcn.1800470a0
mov rdi, rax
lea rax, [rbp - 0x31]
cmp rax, rdi
je 0x18000941a
cmp qword [rbp - 0x19], 8
jb 0x1800093c2
mov rcx, qword [rbp - 0x31]
call fcn.1800be828
mov qword [rbp - 0x19], 7
mov qword [rbp - 0x21], rsi
mov word [rbp - 0x31], si
cmp qword [rdi + 0x18], 8
jae 0x1800093f1
mov r8, qword [rdi + 0x10]
inc r8
add r8, r8
mov rdx, rdi
lea rcx, [rbp - 0x31]
call fcn.1800be2a0
jmp 0x1800093fb
mov rax, qword [rdi]
mov qword [rbp - 0x31], rax
mov qword [rdi], rsi
mov rax, qword [rdi + 0x10]
mov qword [rbp - 0x21], rax
mov rax, qword [rdi + 0x18]
mov qword [rbp - 0x19], rax
mov qword [rdi + 0x18], 7
mov qword [rdi + 0x10], rsi
mov word [rdi], si
cmp qword [rbp + 0xf], 8
jb 0x18000942a
mov rcx, qword [rbp - 9]
call fcn.1800be828
mov qword [rbp + 0xf], 7
mov qword [rbp + 7], rsi
mov word [rbp - 9], si
cmp qword [rbp - 0x21], 0
je 0x1800094f5
lea rcx, [rbp - 0x31]
cmp qword [rbp - 0x19], 8
cmovae rcx, qword [rbp - 0x31]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmp eax, 1
sete al
test al, al
je 0x1800094f5
mov qword [rbx + 0x18], 7
mov qword [rbx + 0x10], rsi
mov word [rbx], si
lea rax, [rbp - 0x31]
cmp rbx, rax
je 0x1800094e9
cmp qword [rbx + 0x18], 8
jb 0x18000948e
mov rcx, qword [rbx]
call fcn.1800be828
mov qword [rbx + 0x18], 7
mov qword [rbx + 0x10], rsi
mov word [rbx], si
mov rcx, qword [rbp - 0x19]
cmp rcx, 8
jae 0x1800094c2
mov r8, qword [rbp - 0x21]
lea r8, [r8 + r8 + 2]
lea rdx, [rbp - 0x31]
mov rcx, rbx
call fcn.1800be2a0
mov rcx, qword [rbp - 0x19]
jmp 0x1800094cd
mov rax, qword [rbp - 0x31]
mov qword [rbx], rax
mov qword [rbp - 0x31], rsi
mov rax, qword [rbp - 0x21]
mov qword [rbx + 0x10], rax
mov qword [rbx + 0x18], rcx
mov qword [rbp - 0x19], 7
mov qword [rbp - 0x21], rsi
mov word [rbp - 0x31], si
mov dword [rbp - 0x49], 1
jmp 0x1800096bf
lea rcx, [rbp + 0x1f]
call fcn.180032780
nop
lea r8, [0x180148638]
mov rdx, rax
lea rcx, [rbp - 9]
call fcn.180022b50
mov rdi, rax
lea rax, [rbp - 0x31]
cmp rax, rdi
je 0x180009586
cmp qword [rbp - 0x19], 8
jb 0x18000952e
mov rcx, qword [rbp - 0x31]
call fcn.1800be828
mov qword [rbp - 0x19], 7
mov qword [rbp - 0x21], rsi
mov word [rbp - 0x31], si
cmp qword [rdi + 0x18], 8
jae 0x18000955d
mov r8, qword [rdi + 0x10]
inc r8
add r8, r8
mov rdx, rdi
lea rcx, [rbp - 0x31]
call fcn.1800be2a0
jmp 0x180009567
mov rax, qword [rdi]
mov qword [rbp - 0x31], rax
mov qword [rdi], rsi
mov rax, qword [rdi + 0x10]
mov qword [rbp - 0x21], rax
mov rax, qword [rdi + 0x18]
mov qword [rbp - 0x19], rax
mov qword [rdi + 0x18], 7
mov qword [rdi + 0x10], rsi
mov word [rdi], si
cmp qword [rbp + 0xf], 8
jb 0x180009596
mov rcx, qword [rbp - 9]
call fcn.1800be828
mov qword [rbp + 0xf], 7
mov qword [rbp + 7], rsi
mov word [rbp - 9], si
cmp qword [rbp + 0x37], 8
jb 0x1800095b6
mov rcx, qword [rbp + 0x1f]
call fcn.1800be828
mov qword [rbp + 0x37], 7
mov qword [rbp + 0x2f], rsi
mov word [rbp + 0x1f], si
mov r9d, reloc.OLEAUT32.dll_VariantChangeType
xor r8d, r8d
lea rdx, str._tucao_app_
lea rcx, [rbp - 0x31]
call fcn.180018d30
cmp rax, 0xffffffffffffffff
je 0x180009674
mov qword [rbx + 0x18], 7
mov qword [rbx + 0x10], rsi
mov word [rbx], si
lea rax, [rbp - 0x31]
cmp rbx, rax
je 0x18000966b
cmp qword [rbx + 0x18], 8
jb 0x180009610
mov rcx, qword [rbx]
call fcn.1800be828
mov qword [rbx + 0x18], 7
mov qword [rbx + 0x10], rsi
mov word [rbx], si
mov rcx, qword [rbp - 0x19]
cmp rcx, 8
jae 0x180009644
mov r8, qword [rbp - 0x21]
lea r8, [r8 + r8 + 2]
lea rdx, [rbp - 0x31]
mov rcx, rbx
call fcn.1800be2a0
mov rcx, qword [rbp - 0x19]
jmp 0x18000964f
mov rax, qword [rbp - 0x31]
mov qword [rbx], rax
mov qword [rbp - 0x31], rsi
mov rax, qword [rbp - 0x21]
mov qword [rbx + 0x10], rax
mov qword [rbx + 0x18], rcx
mov qword [rbp - 0x19], 7
mov qword [rbp - 0x21], rsi
mov word [rbp - 0x31], si
mov dword [rbp - 0x49], 1
jmp 0x1800096bf
call fcn.180017760
mov rcx, rax
lea rdx, [rbp + 0x1f]
call fcn.1800337d0
nop
lea r8, str._tucao_app_
mov rdx, rax
mov rcx, rbx
call fcn.180022b50
mov dword [rbp - 0x49], 1
cmp qword [rbp + 0x37], 8
jb 0x1800096af
mov rcx, qword [rbp + 0x1f]
call fcn.1800be828
mov qword [rbp + 0x37], 7
mov qword [rbp + 0x2f], rsi
mov word [rbp + 0x1f], si
cmp qword [rbp - 0x19], 8
jb 0x1800096cf
mov rcx, qword [rbp - 0x31]
call fcn.1800be828
mov qword [rbp - 0x19], 7
mov qword [rbp - 0x21], rsi
mov word [rbp - 0x31], si
mov rax, rbx
mov rcx, qword [rbp + 0x47]
xor rcx, rsp
call fcn.1800bdf20
lea r11, [rsp + 0xc0]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret