Function at 0x140020880
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 8], rcx
push rbp
push rbx
push rsi
push rdi
lea rbp, [rsp - 0x3f]
sub rsp, 0xc8
mov r9d, dword [0x1402e0790]
mov rdi, rcx
mov rax, qword gs:[0x58]
mov rsi, r8
mov ecx, 4
mov rbx, rdx
mov rax, qword [rax + r9*8]
mov eax, dword [rcx + rax]
cmp dword [0x1402df450], eax
jg 0x140020c28
mov r8, qword [0x1402df448]
sub rsi, rbx
mov qword [rbp - 0x31], rsi
cmp rsi, 0x40
ja 0x1400208ef
mov rdx, rsi
mov rcx, rbx
call fcn.140021840
jmp 0x140020c16
movabs r9, 0x9ddfea08eb382d69
mov qword [rsp + 0xc0], r12
movabs r10, 0xb492b66fbe98f273
mov qword [rsp + 0xb8], r13
mov rdx, r8
mov qword [rsp + 0xb0], r14
xor rdx, r10
mov qword [rsp + 0xa8], r15
mov rax, rdx
mov qword [rbp - 0x29], 0
imul rax, r9
ror rdx, 0x31
mov r14, rsi
mov rcx, rax
mov qword [rbp - 0x11], rdx
shr rcx, 0x2f
mov rdx, r8
xor rcx, rax
shr rdx, 0x2f
xor rcx, r10
mov qword [rbp - 0x21], r8
imul rcx, r9
xor rdx, r8
and r14, 0xffffffffffffffc0
mov rax, rcx
mov qword [rbp - 1], rdx
shr rax, 0x2f
add r14, rbx
xor rax, rcx
mov qword [rbp + 0x7f], r14
imul rax, r9
mov rcx, r8
imul rcx, r10
mov qword [rbp - 0x19], rax
mov rax, rdx
xor rax, rcx
mov qword [rbp - 9], rcx
imul rax, r9
mov rcx, rax
shr rcx, 0x2f
xor rcx, rax
xor rcx, rdx
mov rdx, rbx
imul rcx, r9
mov rax, rcx
shr rax, 0x2f
xor rax, rcx
lea rcx, [rbp - 0x29]
imul rax, r9
mov qword [rbp + 7], rax
call fcn.140021ba0
movups xmm0, xmmword [rbp - 0x29]
lea rdx, [rbx + 0x40]
movups xmm1, xmmword [rbp - 0x19]
cmp rdx, r14
mov qword [rbp + 0x6f], rdx
movups xmmword [rbp - 0x69], xmm0
mov r13, qword [rbp - 0x61]
movups xmm0, xmmword [rbp - 9]
mov r14, qword [rbp - 0x69]
movups xmmword [rbp - 0x59], xmm1
mov r10, qword [rbp - 0x59]
movsd xmm1, qword [rbp + 7]
movups xmmword [rbp - 0x49], xmm0
mov r9, qword [rbp - 0x41]
mov r15, qword [rbp - 0x49]
movsd qword [rbp - 0x39], xmm1
mov r12, qword [rbp - 0x39]
je 0x140020b12
mov rsi, qword [rbp - 0x51]
nop word [rax + rax]
mov rcx, qword [rdx + 8]
movabs r8, 0xb492b66fbe98f273
mov rbx, qword [rdx + 0x30]
mov r11, qword [rdx + 0x28]
lea rdi, [rcx + rsi]
add rdi, r14
lea rax, [rbx + r15]
add rdi, r13
lea r14, [r10 + r9]
mov r10, qword [rdx + 0x18]
add r13, rax
ror r13, 0x2a
imul r13, r8
ror rdi, 0x25
imul rdi, r8
ror r14, 0x21
add r13, r11
xor rdi, r12
add r13, rsi
imul r14, r8
imul r8, r15
mov qword [rbp - 0x59], rdi
mov qword [rbp - 0x69], r14
add r8, qword [rdx]
lea rdx, [rdi + r8]
add rdx, r9
mov r9, qword [rbp + 0x6f]
add rdx, r10
mov rax, r9
ror rdx, 0x15
add rcx, qword [r9 + 0x10]
add rcx, r8
mov r15, rcx
ror r15, 0x2c
add r15, rdx
lea rsi, [rcx + r10]
add r15, r8
mov r10, qword [r9 + 0x20]
mov r8, qword [r9 + 0x38]
add r10, r12
add r10, r14
lea rdx, [r10 + r13]
add rdx, qword [r9 + 0x10]
lea rcx, [r10 + r11]
add rcx, rbx
add rdx, r8
ror rdx, 0x15
mov r12, rcx
ror r12, 0x2c
add r12, rdx
lea rdx, [rax + 0x40]
add r12, r10
mov qword [rbp + 0x6f], rdx
lea r9, [rcx + r8]
mov r10, rdi
cmp rdx, qword [rbp + 0x7f]
jne 0x140020a20
mov rdi, qword [rbp + 0x67]
mov qword [rbp - 0x51], rsi
mov rsi, qword [rbp - 0x31]
mov qword [rbp - 0x49], r15
mov qword [rbp - 0x39], r12
mov qword [rbp - 0x61], r13
mov qword [rbp - 0x41], r9
test sil, 0x3f
je 0x140020b41
mov rdx, qword [rbp + 0x77]
lea rcx, [rbp - 0x69]
add rdx, 0xffffffffffffffc0
call fcn.140021ba0
mov r9, qword [rbp - 0x41]
mov r10, qword [rbp - 0x59]
mov r12, qword [rbp - 0x39]
mov r15, qword [rbp - 0x49]
mov r13, qword [rbp - 0x61]
mov r14, qword [rbp - 0x69]
movabs r11, 0x9ddfea08eb382d69
mov rax, r12
xor rax, r15
movabs rdx, 0xb492b66fbe98f273
mov r15, qword [rsp + 0xa8]
imul rax, r11
mov rcx, rax
shr rcx, 0x2f
xor rcx, r12
mov r12, qword [rsp + 0xc0]
xor rcx, rax
mov rax, rsi
shr rax, 0x2f
xor rax, rsi
imul rax, rdx
imul rcx, r11
add rax, r14
mov r14, qword [rsp + 0xb0]
mov r8, rcx
shr r8, 0x2f
xor r8, rcx
imul r8, r11
add r8, rax
mov rax, r9
xor rax, qword [rbp - 0x51]
imul rax, r11
mov rcx, rax
shr rcx, 0x2f
xor rcx, r9
xor rcx, rax
mov rax, r13
imul rcx, r11
shr rax, 0x2f
xor rax, r13
mov r13, qword [rsp + 0xb8]
imul rax, rdx
mov rdx, rcx
shr rdx, 0x2f
add rax, r10
xor rdx, rcx
imul rdx, r11
add rdx, rax
xor rdx, r8
imul rdx, r11
mov rcx, rdx
shr rcx, 0x2f
xor rcx, r8
xor rcx, rdx
imul rcx, r11
mov rax, rcx
shr rax, 0x2f
xor rax, rcx
imul rax, r11
mov qword [rdi], rax
mov rax, rdi
add rsp, 0xc8
pop rdi
pop rsi
pop rbx
pop rbp
ret
lea rcx, [0x1402df450]
call fcn.1401845c0
cmp dword [0x1402df450], 0xffffffff
jne 0x1400208cb
mov rax, qword [0x1402e05f0]
lea rcx, [0x1402df450]
test rax, rax
movabs rdx, 0xff51afd7ed558ccd
cmovne rdx, rax
mov qword [0x1402df448], rdx
call fcn.140184554
jmp 0x1400208cb