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

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
push rbp
mov rbp, rsp
sub rsp, 0x80
mov rax, qword [0x140092060]
xor rax, rsp
mov qword [rbp - 8], rax
mov rax, qword [rbp - 0x30]
mov qword [rbp - 0x40], rax
lea rdi, [0x1400966d0]
mov qword [rbp - 0x40], rdi
movdqa xmm0, xmmword [0x140086150]
movdqa xmmword [0x1400966d0], xmm0
xor ebx, ebx
mov qword [0x1400966e8], rbx
mov qword [0x1400966f0], 7
lea rcx, [0x1400966f8]
call fcn.140007230
nop
mov rax, qword [0x140092c88]
movups xmm0, xmmword [rax - 0x10]
movups xmmword [rbp - 0x28], xmm0
cmp qword [0x140092ca0], rbx
je 0x140004d36
mov ecx, 5
int 0x29
xorps xmm0, xmm0
movdqu xmmword [0x140092ca8], xmm0
lea r9, [0x140092ca0]
lea r8, [0x140092c80]
lea rdx, section..text
lea rcx, [rbp - 0x28]
call qword [sym.imp.ADVAPI32.dll_EventRegister]
test eax, eax
jne 0x140004d7f
mov r8, qword [0x140092c88]
movzx r9d, word [r8]
lea edx, [rax + 2]
mov rcx, qword [0x140092ca0]
call qword [sym.imp.ADVAPI32.dll_EventSetInformation]
lea r9, [rbp - 0x30]
xor r8d, r8d
xor edx, edx
lea rcx, [0x140074740]
call qword [sym.imp.SHELL32.dll_SHGetKnownFolderPath]
test eax, eax
js 0x140004ef5
mov qword [rbp - 0x60], rbx
mov qword [rbp - 0x50], rbx
mov qword [rbp - 0x48], 7
mov word [rbp - 0x60], bx
mov rdx, qword [rbp - 0x30]
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp word [rdx + r8*2], 0
jne 0x140004dc0
lea rcx, [rbp - 0x60]
call fcn.140002770
nop
mov r8d, 0x3f
lea rdx, str.PackagesB9ECED6F.ASUSPCAssistant_qmba6cd70vzyyLocalStatelog
lea rcx, [rbp - 0x60]
call fcn.1400082f0
mov qword [rbp - 0x28], rbx
mov qword [rbp - 0x18], rbx
mov qword [rbp - 0x10], rbx
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x28], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x18], xmm1
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], 7
mov word [rax], bx
mov rdx, qword [rbp - 0x48]
cmp rdx, 8
jb 0x140004e55
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140004e50
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140004f1f
call fcn.140042ba4
mov qword [rbp - 0x50], rbx
mov qword [rbp - 0x48], 7
mov word [rbp - 0x60], bx
lea rcx, [rbp - 0x28]
cmp qword [rbp - 0x10], 8
cmovae rcx, qword [rbp - 0x28]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x140004e8c
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x140004eb8
lea rdx, [rbp - 0x28]
cmp qword [rbp - 0x10], 8
cmovae rdx, qword [rbp - 0x28]
mov r8, qword [rbp - 0x18]
lea rcx, [0x1400966d8]
call fcn.140002770
lea rcx, [0x140095d60]
call qword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
nop
mov rdx, qword [rbp - 0x10]
cmp rdx, 8
jb 0x140004ef5
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140004eef
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140004f19
call fcn.140042ba4
nop
mov rax, rdi
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.140042660
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov rsp, r11
pop rbp
ret
call fcn.1400494f8
nop
call fcn.1400494f8
int3