Function at 0x1400ba3c0
Capabilities:
Check if file exists

Disassembly:
mov rax, rsp
push rbp
push rdi
push r14
lea rbp, [rax - 0xe8]
sub rsp, 0x1d0
mov qword [rsp + 0x50], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov rax, qword [0x14030bc70]
xor rax, rsp
mov qword [rbp + 0xc0], rax
mov rsi, rcx
mov qword [rsp + 0x58], rcx
xor r14d, r14d
mov dword [rsp + 0x28], r14d
mov ecx, dword [0x140313908]
mov rax, qword gs:[0x58]
mov edx, 4
mov rbx, qword [rax + rcx*8]
add rbx, rdx
mov eax, dword [rbx]
cmp dword [0x140311c48], eax
jle 0x1400ba46d
lea rcx, [0x140311c48]
call fcn.140113e28
cmp dword [0x140311c48], 0xffffffff
jne 0x1400ba46d
lea rdx, str.Users_
lea rcx, [0x140311c28]
call fcn.140022180
lea rcx, [0x1401f7d00]
call fcn.14011385c
nop
lea rcx, [0x140311c48]
call fcn.140113dc8
mov eax, dword [rbx]
cmp dword [0x140311c70], eax
jle 0x1400ba4b8
lea rcx, [0x140311c70]
call fcn.140113e28
cmp dword [0x140311c70], 0xffffffff
jne 0x1400ba4b8
lea rdx, str.Public
lea rcx, [0x140311c50]
call fcn.140022180
lea rcx, [0x1401f7cc0]
call fcn.14011385c
nop
lea rcx, [0x140311c70]
call fcn.140113dc8
mov eax, dword [rbx]
cmp dword [0x140311c98], eax
jle 0x1400ba503
lea rcx, [0x140311c98]
call fcn.140113e28
cmp dword [0x140311c98], 0xffffffff
jne 0x1400ba503
lea rdx, str.Default
lea rcx, [0x140311c78]
call fcn.140022180
lea rcx, [0x1401f7c80]
call fcn.14011385c
nop
lea rcx, [0x140311c98]
call fcn.140113dc8
mov eax, dword [rbx]
cmp dword [0x140311cc0], eax
jle 0x1400ba54e
lea rcx, [0x140311cc0]
call fcn.140113e28
cmp dword [0x140311cc0], 0xffffffff
jne 0x1400ba54e
lea rdx, str.All_Users
lea rcx, [0x140311ca0]
call fcn.140022180
lea rcx, [0x1401f7c60]
call fcn.14011385c
nop
lea rcx, [0x140311cc0]
call fcn.140113dc8
mov eax, dword [rbx]
cmp dword [0x140311ce8], eax
jle 0x1400ba599
lea rcx, [0x140311ce8]
call fcn.140113e28
cmp dword [0x140311ce8], 0xffffffff
jne 0x1400ba599
lea rdx, str.Default_User
lea rcx, [0x140311cc8]
call fcn.140022180
lea rcx, [0x1401f7ca0]
call fcn.14011385c
nop
lea rcx, [0x140311ce8]
call fcn.140113dc8
mov eax, dword [rbx]
cmp dword [0x140311d10], eax
jle 0x1400ba5e4
lea rcx, [0x140311d10]
call fcn.140113e28
cmp dword [0x140311d10], 0xffffffff
jne 0x1400ba5e4
lea rdx, str.AppDataLocal
lea rcx, [0x140311cf0]
call fcn.140022180
lea rcx, [0x1401f7d20]
call fcn.14011385c
nop
lea rcx, [0x140311d10]
call fcn.140113dc8
mov eax, dword [rbx]
cmp dword [0x140311d38], eax
jle 0x1400ba62f
lea rcx, [0x140311d38]
call fcn.140113e28
cmp dword [0x140311d38], 0xffffffff
jne 0x1400ba62f
lea rdx, str.TempTeams.db
lea rcx, [0x140311d18]
call fcn.140022180
lea rcx, [0x1401f7ce0]
call fcn.14011385c
nop
lea rcx, [0x140311d38]
call fcn.140113dc8
lea rcx, [rbp - 0x80]
call fcn.14004edd0
nop
lea rcx, [rbp - 0x40]
call fcn.14004f010
nop
mov qword [rsi], r14
mov qword [rsi + 8], r14
mov qword [rsi + 0x10], r14
mov dword [rsp + 0x28], 1
xor r8d, r8d
lea rdx, [0x140311c28]
lea rcx, [rbp - 0x80]
call fcn.140022900
mov ebx, eax
cmp eax, 0xffffffff
jne 0x1400ba715
lea rdx, [rbp - 0x40]
lea rcx, [rbp + 0x20]
call fcn.14002d2b0
nop
lea rdx, [rbp - 0x60]
lea rcx, [rbp + 0x20]
call fcn.14002d360
nop
lea r8, [0x140311c28]
mov rdx, rax
lea rcx, [rsp + 0x60]
call fcn.140022660
nop
mov rdx, rax
lea rcx, [rbp - 0x80]
call fcn.140022580
nop
lea rcx, [rsp + 0x60]
call fcn.1400091f0
nop
lea rcx, [rbp - 0x60]
call fcn.1400091f0
nop
lea rax, [rbp + 0x80]
mov qword [rsp + 0x20], rax
lea rcx, [rbp + 0x80]
call fcn.1400091f0
nop
lea rax, [rbp + 0x60]
mov qword [rsp + 0x20], rax
lea rcx, [rbp + 0x60]
call fcn.1400091f0
nop
lea rax, [rbp + 0x40]
mov qword [rsp + 0x20], rax
lea rcx, [rbp + 0x40]
call fcn.1400091f0
nop
lea rax, [rbp + 0x20]
mov qword [rsp + 0x20], rax
lea rcx, [rbp + 0x20]
jmp 0x1400ba744
lea rcx, [0x140311c28]
call fcn.140022a70
lea r8d, [rbx + rax]
lea rdx, [rbp - 0x60]
lea rcx, [rbp - 0x80]
call fcn.1400231a0
nop
mov rdx, rax
lea rcx, [rbp - 0x80]
call fcn.140022580
nop
lea rcx, [rbp - 0x60]
call fcn.1400091f0
lea rcx, [rbp - 0x80]
call fcn.140022a70
lea r8d, [rax - 1]
lea rdx, [rbp - 0x60]
lea rcx, [rbp - 0x80]
call fcn.1400231a0
nop
mov rdx, rax
lea rcx, [rbp - 0x20]
call fcn.140030f50
nop
lea rcx, [rbp - 0x60]
call fcn.1400091f0
lea rdx, [rsp + 0x38]
lea rcx, [rbp - 0x20]
call fcn.14004e5d0
nop
lea r8, [0x140311d18]
lea rdx, [0x140311cf0]
lea rcx, [rbp]
call fcn.140022660
nop
mov rbx, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x40]
cmp rbx, rdi
je 0x1400ba882
nop dword [rax]
nop dword [rax + rax]
lea rdx, [0x140311c50]
mov rcx, rbx
call fcn.1400225f0
test al, al
jne 0x1400ba875
lea rdx, [0x140311c78]
mov rcx, rbx
call fcn.1400225f0
test al, al
jne 0x1400ba875
lea rdx, [0x140311ca0]
mov rcx, rbx
call fcn.1400225f0
test al, al
jne 0x1400ba875
lea rdx, [0x140311cc8]
mov rcx, rbx
call fcn.1400225f0
test al, al
jne 0x1400ba875
mov r8, rbx
lea rdx, [rbp - 0x80]
lea rcx, [rbp + 0xa0]
call fcn.140022660
nop
lea r8, [rbp]
mov rdx, rax
lea rcx, [rsp + 0x60]
call fcn.140022660
nop
lea rcx, [rbp + 0xa0]
call fcn.1400091f0
lea rcx, [rsp + 0x60]
call fcn.140022a60
mov rcx, rax
call qword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x1400ba86b
lea rdx, [rsp + 0x60]
mov rcx, rsi
call fcn.1400af400
nop
lea rcx, [rsp + 0x60]
call fcn.1400091f0
add rbx, 0x20
cmp rbx, rdi
jne 0x1400ba7c0
lea rcx, [rbp - 0x40]
call fcn.140022a70
test eax, eax
je 0x1400ba960
lea r8, [0x140311d18]
lea rdx, [rbp - 0x40]
lea rcx, [rsp + 0x60]
call fcn.140022660
nop
lea rcx, [rsp + 0x60]
call fcn.140022a60
mov rcx, rax
call qword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x1400ba955
mov rax, qword [rsi + 8]
lea rcx, [rsp + 0x60]
cmp rcx, rax
jae 0x1400ba91f
mov rcx, qword [rsi]
lea r8, [rsp + 0x60]
cmp rcx, r8
ja 0x1400ba91f
lea rbx, [rsp + 0x60]
sub rbx, rcx
cmp rax, qword [rsi + 0x10]
jne 0x1400ba8fa
mov edx, 1
mov rcx, rsi
call fcn.14002daa0
mov rcx, qword [rsi + 8]
mov qword [rsp + 0x20], rcx
and rbx, 0xffffffffffffffe0
add rbx, qword [rsi]
mov qword [rsp + 0x30], rcx
test rcx, rcx
je 0x1400ba91d
mov rdx, rbx
call fcn.1400222b0
nop
jmp 0x1400ba950
cmp rax, qword [rsi + 0x10]
jne 0x1400ba932
mov edx, 1
mov rcx, rsi
call fcn.14002daa0
mov rcx, qword [rsi + 8]
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x20], rcx
test rcx, rcx
je 0x1400ba950
lea rdx, [rsp + 0x60]
call fcn.1400222b0
nop
add qword [rsi + 8], 0x20
lea rcx, [rsp + 0x60]
call fcn.1400091f0
nop
lea rcx, [rbp]
call fcn.1400091f0
nop
mov rbx, qword [rsp + 0x38]
test rbx, rbx
je 0x1400baa93
mov rdi, qword [rsp + 0x40]
mov qword [rsp + 0x20], rbx
cmp rbx, rdi
je 0x1400baa18
nop dword [rax + rax]
mov rax, qword [rbx + 0x18]
cmp rax, 0x10
jb 0x1400ba9cd
mov rcx, qword [rbx]
inc rax
cmp rax, 0x1000
jb 0x1400ba9c8
test cl, 0x1f
jne 0x1400baa0d
mov rax, qword [rcx - 8]
cmp rax, rcx
jae 0x1400baa07
sub rcx, rax
cmp rcx, 8
jb 0x1400baa01
cmp rcx, 0x27
ja 0x1400ba9fb
mov rcx, rax
call fcn.1400dbae0
mov qword [rbx + 0x18], reloc.WSOCK32.dll_ntohs
mov qword [rbx + 0x10], r14
cmp qword [rbx + 0x18], 0x10
jb 0x1400ba9e5
mov rax, qword [rbx]
jmp 0x1400ba9e8
mov rax, rbx
mov byte [rax], 0
add rbx, 0x20
mov qword [rsp + 0x20], rbx
cmp rbx, rdi
je 0x1400baa13
jmp 0x1400ba990
call fcn.14014b4d8
int3
call fcn.14014b4d8
int3
call fcn.14014b4d8
int3
call fcn.14014b4d8
int3
mov rbx, qword [rsp + 0x38]
mov rax, qword [rsp + 0x48]
sub rax, rbx
sar rax, 5
movabs rcx, 0x7ffffffffffffff
cmp rax, rcx
jbe 0x1400baa39
call fcn.14014b4d8
int3
shl rax, 5
cmp rax, 0x1000
jb 0x1400baa7d
test bl, 0x1f
je 0x1400baa50
call fcn.14014b4d8
int3
mov rax, qword [rbx - 8]
cmp rax, rbx
jb 0x1400baa5f
call fcn.14014b4d8
int3
sub rbx, rax
cmp rbx, 8
jae 0x1400baa6e
call fcn.14014b4d8
int3
cmp rbx, 0x27
jbe 0x1400baa7a
call fcn.14014b4d8
int3
mov rbx, rax
mov rcx, rbx
call fcn.1400dbae0
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x38], xmm0
mov qword [rsp + 0x48], r14
lea rax, [rbp - 0x20]
mov qword [rsp + 0x30], rax
lea rcx, [rbp - 0x20]
call fcn.1400091f0
nop
lea rcx, [rbp - 0x40]
call fcn.1400091f0
nop
lea rcx, [rbp - 0x80]
call fcn.1400091f0
mov rax, rsi
mov rcx, qword [rbp + 0xc0]
xor rcx, rsp
call fcn.140113910
lea r11, [rsp + 0x1d0]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret