Function at 0x18000d5c0
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 [0x1800870b8]
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.180003cb0
nop
lea rbx, [rdi + 8]
xor esi, esi
mov qword [rbx + 0x10], rsi
mov rax, rbx
cmp qword [rbx + 0x18], 8
jb 0x18000d773
mov rax, qword [rbx]
mov word [rax], si
mov r8d, 1
lea rdx, [0x1800641a4]
mov rcx, rbx
call fcn.180002800
mov r8d, 1
lea rdx, [0x1800641a8]
mov rcx, rbx
call fcn.180002800
mov r8d, 1
lea rdx, [0x180062a00]
mov rcx, rbx
call fcn.180002800
lea rdx, [rbp - 0x78]
cmp qword [rbp - 0x60], 8
cmovae rdx, qword [rbp - 0x78]
mov r8, qword [rbp - 0x68]
mov rcx, rbx
call fcn.180002800
mov rcx, rbx
cmp qword [rbx + 0x18], 8
jb 0x18000d7dc
mov rcx, qword [rbx]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x18000d89b
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp - 0x20]
call fcn.180036320
mov r8d, 0x30
lea rdx, [rbp - 0x58]
lea rcx, [0x18000ce00]
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 0x18000d848
mov rax, qword [rbx]
mov word [rax], si
lea rax, [rbp - 0x20]
mov r8, 0xffffffffffffffff
inc r8
cmp word [rax + r8*2], si
jne 0x18000d856
lea rdx, [rbp - 0x20]
mov rcx, rbx
call fcn.180002800
mov r8d, 1
lea rdx, [0x180062a00]
mov rcx, rbx
call fcn.180002800
lea rdx, [rbp - 0x78]
cmp qword [rbp - 0x60], 8
cmovae rdx, qword [rbp - 0x78]
mov r8, qword [rbp - 0x68]
mov rcx, rbx
call fcn.180002800
cmp qword [rbx + 0x18], 8
jb 0x18000d8a5
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 0x18000d8c1
mov rax, qword [rdi + 0x28]
mov word [rax], si
mov r8d, 1
lea rdx, [0x1800641a4]
lea rcx, [rdi + 0x28]
call fcn.180002800
mov r8d, 1
lea rdx, [0x1800641a8]
lea rcx, [rdi + 0x28]
call fcn.180002800
mov r8d, 1
lea rdx, [0x180062a00]
lea rcx, [rdi + 0x28]
call fcn.180002800
mov dword [rsp + 0xb8], 0x67
mov dword [rsp + 0xb0], 0x6f
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_c_c
lea rcx, [rbp - 0x58]
call fcn.180003cb0
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.180002800
nop
mov rdx, qword [rbp - 0x40]
cmp rdx, 8
jb 0x18000da32
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18000da2c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18000da9c
call fcn.180017a30
nop
mov rdx, qword [rbp - 0x60]
cmp rdx, 8
jb 0x18000da6e
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18000da69
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18000da96
call fcn.180017a30
mov rcx, qword [rbp + 0x1f0]
xor rcx, rsp
call fcn.1800181c0
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.180039384
nop
call fcn.180039384
nop
int3