Function at 0x140214bb0
Capabilities:
Encode data using xor

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x188
lea rbp, [rsp + 0x80]
mov qword [rbp + 0x100], 0xfffffffffffffffe
mov ebx, r8d
mov rdi, rcx
mov qword [rdx + 0x18], 0
mov qword [rdx + 0x20], 0xf
mov byte [rdx + 8], 0
lea rax, [0x14038c278]
mov qword [rbp + 0xf8], rdx
mov qword [rdx], rax
mov eax, dword [0x1404bee88]
add eax, dword [0x1404bef1c]
mov ecx, dword [0x1404c1758]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 0x26838]
jg 0x1402151c7
mov r10, qword [0x1404bee78]
mov rsi, qword [rdi + 0x18]
cmp qword [rdi + 0x20], 0x10
jb 0x140214c44
mov rax, qword [rdi + 8]
jmp 0x140214c48
lea rax, [rdi + 8]
test r10, r10
setne cl
test rsi, rsi
sete dl
cmp cl, dl
je 0x140214e76
test r10, r10
je 0x140214e76
cmp qword [0x1404bee80], 0x10
jb 0x140214c78
mov r9, qword [0x1404bee68]
jmp 0x140214c7f
lea r9, [0x1404bee68]
xorps xmm0, xmm0
movaps xmmword [rbp + 0xa0], xmm0
movaps xmmword [rbp + 0x90], xmm0
movaps xmmword [rbp + 0x80], xmm0
movaps xmmword [rbp + 0x70], xmm0
movaps xmmword [rbp + 0x60], xmm0
movaps xmmword [rbp + 0x50], xmm0
movaps xmmword [rbp + 0x40], xmm0
movaps xmmword [rbp + 0x30], xmm0
movaps xmmword [rbp + 0x20], xmm0
movaps xmmword [rbp + 0x10], xmm0
movaps xmmword [rbp], xmm0
movaps xmmword [rbp - 0x10], xmm0
movaps xmmword [rbp - 0x20], xmm0
movaps xmmword [rbp - 0x30], xmm0
movaps xmmword [rbp - 0x40], xmm0
movaps xmmword [rbp - 0x50], xmm0
mov r8, qword [0x140484748]
movsxd rcx, dword [r8]
mov edx, dword [0x1403998a8]
mov r14, r10
mov r11, r9
and r14, 7
je 0x140214d34
mov r11, r9
nop word [rax + rax]
movzx r15d, byte [r11]
movzx r12d, byte [0x1404bef18]
mov r13d, r12d
xor r13b, r15b
and r12b, r15b
add r12b, r12b
add r12b, r13b
movzx r15d, byte [0x1404be458]
mov r13d, r15d
xor r13b, r12b
and r12b, r15b
add r12b, r12b
add r12b, r13b
movzx r15d, r12b
mov byte [rbp + r15 - 0x50], 1
inc r11
dec r14
jne 0x140214cf0
cmp r10, 8
jb 0x140214da0
add r9, r10
nop dword [rax]
movzx r10d, byte [r11]
mov byte [rbp + r10 - 0x50], 1
movzx r10d, byte [r11 + 1]
mov byte [rbp + r10 - 0x50], 1
movzx r10d, byte [r11 + 2]
mov byte [rbp + r10 - 0x50], 1
movzx r10d, byte [r11 + 3]
mov byte [rbp + r10 - 0x50], 1
movzx r10d, byte [r11 + 4]
mov byte [rbp + r10 - 0x50], 1
movzx r10d, byte [r11 + 5]
mov byte [rbp + r10 - 0x50], 1
movzx r10d, byte [r11 + 6]
mov byte [rbp + r10 - 0x50], 1
movzx r10d, byte [r11 + 7]
mov byte [rbp + r10 - 0x50], 1
add r11, 8
cmp r11, r9
jne 0x140214d40
lea r9, [rax + rsi]
dec r9
movzx r10d, byte [rax + rsi - 1]
cmp byte [rbp + r10 - 0x50], 0
jne 0x140214de7
lea r10, [rsi - 1]
nop dword [rax]
test r10, r10
je 0x140214e76
movzx r11d, byte [0x1404bef20]
add r11b, byte [r9 - 1]
dec r9
movzx r11d, r11b
dec r10
cmp byte [rbp + r11 - 0x50], 0
je 0x140214dc0
sub r9, rax
cmp r9, 0xffffffffffffffff
je 0x140214e76
mov qword [rbp + 0xe8], 0
mov qword [rbp + 0xf0], 0xf
mov byte [rbp + 0xd8], 0
cmp rsi, r9
jbe 0x14021525a
mov r10d, dword [0x14048472c]
lea r15d, [r10 + 1]
mov dword [0x14048472c], r15d
mov r11d, r10d
not r11d
xor r10d, r15d
not r15d
and r15d, r11d
or r15d, r10d
xor r15d, 0xffffffff
jne 0x140214e4f
xor r10d, r10d
test edx, edx
jg 0x14021518b
xor r12d, r12d
lea rcx, [r9 + 1]
sub rsi, rcx
add r9, rax
inc r9
cmp rsi, 0xf
jbe 0x140214eb0
lea rcx, [rbp + 0xd8]
mov rdx, rsi
call fcn.14008d0f0
jmp 0x140214ed1
mov rcx, qword [rbp + 0xf8]
mov rdx, rdi
call fcn.14021a110
test bl, bl
jne 0x140214e95
mov rcx, qword [rbp + 0xf8]
call fcn.140213ac0
mov rax, qword [rbp + 0xf8]
add rsp, 0x188
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
mov qword [rbp + 0xe8], rsi
lea rcx, [rbp + 0xd8]
mov rdx, r9
mov r8, rsi
call fcn.14036f110
mov byte [rbp + rsi + 0xd8], 0
xorps xmm0, xmm0
movups xmmword [rbp + 0xc8], xmm0
mov r14, qword [rbp + 0xe8]
cmp qword [rbp + 0xf0], 0x10
jb 0x140214ef5
mov rdi, qword [rbp + 0xd8]
jmp 0x140214efc
lea rdi, [rbp + 0xd8]
lea rsi, [rbp + 0xb8]
cmp r14, 0xf
ja 0x140214f5f
movups xmm0, xmmword [rdi]
movups xmmword [rsi], xmm0
mov r13d, 0xf
cmp r13, 0x10
jb 0x140214f22
mov rsi, qword [rbp + 0xb8]
mov qword [rbp + 0xc8], r14
mov qword [rbp + 0xd0], r13
lea rax, [0x14038a448]
mov qword [rbp + 0xb0], rax
xorps xmm0, xmm0
movups xmmword [rbp - 0x38], xmm0
cmp r14, 0xf
ja 0x140214f9a
lea rax, [rbp - 0x48]
movups xmm0, xmmword [rsi]
movups xmmword [rax], xmm0
mov edi, 0xf
jmp 0x14021501f
mov r13, r14
or r13, 0xf
movabs rax, 0x7fffffffffffffff
cmp r13, rax
cmovae r13, rax
cmp r13, 0xfff
jb 0x140214fd5
lea rcx, [r13 + 0x28]
call fcn.1403471ac
mov rcx, rax
add rcx, 0x27
and rcx, 0xffffffffffffffe0
mov qword [rcx - 8], rax
jmp 0x140214fe1
mov rdi, r14
or rdi, 0xf
movabs rax, 0x7fffffffffffffff
cmp rdi, rax
cmovae rdi, rax
cmp rdi, 0xfff
jb 0x140215003
lea rcx, [rdi + 0x28]
call fcn.1403471ac
mov rcx, rax
add rcx, 0x27
and rcx, 0xffffffffffffffe0
mov qword [rcx - 8], rax
jmp 0x14021500f
lea rcx, [r13 + 1]
call fcn.1403471ac
mov rcx, rax
mov qword [rbp + 0xb8], rcx
lea r8, [r14 + 1]
mov rdx, rdi
call fcn.14036f110
cmp r13, 0x10
jae 0x140214f1b
jmp 0x140214f22
lea rcx, [rdi + 1]
call fcn.1403471ac
mov rcx, rax
mov qword [rbp - 0x48], rcx
lea r8, [r14 + 1]
mov rdx, rsi
call fcn.14036f110
xor eax, eax
cmp r15d, 1
sbb rax, rax
mov rcx, qword [0x140399910]
sub rcx, r12
xor rax, rcx
not rax
and rax, rcx
add rax, qword [0x1404bdc80]
mov qword [0x1404bdc80], rax
mov qword [rbp - 0x38], r14
mov qword [rbp - 0x30], rdi
lea rax, [0x14038c278]
mov qword [rbp - 0x50], rax
lea rdx, [rbp - 0x50]
mov rcx, qword [rbp + 0xf8]
call fcn.14021a110
mov rax, qword [rbp - 0x30]
cmp rax, 0x10
jb 0x1402150bb
mov rdx, qword [rbp - 0x48]
lea r9, [rax + 1]
cmp r9, 0x1000
jb 0x1402150a6
mov rcx, qword [rdx - 8]
add rdx, 0xfffffffffffffff8
sub rdx, rcx
cmp rdx, 0x20
jae 0x140215264
add rax, 0x28
mov r9, rax
mov rdx, rcx
mov dword [rsp + 0x20], 0xb0de58bf
mov ecx, 1
xor r8d, r8d
call fcn.140185b30
mov qword [rbp - 0x38], 0
mov qword [rbp - 0x30], 0xf
mov byte [rbp - 0x48], 0
mov rax, qword [rbp + 0xd0]
cmp rax, 0x10
jb 0x140215124
mov rdx, qword [rbp + 0xb8]
lea r9, [rax + 1]
cmp r9, 0x1000
jb 0x14021510f
mov rcx, qword [rdx - 8]
add rdx, 0xfffffffffffffff8
sub rdx, rcx
cmp rdx, 0x20
jae 0x140215269
add rax, 0x28
mov r9, rax
mov rdx, rcx
mov dword [rsp + 0x20], 0xb0de58bf
mov ecx, 1
xor r8d, r8d
call fcn.140185b30
mov rax, qword [rbp + 0xf0]
cmp rax, 0x10
jb 0x140214e85
mov rdx, qword [rbp + 0xd8]
lea r9, [rax + 1]
cmp r9, 0x1000
jb 0x140215171
mov rcx, qword [rdx - 8]
cmp byte [0x1404be210], 0
jne 0x140215167
add rdx, 0xfffffffffffffff8
sub rdx, rcx
cmp rdx, 0x20
jae 0x14021525f
add rax, 0x28
mov r9, rax
mov rdx, rcx
mov dword [rsp + 0x20], 0xb0de58bf
mov ecx, 1
xor r8d, r8d
call fcn.140185b30
jmp 0x140214e85
add rcx, r8
xor r8d, r8d
nop word cs:[rax + rax]
movsxd r10, r10d
mov r11, qword [rcx + r10]
mov r12, r11
xor r12, r11
not r12
and r12, r8
xor r12, r11
add r10d, 8
mov r8, r12
cmp r10d, edx
jl 0x1402151a0
jmp 0x140214e52
mov dword [rsp + 0x20], 0xb0de58bf
lea rdx, [0x1404bee88]
xor ecx, ecx
xor r8d, r8d
xor r9d, r9d
call fcn.140185b30
cmp dword [0x1404bee88], 0xffffffff
jne 0x140214c2c
mov dword [rsp + 0x20], 0xbeb982a3
mov ecx, 1
mov edx, 1
mov r8d, 1
mov r9d, 1
call fcn.140218ac0
lea rcx, [0x1404bee60]
mov rdx, rax
call fcn.1400a2850
lea rcx, [0x1402133f0]
mov edx, 0x20541db4
call fcn.140107920
mov dword [rsp + 0x20], 0xb0de58bf
lea rdx, [0x1404bee88]
mov ecx, 1
mov r8d, 1
xor r9d, r9d
call fcn.140185b30
jmp 0x140214c2c
call fcn.1401038e0
call fcn.14032786c
call fcn.14032786c
call fcn.14032786c
int3