Function at 0x1400c5dd0
Capabilities:
Check if file exists

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x13b0]
mov eax, 0x14b0
call fcn.14013c000
sub rsp, rax
mov rax, qword [0x14022e2a0]
xor rax, rsp
mov qword [rbp + 0x13a0], rax
xor r13d, r13d
lea rcx, [rbp - 0x28]
call fcn.14006a110
nop
lea rcx, [rbp - 0x28]
mov rdi, qword [rbp - 0x28]
mov rsi, qword [rbp - 0x10]
cmp rsi, 8
cmovae rcx, rdi
mov qword [rsp + 0x20], 7
lea r9, str.file:__
xor r8d, r8d
mov rbx, qword [rbp - 0x18]
mov rdx, rbx
call fcn.14006dec0
test rax, rax
je 0x1400c5e73
lea r9d, [r13 + 7]
lea r8, str.file:__
lea rcx, [rbp - 0x28]
call fcn.1400c9730
mov rsi, qword [rbp - 0x10]
mov rbx, qword [rbp - 0x18]
mov rdi, qword [rbp - 0x28]
cmp rbx, 0x824
ja 0x1400c67d9
xor edx, edx
mov r8d, 0x1048
lea rcx, [rbp + 0x350]
call fcn.14013dae0
mov dword [rsp + 0x30], 0x824
lea rcx, [rbp - 0x28]
cmp rsi, 8
cmovae rcx, rdi
xor r9d, r9d
lea r8, [rsp + 0x30]
lea rdx, [rbp + 0x350]
call qword [sym.imp.SHLWAPI.dll_PathCreateFromUrlW]
test eax, eax
jne 0x1400c67d9
mov eax, dword [rsp + 0x30]
test eax, eax
je 0x1400c67d9
mov r8d, eax
xorps xmm0, xmm0
movups xmmword [rbp - 0x48], xmm0
mov qword [rbp - 0x38], r13
mov qword [rbp - 0x30], r13
lea rdx, [rbp + 0x350]
lea rcx, [rbp - 0x48]
call fcn.1400669a0
nop
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0x140]
call fcn.14013dae0
mov r8d, 0x104
lea rdx, [rbp + 0x140]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
xorps xmm0, xmm0
movups xmmword [rbp + 0x18], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x28], xmm1
lea rax, [rbp + 0x140]
mov r8, 0xffffffffffffffff
nop word [rax + rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x1400c5f40
lea rdx, [rbp + 0x140]
lea rcx, [rbp + 0x18]
call fcn.1400669a0
nop
lea rcx, [rbp + 0x140]
call qword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
xorps xmm0, xmm0
movups xmmword [rsp + 0x58], xmm0
mov qword [rsp + 0x68], r13
mov qword [rsp + 0x70], r13
lea rax, [rbp + 0x140]
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x1400c5f90
lea rdx, [rbp + 0x140]
lea rcx, [rsp + 0x58]
call fcn.1400669a0
nop
lea rbx, [rsp + 0x58]
mov rsi, qword [rsp + 0x58]
mov r14, qword [rsp + 0x70]
cmp r14, 8
cmovae rbx, rsi
mov r15d, 0x100
lea r12, [0x1401beea4]
mov rdi, qword [rsp + 0x68]
test rdi, rdi
je 0x1400c6092
mov r8d, r15d
xor edx, edx
lea rcx, [rbp + 0x40]
call fcn.14013dae0
lea rcx, [0x1401beea0]
movzx eax, word [rcx]
cmp ax, r15w
jae 0x1400c6040
movzx eax, al
mov byte [rbp + rax + 0x40], 1
add rcx, 2
cmp rcx, r12
jne 0x1400c5ff4
lea rcx, [rdi - 1]
mov rax, 0xffffffffffffffff
cmp rcx, rax
cmovb rax, rcx
lea r8, [rbx + rax*2]
movzx eax, word [r8]
cmp ax, r15w
jae 0x1400c6035
cmp byte [rbp + rax + 0x40], 0
jne 0x1400c608a
cmp r8, rbx
je 0x1400c6092
sub r8, 2
jmp 0x1400c6024
lea rcx, [rdi - 1]
mov rax, 0xffffffffffffffff
cmp rcx, rax
cmovb rax, rcx
lea r8, [rbx + rax*2]
nop word [rax + rax]
mov ecx, 2
lea rax, [0x1401beea0]
movzx edx, word [r8]
cmp word [rax], dx
je 0x1400c608a
add rax, 2
sub rcx, 1
jne 0x1400c6070
cmp r8, rbx
je 0x1400c6092
sub r8, 2
jmp 0x1400c6060
sub r8, rbx
sar r8, 1
jmp 0x1400c6099
mov r8, 0xffffffffffffffff
xorps xmm0, xmm0
movups xmmword [rbp - 8], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 8], xmm1
cmp rdi, r8
cmovb r8, rdi
lea rdx, [rsp + 0x58]
cmp r14, 8
cmovae rdx, rsi
lea rcx, [rbp - 8]
call fcn.1400669a0
mov rdx, qword [rsp + 0x70]
cmp rdx, 8
jb 0x1400c6107
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400c6102
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400c683b
call fcn.14013b70c
movups xmm0, xmmword [rbp - 8]
movups xmmword [rsp + 0x58], xmm0
movups xmm1, xmmword [rbp + 8]
movups xmmword [rsp + 0x68], xmm1
lea rbx, [rsp + 0x58]
movq rsi, xmm0
movdqa xmm0, xmm1
psrldq xmm0, 8
movq r14, xmm0
cmp r14, 8
cmovae rbx, rsi
movq rdi, xmm1
test rdi, rdi
je 0x1400c6202
mov r8, r15
xor edx, edx
lea rcx, [rbp + 0x40]
call fcn.14013dae0
lea rcx, [0x1401beea0]
nop dword [rax]
movzx eax, word [rcx]
cmp ax, r15w
jae 0x1400c61ac
movzx eax, al
mov byte [rbp + rax + 0x40], 1
add rcx, 2
cmp rcx, r12
jne 0x1400c6160
lea rcx, [rdi - 1]
mov rax, 0xffffffffffffffff
cmp rcx, rax
cmovb rax, rcx
lea r8, [rbx + rax*2]
movzx eax, word [r8]
cmp ax, r15w
jae 0x1400c61a1
cmp byte [rbp + rax + 0x40], 0
jne 0x1400c61fa
cmp r8, rbx
je 0x1400c6202
sub r8, 2
jmp 0x1400c6190
lea rcx, [rdi - 1]
mov rax, 0xffffffffffffffff
cmp rcx, rax
cmovb rax, rcx
lea r8, [rbx + rax*2]
nop dword [rax]
nop word [rax + rax]
mov ecx, 2
lea rax, [0x1401beea0]
movzx edx, word [r8]
cmp word [rax], dx
je 0x1400c61fa
add rax, 2
sub rcx, 1
jne 0x1400c61e0
cmp r8, rbx
je 0x1400c6202
sub r8, 2
jmp 0x1400c61d0
sub r8, rbx
sar r8, 1
jmp 0x1400c6209
mov r8, 0xffffffffffffffff
xorps xmm0, xmm0
movups xmmword [rbp - 8], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 8], xmm1
cmp rdi, r8
cmovb r8, rdi
lea rdx, [rsp + 0x58]
cmp r14, 8
cmovae rdx, rsi
lea rcx, [rbp - 8]
call fcn.1400669a0
mov rdx, qword [rsp + 0x70]
cmp rdx, 8
jb 0x1400c6277
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400c6272
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400c683b
call fcn.14013b70c
movups xmm1, xmmword [rbp - 8]
movups xmmword [rsp + 0x58], xmm1
movups xmm2, xmmword [rbp + 8]
movups xmmword [rsp + 0x68], xmm2
xorps xmm0, xmm0
movups xmmword [rsp + 0x38], xmm0
mov qword [rsp + 0x48], r13
mov qword [rsp + 0x50], r13
lea r14, [rsp + 0x58]
movq rcx, xmm1
movdqa xmm0, xmm2
psrldq xmm0, 8
movq rax, xmm0
cmp rax, 8
cmovae r14, rcx
movq rsi, xmm2
movabs rbx, 0x7ffffffffffffffe
cmp rsi, rbx
ja 0x1400c681d
mov r15d, 0xa
mov qword [rsp + 0x50], 7
cmp rsi, 8
jae 0x1400c62f8
mov qword [rsp + 0x48], rsi
movups xmm0, xmmword [r14]
movups xmmword [rsp + 0x38], xmm0
jmp 0x1400c6341
mov rdi, rsi
or rdi, 7
cmp rdi, rbx
jbe 0x1400c6309
mov rdi, rbx
jmp 0x1400c6310
cmp rdi, r15
cmovb rdi, r15
lea rdx, [rdi + 1]
lea rcx, [rsp + 0x38]
call fcn.140066cb0
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x48], rsi
mov qword [rsp + 0x50], rdi
lea r8, [rsi*2 + 2]
mov rdx, r14
mov rcx, rax
call fcn.14013d430
nop
mov r8d, 1
lea rdx, [0x1401b8ff8]
lea rcx, [rsp + 0x38]
call fcn.14006b2d0
mov r8d, 0x25
lea rdx, str.ngl_resources_resourcesuiindex.html
lea rcx, [rsp + 0x38]
call fcn.14006b2d0
lea rcx, [rsp + 0x38]
cmp qword [rsp + 0x50], 8
cmovae rcx, qword [rsp + 0x38]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x1400c6391
xor bl, bl
jmp 0x1400c669f
xorps xmm0, xmm0
movups xmmword [rbp - 0x68], xmm0
mov qword [rbp - 0x58], r13
mov qword [rbp - 0x50], r13
lea r14, [rsp + 0x38]
cmp qword [rsp + 0x50], 8
cmovae r14, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x48]
cmp rsi, rbx
ja 0x1400c6823
mov qword [rbp - 0x50], 7
cmp rsi, 8
jae 0x1400c63db
mov qword [rbp - 0x58], rsi
movups xmm0, xmmword [r14]
movups xmmword [rbp - 0x68], xmm0
jmp 0x1400c6425
mov rdi, rsi
or rdi, 7
cmp rdi, rbx
jbe 0x1400c63ec
mov rdi, rbx
jmp 0x1400c63f4
cmp rdi, 0xa
cmovb rdi, r15
lea rdx, [rdi + 1]
lea rcx, [rbp - 0x68]
call fcn.140066cb0
mov qword [rbp - 0x68], rax
mov qword [rbp - 0x58], rsi
mov qword [rbp - 0x50], rdi
lea r8, [rsi*2 + 2]
mov rdx, r14
mov rcx, rax
call fcn.14013d430
mov rsi, qword [rsp + 0x48]
xorps xmm0, xmm0
movups xmmword [rsp + 0x78], xmm0
mov qword [rbp - 0x78], r13
lea rdi, [rbp - 0x48]
mov r8, qword [rbp - 0x48]
mov r9, qword [rbp - 0x30]
cmp r9, 8
cmovae rdi, r8
mov r14, qword [rbp - 0x38]
cmp r14, rbx
ja 0x1400c6829
cmp r14, 8
jae 0x1400c6473
mov r11, r14
mov qword [rbp - 0x78], r14
mov r15d, 7
mov qword [rbp - 0x70], r15
movups xmm0, xmmword [rdi]
movups xmmword [rsp + 0x78], xmm0
jmp 0x1400c64d9
mov qword [rbp - 0x70], 7
mov rax, r14
or rax, 7
cmp rax, rbx
ja 0x1400c6492
mov rbx, rax
cmp rax, 0xa
cmovb rbx, r15
lea rdx, [rbx + 1]
lea rcx, [rsp + 0x78]
call fcn.140066cb0
mov qword [rsp + 0x78], rax
mov qword [rbp - 0x78], r14
mov qword [rbp - 0x70], rbx
lea r8, [r14*2 + 2]
mov rdx, rdi
mov rcx, rax
call fcn.14013d430
mov r9, qword [rbp - 0x30]
mov r14, qword [rbp - 0x38]
mov r8, qword [rbp - 0x48]
mov rsi, qword [rsp + 0x48]
mov r15, qword [rbp - 0x70]
mov r11, qword [rbp - 0x78]
lea rdi, [rbp - 0x68]
cmp qword [rbp - 0x50], 8
cmovae rdi, qword [rbp - 0x68]
lea rax, [rsp + 0x38]
cmp qword [rsp + 0x50], 8
cmovae rax, qword [rsp + 0x38]
lea rsi, [rax + rsi*2]
lea rbx, [rsp + 0x38]
cmovae rbx, qword [rsp + 0x38]
cmp rbx, rsi
je 0x1400c6539
sub rdi, rbx
nop
movzx ecx, word [rbx]
call fcn.140153848
mov word [rbx + rdi], ax
add rbx, 2
cmp rbx, rsi
jne 0x1400c6510
mov r9, qword [rbp - 0x30]
mov r14, qword [rbp - 0x38]
mov r8, qword [rbp - 0x48]
mov r15, qword [rbp - 0x70]
mov r11, qword [rbp - 0x78]
lea rdi, [rsp + 0x78]
mov r12, qword [rsp + 0x78]
cmp r15, 8
cmovae rdi, r12
lea rax, [rbp - 0x48]
cmp r9, 8
cmovae rax, r8
lea rsi, [rax + r14*2]
lea rbx, [rbp - 0x48]
cmovae rbx, r8
cmp rbx, rsi
je 0x1400c6592
sub rdi, rbx
nop dword [rax + rax]
movzx ecx, word [rbx]
call fcn.140153848
mov word [rbx + rdi], ax
add rbx, 2
cmp rbx, rsi
jne 0x1400c6570
mov r15, qword [rbp - 0x70]
mov r11, qword [rbp - 0x78]
mov r12, qword [rsp + 0x78]
lea r10, [rsp + 0x78]
cmp r15, 8
cmovae r10, r12
lea rbx, [rbp - 0x68]
cmp qword [rbp - 0x50], 8
cmovae rbx, qword [rbp - 0x68]
mov rax, qword [rbp - 0x58]
cmp r11, rax
ja 0x1400c65f3
sub rax, r11
test r11, r11
jne 0x1400c65c3
mov rcx, r13
jmp 0x1400c65fa
lea rdi, [rbx + 2]
lea rdi, [rdi + rax*2]
mov rcx, rbx
nop
mov rax, rdi
sub rax, rcx
sar rax, 1
je 0x1400c65f3
movzx edx, word [r10]
nop
cmp word [rcx], dx
je 0x1400c6797
add rcx, 2
sub rax, 1
jne 0x1400c65e0
mov rcx, 0xffffffffffffffff
test rcx, rcx
sete bl
cmp r15, 8
jb 0x1400c663c
lea rdx, [r15*2 + 2]
mov rax, r12
cmp rdx, 0x1000
jb 0x1400c6634
add rdx, 0x27
mov r12, qword [r12 - 8]
sub rax, r12
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400c682f
mov rcx, r12
call fcn.14013b70c
mov qword [rbp - 0x78], r13
mov qword [rbp - 0x70], 7
mov word [rsp + 0x78], r13w
mov rdx, qword [rbp - 0x50]
cmp rdx, 8
jb 0x1400c668e
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400c6689
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400c6835
call fcn.14013b70c
mov qword [rbp - 0x58], r13
mov qword [rbp - 0x50], 7
mov word [rbp - 0x68], r13w
mov rdx, qword [rsp + 0x50]
cmp rdx, 8
jb 0x1400c66e1
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400c66dc
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400c683b
call fcn.14013b70c
mov qword [rsp + 0x48], r13
mov qword [rsp + 0x50], 7
mov word [rsp + 0x38], r13w
mov rdx, qword [rsp + 0x70]
cmp rdx, 8
jb 0x1400c6737
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400c6732
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400c6841
call fcn.14013b70c
mov qword [rsp + 0x68], r13
mov qword [rsp + 0x70], 7
mov word [rsp + 0x58], r13w
mov rdx, qword [rbp + 0x30]
cmp rdx, 8
jb 0x1400c678c
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x18]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400c6786
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400c6817
call fcn.14013b70c
nop
lea rcx, [rbp - 0x48]
call fcn.140066870
jmp 0x1400c67db
test rcx, rcx
je 0x1400c65f3
mov r8, r11
mov rdx, r10
test r11, r11
je 0x1400c67c5
mov r9, rcx
sub r9, r10
movzx eax, word [rdx]
cmp word [rdx + r9], ax
jne 0x1400c67d0
add rdx, 2
sub r8, 1
jne 0x1400c67b1
sub rcx, rbx
sar rcx, 1
jmp 0x1400c65fa
add rcx, 2
jmp 0x1400c65d0
xor bl, bl
lea rcx, [rbp - 0x28]
call fcn.140066870
movzx eax, bl
mov rcx, qword [rbp + 0x13a0]
xor rcx, rsp
call fcn.14013b390
lea r11, [rsp + 0x14b0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call fcn.1401408a0
nop
call fcn.140066660
nop
call fcn.140066660
nop
call fcn.140066660
int3
call fcn.1401408a0
nop
call fcn.1401408a0
nop
call fcn.1401408a0
nop
call fcn.1401408a0
int3