Function at 0x14000a880
Capabilities:
Get common file path
Get startup folder

Disassembly:
mov rax, rsp
push rbp
push rdi
push r14
lea rbp, [rax - 0x208]
sub rsp, 0x2f0
mov qword [rbp - 0x60], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov rax, qword [0x1400f8010]
xor rax, rsp
mov qword [rbp + 0x1e0], rax
mov rsi, rcx
mov qword [rbp - 0x58], rcx
xor r14d, r14d
mov dword [rsp + 0x30], r14d
mov qword [rcx + 0x20], r14
mov qword [rcx + 0x28], 7
mov word [rcx + 0x10], r14w
lea rdi, [rcx + 0x30]
mov qword [rbp - 0x50], rdi
movzx eax, byte [rbp - 0x40]
mov byte [rbp - 0x40], al
mov dword [rsp + 0x58], r14d
mov dword [rsp + 0x34], r14d
mov eax, r14d
mov dword [rdi], eax
lea rbx, [rdi + 8]
mov qword [rbp - 0x48], rbx
mov qword [rbx], r14
mov qword [rbx + 8], r14
xor r8d, r8d
xor edx, edx
call fcn.140023940
mov qword [rbx], rax
mov qword [rdi + 0x18], r14
mov qword [rdi + 0x20], r14
mov qword [rdi + 0x28], r14
mov dword [rdi], 0x3f800000
lea edx, [r14 + 8]
mov rcx, rdi
call fcn.140017000
nop
lea rcx, [rsi + 0x278]
mov dword [rcx + 0x28], r14d
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_InitializeCriticalSection]
nop
lea rcx, [rsi + 0x2a8]
mov dword [rcx + 0x28], r14d
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_InitializeCriticalSection]
nop
mov byte [rsi + 0x2d8], r14b
lea rcx, [rsi + 0x2e0]
mov dword [rcx + 0x28], r14d
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_InitializeCriticalSection]
nop
lea rcx, [rsi + 0x310]
mov dword [rcx + 0x28], r14d
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_InitializeCriticalSection]
nop
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp - 0x30]
call fcn.140080170
lea rax, [rbp - 0x30]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea edx, [r14 + 0x23]
xor ecx, ecx
call qword [sym.imp.ext_ms_win_shell32_shellfolders_l1_1_0.dll_SHGetFolderPathW]
lea r8, str.ASUSARMOURY_CRATE_Download_Service
mov edx, 0x104
lea rcx, [rbp - 0x30]
call fcn.140088f00
movdqa xmm0, xmmword [0x1400cf7d0]
movdqu xmmword [rsp + 0x70], xmm0
mov word [rsp + 0x60], r14w
lea rax, [rbp - 0x30]
mov r8, 0xffffffffffffffff
nop
inc r8
cmp word [rax + r8*2], 0
jne 0x14000a9e0
lea rdx, [rbp - 0x30]
lea rcx, [rsp + 0x60]
call fcn.1400039c0
lea rbx, [0x1400f8ea0]
mov rcx, rbx
call fcn.140003450
movups xmm1, xmmword [rsp + 0x60]
movups xmmword [0x1400f8ea0], xmm1
movups xmm2, xmmword [rsp + 0x70]
movups xmmword [0x1400f8eb0], xmm2
movdqa xmm0, xmmword [0x1400cf7d0]
movdqu xmmword [rsp + 0x70], xmm0
mov word [rsp + 0x60], r14w
mov rcx, rbx
movq rdx, xmm1
psrldq xmm2, 8
movq rax, xmm2
cmp rax, 8
cmovae rcx, rdx
call qword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
jne 0x14000abbb
movdqa xmm0, xmmword [0x1400cf7d0]
movdqu xmmword [rsp + 0x48], xmm0
mov word [rsp + 0x38], r14w
mov dword [rsp + 0x30], 1
mov rdx, qword [0x1400f8eb0]
inc rdx
lea rcx, [rsp + 0x38]
call fcn.140004570
cmp qword [0x1400f8eb8], 8
cmovae rbx, qword [0x1400f8ea0]
mov r8, qword [0x1400f8eb0]
mov rdx, rbx
lea rcx, [rsp + 0x38]
call fcn.140003b30
mov r8d, 1
lea rdx, [0x1400ca38c]
lea rcx, [rsp + 0x38]
call fcn.140003b30
mov r8d, reloc.WS2_32.dll_listen
lea rdx, str.Uncompression
lea rcx, [rsp + 0x38]
call fcn.140003b30
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x80], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x70], xmm1
mov qword [rax + 0x10], r14
mov qword [rax + 0x18], 7
mov word [rax], r14w
mov dword [rsp + 0x30], 3
lea rdx, [rbp - 0x80]
call fcn.14000f7f0
nop
mov rdx, qword [rbp - 0x68]
cmp rdx, 8
jb 0x14000ab4f
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000ab4a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000abf2
call fcn.14003dc60
movdqa xmm0, xmmword [0x1400cf7d0]
movdqu xmmword [rbp - 0x70], xmm0
mov word [rbp - 0x80], r14w
mov dword [rsp + 0x30], 2
mov rdx, qword [rsp + 0x50]
cmp rdx, 8
jb 0x14000aba7
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000aba2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000abec
call fcn.14003dc60
movdqa xmm0, xmmword [0x1400cf7d0]
movdqu xmmword [rsp + 0x48], xmm0
mov word [rsp + 0x38], r14w
mov qword [rsi], r14
mov qword [rsi + 8], r14
mov rax, rsi
mov rcx, qword [rbp + 0x1e0]
xor rcx, rsp
call fcn.14003d6b0
lea r11, [rsp + 0x2f0]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
call fcn.1400875c4
nop
call fcn.1400875c4
int3