Function at 0x14008b960
Capabilities:
Check if file exists

Disassembly:
mov rax, rsp
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x178]
sub rsp, 0x240
mov qword [rbp - 0x58], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
movaps xmmword [rax - 0x48], xmm6
movaps xmmword [rax - 0x58], xmm7
movaps xmmword [rax - 0x68], xmm8
movaps xmmword [rax - 0x78], xmm9
mov rax, qword [0x1402a6808]
xor rax, rsp
mov qword [rbp + 0xf0], rax
mov byte [rsp + 0x20], r8b
mov rdi, rdx
mov qword [rsp + 0x68], rdx
mov r15, rcx
mov qword [rsp + 0x78], rcx
xor r13d, r13d
mov r12d, r13d
mov dword [rsp + 0x24], r13d
add rcx, 0x6f0
call fcn.1401154c0
lea rcx, [r15 + 0x650]
call fcn.1401154c0
movsxd rax, dword [r15 + 0x9840c]
mov qword [rdi], rax
xor r9d, r9d
xor r8d, r8d
mov edx, 0x130b
mov rcx, qword [r15 + 0x4a8]
call qword [sym.imp.USER32.dll_SendMessageW]
movsxd rcx, eax
mov qword [rdi + 8], rcx
xor r9d, r9d
xor r8d, r8d
mov edx, 0x130b
mov rcx, qword [r15 + 0x580]
call qword [sym.imp.USER32.dll_SendMessageW]
movsxd rcx, eax
mov qword [rdi + 0x10], rcx
lea r14, [r15 + 0x790]
mov qword [rsp + 0x30], r14
xor r9d, r9d
xor r8d, r8d
mov edx, 0x935
mov rcx, r14
call fcn.14000fa00
mov qword [rbp - 0x70], rax
lea rcx, [r15 + 0x490]
mov qword [rbp - 0x68], rcx
lea rcx, [r15 + 0x568]
mov qword [rbp - 0x60], rcx
mov ebx, r13d
mov qword [rsp + 0x58], rbx
mov edx, dword [0x1402be238]
mov rcx, qword gs:[0x58]
lea r9, [rcx + rdx*8]
mov qword [rbp - 0x78], r9
mov ecx, 0x650
lea r11d, [r13 + 0x58]
mov r10d, 4
mov rdx, r13
mov qword [rsp + 0x48], rdx
mov r8, qword [rbp + rbx*8 - 0x68]
mov rax, qword [r8 + 0x20]
mov qword [rbp - 0x80], rax
test rax, rax
je 0x14008c118
mov eax, 0x6f0
test rbx, rbx
cmovne rax, rcx
add rax, r15
mov qword [rsp + 0x40], rax
mov ecx, 0x40
test rbx, rbx
cmovne rcx, r11
add rcx, rdi
mov qword [rsp + 0x60], rcx
mov esi, r10d
add rsi, qword [r9]
mov qword [rsp + 0x70], rsi
mov rcx, r8
call fcn.14004a3c0
mov r13, rax
mov qword [rsp + 0x28], rax
test rbx, rbx
jne 0x14008bb03
mov rcx, qword [rdi + 8]
mov qword [rsp + 0x50], rcx
jmp 0x14008bb0c
mov rax, qword [rdi + 0x10]
mov qword [rsp + 0x50], rax
mov eax, dword [rsi]
cmp dword [0x1402bbb60], eax
jg 0x14008c188
cmp dword [r13 + 0xa0], 2
jne 0x14008bb39
mov rdx, qword [r13 + 0x10]
mov rcx, qword [r13]
call fcn.14001ee00
test eax, eax
je 0x14008c0e4
cmp byte [rsp + 0x20], 0
jne 0x14008bb5f
lea rcx, [r13 + 0xb0]
cmp qword [rcx + 0x18], 8
jb 0x14008bb51
mov rcx, qword [rcx]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x14008c0e4
mov r8, r13
lea rdx, [rbp - 0x30]
mov rcx, r15
call fcn.14008c8d0
nop
lea r14, [rbp - 0x30]
cmp qword [rbp - 0x18], 8
cmovae r14, qword [rbp - 0x30]
xor eax, eax
mov qword [rbp - 0x40], rax
mov qword [rbp - 0x38], rax
lea rbx, [r13 + 0xe0]
mov rdi, qword [rbx + 0x10]
cmp qword [rbx + 0x18], 8
jb 0x14008bb9c
mov rbx, qword [rbx]
cmp rdi, 8
jae 0x14008bbb8
movups xmm0, xmmword [rbx]
movups xmmword [rbp - 0x50], xmm0
mov esi, 7
mov qword [rbp - 0x38], rsi
mov r15, qword [rbp - 0x50]
jmp 0x14008bbfb
mov rsi, rdi
or rsi, 7
movabs rax, 0x7ffffffffffffffe
cmp rsi, rax
cmova rsi, rax
lea rdx, [rsi + 1]
lea rcx, [rbp - 0x50]
call fcn.140006990
mov r15, rax
mov qword [rbp - 0x50], rax
lea r8, [rdi*2 + 2]
mov rdx, rbx
mov rcx, rax
call fcn.14019dbf0
mov qword [rbp - 0x38], rsi
mov qword [rbp - 0x40], rdi
or r12d, 2
mov dword [rsp + 0x24], r12d
movups xmm6, xmmword [r13 + 0x118]
movups xmm7, xmmword [r13 + 0x128]
movups xmm8, xmmword [r13 + 0x138]
movsd xmm9, qword [r13 + 0x148]
mov rbx, qword [r13 + 0xa4]
lea r12, [rbp - 0x50]
cmp rsi, 8
cmovae r12, r15
movzx r13d, byte [r13 + 0x54]
mov rcx, qword [rsp + 0x28]
mov eax, dword [rcx + 0x50]
mov dword [rsp + 0x38], eax
lea rdi, [rcx + 0xb0]
cmp qword [rdi + 0x18], 8
jb 0x14008bc5e
mov rdi, qword [rdi]
mov rdx, qword [rsp + 0x40]
call fcn.14001f5e0
movups xmm0, xmmword [rax]
movaps xmmword [rbp - 0x10], xmm0
movups xmm1, xmmword [rax + 0x10]
movaps xmmword [rbp], xmm1
xor ecx, ecx
mov qword [rbp + 0x20], rcx
mov qword [rbp + 0x28], rcx
mov qword [rbp + 0x20], rcx
mov qword [rbp + 0x28], 7
mov word [rbp + 0x10], cx
mov qword [rbp + 0x40], rcx
mov qword [rbp + 0x48], rcx
mov qword [rbp + 0x40], rcx
mov qword [rbp + 0x48], 7
mov word [rbp + 0x30], cx
xorps xmm0, xmm0
movdqa xmmword [rbp + 0x50], xmm0
mov qword [rbp + 0x60], rcx
mov qword [rbp + 0x68], rcx
movdqa xmmword [rbp + 0x70], xmm0
mov eax, dword [rsp + 0x38]
mov dword [rbp + 0x80], eax
mov byte [rbp + 0x84], r13b
mov byte [rbp + 0x85], cl
mov qword [rbp + 0x98], rcx
mov qword [rbp + 0xa0], rcx
mov qword [rbp + 0x98], rcx
mov qword [rbp + 0xa0], 7
mov word [rbp + 0x88], cx
mov qword [rbp + 0xa8], rbx
movaps xmmword [rbp + 0xb0], xmm6
movaps xmmword [rbp + 0xc0], xmm7
movaps xmmword [rbp + 0xd0], xmm8
movsd qword [rbp + 0xe0], xmm9
test rdi, rdi
je 0x14008bd47
mov r8, 0xffffffffffffffff
nop
inc r8
cmp word [rdi + r8*2], 0
jne 0x14008bd30
mov rdx, rdi
lea rcx, [rbp + 0x10]
call fcn.140006d60
test r14, r14
je 0x14008bd6a
mov r8, 0xffffffffffffffff
inc r8
cmp word [r14 + r8*2], 0
jne 0x14008bd53
mov rdx, r14
lea rcx, [rbp + 0x30]
call fcn.140006d60
test r12, r12
je 0x14008bda2
mov r8, 0xffffffffffffffff
nop word [rax + rax]
inc r8
cmp word [r12 + r8*2], 0
jne 0x14008bd80
mov rdx, r12
lea rcx, [rbp + 0x88]
call fcn.140006d60
mov rsi, qword [rbp - 0x38]
mov r15, qword [rbp - 0x50]
mov r12d, dword [rsp + 0x24]
and r12d, 0xfffffffd
mov dword [rsp + 0x24], r12d
cmp rsi, 8
jb 0x14008bdeb
lea rdx, [rsi*2 + 2]
mov rax, r15
cmp rdx, 0x1000
jb 0x14008bde3
add rdx, 0x27
mov r15, qword [r15 - 8]
sub rax, r15
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14008c1ec
mov rcx, r15
call fcn.14017f5e4
xor r13d, r13d
mov qword [rbp - 0x40], r13
mov qword [rbp - 0x38], 7
mov word [rbp - 0x50], r13w
mov rsi, qword [rsp + 0x28]
movzx eax, byte [rsi + 0x110]
mov byte [rbp + 0x85], al
mov r9, qword [rsi + 0x18]
xor r8d, r8d
mov edx, 0x936
mov r14, qword [rsp + 0x30]
mov rcx, r14
call fcn.14000fa00
xor r9d, r9d
xor r8d, r8d
mov edx, 0x86a
mov rcx, r14
call fcn.14000fa00
mov rdi, rax
mov ebx, r13d
mov qword [rsp + 0x28], rbx
test rax, rax
je 0x14008be99
nop dword [rax]
xor r9d, r9d
mov r8, rbx
mov edx, 0x7fe
mov rcx, r14
call fcn.14000fa00
bt rax, 0x18
jae 0x14008be8c
mov rdx, qword [rbp + 0x58]
cmp qword [rbp + 0x60], rdx
je 0x14008be7e
mov qword [rdx], rbx
add qword [rbp + 0x58], 8
jmp 0x14008be8c
lea r8, [rsp + 0x28]
lea rcx, [rbp + 0x50]
call fcn.14001c1a0
inc rbx
mov qword [rsp + 0x28], rbx
cmp rbx, rdi
jb 0x14008be50
mov rax, qword [rsp + 0x48]
cmp rax, qword [rsp + 0x50]
jne 0x14008beb8
lea rdx, [rbp + 0x68]
mov rcx, qword [rsp + 0x40]
call fcn.140111190
jmp 0x14008c01d
mov rdx, qword [rsp + 0x40]
mov rcx, rsi
call fcn.14001f530
lea rcx, [rbp + 0x68]
cmp rcx, rax
je 0x14008c01d
mov rsi, qword [rax + 8]
mov r15, qword [rax]
mov r14, rsi
sub r14, r15
mov rbx, r14
sar rbx, 3
mov r8, qword [rbp + 0x70]
mov rcx, qword [rbp + 0x68]
sub r8, rcx
sar r8, 3
mov rdx, qword [rbp + 0x78]
sub rdx, rcx
sar rdx, 3
cmp rbx, rdx
jbe 0x14008bfd0
movabs r9, 0x1fffffffffffffff
cmp rbx, r9
ja 0x14008c17c
mov r8, rdx
shr r8, 1
mov rax, r9
sub rax, r8
cmp rdx, rax
ja 0x14008bf3b
lea rax, [rdx + r8]
cmp rax, rbx
cmovb rax, rbx
mov rbx, rax
test rcx, rcx
je 0x14008bf7c
lea rdx, [rdx*8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14008bf6d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14008c1f2
call fcn.14017f5e4
movabs r9, 0x1fffffffffffffff
mov rdi, r13
mov qword [rbp + 0x68], r13
xorps xmm0, xmm0
movdqa xmmword [rbp + 0x70], xmm0
test rbx, rbx
je 0x14008bfb8
cmp rbx, r9
ja 0x14008c1f8
mov rdx, rbx
lea rcx, [rbp + 0x68]
call fcn.14003a5f0
mov rdi, rax
mov qword [rbp + 0x68], rax
mov qword [rbp + 0x70], rax
lea rcx, [rax + rbx*8]
mov qword [rbp + 0x78], rcx
mov r8, r14
mov rdx, r15
mov rcx, rdi
call fcn.14019dbf0
lea rax, [r14 + rdi]
mov qword [rbp + 0x70], rax
jmp 0x14008c018
mov rdx, r15
cmp rbx, r8
jbe 0x14008c008
lea r8, [r8*8]
lea rdi, [r15 + r8]
call fcn.14019dbf0
mov rbx, qword [rbp + 0x70]
sub rsi, rdi
mov r8, rsi
mov rdx, rdi
mov rcx, rbx
call fcn.14019dbf0
lea rax, [rsi + rbx]
mov qword [rbp + 0x70], rax
jmp 0x14008c018
lea rbx, [rcx + rbx*8]
mov r8, r14
call fcn.14019dbf0
mov qword [rbp + 0x70], rbx
mov r14, qword [rsp + 0x30]
mov rbx, qword [rsp + 0x60]
mov rdx, qword [rbx + 8]
lea r8, [rbp - 0x10]
mov rcx, rbx
cmp qword [rbx + 0x10], rdx
je 0x14008c042
call fcn.14007d420
add qword [rbx + 8], 0xf8
jmp 0x14008c048
call fcn.14007c780
nop
lea rcx, [rbp + 0x88]
call fcn.1400068c0
nop
lea rcx, [rbp + 0x68]
call fcn.14001cb70
nop
lea rcx, [rbp + 0x50]
call fcn.14001cb70
nop
lea rcx, [rbp + 0x30]
call fcn.1400068c0
nop
lea rcx, [rbp + 0x10]
call fcn.1400068c0
nop
mov rdx, qword [rbp - 0x18]
cmp rdx, 8
jb 0x14008c0bd
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14008c0b8
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14008c182
call fcn.14017f5e4
mov qword [rbp - 0x20], r13
mov qword [rbp - 0x18], 7
mov word [rbp - 0x30], r13w
mov rbx, qword [rsp + 0x58]
mov rdi, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
mov r15, qword [rsp + 0x78]
jmp 0x14008c0e7
xor r13d, r13d
mov rdx, qword [rsp + 0x48]
inc rdx
mov qword [rsp + 0x48], rdx
cmp rdx, qword [rbp - 0x80]
mov r8, qword [rbp + rbx*8 - 0x68]
jb 0x14008bae3
mov r9, qword [rbp - 0x78]
mov r10d, 4
mov ecx, 0x650
mov r11d, 0x58
inc rbx
mov qword [rsp + 0x58], rbx
cmp rbx, 2
jb 0x14008ba92
mov r9, qword [rbp - 0x70]
xor r8d, r8d
mov edx, 0x936
mov rcx, r14
call fcn.14000fa00
mov rcx, qword [rbp + 0xf0]
xor rcx, rsp
call fcn.14017f700
lea r11, [rsp + 0x240]
mov rbx, qword [r11 + 0x50]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
movaps xmm8, xmmword [r11 - 0x30]
movaps xmm9, xmmword [r11 - 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call fcn.140006950
nop
call fcn.1401a10ac
int3
lea rcx, [0x1402bbb60]
call fcn.14017fc1c
cmp dword [0x1402bbb60], 0xffffffff
jne 0x14008bb1a
xorps xmm0, xmm0
movdqa xmmword [0x1402bbb20], xmm0
xor eax, eax
mov qword [0x1402bbb38], rax
xorps xmm1, xmm1
movdqa xmmword [0x1402bbb40], xmm1
mov qword [0x1402bbb50], rax
mov qword [0x1402bbb58], rax
lea rcx, [0x1401df970]
call fcn.14017f9ec
nop
lea rcx, [0x1402bbb60]
call fcn.14017fbbc
jmp 0x14008bb1a
call fcn.1401a10ac
int3
call fcn.1401a10ac
int3
call fcn.140006950
int3