Function at 0x140014300
Capabilities:
Create directory
Get common file path
Get file attributes

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1c0]
sub rsp, 0x2c0
mov rax, qword [0x14012d228]
xor rax, rsp
mov qword [rbp + 0x1b0], rax
mov rsi, rcx
mov qword [rsp + 0x38], rcx
xor r15d, r15d
mov dword [rsp + 0x30], r15d
mov qword [rcx], r15
mov qword [rcx + 0x10], r15
mov qword [rcx + 0x18], 7
mov word [rcx], r15w
mov dword [rsp + 0x30], 1
test rdx, rdx
je 0x140014475
mov qword [rsp + 0x40], r15
mov qword [rsp + 0x50], r15
mov qword [rsp + 0x58], 7
mov word [rsp + 0x40], r15w
mov rcx, qword [rdx + 0x20]
lea r14, [r15 - 1]
test rcx, rcx
je 0x1400143aa
mov rax, qword [rcx]
lea r8, [0x1400f3500]
mov edx, 0x137
mov rax, qword [rax + 0x30]
call qword [case.0x140029715.0]
test rax, rax
je 0x1400143cc
jmp 0x1400143b1
lea rax, str._error_interface_not_inited_
mov r8, r14
inc r8
cmp word [rax + r8*2], 0
jne 0x1400143b4
mov rdx, rax
lea rcx, [rsp + 0x40]
call fcn.140004260
mov bl, 1
mov rdx, qword [rsp + 0x50]
test rdx, rdx
jne 0x1400144a2
xor bl, bl
mov r8d, 0x208
lea rcx, [rbp - 0x60]
call fcn.1400bb2f0
lea rdx, [rbp - 0x60]
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
je 0x140014429
lea rax, [rbp - 0x60]
mov r8, r14
nop word [rax + rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x140014410
lea rdx, [rbp - 0x60]
lea rcx, [rsp + 0x40]
call fcn.140004260
mov rdx, qword [rsp + 0x50]
test rdx, rdx
jne 0x1400144a2
mov rdx, qword [rsp + 0x58]
cmp rdx, 8
jb 0x140014475
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140014470
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400148a9
call fcn.14005a920
mov rax, rsi
mov rcx, qword [rbp + 0x1b0]
xor rcx, rsp
call fcn.14005aef0
mov rbx, qword [rsp + 0x310]
add rsp, 0x2c0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
lea rax, [rsp + 0x40]
mov r9, qword [rsp + 0x40]
mov r8, qword [rsp + 0x58]
cmp r8, 8
cmovae rax, r9
mov r12d, 0x5c
cmp word [rax + rdx*2 - 2], r12w
je 0x140014528
mov rax, r8
sub rax, rdx
cmp rax, 1
jb 0x1400144f5
lea rcx, [rdx + 1]
mov qword [rsp + 0x50], rcx
lea rax, [rsp + 0x40]
cmp r8, 8
cmovae rax, r9
mov word [rax + rdx*2], r12w
mov word [rax + rcx*2], r15w
jmp 0x140014519
lfence
mov qword [rsp + 0x20], 1
lea r9, [0x1400f33c0]
xor r8d, r8d
lea edx, [r8 + 1]
lea rcx, [rsp + 0x40]
call fcn.140006700
mov r9, qword [rsp + 0x40]
mov rdx, qword [rsp + 0x50]
mov r8, qword [rsp + 0x58]
test bl, bl
je 0x140014625
mov rax, r8
sub rax, rdx
cmp rax, 3
jb 0x14001456f
lea rdi, [rdx + 3]
mov qword [rsp + 0x50], rdi
lea rbx, [rsp + 0x40]
cmp r8, 8
cmovae rbx, r9
lea rcx, [rbx + rdx*2]
mov r8d, 6
lea rdx, [0x1400f3510]
call fcn.1400bac40
mov word [rbx + rdi*2], r15w
jmp 0x140014593
lfence
mov qword [rsp + 0x20], 3
lea r9, [0x1400f3510]
xor r8d, r8d
lea edx, [r8 + 3]
lea rcx, [rsp + 0x40]
call fcn.140006700
lea rcx, [rsp + 0x40]
cmp qword [rsp + 0x58], 8
cmovae rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
test al, 0x10
jne 0x1400145c7
lea rcx, [rsp + 0x40]
cmp qword [rsp + 0x58], 8
cmovae rcx, qword [rsp + 0x40]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov rdx, qword [rsp + 0x50]
mov r8, qword [rsp + 0x58]
mov rax, r8
sub rax, rdx
cmp rax, 1
jb 0x140014601
lea rcx, [rdx + 1]
mov qword [rsp + 0x50], rcx
lea rax, [rsp + 0x40]
cmp r8, 8
cmovae rax, qword [rsp + 0x40]
mov word [rax + rdx*2], r12w
mov word [rax + rcx*2], r15w
jmp 0x140014625
lfence
mov qword [rsp + 0x20], 1
lea r9, [0x1400f33c0]
xor r8d, r8d
lea edx, [r8 + 1]
lea rcx, [rsp + 0x40]
call fcn.140006700
call qword [sym.imp.KERNEL32.dll_WTSGetActiveConsoleSessionId]
xorps xmm0, xmm0
movaps xmmword [rsp + 0x60], xmm0
movaps xmmword [rsp + 0x70], xmm0
movaps xmmword [rbp - 0x80], xmm0
movaps xmmword [rbp - 0x70], xmm0
mov r9d, eax
lea r8, str._8.8lx
mov edx, 0x20
lea rcx, [rsp + 0x60]
call fcn.1400148c0
lea rax, [rsp + 0x40]
cmp rsi, rax
je 0x140014787
mov r15, qword [rsp + 0x50]
lea r13, [rsp + 0x40]
cmp qword [rsp + 0x58], 8
cmovae r13, qword [rsp + 0x40]
mov rdi, qword [rsi + 0x18]
cmp r15, rdi
ja 0x1400146b5
mov r12, rsi
cmp rdi, 8
jb 0x140014692
mov r12, qword [rsi]
mov qword [rsi + 0x10], r15
lea rbx, [r15 + r15]
mov r8, rbx
mov rdx, r13
mov rcx, r12
call fcn.1400bac40
xor r15d, r15d
mov word [rbx + r12], r15w
jmp 0x140014787
movabs rbx, 0x7ffffffffffffffe
cmp r15, rbx
ja 0x1400148af
mov rcx, r15
or rcx, 7
cmp rcx, rbx
ja 0x14001470c
mov rdx, rdi
shr rdx, 1
mov rax, rbx
sub rax, rdx
cmp rdi, rax
ja 0x14001470c
lea rax, [rdi + rdx]
mov rbx, rcx
cmp rcx, rax
cmovb rbx, rax
lea rcx, [rbx + 1]
movabs rax, 0x7fffffffffffffff
cmp rcx, rax
ja 0x1400148a3
jmp 0x140014716
movabs rcx, 0x7fffffffffffffff
lfence
add rcx, rcx
call fcn.140004450
mov r12, rax
mov qword [rsi + 0x10], r15
mov qword [rsi + 0x18], rbx
lea rbx, [r15 + r15]
mov r8, rbx
mov rdx, r13
mov rcx, rax
call fcn.1400bac40
xor r15d, r15d
mov word [r12 + rbx], r15w
cmp rdi, 8
jb 0x140014784
mov rcx, qword [rsi]
lea rdx, [rdi*2 + 2]
cmp rdx, 0x1000
jb 0x14001477c
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14001489d
mov rcx, r8
lfence
call fcn.14005a920
mov qword [rsi], r12
mov rcx, qword [rsi + 0x10]
mov rdx, qword [rsi + 0x18]
mov rax, rdx
sub rax, rcx
cmp rax, 4
jb 0x1400147c4
lea r8, [rcx + 4]
mov qword [rsi + 0x10], r8
mov rax, rsi
cmp rdx, 8
jb 0x1400147af
mov rax, qword [rsi]
movabs rdx, 0x2e006b0062006f
mov qword [rax + rcx*2], rdx
mov word [rax + r8*2], r15w
jmp 0x1400147e6
lfence
mov qword [rsp + 0x20], 4
lea r9, str.obk.
xor r8d, r8d
lea edx, [r8 + 4]
mov rcx, rsi
call fcn.140006700
lea rax, [rsp + 0x60]
nop dword [rax + rax]
inc r14
cmp word [rax + r14*2], 0
jne 0x1400147f0
mov rcx, qword [rsi + 0x10]
mov rdx, qword [rsi + 0x18]
mov rax, rdx
sub rax, rcx
cmp r14, rax
ja 0x14001483b
lea rdi, [rcx + r14]
mov qword [rsi + 0x10], rdi
mov rbx, rsi
cmp rdx, 8
jb 0x140014822
mov rbx, qword [rsi]
lea rcx, [rbx + rcx*2]
lea r8, [r14 + r14]
lea rdx, [rsp + 0x60]
call fcn.1400bac40
mov word [rbx + rdi*2], r15w
jmp 0x140014857
lfence
mov qword [rsp + 0x20], r14
lea r9, [rsp + 0x60]
xor r8d, r8d
mov rdx, r14
mov rcx, rsi
call fcn.140006700
nop
mov rdx, qword [rsp + 0x58]
cmp rdx, 8
jb 0x140014475
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140014470
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400148a9
jmp 0x140014470
call fcn.1400bf5d0
int3
call fcn.140001ea0
nop
call fcn.1400bf5d0
nop
call fcn.140001f50
int3