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

Disassembly:
push rbx
sub rsp, 0xa0
mov rax, qword [0x1404779b8]
xor rax, rsp
mov qword [rsp + 0x98], rax
lea rcx, str.C:ProgramData_
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x1401a8ba8
shr eax, 4
and al, 1
jne 0x1401a8c56
lea rcx, str.C:ProgramData_
call fcn.14028aeb4
mov qword [rsp + 0x70], SafeArrayLock
mov qword [rsp + 0x68], SafeArrayLock
movsd xmm0, qword [str.C:ProgramData_]
movsd qword [rsp + 0x58], xmm0
mov eax, dword [0x1403524f0]
mov dword [rsp + 0x60], eax
movzx eax, word [0x1403524f4]
mov word [rsp + 0x64], ax
movzx eax, byte [0x1403524f6]
mov byte [rsp + 0x66], al
mov byte [rsp + 0x67], 0
lea r8, [rsp + 0x58]
lea rdx, str.CreateDebugLogFolder:
lea rcx, [rsp + 0x38]
call fcn.1400eafe0
mov rcx, rax
call fcn.1401a7f60
nop
mov rdx, qword [rsp + 0x70]
cmp rdx, 0x10
jb 0x1401a8c56
inc rdx
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1401a8c51
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1401a9043
call fcn.14021ecec
lea rcx, str.C:ProgramDataASUS_
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x1401a8c76
shr eax, 4
and al, 1
je 0x1401a8c76
xor ebx, ebx
jmp 0x1401a8d2c
lea rcx, str.C:ProgramDataASUS_
call fcn.14028aeb4
xor ebx, ebx
mov qword [rsp + 0x58], rbx
mov qword [rsp + 0x68], rbx
mov qword [rsp + 0x70], SafeArrayLock
mov byte [rsp + 0x58], bl
lea ecx, [rbx + 0x20]
call fcn.1400eb1a0
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 [0x140352508]
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.1400eafe0
mov rcx, rax
call fcn.1401a7f60
nop
mov rdx, qword [rsp + 0x70]
cmp rdx, 0x10
jb 0x1401a8d2c
inc rdx
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1401a8d27
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1401a9049
call fcn.14021ecec
lea rcx, str.C:ProgramDataASUSASUS_System_Control_Interface_
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x1401a8d49
shr eax, 4
and al, 1
jne 0x1401a8e19
lea rcx, str.C:ProgramDataASUSASUS_System_Control_Interface_
call fcn.14028aeb4
mov qword [rsp + 0x58], rbx
mov qword [rsp + 0x68], rbx
mov qword [rsp + 0x70], SafeArrayLock
mov byte [rsp + 0x58], 0
mov ecx, 0x40
call fcn.1400eb1a0
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 [0x140352520]
movups xmmword [rax + 0x10], xmm1
movups xmm0, xmmword [0x140352530]
movups xmmword [rax + 0x20], xmm0
movzx ecx, word [0x140352540]
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.1400eafe0
mov rcx, rax
call fcn.1401a7f60
nop
mov rdx, qword [rsp + 0x70]
cmp rdx, 0x10
jb 0x1401a8e19
inc rdx
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1401a8e14
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1401a904f
call fcn.14021ecec
lea rcx, [0x14034e030]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x1401a8e36
shr eax, 4
and al, 1
jne 0x1401a8f1c
lea rcx, [0x14034e030]
call fcn.14028aeb4
mov qword [rsp + 0x58], rbx
mov qword [rsp + 0x68], rbx
mov qword [rsp + 0x70], SafeArrayLock
mov byte [rsp + 0x58], 0
mov ecx, 0x50
call fcn.1400eb1a0
mov rcx, rax
mov qword [rsp + 0x68], 0x45
mov qword [rsp + 0x70], 0x4f
movaps xmm0, xmmword [0x14034e030]
movups xmmword [rax], xmm0
movaps xmm1, xmmword [0x14034e040]
movups xmmword [rax + 0x10], xmm1
movaps xmm0, xmmword [0x14034e050]
movups xmmword [rax + 0x20], xmm0
movaps xmm1, xmmword [0x14034e060]
movups xmmword [rax + 0x30], xmm1
mov eax, dword [0x14034e070]
mov dword [rcx + 0x40], eax
movzx eax, byte [0x14034e074]
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.1400eafe0
mov rcx, rax
call fcn.1401a7f60
nop
mov rdx, qword [rsp + 0x70]
cmp rdx, 0x10
jb 0x1401a8f1c
inc rdx
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1401a8f17
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1401a9055
call fcn.14021ecec
lea rcx, str.C:ProgramDataASUSASUS_System_Control_InterfaceAsusSystemAnalysisDebugLog_
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x1401a8f39
shr eax, 4
and al, 1
jne 0x1401a902a
lea rcx, str.C:ProgramDataASUSASUS_System_Control_InterfaceAsusSystemAnalysisDebugLog_
call fcn.14028aeb4
mov qword [rsp + 0x58], rbx
mov qword [rsp + 0x68], rbx
mov qword [rsp + 0x70], SafeArrayLock
mov byte [rsp + 0x58], 0
mov ecx, 0x50
call fcn.1400eb1a0
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 [0x14035b100]
movups xmmword [rax + 0x10], xmm1
movaps xmm0, xmmword [0x14035b110]
movups xmmword [rax + 0x20], xmm0
movaps xmm1, xmmword [0x14035b120]
movups xmmword [rax + 0x30], xmm1
movsd xmm0, qword [0x14035b130]
movsd qword [rax + 0x40], xmm0
mov eax, dword [0x14035b138]
mov dword [rcx + 0x48], eax
movzx eax, word [0x14035b13c]
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.1400eafe0
mov rcx, rax
call fcn.1401a7f60
nop
mov rdx, qword [rsp + 0x70]
cmp rdx, 0x10
jb 0x1401a902a
inc rdx
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1401a9024
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1401a905b
call fcn.14021ecec
nop
mov rcx, qword [rsp + 0x98]
xor rcx, rsp
call fcn.14021f250
add rsp, 0xa0
pop rbx
ret
call fcn.140260f54
nop
call fcn.140260f54
int3
call fcn.140260f54
int3
call fcn.140260f54
int3
call fcn.140260f54
int3