Function at 0x14008e320
Capabilities:
Check if file exists

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x20]
sub rsp, 0x120
mov rax, qword [0x14018a090]
xor rax, rsp
mov qword [rbp + 0x18], rax
mov rax, r8
movzx esi, dl
mov r14, rcx
xor r15d, r15d
mov qword [rsp + 0x78], r15
movdqa xmm0, xmmword [0x140167e50]
movdqu xmmword [rbp - 0x78], xmm0
mov byte [rsp + 0x78], r15b
test r8, r8
je 0x14008e373
cmp byte [r8], r15b
jne 0x14008e37a
lea rax, [0x140165898]
mov qword [rsp + 0x58], r15
movdqa xmm0, xmmword [0x140167e50]
movdqu xmmword [rsp + 0x68], xmm0
mov byte [rsp + 0x58], 0
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp byte [rax + r8], 0
jne 0x14008e3a0
mov rdx, rax
lea rcx, [rsp + 0x58]
call fcn.1400090e0
nop
lea r8, [rsp + 0x58]
lea rdx, [rsp + 0x58]
lea rcx, [rbp - 8]
call fcn.140091c20
mov rbx, rax
lea rax, [rsp + 0x58]
cmp rax, rbx
je 0x14008e402
lea rcx, [rsp + 0x58]
call fcn.140009080
movups xmm0, xmmword [rbx]
movups xmmword [rsp + 0x58], xmm0
movups xmm1, xmmword [rbx + 0x10]
movups xmmword [rsp + 0x68], xmm1
mov qword [rbx + 0x10], r15
mov qword [rbx + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rbx], 0
lea rcx, [rbp - 8]
call fcn.140009080
lea rcx, [rsp + 0x78]
call fcn.14008f080
lea rdi, [rsp + 0x58]
cmp qword [rsp + 0x70], 0x10
cmovae rdi, qword [rsp + 0x58]
lea rdx, str.UserConsent
lea rcx, [rsp + 0x38]
call fcn.14004f980
mov rbx, rax
mov rdx, rdi
lea rcx, [rbp - 8]
call fcn.140021910
nop
lea r8, [rbp - 8]
lea rdx, [rbp - 0x68]
mov rcx, rbx
call fcn.140024500
nop
lea rcx, [rbp - 8]
call fcn.140008e70
nop
lea rcx, [rsp + 0x38]
call fcn.140008e70
nop
lea r8, str..json
lea rdx, [rbp - 0x48]
lea rcx, [rbp - 0x68]
call fcn.140024880
nop
lea rcx, [rbp - 0x68]
call fcn.140008e70
lea rdx, [rsp + 0x78]
cmp qword [rbp - 0x70], 0x10
cmovae rdx, qword [rsp + 0x78]
lea rcx, [rbp - 0x28]
call fcn.1400901f0
nop
lea rcx, [rbp - 0x28]
cmp qword [rbp - 0x10], 8
cmovae rcx, qword [rbp - 0x28]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov edi, 1
cmp eax, edi
je 0x14008e4cb
movzx ebx, dil
jmp 0x14008e59b
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp - 8], xmm0
mov qword [rbp + 8], rax
lea r9, [rbp + 8]
lea r8, [rbp]
lea rdx, [rbp - 8]
lea rcx, [rbp - 0x28]
call fcn.140024740
mov qword [rbp - 0x68], r15
mov dword [rbp - 0x60], r15d
mov edx, edi
lea rcx, [rbp - 0x68]
call fcn.14010815c
xor ecx, ecx
call fcn.140027000
mov dword [rsp + 0x20], 0x1e
lea r9, str.ConfigurationManger
xor r8d, r8d
lea rdx, [0x140040b10]
mov rcx, rax
call fcn.1400272d0
mov rbx, rax
mov qword [rsp + 0x30], r15
lea rdx, str.userPrefUpdateIntervalHour
lea rcx, [rsp + 0x30]
call fcn.140098070
nop
xor r9d, r9d
mov r8d, edi
lea rdx, [rsp + 0x30]
mov rcx, rbx
call fcn.1400563c0
mov rcx, qword [rax]
test rcx, rcx
jne 0x14008e564
mov ecx, 0x18
jmp 0x14008e579
cvttsd2si rax, qword [rcx + 8]
mov ecx, 0x18
test rax, rax
cmovle rax, rcx
mov rcx, rax
imul rbx, rcx, 0xe10
xor edx, edx
lea rcx, [rsp + 0x30]
call fcn.140098070
nop
mov rax, qword [rbp - 0x68]
sub rax, qword [rbp + 8]
cmp rax, rbx
setg bl
lea rcx, [rbp - 0x48]
cmp qword [rbp - 0x30], 8
cmovae rcx, qword [rbp - 0x48]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmp eax, 1
je 0x14008e5bd
mov sil, 1
movzx ebx, sil
jmp 0x14008e5c1
test bl, bl
je 0x14008e5dd
lea r8, [rsp + 0x58]
cmp qword [rsp + 0x70], 0x10
cmovae r8, qword [rsp + 0x58]
movzx edx, sil
call fcn.140093e40
jmp 0x14008e644
xor ecx, ecx
call fcn.140027000
mov dword [rsp + 0x20], edi
lea r9, str.Logger
xor r8d, r8d
lea rdx, [0x14001c7c0]
mov rcx, rax
call fcn.1400272d0
cmp dword [rax + 0x40], 4
jl 0x14008e63f
xor ecx, ecx
call fcn.140027000
mov dword [rsp + 0x20], edi
lea r9, str.Logger
xor r8d, r8d
lea rdx, [0x14001c7c0]
mov rcx, rax
call fcn.1400272d0
lea r8, str.SyncUserConsent:_No_sync_required___all_upto_date
mov edx, 4
mov rcx, rax
call fcn.14001e890
mov eax, 8
mov dword [rsp + 0x30], eax
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0x58]
lea rcx, [rbp - 0x48]
call fcn.14008db30
movzx ebx, bl
test al, al
cmovne ebx, edi
lea r8, [rsp + 0x30]
lea rdx, [rbp - 0x48]
mov rcx, r14
call fcn.14008dfa0
test al, al
jne 0x14008e67c
test bl, bl
je 0x14008e689
lea rcx, str.fetched_user_consent_from_config_service
call fcn.14004cb00
nop
lea rcx, [rbp - 0x28]
call fcn.140008e70
nop
lea rcx, [rbp - 0x48]
call fcn.140008e70
nop
lea rcx, [rsp + 0x58]
call fcn.140009080
nop
lea rcx, [rsp + 0x78]
call fcn.140009080
mov eax, dword [rsp + 0x30]
mov rcx, qword [rbp + 0x18]
xor rcx, rsp
call fcn.1400f9560
mov rbx, qword [rsp + 0x168]
add rsp, 0x120
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret