Function at 0x140094f80
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 [0x1401b4048]
xor rax, rsp
mov qword [rbp + 0x10], rax
mov r15, rcx
add rcx, 0xa0
call fcn.14008e5b0
mov rbx, qword [r15 + 0x90]
test rbx, rbx
je 0x1400951a2
xor r12d, r12d
nop word [rax + rax]
lea rdi, [rbx - 1]
mov r8, rdi
lea rdx, [r15 + 0x68]
lea rcx, [rsp + 0x30]
call fcn.14008de40
nop
lea rcx, [rsp + 0x30]
cmp qword [rsp + 0x48], 0x10
cmovae rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x140095057
mov rdx, qword [rsp + 0x48]
cmp rdx, 0x10
jb 0x140095183
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14009517e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400951f0
jmp 0x14009517e
mov r8, rbx
lea rdx, [r15 + 0x68]
lea rcx, [rsp + 0x50]
call fcn.14008de40
nop
lea rcx, [rsp + 0x50]
cmp qword [rsp + 0x68], 0x10
cmovae rcx, qword [rsp + 0x50]
call fcn.1400f05a8
lea rdx, [rsp + 0x50]
cmp qword [rsp + 0x68], 0x10
cmovae rdx, qword [rsp + 0x50]
lea rcx, [rsp + 0x30]
cmp qword [rsp + 0x48], 0x10
cmovae rcx, qword [rsp + 0x30]
call fcn.1400f0688
test eax, eax
je 0x1400950fa
mov ecx, 0x64
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rcx, [rsp + 0x50]
cmp qword [rsp + 0x68], 0x10
cmovae rcx, qword [rsp + 0x50]
call fcn.1400f05a8
lea rdx, [rsp + 0x50]
cmp qword [rsp + 0x68], 0x10
cmovae rdx, qword [rsp + 0x50]
lea rcx, [rsp + 0x30]
cmp qword [rsp + 0x48], 0x10
cmovae rcx, qword [rsp + 0x30]
call fcn.1400f0688
test eax, eax
jne 0x14009521b
mov rdx, qword [rsp + 0x68]
cmp rdx, 0x10
jb 0x140095137
inc rdx
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140095132
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14009529b
call fcn.1400bece8
mov qword [rsp + 0x60], r12
mov qword [rsp + 0x68], 0xf
mov byte [rsp + 0x50], 0
mov rdx, qword [rsp + 0x48]
cmp rdx, 0x10
jb 0x140095183
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14009517e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400951ea
call fcn.1400bece8
mov byte [rsp + 0x30], 0
mov qword [rsp + 0x48], 0xf
mov qword [rsp + 0x40], r12
mov rbx, rdi
test rdi, rdi
jne 0x140094fe0
cmp qword [r15 + 0xc0], 0
je 0x1400951f6
lea rdx, [r15 + 0xb0]
mov r8b, 1
lea rcx, [r15 + 0xa0]
call fcn.140094560
mov rcx, qword [rbp + 0x10]
xor rcx, rsp
call fcn.1400bf400
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.1400e9e3c
int3
call fcn.1400e9e3c
int3
lea rax, [rsp + 0x50]
mov qword [rsp + 0x28], rax
lea rdx, str.Failed_re_opening_file___was_not_opened_before
lea rcx, [rsp + 0x50]
call fcn.1400091b0
nop
mov rcx, rax
call fcn.140082fe0
nop
mov dl, 1
lea rcx, [r15 + 0xa0]
call fcn.140094f30
mov qword [r15 + 0x98], r12
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x70]
call fcn.14008ee80
mov rbx, rax
lea rdx, [rsp + 0x30]
lea rcx, [rbp - 0x70]
call fcn.14008ee80
nop
mov r8, rax
lea rdx, str.rotating_file_sink:_failed_renaming
lea rcx, [rbp - 0x50]
call fcn.140002f80
nop
lea r8, str._to
mov rdx, rax
lea rcx, [rbp - 0x30]
call fcn.140002e80
nop
mov r8, rbx
mov rdx, rax
lea rcx, [rbp - 0x10]
call fcn.140002d20
mov rbx, rax
call fcn.1400ee554
mov edx, dword [rax]
mov rcx, rbx
call fcn.1400962a0
nop
call fcn.1400e9e3c
int3