Function at 0x18004b5c0
Capabilities:
Check if file exists

Disassembly:
mov rax, rsp
push rdi
push r12
push r13
sub rsp, 0x60
mov qword [rsp + 0x50], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbp
mov qword [rax + 0x20], rsi
mov rbx, rcx
mov ecx, 8
call fcn.18006ea94
xor r13d, r13d
cmp rax, r13
je 0x18004b600
lea rcx, [rsp + 0x20]
mov qword [rax], rcx
jmp 0x18004b603
mov rax, r13
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x38], r13
mov qword [rsp + 0x40], r13
mov qword [rsp + 0x48], r13
mov rcx, rbx
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmp eax, r13d
je 0x18004b7ea
xor r8d, r8d
lea rdx, [rsp + 0x20]
mov rcx, rbx
call fcn.180063350
cmp eax, r13d
jne 0x18004b7ea
mov rcx, qword [rsp + 0x38]
mov rdi, rcx
mov rbx, qword [rsp + 0x40]
cmp rcx, rbx
jbe 0x18004b663
call fcn.18006e940
mov rbx, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x20]
add rdi, 8
mov rbp, rbx
cmp rcx, rbx
jbe 0x18004b683
call fcn.18006e940
mov rbx, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x38]
cmp rsi, r13
je 0x18004b68f
cmp rsi, qword [rsp + 0x20]
je 0x18004b69e
call fcn.18006e940
mov rbx, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x38]
lea r12, [rdi - 8]
cmp r12, rbp
je 0x18004b7a1
cmp rsi, r13
jne 0x18004b6ba
call fcn.18006e940
mov r11, r13
jmp 0x18004b6bd
mov r11, qword [rsi]
cmp r12, qword [r11 + 0x20]
jb 0x18004b6c8
call fcn.18006e940
cmp qword [rdi + 0x18], 8
jb 0x18004b6d4
mov rcx, qword [rdi]
jmp 0x18004b6d7
mov rcx, rdi
call fcn.18004b560
cmp eax, r13d
jne 0x18004b749
cmp rsi, r13
jne 0x18004b6f0
call fcn.18006e940
mov r11, r13
jmp 0x18004b6f3
mov r11, qword [rsi]
cmp r12, qword [r11 + 0x20]
jb 0x18004b6fe
call fcn.18006e940
cmp qword [rdi + 0x18], 8
jb 0x18004b70a
mov rcx, qword [rdi]
jmp 0x18004b70d
mov rcx, rdi
xor edx, edx
call fcn.18004c210
cmp eax, r13d
jne 0x18004b749
cmp rsi, r13
jne 0x18004b728
call fcn.18006e940
mov r11, r13
jmp 0x18004b72b
mov r11, qword [rsi]
cmp r12, qword [r11 + 0x20]
jb 0x18004b736
call fcn.18006e940
add rdi, 0x28
mov rbx, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x38]
jmp 0x18004b66c
mov rcx, qword [rsp + 0x38]
cmp rcx, r13
je 0x18004b797
mov rdi, qword [rsp + 0x40]
cmp rcx, rdi
je 0x18004b792
lea rbx, [rcx + 0x20]
cmp qword [rbx], 8
jb 0x18004b770
mov rcx, qword [rbx - 0x18]
call fcn.18006e998
mov qword [rbx], 7
mov qword [rbx - 8], r13
mov word [rbx - 0x18], r13w
add rbx, 0x28
lea rax, [rbx - 0x20]
cmp rax, rdi
jne 0x18004b761
mov rcx, qword [rsp + 0x38]
call fcn.18006e998
mov ebx, 1
jmp 0x18004b83b
cmp rcx, r13
je 0x18004b7e5
cmp rcx, rbx
je 0x18004b7e0
lea rdi, [rcx + 0x20]
cmp qword [rdi], 8
jb 0x18004b7be
mov rcx, qword [rdi - 0x18]
call fcn.18006e998
mov qword [rdi], 7
mov qword [rdi - 8], r13
mov word [rdi - 0x18], r13w
add rdi, 0x28
lea rax, [rdi - 0x20]
cmp rax, rbx
jne 0x18004b7af
mov rcx, qword [rsp + 0x38]
call fcn.18006e998
mov ebx, r13d
jmp 0x18004b83b
mov rcx, qword [rsp + 0x38]
cmp rcx, r13
je 0x18004b838
mov rdi, qword [rsp + 0x40]
cmp rcx, rdi
je 0x18004b833
lea rbx, [rcx + 0x20]
cmp qword [rbx], 8
jb 0x18004b811
mov rcx, qword [rbx - 0x18]
call fcn.18006e998
mov qword [rbx], 7
mov qword [rbx - 8], r13
mov word [rbx - 0x18], r13w
add rbx, 0x28
lea rax, [rbx - 0x20]
cmp rax, rdi
jne 0x18004b802
mov rcx, qword [rsp + 0x38]
call fcn.18006e998
mov ebx, r13d
mov qword [rsp + 0x38], r13
mov qword [rsp + 0x40], r13
mov qword [rsp + 0x48], r13
mov rcx, qword [rsp + 0x20]
call fcn.18006e998
mov eax, ebx
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r13
pop r12
pop rdi
ret