Function at 0x140016d30
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x638]
sub rsp, 0x710
mov rax, qword [0x1401e3028]
xor rax, rsp
mov qword [rbp + 0x600], rax
mov ebx, 0x228
lea rcx, [rbp - 0x70]
xor r15d, r15d
mov r8d, ebx
xor edx, edx
mov edi, r15d
call fcn.140130a00
mov r8d, ebx
lea rcx, [rbp + 0x1c0]
xor edx, edx
call fcn.140130a00
mov rcx, qword [0x1401e3dd8]
xor eax, eax
or r13, 0xffffffffffffffff
mov dword [rsp + 0x50], r15d
mov qword [rsp + 0x58], rax
mov r14d, r15d
mov qword [rsp + 0x60], rax
mov esi, r15d
mov qword [rsp + 0x68], rax
test rcx, rcx
je 0x140016dca
mov rax, r13
inc rax
cmp word [rcx + rax*2], r15w
jne 0x140016dc0
mov ebx, 0x104
cmp eax, ebx
jl 0x140016e13
cmp dword [0x1401e3f88], r15d
je 0x1400175dd
cmp dword [0x1401e3f90], r15d
je 0x1400175dd
cmp word [0x1402321a0], r15w
je 0x1400175dd
lea rdx, [0x1402321a0]
lea rcx, str.Filesystem_reporting:_file_tree_root_is_too_long_r_n
call fcn.140025aa4
jmp 0x1400175dd
call fcn.140010000
mov r12d, 1
test eax, eax
je 0x140016e39
mov rax, qword [0x1402451a0]
lea rcx, [rsp + 0x58]
mov dword [rsp + 0x68], r12d
call qword [case.0x14000c75c.0]
call fcn.140016cfc
test eax, eax
jne 0x1400175a7
mov rcx, qword [0x140245128]
test rcx, rcx
je 0x140016e63
xor r9d, r9d
xor r8d, r8d
mov edx, 0x1434
call qword [sym.imp.USER32.dll_PostMessageA]
mov r8, qword [0x1401e3dd8]
lea rcx, [rbp - 0x70]
mov r9, r13
mov rdx, rbx
call fcn.1401525e0
mov r8, qword [0x1401e3dd8]
lea rcx, [rbp + 0x1c0]
mov r9, r13
mov rdx, rbx
call fcn.1401525e0
lea rbx, [0x1402311c0]
call fcn.140016cfc
test eax, eax
jne 0x1400175a7
mov rax, r13
inc rax
cmp word [rbx + rax*2], r15w
jne 0x140016ea9
movsxd rcx, eax
cmp word [rbx + rcx*2 - 2], 0x5c
jne 0x140016ec4
mov word [rbx + rcx*2 - 2], r15w
lea rcx, [rbp - 0x70]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x140016ed8
mov eax, r15d
jmp 0x140016edb
and eax, 0x10
lea rbx, [0x1402321a0]
test eax, eax
je 0x1400170e1
lea rcx, [rbp - 0x70]
mov rax, r13
inc rax
cmp word [rcx + rax*2], r15w
jne 0x140016ef1
cmp eax, 0x80
jg 0x1400170e1
mov rcx, qword [rbp + 0x1b0]
mov rax, qword [0x1401e3ea0]
test rcx, rcx
je 0x140016f3d
cmp dword [0x1401e3e98], r15d
je 0x140016f3d
test rax, rax
je 0x140016f3d
cmp byte [rax], r15b
je 0x140016f3d
cmp rcx, rax
je 0x140016f3d
call fcn.140152ed8
mov rax, qword [0x1401e3ea0]
cmp dword [0x1401e3e20], r15d
je 0x140016f56
cmp dword [0x1401e3e28], r15d
mov dword [rbp + 0x1a8], r12d
jne 0x140016f5d
mov dword [rbp + 0x1a8], r15d
cmp dword [0x1401e3e98], r15d
je 0x140016f77
test rax, rax
je 0x140016f77
cmp byte [rax], r15b
mov qword [rbp + 0x1b0], rax
jne 0x140016f7e
mov qword [rbp + 0x1b0], r15
cmp dword [0x1401e3e48], r15d
je 0x140016f97
cmp dword [0x1401e3e50], r15d
mov dword [rbp + 0x1a0], r12d
jne 0x140016f9e
mov dword [rbp + 0x1a0], r15d
cmp dword [0x1401e3e70], r15d
je 0x140016fb0
cmp dword [0x1401e3e78], r15d
jne 0x140016fbc
cmp dword [0x14024b4ec], r15d
mov eax, r15d
je 0x140016fbf
mov eax, r12d
cmp dword [0x1401e3df8], r15d
mov dword [rbp + 0x1a4], eax
je 0x140016fde
cmp dword [0x1401e3e00], r15d
mov dword [rbp + 0x198], r12d
jne 0x140016fe5
mov dword [rbp + 0x198], r15d
lea rax, str.policy.txt
mov dword [rbp + 0x19c], r13d
lea r9, [rbp - 0x70]
mov qword [rsp + 0x20], rax
lea r8, [0x140189ea8]
mov edx, 0x104
lea rcx, [rbp + 0x3f0]
call fcn.140003dbc
lea rdx, [rsp + 0x70]
lea rcx, [rbp + 0x3f0]
call fcn.1400236c0
test eax, eax
je 0x140017043
mov edx, dword [rbp - 0x78]
lea r8, [rbp - 0x70]
mov rcx, qword [rbp - 0x80]
call fcn.140016040
lea rcx, [rsp + 0x70]
call fcn.140023750
lea rdx, [rbp + 0x1c0]
lea rcx, [rbp - 0x70]
call fcn.140152470
test eax, eax
je 0x1400170d6
mov edx, 4
lea rcx, [rbp + 0x1c0]
lea rax, [rbp - 0x70]
lea r8d, [rdx + 0x7c]
movups xmm0, xmmword [rax]
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rcx], xmm0
movups xmm0, xmmword [rax + 0x20]
movups xmmword [rcx + 0x10], xmm1
movups xmm1, xmmword [rax + 0x30]
movups xmmword [rcx + 0x20], xmm0
movups xmm0, xmmword [rax + 0x40]
movups xmmword [rcx + 0x30], xmm1
movups xmm1, xmmword [rax + 0x50]
movups xmmword [rcx + 0x40], xmm0
movups xmm0, xmmword [rax + 0x60]
movups xmmword [rcx + 0x50], xmm1
movups xmm1, xmmword [rax + 0x70]
add rax, r8
movups xmmword [rcx + 0x60], xmm0
add rcx, r8
movups xmmword [rcx - 0x10], xmm1
sub rdx, r12
jne 0x14001706b
movups xmm0, xmmword [rax]
add edi, r12d
movups xmm1, xmmword [rax + 0x10]
mov rax, qword [rax + 0x20]
movups xmmword [rcx], xmm0
movups xmmword [rcx + 0x10], xmm1
mov qword [rcx + 0x20], rax
cmp edi, 0xa
jl 0x140016e92
mov edx, dword [0x1401e3f88]
jmp 0x1400171bd
mov edx, dword [0x1401e3f88]
test edx, edx
je 0x140017113
cmp dword [0x1401e3f90], r15d
je 0x140017113
cmp word [0x1402321a0], r15w
je 0x140017113
mov rdx, rbx
lea rcx, str.Filesystem_reporting:_improper_file_tree_root_r_n
call fcn.140025aa4
mov edx, dword [0x1401e3f88]
test edi, edi
jne 0x140017149
test edx, edx
je 0x1400175dd
cmp dword [0x1401e3f90], r15d
je 0x1400175dd
cmp word [0x1402321a0], r15w
je 0x1400175dd
mov rdx, rbx
lea rcx, str.Filesystem_reporting:_redirection_failure__no_previous_roots_r_n
jmp 0x140016e09
mov r8d, 4
lea rcx, [rbp - 0x70]
lea rax, [rbp + 0x1c0]
lea r9d, [r8 + 0x7c]
movups xmm0, xmmword [rax]
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rcx], xmm0
movups xmm0, xmmword [rax + 0x20]
movups xmmword [rcx + 0x10], xmm1
movups xmm1, xmmword [rax + 0x30]
movups xmmword [rcx + 0x20], xmm0
movups xmm0, xmmword [rax + 0x40]
movups xmmword [rcx + 0x30], xmm1
movups xmm1, xmmword [rax + 0x50]
movups xmmword [rcx + 0x40], xmm0
movups xmm0, xmmword [rax + 0x60]
movups xmmword [rcx + 0x50], xmm1
movups xmm1, xmmword [rax + 0x70]
add rax, r9
movups xmmword [rcx + 0x60], xmm0
add rcx, r9
movups xmmword [rcx - 0x10], xmm1
sub r8, r12
jne 0x14001715e
movups xmm0, xmmword [rax]
movups xmm1, xmmword [rax + 0x10]
mov rax, qword [rax + 0x20]
movups xmmword [rcx], xmm0
movups xmmword [rcx + 0x10], xmm1
mov qword [rcx + 0x20], rax
cmp edi, 0xa
jl 0x1400171f4
test edx, edx
je 0x1400175dd
cmp dword [0x1401e3f90], r15d
je 0x1400175dd
cmp word [0x1402321a0], r15w
je 0x1400175dd
mov rdx, rbx
lea rcx, str.Filesystem_reporting:_redirection_failure__too_many_redirects_r_n
jmp 0x140016e09
call fcn.140016cfc
test eax, eax
je 0x14001722d
cmp dword [0x1401e3f88], r15d
je 0x1400175d6
cmp dword [0x1401e3f90], r15d
je 0x1400175d6
cmp word [0x1402321a0], r15w
je 0x1400175d6
mov rdx, rbx
jmp 0x1400175ca
mov rcx, qword [0x140245128]
test rcx, rcx
je 0x14001724a
xor r9d, r9d
mov r8, r12
mov edx, 0x1434
call qword [sym.imp.USER32.dll_PostMessageA]
mov rax, qword [0x1402451b8]
lea r8, [rbp - 0x70]
mov r9, r13
lea rcx, [0x1402311c0]
mov edx, 0x104
mov dword [rax + 0x28], r12d
call fcn.1401525e0
lea rcx, [rbp - 0x70]
call fcn.1400163f8
cmp dword [0x14024b4ec], r15d
mov eax, dword [rbp + 0x19c]
mov ecx, dword [rbp + 0x1a0]
mov dword [0x1402313f4], eax
mov eax, dword [rbp + 0x198]
mov dword [0x1402313f0], eax
mov rax, qword [0x1402451b8]
mov dword [rax + 0x6c], ecx
mov rax, qword [0x1402451b8]
mov ecx, dword [rbp + 0x1a4]
mov dword [rax + 0x70], ecx
mov rax, qword [0x140245180]
mov rcx, qword [rbp + 0x1b0]
mov qword [rax + 8], rcx
mov rax, qword [0x140245180]
mov ecx, dword [rbp + 0x1a8]
mov dword [rax], ecx
je 0x1400172e3
mov rax, qword [0x1402451b8]
mov dword [rax + 0x70], r12d
call fcn.140016cfc
test eax, eax
jne 0x1400171fd
call fcn.14001618c
test eax, eax
jne 0x140017330
cmp dword [0x1401e3f88], r15d
je 0x1400175dd
cmp dword [0x1401e3f90], r15d
je 0x1400175dd
cmp word [0x1402321a0], r15w
je 0x1400175dd
mov rdx, rbx
lea rcx, str.Filesystem_reporting:_could_not_find_create_directory_for_cab_count
jmp 0x140016e09
lea rdx, [rsp + 0x50]
mov dword [rsp + 0x50], r15d
lea rcx, [rsp + 0x54]
mov dword [rsp + 0x54], r15d
call fcn.14001657c
call fcn.140016cfc
test eax, eax
jne 0x1400171fd
mov rcx, qword [0x140245128]
test rcx, rcx
je 0x14001737b
xor r9d, r9d
lea r8d, [rax + 2]
mov edx, 0x1434
call qword [sym.imp.USER32.dll_PostMessageA]
mov rcx, qword [0x140245128]
mov eax, dword [0x1402313f4]
cmp eax, r13d
je 0x140017391
mov edx, r15d
mov dword [0x14024b4f0], edx
jmp 0x1400173a2
mov edx, dword [0x14024b4f0]
mov eax, 5
mov dword [0x1402313f4], eax
cmp eax, dword [rsp + 0x54]
jg 0x1400173b8
test edx, edx
jne 0x1400173b8
mov dword [0x14024b090], r12d
jmp 0x140017533
mov edi, 3
test rcx, rcx
je 0x1400173d3
xor r9d, r9d
mov r8d, edi
mov edx, 0x1434
call qword [sym.imp.USER32.dll_PostMessageA]
mov rax, qword [0x1401e4078]
dec rax
cmp rax, 0xfffffffffffffffd
ja 0x140017446
mov rax, qword [0x140225f98]
xor edx, edx
xor ecx, ecx
call qword [case.0x14000c75c.0]
test eax, eax
js 0x140017446
cmp dword [0x14024b4e0], r15d
mov esi, r12d
jne 0x140017446
mov rax, qword [0x140231140]
xor r9d, r9d
mov qword [rsp + 0x40], r15
xor r8d, r8d
mov dword [rsp + 0x38], r15d
mov edx, r13d
mov qword [rsp + 0x30], r15
xor ecx, ecx
mov dword [rsp + 0x28], edi
mov dword [rsp + 0x20], r15d
call qword [case.0x14000c75c.0]
mov ecx, dword [0x14024b4e0]
test eax, eax
cmovns ecx, r12d
mov dword [0x14024b4e0], ecx
mov r9, qword [0x1402451b0]
mov r8, qword [0x1402451a8]
mov rdx, qword [0x140245180]
mov rcx, qword [0x1402451b8]
call fcn.140012f4c
test eax, eax
je 0x140017522
call fcn.140016cfc
test eax, eax
jne 0x1400174f0
mov rcx, qword [0x1402451a0]
test rcx, rcx
je 0x1400174bf
cmp dword [0x14022602c], r15d
jne 0x140017496
test byte [0x14022699c], 0x40
jne 0x1400174bf
mov qword [rsp + 0x58], r15
mov qword [rsp + 0x68], r15
mov dword [rsp + 0x64], r12d
mov dword [rsp + 0x60], r12d
test rcx, rcx
je 0x1400174bf
mov r8d, 0x18
lea rdx, [rsp + 0x58]
call fcn.1400283e0
call fcn.140016700
test eax, eax
je 0x140017522
cmp dword [0x1401e3f88], r15d
mov r14d, r12d
je 0x14001751b
cmp dword [0x1401e3f90], r15d
je 0x14001751b
cmp word [0x1402321a0], r15w
je 0x14001751b
lea rcx, str.Filesystem_reporting:_cab_successfully_written_r_n
jmp 0x140017513
cmp dword [0x1401e3f88], r15d
je 0x14001751b
cmp dword [0x1401e3f90], r15d
je 0x14001751b
cmp word [0x1402321a0], r15w
je 0x14001751b
lea rcx, str.Filesystem_reporting_cancelled_r_n
mov rdx, rbx
call fcn.140025aa4
mov dword [0x14024b090], r12d
test esi, esi
je 0x140017533
mov rax, qword [0x140225f90]
call qword [case.0x14000c75c.0]
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x54]
call fcn.14001657c
mov edx, dword [rsp + 0x50]
mov ecx, dword [rsp + 0x54]
inc edx
add ecx, r14d
call fcn.14001662c
call fcn.140016cfc
test eax, eax
jne 0x1400171fd
cmp dword [0x1402313f0], r15d
je 0x14001756f
call fcn.140016900
call fcn.140016cfc
test eax, eax
jne 0x1400171fd
cmp dword [0x1401e3f88], r15d
je 0x1400175dd
cmp dword [0x1401e3f90], r15d
je 0x1400175dd
cmp word [0x1402321a0], r15w
je 0x1400175dd
mov rdx, rbx
lea rcx, str.Filesystem_reporting_complete_r_n
jmp 0x140016e09
cmp dword [0x1401e3f88], r15d
je 0x1400175d6
cmp dword [0x1401e3f90], r15d
je 0x1400175d6
cmp word [0x1402321a0], r15w
je 0x1400175d6
lea rdx, [0x1402321a0]
lea rcx, str.Filesystem_reporting_cancelled_r_n
call fcn.140025aa4
mov dword [0x14024b090], r12d
mov rcx, qword [0x140245128]
test rcx, rcx
je 0x1400175fb
xor r9d, r9d
mov edx, 0x1434
lea r8d, [r9 + 4]
call qword [sym.imp.USER32.dll_PostMessageA]
mov rcx, qword [0x1402313d0]
test rcx, rcx
je 0x140017613
call fcn.140152ed8
mov qword [0x1402313d0], r15
mov rcx, qword [0x1402313d8]
test rcx, rcx
je 0x14001762b
call fcn.140152ed8
mov qword [0x1402313d8], r15
mov rcx, qword [0x1402313e0]
test rcx, rcx
je 0x140017643
call fcn.140152ed8
mov qword [0x1402313e0], r15
mov rcx, qword [0x1402313e8]
test rcx, rcx
je 0x14001765b
call fcn.140152ed8
mov qword [0x1402313e8], r15
xor eax, eax
mov rcx, qword [rbp + 0x600]
xor rcx, rsp
call fcn.14012e400
lea r11, [rsp + 0x710]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret