Function at 0x140019060
Capabilities:
Check if file exists

Disassembly:
mov rax, rsp
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xa0
mov qword [rbp - 0x41], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov rax, qword [0x140176810]
xor rax, rsp
mov qword [rbp + 0x27], rax
mov r14, rcx
mov r12d, 0x50
mov rdi, qword [0x140184088]
xor r15d, r15d
test rdi, rdi
jne 0x1400191a5
lea rcx, [rbp - 0x19]
call fcn.14001abd4
mov rsi, rax
mov rbx, qword [0x140182970]
test rbx, rbx
jne 0x14001910b
mov ecx, r12d
call fcn.1400de2bc
mov rbx, rax
test rax, rax
je 0x140019101
mov qword [rax], r15
mov qword [rax + 8], r15
mov qword [rax + 0x10], r15
mov qword [rax + 0x18], r15
mov qword [rax + 0x20], r15
mov qword [rax + 0x28], r15
mov qword [rax + 0x30], r15
mov qword [rax + 0x38], r15
mov qword [rax + 0x40], r15
mov qword [rax + 0x48], r15
jmp 0x140019104
mov rbx, r15
mov qword [0x140182970], rbx
mov ecx, 0x20
call fcn.1400de2bc
mov rdi, rax
mov qword [rbp - 0x49], rax
test rax, rax
je 0x140019144
mov qword [rax + 0x18], 0xf
mov qword [rax + 0x10], r15
mov byte [rax], r15b
or r9, 0xffffffffffffffff
xor r8d, r8d
mov rdx, rsi
mov rcx, rax
call fcn.14000b0d8
jmp 0x140019147
mov rdi, r15
lea rcx, [rbx + 0x20]
mov qword [rbp - 0x49], rdi
test rdi, rdi
je 0x140019177
mov rax, qword [rcx]
jmp 0x140019162
cmp qword [rax], rdi
je 0x140019168
add rax, 8
cmp rax, qword [rcx + 8]
jne 0x140019159
cmp qword [rcx + 8], rax
jne 0x140019177
lea rdx, [rbp - 0x49]
call fcn.14001c214
mov qword [0x140184088], rdi
cmp qword [rbp - 1], 0x10
jb 0x140019195
mov rcx, qword [rbp - 0x19]
call fcn.1400400f0
mov rdi, qword [0x140184088]
mov qword [rbp - 1], 0xf
mov qword [rbp - 9], r15
mov byte [rbp - 0x19], r15b
mov rdx, rdi
lea rcx, [rbp - 0x39]
call fcn.14001011c
lea rcx, [rbp - 0x39]
cmp qword [rbp - 0x21], 8
cmovae rcx, qword [rbp - 0x39]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmp eax, 1
sete bl
cmp qword [rbp - 0x21], 8
jb 0x1400191db
mov rcx, qword [rbp - 0x39]
call fcn.1400400f0
mov qword [rbp - 0x21], 7
mov qword [rbp - 0x29], r15
mov word [rbp - 0x39], r15w
test bl, bl
jne 0x1400192be
mov rdi, qword [0x1401840a0]
test rdi, rdi
jne 0x1400192b6
mov rbx, qword [0x140182970]
test rbx, rbx
jne 0x140019253
mov rcx, r12
call fcn.1400de2bc
mov rbx, rax
test rax, rax
je 0x140019249
mov qword [rax], r15
mov qword [rax + 8], r15
mov qword [rax + 0x10], r15
mov qword [rax + 0x18], r15
mov qword [rax + 0x20], r15
mov qword [rax + 0x28], r15
mov qword [rax + 0x30], r15
mov qword [rax + 0x38], r15
mov qword [rax + 0x40], r15
mov qword [rax + 0x48], r15
jmp 0x14001924c
mov rbx, r15
mov qword [0x140182970], rbx
mov ecx, 0x10
call fcn.1400de2bc
mov rdi, rax
test rax, rax
je 0x14001927c
lea rax, [0x140181140]
mov qword [rdi + 8], rax
lea rax, vtable.HBLogger::NULLLogger.0
mov qword [rdi], rax
jmp 0x14001927f
mov rdi, r15
lea rcx, [rbx + 8]
mov qword [rbp - 0x49], rdi
test rdi, rdi
je 0x1400192af
mov rax, qword [rcx]
jmp 0x14001929a
cmp qword [rax], rdi
je 0x1400192a0
add rax, 8
cmp rax, qword [rcx + 8]
jne 0x140019291
cmp qword [rcx + 8], rax
jne 0x1400192af
lea rdx, [rbp - 0x49]
call fcn.14001c214
mov qword [0x1401840a0], rdi
mov rax, rdi
jmp 0x140019468
mov rdx, r14
lea rcx, [rbp + 7]
call fcn.140018c20
nop
mov rbx, qword [0x1401840a0]
cmp qword [rbp + 0x17], r15
je 0x14001939a
test rbx, rbx
jne 0x140019455
mov rdi, qword [0x140182970]
test rdi, rdi
jne 0x140019334
mov rcx, r12
call fcn.1400de2bc
mov rdi, rax
test rax, rax
je 0x14001932a
mov qword [rax], r15
mov qword [rax + 8], r15
mov qword [rax + 0x10], r15
mov qword [rax + 0x18], r15
mov qword [rax + 0x20], r15
mov qword [rax + 0x28], r15
mov qword [rax + 0x30], r15
mov qword [rax + 0x38], r15
mov qword [rax + 0x40], r15
mov qword [rax + 0x48], r15
jmp 0x14001932d
mov rdi, r15
mov qword [0x140182970], rdi
call fcn.14001ac80
mov dl, al
lea rcx, [rbp + 7]
call fcn.140018b24
mov rsi, rax
mov ecx, 0x10
call fcn.1400de2bc
mov rbx, rax
test rax, rax
je 0x140019369
lea rax, vtable.HBLogger::Logger.0
mov qword [rbx], rax
mov qword [rbx + 8], rsi
jmp 0x14001936c
mov rbx, r15
lea rcx, [rdi + 8]
mov qword [rbp - 0x49], rbx
test rbx, rbx
je 0x14001944e
mov rax, qword [rcx]
jmp 0x14001938f
cmp qword [rax], rbx
je 0x14001943f
add rax, 8
cmp rax, qword [rcx + 8]
jne 0x140019382
jmp 0x14001943f
test rbx, rbx
jne 0x140019455
mov rdi, qword [0x140182970]
test rdi, rdi
jne 0x1400193f2
mov rcx, r12
call fcn.1400de2bc
mov rdi, rax
test rax, rax
je 0x1400193e8
mov qword [rax], r15
mov qword [rax + 8], r15
mov qword [rax + 0x10], r15
mov qword [rax + 0x18], r15
mov qword [rax + 0x20], r15
mov qword [rax + 0x28], r15
mov qword [rax + 0x30], r15
mov qword [rax + 0x38], r15
mov qword [rax + 0x40], r15
mov qword [rax + 0x48], r15
jmp 0x1400193eb
mov rdi, r15
mov qword [0x140182970], rdi
mov ecx, 0x10
call fcn.1400de2bc
mov rbx, rax
test rax, rax
je 0x14001941b
lea rax, [0x140181140]
mov qword [rbx + 8], rax
lea rax, vtable.HBLogger::NULLLogger.0
mov qword [rbx], rax
jmp 0x14001941e
mov rbx, r15
lea rcx, [rdi + 8]
mov qword [rbp - 0x49], rbx
test rbx, rbx
je 0x14001944e
mov rax, qword [rcx]
jmp 0x140019439
cmp qword [rax], rbx
je 0x14001943f
add rax, 8
cmp rax, qword [rcx + 8]
jne 0x140019430
cmp qword [rcx + 8], rax
jne 0x14001944e
lea rdx, [rbp - 0x49]
call fcn.14001c214
mov qword [0x1401840a0], rbx
cmp qword [rbp + 0x1f], 0x10
jb 0x140019465
mov rcx, qword [rbp + 7]
call fcn.1400400f0
mov rax, rbx
mov rcx, qword [rbp + 0x27]
xor rcx, rsp
call fcn.1400dc400
lea r11, [rsp + 0xa0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret