Function at 0x1401d1f2c
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x27]
sub rsp, 0xe0
mov r13, rcx
and dword [rsp + 0x20], 0
mov dword [rsp + 0x24], 0x3b5dcc6c
mov dword [rsp + 0x28], 0x9520f465
mov dword [rsp + 0x2c], 0x6af0124d
mov dword [rsp + 0x30], 0x5ab2f1fe
mov dword [rsp + 0x34], 0x8e25230
mov dword [rsp + 0x38], 0x1e214f3b
mov dword [rbp - 0x7d], 0xbc01df87
mov dword [rbp - 0x79], 0xd59b9eaf
mov dword [rbp - 0x75], 0xcd6e2ea7
mov eax, 0x27d4
mov word [rbp - 0x71], ax
xor r12d, r12d
xor edx, edx
mov rax, r12
movabs rcx, 0x13cce94adbe8f3f8
div rcx
lea r14d, [rdx + 0x37]
movzx r15d, r14w
ror r15w, 8
movzx esi, r15w
shr si, 0xa
movzx eax, r15w
shl ax, 6
or si, ax
movzx edi, si
ror di, 8
movzx r9d, r15w
shr r9w, 0xd
movzx eax, r15w
shl ax, 3
or r9w, ax
movzx edx, r15w
shl dx, 0xd
movzx eax, r15w
shr ax, 3
or dx, ax
movzx r11d, dx
ror r11w, 8
movzx r8d, r15w
shr r8w, 0xc
movzx eax, r15w
shl ax, 4
or r8w, ax
movzx ebx, r15w
not bx
movzx ecx, r15w
ror cx, 1
movzx r10d, word [rsp + r12*2 + 0x24]
sub r10w, si
mov eax, 0x6afe
add r10w, ax
mov eax, 0x9204
sub ax, si
xor r10w, ax
sub r10w, word [0x1402b2058]
sub r10w, word [0x1402b2050]
add r10w, di
add r10w, r15w
sub r10w, cx
mov eax, 0x6fc1
add r10w, ax
lea eax, [r15 + rsi]
mov ecx, 0x2d07
add ax, cx
xor r10w, ax
sub r10w, dx
sub r10w, r9w
sub r10w, r15w
sub r10w, word [0x1402b2048]
sub r10w, 0x50
add r10w, r11w
mov rcx, qword [0x1402b2040]
add r10w, si
add r10w, cx
movzx eax, r8w
sub ax, r9w
add ax, si
add ax, r15w
xor r10w, ax
movzx eax, r15w
sub ax, r8w
xor ax, r15w
sub r10w, ax
sub r10w, r11w
add r10w, r15w
mov eax, 0x4230
add r10w, ax
movzx eax, r15w
ror ax, 7
mov edx, 0x4050
sub r11w, dx
add ax, r11w
xor r10w, ax
mov edx, 0x9d7
add edx, r15d
add dx, dx
sub dx, r10w
mov eax, 0x7100
add eax, r15d
mov r8d, 0x2440
xor ax, r8w
sub dx, ax
movzx eax, bx
xor ax, word [0x1402b2038]
sub dx, ax
movzx eax, r15w
xor ax, word [0x1402b2030]
add dx, ax
sub dx, di
sub dx, si
sub dx, r14w
sub dx, cx
movzx eax, r15w
movzx ecx, bx
imul ecx, eax
xor dx, cx
mov word [rsp + r12*2 + 0x24], dx
inc r12
cmp r12, 0x13
jb 0x1401d1fa6
lea rax, [rsp + 0x24]
mov qword [rbp - 0x69], rax
mov qword [rbp - 0x61], 0x26
lea rax, [rsp + 0x24]
mov qword [rbp + 0x6f], rax
xor r8d, r8d
lea rdx, [rbp + 0x6f]
lea rcx, [rbp - 0x59]
call fcn.14016d948
nop
lea rcx, [rbp + 7]
call fcn.14020b220
nop
lea rdx, [rbp - 0x19]
mov rcx, rax
call fcn.1401da054
nop
lea rdx, [rbp - 0x39]
mov rcx, rax
call fcn.1401da054
nop
xorps xmm0, xmm0
movups xmmword [r13], xmm0
and qword [r13 + 0x10], 0
and qword [r13 + 0x18], 0
mov r8, qword [rax + 0x10]
cmp qword [rax + 0x18], 7
jbe 0x1401d21db
mov rax, qword [rax]
mov rdx, rax
mov rcx, r13
call fcn.140045af8
nop
mov ebx, 0x10
mov dword [rsp + 0x20], ebx
lea rdx, [rbp - 0x59]
mov rcx, r13
call fcn.1401cfd7c
and ebx, 0xffffffef
mov dword [rsp + 0x20], ebx
or ebx, 1
mov dword [rsp + 0x20], ebx
lea rcx, [rbp - 0x39]
call fcn.140054dd8
nop
lea rcx, [rbp - 0x19]
call fcn.140054dd8
nop
lea rcx, [rbp + 7]
call fcn.140054dd8
nop
lea rcx, [rbp - 0x59]
call fcn.140054dd8
nop
mov rax, r13
mov rbx, qword [rsp + 0x130]
add rsp, 0xe0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret