Function at 0x1400a2810
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 - 0x12b0]
mov eax, 0x13b0
call fcn.1401142d0
sub rsp, rax
mov rax, qword [0x140200260]
xor rax, rsp
mov qword [rbp + 0x12a0], rax
mov rsi, rdx
xor r12d, r12d
mov qword [rbp - 0x48], r12
mov qword [rbp - 0x38], r12
mov qword [rbp - 0x30], r12
mov r14, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 8
jb 0x1400a286e
mov rsi, qword [rdx]
mov edi, 7
movabs r13, 0x7ffffffffffffffe
cmp r14, 8
jae 0x1400a2890
movups xmm0, xmmword [rsi]
movups xmmword [rbp - 0x48], xmm0
mov ebx, edi
mov eax, edi
jmp 0x1400a28c4
mov rbx, r14
or rbx, rdi
cmp rbx, r13
cmova rbx, r13
lea rdx, [rbx + 1]
lea rcx, [rbp - 0x48]
call fcn.140056e90
mov qword [rbp - 0x48], rax
lea r8, [r14*2 + 2]
mov rdx, rsi
mov rcx, rax
call fcn.1401156f0
mov rax, rbx
mov qword [rbp - 0x30], rbx
mov qword [rbp - 0x38], r14
mov rsi, r14
lea rcx, [rbp - 0x48]
mov r15, qword [rbp - 0x48]
cmp rax, 8
cmovae rcx, r15
mov qword [rsp + 0x20], rdi
lea r9, str.file:__
xor r8d, r8d
mov rdx, r14
call fcn.14005d9a0
test rax, rax
je 0x1400a291a
mov r9, rdi
lea r8, str.file:__
lea rcx, [rbp - 0x48]
call fcn.1400a5140
mov rbx, qword [rbp - 0x30]
mov rsi, qword [rbp - 0x38]
mov r15, qword [rbp - 0x48]
cmp rsi, 0x824
ja 0x1400a2e3b
xor edx, edx
mov r8d, 0x1048
lea rcx, [rbp + 0x250]
call fcn.140115da0
mov dword [rsp + 0x30], 0x824
lea rcx, [rbp - 0x48]
cmp rbx, 8
cmovae rcx, r15
xor r9d, r9d
lea r8, [rsp + 0x30]
lea rdx, [rbp + 0x250]
call qword [sym.imp.SHLWAPI.dll_PathCreateFromUrlW]
test eax, eax
jne 0x1400a2e3b
mov eax, dword [rsp + 0x30]
test eax, eax
je 0x1400a2e3b
mov r8d, eax
mov qword [rbp - 0x28], r12
movdqa xmm0, xmmword [0x1401e06e0]
movdqu xmmword [rbp - 0x18], xmm0
mov word [rbp - 0x28], r12w
lea rdx, [rbp + 0x250]
lea rcx, [rbp - 0x28]
call fcn.140056b80
nop
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0x40]
call fcn.140115da0
mov r8d, 0x104
lea rdx, [rbp + 0x40]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov qword [rbp + 0x18], r12
movdqa xmm0, xmmword [0x1401e06e0]
movdqu xmmword [rbp + 0x28], xmm0
mov word [rbp + 0x18], r12w
lea rax, [rbp + 0x40]
mov rbx, 0xffffffffffffffff
mov r8, rbx
nop dword [rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x1400a29f0
lea rdx, [rbp + 0x40]
lea rcx, [rbp + 0x18]
call fcn.140056b80
nop
lea rcx, [rbp + 0x40]
call qword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
mov qword [rsp + 0x58], r12
mov qword [rsp + 0x68], r12
mov qword [rsp + 0x70], rdi
mov word [rsp + 0x58], r12w
lea rax, [rbp + 0x40]
nop dword [rax]
inc rbx
cmp word [rax + rbx*2], 0
jne 0x1400a2a30
mov r8, rbx
lea rdx, [rbp + 0x40]
lea rcx, [rsp + 0x58]
call fcn.140056b80
nop
lea rcx, [rsp + 0x58]
call fcn.1400a4f70
mov r8, rax
mov qword [rbp - 8], r12
movdqa xmm0, xmmword [0x1401e06e0]
movdqu xmmword [rbp + 8], xmm0
cmp qword [rsp + 0x68], rax
cmovb r8, qword [rsp + 0x68]
lea rdx, [rsp + 0x58]
cmp qword [rsp + 0x70], 8
cmovae rdx, qword [rsp + 0x58]
lea rcx, [rbp - 8]
call fcn.140056b80
lea rcx, [rsp + 0x58]
call fcn.140056af0
movups xmm0, xmmword [rbp - 8]
movups xmmword [rsp + 0x58], xmm0
movups xmm1, xmmword [rbp + 8]
movups xmmword [rsp + 0x68], xmm1
movdqa xmm0, xmmword [0x1401e06e0]
movdqu xmmword [rbp + 8], xmm0
mov word [rbp - 8], r12w
lea rcx, [rbp - 8]
call fcn.140056af0
lea rcx, [rsp + 0x58]
call fcn.1400a4f70
mov r8, rax
mov qword [rbp - 8], r12
movdqa xmm0, xmmword [0x1401e06e0]
movdqu xmmword [rbp + 8], xmm0
cmp qword [rsp + 0x68], rax
cmovb r8, qword [rsp + 0x68]
lea rdx, [rsp + 0x58]
cmp qword [rsp + 0x70], 8
cmovae rdx, qword [rsp + 0x58]
lea rcx, [rbp - 8]
call fcn.140056b80
lea rcx, [rsp + 0x58]
call fcn.140056af0
movups xmm0, xmmword [rbp - 8]
movups xmmword [rsp + 0x58], xmm0
movups xmm1, xmmword [rbp + 8]
movups xmmword [rsp + 0x68], xmm1
movdqa xmm0, xmmword [0x1401e06e0]
movdqu xmmword [rbp + 8], xmm0
mov word [rbp - 8], r12w
lea rcx, [rbp - 8]
call fcn.140056af0
mov qword [rsp + 0x38], r12
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x48], xmm0
mov rsi, qword [rsp + 0x68]
lea r14, [rsp + 0x58]
cmp qword [rsp + 0x70], 8
cmovae r14, qword [rsp + 0x58]
cmp rsi, 8
jae 0x1400a2b7a
movups xmm0, xmmword [r14]
movups xmmword [rsp + 0x38], xmm0
mov qword [rsp + 0x50], rdi
jmp 0x1400a2bb3
mov rbx, rsi
or rbx, 7
cmp rbx, r13
cmova rbx, r13
lea rdx, [rbx + 1]
lea rcx, [rsp + 0x38]
call fcn.140056e90
mov qword [rsp + 0x38], rax
lea r8, [rsi*2 + 2]
mov rdx, r14
mov rcx, rax
call fcn.1401156f0
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x48], rsi
mov r8d, 1
lea rdx, [0x14018d938]
lea rcx, [rsp + 0x38]
call fcn.14005b0a0
mov r8d, 0x25
lea rdx, str.ngl_resources_resourcesuiindex.html
lea rcx, [rsp + 0x38]
call fcn.14005b0a0
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 0x1400a2c08
xor bl, bl
jmp 0x1400a2e10
mov qword [rbp - 0x68], r12
mov qword [rbp - 0x58], r12
mov qword [rbp - 0x50], r12
mov r15, qword [rsp + 0x48]
lea rsi, [rsp + 0x38]
mov r8, qword [rsp + 0x38]
mov r9, qword [rsp + 0x50]
cmp r9, 8
cmovae rsi, r8
cmp r15, 8
jae 0x1400a2c47
movups xmm0, xmmword [rsi]
movups xmmword [rbp - 0x68], xmm0
mov qword [rbp - 0x58], r15
mov qword [rbp - 0x50], rdi
jmp 0x1400a2c90
mov rbx, r15
or rbx, 7
cmp rbx, r13
cmova rbx, r13
lea rdx, [rbx + 1]
lea rcx, [rbp - 0x68]
call fcn.140056e90
mov qword [rbp - 0x68], rax
lea r8, [r15*2 + 2]
mov rdx, rsi
mov rcx, rax
call fcn.1401156f0
mov qword [rbp - 0x58], r15
mov qword [rbp - 0x50], rbx
mov r9, qword [rsp + 0x50]
mov r15, qword [rsp + 0x48]
mov r8, qword [rsp + 0x38]
mov qword [rsp + 0x78], r12
mov qword [rbp - 0x78], r12
mov qword [rbp - 0x70], r12
mov r14, qword [rbp - 0x18]
lea rbx, [rbp - 0x28]
mov rcx, qword [rbp - 0x28]
mov rdx, qword [rbp - 0x10]
cmp rdx, 8
cmovae rbx, rcx
cmp r14, 8
jae 0x1400a2cc9
movups xmm0, xmmword [rbx]
movups xmmword [rsp + 0x78], xmm0
mov qword [rbp - 0x78], r14
jmp 0x1400a2d1c
mov rdi, r14
or rdi, 7
cmp rdi, r13
cmova rdi, r13
lea rdx, [rdi + 1]
lea rcx, [rsp + 0x78]
call fcn.140056e90
mov qword [rsp + 0x78], rax
lea r8, [r14*2 + 2]
mov rdx, rbx
mov rcx, rax
call fcn.1401156f0
mov qword [rbp - 0x78], r14
mov rdx, qword [rbp - 0x10]
mov r14, qword [rbp - 0x18]
mov rcx, qword [rbp - 0x28]
mov r9, qword [rsp + 0x50]
mov r15, qword [rsp + 0x48]
mov r8, qword [rsp + 0x38]
mov qword [rbp - 0x70], rdi
lea rsi, [rbp - 0x68]
cmp qword [rbp - 0x50], 8
cmovae rsi, qword [rbp - 0x68]
lea rax, [rsp + 0x38]
cmp r9, 8
cmovae rax, r8
lea r15, [rax + r15*2]
lea rbx, [rsp + 0x38]
cmovae rbx, r8
cmp rbx, r15
je 0x1400a2d75
sub rsi, rbx
movzx ecx, word [rbx]
call fcn.14012b858
mov word [rbx + rsi], ax
add rbx, 2
cmp rbx, r15
jne 0x1400a2d50
mov rdx, qword [rbp - 0x10]
mov r14, qword [rbp - 0x18]
mov rcx, qword [rbp - 0x28]
mov rdi, qword [rbp - 0x70]
lea rsi, [rsp + 0x78]
mov r8, qword [rsp + 0x78]
cmp rdi, 8
cmovae rsi, r8
lea rax, [rbp - 0x28]
cmp rdx, 8
cmovae rax, rcx
lea r14, [rax + r14*2]
lea rbx, [rbp - 0x28]
cmovae rbx, rcx
cmp rbx, r14
je 0x1400a2dc5
sub rsi, rbx
movzx ecx, word [rbx]
call fcn.14012b858
mov word [rbx + rsi], ax
add rbx, 2
cmp rbx, r14
jne 0x1400a2da7
mov rdi, qword [rbp - 0x70]
mov r8, qword [rsp + 0x78]
lea r9, [rsp + 0x78]
cmp rdi, 8
cmovae r9, r8
lea rcx, [rbp - 0x68]
cmp qword [rbp - 0x50], 8
cmovae rcx, qword [rbp - 0x68]
mov rax, qword [rbp - 0x78]
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov rdx, qword [rbp - 0x58]
call fcn.14005d9a0
test rax, rax
sete bl
lea rcx, [rsp + 0x78]
call fcn.140056af0
nop
lea rcx, [rbp - 0x68]
call fcn.140056af0
nop
lea rcx, [rsp + 0x38]
call fcn.140056af0
nop
lea rcx, [rsp + 0x58]
call fcn.140056af0
nop
lea rcx, [rbp + 0x18]
call fcn.140056af0
nop
lea rcx, [rbp - 0x28]
call fcn.140056af0
jmp 0x1400a2e3d
xor bl, bl
lea rcx, [rbp - 0x48]
call fcn.140056af0
movzx eax, bl
mov rcx, qword [rbp + 0x12a0]
xor rcx, rsp
call fcn.140113660
lea r11, [rsp + 0x13b0]
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