Function at 0x1400af520
Capabilities:
Check if file exists

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x37]
sub rsp, 0xb0
mov r14, rcx
xor r12d, r12d
mov dword [rbp + 0x67], r12d
lea rdx, str.ui.json
lea rcx, [rbp - 0x49]
call fcn.140058920
lea rcx, [rbp - 0x49]
cmp qword [rbp - 0x31], 7
cmova rcx, qword [rbp - 0x49]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov r15d, eax
lea rcx, [rbp - 0x49]
call fcn.140009810
lea rdx, str.ui.json
lea rcx, [rbp - 9]
call fcn.140058920
nop
mov rdx, qword [r14 + 0x30]
test rdx, rdx
je 0x1400af5bd
lea rcx, [rbp - 0x29]
call fcn.1400b9c20
nop
lea rdx, [rbp - 0x29]
lea rcx, [rbp + 0x67]
call fcn.14001b2a0
mov edi, 0x1f80
lea rcx, [rbp - 0x29]
call fcn.140009880
mov rdx, qword [rbp + 0x67]
jmp 0x1400af5c9
mov qword [rbp + 0x67], r12
mov edi, 0xf80
mov rdx, r12
test rdx, rdx
je 0x1400af5ee
mov rax, rdx
mov rcx, qword [rdx + 0x18]
cmp rcx, 0xf
jbe 0x1400af5de
mov rax, qword [rdx]
test rax, rax
je 0x1400af5ee
cmp rcx, 0xf
jbe 0x1400af5f5
mov rdx, qword [rdx]
jmp 0x1400af5f5
lea rdx, [0x14018f4cd]
xorps xmm0, xmm0
movups xmmword [rbp - 0x49], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x39], xmm1
mov r8, 0xffffffffffffffff
nop dword [rax + rax]
inc r8
cmp byte [rdx + r8], 0
jne 0x1400af610
lea rcx, [rbp - 0x49]
call fcn.14000c1a0
bts edi, 0xd
lea rdx, [rbp - 0x49]
cmp qword [rbp - 0x31], 0xf
cmova rdx, qword [rbp - 0x49]
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x20], r12
xor r9d, r9d
mov r8, qword [rbp - 0x39]
lea rcx, [rbp - 9]
call fcn.1400233d0
movzx ebx, al
lea rcx, [rbp - 0x49]
call fcn.140009880
nop
xor edx, edx
lea rcx, [rbp + 0x67]
call fcn.1400b0970
nop
lea rcx, [rbp - 9]
call fcn.140009810
xor ecx, ecx
call fcn.140027930
test bl, bl
jne 0x1400af816
test rax, rax
je 0x1400af6a8
mov dword [rsp + 0x20], 1
lea r9, str.Logger
xor r8d, r8d
lea rdx, [0x14001ccd0]
mov rcx, rax
call fcn.140027c40
jmp 0x1400af6ab
mov rax, r12
cmp dword [rax + 0x40], 2
jl 0x1400af7c2
xor ecx, ecx
call fcn.140027930
test rax, rax
je 0x1400af6e7
mov dword [rsp + 0x20], 1
lea r9, str.Logger
xor r8d, r8d
lea rdx, [0x14001ccd0]
mov rcx, rax
call fcn.140027c40
mov r15, rax
jmp 0x1400af6ea
mov r15, r12
mov rdx, qword [r14 + 0x30]
test rdx, rdx
je 0x1400af720
lea rcx, [rbp - 9]
call fcn.1400b9c20
bts edi, 0xf
lea rdx, [rbp - 9]
lea rcx, [rbp + 0x6f]
call fcn.14001b2a0
bts edi, 0xe
lea rcx, [rbp - 9]
call fcn.140009880
mov rbx, qword [rbp + 0x6f]
jmp 0x1400af72b
mov qword [rbp + 0x6f], r12
bts edi, 0xe
mov rbx, r12
or edi, 1
mov dword [rbp + 0x67], edi
test rbx, rbx
je 0x1400af742
cmp qword [rbx + 0x18], 0xf
jbe 0x1400af745
mov rbx, qword [rbx]
jmp 0x1400af745
mov rbx, r12
mov edx, 0xffffffff
lea rcx, [rbp + 0x17]
call fcn.14002c970
mov rsi, rax
or edi, 2
mov dword [rbp + 0x67], edi
cmp qword [rax + 0x18], 0xf
jbe 0x1400af766
mov rsi, qword [rax]
lea rdx, str.ui.json
lea rcx, [rbp - 0x29]
call fcn.140058920
or edi, 0x30000
or edi, 4
mov dword [rbp + 0x67], edi
lea rdx, [rbp - 0x49]
lea rcx, [rbp - 0x29]
call fcn.1400220b0
nop
or edi, 8
mov dword [rbp + 0x67], edi
cmp qword [rax + 0x18], 0xf
jbe 0x1400af7a0
mov rax, qword [rax]
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], rsi
mov r9, rax
lea r8, str.AdpComponent::SetUserInformation:_Cannot_write_user_info_to__s____s_n_s
mov edx, 2
mov rcx, r15
call fcn.14001ef20
nop
test dil, 8
je 0x1400af7d5
and edi, 0xfffffff7
lea rcx, [rbp - 0x49]
call fcn.140009880
nop
test dil, 4
je 0x1400af7e8
and edi, 0xfffffffb
lea rcx, [rbp - 0x29]
call fcn.140009810
nop
test dil, 2
je 0x1400af7fb
and edi, 0xfffffffd
lea rcx, [rbp + 0x17]
call fcn.140009880
nop
test dil, 1
je 0x1400af9e4
xor edx, edx
lea rcx, [rbp + 0x6f]
call fcn.1400b0970
nop
jmp 0x1400af9e4
test rax, rax
je 0x1400af83e
mov dword [rsp + 0x20], 1
lea r9, str.Logger
xor r8d, r8d
lea rdx, [0x14001ccd0]
mov rcx, rax
call fcn.140027c40
jmp 0x1400af841
mov rax, r12
cmp dword [rax + 0x40], 5
jl 0x1400af932
xor ecx, ecx
call fcn.140027930
test rax, rax
je 0x1400af87d
mov dword [rsp + 0x20], 1
lea r9, str.Logger
xor r8d, r8d
lea rdx, [0x14001ccd0]
mov rcx, rax
call fcn.140027c40
mov rsi, rax
jmp 0x1400af880
mov rsi, r12
mov rdx, qword [r14 + 0x30]
test rdx, rdx
je 0x1400af8b6
lea rcx, [rbp - 9]
call fcn.1400b9c20
bts edi, 0x14
lea rdx, [rbp - 9]
lea rcx, [rbp + 0x6f]
call fcn.14001b2a0
bts edi, 0x13
lea rcx, [rbp - 9]
call fcn.140009880
mov rbx, qword [rbp + 0x6f]
jmp 0x1400af8c1
mov qword [rbp + 0x6f], r12
bts edi, 0x13
mov rbx, r12
or edi, 0x10
mov dword [rbp + 0x67], edi
test rbx, rbx
je 0x1400af8d8
cmp qword [rbx + 0x18], 0xf
jbe 0x1400af8db
mov rbx, qword [rbx]
jmp 0x1400af8db
mov rbx, r12
lea rdx, str.ui.json
lea rcx, [rbp - 0x29]
call fcn.140058920
or edi, 0x600000
or edi, 0x20
mov dword [rbp + 0x67], edi
lea rdx, [rbp + 0x17]
lea rcx, [rbp - 0x29]
call fcn.1400220b0
nop
or edi, 0x40
mov dword [rbp + 0x67], edi
cmp qword [rax + 0x18], 0xf
jbe 0x1400af915
mov rax, qword [rax]
mov qword [rsp + 0x20], rbx
mov r9, rax
lea r8, str.SyncUserConsent:_Wrote_user_info_to__s_n_s
mov edx, 5
mov rcx, rsi
call fcn.14001ef20
nop
test dil, 0x40
je 0x1400af945
and edi, 0xffffffbf
lea rcx, [rbp + 0x17]
call fcn.140009880
nop
test dil, 0x20
je 0x1400af958
and edi, 0xffffffdf
lea rcx, [rbp - 0x29]
call fcn.140009810
nop
test dil, 0x10
je 0x1400af96a
xor edx, edx
lea rcx, [rbp + 0x6f]
call fcn.1400b0970
nop
cmp byte [r14 + 0x98], 0
jne 0x1400af97a
cmp r15d, 1
je 0x1400af9e4
mov byte [r14 + 0x98], 0
mov ecx, 1
call fcn.140027930
test rax, rax
je 0x1400af9d8
mov dword [rsp + 0x20], reloc.WS2_32.dll_recv
lea r9, str.UserConsentCacheManager
mov r8d, 1
lea rdx, [0x14004a0d0]
mov rcx, rax
call fcn.140027c40
test rax, rax
je 0x1400af9d8
mov qword [rbp + 0x67], r12
lea rcx, [rax + 0x30]
xor r8d, r8d
lea rdx, [rbp + 0x67]
call fcn.1400a6420
nop
lea rcx, [rbp + 0x67]
call fcn.1400b28a0
lea rcx, str.user_id_updated
call fcn.140055000
mov rcx, r14
call fcn.1400adf90
xor eax, eax
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret