Function at 0x14008d580
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 [0x140189090]
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 [0x140166ac0]
movdqu xmmword [rbp - 0x78], xmm0
mov byte [rsp + 0x78], r15b
test r8, r8
je 0x14008d5d3
cmp byte [r8], r15b
jne 0x14008d5da
lea rax, [0x140164508]
mov qword [rsp + 0x58], r15
movdqa xmm0, xmmword [0x140166ac0]
movdqu xmmword [rsp + 0x68], xmm0
mov byte [rsp + 0x58], 0
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp byte [rax + r8], 0
jne 0x14008d600
mov rdx, rax
lea rcx, [rsp + 0x58]
call fcn.140009250
nop
lea r8, [rsp + 0x58]
lea rdx, [rsp + 0x58]
lea rcx, [rbp - 8]
call fcn.140090e80
mov rbx, rax
lea rax, [rsp + 0x58]
cmp rax, rbx
je 0x14008d662
lea rcx, [rsp + 0x58]
call fcn.1400091f0
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.1400091f0
lea rcx, [rsp + 0x78]
call fcn.14008e2e0
lea rdi, [rsp + 0x58]
cmp qword [rsp + 0x70], 0x10
cmovae rdi, qword [rsp + 0x58]
lea rdx, str.UserConsent
lea rcx, [rsp + 0x38]
call fcn.140050070
mov rbx, rax
mov rdx, rdi
lea rcx, [rbp - 8]
call fcn.140022020
nop
lea r8, [rbp - 8]
lea rdx, [rbp - 0x68]
mov rcx, rbx
call fcn.140024c30
nop
lea rcx, [rbp - 8]
call fcn.140008fe0
nop
lea rcx, [rsp + 0x38]
call fcn.140008fe0
nop
lea r8, str..json
lea rdx, [rbp - 0x48]
lea rcx, [rbp - 0x68]
call fcn.140024fb0
nop
lea rcx, [rbp - 0x68]
call fcn.140008fe0
lea rdx, [rsp + 0x78]
cmp qword [rbp - 0x70], 0x10
cmovae rdx, qword [rsp + 0x78]
lea rcx, [rbp - 0x28]
call fcn.14008f450
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 0x14008d72b
movzx ebx, dil
jmp 0x14008d7fb
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.140024e70
mov qword [rbp - 0x68], r15
mov dword [rbp - 0x60], r15d
mov edx, edi
lea rcx, [rbp - 0x68]
call fcn.1401075ac
xor ecx, ecx
call fcn.140027380
mov dword [rsp + 0x20], 0x1e
lea r9, str.ConfigurationManger
xor r8d, r8d
lea rdx, [0x140041200]
mov rcx, rax
call fcn.140027650
mov rbx, rax
mov qword [rsp + 0x30], r15
lea rdx, str.userPrefUpdateIntervalHour
lea rcx, [rsp + 0x30]
call fcn.140097430
nop
xor r9d, r9d
mov r8d, edi
lea rdx, [rsp + 0x30]
mov rcx, rbx
call fcn.140056c30
mov rcx, qword [rax]
test rcx, rcx
jne 0x14008d7c4
mov ecx, 0x18
jmp 0x14008d7d9
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.140097430
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 0x14008d81d
mov sil, 1
movzx ebx, sil
jmp 0x14008d821
test bl, bl
je 0x14008d83d
lea r8, [rsp + 0x58]
cmp qword [rsp + 0x70], 0x10
cmovae r8, qword [rsp + 0x58]
movzx edx, sil
call fcn.1400930a0
jmp 0x14008d8a4
xor ecx, ecx
call fcn.140027380
mov dword [rsp + 0x20], edi
lea r9, str.Logger
xor r8d, r8d
lea rdx, [0x14001cc30]
mov rcx, rax
call fcn.140027650
cmp dword [rax + 0x40], 4
jl 0x14008d89f
xor ecx, ecx
call fcn.140027380
mov dword [rsp + 0x20], edi
lea r9, str.Logger
xor r8d, r8d
lea rdx, [0x14001cc30]
mov rcx, rax
call fcn.140027650
lea r8, str.SyncUserConsent:_No_sync_required___all_upto_date
mov edx, 4
mov rcx, rax
call fcn.14001efa0
mov eax, 8
mov dword [rsp + 0x30], eax
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0x58]
lea rcx, [rbp - 0x48]
call fcn.14008cd90
movzx ebx, bl
test al, al
cmovne ebx, edi
lea r8, [rsp + 0x30]
lea rdx, [rbp - 0x48]
mov rcx, r14
call fcn.14008d200
test al, al
jne 0x14008d8dc
test bl, bl
je 0x14008d8e9
lea rcx, str.fetched_user_consent_from_config_service
call fcn.14004d200
nop
lea rcx, [rbp - 0x28]
call fcn.140008fe0
nop
lea rcx, [rbp - 0x48]
call fcn.140008fe0
nop
lea rcx, [rsp + 0x58]
call fcn.1400091f0
nop
lea rcx, [rsp + 0x78]
call fcn.1400091f0
mov eax, dword [rsp + 0x30]
mov rcx, qword [rbp + 0x18]
xor rcx, rsp
call fcn.1400f89b0
mov rbx, qword [rsp + 0x168]
add rsp, 0x120
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret