Function at 0x18000bd50
Capabilities:
Check if file exists

Disassembly:
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x2000]
mov eax, 0x2100
call fcn.180016c50
sub rsp, rax
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov qword [rsp + 0x2138], rbx
mov qword [rsp + 0x2140], rsi
mov qword [rsp + 0x2148], rdi
mov rax, qword [0x180081188]
xor rax, rsp
mov qword [rbp + 0x1ff0], rax
mov r13, rcx
lea rbx, [rcx + 8]
mov rcx, rbx
cmp qword [rbx + 0x18], 8
jb 0x18000bdb5
mov rcx, qword [rbx]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x18000c24d
cmp qword [rbx + 0x18], 8
jb 0x18000bdcd
mov rbx, qword [rbx]
lea rdx, [0x180060754]
mov rcx, rbx
call fcn.18003fb60
mov r15, rax
test rax, rax
je 0x18000c24d
lea rdx, str..ACP
xor ecx, ecx
call fcn.180044358
xor edx, edx
mov r8d, 0x2000
lea rcx, [rbp - 0x10]
call fcn.180034f50
lea r8, [rbp - 0x10]
lea rdx, [0x180060760]
mov rcx, r15
call fcn.180012080
cmp eax, 0xffffffff
je 0x18000c245
xor r12d, r12d
lea rbx, [0x18005ee14]
mov qword [rsp + 0x58], r12
mov qword [rsp + 0x60], 7
mov word [rsp + 0x48], r12w
lea rax, [rbp - 0x10]
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x18000be50
lea rdx, [rbp - 0x10]
lea rcx, [rsp + 0x48]
call fcn.180002210
nop
mov qword [rbp - 0x68], r12
mov qword [rbp - 0x60], 7
mov word [rbp - 0x78], r12w
mov qword [rsp + 0x78], r12
mov qword [rbp - 0x80], 7
mov word [rsp + 0x68], r12w
lea r10, [rsp + 0x48]
mov rdi, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x60]
cmp rsi, 8
cmovae r10, rdi
mov r14, qword [rsp + 0x58]
cmp r14, 1
jb 0x18000c1f2
lea r11, [r10 + r14*2]
mov rax, r10
nop dword [rax + rax]
mov rcx, r11
sub rcx, rax
sar rcx, 1
je 0x18000c1f2
cmp word [rax], 0x5b
je 0x18000bedf
add rax, 2
sub rcx, 1
jmp 0x18000bec9
test rax, rax
je 0x18000c1f2
mov r8d, 1
mov rdx, rbx
mov r9, rax
sub r9, rbx
nop word [rax + rax]
movzx ecx, word [rdx]
cmp word [r9 + rdx], cx
jne 0x18000bf6f
add rdx, 2
sub r8, 1
jne 0x18000bf00
sub rax, r10
sar rax, 1
cmp rax, 0xffffffffffffffff
je 0x18000c1f2
lea r11, [rax + 1]
lea r9, [rsp + 0x48]
cmp rsi, 8
cmovae r9, rdi
lea rax, [r14 - 1]
cmp r11, rax
ja 0x18000c1bd
lea r10, [r9 + r14*2]
lea rbx, [r9 + r11*2]
nop word [rax + rax]
mov rax, r10
sub rax, rbx
sar rax, 1
je 0x18000c1bd
cmp word [rbx], 0x5d
je 0x18000bf78
add rbx, 2
sub rax, 1
jmp 0x18000bf59
add rax, 2
jmp 0x18000bec0
test rbx, rbx
je 0x18000c1bd
mov edx, 1
lea rax, [0x180060768]
mov rcx, rax
mov r8, rbx
sub r8, rax
nop word [rax + rax]
movzx eax, word [rcx]
cmp word [r8 + rcx], ax
jne 0x18000c1b4
add rcx, 2
sub rdx, 1
jne 0x18000bfa0
sub rbx, r9
sar rbx, 1
cmp rbx, 0xffffffffffffffff
je 0x18000c1bd
mov qword [rbp - 0x40], r12
mov qword [rbp - 0x38], 7
mov word [rbp - 0x50], r12w
cmp r14, r11
jb 0x18000c27d
mov r8, rbx
sub r8, r11
sub r14, r11
cmp r14, r8
cmovb r8, r14
lea rax, [rsp + 0x48]
cmp rsi, 8
cmovae rax, rdi
lea rdx, [rax + r11*2]
lea rcx, [rbp - 0x50]
call fcn.180002210
lea rcx, [rbp - 0x78]
call fcn.180002d70
movups xmm0, xmmword [rbp - 0x50]
movups xmmword [rbp - 0x78], xmm0
movups xmm1, xmmword [rbp - 0x40]
movups xmmword [rbp - 0x68], xmm1
inc rbx
mov qword [rbp - 0x40], r12
mov qword [rbp - 0x38], 7
mov word [rbp - 0x50], r12w
mov rax, qword [rsp + 0x58]
cmp rax, rbx
jb 0x18000c2a1
sub rax, rbx
mov r8, 0xffffffffffffffff
cmp rax, r8
cmovb r8, rax
lea rax, [rsp + 0x48]
cmp qword [rsp + 0x60], 8
cmovae rax, qword [rsp + 0x48]
lea rdx, [rax + rbx*2]
lea rcx, [rbp - 0x50]
call fcn.180002210
lea rcx, [rsp + 0x68]
call fcn.180002d70
movups xmm0, xmmword [rbp - 0x50]
movups xmmword [rsp + 0x68], xmm0
movups xmm1, xmmword [rbp - 0x40]
movups xmmword [rsp + 0x78], xmm1
lea rdx, [rbp - 0x78]
lea rcx, [rbp - 0x50]
call fcn.180002650
nop
lea rdx, [rsp + 0x68]
lea rcx, [rbp - 0x30]
call fcn.180002650
nop
lea rdx, [rbp - 0x50]
lea rcx, [r13 + 0x48]
call fcn.180007930
lea r9, [rax + 0x20]
mov qword [rsp + 0x20], rax
xor r8d, r8d
lea rdx, [rsp + 0x38]
lea rcx, [r13 + 0x48]
call fcn.180007e00
nop
lea rcx, [rbp - 0x30]
call fcn.180002d70
lea rcx, [rbp - 0x50]
call fcn.180002d70
nop
mov rdx, qword [rbp - 0x80]
cmp rdx, 8
jb 0x18000c12c
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18000c126
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18000c295
call fcn.18001638c
nop
mov rdx, qword [rbp - 0x60]
cmp rdx, 8
jb 0x18000c16d
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18000c167
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18000c29b
call fcn.18001638c
nop
mov rdx, qword [rsp + 0x60]
cmp rdx, 8
jb 0x18000c229
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18000c224
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18000c283
jmp 0x18000c224
add rbx, 2
jmp 0x18000bf50
cmp rsi, 8
jb 0x18000c229
lea rdx, [rsi*2 + 2]
mov rax, rdi
cmp rdx, 0x1000
jb 0x18000c221
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18000c289
jmp 0x18000c221
cmp rsi, 8
jb 0x18000c229
lea rdx, [rsi*2 + 2]
mov rax, rdi
cmp rdx, 0x1000
jb 0x18000c221
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18000c28f
mov rcx, rdi
call fcn.18001638c
lea r8, [rbp - 0x10]
lea rdx, [0x180060760]
mov rcx, r15
call fcn.180012080
cmp eax, 0xffffffff
jne 0x18000be26
mov rcx, r15
call fcn.18004364c
mov rcx, qword [rbp + 0x1ff0]
xor rcx, rsp
call fcn.180016810
lea r11, [rsp + 0x2100]
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.180001c00
nop
call fcn.180037f64
int3
call fcn.180037f64
int3
call fcn.180037f64
nop
call fcn.180037f64
nop
call fcn.180037f64
nop
call fcn.180001c00
int3