Function at 0x14001b010
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 - 0x50]
sub rsp, 0x150
mov rax, qword [0x1400a31a0]
xor rax, rsp
mov qword [rbp + 0x40], rax
mov rsi, rcx
mov rcx, qword [rcx + 0xa8]
xor r15d, r15d
test rcx, rcx
je 0x14001b05c
call fcn.140051580
mov qword [rsi + 0xa8], r15
mov rbx, qword [rsi + 0x90]
test rbx, rbx
je 0x14001b1bf
lea rdi, [rbx - 1]
mov r8, rdi
lea rdx, [rsi + 0x68]
lea rcx, [rbp + 0x20]
call fcn.14001be10
nop
lea rcx, [rbp + 0x20]
cmp qword [rbp + 0x38], 0x10
cmovae rcx, qword [rbp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x14001b179
mov r8, rbx
lea rdx, [rsi + 0x68]
lea rcx, [rbp]
call fcn.14001be10
nop
lea rcx, [rbp]
cmp qword [rbp + 0x18], 0x10
cmovae rcx, qword [rbp]
call fcn.140051830
lea rdx, [rbp]
cmp qword [rbp + 0x18], 0x10
cmovae rdx, qword [rbp]
lea rcx, [rbp + 0x20]
cmp qword [rbp + 0x38], 0x10
cmovae rcx, qword [rbp + 0x20]
call fcn.140055490
test eax, eax
je 0x14001b12e
mov ecx, 0x64
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rcx, [rbp]
cmp qword [rbp + 0x18], 0x10
cmovae rcx, qword [rbp]
call fcn.140051830
lea rdx, [rbp]
cmp qword [rbp + 0x18], 0x10
cmovae rdx, qword [rbp]
lea rcx, [rbp + 0x20]
cmp qword [rbp + 0x38], 0x10
cmovae rcx, qword [rbp + 0x20]
call fcn.140055490
test eax, eax
jne 0x14001b231
mov rdx, qword [rbp + 0x18]
cmp rdx, 0x10
jb 0x14001b169
inc rdx
mov rcx, qword [rbp]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001b164
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001b2c4
call fcn.14002dc64
mov qword [rbp + 0x10], r15
mov qword [rbp + 0x18], recvfrom
mov byte [rbp], 0
mov rdx, qword [rbp + 0x38]
cmp rdx, 0x10
jb 0x14001b1b4
inc rdx
mov rcx, qword [rbp + 0x20]
cmp rdx, 0x1000
mov rax, rcx
jb 0x14001b1af
mov rcx, qword [rcx - 8]
sub rax, rcx
add rdx, 0x27
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001b2ca
call fcn.14002dc64
mov rbx, rdi
test rdi, rdi
jmp 0x14001b066
lea rcx, [rsi + 0xa0]
cmp qword [rcx + 0x20], 0
je 0x14001b202
lea rdx, [rcx + 0x10]
mov r8b, 1
call fcn.140006770
mov rcx, qword [rbp + 0x40]
xor rcx, rsp
call fcn.14002dc40
lea r11, [rsp + 0x150]
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 + 0x20]
call fcn.14000c010
mov rdx, rax
lea rcx, [rsp + 0x28]
call fcn.140002d50
lea rdx, [0x1400a0968]
lea rcx, [rsp + 0x28]
call fcn.14004bf1c
nop
lea rcx, [rsi + 0xa0]
call fcn.140006950
mov qword [rsi + 0x98], r15
lea rdx, [rbp]
lea rcx, [rsp + 0x60]
call fcn.140003650
mov rbx, rax
lea rdx, [rbp + 0x20]
lea rcx, [rbp - 0x80]
call fcn.140003650
nop
mov r8, rax
lea rdx, str.rotating_file_sink:_failed_renaming
lea rcx, [rbp - 0x60]
call fcn.14000f740
nop
lea r8, str._to
mov rdx, rax
lea rcx, [rbp - 0x40]
call fcn.14000f860
nop
mov r8, rbx
mov rdx, rax
lea rcx, [rbp - 0x20]
call fcn.14001c210
mov rbx, rax
call fcn.140055b5c
mov r8d, dword [rax]
mov rdx, rbx
lea rcx, [rsp + 0x28]
call fcn.140002eb0
lea rdx, [0x1400a0968]
lea rcx, [rsp + 0x28]
call fcn.14004bf1c
nop
call fcn.140056774
nop
call fcn.140056774
int3