Function at 0x140003090
Capabilities:
Gather firefox profile information

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x320]
sub rsp, 0x420
mov rax, qword [0x14000b008]
xor rax, rsp
mov qword [rbp + 0x310], rax
mov rsi, rdx
mov r12, rcx
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x20], rcx
mov r13, qword [rdx + 0x10]
movabs rcx, 0x7fffffffffffffff
mov rax, rcx
sub rax, r13
cmp rax, 9
jb 0x140003a35
cmp qword [rdx + 0x18], 0x10
jb 0x1400030f8
mov rsi, qword [rdx]
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x40], xmm1
lea r15, [r13 + 9]
mov ebx, 0xf
lea rdi, [rsp + 0x30]
lea eax, [rbx + 7]
lea r14, [rbx - 0x10]
cmp r15, rbx
jbe 0x140003194
mov rbx, r15
or rbx, 0xf
cmp rbx, rcx
jbe 0x140003134
mov rbx, rcx
jmp 0x14000313b
cmp rbx, rax
cmovb rbx, rax
mov rcx, rbx
add rcx, 1
cmovb rcx, r14
cmp rcx, 0x1000
jb 0x14000317e
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x140003a3b
mov rcx, rax
call fcn.140005da0
test rax, rax
je 0x140003177
lea rdi, [rax + 0x27]
and rdi, 0xffffffffffffffe0
mov qword [rdi - 8], rax
jmp 0x14000318f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
test rcx, rcx
je 0x14000318d
call fcn.140005da0
mov rdi, rax
jmp 0x14000318f
xor edi, edi
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x40], r15
mov qword [rsp + 0x48], rbx
movsd xmm0, qword [str.C:Users_]
movsd qword [rdi], xmm0
movzx eax, byte [0x140007678]
mov byte [rdi + 8], al
lea rcx, [rdi + 9]
mov r8, r13
mov rdx, rsi
call sub.VCRUNTIME140.dll_memcpy
mov byte [rdi + r15], 0
mov r8d, 0x29
lea rdx, str.AppDataRoamingMozillaFirefoxProfiles
lea rcx, [rsp + 0x30]
call fcn.140003ed0
xorps xmm0, xmm0
movups xmmword [rbp + 0x40], xmm0
xor esi, esi
mov qword [rbp + 0x50], rsi
mov qword [rbp + 0x58], rsi
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x40], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x50], xmm1
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], 0xf
mov byte [rax], sil
mov rdx, qword [rsp + 0x48]
cmp rdx, 0x10
jb 0x14000324e
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003249
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140003249
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140005de4
movdqa xmm0, xmmword [0x1400078d0]
movdqu xmmword [rsp + 0x40], xmm0
mov byte [rsp + 0x30], 0
mov rdi, qword [rbp + 0x50]
lea rbx, [rbp + 0x40]
cmp qword [rbp + 0x58], 0x10
cmovae rbx, qword [rbp + 0x40]
call fcn.1400056d0
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x68], rdi
lea r8, [rsp + 0x60]
mov edx, eax
lea rcx, [rbp - 0x60]
call fcn.140001850
nop
lea rcx, [rbp - 0x60]
call fcn.140002f80
movzx ebx, al
mov rdx, qword [rbp - 0x48]
cmp rdx, 8
jb 0x1400032e2
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400032dd
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400032dd
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140005de4
test bl, bl
jne 0x1400033b4
lea rdx, str.Directory_not_found:
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.1400040f0
lea rdx, [rbp + 0x40]
cmp qword [rbp + 0x58], 0x10
cmovae rdx, qword [rbp + 0x40]
mov r8, qword [rbp + 0x50]
mov rcx, rax
call fcn.140005270
lea rdx, [0x1400042c0]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
xorps xmm0, xmm0
movups xmmword [r12], xmm0
mov qword [r12 + 0x10], rsi
mov qword [r12 + 0x18], rsi
xor r8d, r8d
lea rdx, [0x1400075c7]
mov rcx, r12
call fcn.1400047e0
nop
mov rdx, qword [rbp + 0x58]
cmp rdx, 0x10
jb 0x140003387
inc rdx
mov rcx, qword [rbp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003382
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140003a28
call fcn.140005de4
mov rax, r12
mov rcx, qword [rbp + 0x310]
xor rcx, rsp
call fcn.140005d80
mov rbx, qword [rsp + 0x470]
add rsp, 0x420
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov rdi, qword [rbp + 0x50]
lea rbx, [rbp + 0x40]
cmp qword [rbp + 0x58], 0x10
cmovae rbx, qword [rbp + 0x40]
call fcn.1400056d0
mov qword [rsp + 0x70], rbx
mov qword [rsp + 0x78], rdi
lea r8, [rsp + 0x70]
mov edx, eax
lea rcx, [rbp - 0x40]
call fcn.140001850
nop
lea rdx, [rbp - 0x40]
lea rcx, [rbp + 0x80]
call fcn.140002dd0
nop
mov rdx, qword [rbp - 0x28]
cmp rdx, 8
jb 0x14000343a
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003435
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140003435
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140005de4
xorps xmm0, xmm0
movups xmmword [rbp + 0x30], xmm0
mov rbx, qword [rbp + 0x88]
test rbx, rbx
je 0x140003458
lock inc dword [rbx + 8]
mov rbx, qword [rbp + 0x88]
movaps xmm0, xmmword [rbp + 0x80]
movdqa xmmword [rbp + 0x30], xmm0
test rbx, rbx
je 0x140003474
lock inc dword [rbx + 8]
mov rbx, qword [rbp + 0x88]
xorps xmm1, xmm1
movdqu xmmword [rbp + 0xb0], xmm1
test rbx, rbx
je 0x1400034b0
mov eax, r14d
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x1400034b0
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, r14d
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x1400034b0
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 8]
nop
xor edi, edi
mov r15, qword [rbp + 0x38]
mov rsi, qword [rbp + 0x30]
nop word [rax + rax]
test rsi, rsi
je 0x140003930
lea rcx, [rsi + 0x20]
cmp qword [rsi + 0x38], 8
jb 0x1400034d8
mov rcx, qword [rsi + 0x20]
mov rax, qword [rsi + 0x30]
mov qword [rbp - 0x80], rcx
mov qword [rbp - 0x78], rax
call fcn.1400056d0
movaps xmm0, xmmword [rbp - 0x80]
movdqa xmmword [rbp], xmm0
lea r8, [rbp]
mov edx, eax
lea rcx, [rbp + 0x90]
call fcn.1400054f0
nop
mov r13, qword [rbp + 0xa0]
movabs rcx, 0x7fffffffffffffff
mov rax, rcx
sub rax, r13
cmp rax, 0xf
jb 0x140003a2f
lea rax, [rbp + 0x90]
cmp qword [rbp + 0xa8], 0x10
cmovae rax, qword [rbp + 0x90]
mov qword [rsp + 0x20], rax
xorps xmm0, xmm0
movups xmmword [rbp + 0x60], xmm0
mov qword [rbp + 0x70], rdi
mov qword [rbp + 0x78], rdi
lea r12, [r13 + 0xf]
mov ebx, 0xf
lea rdi, [rbp + 0x60]
cmp r12, rbx
jbe 0x1400035e0
mov rbx, r12
or rbx, 0xf
cmp rbx, rcx
jbe 0x140003574
mov rbx, rcx
jmp 0x140003581
cmp rbx, 0x16
mov ecx, 0x16
cmovb rbx, rcx
mov rcx, rbx
add rcx, 1
cmovb rcx, r14
cmp rcx, 0x1000
jb 0x1400035c6
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x140003a41
mov rcx, rax
call fcn.140005da0
test rax, rax
je 0x1400037f0
lea rdi, [rax + 0x27]
and rdi, 0xffffffffffffffe0
mov qword [rdi - 8], rax
mov rax, qword [rsp + 0x20]
jmp 0x1400035dc
test rcx, rcx
je 0x1400035da
call fcn.140005da0
mov rdi, rax
mov rax, qword [rsp + 0x20]
jmp 0x1400035dc
xor edi, edi
mov qword [rbp + 0x60], rdi
mov qword [rbp + 0x70], r12
mov qword [rbp + 0x78], rbx
mov r8, r13
mov rdx, rax
mov rcx, rdi
call sub.VCRUNTIME140.dll_memcpy
movsd xmm0, qword [str.cookies.sqlite]
movsd qword [rdi + r13], xmm0
mov eax, dword [0x1400076a0]
mov dword [rdi + r13 + 8], eax
movzx eax, word [0x1400076a4]
mov word [rdi + r13 + 0xc], ax
movzx eax, byte [0x1400076a6]
mov byte [rdi + r13 + 0xe], al
mov byte [rdi + r12], 0
mov rdi, qword [rbp + 0x70]
lea rbx, [rbp + 0x60]
cmp qword [rbp + 0x78], 0x10
cmovae rbx, qword [rbp + 0x60]
call fcn.1400056d0
mov qword [rbp - 0x70], rbx
mov qword [rbp - 0x68], rdi
lea r8, [rbp - 0x70]
mov edx, eax
lea rcx, [rbp - 0x20]
call fcn.140001850
nop
lea rcx, [rbp - 0x20]
call fcn.140002f80
movzx ebx, al
mov rdx, qword [rbp - 8]
cmp rdx, 8
jb 0x1400036a8
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400036a3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400037e9
call fcn.140005de4
test bl, bl
jne 0x1400037f7
mov rdx, qword [rbp + 0x78]
cmp rdx, 0x10
jb 0x1400036eb
inc rdx
mov rcx, qword [rbp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400036e6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400037f0
call fcn.140005de4
xor edi, edi
mov qword [rbp + 0x70], rdi
mov qword [rbp + 0x78], 0xf
mov byte [rbp + 0x60], dil
mov rdx, qword [rbp + 0xa8]
cmp rdx, 0x10
jb 0x140003740
inc rdx
mov rcx, qword [rbp + 0x90]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003739
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140003858
call fcn.140005de4
nop
lea rdx, [rbp + 0xc0]
mov rcx, qword [rsi + 0x40]
call fcn.140005930
cmp eax, 0x12
je 0x140003797
test eax, eax
jne 0x140003a47
cmp word [rbp + 0xec], 0x2e
jne 0x140003783
movzx eax, word [rbp + 0xee]
test ax, ax
je 0x140003740
cmp ax, 0x2e
jne 0x140003783
cmp word [rbp + 0xf0], 0
je 0x140003740
lea rdx, [rbp + 0xc0]
mov rcx, rsi
call fcn.140002b10
jmp 0x1400034c0
mov rsi, rdi
mov qword [rbp + 0x30], rdi
mov rbx, r15
mov r15, rdi
mov qword [rbp + 0x38], rdi
test rbx, rbx
je 0x1400034c0
mov eax, r14d
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x1400034b2
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, r14d
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x1400034b2
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 8]
jmp 0x1400034b2
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
mov r12, qword [rsp + 0x28]
xor ebx, ebx
movups xmm0, xmmword [rbp + 0x60]
movups xmmword [r12], xmm0
movups xmm1, xmmword [rbp + 0x70]
movups xmmword [r12 + 0x10], xmm1
mov qword [rbp + 0x70], rbx
mov qword [rbp + 0x78], 0xf
mov byte [rbp + 0x60], bl
mov rdx, qword [rbp + 0xa8]
cmp rdx, 0x10
jb 0x140003864
inc rdx
mov rcx, qword [rbp + 0x90]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000385f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000385f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140005de4
mov qword [rbp + 0xa0], rbx
mov qword [rbp + 0xa8], 0xf
mov byte [rbp + 0x90], 0
test r15, r15
je 0x1400038b4
mov eax, r14d
lock xadd dword [r15 + 8], eax
cmp eax, 1
jne 0x1400038b4
mov rbx, qword [rbp + 0x38]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, r14d
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x1400038b4
mov rcx, qword [rbp + 0x38]
mov rax, qword [rcx]
call qword [rax + 8]
nop
mov rbx, qword [rbp + 0x88]
test rbx, rbx
je 0x1400038eb
mov eax, r14d
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x1400038eb
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
lock xadd dword [rbx + 0xc], r14d
cmp r14d, 1
jne 0x1400038eb
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 8]
nop
mov rdx, qword [rbp + 0x58]
cmp rdx, 0x10
jb 0x140003387
inc rdx
mov rcx, qword [rbp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003382
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140003382
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
test r15, r15
je 0x140003967
mov eax, r14d
lock xadd dword [r15 + 8], eax
cmp eax, 1
jne 0x140003967
mov rbx, qword [rbp + 0x38]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, r14d
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x140003967
mov rcx, qword [rbp + 0x38]
mov rax, qword [rcx]
call qword [rax + 8]
nop
mov rbx, qword [rbp + 0x88]
test rbx, rbx
je 0x14000399d
mov eax, r14d
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x14000399d
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
lock xadd dword [rbx + 0xc], r14d
cmp r14d, 1
jne 0x14000399d
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 8]
lea rdx, str.File_cookies.sqlite_not_found_in_Firefox_profiles_directory.
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.1400040f0
lea rdx, [0x1400042c0]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
xorps xmm0, xmm0
mov r12, qword [rsp + 0x28]
movups xmmword [r12], xmm0
mov qword [r12 + 0x10], rdi
mov qword [r12 + 0x18], rdi
xor r8d, r8d
lea rdx, [0x1400075c7]
mov rcx, r12
call fcn.1400047e0
nop
mov rdx, qword [rbp + 0x58]
cmp rdx, 0x10
jb 0x140003387
inc rdx
mov rcx, qword [rbp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003382
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140003382
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call fcn.1400011a0
nop
call fcn.1400011a0
int3
call fcn.140001100
nop
call fcn.140001100
nop
mov edx, eax
call fcn.1400027c0
int3