Function at 0x14000c5d0
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0xc0]
sub rsp, 0x1c0
mov rax, qword [0x1400a3060]
xor rax, rsp
mov qword [rbp + 0xb0], rax
mov ebx, edx
mov r13, rcx
lea rdx, [rsp + 0x68]
call fcn.14000c0a0
nop
mov rsi, qword [rsp + 0x78]
test rsi, rsi
jne 0x14000c6c7
lea rdx, str.Could_not_load_empty_file_for_logging__please_re_check_your_configurations_for_level__
lea rcx, [0x1400a6860]
call fcn.14001d1d0
cmp ebx, 1
jne 0x14000c63f
lea rdx, str.GLOBAL
jmp 0x14000c6ab
cmp ebx, 4
jne 0x14000c64d
lea rdx, str.DEBUG
jmp 0x14000c6ab
cmp ebx, 0x80
jne 0x14000c65e
lea rdx, str.INFO
jmp 0x14000c6ab
cmp ebx, 0x20
jne 0x14000c66c
lea rdx, str.WARNING
jmp 0x14000c6ab
cmp ebx, 0x10
jne 0x14000c67a
lea rdx, str.ERROR
jmp 0x14000c6ab
cmp ebx, 8
jne 0x14000c688
lea rdx, str.FATAL
jmp 0x14000c6ab
cmp ebx, 0x40
jne 0x14000c696
lea rdx, str.VERBOSE
jmp 0x14000c6ab
lea rdx, str.TRACE
lea rcx, str.UNKNOWN
cmp ebx, 2
cmovne rdx, rcx
mov rcx, rax
call fcn.14001d1d0
mov rcx, rax
lea rdx, [0x1400926b8]
call fcn.14001d1d0
mov rsi, qword [rsp + 0x78]
mov r14, qword [rsp + 0x68]
mov r15, qword [rbp - 0x80]
xor edi, edi
lea r12d, [rdi + 1]
test rsi, rsi
je 0x14000c7ec
lea rcx, [rsp + 0x68]
cmp r15, 0x10
cmovae rcx, r14
mov qword [rsp + 0x20], r12
lea r9, [0x140092108]
xor r8d, r8d
mov rdx, rsi
call fcn.14001ed20
cmp rax, 0xffffffffffffffff
je 0x14000c7ec
lea rdi, [rsp + 0x68]
cmp r15, 0x10
cmovae rdi, r14
test rsi, rsi
je 0x14000c7a8
xor edx, edx
mov r8d, 0x100
lea rcx, [rbp - 0x50]
call fcn.140055dc0
movzx eax, byte [0x140092108]
mov byte [rbp + rax - 0x50], r12b
lea rax, [rsi - 1]
mov r8, 0xffffffffffffffff
cmp rax, r8
cmovb r8, rax
add r8, rdi
movzx eax, byte [r8]
cmp byte [rbp + rax - 0x50], 0
jne 0x14000c773
cmp r8, rdi
je 0x14000c7a8
dec r8
movzx eax, byte [r8]
cmp byte [rbp + rax - 0x50], 0
je 0x14000c760
sub r8, rdi
jne 0x14000c7af
xor edi, edi
mov qword [rsp + 0x48], rdi
mov qword [rsp + 0x58], rdi
mov qword [rsp + 0x60], 0xf
mov byte [rsp + 0x48], dil
mov r8, r12
lea rdx, [0x140092108]
lea rcx, [rsp + 0x48]
call fcn.140019c10
jmp 0x14000c7fc
mov r8, 0xffffffffffffffff
xor edi, edi
mov qword [rsp + 0x48], rdi
mov qword [rsp + 0x58], rdi
mov qword [rsp + 0x60], 0xf
mov byte [rsp + 0x48], dil
inc r8
cmp rsi, r8
cmovb r8, rsi
lea rdx, [rsp + 0x68]
cmp r15, 0x10
cmovae rdx, r14
lea rcx, [rsp + 0x48]
call fcn.140019c10
jmp 0x14000c7fc
lea rdx, [rsp + 0x68]
lea rcx, [rsp + 0x48]
call fcn.140015b60
nop
mov rax, qword [rsp + 0x58]
cmp rax, qword [rsp + 0x78]
jae 0x14000c94a
test rax, rax
je 0x14000c94a
lea rax, [rsp + 0x48]
mov rdx, qword [rsp + 0x60]
cmp rdx, 0x10
jb 0x14000c82f
mov rax, qword [rsp + 0x48]
test rax, rax
je 0x14000c852
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x14000c848
shr eax, 4
and al, 1
jne 0x14000c94a
mov rdx, qword [rsp + 0x60]
mov rax, qword [rsp + 0x48]
lea rcx, [rsp + 0x48]
cmp rdx, 0x10
cmovae rcx, rax
mov qword [rbp - 0x78], rdi
mov qword [rbp - 0x68], rdi
mov qword [rbp - 0x60], 0xf
mov byte [rbp - 0x78], 0
mov qword [rsp + 0x38], rdi
lea r8, [rsp + 0x38]
lea rdx, [0x140092108]
call fcn.140059ac8
test rax, rax
je 0x14000ca34
nop dword [rax]
nop word [rax + rax]
mov r8, 0xffffffffffffffff
nop word [rax + rax]
inc r8
cmp byte [rax + r8], 0
jne 0x14000c8b0
mov rdx, rax
lea rcx, [rbp - 0x78]
call fcn.140019d70
mov r8, r12
lea rdx, [0x140092108]
lea rcx, [rbp - 0x78]
call fcn.140019d70
lea rcx, [rbp - 0x78]
cmp qword [rbp - 0x60], 0x10
cmovae rcx, qword [rbp - 0x78]
call fcn.14005ee98
mov edi, eax
lea r8, [rsp + 0x38]
lea rdx, [0x140092108]
xor ecx, ecx
call fcn.140059ac8
test rax, rax
jne 0x14000c8a0
cmp edi, 0xffffffff
je 0x14000ca34
mov rdx, qword [rbp - 0x60]
cmp rdx, 0x10
jb 0x14000c94a
inc rdx
mov rcx, qword [rbp - 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000c945
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000ca79
call fcn.140053500
mov qword [rsp + 0x38], r13
lea rax, [rsp + 0x68]
mov qword [rsp + 0x40], rax
cmp qword [r13 + 0xa8], 0
jne 0x14000c96d
cmp qword [r13 + 0x1e8], 0
je 0x14000c970
mov r12d, ebx
mov edx, r12d
lea rcx, [rsp + 0x38]
call fcn.14000ca90
nop
mov rdx, qword [rsp + 0x60]
cmp rdx, 0x10
jb 0x14000c9bb
inc rdx
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000c9b6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000ca7f
call fcn.140053500
mov qword [rsp + 0x58], 0
mov qword [rsp + 0x60], 0xf
mov byte [rsp + 0x48], 0
mov rdx, qword [rbp - 0x80]
cmp rdx, 0x10
jb 0x14000ca0a
inc rdx
mov rcx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000ca05
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000ca73
call fcn.140053500
mov rcx, qword [rbp + 0xb0]
xor rcx, rsp
call fcn.1400534e0
mov rbx, qword [rsp + 0x200]
add rsp, 0x1c0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov rdx, qword [rbp - 0x60]
cmp rdx, 0x10
jb 0x14000c94a
inc rdx
mov rcx, qword [rbp - 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000c945
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000ca79
jmp 0x14000c945
call fcn.14005f6ec
nop
call fcn.14005f6ec
nop
call fcn.14005f6ec
int3