Function at 0x14010a860
Capabilities:
Check if file exists

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x37]
sub rsp, 0x100
mov rax, qword [0x1402be5c8]
xor rax, rsp
mov qword [rbp + 0x27], rax
mov rsi, rcx
mov qword [rbp - 0x71], rcx
xor r15d, r15d
mov r14d, r15d
mov qword [rbp - 0x69], r15
mov qword [rbp - 0x59], r15
mov qword [rbp - 0x51], 7
mov word [rbp - 0x69], r15w
mov qword [rbp - 0x19], r15
mov qword [rbp - 9], r15
mov qword [rbp - 1], 7
mov word [rbp - 0x19], r15w
mov qword [rbp + 7], r15
mov qword [rbp + 0x17], r15
mov qword [rbp + 0x1f], 7
mov word [rbp + 7], r15w
lea rdx, [rbp - 0x69]
lea ecx, [r15 + 0x17]
call fcn.1400a7870
mov rdx, qword [rbp - 0x59]
mov r8, qword [rbp - 0x51]
mov rax, r8
sub rax, rdx
lea r12d, [r15 + 0x5c]
cmp rax, 1
jb 0x14010a91e
lea rcx, [rdx + 1]
mov qword [rbp - 0x59], rcx
lea rax, [rbp - 0x69]
cmp r8, 8
cmovae rax, qword [rbp - 0x69]
mov word [rax + rdx*2], r12w
mov word [rax + rcx*2], r15w
jmp 0x14010a942
mov qword [rsp + 0x20], 1
lea r9, [0x1402301b0]
movzx r8d, byte [rsp + 0x30]
mov edx, 1
lea rcx, [rbp - 0x69]
call fcn.14002dc10
mov rdx, qword [rsi + 0x10]
mov r9, rsi
cmp qword [rsi + 0x18], 8
jb 0x14010a953
mov r9, qword [rsi]
mov rcx, qword [rbp - 0x59]
mov r8, qword [rbp - 0x51]
mov rax, r8
sub rax, rcx
cmp rdx, rax
ja 0x14010a992
lea rdi, [rcx + rdx]
mov qword [rbp - 0x59], rdi
lea rbx, [rbp - 0x69]
cmp r8, 8
cmovae rbx, qword [rbp - 0x69]
lea rcx, [rbx + rcx*2]
lea r8, [rdx + rdx]
mov rdx, r9
call fcn.1401cf850
mov word [rbx + rdi*2], r15w
jmp 0x14010a9a6
mov qword [rsp + 0x20], rdx
movzx r8d, byte [rsp + 0x30]
lea rcx, [rbp - 0x69]
call fcn.14002dc10
lea rcx, [rbp - 0x69]
cmp qword [rbp - 0x51], 8
cmovae rcx, qword [rbp - 0x69]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x14010aaa3
lea rax, [rbp - 0x69]
cmp qword [rbp - 0x51], 8
cmovae rax, qword [rbp - 0x69]
mov qword [rbp - 0x59], r15
mov word [rax], r15w
lea rdx, [rbp - 0x69]
mov ecx, 2
call fcn.1400a7870
mov rdx, qword [rbp - 0x59]
mov r8, qword [rbp - 0x51]
mov rax, r8
sub rax, rdx
cmp rax, 1
jb 0x14010aa1b
lea rcx, [rdx + 1]
mov qword [rbp - 0x59], rcx
lea rax, [rbp - 0x69]
cmp r8, 8
cmovae rax, qword [rbp - 0x69]
mov word [rax + rdx*2], r12w
mov word [rax + rcx*2], r15w
jmp 0x14010aa3f
mov qword [rsp + 0x20], 1
lea r9, [0x1402301b0]
movzx r8d, byte [rsp + 0x30]
mov edx, 1
lea rcx, [rbp - 0x69]
call fcn.14002dc10
mov rdx, qword [rsi + 0x10]
mov r9, rsi
cmp qword [rsi + 0x18], 8
jb 0x14010aa50
mov r9, qword [rsi]
mov rcx, qword [rbp - 0x59]
mov r8, qword [rbp - 0x51]
mov rax, r8
sub rax, rcx
cmp rdx, rax
ja 0x14010aa8f
lea rdi, [rcx + rdx]
mov qword [rbp - 0x59], rdi
lea rbx, [rbp - 0x69]
cmp r8, 8
cmovae rbx, qword [rbp - 0x69]
lea rcx, [rbx + rcx*2]
lea r8, [rdx + rdx]
mov rdx, r9
call fcn.1401cf850
mov word [rbx + rdi*2], r15w
jmp 0x14010aaa3
mov qword [rsp + 0x20], rdx
movzx r8d, byte [rsp + 0x30]
lea rcx, [rbp - 0x69]
call fcn.14002dc10
mov r8, 0xffffffffffffffff
lea rdx, [0x1402301b0]
lea rcx, [rbp - 0x69]
call fcn.140023340
mov r8, rax
mov qword [rbp - 0x39], r15
mov qword [rbp - 0x29], r15
mov qword [rbp - 0x21], 7
mov word [rbp - 0x39], r15w
cmp qword [rbp - 0x59], rax
cmovb r8, qword [rbp - 0x59]
lea rdx, [rbp - 0x69]
cmp qword [rbp - 0x51], 8
cmovae rdx, qword [rbp - 0x69]
lea rcx, [rbp - 0x39]
call fcn.140018360
nop
lea rcx, [rbp - 0x69]
cmp qword [rbp - 0x51], 8
cmovae rcx, qword [rbp - 0x69]
call fcn.1400a6650
test al, al
je 0x14010ab76
lea rdx, [rbp - 0x39]
cmp qword [rbp - 0x21], 8
cmovae rdx, qword [rbp - 0x39]
mov qword [rsp + 0x38], r15
mov qword [rsp + 0x48], r15
mov qword [rbp - 0x79], 7
mov word [rsp + 0x38], r15w
mov r8, qword [rbp - 0x29]
lea rcx, [rsp + 0x38]
call fcn.140018360
nop
mov qword [rbp - 0x49], r15
lea rax, [0x1402bf5e0]
mov qword [rbp - 0x41], rax
lea rdx, [rbp - 0x49]
lea rcx, [rsp + 0x38]
call fcn.14009acb0
cmp dword [rbp - 0x49], 0
jne 0x14010ac4e
lea rcx, [rsp + 0x38]
call fcn.1400272a0
mov r14d, 1
mov rdx, qword [rbp - 0x21]
cmp rdx, 8
jb 0x14010abb6
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x39]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14010abb1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14010ac64
call fcn.1401a9460
mov qword [rbp - 0x29], r15
mov qword [rbp - 0x21], 7
mov word [rbp - 0x39], r15w
mov rdx, qword [rbp - 0x51]
cmp rdx, 8
jb 0x14010ac03
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x69]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14010abfe
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14010ac48
call fcn.1401a9460
mov qword [rbp - 0x59], r15
mov qword [rbp - 0x51], 7
mov word [rbp - 0x69], r15w
mov rcx, rsi
call fcn.1400272a0
movzx eax, r14b
mov rcx, qword [rbp + 0x27]
xor rcx, rsp
call fcn.1401a9440
lea r11, [rsp + 0x100]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
call fcn.1401e37cc
nop
lea r8, [rsp + 0x38]
lea rdx, [rbp - 0x49]
lea rcx, str.remove_all
call fcn.140067eb0
nop
call fcn.1401e37cc
int3