Function at 0x180077fd0
Capabilities:
Encode data using xor

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0xb8
mov rbx, r8
mov rsi, rdx
mov rdi, rcx
mov rax, qword [0x1800cb028]
xor rax, rsp
mov qword [rsp + 0xb0], rax
add rcx, 8
mov rax, qword [rdi + 8]
mov rax, qword [rax + 0x18]
call qword [0x1800d2010]
test al, al
je 0x180078020
mov qword [rsi], 0
jmp 0x180078211
mov eax, dword [rdi + 0x88]
mov dword [rsp + 0x2c], eax
mov rax, qword [rbx]
test rax, rax
je 0x180078058
mov rcx, qword [rbx + 8]
xor edx, edx
xor r8d, r8d
movzx r9d, byte [rcx + rdx]
rol r8d, 5
xor r8d, r9d
imul r8d, r8d, 0x9e3779b9
inc rdx
cmp rax, rdx
jne 0x18007803b
jmp 0x18007805b
xor r8d, r8d
lea r15, [rdi + 0x78]
imul eax, r8d, 0x9e3779b9
lea r9d, [rax - 2]
cmp eax, 2
cmovae r9d, eax
mov dword [rsp + 0x28], r8d
and r9d, 0xfffffffe
mov r10, qword [rdi + 0x80]
test r10, r10
je 0x180078238
mov r11, qword [r15]
mov rdx, r11
shr rdx, 0x38
mov r14d, r9d
mov ecx, edx
shr r14d, cl
mov ecx, edx
neg ecx
mov eax, 1
shl eax, cl
lea rax, [r10 + rax*4]
lea r12, [r10 + r14*4]
lea rax, [rax + r14*8]
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], r12
mov r13d, dword [r12]
test r13d, r13d
je 0x1800781a7
mov ecx, r13d
and ecx, 0xfffffffe
cmp ecx, r9d
jne 0x1800780e9
cmp dword [rax], r8d
jne 0x1800780e9
movups xmm0, xmmword [rsp + 0x60]
movaps xmmword [rsp + 0x30], xmm0
jmp 0x1800781db
mov qword [rsp + 0x20], r15
mov r8d, 0x20
sub r8d, edx
mov ebp, r9d
mov ecx, r8d
shl ebp, cl
mov ecx, edx
shr ebp, cl
or ebp, 1
mov edx, 0xffffffff
mov ecx, r8d
shl edx, cl
not edx
xor r15d, r15d
mov byte [rsp + 0x40], r15b
mov byte [rsp + 0x50], r15b
lea r8, [rsp + 0x60]
mov eax, r15d
mov r15b, 1
test al, al
je 0x180078183
xor eax, eax
sub r14d, ebp
mov rcx, r11
shr rcx, 0x38
neg cl
mov r12d, 1
shl r12d, cl
and r14d, edx
test r10, r10
cmove r12, r10
lea rcx, [r10 + r12*4]
lea r12, [r10 + r14*4]
lea rcx, [rcx + r14*8]
mov qword [rsp + 0x60], rcx
mov qword [rsp + 0x68], r12
mov r13d, dword [r12]
test r13d, r13d
je 0x1800781bd
mov eax, r13d
and eax, 0xfffffffe
cmp eax, r9d
jne 0x180078124
mov eax, dword [rcx]
cmp eax, dword [rsp + 0x28]
jne 0x180078124
jmp 0x1800781cd
cmp r13d, 1
je 0x18007831e
or r13d, 1
mov dword [r12], r13d
mov r11, qword [rdi + 0x78]
mov r10, qword [rdi + 0x80]
mov al, 1
xor r15d, r15d
jmp 0x180078130
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x38], rax
jmp 0x1800781db
test al, al
lea rax, [rsp + 0x60]
lea r8, [rsp + 0x40]
cmovne r8, rax
movups xmm0, xmmword [r8]
movaps xmmword [rsp + 0x30], xmm0
mov r15, qword [rsp + 0x20]
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x48], rax
mov dword [rsp + 0x50], r9d
mov rax, qword [rsp + 0x40]
test rax, rax
je 0x180078245
mov rcx, qword [rsp + 0x48]
cmp dword [rcx], 2
jb 0x180078245
mov eax, dword [rax + 4]
mov dword [rsi], eax
mov byte [rsi + 4], 1
mov rcx, qword [rsp + 0xb0]
xor rcx, rsp
call fcn.180062020
mov rax, rsi
add rsp, 0xb8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
xorps xmm0, xmm0
movaps xmmword [rsp + 0x40], xmm0
mov dword [rsp + 0x50], r9d
lea rdx, [rsp + 0x40]
lea r8, [rsp + 0x28]
lea r9, [rsp + 0x2c]
mov rcx, r15
call fcn.1800783d0
test al, al
je 0x180078292
lea rcx, [rdi + 0x10]
lea rdx, [0x1800b7af0]
mov r8, rbx
call fcn.18000b070
mov rcx, qword [rdi + 0x68]
mov rax, qword [rcx]
mov rax, qword [rax + 0x20]
call qword [0x1800d2010]
test rax, rax
jne 0x1800782d7
mov eax, dword [rsp + 0x2c]
jmp 0x18007820b
xor r14d, r14d
lea rbx, [rsp + 0x90]
mov qword [rbx], r14
mov qword [rbx + 0x10], r14
mov qword [rbx + 0x18], 0xf
mov byte [rbx], 0
lea rdx, str.OOM_in_UniqueJSONStrings::GetOrAddIndex_adding_a_map
mov r8d, 0x34
mov rcx, rbx
call fcn.180003fd0
mov rcx, rdi
mov rdx, rbx
call sym.mozglue.dll_private:_void___cdecl_mozilla::baseprofiler::UniqueJSONStrings::ClearAndSetFailure_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______ptr64
mov qword [rsi], r14
jmp 0x180078211
mov rbx, rax
xor r15d, r15d
lea r14, [rsp + 0x70]
mov qword [r14], r15
mov qword [r14 + 0x10], r15
mov qword [r14 + 0x18], 0xf
mov byte [r14], 0
mov rcx, rax
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
mov rcx, r14
mov rdx, rbx
mov r8, rax
call fcn.180003fd0
mov rcx, rdi
mov rdx, r14
call sym.mozglue.dll_private:_void___cdecl_mozilla::baseprofiler::UniqueJSONStrings::ClearAndSetFailure_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______ptr64
mov qword [rsi], r15
jmp 0x180078211
movups xmm0, xmmword [rsp + 0x60]
movaps xmmword [rsp + 0x40], xmm0
jmp 0x18007812e