Function at 0x140119274
Capabilities:
Check if file exists
Get file attributes
Move file

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rax - 0x28]
sub rsp, 0x110
mov rax, qword [0x1402708c0]
xor rax, rsp
mov qword [rbp + 8], rax
mov rsi, rcx
lea rdi, [rcx + 0x58]
mov rcx, rdi
call fcn.140113d04
mov rbx, qword [rsi + 0x48]
test rbx, rbx
je 0x140119477
lea r14, [rbx - 1]
mov r8, r14
lea rdx, [rsi + 0x20]
lea rcx, [rsp + 0x48]
call fcn.14011379c
nop
lea rcx, [rsp + 0x48]
cmp qword [rsp + 0x60], 0xf
cmova rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
nop
cmp eax, 0xffffffff
jne 0x140119337
mov rdx, qword [rsp + 0x60]
cmp rdx, 0xf
jbe 0x14011946b
inc rdx
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14011932c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1401194d6
call fcn.140172db0
nop
jmp 0x14011946b
mov r8, rbx
lea rdx, [rsi + 0x20]
lea rcx, [rsp + 0x28]
call fcn.14011379c
nop
lea rcx, [rsp + 0x28]
cmp qword [rsp + 0x40], 0xf
cmova rcx, qword [rsp + 0x28]
call fcn.14018aafc
nop
lea rdx, [rsp + 0x28]
cmp qword [rsp + 0x40], 0xf
cmova rdx, qword [rsp + 0x28]
lea rcx, [rsp + 0x48]
cmp qword [rsp + 0x60], 0xf
cmova rcx, qword [rsp + 0x48]
call fcn.14018abdc
nop
test eax, eax
je 0x1401193df
mov ecx, 0x64
call qword [sym.imp.KERNEL32.dll_Sleep]
nop
lea rcx, [rsp + 0x28]
cmp qword [rsp + 0x40], 0xf
cmova rcx, qword [rsp + 0x28]
call fcn.14018aafc
nop
lea rdx, [rsp + 0x28]
cmp qword [rsp + 0x40], 0xf
cmova rdx, qword [rsp + 0x28]
lea rcx, [rsp + 0x48]
cmp qword [rsp + 0x60], 0xf
cmova rcx, qword [rsp + 0x48]
call fcn.14018abdc
nop
test eax, eax
jne 0x1401194dc
mov rdx, qword [rsp + 0x40]
cmp rdx, 0xf
jbe 0x14011941d
inc rdx
mov rcx, qword [rsp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140119417
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140119556
call fcn.140172db0
nop
and qword [rsp + 0x38], 0
mov qword [rsp + 0x40], 0xf
mov byte [rsp + 0x28], 0
mov rdx, qword [rsp + 0x60]
cmp rdx, 0xf
jbe 0x14011946b
inc rdx
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140119465
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1401194b6
call fcn.140172db0
nop
mov rbx, r14
test r14, r14
jne 0x1401192bd
cmp qword [rdi + 0x20], 0
je 0x1401194bc
lea rdx, [rdi + 0x10]
mov r8b, 1
mov rcx, rdi
call fcn.1401186e4
mov rcx, qword [rbp + 8]
xor rcx, rsp
call fcn.140173230
lea r11, [rsp + 0x110]
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.14017a8e4
nop
lea rdx, str.Failed_re_opening_file___was_not_opened_before
lea rcx, [rsp + 0x48]
call fcn.140035de0
mov rcx, rax
call fcn.14011a78c
nop
call fcn.14017a8e4
nop
mov dl, 1
mov rcx, rdi
call fcn.14011923c
and qword [rsi + 0x50], 0
call fcn.14017aa48
mov edi, dword [rax]
lea rdx, [rsp + 0x28]
lea rcx, [rsp + 0x68]
call fcn.1401144f0
mov rbx, rax
lea rdx, [rsp + 0x48]
lea rcx, [rbp - 0x78]
call fcn.1401144f0
nop
mov r8, rax
lea rdx, str.rotating_file_sink:_failed_renaming
lea rcx, [rbp - 0x58]
call fcn.140105824
nop
lea r8, str._to
mov rdx, rax
lea rcx, [rbp - 0x38]
call fcn.1400f2914
nop
mov r8, rbx
mov rdx, rax
lea rcx, [rbp - 0x18]
call fcn.14010578c
nop
mov edx, edi
mov rcx, rax
call fcn.14011a764
nop
call fcn.14017a8e4
int3