Function at 0x14002ff70
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 [0x140132280]
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 [0x140136670]
mov rax, qword gs:[0x58]
mov edx, 4
mov rbx, qword [rax + rcx*8]
add rbx, rdx
mov eax, dword [rbx]
cmp dword [0x140134a78], eax
jle 0x14003001d
lea rcx, [0x140134a78]
call fcn.1400644e0
cmp dword [0x140134a78], 0xffffffff
jne 0x14003001d
lea rdx, str.Users_
lea rcx, [0x140134a58]
call fcn.140001f50
lea rcx, [0x1400b6470]
call fcn.140064184
nop
lea rcx, [0x140134a78]
call fcn.140064480
mov eax, dword [rbx]
cmp dword [0x140134aa0], eax
jle 0x140030068
lea rcx, [0x140134aa0]
call fcn.1400644e0
cmp dword [0x140134aa0], 0xffffffff
jne 0x140030068
lea rdx, str.Public
lea rcx, [0x140134a80]
call fcn.140001f50
lea rcx, [0x1400b6430]
call fcn.140064184
nop
lea rcx, [0x140134aa0]
call fcn.140064480
mov eax, dword [rbx]
cmp dword [0x140134ac8], eax
jle 0x1400300b3
lea rcx, [0x140134ac8]
call fcn.1400644e0
cmp dword [0x140134ac8], 0xffffffff
jne 0x1400300b3
lea rdx, str.Default
lea rcx, [0x140134aa8]
call fcn.140001f50
lea rcx, [0x1400b63f0]
call fcn.140064184
nop
lea rcx, [0x140134ac8]
call fcn.140064480
mov eax, dword [rbx]
cmp dword [0x140134af0], eax
jle 0x1400300fe
lea rcx, [0x140134af0]
call fcn.1400644e0
cmp dword [0x140134af0], 0xffffffff
jne 0x1400300fe
lea rdx, str.All_Users
lea rcx, [0x140134ad0]
call fcn.140001f50
lea rcx, [0x1400b63d0]
call fcn.140064184
nop
lea rcx, [0x140134af0]
call fcn.140064480
mov eax, dword [rbx]
cmp dword [0x140134b18], eax
jle 0x140030149
lea rcx, [0x140134b18]
call fcn.1400644e0
cmp dword [0x140134b18], 0xffffffff
jne 0x140030149
lea rdx, str.Default_User
lea rcx, [0x140134af8]
call fcn.140001f50
lea rcx, [0x1400b6410]
call fcn.140064184
nop
lea rcx, [0x140134b18]
call fcn.140064480
mov eax, dword [rbx]
cmp dword [0x140134b40], eax
jle 0x140030194
lea rcx, [0x140134b40]
call fcn.1400644e0
cmp dword [0x140134b40], 0xffffffff
jne 0x140030194
lea rdx, str.AppDataLocal
lea rcx, [0x140134b20]
call fcn.140001f50
lea rcx, [0x1400b6490]
call fcn.140064184
nop
lea rcx, [0x140134b40]
call fcn.140064480
mov eax, dword [rbx]
cmp dword [0x140134b68], eax
jle 0x1400301df
lea rcx, [0x140134b68]
call fcn.1400644e0
cmp dword [0x140134b68], 0xffffffff
jne 0x1400301df
lea rdx, str.TempTeams.db
lea rcx, [0x140134b48]
call fcn.140001f50
lea rcx, [0x1400b6450]
call fcn.140064184
nop
lea rcx, [0x140134b68]
call fcn.140064480
lea rcx, [rbp - 0x80]
call fcn.1400249e0
nop
lea rcx, [rbp - 0x40]
call fcn.140024c70
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, [0x140134a58]
lea rcx, [rbp - 0x80]
call fcn.1400026f0
mov ebx, eax
cmp eax, 0xffffffff
jne 0x1400302c5
lea rdx, [rbp - 0x40]
lea rcx, [rbp + 0x20]
call fcn.140006310
nop
lea rdx, [rbp - 0x60]
lea rcx, [rbp + 0x20]
call fcn.1400063f0
nop
lea r8, [0x140134a58]
mov rdx, rax
lea rcx, [rsp + 0x60]
call fcn.140002630
nop
mov rdx, rax
lea rcx, [rbp - 0x80]
call fcn.140002500
nop
lea rcx, [rsp + 0x60]
call fcn.1400036b0
nop
lea rcx, [rbp - 0x60]
call fcn.1400036b0
nop
lea rax, [rbp + 0x80]
mov qword [rsp + 0x20], rax
lea rcx, [rbp + 0x80]
call fcn.1400036b0
nop
lea rax, [rbp + 0x60]
mov qword [rsp + 0x20], rax
lea rcx, [rbp + 0x60]
call fcn.1400036b0
nop
lea rax, [rbp + 0x40]
mov qword [rsp + 0x20], rax
lea rcx, [rbp + 0x40]
call fcn.1400036b0
nop
lea rax, [rbp + 0x20]
mov qword [rsp + 0x20], rax
lea rcx, [rbp + 0x20]
jmp 0x1400302f4
lea rcx, [0x140134a58]
call fcn.140002730
lea r8d, [rbx + rax]
lea rdx, [rbp - 0x60]
lea rcx, [rbp - 0x80]
call fcn.140002f10
nop
mov rdx, rax
lea rcx, [rbp - 0x80]
call fcn.140002500
nop
lea rcx, [rbp - 0x60]
call fcn.1400036b0
lea rcx, [rbp - 0x80]
call fcn.140002730
lea r8d, [rax - 1]
lea rdx, [rbp - 0x60]
lea rcx, [rbp - 0x80]
call fcn.140002f10
nop
mov rdx, rax
lea rcx, [rbp - 0x20]
call fcn.140005930
nop
lea rcx, [rbp - 0x60]
call fcn.1400036b0
lea rdx, [rsp + 0x38]
lea rcx, [rbp - 0x20]
call fcn.1400242d0
nop
lea r8, [0x140134b48]
lea rdx, [0x140134b20]
lea rcx, [rbp]
call fcn.140002630
nop
mov rbx, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x40]
cmp rbx, rdi
je 0x140030432
nop dword [rax]
nop dword [rax + rax]
lea rdx, [0x140134a80]
mov rcx, rbx
call fcn.140002550
test al, al
jne 0x140030425
lea rdx, [0x140134aa8]
mov rcx, rbx
call fcn.140002550
test al, al
jne 0x140030425
lea rdx, [0x140134ad0]
mov rcx, rbx
call fcn.140002550
test al, al
jne 0x140030425
lea rdx, [0x140134af8]
mov rcx, rbx
call fcn.140002550
test al, al
jne 0x140030425
mov r8, rbx
lea rdx, [rbp - 0x80]
lea rcx, [rbp + 0xa0]
call fcn.140002630
nop
lea r8, [rbp]
mov rdx, rax
lea rcx, [rsp + 0x60]
call fcn.140002630
nop
lea rcx, [rbp + 0xa0]
call fcn.1400036b0
lea rcx, [rsp + 0x60]
call fcn.140002720
mov rcx, rax
call qword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x14003041b
lea rdx, [rsp + 0x60]
mov rcx, rsi
call fcn.1400327d0
nop
lea rcx, [rsp + 0x60]
call fcn.1400036b0
add rbx, 0x20
cmp rbx, rdi
jne 0x140030370
lea rcx, [rbp - 0x40]
call fcn.140002730
test eax, eax
je 0x140030510
lea r8, [0x140134b48]
lea rdx, [rbp - 0x40]
lea rcx, [rsp + 0x60]
call fcn.140002630
nop
lea rcx, [rsp + 0x60]
call fcn.140002720
mov rcx, rax
call qword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x140030505
mov rax, qword [rsi + 8]
lea rcx, [rsp + 0x60]
cmp rcx, rax
jae 0x1400304cf
mov rcx, qword [rsi]
lea r8, [rsp + 0x60]
cmp rcx, r8
ja 0x1400304cf
lea rbx, [rsp + 0x60]
sub rbx, rcx
cmp rax, qword [rsi + 0x10]
jne 0x1400304aa
mov edx, 1
mov rcx, rsi
call fcn.140006b20
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 0x1400304cd
mov rdx, rbx
call fcn.1400020d0
nop
jmp 0x140030500
cmp rax, qword [rsi + 0x10]
jne 0x1400304e2
mov edx, 1
mov rcx, rsi
call fcn.140006b20
mov rcx, qword [rsi + 8]
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x20], rcx
test rcx, rcx
je 0x140030500
lea rdx, [rsp + 0x60]
call fcn.1400020d0
nop
add qword [rsi + 8], 0x20
lea rcx, [rsp + 0x60]
call fcn.1400036b0
nop
lea rcx, [rbp]
call fcn.1400036b0
nop
mov rbx, qword [rsp + 0x38]
test rbx, rbx
je 0x140030643
mov rdi, qword [rsp + 0x40]
mov qword [rsp + 0x20], rbx
cmp rbx, rdi
je 0x1400305c8
nop dword [rax + rax]
mov rax, qword [rbx + 0x18]
cmp rax, 0x10
jb 0x14003057d
mov rcx, qword [rbx]
inc rax
cmp rax, 0x1000
jb 0x140030578
test cl, 0x1f
jne 0x1400305bd
mov rax, qword [rcx - 8]
cmp rax, rcx
jae 0x1400305b7
sub rcx, rax
cmp rcx, 8
jb 0x1400305b1
cmp rcx, 0x27
ja 0x1400305ab
mov rcx, rax
call fcn.1400369b0
mov qword [rbx + 0x18], 0xf
mov qword [rbx + 0x10], r14
cmp qword [rbx + 0x18], 0x10
jb 0x140030595
mov rax, qword [rbx]
jmp 0x140030598
mov rax, rbx
mov byte [rax], 0
add rbx, 0x20
mov qword [rsp + 0x20], rbx
cmp rbx, rdi
je 0x1400305c3
jmp 0x140030540
call fcn.14006ef04
int3
call fcn.14006ef04
int3
call fcn.14006ef04
int3
call fcn.14006ef04
int3
mov rbx, qword [rsp + 0x38]
mov rax, qword [rsp + 0x48]
sub rax, rbx
sar rax, 5
movabs rcx, 0x7ffffffffffffff
cmp rax, rcx
jbe 0x1400305e9
call fcn.14006ef04
int3
shl rax, 5
cmp rax, 0x1000
jb 0x14003062d
test bl, 0x1f
je 0x140030600
call fcn.14006ef04
int3
mov rax, qword [rbx - 8]
cmp rax, rbx
jb 0x14003060f
call fcn.14006ef04
int3
sub rbx, rax
cmp rbx, 8
jae 0x14003061e
call fcn.14006ef04
int3
cmp rbx, 0x27
jbe 0x14003062a
call fcn.14006ef04
int3
mov rbx, rax
mov rcx, rbx
call fcn.1400369b0
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.1400036b0
nop
lea rcx, [rbp - 0x40]
call fcn.1400036b0
nop
lea rcx, [rbp - 0x80]
call fcn.1400036b0
mov rax, rsi
mov rcx, qword [rbp + 0xc0]
xor rcx, rsp
call fcn.140063ed0
lea r11, [rsp + 0x1d0]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret