Function at 0x18015dcc0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov rax, rsp
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rax - 0x198]
sub rsp, 0x270
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rsi
movaps xmmword [rax - 0x38], xmm6
movaps xmmword [rax - 0x48], xmm7
mov rax, qword [0x1802d1460]
xor rax, rsp
mov qword [rbp + 0x140], rax
mov rsi, rdx
mov rbx, rcx
mov rcx, qword [rcx + 0x8f0]
test rcx, rcx
je 0x18015dd3a
cmp byte [rbx + 0xa39], 0
jne 0x18015dd25
mov byte [rbx + 0xa39], 1
mov rax, qword [rcx]
xor edx, edx
call qword [rax + 0x298]
xor edx, edx
mov rcx, rbx
call fcn.1801626e0
lea rcx, [rbp - 0x40]
call fcn.180114e10
nop
xor r15d, r15d
test rsi, rsi
je 0x18015e191
mov r14d, dword [rsi]
call fcn.18014ce40
mov rdi, rax
lea r12, [0x1802f0f58]
mov qword [rsp + 0x38], r12
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov byte [rsp + 0x40], 1
mov rdx, qword [rdi + 0x88]
mov rax, qword [rdi + 0x90]
cmp rdx, rax
je 0x18015dda5
nop dword [rax + rax]
cmp dword [rdx], r14d
je 0x18015e039
add rdx, 0x170
cmp rdx, rax
jne 0x18015dd90
lea rax, [rsp + 0x58]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x68], r15
mov qword [rsp + 0x70], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x58], 0
mov r8d, reloc.WLDAP32.dll_Ordinal_33
lea rdx, str.CAuthSDKConfig::GetFirstMatchUser
lea rcx, [rsp + 0x58]
call fcn.180114020
nop
mov qword [rbp - 0x78], r15
mov qword [rbp - 0x70], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x78], 0
mov r8d, reloc.WS2_32.dll_send
lea rdx, str.m_vUserInfo_is_NULL
lea rcx, [rsp + 0x78]
call fcn.180114020
nop
lea rcx, [rsp + 0x78]
call fcn.180114430
nop
lea rcx, [rsp + 0x58]
call fcn.180114430
nop
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov rdx, rsi
lea rcx, [0x1802e9490]
call fcn.18014ed30
mov eax, dword [rsi]
mov dword [rbx + 0x960], eax
lea r8, [rsi + 0x28]
lea rcx, [rbx + 0x968]
cmp rcx, r8
je 0x18015de5f
mov rdx, r8
cmp qword [r8 + 0x18], 8
jb 0x18015de56
mov rdx, qword [r8]
mov r8, qword [r8 + 0x10]
call fcn.1801142a0
lea r8, [rsi + 0x48]
lea rcx, [rbx + 0x988]
cmp rcx, r8
je 0x18015de85
mov rdx, r8
cmp qword [r8 + 0x18], 8
jb 0x18015de7c
mov rdx, qword [r8]
mov r8, qword [r8 + 0x10]
call fcn.1801142a0
lea r14, [rsi + 0x68]
lea rcx, [rbx + 0xa40]
cmp rcx, r14
je 0x18015deab
mov rdx, r14
cmp qword [r14 + 0x18], 8
jb 0x18015dea2
mov rdx, qword [r14]
mov r8, qword [r14 + 0x10]
call fcn.1801142a0
cmp qword [rbx + 0x890], 0
je 0x18015df4a
movdqa xmm0, xmmword [0x18026b300]
movdqu xmmword [rsp + 0x48], xmm0
mov word [rsp + 0x38], r15w
lea r8, [rsi + 8]
lea rax, [rsp + 0x38]
cmp rax, r8
je 0x18015def6
mov rdx, r8
cmp qword [r8 + 0x18], 8
jb 0x18015dee8
mov rdx, qword [r8]
mov r8, qword [r8 + 0x10]
lea rcx, [rsp + 0x38]
call fcn.1801142a0
lea rdi, [rsp + 0x38]
cmp qword [rsp + 0x50], 8
cmovae rdi, qword [rsp + 0x38]
call fcn.180110fb0
mov rcx, rax
mov r8, rdi
lea rdx, str.2strSiteLabel___s
call fcn.1801115b0
lea rdx, [rsp + 0x38]
cmp qword [rsp + 0x50], 8
cmovae rdx, qword [rsp + 0x38]
mov rcx, qword [rbx + 0x890]
mov rax, qword [rcx]
call qword [rax + 0x140]
nop
lea rcx, [rsp + 0x38]
call fcn.180114210
cmp qword [rbx + 0x888], 0
je 0x18015e16b
movdqa xmm0, xmmword [0x18026b300]
movdqu xmmword [rsp + 0x48], xmm0
mov word [rsp + 0x38], r15w
mov edx, dword [rsi]
lea rcx, [rbp - 0x68]
cmp qword [r14 + 0x10], 0
je 0x18015e083
call fcn.1801bfbe0
nop
mov r9d, 8
lea r8, str.site_TJ_
xor edx, edx
mov rcx, rax
call fcn.18011eac0
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x68], xmm0
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x58], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x68], xmm1
mov qword [rax + 0x10], r15
mov qword [rax + 0x18], 7
mov word [rax], r15w
mov r8d, 4
lea rdx, str..png
lea rcx, [rsp + 0x58]
call fcn.1801144b0
movups xmm7, xmmword [rax]
movups xmmword [rsp + 0x78], xmm7
movups xmm6, xmmword [rax + 0x10]
mov qword [rax + 0x10], r15
mov qword [rax + 0x18], 7
mov word [rax], r15w
lea rcx, [rsp + 0x38]
call fcn.180114210
movups xmmword [rsp + 0x38], xmm7
movups xmmword [rsp + 0x48], xmm6
movdqa xmm0, xmmword [0x18026b300]
movdqu xmmword [rbp - 0x78], xmm0
mov word [rsp + 0x78], r15w
lea rcx, [rsp + 0x78]
call fcn.180114210
nop
lea rcx, [rsp + 0x58]
call fcn.180114210
nop
jmp 0x18015e13a
lea rcx, [rbp - 0x40]
call fcn.18011a0f0
nop
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call fcn.180110fb0
mov rcx, rax
lea rdx, str.SiteInfo_UpdateUI
call fcn.1801115b0
mov rdx, rsi
lea rcx, [0x1802e9490]
call fcn.18014ed30
mov r8, rsi
lea rdx, [rbp - 0x40]
mov rcx, rbx
call fcn.18015d6a0
jmp 0x18015e2dc
call fcn.1801bfbe0
nop
mov r9d, 5
lea r8, str.site_
xor edx, edx
mov rcx, rax
call fcn.18011eac0
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x68], xmm0
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x58], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x68], xmm1
mov qword [rax + 0x10], r15
mov qword [rax + 0x18], 7
mov word [rax], r15w
mov r8d, 4
lea rdx, str..png
lea rcx, [rsp + 0x58]
call fcn.1801144b0
movups xmm7, xmmword [rax]
movups xmmword [rsp + 0x78], xmm7
movups xmm6, xmmword [rax + 0x10]
mov qword [rax + 0x10], r15
mov qword [rax + 0x18], 7
mov word [rax], r15w
lea rcx, [rsp + 0x38]
call fcn.180114210
movups xmmword [rsp + 0x38], xmm7
movups xmmword [rsp + 0x48], xmm6
movdqa xmm0, xmmword [0x18026b300]
movdqu xmmword [rbp - 0x78], xmm0
mov word [rsp + 0x78], r15w
lea rcx, [rsp + 0x78]
call fcn.180114210
nop
lea rcx, [rsp + 0x58]
call fcn.180114210
nop
lea rcx, [rbp - 0x68]
call fcn.180114210
lea rdx, [rsp + 0x38]
cmp qword [rsp + 0x50], 8
cmovae rdx, qword [rsp + 0x38]
mov rcx, qword [rbx + 0x888]
call fcn.180175870
nop
lea rcx, [rsp + 0x38]
call fcn.180114210
mov rcx, rbx
call fcn.18015c7f0
mov rcx, qword [rbx + 0x810]
test rcx, rcx
je 0x18015e191
mov rax, qword [rcx]
mov r8d, dword [rbx + 0x960]
mov edx, 0x2afc
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov byte [rbx + 0x9d0], 0
mov rcx, qword [rbx + 0x8c8]
test rcx, rcx
je 0x18015e1b4
mov rax, qword [rcx]
lea rdx, [0x18024c34c]
call qword [rax + 0x140]
mov rcx, qword [rbx + 0x8e0]
test rcx, rcx
je 0x18015e1d0
mov rax, qword [rcx]
lea rdx, [0x18024c34c]
call qword [rax + 0x140]
mov rcx, qword [rbx + 0x8e8]
test rcx, rcx
je 0x18015e1ec
mov rax, qword [rcx]
lea rdx, [0x18024c34c]
call qword [rax + 0x140]
mov rcx, qword [rbx + 0x928]
test rcx, rcx
je 0x18015e20d
mov byte [rbx + 0x958], 0
mov rax, qword [rcx]
mov r8b, 1
xor edx, edx
call qword [rax + 0x388]
mov rcx, qword [rbx + 0x930]
test rcx, rcx
je 0x18015e22e
mov byte [rbx + 0x959], 0
mov rax, qword [rcx]
mov r8b, 1
xor edx, edx
call qword [rax + 0x388]
mov qword [rsp + 0x48], r15
mov qword [rsp + 0x50], 7
mov word [rsp + 0x38], r15w
xor r8d, r8d
lea rdx, [0x18024c34c]
lea rcx, [rsp + 0x38]
call fcn.1801142a0
nop
cmp qword [rbx + 0x870], 0
je 0x18015e2d1
cmp qword [rsp + 0x48], 0
je 0x18015e2a3
lea rcx, [rsp + 0x38]
cmp qword [rsp + 0x50], 8
cmovae rcx, qword [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x18015e2a3
test al, 0x10
jne 0x18015e2a3
mov byte [rbx + 0x95a], 0
lea rdx, [rsp + 0x38]
cmp qword [rsp + 0x50], 8
cmovae rdx, qword [rsp + 0x38]
jmp 0x18015e2c4
cmp byte [rbx + 0x95a], 0
jne 0x18015e2d1
mov byte [rbx + 0x95a], 1
lea rdx, [rbx + 0x9d8]
cmp qword [rdx + 0x18], 8
jb 0x18015e2c4
mov rdx, qword [rdx]
mov rcx, qword [rbx + 0x870]
call fcn.180175870
nop
lea rcx, [rsp + 0x38]
call fcn.180114210
nop
lea rcx, [rbp + 0x110]
call fcn.180114430
lea rcx, [rbp + 0xf0]
call fcn.180114210
lea rcx, [rbp + 0xc8]
call fcn.180114430
lea rcx, [rbp + 0x98]
call fcn.180114430
lea rcx, [rbp + 0x78]
call fcn.180114430
lea rcx, [rbp + 0x50]
call fcn.180114430
lea rcx, [rbp + 0x30]
call fcn.180114430
lea rcx, [rbp + 0x10]
call fcn.180114430
lea rcx, [rbp - 0x10]
call fcn.180114430
lea rcx, [rbp - 0x38]
call fcn.180114430
mov rcx, qword [rbp + 0x140]
xor rcx, rsp
call fcn.1801c74b0
lea r11, [rsp + 0x270]
mov rbx, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret