Function at 0x140002d20
Capabilities:
Get common file path

Disassembly:
push rbp
lea rbp, [rsp - 0x880]
sub rsp, 0x980
mov rax, qword [0x140013010]
xor rax, rsp
mov qword [rbp + 0x870], rax
xor edx, edx
lea rcx, [rbp + 0x30]
mov r8d, 0x208
call sub.VCRUNTIME140.dll_memset
xor edx, edx
lea rcx, [rbp + 0x450]
mov r8d, 0x208
call sub.VCRUNTIME140.dll_memset
xor edx, edx
lea rcx, [rbp + 0x240]
mov r8d, 0x208
call sub.VCRUNTIME140.dll_memset
lea rcx, [rbp + 0x450]
call fcn.140002fd0
lea rcx, [rbp + 0x30]
call fcn.140002220
test al, al
je 0x140002f22
lea rcx, [rbp + 0x30]
mov rax, 0xffffffffffffffff
inc rax
cmp word [rcx + rax*2], 0
jne 0x140002da3
test rax, rax
je 0x140002f22
lea r8, str.GoogleChromeUser_Data_
mov qword [rsp + 0x990], rbx
mov edx, 0x104
lea rcx, [rbp + 0x30]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscat_s]
lea r8, [rbp + 0x450]
mov edx, 0x104
lea rcx, [rbp + 0x30]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscat_s]
lea r8, [rbp + 0x30]
mov edx, 0x104
lea rcx, [rbp + 0x240]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscpy_s]
lea r8, str.Preferences
mov edx, 0x104
lea rcx, [rbp + 0x30]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscat_s]
lea r8, str.Secure_Preferences
mov edx, 0x104
lea rcx, [rbp + 0x240]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscat_s]
lea rcx, [rbp + 0x240]
call fcn.140002520
mov ebx, eax
cmp eax, 2
jbe 0x140002e52
lea rcx, [rbp + 0x30]
call fcn.140002520
mov ebx, eax
cmp eax, 0xffffffff
jl 0x140002e57
cmp ebx, 2
jle 0x140002e5c
mov ebx, 0xffffffff
xor edx, edx
lea rcx, [rbp + 0x660]
mov r8d, 0x208
call sub.VCRUNTIME140.dll_memset
mov r9d, 0xa
lea rdx, [rbp + 0x660]
mov r8d, 0x104
mov ecx, ebx
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll__itow_s]
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x106
call sub.VCRUNTIME140.dll_memset
lea rdx, [rsp + 0x20]
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetTempPathA]
test eax, eax
je 0x140002f13
mov rcx, qword [0x140013ac8]
test rcx, rcx
jne 0x140002ef9
lea r8, str.ChromeReprompt.txt
mov edx, 0x104
lea rcx, [rsp + 0x20]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strcat_s]
lea r8, [0x14000b90c]
lea rdx, [rsp + 0x20]
lea rcx, [0x140013ac8]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fopen_s]
mov rcx, qword [0x140013ac8]
test rcx, rcx
je 0x140002f13
lea r9, [rbp + 0x660]
lea r8, str.FindAndSetChromeExtensionStatus::_Plugin_state_
lea rdx, str._s_____s_n
call fcn.140001040
mov eax, ebx
mov rbx, qword [rsp + 0x990]
jmp 0x140002faf
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x106
call sub.VCRUNTIME140.dll_memset
lea rdx, [rsp + 0x20]
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetTempPathA]
test eax, eax
je 0x140002faa
mov rcx, qword [0x140013ac8]
test rcx, rcx
jne 0x140002f90
lea r8, str.ChromeReprompt.txt
mov edx, 0x104
lea rcx, [rsp + 0x20]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strcat_s]
lea r8, [0x14000b90c]
lea rdx, [rsp + 0x20]
lea rcx, [0x140013ac8]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fopen_s]
mov rcx, qword [0x140013ac8]
test rcx, rcx
je 0x140002faa
lea r9, [0x14000b878]
lea r8, str.FindAndSetChromeExtensionStatus::_FAILED_to_get_local_appdata_folder_path
lea rdx, str._s_____s_n
call fcn.140001040
mov eax, 0xffffffff
mov rcx, qword [rbp + 0x870]
xor rcx, rsp
call fcn.1400098f0
add rsp, 0x980
pop rbp
ret