Function at 0x1400bcec0
Capabilities:
Check if file exists

Disassembly:
push rbp
push rsi
push rdi
push rbx
sub rsp, 0x78
lea rbp, [rsp + 0x70]
mov qword [rbp], 0xfffffffffffffffe
mov rsi, rcx
mov r10d, r8d
and r10d, 0x1fff
lea r11, [0x140379610]
cmp r10d, 0x16e7
ja 0x1400bcf06
mov eax, r10d
shr eax, 3
movzx eax, byte [rax + r11]
lea eax, [r10 + rax*8]
shr eax, 9
jmp 0x1400bcf08
xor eax, eax
mov ecx, r10d
shr ecx, 4
mov edi, r8d
and edi, 7
add edi, ecx
imul ecx, edi, 0x2493
shr ecx, 0x10
lea ebx, [rcx*8]
sub ecx, ebx
add ecx, edi
cmp r10d, 0x16e7
ja 0x1400bcf4a
shr r10d, 3
movzx r10d, byte [r10 + r11]
lea r10d, [r8 + r10*8]
shr r10d, 4
and r10d, 0x1f
jmp 0x1400bcf4d
xor r10d, r10d
shr r8d, 0xd
mov edi, edx
mov r11d, 0x88888889
imul r11, rdi
shr r11, 0x25
imul ebx, r11d, 0x3c
sub edx, ebx
imul rbx, r11, 0x8888889
shr rbx, 0x21
imul ebx, ebx, 0x3c
sub r11d, ebx
mov ebx, 0x91a2b3c5
imul rbx, rdi
shr rbx, 0x2b
mov word [rbp - 0x20], r8w
mov word [rbp - 0x1e], ax
mov word [rbp - 0x1c], cx
mov word [rbp - 0x1a], r10w
mov word [rbp - 0x18], bx
mov word [rbp - 0x16], r11w
mov word [rbp - 0x14], dx
mov word [rbp - 0x12], 0
lea rdx, [rbp - 0x20]
lea r8, [rbp - 0x10]
xor ecx, ecx
test r9b, r9b
je 0x1400bd093
call sub.kernel32.dll_TzSpecificLocalTimeToSystemTime
test eax, eax
je 0x1400bd167
movzx eax, word [rbp - 0xc]
mov word [rbp - 0x2c], ax
mov eax, dword [rbp - 0x10]
mov dword [rbp - 0x30], eax
mov rax, qword [rbp - 0xa]
movzx ecx, word [rbp - 2]
mov qword [rbp - 0x2a], rax
mov word [rbp - 0x22], cx
lea rcx, [rbp - 0x30]
lea rdx, [rbp - 0x10]
call sub.kernel32.dll_SystemTimeToFileTime
test eax, eax
je 0x1400bd167
mov rdi, qword [rbp - 0x10]
lea rcx, [rbp - 0x20]
lea rdx, [rbp - 0x10]
call sub.kernel32.dll_SystemTimeToFileTime
test eax, eax
je 0x1400bd167
movabs rcx, 0xfe624e212ac18000
lea rax, [rdi + rcx]
movabs rdx, 0x29406b2a1a85bd43
imul rdx
sub rdx, rdi
movabs r8, 0x19db1ded53e8000
add r8, rdx
mov rax, r8
shr rax, 0x3f
shr r8, 0x17
add r8d, eax
add rcx, qword [rbp - 0x10]
movabs rdx, 0xd6bf94d5e57a42bd
mov rax, rcx
imul rdx
add rdx, rcx
mov rax, rdx
shr rax, 0x3f
shr rdx, 0x17
add edx, eax
lea eax, [rdx + r8]
add eax, 0x1517f
cmp eax, 0x2a2ff
jb 0x1400bd159
lea rcx, [0x140379978]
call fcn.140364e70
call sub.kernel32.dll_SystemTimeToTzSpecificLocalTime
test eax, eax
je 0x1400bd167
movzx eax, word [rbp - 0xc]
mov word [rbp - 0x2c], ax
mov eax, dword [rbp - 0x10]
mov dword [rbp - 0x30], eax
mov rax, qword [rbp - 0xa]
movzx ecx, word [rbp - 2]
mov qword [rbp - 0x2a], rax
mov word [rbp - 0x22], cx
lea rcx, [rbp - 0x20]
lea rdx, [rbp - 0x10]
call sub.kernel32.dll_SystemTimeToFileTime
test eax, eax
je 0x1400bd167
mov rdi, qword [rbp - 0x10]
lea rcx, [rbp - 0x30]
lea rdx, [rbp - 0x10]
call sub.kernel32.dll_SystemTimeToFileTime
test eax, eax
je 0x1400bd167
movabs rcx, 0xfe624e212ac18000
lea rax, [rdi + rcx]
movabs rdx, 0x29406b2a1a85bd43
imul rdx
sub rdx, rdi
movabs r8, 0x19db1ded53e8000
add r8, rdx
mov rax, r8
shr rax, 0x3f
shr r8, 0x17
add r8d, eax
add rcx, qword [rbp - 0x10]
movabs rdx, 0xd6bf94d5e57a42bd
mov rax, rcx
imul rdx
add rdx, rcx
mov rax, rdx
shr rax, 0x3f
shr rdx, 0x17
add edx, eax
lea eax, [rdx + r8]
add eax, 0x1517f
cmp eax, 0x2a2ff
jae 0x1400bd1e0
add edx, r8d
mov dword [rsi + 4], edx
mov dword [rsi], 1
jmp 0x1400bd1d6
call sub.kernel32.dll_GetLastError
shl rax, 0x20
or rax, 2
mov dword [rsi], 0
mov ecx, eax
and ecx, 3
lea rdx, [rcx - 2]
cmp rdx, 2
jb 0x1400bd1d6
test rcx, rcx
je 0x1400bd1d6
lea rcx, [rax - 1]
mov qword [rbp - 0x48], rcx
mov rcx, qword [rax - 1]
mov rax, qword [rax + 7]
mov qword [rbp - 0x40], rcx
mov qword [rbp - 0x38], rax
call qword [rax]
mov rax, qword [rbp - 0x38]
mov rdx, qword [rax + 8]
test rdx, rdx
je 0x1400bd1c2
mov r8, qword [rax + 0x10]
mov rcx, qword [rbp - 0x40]
call fcn.1400bcc60
mov edx, 0x18
mov r8d, 8
mov rcx, qword [rbp - 0x48]
call fcn.1400bcc60
nop
add rsp, 0x78
pop rbx
pop rdi
pop rsi
pop rbp
ret
lea rcx, [0x140379960]
call fcn.140364e70
int3