Function at 0x140050f20
Capabilities:
Check if file exists

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x50
mov rdi, rcx
movzx ebx, dl
xor ecx, ecx
call fcn.140027000
lea r9, str.ConfigurationManger
mov dword [rsp + 0x20], 0x1e
xor r8d, r8d
lea rdx, [0x140040b10]
mov rcx, rax
call fcn.1400272d0
mov rcx, rax
call fcn.140058d90
xor ecx, ecx
test al, al
je 0x14005101e
call fcn.140027000
lea r9, str.Logger
mov dword [rsp + 0x20], 1
xor r8d, r8d
lea rdx, [0x14001c7c0]
mov rcx, rax
call fcn.1400272d0
cmp dword [rax + 0x40], 4
jl 0x140050fd2
xor ecx, ecx
call fcn.140027000
lea r9, str.Logger
mov dword [rsp + 0x20], 1
xor r8d, r8d
lea rdx, [0x14001c7c0]
mov rcx, rax
call fcn.1400272d0
lea r8, str.AdpSDKUtil::GetUserID___Identity_call_is_disabled___skipping_user_id_call_to_identity_sdk
mov edx, 4
mov rcx, rax
call fcn.14001e890
lea rdx, str.ui.json
lea rcx, [rsp + 0x30]
call fcn.14004f980
cmp qword [rsp + 0x48], 8
lea rcx, [rsp + 0x30]
cmovae rcx, qword [rsp + 0x30]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
lea rcx, [rsp + 0x30]
mov ebx, eax
call fcn.140008e70
xor ecx, ecx
mov eax, 8
cmp ebx, 1
cmovne eax, ecx
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rdi
ret
call fcn.140027000
lea r9, str.AdpSDKUtil
mov dword [rsp + 0x20], 0x19
xor r8d, r8d
lea rdx, [0x140050090]
mov rcx, rax
call fcn.1400272d0
movzx r8d, bl
mov rdx, rdi
mov rcx, rax
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rdi
jmp 0x140052120
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r12
push r14
push r15
mov rbp, rsp
sub rsp, 0x60
mov rax, qword [0x14018a090]
xor rax, rsp
mov qword [rbp - 8], rax
movzx esi, r8b
mov rdi, rdx
mov r15, rcx
xor r12d, r12d
mov qword [rbp - 0x10], r12
cmp qword [rdx], r12
je 0x140052197
lea ecx, [r12 + 0x58]
call fcn.1400f9588
mov qword [rbp - 0x40], rax
xorps xmm0, xmm0
xor ecx, ecx
movups xmmword [rax], xmm0
movups xmmword [rax + 0x10], xmm0
movups xmmword [rax + 0x20], xmm0
movups xmmword [rax + 0x30], xmm0
movups xmmword [rax + 0x40], xmm0
mov qword [rax + 0x50], rcx
mov rdx, qword [rdi]
mov rcx, rax
call fcn.1400985a0
nop
mov qword [rbp - 0x10], rax
lea rcx, [rbp - 0x10]
call fcn.140051ef0
mov qword [rbp - 0x30], r12
mov qword [rbp - 0x20], r12
mov qword [rbp - 0x18], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x30], 0
mov r8d, 9
lea rdx, str.GetUserID
lea rcx, [rbp - 0x30]
call fcn.1400090e0
nop
lea rcx, [rbp - 0x30]
call fcn.140051060
mov rbx, rax
mov ecx, 0x58
call fcn.1400f9588
mov qword [rbp - 0x40], rax
xorps xmm0, xmm0
xor ecx, ecx
movups xmmword [rax], xmm0
movups xmmword [rax + 0x10], xmm0
movups xmmword [rax + 0x20], xmm0
movups xmmword [rax + 0x30], xmm0
movups xmmword [rax + 0x40], xmm0
mov qword [rax + 0x50], rcx
xorps xmm1, xmm1
cvtsi2sd xmm1, rbx
mov rcx, rax
call fcn.140098520
mov rbx, rax
mov qword [rbp - 0x40], rax
mov qword [rbp - 0x38], r12
lea rdx, str._timeout
lea rcx, [rbp - 0x38]
call fcn.140098070
nop
lea rdx, [rbp - 0x38]
lea rcx, [rbp - 0x10]
call fcn.1400993e0
mov r14, rax
xor edx, edx
lea rcx, [rbp - 0x38]
call fcn.140098070
nop
mov rcx, r14
call fcn.140099eb0
test rbx, rbx
je 0x14005225d
mov qword [r14], rbx
mov qword [rbp - 0x40], r12
lea rcx, [rbp - 0x40]
call fcn.140099eb0
nop
lea rcx, [rbp - 0x30]
call fcn.140009080
test sil, sil
je 0x1400522d3
mov dl, 1
lea rcx, [rbp - 0x40]
call fcn.1400990f0
nop
mov qword [rbp - 0x38], r12
lea rdx, str.access_token
lea rcx, [rbp - 0x38]
call fcn.140098070
nop
lea rdx, [rbp - 0x38]
lea rcx, [rbp - 0x10]
call fcn.1400993e0
mov rbx, rax
xor edx, edx
lea rcx, [rbp - 0x38]
call fcn.140098070
nop
mov rcx, rbx
call fcn.140099eb0
mov rcx, qword [rbp - 0x40]
test rcx, rcx
je 0x1400522ca
mov qword [rbx], rcx
mov qword [rbp - 0x40], r12
lea rcx, [rbp - 0x40]
call fcn.140099eb0
mov qword [rbp - 0x30], r12
mov qword [rbp - 0x20], r12
mov qword [rbp - 0x18], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x30], 0
mov r8d, 9
lea rdx, str.GetUserID
lea rcx, [rbp - 0x30]
call fcn.1400090e0
nop
mov r9, rdi
lea r8, [rbp - 0x10]
lea rdx, [rbp - 0x30]
mov rcx, r15
call fcn.140051150
mov ebx, eax
lea rcx, [rbp - 0x30]
call fcn.140009080
nop
lea rcx, [rbp - 0x10]
call fcn.140099eb0
mov eax, ebx
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.1400f9560
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret