Function at 0x1402aa6b4
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 - 0xe8]
sub rsp, 0x1b0
mov qword [rsp + 0x60], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov rax, qword [0x1405420e0]
xor rax, rsp
mov qword [rbp + 0xa0], rax
mov rdi, r9
mov qword [rsp + 0x58], r8
mov r13, rdx
mov qword [rsp + 0x68], r9
mov rbx, qword [rbp + 0x110]
xor r14d, r14d
mov esi, r14d
mov r15d, 0x3200000
call fcn.140061d0c
lea rdx, [rsp + 0x30]
mov rcx, rax
call fcn.140190178
nop
lea r12d, [r14 + 4]
mov rcx, qword [rsp + 0x30]
test rcx, rcx
jne 0x1402aa79b
call fcn.140329e68
call fcn.1400550c0
mov rcx, qword [rax + 8]
cmp dword [rcx], 2
jbe 0x1402aa7a3
mov dword [rsp + 0x40], 0x80004003
lea rax, [rsp + 0x40]
mov qword [rbp + 0x80], rax
mov qword [rbp + 0x88], r12
lea rax, str.DataCollection_adapter_cannot_get_configuration___use_default_max_size
mov qword [rbp + 0x90], rax
mov qword [rbp + 0x98], SysAllocStringByteLen
lea rax, [rbp + 0x60]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], r12d
xor r9d, r9d
xor r8d, r8d
lea rdx, [0x140488b7e]
call fcn.140001208
jmp 0x1402aa7a3
call fcn.140208a80
mov r15d, eax
mov r14, qword [0x140554518]
mov r12, qword [0x140554520]
cmp r14, r12
je 0x1402aaaf1
mov r9, rbx
mov r8, qword [rsp + 0x58]
mov rdx, r13
call fcn.1402a8978
mov ecx, eax
test eax, eax
js 0x1402aaa5f
mov r8, r15
mov rdx, rbx
call fcn.1402aa5ec
mov esi, eax
test eax, eax
jns 0x1402aaaf1
mov rcx, rbx
call fcn.14022cf84
mov esi, eax
lea r8, [0x1403ce9d8]
mov rdx, r13
lea rcx, [rbp - 0x70]
call fcn.140067914
nop
lea rdx, [r14 + 0x20]
cmp qword [r14 + 0x38], 8
jb 0x1402aa815
mov rdx, qword [rdx]
mov r8, qword [r14 + 0x30]
mov rcx, rax
call fcn.140068814
xor ecx, ecx
mov qword [rbp - 0x80], rcx
mov qword [rbp - 0x78], rcx
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x70], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x80], xmm1
mov qword [rax + 0x10], rcx
mov qword [rax + 0x18], 7
mov word [rax], cx
lea rcx, [rbp - 0x70]
call fcn.140055f70
call fcn.1400550c0
mov r10, qword [rax + 8]
cmp dword [r10], 3
jbe 0x1402aa935
lea rax, str.package_is_bigger_then_permitted_max____delete_package__sub_folder
mov qword [rbp - 0x30], rax
mov qword [rbp - 0x28], 0x44
xor r8d, r8d
mov rax, rbx
cmp qword [rbx + 0x18], 8
jb 0x1402aa889
mov rax, qword [rbx]
lea rdx, [0x1403cb630]
mov rcx, r8
test rax, rax
je 0x1402aa8a9
mov rdx, rax
or rcx, 0xffffffffffffffff
inc rcx
cmp word [rax + rcx*2], r8w
jne 0x1402aa89f
mov qword [rbp - 0x20], rdx
lea eax, [rcx*2 + 2]
mov dword [rbp - 0x18], eax
mov dword [rbp - 0x14], r8d
lea rcx, [rsp + 0x70]
cmp qword [rbp - 0x78], 8
cmovae rcx, qword [rsp + 0x70]
lea rdx, [0x1403cb630]
mov rax, r8
test rcx, rcx
je 0x1402aa8eb
mov rdx, rcx
or rax, 0xffffffffffffffff
inc rax
cmp word [rcx + rax*2], r8w
jne 0x1402aa8e1
mov qword [rbp - 0x10], rdx
lea eax, [rax*2 + 2]
mov dword [rbp - 8], eax
mov dword [rbp - 4], r8d
mov dword [rsp + 0x44], esi
lea rax, [rsp + 0x44]
mov qword [rbp], rax
mov qword [rbp + 8], 4
lea rax, [rbp - 0x50]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 6
xor r9d, r9d
lea rdx, [0x140488baf]
mov rcx, r10
call fcn.140001208
lea rcx, [rsp + 0x70]
cmp qword [rbp - 0x78], 8
cmovae rcx, qword [rsp + 0x70]
call qword [sym.imp.api_ms_win_core_shlwapi_legacy_l1_1_0.dll_PathFileExistsW]
nop dword [rax + rax]
test eax, eax
je 0x1402aaa46
or eax, 0xffffffff
mov dword [rsp + 0x4c], eax
mov dword [rsp + 0x50], eax
mov r8, qword [rsp + 0x4c]
mov dl, 1
lea rcx, [rsp + 0x70]
call fcn.14022d044
mov esi, eax
test eax, eax
jns 0x1402aaa46
mov rcx, qword [rdi]
mov dword [rcx + 0x90], eax
mov rcx, qword [rdi]
add rcx, 0x70
lea rdx, [0x140544470]
call fcn.14006fe84
mov rcx, qword [rdi]
mov byte [rcx + 0x68], 0xfe
call fcn.1400550c0
mov r10, qword [rax + 8]
cmp dword [r10], 3
jbe 0x1402aaa46
lea rax, str.sub_folder_deletion_failed____try_to_delete_the_next_sub_folder
mov qword [rbp + 0x30], rax
mov qword [rbp + 0x38], 0x40
xor r8d, r8d
mov dword [rsp + 0x48], esi
lea rax, [rsp + 0x48]
mov qword [rbp + 0x40], rax
mov qword [rbp + 0x48], 4
lea rcx, [rsp + 0x70]
cmp qword [rbp - 0x78], 8
cmovae rcx, qword [rsp + 0x70]
lea rdx, [0x1403cb630]
mov eax, r8d
test rcx, rcx
je 0x1402aaa10
mov rdx, rcx
or rax, 0xffffffffffffffff
inc rax
cmp word [rcx + rax*2], r8w
jne 0x1402aaa06
mov qword [rbp + 0x50], rdx
lea eax, [rax*2 + 2]
mov dword [rbp + 0x58], eax
mov dword [rbp + 0x5c], r8d
lea rax, [rbp + 0x10]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 5
xor r9d, r9d
lea rdx, [0x140488774]
mov rcx, r10
call fcn.140001208
nop
lea rcx, [rsp + 0x70]
call fcn.140055f70
add r14, 0x40
cmp r14, r12
jne 0x1402aa7ba
jmp 0x1402aaa82
mov rax, qword [rdi]
mov dword [rax + 0x90], ecx
mov rcx, qword [rdi]
add rcx, 0x70
lea rdx, [0x1405442d0]
call fcn.14006fe84
mov rax, qword [rdi]
mov byte [rax + 0x68], 0xfe
mov r9, rbx
mov r8, qword [rsp + 0x58]
mov rdx, r13
call fcn.1402a8978
mov esi, eax
test eax, eax
jns 0x1402aaabd
mov rcx, qword [rdi]
mov dword [rcx + 0x90], eax
mov rcx, qword [rdi]
add rcx, 0x70
lea rdx, [0x1405442d0]
call fcn.14006fe84
mov rcx, qword [rdi]
mov byte [rcx + 0x68], 0xfe
jmp 0x1402aaaf1
mov r8, r15
mov rdx, rbx
call fcn.1402aa5ec
mov esi, eax
test eax, eax
jns 0x1402aaaf1
mov rax, qword [rdi]
mov dword [rax + 0x90], esi
mov rcx, qword [rdi]
add rcx, 0x70
lea rdx, [0x140544470]
call fcn.14006fe84
mov rax, qword [rdi]
mov byte [rax + 0x68], 0xfe
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x1402aab3c
or eax, 0xffffffff
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x1402aab3c
mov rbx, qword [rsp + 0x38]
mov rax, qword [rbx]
mov rcx, rbx
mov rax, qword [rax]
call qword [str.p76_]
or eax, 0xffffffff
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x1402aab3c
mov rcx, qword [rsp + 0x38]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [str.p76_]
nop
mov rbx, qword [rdi + 8]
test rbx, rbx
je 0x1402aab7e
or eax, 0xffffffff
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x1402aab7e
mov rax, qword [rbx]
mov rcx, rbx
mov rax, qword [rax]
call qword [str.p76_]
or eax, 0xffffffff
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x1402aab7e
mov rax, qword [rbx]
mov rcx, rbx
mov rax, qword [rax + 8]
call qword [str.p76_]
mov eax, esi
mov rcx, qword [rbp + 0xa0]
xor rcx, rsp
call fcn.140356560
mov rbx, qword [rsp + 0x1f0]
add rsp, 0x1b0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret