Function at 0x18000d900
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 [0x1800880c8]
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.180003d60
nop
lea rbx, [rdi + 8]
xor esi, esi
mov qword [rbx + 0x10], rsi
mov rax, rbx
cmp qword [rbx + 0x18], 8
jb 0x18000dab3
mov rax, qword [rbx]
mov word [rax], si
mov r8d, 1
lea rdx, [0x1800652ec]
mov rcx, rbx
call fcn.180002820
mov r8d, 1
lea rdx, [0x1800652f0]
mov rcx, rbx
call fcn.180002820
mov r8d, 1
lea rdx, [0x180063ac0]
mov rcx, rbx
call fcn.180002820
lea rdx, [rbp - 0x78]
cmp qword [rbp - 0x60], 8
cmovae rdx, qword [rbp - 0x78]
mov r8, qword [rbp - 0x68]
mov rcx, rbx
call fcn.180002820
mov rcx, rbx
cmp qword [rbx + 0x18], 8
jb 0x18000db1c
mov rcx, qword [rbx]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x18000dbdb
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp - 0x20]
call fcn.180037b70
mov r8d, 0x30
lea rdx, [rbp - 0x58]
lea rcx, [0x18000d140]
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 0x18000db88
mov rax, qword [rbx]
mov word [rax], si
lea rax, [rbp - 0x20]
mov r8, 0xffffffffffffffff
inc r8
cmp word [rax + r8*2], si
jne 0x18000db96
lea rdx, [rbp - 0x20]
mov rcx, rbx
call fcn.180002820
mov r8d, 1
lea rdx, [0x180063ac0]
mov rcx, rbx
call fcn.180002820
lea rdx, [rbp - 0x78]
cmp qword [rbp - 0x60], 8
cmovae rdx, qword [rbp - 0x78]
mov r8, qword [rbp - 0x68]
mov rcx, rbx
call fcn.180002820
cmp qword [rbx + 0x18], 8
jb 0x18000dbe5
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 0x18000dc01
mov rax, qword [rdi + 0x28]
mov word [rax], si
mov r8d, 1
lea rdx, [0x1800652ec]
lea rcx, [rdi + 0x28]
call fcn.180002820
mov r8d, 1
lea rdx, [0x1800652f0]
lea rcx, [rdi + 0x28]
call fcn.180002820
mov r8d, 1
lea rdx, [0x180063ac0]
lea rcx, [rdi + 0x28]
call fcn.180002820
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.180003d60
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.180002820
nop
mov rdx, qword [rbp - 0x40]
cmp rdx, 8
jb 0x18000dd72
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18000dd6c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18000dddc
call fcn.1800191b4
nop
mov rdx, qword [rbp - 0x60]
cmp rdx, 8
jb 0x18000ddae
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18000dda9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18000ddd6
call fcn.1800191b4
mov rcx, qword [rbp + 0x1f0]
xor rcx, rsp
call fcn.180019940
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.18003abd4
nop
call fcn.18003abd4
nop
int3