Function at 0x14000f4e0
Capabilities:
Create directory
Get common file path

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x20], r9
push rbp
push rbx
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x1d8]
sub rsp, 0x2d8
mov qword [rsp + 0x50], 0xfffffffffffffffe
mov rax, qword [0x1400f8010]
xor rax, rsp
mov qword [rbp + 0x1c0], rax
lea rsi, [rcx + 0x2a8]
mov rcx, rsi
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_EnterCriticalSection]
inc dword [rsi + 0x28]
xor r14d, r14d
mov rax, qword [rbp + 0x218]
mov rdi, 0xffffffffffffffff
mov rbx, rdi
nop word [rax + rax]
inc rbx
cmp word [rax + rbx*2], r14w
jne 0x14000f550
sub rbx, 0xffffffffffffff80
mov eax, 2
mul rbx
cmovo rax, rdi
mov rcx, rax
call fcn.14003dc68
mov r15, rax
test rax, rax
je 0x14000f7b2
lea r8, [rbx + rbx]
xor edx, edx
mov rcx, rax
call fcn.140080170
lea rcx, [rsp + 0x58]
call fcn.1400879fc
lea rdx, [rsp + 0x58]
lea rcx, [rbp - 0x80]
call fcn.140088abc
lea r9, [rbp - 0x80]
lea r8, str._Y__m__d__H:_M:_S_
mov rdx, rbx
mov rcx, r15
call fcn.14008b228
mov r8, qword [rbp + 0x218]
mov rdx, rbx
mov rcx, r15
call fcn.140088f00
lea r8, [0x1400cb708]
mov rdx, rbx
mov rcx, r15
call fcn.140088f00
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp - 0x50]
call fcn.140080170
lea rax, [rbp - 0x50]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 0x23]
xor ecx, ecx
call qword [sym.imp.ext_ms_win_shell32_shellfolders_l1_1_0.dll_SHGetFolderPathW]
lea r8, str.ASUSARMOURY_CRATE_Service
mov edx, 0x104
lea rcx, [rbp - 0x50]
call fcn.140088f00
lea rcx, [rbp - 0x50]
call qword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
jne 0x14000f64e
xor edx, edx
lea rcx, [rbp - 0x50]
call qword [sym.imp.api_ms_win_core_file_l1_1_0.dll_CreateDirectoryW]
test eax, eax
jne 0x14000f64e
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
cmp eax, 0xb7
jne 0x14000f7aa
movdqa xmm0, xmmword [0x1400cf7d0]
movdqu xmmword [rsp + 0x40], xmm0
mov word [rsp + 0x30], r14w
lea rax, [rbp - 0x50]
inc rdi
cmp word [rax + rdi*2], r14w
jne 0x14000f666
mov r8, rdi
lea rdx, [rbp - 0x50]
lea rcx, [rsp + 0x30]
call fcn.1400039c0
nop
mov r8d, 0x18
lea rdx, str.ArmouryCrate.Driver.log
lea rcx, [rsp + 0x30]
call fcn.140003b30
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x60], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x70], xmm1
mov qword [rax + 0x10], r14
mov qword [rax + 0x18], 7
mov word [rax], r14w
mov rdx, qword [rsp + 0x48]
cmp rdx, 8
jb 0x14000f700
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000f6f7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000f7e6
call fcn.14003dc60
nop dword [rax]
lea rcx, [rsp + 0x60]
cmp qword [rsp + 0x78], 8
cmovae rcx, qword [rsp + 0x60]
mov r8d, 0x40
lea rdx, [0x1400cb77c]
call fcn.140087ca8
mov rbx, rax
test rax, rax
jne 0x14000f737
call fcn.140087944
cmp dword [rax], 0xd
jne 0x14000f76c
jmp 0x14000f700
lea rdi, [rbp + 0x220]
call fcn.140001420
mov qword [rsp + 0x20], rdi
xor r9d, r9d
mov r8, r15
mov rdx, rbx
mov rcx, qword [rax]
call fcn.14008700c
mov r14d, eax
mov rcx, rbx
call fcn.140088db0
mov rcx, rbx
call fcn.140088e9c
mov rdx, qword [rsp + 0x78]
cmp rdx, 8
jb 0x14000f7aa
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000f7a5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000f7e0
call fcn.14003dc60
mov rcx, r15
call fcn.14003dc60
dec dword [rsi + 0x28]
mov rcx, rsi
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_LeaveCriticalSection]
mov eax, r14d
mov rcx, qword [rbp + 0x1c0]
xor rcx, rsp
call fcn.14003d6b0
add rsp, 0x2d8
pop r15
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret
call fcn.1400875c4
int3
call fcn.1400875c4
int3