Function at 0x140292420
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov eax, 0x58
call fcn.1403cb200
sub rsp, rax
mov rax, qword [rcx + 0x180]
mov rdi, rcx
mov r10, qword [rcx + 0x168]
mov rsi, r9
mov rcx, qword [rcx + 0x38]
mov r13, r8
mov qword [rsp + 0x40], rax
add rcx, r9
movabs rax, 0xfffffffe0
mov qword [rsp + 0x38], r10
mov rbx, rdx
cmp rcx, rax
ja 0x140292706
cmp rcx, r9
jb 0x140292706
cmp dword [rdi + 0x174], 0
lea r12, [rdi + 0x40]
mov ebp, dword [rdi + 0x170]
mov r14d, 0x10
mov dword [rsp + 0xa0], ebp
mov qword [rdi + 0x38], rcx
je 0x1402924fe
test r9, r9
jne 0x1402924cd
lea rdx, [rdi + 0x60]
mov rcx, r12
call qword [rdi + 0x160]
and dword [rdi + 0x174], esi
xor eax, eax
jmp 0x140292709
lea rcx, [rdi + 0x188]
mov r8, r14
mov rdx, r12
call fcn.1403cc5a0
mov r10, qword [rsp + 0x38]
xorps xmm0, xmm0
movups xmmword [r12], xmm0
and dword [rdi + 0x174], 0
mov ebp, r14d
mov dword [rsp + 0xa0], r14d
mov r14d, dword [rdi + 0xc]
mov r15d, ebp
and r15d, 0xf
mov dword [rsp + 0x30], r15d
bswap r14d
je 0x140292577
test rsi, rsi
je 0x1402926fb
mov cl, byte [rbx]
dec rsi
mov eax, ebp
inc rbx
inc ebp
mov byte [rax + rdi + 0x188], cl
xor cl, byte [r15 + rdi + 0x10]
mov byte [r13], cl
inc r13
inc r15d
and r15d, 0xf
jne 0x140292513
lea r8, [rdi + 0x188]
mov r9d, ebp
lea rdx, [rdi + 0x60]
lea rcx, [rdi + 0x40]
call r10
xor ebp, ebp
mov dword [rsp + 0x30], r15d
mov dword [rsp + 0xa0], ebp
mov qword [rsp + 0xb0], r13
mov qword [rsp + 0xa8], rbx
lea rax, [rdi + 0x60]
cmp rsi, 0x10
jb 0x1402925a2
test ebp, ebp
je 0x1402925a2
mov r9d, ebp
lea r8, [rdi + 0x188]
mov rdx, rax
mov rcx, r12
call qword [rsp + 0x38]
xor ebp, ebp
mov dword [rsp + 0xa0], ebp
mov ecx, 0xc00
cmp rsi, rcx
jb 0x140292645
mov rbp, qword [rsp + 0x38]
movabs rax, 0xaaaaaaaaaaaaaaab
mul rsi
mov rax, rdx
shr rax, 0xb
mov qword [rsp + 0x48], rax
mov r15, qword [rsp + 0x48]
imul rax, rax, 0xfffffffffffff400
add rsi, rax
mov r9, rcx
lea rdx, [rdi + 0x60]
mov rcx, r12
mov r8, rbx
call rbp
mov r9, qword [rsp + 0x40]
mov r8d, 0xc0
mov rdx, r13
mov qword [rsp + 0x20], rdi
mov rcx, rbx
call qword [rsp + 0xc0]
add r14d, 0xc0
mov ecx, 0xc00
mov eax, r14d
add r13, rcx
add rbx, rcx
bswap eax
mov dword [rdi + 0xc], eax
sub r15, 1
jne 0x1402925dd
mov ebp, dword [rsp + 0xa0]
mov r15d, dword [rsp + 0x30]
mov qword [rsp + 0xb0], r13
mov qword [rsp + 0xa8], rbx
mov r13, rsi
and r13, 0xfffffffffffffff0
je 0x1402926b0
mov r8, qword [rsp + 0xa8]
lea rdx, [rdi + 0x60]
mov rbx, r13
mov r9, r13
mov rcx, r12
shr rbx, 4
call qword [rsp + 0x38]
mov r12, qword [rsp + 0xb0]
mov r8, rbx
mov r9, qword [rsp + 0x40]
mov rdx, r12
mov rcx, qword [rsp + 0xa8]
mov qword [rsp + 0x20], rdi
call qword [rsp + 0xc0]
add r14d, ebx
add r12, r13
mov rbx, qword [rsp + 0xa8]
mov eax, r14d
bswap eax
add rbx, r13
mov dword [rdi + 0xc], eax
sub rsi, r13
jmp 0x1402926b8
mov r12, qword [rsp + 0xb0]
test rsi, rsi
je 0x1402926fb
mov r8, qword [rsp + 0x40]
lea rdx, [rdi + 0x10]
mov rcx, rdi
call qword [rdi + 0x178]
inc r14d
bswap r14d
mov dword [rdi + 0xc], r14d
mov edx, r15d
inc r15d
mov eax, ebp
inc ebp
mov cl, byte [rdx + rbx]
mov byte [rax + rdi + 0x188], cl
xor cl, byte [rdx + rdi + 0x10]
mov byte [rdx + r12], cl
sub rsi, 1
jne 0x1402926d9
mov dword [rdi + 0x170], ebp
jmp 0x1402924c6
or eax, 0xffffffff
add rsp, 0x58
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret