Function at 0x50be20
Capabilities:
Gather firefox profile information
Reference sql statements

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x50c18c
sub rsp, 0x60
mov qword [rsp + 0x58], rbp
lea rbp, [rsp + 0x58]
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x70], rbx
lea rdx, [rdi - 0xc]
cmp rdx, 4
ja 0x50bff1
test rcx, rcx
jle 0x50bfbb
mov qword [rsp + 0x80], rdi
mov qword [rsp + 0x78], rcx
mov qword [rsp + 0x70], rbx
mov qword [rsp + 0x48], rax
mov rcx, rbx
mov rbx, rax
lea rax, [0x007260e0]
nop dword [rax]
call fcn.0040ade0
test rax, rax
jne 0x50bf9b
mov rcx, qword [rsp + 0x48]
mov rdx, qword [rcx + 0x18]
mov rax, qword [rsp + 0x70]
call rdx
nop
cmp rax, 0x10
jne 0x50bf65
lea rax, [0x0070ffa0]
call fcn.0040d400
mov qword [rsp + 0x50], rax
mov rcx, qword [rsp + 0x48]
mov rdx, qword [rcx + 0x28]
mov rbx, rax
mov edi, 0x10
mov rsi, rbx
mov r8, rdi
mov r9, rdi
mov rax, qword [rsp + 0x70]
mov rcx, rdi
call rdx
lea rax, [0x0074b280]
call fcn.0040d400
mov rcx, qword [rsp + 0x48]
mov qword [rax], rcx
cmp dword [0x00a5a130], 0
jne 0x50bf07
mov rdx, qword [rsp + 0x70]
mov qword [rax + 8], rdx
jmp 0x50bf15
lea rdi, [rax + 8]
mov rdx, qword [rsp + 0x70]
call fcn.00462dc0
mov rdx, qword [rsp + 0x78]
mov qword [rax + 0x10], rdx
mov rdx, qword [rsp + 0x80]
mov qword [rax + 0x18], rdx
nop
nop
mov rdx, qword [rsp + 0x50]
mov rsi, qword [rdx]
mov rdx, qword [rdx + 8]
bswap rsi
mov qword [rsp + 0x38], rsi
bswap rdx
mov qword [rsp + 0x40], rdx
mov qword [rax + 0xa0], rsi
mov qword [rax + 0xa8], rdx
mov ecx, 2
nop dword [rax + rax]
jmp 0x50c040
lea rax, [0x0072c820]
call fcn.0040d400
mov qword [rax + 8], 0x2c
lea rcx, [0x00785d2c]
mov qword [rax], rcx
xor ebx, ebx
lea rcx, [0x00815340]
mov rdi, rax
xor eax, eax
mov rbp, qword [rsp + 0x58]
add rsp, 0x60
ret
mov rdx, qword [rax + 0x18]
mov rax, rbx
mov rbx, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x80]
call rdx
mov rbp, qword [rsp + 0x58]
add rsp, 0x60
ret
lea rax, [0x0072c820]
call fcn.0040d400
mov qword [rax + 8], 0x64
lea rcx, [0x0078bef8]
mov qword [rax], rcx
xor ebx, ebx
lea rcx, [0x00815340]
mov rdi, rax
xor eax, eax
mov rbp, qword [rsp + 0x58]
add rsp, 0x60
ret
lea rax, [0x0072c820]
call fcn.0040d400
mov qword [rax + 8], 0x27
lea rcx, [0x00784263]
mov qword [rax], rcx
xor ebx, ebx
lea rcx, [0x00815340]
mov rdi, rax
xor eax, eax
mov rbp, qword [rsp + 0x58]
add rsp, 0x60
ret
shl rdx, 4
mov qword [rax + rdx + 0x20], rsi
mov qword [rax + rdx + 0x28], r8
lea rcx, [r10 + 2]
nop dword [rax]
cmp rcx, 0x10
jge 0x50c14c
mov rdx, rcx
shr rcx, 0x3f
lea rsi, [rdx + rcx]
mov r8, rsi
sar rsi, 1
mov r9, rdx
shl rdx, 2
and edx, 0xc
mov r10, r9
sar r9, 2
and r9d, 3
or r9, rdx
mov rdx, r9
shl r9, 1
and r9d, 0xa
sar rdx, 1
and edx, 5
or rdx, r9
shl rsi, 2
and esi, 0xc
sar r8, 3
and r8d, 3
or r8, rsi
mov rsi, r8
shl r8, 1
and r8d, 0xa
sar rsi, 1
and esi, 5
or rsi, r8
cmp rsi, 0x10
jae 0x50c17e
shl rsi, 4
mov r8, qword [rax + rsi + 0x28]
mov rsi, qword [rax + rsi + 0x20]
mov r9, rsi
shr rsi, 1
movabs r11, 0xe100000000000000
xor r11, rsi
test r8, 1
cmovne rsi, r11
shr r8, 1
shl r9, 0x3f
or r9, r8
cmp rdx, 0x10
jae 0x50c171
shl rdx, 4
mov qword [rax + rdx + 0x20], rsi
mov qword [rax + rdx + 0x28], r9
lea rdx, [r10 + 1]
mov r8, rdx
shl rdx, 2
and edx, 0xc
sar r8, 2
and r8d, 3
or r8, rdx
mov rdx, r8
shl r8, 1
and r8d, 0xa
sar rdx, 1
and edx, 5
or rdx, r8
mov r8, qword [rsp + 0x38]
xor rsi, r8
mov r8, qword [rsp + 0x40]
xor r8, r9
nop
cmp rdx, 0x10
jb 0x50c027
jmp 0x50c164
mov rbx, rax
xor ecx, ecx
xor edi, edi
lea rax, [0x00817a68]
mov rbp, qword [rsp + 0x58]
add rsp, 0x60
ret
mov rax, rdx
mov ecx, 0x10
call fcn.00463140
mov rax, rdx
mov ecx, 0x10
call fcn.00463140
mov rax, rsi
mov ecx, 0x10
call fcn.00463140
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rcx
mov qword [rsp + 0x20], rdi
call fcn.00460a60
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
mov rdi, qword [rsp + 0x20]
jmp fcn.0050be20