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

Disassembly:
push rbx
sub rsp, 0xa0
mov rax, qword [0x14039a678]
xor rax, rsp
mov qword [rsp + 0x98], rax
lea rcx, str.C:ProgramData_
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x14017f6f8
shr eax, 4
and al, 1
jne 0x14017f7a6
lea rcx, str.C:ProgramData_
call sub.api_ms_win_crt_filesystem_l1_1_0.dll__mkdir
mov qword [rsp + 0x70], SafeArrayGetLBound
mov qword [rsp + 0x68], SafeArrayGetLBound
movsd xmm0, qword [str.C:ProgramData_]
movsd qword [rsp + 0x58], xmm0
mov eax, dword [0x1402a1550]
mov dword [rsp + 0x60], eax
movzx eax, word [0x1402a1554]
mov word [rsp + 0x64], ax
movzx eax, byte [0x1402a1556]
mov byte [rsp + 0x66], al
mov byte [rsp + 0x67], 0
lea r8, [rsp + 0x58]
lea rdx, str.CreateDebugLogFolder:
lea rcx, [rsp + 0x38]
call fcn.1400d13b0
mov rcx, rax
call fcn.14017eab0
nop
mov rdx, qword [rsp + 0x70]
cmp rdx, 0x10
jb 0x14017f7a6
inc rdx
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14017f7a1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14017fb93
call fcn.1401e3784
lea rcx, str.C:ProgramDataASUS_
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x14017f7c6
shr eax, 4
and al, 1
je 0x14017f7c6
xor ebx, ebx
jmp 0x14017f87c
lea rcx, str.C:ProgramDataASUS_
call sub.api_ms_win_crt_filesystem_l1_1_0.dll__mkdir
xor ebx, ebx
mov qword [rsp + 0x58], rbx
mov qword [rsp + 0x68], rbx
mov qword [rsp + 0x70], SafeArrayGetLBound
mov byte [rsp + 0x58], bl
lea ecx, [rbx + 0x20]
call fcn.1400d1570
mov qword [rsp + 0x68], reloc.OLEAUT32.dll_SafeArrayLock
mov qword [rsp + 0x70], 0x1f
movups xmm0, xmmword [str.C:ProgramDataASUS_]
movups xmmword [rax], xmm0
mov ecx, dword [0x1402a1568]
mov dword [rax + 0x10], ecx
mov byte [rax + 0x14], bl
mov qword [rsp + 0x58], rax
lea r8, [rsp + 0x58]
lea rdx, str.CreateDebugLogFolder:
lea rcx, [rsp + 0x38]
call fcn.1400d13b0
mov rcx, rax
call fcn.14017eab0
nop
mov rdx, qword [rsp + 0x70]
cmp rdx, 0x10
jb 0x14017f87c
inc rdx
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14017f877
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14017fb99
call fcn.1401e3784
lea rcx, str.C:ProgramDataASUSASUS_System_Control_Interface_
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x14017f899
shr eax, 4
and al, 1
jne 0x14017f969
lea rcx, str.C:ProgramDataASUSASUS_System_Control_Interface_
call sub.api_ms_win_crt_filesystem_l1_1_0.dll__mkdir
mov qword [rsp + 0x58], rbx
mov qword [rsp + 0x68], rbx
mov qword [rsp + 0x70], SafeArrayGetLBound
mov byte [rsp + 0x58], 0
mov ecx, 0x40
call fcn.1400d1570
mov qword [rsp + 0x68], 0x32
mov qword [rsp + 0x70], 0x3f
movups xmm0, xmmword [str.C:ProgramDataASUSASUS_System_Control_Interface_]
movups xmmword [rax], xmm0
movups xmm1, xmmword [0x1402a1580]
movups xmmword [rax + 0x10], xmm1
movups xmm0, xmmword [0x1402a1590]
movups xmmword [rax + 0x20], xmm0
movzx ecx, word [0x1402a15a0]
mov word [rax + 0x30], cx
mov byte [rax + 0x32], 0
mov qword [rsp + 0x58], rax
lea r8, [rsp + 0x58]
lea rdx, str.CreateDebugLogFolder:
lea rcx, [rsp + 0x38]
call fcn.1400d13b0
mov rcx, rax
call fcn.14017eab0
nop
mov rdx, qword [rsp + 0x70]
cmp rdx, 0x10
jb 0x14017f969
inc rdx
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14017f964
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14017fb9f
call fcn.1401e3784
lea rcx, [0x14029d340]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x14017f986
shr eax, 4
and al, 1
jne 0x14017fa6c
lea rcx, [0x14029d340]
call sub.api_ms_win_crt_filesystem_l1_1_0.dll__mkdir
mov qword [rsp + 0x58], rbx
mov qword [rsp + 0x68], rbx
mov qword [rsp + 0x70], SafeArrayGetLBound
mov byte [rsp + 0x58], 0
mov ecx, 0x50
call fcn.1400d1570
mov rcx, rax
mov qword [rsp + 0x68], 0x45
mov qword [rsp + 0x70], 0x4f
movaps xmm0, xmmword [0x14029d340]
movups xmmword [rax], xmm0
movaps xmm1, xmmword [0x14029d350]
movups xmmword [rax + 0x10], xmm1
movaps xmm0, xmmword [0x14029d360]
movups xmmword [rax + 0x20], xmm0
movaps xmm1, xmmword [0x14029d370]
movups xmmword [rax + 0x30], xmm1
mov eax, dword [0x14029d380]
mov dword [rcx + 0x40], eax
movzx eax, byte [0x14029d384]
mov byte [rcx + 0x44], al
mov byte [rcx + 0x45], 0
mov qword [rsp + 0x58], rcx
lea r8, [rsp + 0x58]
lea rdx, str.CreateDebugLogFolder:
lea rcx, [rsp + 0x38]
call fcn.1400d13b0
mov rcx, rax
call fcn.14017eab0
nop
mov rdx, qword [rsp + 0x70]
cmp rdx, 0x10
jb 0x14017fa6c
inc rdx
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14017fa67
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14017fba5
call fcn.1401e3784
lea rcx, str.C:ProgramDataASUSASUS_System_Control_InterfaceAsusSystemAnalysisDebugLog_
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x14017fa89
shr eax, 4
and al, 1
jne 0x14017fb7a
lea rcx, str.C:ProgramDataASUSASUS_System_Control_InterfaceAsusSystemAnalysisDebugLog_
call sub.api_ms_win_crt_filesystem_l1_1_0.dll__mkdir
mov qword [rsp + 0x58], rbx
mov qword [rsp + 0x68], rbx
mov qword [rsp + 0x70], SafeArrayGetLBound
mov byte [rsp + 0x58], 0
mov ecx, 0x50
call fcn.1400d1570
mov rcx, rax
mov qword [rsp + 0x68], 0x4e
mov qword [rsp + 0x70], 0x4f
movaps xmm0, xmmword [str.C:ProgramDataASUSASUS_System_Control_InterfaceAsusSystemAnalysisDebugLog_]
movups xmmword [rax], xmm0
movaps xmm1, xmmword [0x1402a9c60]
movups xmmword [rax + 0x10], xmm1
movaps xmm0, xmmword [0x1402a9c70]
movups xmmword [rax + 0x20], xmm0
movaps xmm1, xmmword [0x1402a9c80]
movups xmmword [rax + 0x30], xmm1
movsd xmm0, qword [0x1402a9c90]
movsd qword [rax + 0x40], xmm0
mov eax, dword [0x1402a9c98]
mov dword [rcx + 0x48], eax
movzx eax, word [0x1402a9c9c]
mov word [rcx + 0x4c], ax
mov byte [rcx + 0x4e], 0
mov qword [rsp + 0x58], rcx
lea r8, [rsp + 0x58]
lea rdx, str.CreateDebugLogFolder:
lea rcx, [rsp + 0x38]
call fcn.1400d13b0
mov rcx, rax
call fcn.14017eab0
nop
mov rdx, qword [rsp + 0x70]
cmp rdx, 0x10
jb 0x14017fb7a
inc rdx
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14017fb74
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14017fbab
call fcn.1401e3784
nop
mov rcx, qword [rsp + 0x98]
xor rcx, rsp
call fcn.1401e3ce0
add rsp, 0xa0
pop rbx
ret
call sub.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn
nop
call sub.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn
int3
call sub.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn
int3
call sub.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn
int3
call sub.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn
int3