Function at 0x1800144a0
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 [0x1800900b0]
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.1800069f0
nop
lea rbx, [r14 + 8]
xor r15d, r15d
mov qword [rbx + 0x10], r15
mov rax, rbx
cmp qword [rbx + 0x18], 8
jb 0x180014658
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 0x1800146a1
lea rsi, [rcx + 1]
mov qword [rbx + 0x10], rsi
mov rdi, rbx
cmp rdx, 8
jb 0x180014684
mov rdi, qword [rbx]
lea rcx, [rdi + rcx*2]
mov r8d, 2
lea rdx, [0x18006de54]
call fcn.18003e0a0
mov word [rdi + rsi*2], r15w
jmp 0x1800146c2
xor eax, eax
mov qword [rsp + 0x20], 1
lea r9, [0x18006de54]
movzx r8d, al
lea edx, [rax + 1]
mov rcx, rbx
call fcn.180005680
mov rcx, qword [rbx + 0x10]
mov rdx, qword [rbx + 0x18]
mov rax, rdx
sub rax, rcx
cmp rax, 1
jb 0x180014707
lea rsi, [rcx + 1]
mov qword [rbx + 0x10], rsi
mov rdi, rbx
cmp rdx, 8
jb 0x1800146ea
mov rdi, qword [rbx]
lea rcx, [rdi + rcx*2]
mov r8d, 2
lea rdx, [0x18006de58]
call fcn.18003e0a0
mov word [rdi + rsi*2], r15w
jmp 0x180014728
xor eax, eax
mov qword [rsp + 0x20], 1
lea r9, [0x18006de58]
movzx r8d, al
lea edx, [rax + 1]
mov rcx, rbx
call fcn.180005680
mov rcx, qword [rbx + 0x10]
mov rdx, qword [rbx + 0x18]
mov rax, rdx
sub rax, rcx
cmp rax, 1
jb 0x18001476d
lea rsi, [rcx + 1]
mov qword [rbx + 0x10], rsi
mov rdi, rbx
cmp rdx, 8
jb 0x180014750
mov rdi, qword [rbx]
lea rcx, [rdi + rcx*2]
mov r8d, 2
lea rdx, [0x18006c610]
call fcn.18003e0a0
mov word [rdi + rsi*2], r15w
jmp 0x18001478e
xor eax, eax
mov qword [rsp + 0x20], 1
lea r9, [0x18006c610]
movzx r8d, al
lea edx, [rax + 1]
mov rcx, rbx
call fcn.180005680
lea rdx, [rbp - 0x78]
cmp qword [rbp - 0x60], 8
cmovae rdx, qword [rbp - 0x78]
mov r8, qword [rbp - 0x68]
mov rcx, rbx
call fcn.1800075c0
mov rcx, rbx
cmp qword [rbx + 0x18], 8
jb 0x1800147b5
mov rcx, qword [rbx]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x180014910
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp - 0x20]
call fcn.18003eed0
mov r8d, 0x30
lea rdx, [rbp - 0x58]
lea rcx, [0x180013b40]
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 0x180014821
mov rax, qword [rbx]
mov word [rax], r15w
lea rax, [rbp - 0x20]
mov rdx, 0xffffffffffffffff
inc rdx
cmp word [rax + rdx*2], r15w
jne 0x180014830
mov rcx, qword [rbx + 0x10]
mov r8, qword [rbx + 0x18]
mov rax, r8
sub rax, rcx
cmp rdx, rax
ja 0x180014879
lea rsi, [rcx + rdx]
mov qword [rbx + 0x10], rsi
mov rdi, rbx
cmp r8, 8
jb 0x180014861
mov rdi, qword [rbx]
lea r8, [rdx + rdx]
lea rcx, [rdi + rcx*2]
lea rdx, [rbp - 0x20]
call fcn.18003e0a0
mov word [rdi + rsi*2], r15w
jmp 0x180014890
xor eax, eax
mov qword [rsp + 0x20], rdx
lea r9, [rbp - 0x20]
movzx r8d, al
mov rcx, rbx
call fcn.180005680
mov rcx, qword [rbx + 0x10]
mov rdx, qword [rbx + 0x18]
mov rax, rdx
sub rax, rcx
cmp rax, 1
jb 0x1800148d5
lea rsi, [rcx + 1]
mov qword [rbx + 0x10], rsi
mov rdi, rbx
cmp rdx, 8
jb 0x1800148b8
mov rdi, qword [rbx]
lea rcx, [rdi + rcx*2]
mov r8d, 2
lea rdx, [0x18006c610]
call fcn.18003e0a0
mov word [rdi + rsi*2], r15w
jmp 0x1800148f6
xor eax, eax
mov qword [rsp + 0x20], 1
lea r9, [0x18006c610]
movzx r8d, al
lea edx, [rax + 1]
mov rcx, rbx
call fcn.180005680
lea rdx, [rbp - 0x78]
cmp qword [rbp - 0x60], 8
cmovae rdx, qword [rbp - 0x78]
mov r8, qword [rbp - 0x68]
mov rcx, rbx
call fcn.1800075c0
cmp qword [rbx + 0x18], 8
jb 0x18001491a
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 0x180014936
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 0x180014981
lea rsi, [rcx + 1]
mov qword [r14 + 0x38], rsi
lea rdi, [r14 + 0x28]
cmp rdx, 8
jb 0x180014964
mov rdi, qword [r14 + 0x28]
lea rcx, [rdi + rcx*2]
mov r8d, 2
lea rdx, [0x18006de54]
call fcn.18003e0a0
mov word [rdi + rsi*2], r15w
jmp 0x1800149a3
xor eax, eax
mov qword [rsp + 0x20], 1
lea r9, [0x18006de54]
movzx r8d, al
lea edx, [rax + 1]
lea rcx, [r14 + 0x28]
call fcn.180005680
mov rcx, qword [r14 + 0x38]
mov rdx, qword [r14 + 0x40]
mov rax, rdx
sub rax, rcx
cmp rax, 1
jb 0x1800149ea
lea rsi, [rcx + 1]
mov qword [r14 + 0x38], rsi
lea rdi, [r14 + 0x28]
cmp rdx, 8
jb 0x1800149cd
mov rdi, qword [r14 + 0x28]
lea rcx, [rdi + rcx*2]
mov r8d, 2
lea rdx, [0x18006de58]
call fcn.18003e0a0
mov word [rdi + rsi*2], r15w
jmp 0x180014a0c
xor eax, eax
mov qword [rsp + 0x20], 1
lea r9, [0x18006de58]
movzx r8d, al
lea edx, [rax + 1]
lea rcx, [r14 + 0x28]
call fcn.180005680
mov rcx, qword [r14 + 0x38]
mov rdx, qword [r14 + 0x40]
mov rax, rdx
sub rax, rcx
cmp rax, 1
jb 0x180014a53
lea rsi, [rcx + 1]
mov qword [r14 + 0x38], rsi
lea rdi, [r14 + 0x28]
cmp rdx, 8
jb 0x180014a36
mov rdi, qword [r14 + 0x28]
lea rcx, [rdi + rcx*2]
mov r8d, 2
lea rdx, [0x18006c610]
call fcn.18003e0a0
mov word [rdi + rsi*2], r15w
jmp 0x180014a75
xor eax, eax
mov qword [rsp + 0x20], 1
lea r9, [0x18006c610]
movzx r8d, al
lea edx, [rax + 1]
lea rcx, [r14 + 0x28]
call fcn.180005680
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.1800069f0
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.1800075c0
nop
mov rdx, qword [rbp - 0x40]
cmp rdx, 8
jb 0x180014b8b
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180014b85
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180014bf3
call fcn.18001f4e0
nop
mov rdx, qword [rbp - 0x60]
cmp rdx, 8
jb 0x180014bc7
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180014bc2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180014bf9
call fcn.18001f4e0
mov rcx, qword [rbp + 0x1f0]
xor rcx, rsp
call fcn.18001fcf0
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.180041e0c
nop
call fcn.180041e0c
int3