Function at 0x18001abf0
Capabilities:
Check if file exists

Disassembly:
mov rax, rsp
push rbp
lea rbp, [rax - 0x208]
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 [0x1800a21e8]
xor rax, rsp
mov qword [rbp + 0x1f0], rax
mov rdi, 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.180007120
nop
lea rbx, [rdi + 8]
xor esi, esi
mov qword [rbx + 0x10], rsi
mov rax, rbx
cmp qword [rbx + 0x18], 8
jb 0x18001ada3
mov rax, qword [rbx]
mov word [rax], si
mov r8d, 1
lea rdx, [0x18007b028]
mov rcx, rbx
call fcn.180004040
mov r8d, 1
lea rdx, [0x18007ac30]
mov rcx, rbx
call fcn.180004040
mov r8d, 1
lea rdx, [0x18007836c]
mov rcx, rbx
call fcn.180004040
lea rdx, [rbp - 0x78]
cmp qword [rbp - 0x60], 8
cmovae rdx, qword [rbp - 0x78]
mov r8, qword [rbp - 0x68]
mov rcx, rbx
call fcn.180004040
mov rcx, rbx
cmp qword [rbx + 0x18], 8
jb 0x18001ae0c
mov rcx, qword [rbx]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x18001aecb
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp - 0x20]
call fcn.180048230
mov r8d, 0x30
lea rdx, [rbp - 0x58]
lea rcx, [0x1800194d0]
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
mov rcx, rsi
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], rsi
mov rax, rbx
cmp qword [rbx + 0x18], 8
jb 0x18001ae78
mov rax, qword [rbx]
mov word [rax], si
lea rax, [rbp - 0x20]
mov r8, 0xffffffffffffffff
inc r8
cmp word [rax + r8*2], si
jne 0x18001ae86
lea rdx, [rbp - 0x20]
mov rcx, rbx
call fcn.180004040
mov r8d, 1
lea rdx, [0x18007836c]
mov rcx, rbx
call fcn.180004040
lea rdx, [rbp - 0x78]
cmp qword [rbp - 0x60], 8
cmovae rdx, qword [rbp - 0x78]
mov r8, qword [rbp - 0x68]
mov rcx, rbx
call fcn.180004040
cmp qword [rbx + 0x18], 8
jb 0x18001aed5
mov rbx, qword [rbx]
mov rcx, rbx
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov qword [rdi + 0x38], rsi
lea rax, [rdi + 0x28]
cmp qword [rdi + 0x40], 8
jb 0x18001aef1
mov rax, qword [rdi + 0x28]
mov word [rax], si
mov r8d, 1
lea rdx, [0x18007b028]
lea rcx, [rdi + 0x28]
call fcn.180004040
mov r8d, 1
lea rdx, [0x18007ac30]
lea rcx, [rdi + 0x28]
call fcn.180004040
mov r8d, 1
lea rdx, [0x18007836c]
lea rcx, [rdi + 0x28]
call fcn.180004040
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, [0x18007b030]
lea rcx, [rbp - 0x58]
call fcn.180007120
nop
lea rdx, [rbp - 0x58]
cmp qword [rbp - 0x40], 8
cmovae rdx, qword [rbp - 0x58]
mov r8, qword [rbp - 0x48]
lea rcx, [rdi + 0x28]
call fcn.180004040
nop
mov rdx, qword [rbp - 0x40]
cmp rdx, 8
jb 0x18001b04c
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18001b046
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18001b0b6
call fcn.180029f54
nop
mov rdx, qword [rbp - 0x60]
cmp rdx, 8
jb 0x18001b088
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18001b083
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18001b0b0
call fcn.180029f54
mov rcx, qword [rbp + 0x1f0]
xor rcx, rsp
call fcn.18002a070
lea r11, [rsp + 0x3b0]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
call fcn.18004bb24
nop
call fcn.18004bb24
nop
int3