Function at 0x140084530
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rdx
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1f]
sub rsp, 0xd8
mov r12, rdx
mov rbx, rcx
mov dword [rsp + 0x34], 1
xor r14d, r14d
mov qword [rdx], r14
mov qword [rdx + 8], r14
mov qword [rdx + 0x10], r14
mov dword [rsp + 0x34], 1
lea rdx, [rcx + 0x18]
test rdx, rdx
je 0x1400845ba
mov qword [rsp + 0x20], r14
lea r9d, [r14 + 8]
lea r8, [rsp + 0x38]
mov rcx, qword [0x1404dded0]
mov rcx, qword [rcx]
cmp byte [0x1404dcc79], r14b
jne 0x1400845ab
call fcn.1401f46d0
test eax, eax
js 0x1400845ba
mov rdi, qword [rsp + 0x38]
jmp 0x1400845bd
call 0x14092a884
int3
mov rdi, r14
lea rdx, [rbx + 0x20]
test rdx, rdx
je 0x140084605
mov qword [rsp + 0x20], r14
mov r9d, 8
lea r8, [rbp - 0x79]
mov rcx, qword [0x1404dded0]
mov rcx, qword [rcx]
cmp byte [0x1404dcc79], 0
jne 0x1400845f7
call fcn.1401f46d0
test eax, eax
js 0x140084605
mov rcx, qword [rbp - 0x79]
jmp 0x140084608
push rdi
call 0x14057c4f0
test eax, eax
mov rcx, qword [rbp - 0x79]
jne 0x140084608
mov rcx, r14
sub rcx, rdi
shr rcx, 4
lea eax, [rcx - 1]
cmp eax, 0xc7
ja 0x140084911
mov esi, ecx
mov qword [rbp - 0x69], rsi
movabs r15, 0xfffffe539f
nop dword [rax]
test rdi, rdi
je 0x1400848ff
mov qword [rsp + 0x20], r14
mov r9d, 8
lea r8, [rbp - 0x71]
mov rdx, rdi
mov rcx, qword [0x1404dded0]
mov rcx, qword [rcx]
cmp byte [0x1404dcc79], 0
jne 0x14008466d
call fcn.1401f46d0
test eax, eax
js 0x1400848ff
jmp 0x14008467b
push rdx
call 0x1407872be
test eax, eax
je 0x1400848ff
mov rbx, qword [rbp - 0x71]
test rbx, rbx
je 0x1400848ff
mov rcx, rbx
call fcn.1400838b0
mov r14d, eax
test eax, eax
je 0x1400848fc
mov rcx, rbx
call fcn.140083c30
test al, al
je 0x1400848fc
lea rdx, [rbp - 9]
mov rcx, rbx
call fcn.140083d70
nop
lea r9, [rbp - 9]
cmp qword [rbp + 0xf], 0xf
seta byte [rbp + 0x77]
mov r13, qword [rbp - 9]
cmova r9, r13
movabs rsi, 0xabc29ce444222325
nop word [rax + rax]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
lea edx, [r8 - 0x41]
lea eax, [r8 + 0x20]
movzx ecx, al
cmp dl, 0x19
cmova ecx, r8d
movsx rax, cl
xor rsi, rax
imul rsi, r15
test r8b, r8b
jne 0x1400846e0
mov r15, qword [rbp + 7]
test r15, r15
je 0x1400848e5
xorps xmm0, xmm0
movups xmmword [rbp - 0x29], xmm0
xor eax, eax
mov qword [rbp - 0x19], rax
mov qword [rbp - 0x11], 0xf
mov byte [rbp - 0x29], al
lea rdx, [rbx + 8]
test rdx, rdx
je 0x140084776
mov qword [rsp + 0x20], rax
lea r9d, [rax + 1]
lea r8, [rbp + 0x67]
mov rcx, qword [0x1404dded0]
mov rcx, qword [rcx]
cmp byte [0x1404dcc79], al
jne 0x140084766
call fcn.1401f46d0
test eax, eax
js 0x140084776
movzx eax, byte [rbp + 0x67]
jmp 0x140084778
push rax
call 0x140817e13
test eax, eax
je 0x140084776
movzx eax, byte [rbp + 0x67]
jmp 0x140084778
xor al, al
movzx eax, al
mov dword [rbp - 0x59], eax
mov dword [rbp - 0x55], eax
mov rcx, rbx
call fcn.140083990
mov word [rbp - 0x51], ax
mov rcx, rbx
call fcn.140083f00
mov dword [rbp - 0x4d], eax
mov dword [rbp - 0x49], r14d
mov rcx, rbx
call fcn.140083a90
movss dword [rbp - 0x41], xmm0
mov rcx, rbx
call fcn.140083b60
movss dword [rbp - 0x3d], xmm0
lea rdx, [rbx + 0x18]
xor r14d, r14d
test rdx, rdx
je 0x140084803
lea r9d, [r14 + 4]
lea r8, [rbp + 0x7f]
mov rcx, qword [0x1404dded0]
mov qword [rsp + 0x20], r14
mov rcx, qword [rcx]
cmp byte [0x1404dcc79], r14b
jne 0x1400847f2
call fcn.1401f46d0
test eax, eax
js 0x140084803
movss xmm0, dword [rbp + 0x7f]
jmp 0x140084806
push rax
call 0x140972b7f
test eax, eax
je 0x140084803
movss xmm0, dword [rbp + 0x7f]
jmp 0x140084806
xorps xmm0, xmm0
movss dword [rbp - 0x45], xmm0
lea rdx, [rbx + 0x1c]
test rdx, rdx
je 0x14008485a
mov qword [rsp + 0x20], r14
mov r9d, 4
lea r8, [rsp + 0x30]
mov rcx, qword [0x1404dded0]
mov rcx, qword [rcx]
cmp byte [0x1404dcc79], 0
jne 0x140084848
call fcn.1401f46d0
test eax, eax
js 0x14008485a
movss xmm0, dword [rsp + 0x30]
jmp 0x14008485d
call 0x1405472c7
int3
xorps xmm0, xmm0
movss dword [rbp - 0x39], xmm0
mov qword [rbp - 0x31], rsi
lea rdx, [rbp - 9]
cmp byte [rbp + 0x77], 0
cmovne rdx, r13
mov r8, r15
lea rcx, [rbp - 0x29]
call fcn.140054330
mov rdx, qword [r12 + 8]
cmp rdx, qword [r12 + 0x10]
je 0x1400848ce
mov eax, dword [rbp - 0x59]
mov dword [rdx], eax
mov eax, dword [rbp - 0x55]
mov dword [rdx + 4], eax
movzx eax, word [rbp - 0x51]
mov word [rdx + 8], ax
mov eax, dword [rbp - 0x4d]
mov dword [rdx + 0xc], eax
mov eax, dword [rbp - 0x49]
mov dword [rdx + 0x10], eax
movups xmm0, xmmword [rbp - 0x45]
movups xmmword [rdx + 0x14], xmm0
mov rax, qword [rbp - 0x31]
mov qword [rdx + 0x28], rax
lea rcx, [rdx + 0x30]
lea rdx, [rbp - 0x29]
call fcn.140016420
add qword [r12 + 8], 0x50
jmp 0x1400848db
lea r8, [rbp - 0x59]
mov rcx, r12
call fcn.1401bc0f0
nop
lea rcx, [rbp - 0x29]
call fcn.1400166a0
nop
lea rcx, [rbp - 9]
call fcn.1400166a0
mov rsi, qword [rbp - 0x69]
movabs r15, 0xfffffe539f
xor r14d, r14d
add rdi, 0x10
sub rsi, 1
mov qword [rbp - 0x69], rsi
jne 0x140084630
mov rax, r12
add rsp, 0xd8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret