Function at 0x18000b770
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 [0x1800a11a0]
xor rax, rsp
mov qword [rbp + 0xb0], rax
mov edi, edx
mov r13, rcx
lea rdx, [rsp + 0x68]
call fcn.18000b1f0
nop
mov rsi, qword [rsp + 0x78]
test rsi, rsi
jne 0x18000b86a
cmp edi, 1
jne 0x18000b7cc
lea rbx, str.GLOBAL
jmp 0x18000b838
cmp edi, 4
jne 0x18000b7da
lea rbx, str.DEBUG
jmp 0x18000b838
cmp edi, 0x80
jne 0x18000b7eb
lea rbx, str.INFO
jmp 0x18000b838
cmp edi, 0x20
jne 0x18000b7f9
lea rbx, str.WARNING
jmp 0x18000b838
cmp edi, 0x10
jne 0x18000b807
lea rbx, str.ERROR
jmp 0x18000b838
cmp edi, 8
jne 0x18000b815
lea rbx, str.FATAL
jmp 0x18000b838
cmp edi, 0x40
jne 0x18000b823
lea rbx, str.VERBOSE
jmp 0x18000b838
lea rbx, str.TRACE
lea rax, str.UNKNOWN
cmp edi, 2
cmovne rbx, rax
lea rdx, str.Could_not_load_empty_file_for_logging__please_re_check_your_configurations_for_level__
lea rcx, [0x1800a1020]
call fcn.1800176b0
mov rcx, rax
mov rdx, rbx
call fcn.1800176b0
mov rcx, rax
lea rdx, [0x18008d9a8]
call fcn.1800176b0
mov rsi, qword [rsp + 0x78]
mov r14, qword [rsp + 0x68]
mov r15, qword [rbp - 0x80]
xor ebx, ebx
lea r12d, [rbx + 1]
test rsi, rsi
je 0x18000b983
lea rcx, [rsp + 0x68]
cmp r15, 0x10
cmovae rcx, r14
mov qword [rsp + 0x20], r12
lea r9, [0x18008d2f8]
xor r8d, r8d
mov rdx, rsi
call fcn.180019260
cmp rax, 0xffffffffffffffff
je 0x18000b983
lea rbx, [rsp + 0x68]
cmp r15, 0x10
cmovae rbx, r14
test rsi, rsi
je 0x18000b945
xor edx, edx
mov r8d, 0x100
lea rcx, [rbp - 0x50]
call fcn.180051b50
movzx eax, byte [0x18008d2f8]
mov byte [rbp + rax - 0x50], r12b
lea rax, [rsi - 1]
mov r8, 0xffffffffffffffff
cmp rax, r8
cmovb r8, rax
add r8, rbx
movzx eax, byte [r8]
cmp byte [rbp + rax - 0x50], 0
jne 0x18000b916
cmp r8, rbx
je 0x18000b945
dec r8
movzx eax, byte [r8]
cmp byte [rbp + rax - 0x50], 0
je 0x18000b903
sub r8, rbx
jne 0x18000b94c
xor ebx, ebx
mov qword [rsp + 0x58], rbx
mov qword [rsp + 0x60], 0xf
mov byte [rsp + 0x48], bl
mov r8, r12
lea rdx, [0x18008d2f8]
lea rcx, [rsp + 0x48]
call fcn.18001e3a0
jmp 0x18000b993
mov r8, 0xffffffffffffffff
xor ebx, ebx
mov qword [rsp + 0x58], rbx
mov qword [rsp + 0x60], 0xf
mov byte [rsp + 0x48], bl
inc r8
cmp rsi, r8
cmovb r8, rsi
lea rdx, [rsp + 0x68]
cmp r15, 0x10
cmovae rdx, r14
lea rcx, [rsp + 0x48]
call fcn.18001e3a0
jmp 0x18000b993
lea rdx, [rsp + 0x68]
lea rcx, [rsp + 0x48]
call fcn.1800137c0
nop
mov rax, qword [rsp + 0x58]
cmp rax, qword [rsp + 0x78]
jae 0x18000bada
test rax, rax
je 0x18000bada
lea rax, [rsp + 0x48]
mov rdx, qword [rsp + 0x60]
cmp rdx, 0x10
jb 0x18000b9c6
mov rax, qword [rsp + 0x48]
test rax, rax
je 0x18000b9e9
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x18000b9df
shr eax, 4
and al, 1
jne 0x18000bada
mov rdx, qword [rsp + 0x60]
mov rax, qword [rsp + 0x48]
lea rcx, [rsp + 0x48]
cmp rdx, 0x10
cmovae rcx, rax
mov qword [rbp - 0x68], rbx
mov qword [rbp - 0x60], 0xf
mov byte [rbp - 0x78], 0
mov qword [rsp + 0x38], rbx
lea r8, [rsp + 0x38]
lea rdx, [0x18008d2f8]
call fcn.180056da0
test rax, rax
je 0x18000bbc4
nop word [rax + rax]
mov r8, 0xffffffffffffffff
nop word [rax + rax]
inc r8
cmp byte [rax + r8], 0
jne 0x18000ba40
mov rdx, rax
lea rcx, [rbp - 0x78]
call fcn.180015970
mov r8, r12
lea rdx, [0x18008d2f8]
lea rcx, [rbp - 0x78]
call fcn.180015970
lea rcx, [rbp - 0x78]
cmp qword [rbp - 0x60], 0x10
cmovae rcx, qword [rbp - 0x78]
call fcn.180057000
mov ebx, eax
lea r8, [rsp + 0x38]
lea rdx, [0x18008d2f8]
xor ecx, ecx
call fcn.180056da0
test rax, rax
jne 0x18000ba30
cmp ebx, 0xffffffff
je 0x18000bbc4
mov rdx, qword [rbp - 0x60]
cmp rdx, 0x10
jb 0x18000bada
inc rdx
mov rcx, qword [rbp - 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18000bad5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18000bc09
call fcn.180032af0
mov qword [rsp + 0x38], r13
lea rax, [rsp + 0x68]
mov qword [rsp + 0x40], rax
cmp qword [r13 + 0xf0], 0
jne 0x18000bafd
cmp qword [r13 + 0x230], 0
je 0x18000bb00
mov r12d, edi
mov edx, r12d
lea rcx, [rsp + 0x38]
call fcn.18000bc20
nop
mov rdx, qword [rsp + 0x60]
cmp rdx, 0x10
jb 0x18000bb4b
inc rdx
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18000bb46
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18000bc0f
call fcn.180032af0
mov qword [rsp + 0x58], 0
mov qword [rsp + 0x60], 0xf
mov byte [rsp + 0x48], 0
mov rdx, qword [rbp - 0x80]
cmp rdx, 0x10
jb 0x18000bb9a
inc rdx
mov rcx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18000bb95
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18000bc03
call fcn.180032af0
mov rcx, qword [rbp + 0xb0]
xor rcx, rsp
call fcn.180032aa0
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 0x18000bada
inc rdx
mov rcx, qword [rbp - 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18000bad5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18000bc09
jmp 0x18000bad5
call fcn.180056698
nop
call fcn.180056698
nop
call fcn.180056698
int3