Function at 0x18000d7a0
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 [0x18025e060]
xor rax, rsp
mov qword [rbp + 0xb0], rax
movzx edi, dx
mov r13, rcx
lea rdx, [rsp + 0x68]
call fcn.18000d1d0
nop
mov rsi, qword [rsp + 0x78]
test rsi, rsi
jne 0x18000d8a4
cmp di, 1
jne 0x18000d7fe
lea rbx, str.GLOBAL
jmp 0x18000d872
cmp di, 4
jne 0x18000d80d
lea rbx, str.DEBUG
jmp 0x18000d872
mov eax, pe_nt_image_headers64
cmp di, ax
jne 0x18000d820
lea rbx, [0x1800a96ec]
jmp 0x18000d872
cmp di, 0x20
jne 0x18000d82f
lea rbx, str.WARNING
jmp 0x18000d872
cmp di, 0x10
jne 0x18000d83e
lea rbx, str.ERROR
jmp 0x18000d872
cmp di, 8
jne 0x18000d84d
lea rbx, str.FATAL
jmp 0x18000d872
cmp di, 0x40
jne 0x18000d85c
lea rbx, str.VERBOSE
jmp 0x18000d872
lea rbx, str.TRACE
lea rax, str.UNKNOWN
cmp di, 2
cmovne rbx, rax
lea rdx, str.Could_not_load_empty_file_for_logging__please_re_check_your_configurations_for_level__
lea rcx, [0x180260c00]
call fcn.18001e310
mov rcx, rax
mov rdx, rbx
call fcn.18001e310
mov rcx, rax
lea rdx, [0x1800a9cf4]
call fcn.18001e310
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 0x18000d9ca
lea rcx, [rsp + 0x68]
cmp r15, 0x10
cmovae rcx, r14
mov qword [rsp + 0x20], r12
lea r9, [0x1800a9a00]
xor r8d, r8d
mov rdx, rsi
call fcn.18001fc00
cmp rax, 0xffffffffffffffff
je 0x18000d9ca
lea rbx, [rsp + 0x68]
cmp r15, 0x10
cmovae rbx, r14
test rsi, rsi
je 0x18000d987
xor edx, edx
mov r8d, 0x100
lea rcx, [rbp - 0x50]
call fcn.180069bc0
movzx eax, byte [0x1800a9a00]
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 0x18000d953
nop dword [rax]
cmp r8, rbx
je 0x18000d987
dec r8
movzx eax, byte [r8]
cmp byte [rbp + rax - 0x50], 0
je 0x18000d940
sub r8, rbx
jne 0x18000d98e
xor ebx, ebx
mov qword [rsp + 0x48], rbx
mov qword [rsp + 0x58], rbx
mov qword [rsp + 0x60], 0xf
mov byte [rsp + 0x48], bl
mov r8, r12
lea rdx, [0x1800a9a00]
lea rcx, [rsp + 0x48]
call fcn.18001c600
jmp 0x18000d9da
mov r8, 0xffffffffffffffff
xor ebx, ebx
mov qword [rsp + 0x48], rbx
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.18001c600
jmp 0x18000d9da
lea rdx, [rsp + 0x68]
lea rcx, [rsp + 0x48]
call fcn.18001a5b0
nop
mov rax, qword [rsp + 0x58]
cmp rax, qword [rsp + 0x78]
jae 0x18000db1a
test rax, rax
je 0x18000db1a
lea rax, [rsp + 0x48]
mov rdx, qword [rsp + 0x60]
cmp rdx, 0x10
jb 0x18000da0d
mov rax, qword [rsp + 0x48]
test rax, rax
je 0x18000da30
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x18000da26
shr eax, 4
and al, 1
jne 0x18000db1a
mov rdx, qword [rsp + 0x60]
mov rax, qword [rsp + 0x48]
lea rcx, [rsp + 0x48]
cmp rdx, 0x10
cmovae rcx, rax
mov qword [rbp - 0x78], rbx
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, [0x1800a9a00]
call fcn.18006dc9c
test rax, rax
je 0x18000dc03
mov r8, 0xffffffffffffffff
nop word [rax + rax]
inc r8
cmp byte [rax + r8], 0
jne 0x18000da80
mov rdx, rax
lea rcx, [rbp - 0x78]
call fcn.18001c760
mov r8, r12
lea rdx, [0x1800a9a00]
lea rcx, [rbp - 0x78]
call fcn.18001c760
lea rcx, [rbp - 0x78]
cmp qword [rbp - 0x60], 0x10
cmovae rcx, qword [rbp - 0x78]
call fcn.1800777ec
mov ebx, eax
lea r8, [rsp + 0x38]
lea rdx, [0x1800a9a00]
xor ecx, ecx
call fcn.18006dc9c
test rax, rax
jne 0x18000da70
cmp ebx, 0xffffffff
je 0x18000dc03
mov rdx, qword [rbp - 0x60]
cmp rdx, 0x10
jb 0x18000db1a
inc rdx
mov rcx, qword [rbp - 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18000db15
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18000dc48
call fcn.180067160
mov qword [rsp + 0x38], r13
lea rax, [rsp + 0x68]
mov qword [rsp + 0x40], rax
cmp qword [r13 + 0x40], 0
jne 0x18000db3a
cmp qword [r13 + 0x90], 0
je 0x18000db3e
movzx r12d, di
movzx edx, r12w
lea rcx, [rsp + 0x38]
call fcn.18000dc60
nop
mov rdx, qword [rsp + 0x60]
cmp rdx, 0x10
jb 0x18000db8a
inc rdx
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18000db85
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18000dc4e
call fcn.180067160
mov qword [rsp + 0x58], 0
mov qword [rsp + 0x60], 0xf
mov byte [rsp + 0x48], 0
mov rdx, qword [rbp - 0x80]
cmp rdx, 0x10
jb 0x18000dbd9
inc rdx
mov rcx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18000dbd4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18000dc42
call fcn.180067160
mov rcx, qword [rbp + 0xb0]
xor rcx, rsp
call fcn.180067140
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 0x18000db1a
inc rdx
mov rcx, qword [rbp - 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18000db15
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18000dc48
jmp 0x18000db15
call fcn.1800785f0
nop
call fcn.1800785f0
nop
call fcn.1800785f0
int3