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

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 - 0x10]
sub rsp, 0x110
mov rax, qword [0x18014a010]
xor rax, rsp
mov qword [rbp + 8], rax
mov rsi, rcx
mov rcx, qword [rcx + 0xa8]
xor r15d, r15d
test rcx, rcx
je 0x18002b73c
call fcn.1800d2a94
mov qword [rsi + 0xa8], r15
mov rbx, qword [rsi + 0x90]
test rbx, rbx
je 0x18002b8a2
lea rdi, [rbx - 1]
mov r8, rdi
lea rdx, [rsi + 0x68]
lea rcx, [rbp - 0x18]
call fcn.18002d890
nop
lea rcx, [rbp - 0x18]
cmp qword [rbp], 0x10
cmovae rcx, qword [rbp - 0x18]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x18002b85c
mov r8, rbx
lea rdx, [rsi + 0x68]
lea rcx, [rbp - 0x38]
call fcn.18002d890
nop
lea rcx, [rbp - 0x38]
cmp qword [rbp - 0x20], 0x10
cmovae rcx, qword [rbp - 0x38]
call fcn.1800d2b00
nop
lea rdx, [rbp - 0x38]
cmp qword [rbp - 0x20], 0x10
cmovae rdx, qword [rbp - 0x38]
lea rcx, [rbp - 0x18]
cmp qword [rbp], 0x10
cmovae rcx, qword [rbp - 0x18]
call fcn.1800d5478
test eax, eax
je 0x18002b811
mov ecx, 0x64
call qword [sym.imp.KERNEL32.dll_Sleep]
nop
lea rcx, [rbp - 0x38]
cmp qword [rbp - 0x20], 0x10
cmovae rcx, qword [rbp - 0x38]
call fcn.1800d2b00
nop
lea rdx, [rbp - 0x38]
cmp qword [rbp - 0x20], 0x10
cmovae rdx, qword [rbp - 0x38]
lea rcx, [rbp - 0x18]
cmp qword [rbp], 0x10
cmovae rcx, qword [rbp - 0x18]
call fcn.1800d5478
test eax, eax
jne 0x18002b8fe
mov rdx, qword [rbp - 0x20]
cmp rdx, 0x10
jb 0x18002b84c
inc rdx
mov rcx, qword [rbp - 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18002b847
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18002b97c
call fcn.180096034
mov qword [rbp - 0x28], r15
mov qword [rbp - 0x20], select
mov byte [rbp - 0x38], 0
mov rdx, qword [rbp]
cmp rdx, 0x10
jb 0x18002b897
inc rdx
mov rcx, qword [rbp - 0x18]
cmp rdx, 0x1000
mov rax, rcx
jb 0x18002b892
mov rcx, qword [rcx - 8]
sub rax, rcx
add rdx, 0x27
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18002b982
call fcn.180096034
mov rbx, rdi
test rdi, rdi
jmp 0x18002b746
lea rcx, [rsi + 0xa0]
cmp qword [rcx + 0x20], 0
je 0x18002b8e5
lea rdx, [rcx + 0x10]
mov r8b, 1
call fcn.18001fdf0
mov rcx, qword [rbp + 8]
xor rcx, rsp
call fcn.180096010
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
lea rdx, str.Failed_re_opening_file___was_not_opened_before
lea rcx, [rbp - 0x18]
call fcn.180005e90
mov rcx, rax
call fcn.18001cee0
nop
lea rcx, [rsi + 0xa0]
call fcn.180020060
mov qword [rsi + 0x98], r15
call fcn.1800d56cc
mov edi, dword [rax]
lea rdx, [rbp - 0x38]
lea rcx, [rsp + 0x28]
call fcn.18001cfd0
mov rbx, rax
lea rdx, [rbp - 0x18]
lea rcx, [rsp + 0x48]
call fcn.18001cfd0
nop
mov r8, rax
lea rdx, str.rotating_file_sink:_failed_renaming
lea rcx, [rsp + 0x68]
call fcn.1800255e0
nop
lea r8, str._to
mov rdx, rax
lea rcx, [rbp - 0x78]
call fcn.180025700
nop
mov r8, rbx
mov rdx, rax
lea rcx, [rbp - 0x58]
call fcn.18002da60
nop
mov edx, edi
mov rcx, rax
call fcn.18001ce50
nop
call fcn.1800d0cf4
nop
call fcn.1800d0cf4
int3