Function at 0x140051580
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.140027380
lea r9, str.ConfigurationManger
mov dword [rsp + 0x20], 0x1e
xor r8d, r8d
lea rdx, [0x140041200]
mov rcx, rax
call fcn.140027650
mov rcx, rax
call fcn.1400596b0
xor ecx, ecx
test al, al
je 0x14005167e
call fcn.140027380
lea r9, str.Logger
mov dword [rsp + 0x20], 1
xor r8d, r8d
lea rdx, [0x14001cc30]
mov rcx, rax
call fcn.140027650
cmp dword [rax + 0x40], 4
jl 0x140051632
xor ecx, ecx
call fcn.140027380
lea r9, str.Logger
mov dword [rsp + 0x20], 1
xor r8d, r8d
lea rdx, [0x14001cc30]
mov rcx, rax
call fcn.140027650
lea r8, str.AdpSDKUtil::GetUserID___Identity_call_is_disabled___skipping_user_id_call_to_identity_sdk
mov edx, 4
mov rcx, rax
call fcn.14001efa0
lea rdx, str.ui.json
lea rcx, [rsp + 0x30]
call fcn.140050070
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.140008fe0
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.140027380
lea r9, str.AdpSDKUtil
mov dword [rsp + 0x20], 0x19
xor r8d, r8d
lea rdx, [0x1400506f0]
mov rcx, rax
call fcn.140027650
movzx r8d, bl
mov rdx, rdi
mov rcx, rax
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rdi
jmp 0x140052810
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 [0x140189090]
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 0x140052887
lea ecx, [r12 + 0x58]
call fcn.1400f89d8
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.140097960
nop
mov qword [rbp - 0x10], rax
lea rcx, [rbp - 0x10]
call fcn.1400525e0
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.140009250
nop
lea rcx, [rbp - 0x30]
call fcn.1400516c0
mov rbx, rax
mov ecx, 0x58
call fcn.1400f89d8
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.1400978e0
mov rbx, rax
mov qword [rbp - 0x40], rax
mov qword [rbp - 0x38], r12
lea rdx, str._timeout
lea rcx, [rbp - 0x38]
call fcn.140097430
nop
lea rdx, [rbp - 0x38]
lea rcx, [rbp - 0x10]
call fcn.1400987a0
mov r14, rax
xor edx, edx
lea rcx, [rbp - 0x38]
call fcn.140097430
nop
mov rcx, r14
call fcn.140099270
test rbx, rbx
je 0x14005294d
mov qword [r14], rbx
mov qword [rbp - 0x40], r12
lea rcx, [rbp - 0x40]
call fcn.140099270
nop
lea rcx, [rbp - 0x30]
call fcn.1400091f0
test sil, sil
je 0x1400529c3
mov dl, 1
lea rcx, [rbp - 0x40]
call fcn.1400984b0
nop
mov qword [rbp - 0x38], r12
lea rdx, str.access_token
lea rcx, [rbp - 0x38]
call fcn.140097430
nop
lea rdx, [rbp - 0x38]
lea rcx, [rbp - 0x10]
call fcn.1400987a0
mov rbx, rax
xor edx, edx
lea rcx, [rbp - 0x38]
call fcn.140097430
nop
mov rcx, rbx
call fcn.140099270
mov rcx, qword [rbp - 0x40]
test rcx, rcx
je 0x1400529ba
mov qword [rbx], rcx
mov qword [rbp - 0x40], r12
lea rcx, [rbp - 0x40]
call fcn.140099270
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.140009250
nop
mov r9, rdi
lea r8, [rbp - 0x10]
lea rdx, [rbp - 0x30]
mov rcx, r15
call fcn.1400517b0
mov ebx, eax
lea rcx, [rbp - 0x30]
call fcn.1400091f0
nop
lea rcx, [rbp - 0x10]
call fcn.140099270
mov eax, ebx
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.1400f89b0
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