Function at 0x14005a310
Capabilities:
Check if file exists

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x50
mov rsi, rcx
movzx ebx, dl
xor ecx, ecx
xor edi, edi
call fcn.140027930
test rax, rax
je 0x14005a356
lea r9, str.ConfigurationManger
mov dword [rsp + 0x20], 0x1e
xor r8d, r8d
lea rdx, [0x140045110]
mov rcx, rax
call fcn.140027c40
jmp 0x14005a359
mov rax, rdi
mov rcx, rax
call fcn.140064fc0
xor ecx, ecx
test al, al
je 0x14005a436
call fcn.140027930
test rax, rax
je 0x14005a398
lea r9, str.Logger
mov dword [rsp + 0x20], 1
xor r8d, r8d
lea rdx, [0x14001ccd0]
mov rcx, rax
call fcn.140027c40
jmp 0x14005a39b
mov rax, rdi
cmp dword [rax + 0x40], 4
jl 0x14005a3e7
xor ecx, ecx
call fcn.140027930
test rax, rax
je 0x14005a3d0
lea r9, str.Logger
mov dword [rsp + 0x20], 1
xor r8d, r8d
lea rdx, [0x14001ccd0]
mov rcx, rax
call fcn.140027c40
jmp 0x14005a3d3
mov rax, rdi
lea r8, str.AdpSDKUtil::GetUserID___Identity_call_is_disabled___skipping_user_id_call_to_identity_sdk
mov edx, 4
mov rcx, rax
call fcn.14001ef20
lea rdx, str.ui.json
lea rcx, [rsp + 0x30]
call fcn.140058920
cmp qword [rsp + 0x48], 7
lea rcx, [rsp + 0x30]
cmova rcx, qword [rsp + 0x30]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
lea rcx, [rsp + 0x30]
mov ebx, eax
call fcn.140009810
cmp ebx, 1
mov eax, 8
cmovne eax, edi
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
add rsp, 0x50
pop rdi
ret
call fcn.140027930
test rax, rax
je 0x14005a464
lea r9, str.AdpSDKUtil
mov dword [rsp + 0x20], 0x19
xor r8d, r8d
lea rdx, [0x14005a0a0]
mov rcx, rax
call fcn.140027c40
mov rdi, rax
movzx r8d, bl
mov rdx, rsi
mov rcx, rdi
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
add rsp, 0x50
pop rdi
jmp 0x14005b890
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x70
mov rax, qword [0x1401c6780]
xor rax, rsp
mov qword [rbp - 0x10], rax
movzx r12d, r8b
mov r14, rdx
mov r13, rcx
xor edi, edi
mov qword [rbp - 0x18], rdi
cmp qword [rdx], rdi
je 0x14005b902
lea ecx, [rdi + 0x58]
call fcn.1401219f8
mov qword [rbp - 0x48], 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 [r14]
mov rcx, rax
call fcn.1400b0f20
nop
mov qword [rbp - 0x18], rax
lea rcx, [rbp - 0x18]
call fcn.14005b590
xorps xmm0, xmm0
movups xmmword [rbp - 0x40], xmm0
mov qword [rbp - 0x30], rdi
mov qword [rbp - 0x28], rdi
mov r8d, 9
lea rdx, str.GetUserID
lea rcx, [rbp - 0x40]
call fcn.14000c1a0
nop
lea rcx, [rbp - 0x40]
call fcn.14005a490
mov rbx, rax
mov ecx, 0x58
call fcn.1401219f8
mov qword [rbp - 0x48], 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.1400b0ea0
mov r15, rax
mov qword [rbp - 0x48], rax
mov ecx, 0x40
call fcn.1401219f8
mov rsi, rax
mov qword [rbp - 0x20], rax
xorps xmm0, xmm0
movups xmmword [rax], xmm0
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
lea rdi, [rax + 0x20]
movups xmmword [rdi], xmm0
lea rax, [rdi + 0x10]
mov qword [rbp - 0x50], rax
xor ecx, ecx
mov qword [rax], rcx
mov qword [rdi + 0x18], 7
mov word [rdi], cx
mov rbx, 0xffffffffffffffff
mov r8, rbx
lea rax, str._timeout
inc r8
cmp byte [rax + r8], 0
jne 0x14005b9d4
mov rdx, rax
mov rcx, rsi
call fcn.14000a7d0
cmp qword [rdi + 0x18], 7
jbe 0x14005b9f3
mov rdi, qword [rdi]
mov rax, qword [rbp - 0x50]
xor ecx, ecx
mov qword [rax], rcx
mov word [rdi], cx
mov qword [rbp - 0x50], rsi
lea rdx, [rbp - 0x50]
lea rcx, [rbp - 0x18]
call fcn.1400b1d90
mov rdi, rax
xor edx, edx
lea rcx, [rbp - 0x50]
call fcn.1400b0970
nop
mov rcx, rdi
call fcn.1400b28a0
test r15, r15
je 0x14005ba35
mov qword [rdi], r15
xor ecx, ecx
mov qword [rbp - 0x48], rcx
lea rcx, [rbp - 0x48]
call fcn.1400b28a0
nop
lea rcx, [rbp - 0x40]
call fcn.140009880
test r12b, r12b
je 0x14005bb12
mov dl, 1
lea rcx, [rbp - 0x50]
call fcn.1400b1b80
nop
mov ecx, 0x40
call fcn.1401219f8
mov rdi, rax
mov qword [rbp - 0x20], rax
xorps xmm0, xmm0
movups xmmword [rax], xmm0
xor r12d, r12d
mov qword [rax + 0x10], r12
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], r12b
lea rsi, [rax + 0x20]
movups xmmword [rsi], xmm0
lea r15, [rsi + 0x10]
mov qword [r15], r12
mov qword [rsi + 0x18], 7
mov word [rsi], r12w
lea rax, str.access_token
inc rbx
cmp byte [rax + rbx], 0
jne 0x14005baa7
mov r8, rbx
mov rdx, rax
mov rcx, rdi
call fcn.14000a7d0
cmp qword [rsi + 0x18], 7
jbe 0x14005bac8
mov rsi, qword [rsi]
mov qword [r15], r12
mov word [rsi], r12w
mov qword [rbp - 0x48], rdi
lea rdx, [rbp - 0x48]
lea rcx, [rbp - 0x18]
call fcn.1400b1d90
mov rbx, rax
xor edx, edx
lea rcx, [rbp - 0x48]
call fcn.1400b0970
nop
mov rcx, rbx
call fcn.1400b28a0
mov rcx, qword [rbp - 0x50]
test rcx, rcx
je 0x14005bb07
mov qword [rbx], rcx
mov qword [rbp - 0x50], r12
lea rcx, [rbp - 0x50]
call fcn.1400b28a0
jmp 0x14005bb15
xor r12d, r12d
xorps xmm0, xmm0
movups xmmword [rbp - 0x40], xmm0
mov qword [rbp - 0x30], r12
mov qword [rbp - 0x28], r12
mov r8d, 9
lea rdx, str.GetUserID
lea rcx, [rbp - 0x40]
call fcn.14000c1a0
nop
mov r9, r14
lea r8, [rbp - 0x18]
lea rdx, [rbp - 0x40]
mov rcx, r13
call fcn.14005a620
mov ebx, eax
lea rcx, [rbp - 0x40]
call fcn.140009880
nop
lea rcx, [rbp - 0x18]
call fcn.1400b28a0
mov eax, ebx
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.1401219d0
mov rbx, qword [rsp + 0xc0]
add rsp, 0x70
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret