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

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rsp - 0x47]
sub rsp, 0xb0
mov rax, qword [0x1400b2080]
xor rax, rsp
mov qword [rbp + 0x37], rax
mov rbx, rcx
lea rdx, [rcx + 0xa8]
lea rcx, [rbp - 0x29]
call fcn.140012d00
nop
lea rsi, [rbx + 0xd0]
mov rcx, qword [rsi]
xor r15d, r15d
lea r14d, [r15 + 7]
test rcx, rcx
je 0x14004a917
mov rax, qword [rsi + 0x10]
inc rax
xor edx, edx
div rcx
cmp rdx, qword [rsi + 8]
jne 0x14004a917
mov rcx, qword [rbx + 0xd8]
shl rcx, 5
mov rax, qword [rbx + 0xf0]
xorps xmm0, xmm0
movups xmmword [rbp - 0x49], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x39], xmm1
movups xmm0, xmmword [rcx + rax]
movups xmmword [rbp - 0x49], xmm0
movups xmm1, xmmword [rcx + rax + 0x10]
movups xmmword [rbp - 0x39], xmm1
mov qword [rcx + rax + 0x10], r15
mov qword [rcx + rax + 0x18], r14
mov word [rcx + rax], r15w
mov rax, qword [rsi + 8]
inc rax
xor edx, edx
div qword [rsi]
mov qword [rsi + 8], rdx
lea rcx, [rbp - 0x49]
cmp qword [rbp - 0x31], 8
cmovae rcx, qword [rbp - 0x49]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x14004a8d7
lea rcx, [rbp - 0x49]
cmp qword [rbp - 0x31], 8
cmovae rcx, qword [rbp - 0x49]
call fcn.140062c44
test eax, eax
jne 0x14004aa3d
mov rdx, qword [rbp - 0x31]
cmp rdx, 8
jb 0x14004a917
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x49]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004a912
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14004aa7d
call fcn.140054a70
cmp qword [rsi], 0
jbe 0x14004a9d2
mov rdi, qword [rbx + 0xe0]
shl rdi, 5
add rdi, qword [rbx + 0xf0]
lea rax, [rbp - 0x29]
cmp rdi, rax
je 0x14004a991
mov rdx, qword [rdi + 0x18]
cmp rdx, 8
jb 0x14004a97b
mov rcx, qword [rdi]
lea rdx, [rdx*2 + 2]
cmp rdx, 0x1000
jb 0x14004a976
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14004aa83
mov rcx, r8
call fcn.140054a70
movups xmm0, xmmword [rbp - 0x29]
movups xmmword [rdi], xmm0
movups xmm1, xmmword [rbp - 0x19]
movups xmmword [rdi + 0x10], xmm1
mov word [rbp - 0x29], r15w
jmp 0x14004a995
mov r14, qword [rbp - 0x11]
mov rcx, qword [rsi]
mov rax, qword [rbx + 0xe0]
inc rax
xor edx, edx
div rcx
mov qword [rbx + 0xe0], rdx
mov rax, qword [rbx + 0xd8]
cmp rdx, rax
jne 0x14004a9d6
inc rax
xor edx, edx
div rcx
mov qword [rbx + 0xd8], rdx
inc qword [rbx + 0xe8]
jmp 0x14004a9d6
mov r14, qword [rbp - 0x11]
cmp r14, 8
jb 0x14004aa0e
lea rdx, [r14*2 + 2]
mov rcx, qword [rbp - 0x29]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004aa09
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14004aa37
call fcn.140054a70
mov rcx, qword [rbp + 0x37]
xor rcx, rsp
call fcn.140054500
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
call fcn.14005b424
nop
lea rdx, [rbp - 0x29]
mov rcx, rsi
call fcn.14004acd0
call fcn.140060548
mov ebx, dword [rax]
lea rdx, [rbp - 0x49]
lea rcx, [rbp - 9]
call fcn.14003be10
nop
mov r8, rax
lea rdx, str.Failed_removing_daily_file
lea rcx, [rbp + 0x17]
call fcn.14004ad30
nop
mov edx, ebx
mov rcx, rax
call fcn.14003af50
nop
call fcn.14005b424
int3
call fcn.14005b424
int3