Function at 0x1800142e0
Capabilities:
Check if file exists

Disassembly:
mov rax, rsp
push rbp
push r14
push r15
lea rbp, [rax - 0x218]
sub rsp, 0x3b0
mov qword [rbp - 0x80], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x1800960d0]
xor rax, rsp
mov qword [rbp + 0x1f0], rax
mov r14, rcx
mov dword [rsp + 0x120], 0x74
mov dword [rsp + 0x118], 0x78
mov dword [rsp + 0x110], 0x74
mov dword [rsp + 0x108], 0x67
mov dword [rsp + 0x100], 0x6e
mov dword [rsp + 0xf8], 0x69
mov dword [rsp + 0xf0], 0x70
mov dword [rsp + 0xe8], 0x69
mov dword [rsp + 0xe0], 0x61
mov dword [rsp + 0xd8], 0x48
mov dword [rsp + 0xd0], 0x74
mov dword [rsp + 0xc8], 0x63
mov dword [rsp + 0xc0], 0x65
mov dword [rsp + 0xb8], 0x6e
mov dword [rsp + 0xb0], 0x6e
mov dword [rsp + 0xa8], 0x6f
mov dword [rsp + 0xa0], 0x43
mov dword [rsp + 0x98], 0x65
mov dword [rsp + 0x90], 0x64
mov dword [rsp + 0x88], 0x69
mov dword [rsp + 0x80], 0x54
mov dword [rsp + 0x78], 0x64
mov dword [rsp + 0x70], 0x6e
mov dword [rsp + 0x68], 0x41
mov dword [rsp + 0x60], 0x72
mov dword [rsp + 0x58], 0x65
mov dword [rsp + 0x50], 0x76
mov dword [rsp + 0x48], 0x69
mov dword [rsp + 0x40], 0x52
mov dword [rsp + 0x38], 0x67
mov dword [rsp + 0x30], 0x6e
mov dword [rsp + 0x28], 0x69
mov dword [rsp + 0x20], 0x72
mov r9d, 0x70
lea r8d, [r9 - 0x1d]
lea rdx, str._c_c_c_c_c_c_c_c_c_c_c_c_c_c_c_c_c_c_c_c_c_c_c_c_c_c_c_c_c_c_c_c._c_c_c
lea rcx, [rbp - 0x78]
call fcn.180006810
nop
lea rbx, [r14 + 8]
xor r15d, r15d
mov qword [rbx + 0x10], r15
mov rax, rbx
cmp qword [rbx + 0x18], 8
jb 0x180014498
mov rax, qword [rbx]
mov word [rax], r15w
mov rcx, qword [rbx + 0x10]
mov rdx, qword [rbx + 0x18]
mov rax, rdx
sub rax, rcx
cmp rax, 1
jb 0x1800144e1
lea rsi, [rcx + 1]
mov qword [rbx + 0x10], rsi
mov rdi, rbx
cmp rdx, 8
jb 0x1800144c4
mov rdi, qword [rbx]
lea rcx, [rdi + rcx*2]
mov r8d, 2
lea rdx, [0x180072018]
call fcn.180041580
mov word [rdi + rsi*2], r15w
jmp 0x180014502
xor eax, eax
mov qword [rsp + 0x20], 1
lea r9, [0x180072018]
movzx r8d, al
lea edx, [rax + 1]
mov rcx, rbx
call fcn.180006240
mov rcx, qword [rbx + 0x10]
mov rdx, qword [rbx + 0x18]
mov rax, rdx
sub rax, rcx
cmp rax, 1
jb 0x180014547
lea rsi, [rcx + 1]
mov qword [rbx + 0x10], rsi
mov rdi, rbx
cmp rdx, 8
jb 0x18001452a
mov rdi, qword [rbx]
lea rcx, [rdi + rcx*2]
mov r8d, 2
lea rdx, [0x180071c58]
call fcn.180041580
mov word [rdi + rsi*2], r15w
jmp 0x180014568
xor eax, eax
mov qword [rsp + 0x20], 1
lea r9, [0x180071c58]
movzx r8d, al
lea edx, [rax + 1]
mov rcx, rbx
call fcn.180006240
mov rcx, qword [rbx + 0x10]
mov rdx, qword [rbx + 0x18]
mov rax, rdx
sub rax, rcx
cmp rax, 1
jb 0x1800145ad
lea rsi, [rcx + 1]
mov qword [rbx + 0x10], rsi
mov rdi, rbx
cmp rdx, 8
jb 0x180014590
mov rdi, qword [rbx]
lea rcx, [rdi + rcx*2]
mov r8d, 2
lea rdx, [0x18007068c]
call fcn.180041580
mov word [rdi + rsi*2], r15w
jmp 0x1800145ce
xor eax, eax
mov qword [rsp + 0x20], 1
lea r9, [0x18007068c]
movzx r8d, al
lea edx, [rax + 1]
mov rcx, rbx
call fcn.180006240
lea rdx, [rbp - 0x78]
cmp qword [rbp - 0x60], 8
cmovae rdx, qword [rbp - 0x78]
mov r8, qword [rbp - 0x68]
mov rcx, rbx
call fcn.1800073e0
mov rcx, rbx
cmp qword [rbx + 0x18], 8
jb 0x1800145f5
mov rcx, qword [rbx]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x180014750
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp - 0x20]
call fcn.1800423b0
mov r8d, 0x30
lea rdx, [rbp - 0x58]
lea rcx, [0x180013980]
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
mov rcx, r15
test rax, rax
cmovne rcx, qword [rbp - 0x50]
mov r8d, 0x104
lea rdx, [rbp - 0x20]
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea rcx, [rbp - 0x20]
call qword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
mov qword [rbx + 0x10], r15
mov rax, rbx
cmp qword [rbx + 0x18], 8
jb 0x180014661
mov rax, qword [rbx]
mov word [rax], r15w
lea rax, [rbp - 0x20]
mov rdx, 0xffffffffffffffff
inc rdx
cmp word [rax + rdx*2], r15w
jne 0x180014670
mov rcx, qword [rbx + 0x10]
mov r8, qword [rbx + 0x18]
mov rax, r8
sub rax, rcx
cmp rdx, rax
ja 0x1800146b9
lea rsi, [rcx + rdx]
mov qword [rbx + 0x10], rsi
mov rdi, rbx
cmp r8, 8
jb 0x1800146a1
mov rdi, qword [rbx]
lea r8, [rdx + rdx]
lea rcx, [rdi + rcx*2]
lea rdx, [rbp - 0x20]
call fcn.180041580
mov word [rdi + rsi*2], r15w
jmp 0x1800146d0
xor eax, eax
mov qword [rsp + 0x20], rdx
lea r9, [rbp - 0x20]
movzx r8d, al
mov rcx, rbx
call fcn.180006240
mov rcx, qword [rbx + 0x10]
mov rdx, qword [rbx + 0x18]
mov rax, rdx
sub rax, rcx
cmp rax, 1
jb 0x180014715
lea rsi, [rcx + 1]
mov qword [rbx + 0x10], rsi
mov rdi, rbx
cmp rdx, 8
jb 0x1800146f8
mov rdi, qword [rbx]
lea rcx, [rdi + rcx*2]
mov r8d, 2
lea rdx, [0x18007068c]
call fcn.180041580
mov word [rdi + rsi*2], r15w
jmp 0x180014736
xor eax, eax
mov qword [rsp + 0x20], 1
lea r9, [0x18007068c]
movzx r8d, al
lea edx, [rax + 1]
mov rcx, rbx
call fcn.180006240
lea rdx, [rbp - 0x78]
cmp qword [rbp - 0x60], 8
cmovae rdx, qword [rbp - 0x78]
mov r8, qword [rbp - 0x68]
mov rcx, rbx
call fcn.1800073e0
cmp qword [rbx + 0x18], 8
jb 0x18001475a
mov rbx, qword [rbx]
mov rcx, rbx
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov qword [r14 + 0x38], r15
lea rax, [r14 + 0x28]
cmp qword [r14 + 0x40], 8
jb 0x180014776
mov rax, qword [r14 + 0x28]
mov word [rax], r15w
mov rcx, qword [r14 + 0x38]
mov rdx, qword [r14 + 0x40]
mov rax, rdx
sub rax, rcx
cmp rax, 1
jb 0x1800147c1
lea rsi, [rcx + 1]
mov qword [r14 + 0x38], rsi
lea rdi, [r14 + 0x28]
cmp rdx, 8
jb 0x1800147a4
mov rdi, qword [r14 + 0x28]
lea rcx, [rdi + rcx*2]
mov r8d, 2
lea rdx, [0x180072018]
call fcn.180041580
mov word [rdi + rsi*2], r15w
jmp 0x1800147e3
xor eax, eax
mov qword [rsp + 0x20], 1
lea r9, [0x180072018]
movzx r8d, al
lea edx, [rax + 1]
lea rcx, [r14 + 0x28]
call fcn.180006240
mov rcx, qword [r14 + 0x38]
mov rdx, qword [r14 + 0x40]
mov rax, rdx
sub rax, rcx
cmp rax, 1
jb 0x18001482a
lea rsi, [rcx + 1]
mov qword [r14 + 0x38], rsi
lea rdi, [r14 + 0x28]
cmp rdx, 8
jb 0x18001480d
mov rdi, qword [r14 + 0x28]
lea rcx, [rdi + rcx*2]
mov r8d, 2
lea rdx, [0x180071c58]
call fcn.180041580
mov word [rdi + rsi*2], r15w
jmp 0x18001484c
xor eax, eax
mov qword [rsp + 0x20], 1
lea r9, [0x180071c58]
movzx r8d, al
lea edx, [rax + 1]
lea rcx, [r14 + 0x28]
call fcn.180006240
mov rcx, qword [r14 + 0x38]
mov rdx, qword [r14 + 0x40]
mov rax, rdx
sub rax, rcx
cmp rax, 1
jb 0x180014893
lea rsi, [rcx + 1]
mov qword [r14 + 0x38], rsi
lea rdi, [r14 + 0x28]
cmp rdx, 8
jb 0x180014876
mov rdi, qword [r14 + 0x28]
lea rcx, [rdi + rcx*2]
mov r8d, 2
lea rdx, [0x18007068c]
call fcn.180041580
mov word [rdi + rsi*2], r15w
jmp 0x1800148b5
xor eax, eax
mov qword [rsp + 0x20], 1
lea r9, [0x18007068c]
movzx r8d, al
lea edx, [rax + 1]
lea rcx, [r14 + 0x28]
call fcn.180006240
mov dword [rsp + 0xa8], 0x67
mov dword [rsp + 0xa0], 0x6f
mov dword [rsp + 0x98], 0x6c
mov dword [rsp + 0x90], 0x74
mov dword [rsp + 0x88], 0x6e
mov dword [rsp + 0x80], 0x65
mov dword [rsp + 0x78], 0x74
mov dword [rsp + 0x70], 0x6e
mov dword [rsp + 0x68], 0x6f
mov dword [rsp + 0x60], 0x43
mov dword [rsp + 0x58], 0x70
mov dword [rsp + 0x50], 0x74
mov dword [rsp + 0x48], 0x74
mov dword [rsp + 0x40], 0x48
mov dword [rsp + 0x38], 0x77
mov dword [rsp + 0x30], 0x6f
mov dword [rsp + 0x28], 0x68
mov dword [rsp + 0x20], 0x53
mov r9d, 0x6f
lea r8d, [r9 - 0x21]
lea rdx, str._c_c_c_c_c_c_c_c_c_c_c_c_c_c_c._c_c_c
lea rcx, [rbp - 0x58]
call fcn.180006810
nop
lea rdx, [rbp - 0x58]
cmp qword [rbp - 0x40], 8
cmovae rdx, qword [rbp - 0x58]
mov r8, qword [rbp - 0x48]
lea rcx, [r14 + 0x28]
call fcn.1800073e0
nop
mov rdx, qword [rbp - 0x40]
cmp rdx, 8
jb 0x1800149cb
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800149c5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180014a33
call fcn.180022960
nop
mov rdx, qword [rbp - 0x60]
cmp rdx, 8
jb 0x180014a07
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180014a02
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180014a39
call fcn.180022960
mov rcx, qword [rbp + 0x1f0]
xor rcx, rsp
call fcn.180023170
lea r11, [rsp + 0x3b0]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
call fcn.1800452ec
nop
call fcn.1800452ec
int3