Function at 0x18000db30
Capabilities:
Check if file exists

Disassembly:
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x2020]
mov eax, 0x2120
call fcn.180018fd0
sub rsp, rax
mov qword [rsp + 0x38], 0xfffffffffffffffe
mov qword [rsp + 0x2158], rbx
mov qword [rsp + 0x2160], rsi
mov qword [rsp + 0x2168], rdi
mov rax, qword [0x1800880b8]
xor rax, rsp
mov qword [rbp + 0x2010], rax
mov r15, rcx
lea rbx, [rcx + 8]
mov rcx, rbx
cmp qword [rbx + 0x18], 8
jb 0x18000db95
mov rcx, qword [rbx]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x18000e0dc
xor r12d, r12d
mov qword [rsp + 0x30], r12
cmp qword [rbx + 0x18], 8
jb 0x18000dbb5
mov rbx, qword [rbx]
lea r8, [0x180065494]
mov rdx, rbx
lea rcx, [rsp + 0x30]
call fcn.18003d210
cmp qword [rsp + 0x30], r12
je 0x18000e0dc
xor edx, edx
xor ecx, ecx
call fcn.1800464a4
movdqa xmm0, xmmword [0x1800639b0]
movdqu xmmword [rbp], xmm0
mov byte [rbp - 0x10], r12b
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], r12b
jne 0x18000dbf5
mov rdx, rax
lea rcx, [rbp - 0x10]
call fcn.180002200
nop
lea rdx, [0x180065498]
xor ecx, ecx
call fcn.1800464a4
xor edx, edx
mov r8d, 0x2000
lea rcx, [rbp + 0x10]
call fcn.1800371c0
mov r9d, 0x1000
lea r8, [rbp + 0x10]
lea rdx, [0x18006549c]
mov rcx, qword [rsp + 0x30]
call fcn.180013f70
cmp eax, 0xffffffff
je 0x18000e080
lea r13, [0x1800654a4]
nop word [rax + rax]
mov qword [rsp + 0x60], r12
mov qword [rsp + 0x68], 7
mov word [rsp + 0x50], r12w
lea rax, [rbp + 0x10]
mov r8, 0xffffffffffffffff
nop
inc r8
cmp word [rax + r8*2], 0
jne 0x18000dc80
lea rdx, [rbp + 0x10]
lea rcx, [rsp + 0x50]
call fcn.180002d10
nop
mov qword [rbp - 0x60], r12
mov qword [rbp - 0x58], 7
mov word [rbp - 0x70], r12w
mov qword [rbp - 0x80], r12
mov qword [rbp - 0x78], 7
mov word [rsp + 0x70], r12w
lea r10, [rsp + 0x50]
mov rdi, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x68]
cmp rsi, 8
cmovae r10, rdi
mov r14, qword [rsp + 0x60]
cmp r14, 1
jb 0x18000e021
lea r11, [r10 + r14*2]
mov rax, r10
nop word [rax + rax]
mov rcx, r11
sub rcx, rax
sar rcx, 1
je 0x18000e021
cmp word [rax], 0x5b
je 0x18000dd0f
add rax, 2
sub rcx, 1
jmp 0x18000dcf9
test rax, rax
je 0x18000e021
mov r8d, 1
mov rdx, r13
mov r9, rax
sub r9, r13
nop word [rax + rax]
movzx ecx, word [rdx]
cmp word [r9 + rdx], cx
jne 0x18000dd9f
add rdx, 2
sub r8, 1
jne 0x18000dd30
sub rax, r10
sar rax, 1
cmp rax, 0xffffffffffffffff
je 0x18000e021
lea r11, [rax + 1]
lea r9, [rsp + 0x50]
cmp rsi, 8
cmovae r9, rdi
lea rax, [r14 - 1]
cmp r11, rax
ja 0x18000dfec
lea r10, [r9 + r14*2]
lea rbx, [r9 + r11*2]
nop word [rax + rax]
mov rax, r10
sub rax, rbx
sar rax, 1
je 0x18000dfec
cmp word [rbx], 0x5d
je 0x18000dda8
add rbx, 2
sub rax, 1
jmp 0x18000dd89
add rax, 2
jmp 0x18000dcf0
test rbx, rbx
je 0x18000dfec
mov edx, 1
lea rax, [0x1800654a8]
mov rcx, rax
mov r8, rbx
sub r8, rax
nop word [rax + rax]
movzx eax, word [rcx]
cmp word [r8 + rcx], ax
jne 0x18000dfe3
add rcx, 2
sub rdx, 1
jne 0x18000ddd0
sub rbx, r9
sar rbx, 1
cmp rbx, 0xffffffffffffffff
je 0x18000dfec
mov qword [rbp - 0x40], r12
mov qword [rbp - 0x38], 7
mov word [rbp - 0x50], r12w
cmp r14, r11
jb 0x18000e136
mov r8, rbx
sub r8, r11
sub r14, r11
cmp r14, r8
cmovb r8, r14
lea rax, [rsp + 0x50]
cmp rsi, 8
cmovae rax, rdi
lea rdx, [rax + r11*2]
lea rcx, [rbp - 0x50]
call fcn.180002d10
lea rcx, [rbp - 0x70]
call fcn.180002ca0
movups xmm0, xmmword [rbp - 0x50]
movups xmmword [rbp - 0x70], xmm0
movups xmm1, xmmword [rbp - 0x40]
movups xmmword [rbp - 0x60], xmm1
inc rbx
mov qword [rbp - 0x40], r12
mov qword [rbp - 0x38], 7
mov word [rbp - 0x50], r12w
mov rax, qword [rsp + 0x60]
cmp rax, rbx
jb 0x18000e130
sub rax, rbx
mov r8, 0xffffffffffffffff
cmp rax, r8
cmovb r8, rax
lea rax, [rsp + 0x50]
cmp qword [rsp + 0x68], 8
cmovae rax, qword [rsp + 0x50]
lea rdx, [rax + rbx*2]
lea rcx, [rbp - 0x50]
call fcn.180002d10
lea rcx, [rsp + 0x70]
call fcn.180002ca0
movups xmm0, xmmword [rbp - 0x50]
movups xmmword [rsp + 0x70], xmm0
movups xmm1, xmmword [rbp - 0x40]
movups xmmword [rbp - 0x80], xmm1
lea rdx, [rbp - 0x70]
lea rcx, [rbp - 0x50]
call fcn.180003ab0
nop
lea rdx, [rsp + 0x70]
lea rcx, [rbp - 0x30]
call fcn.180003ab0
nop
lea rdx, [rbp - 0x50]
lea rcx, [r15 + 0x48]
call fcn.180009b50
lea r9, [rax + 0x20]
mov qword [rsp + 0x20], rax
xor r8d, r8d
lea rdx, [rsp + 0x40]
lea rcx, [r15 + 0x48]
call fcn.18000a020
nop
lea rcx, [rbp - 0x30]
call fcn.180002ca0
lea rcx, [rbp - 0x50]
call fcn.180002ca0
nop
mov rdx, qword [rbp - 0x78]
cmp rdx, 8
jb 0x18000df5b
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18000df55
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18000e124
call fcn.180018804
nop
mov rdx, qword [rbp - 0x58]
cmp rdx, 8
jb 0x18000df9c
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18000df96
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18000e12a
call fcn.180018804
nop
mov rdx, qword [rsp + 0x68]
cmp rdx, 8
jb 0x18000e05c
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18000e057
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18000e112
jmp 0x18000e057
add rbx, 2
jmp 0x18000dd80
cmp rsi, 8
jb 0x18000e05c
lea rdx, [rsi*2 + 2]
mov rax, rdi
cmp rdx, 0x1000
jb 0x18000e054
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18000e118
jmp 0x18000e054
cmp rsi, 8
jb 0x18000e05c
lea rdx, [rsi*2 + 2]
mov rax, rdi
cmp rdx, 0x1000
jb 0x18000e054
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18000e10c
mov rcx, rdi
call fcn.180018804
mov r9d, 0x1000
lea r8, [rbp + 0x10]
lea rdx, [0x18006549c]
mov rcx, qword [rsp + 0x30]
call fcn.180013f70
cmp eax, 0xffffffff
jne 0x18000dc60
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x18000e08f
call fcn.18003d2ec
lea rdx, [rbp - 0x10]
cmp qword [rbp + 8], 0x10
cmovae rdx, qword [rbp - 0x10]
xor ecx, ecx
call fcn.1800464a4
nop
mov rdx, qword [rbp + 8]
cmp rdx, 0x10
jb 0x18000e0dc
inc rdx
mov rcx, qword [rbp - 0x10]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18000e0d7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18000e11e
call fcn.180018804
mov rcx, qword [rbp + 0x2010]
xor rcx, rsp
call fcn.180018f90
lea r11, [rsp + 0x2120]
mov rbx, qword [r11 + 0x38]
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.18003a224
nop
call fcn.18003a224
int3
call fcn.18003a224
nop
call fcn.18003a224
nop
call fcn.18003a224
nop
call fcn.18003a224
nop
call fcn.1800045e0
int3
call fcn.1800045e0
int3