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

Disassembly:
push rbx
sub rsp, 0xa0
mov rax, qword [0x14035cb78]
xor rax, rsp
mov qword [rsp + 0x98], rax
lea rcx, str.C:ProgramData_
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x140163cf8
shr eax, 4
and al, 1
jne 0x140163da6
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 [0x14027bfa0]
mov dword [rsp + 0x60], eax
movzx eax, word [0x14027bfa4]
mov word [rsp + 0x64], ax
movzx eax, byte [0x14027bfa6]
mov byte [rsp + 0x66], al
mov byte [rsp + 0x67], 0
lea r8, [rsp + 0x58]
lea rdx, str.CreateDebugLogFolder:
lea rcx, [rsp + 0x38]
call fcn.1400b9790
mov rcx, rax
call fcn.1401630b0
nop
mov rdx, qword [rsp + 0x70]
cmp rdx, 0x10
jb 0x140163da6
inc rdx
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140163da1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140164193
call fcn.1401c72f8
lea rcx, str.C:ProgramDataASUS_
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x140163dc6
shr eax, 4
and al, 1
je 0x140163dc6
xor ebx, ebx
jmp 0x140163e7c
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.1400b9950
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 [0x14027bfb8]
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.1400b9790
mov rcx, rax
call fcn.1401630b0
nop
mov rdx, qword [rsp + 0x70]
cmp rdx, 0x10
jb 0x140163e7c
inc rdx
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140163e77
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140164199
call fcn.1401c72f8
lea rcx, str.C:ProgramDataASUSASUS_System_Control_Interface_
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x140163e99
shr eax, 4
and al, 1
jne 0x140163f69
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.1400b9950
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 [0x14027bfd0]
movups xmmword [rax + 0x10], xmm1
movups xmm0, xmmword [0x14027bfe0]
movups xmmword [rax + 0x20], xmm0
movzx ecx, word [0x14027bff0]
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.1400b9790
mov rcx, rax
call fcn.1401630b0
nop
mov rdx, qword [rsp + 0x70]
cmp rdx, 0x10
jb 0x140163f69
inc rdx
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140163f64
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14016419f
call fcn.1401c72f8
lea rcx, [0x140277ec0]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x140163f86
shr eax, 4
and al, 1
jne 0x14016406c
lea rcx, [0x140277ec0]
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.1400b9950
mov rcx, rax
mov qword [rsp + 0x68], 0x45
mov qword [rsp + 0x70], 0x4f
movaps xmm0, xmmword [0x140277ec0]
movups xmmword [rax], xmm0
movaps xmm1, xmmword [0x140277ed0]
movups xmmword [rax + 0x10], xmm1
movaps xmm0, xmmword [0x140277ee0]
movups xmmword [rax + 0x20], xmm0
movaps xmm1, xmmword [0x140277ef0]
movups xmmword [rax + 0x30], xmm1
mov eax, dword [0x140277f00]
mov dword [rcx + 0x40], eax
movzx eax, byte [0x140277f04]
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.1400b9790
mov rcx, rax
call fcn.1401630b0
nop
mov rdx, qword [rsp + 0x70]
cmp rdx, 0x10
jb 0x14016406c
inc rdx
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140164067
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1401641a5
call fcn.1401c72f8
lea rcx, str.C:ProgramDataASUSASUS_System_Control_InterfaceAsusSystemAnalysisDebugLog_
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x140164089
shr eax, 4
and al, 1
jne 0x14016417a
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.1400b9950
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 [0x140284320]
movups xmmword [rax + 0x10], xmm1
movaps xmm0, xmmword [0x140284330]
movups xmmword [rax + 0x20], xmm0
movaps xmm1, xmmword [0x140284340]
movups xmmword [rax + 0x30], xmm1
movsd xmm0, qword [0x140284350]
movsd qword [rax + 0x40], xmm0
mov eax, dword [0x140284358]
mov dword [rcx + 0x48], eax
movzx eax, word [0x14028435c]
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.1400b9790
mov rcx, rax
call fcn.1401630b0
nop
mov rdx, qword [rsp + 0x70]
cmp rdx, 0x10
jb 0x14016417a
inc rdx
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140164174
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1401641ab
call fcn.1401c72f8
nop
mov rcx, qword [rsp + 0x98]
xor rcx, rsp
call fcn.1401c7850
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