Function at 0x18000d640
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 [0x1800880b8]
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.180003d30
nop
lea rbx, [rdi + 8]
xor esi, esi
mov qword [rbx + 0x10], rsi
mov rax, rbx
cmp qword [rbx + 0x18], 8
jb 0x18000d7f3
mov rax, qword [rbx]
mov word [rax], si
mov r8d, 1
lea rdx, [0x1800652e4]
mov rcx, rbx
call fcn.1800027f0
mov r8d, 1
lea rdx, [0x1800652e8]
mov rcx, rbx
call fcn.1800027f0
mov r8d, 1
lea rdx, [0x180063a30]
mov rcx, rbx
call fcn.1800027f0
lea rdx, [rbp - 0x78]
cmp qword [rbp - 0x60], 8
cmovae rdx, qword [rbp - 0x78]
mov r8, qword [rbp - 0x68]
mov rcx, rbx
call fcn.1800027f0
mov rcx, rbx
cmp qword [rbx + 0x18], 8
jb 0x18000d85c
mov rcx, qword [rbx]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x18000d91b
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp - 0x20]
call fcn.180037130
mov r8d, 0x30
lea rdx, [rbp - 0x58]
lea rcx, [0x18000ce80]
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 0x18000d8c8
mov rax, qword [rbx]
mov word [rax], si
lea rax, [rbp - 0x20]
mov r8, 0xffffffffffffffff
inc r8
cmp word [rax + r8*2], si
jne 0x18000d8d6
lea rdx, [rbp - 0x20]
mov rcx, rbx
call fcn.1800027f0
mov r8d, 1
lea rdx, [0x180063a30]
mov rcx, rbx
call fcn.1800027f0
lea rdx, [rbp - 0x78]
cmp qword [rbp - 0x60], 8
cmovae rdx, qword [rbp - 0x78]
mov r8, qword [rbp - 0x68]
mov rcx, rbx
call fcn.1800027f0
cmp qword [rbx + 0x18], 8
jb 0x18000d925
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 0x18000d941
mov rax, qword [rdi + 0x28]
mov word [rax], si
mov r8d, 1
lea rdx, [0x1800652e4]
lea rcx, [rdi + 0x28]
call fcn.1800027f0
mov r8d, 1
lea rdx, [0x1800652e8]
lea rcx, [rdi + 0x28]
call fcn.1800027f0
mov r8d, 1
lea rdx, [0x180063a30]
lea rcx, [rdi + 0x28]
call fcn.1800027f0
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.180003d30
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.1800027f0
nop
mov rdx, qword [rbp - 0x40]
cmp rdx, 8
jb 0x18000dab2
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18000daac
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18000db1c
call fcn.180018774
nop
mov rdx, qword [rbp - 0x60]
cmp rdx, 8
jb 0x18000daee
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18000dae9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18000db16
call fcn.180018774
mov rcx, qword [rbp + 0x1f0]
xor rcx, rsp
call fcn.180018f00
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.18003a194
nop
call fcn.18003a194
nop
int3