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

Disassembly:
mov rax, rsp
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rax - 0x48]
sub rsp, 0x120
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov rax, qword [0x14009d080]
xor rax, rsp
mov qword [rbp + 0x10], rax
mov r15, rcx
add rcx, 0xa0
call fcn.140009300
mov rbx, qword [r15 + 0x90]
test rbx, rbx
je 0x14002002f
xor r12d, r12d
nop word [rax + rax]
lea rdi, [rbx - 1]
mov r8, rdi
lea rdx, [r15 + 0x68]
lea rcx, [rsp + 0x50]
call fcn.140023260
nop
lea rcx, [rsp + 0x50]
cmp qword [rsp + 0x68], 0x10
cmovae rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x14001fef7
mov rdx, qword [rsp + 0x68]
cmp rdx, 0x10
jb 0x140020023
inc rdx
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002001e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002007d
jmp 0x14002001e
mov r8, rbx
lea rdx, [r15 + 0x68]
lea rcx, [rsp + 0x30]
call fcn.140023260
nop
lea rcx, [rsp + 0x30]
cmp qword [rsp + 0x48], 0x10
cmovae rcx, qword [rsp + 0x30]
call fcn.140050374
lea rdx, [rsp + 0x30]
cmp qword [rsp + 0x48], 0x10
cmovae rdx, qword [rsp + 0x30]
lea rcx, [rsp + 0x50]
cmp qword [rsp + 0x68], 0x10
cmovae rcx, qword [rsp + 0x50]
call fcn.1400528e8
test eax, eax
je 0x14001ff9a
mov ecx, 0x64
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rcx, [rsp + 0x30]
cmp qword [rsp + 0x48], 0x10
cmovae rcx, qword [rsp + 0x30]
call fcn.140050374
lea rdx, [rsp + 0x30]
cmp qword [rsp + 0x48], 0x10
cmovae rdx, qword [rsp + 0x30]
lea rcx, [rsp + 0x50]
cmp qword [rsp + 0x68], 0x10
cmovae rcx, qword [rsp + 0x50]
call fcn.1400528e8
test eax, eax
jne 0x14002009d
mov rdx, qword [rsp + 0x48]
cmp rdx, 0x10
jb 0x14001ffd7
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001ffd2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002011b
call fcn.14002d510
mov qword [rsp + 0x40], r12
mov qword [rsp + 0x48], 0xf
mov byte [rsp + 0x30], 0
mov rdx, qword [rsp + 0x68]
cmp rdx, 0x10
jb 0x140020023
inc rdx
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002001e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140020077
call fcn.14002d510
mov rbx, rdi
test rdi, rdi
jne 0x14001fe80
cmp qword [r15 + 0xc0], 0
je 0x140020083
lea rdx, [r15 + 0xb0]
mov r8b, 1
lea rcx, [r15 + 0xa0]
call fcn.140008e20
mov rcx, qword [rbp + 0x10]
xor rcx, rsp
call fcn.14002d4b0
lea r11, [rsp + 0x120]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
call fcn.14004ecdc
int3
call fcn.14004ecdc
int3
lea rdx, str.Failed_re_opening_file___was_not_opened_before
lea rcx, [rsp + 0x50]
call fcn.1400011c0
mov rcx, rax
call fcn.1400052b0
nop
lea rcx, [r15 + 0xa0]
call fcn.140009240
mov qword [r15 + 0x98], r12
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x70]
call fcn.140005400
mov rbx, rax
lea rdx, [rsp + 0x50]
lea rcx, [rbp - 0x70]
call fcn.140005400
nop
mov r8, rax
lea rdx, str.rotating_file_sink:_failed_renaming
lea rcx, [rbp - 0x50]
call fcn.140014ee0
nop
lea r8, str._to
mov rdx, rax
lea rcx, [rbp - 0x30]
call fcn.140001580
nop
mov r8, rbx
mov rdx, rax
lea rcx, [rbp - 0x10]
call fcn.1400019c0
mov rbx, rax
call fcn.140052e70
mov edx, dword [rax]
mov rcx, rbx
call fcn.140005210
nop
call fcn.14004ecdc
int3