Function at 0x201f9820
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, [0x20370288]
mov qword [rbp + 0xf8], rdx
mov qword [rdx], rax
mov eax, dword [0x204a2eb8]
add eax, dword [0x204a2f4c]
mov ecx, dword [0x204a57a8]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 0x26838]
jg 0x201f9e37
mov r10, qword [0x204a2ea8]
mov rsi, qword [rdi + 0x18]
cmp qword [rdi + 0x20], 0x10
jb 0x201f98b4
mov rax, qword [rdi + 8]
jmp 0x201f98b8
lea rax, [rdi + 8]
test r10, r10
setne cl
test rsi, rsi
sete dl
cmp cl, dl
je 0x201f9ae6
test r10, r10
je 0x201f9ae6
cmp qword [0x204a2eb0], 0x10
jb 0x201f98e8
mov r9, qword [0x204a2e98]
jmp 0x201f98ef
lea r9, [0x204a2e98]
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 [0x20468788]
movsxd rcx, dword [r8]
mov edx, dword [0x2037d8b8]
mov r14, r10
mov r11, r9
and r14, 7
je 0x201f99a4
mov r11, r9
nop word [rax + rax]
movzx r15d, byte [r11]
movzx r12d, byte [0x204a2f48]
mov r13d, r12d
xor r13b, r15b
and r12b, r15b
add r12b, r12b
add r12b, r13b
movzx r15d, byte [0x204a19f0]
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 0x201f9960
cmp r10, 8
jb 0x201f9a10
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 0x201f99b0
lea r9, [rax + rsi]
dec r9
movzx r10d, byte [rax + rsi - 1]
cmp byte [rbp + r10 - 0x50], 0
jne 0x201f9a57
lea r10, [rsi - 1]
nop dword [rax]
test r10, r10
je 0x201f9ae6
movzx r11d, byte [0x204a2f50]
add r11b, byte [r9 - 1]
dec r9
movzx r11d, r11b
dec r10
cmp byte [rbp + r11 - 0x50], 0
je 0x201f9a30
sub r9, rax
cmp r9, 0xffffffffffffffff
je 0x201f9ae6
mov qword [rbp + 0xe8], 0
mov qword [rbp + 0xf0], 0xf
mov byte [rbp + 0xd8], 0
cmp rsi, r9
jbe 0x201f9eca
mov r10d, dword [0x2046876c]
lea r15d, [r10 + 1]
mov dword [0x2046876c], r15d
mov r11d, r10d
not r11d
xor r10d, r15d
not r15d
and r15d, r11d
or r15d, r10d
xor r15d, 0xffffffff
jne 0x201f9abf
xor r10d, r10d
test edx, edx
jg 0x201f9dfb
xor r12d, r12d
lea rcx, [r9 + 1]
sub rsi, rcx
add r9, rax
inc r9
cmp rsi, 0xf
jbe 0x201f9b20
lea rcx, [rbp + 0xd8]
mov rdx, rsi
call fcn.200712e0
jmp 0x201f9b41
mov rcx, qword [rbp + 0xf8]
mov rdx, rdi
call fcn.201fed80
test bl, bl
jne 0x201f9b05
mov rcx, qword [rbp + 0xf8]
call fcn.201f8730
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.20353d70
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 0x201f9b65
mov rdi, qword [rbp + 0xd8]
jmp 0x201f9b6c
lea rdi, [rbp + 0xd8]
lea rsi, [rbp + 0xb8]
cmp r14, 0xf
ja 0x201f9bcf
movups xmm0, xmmword [rdi]
movups xmmword [rsi], xmm0
mov r13d, 0xf
cmp r13, 0x10
jb 0x201f9b92
mov rsi, qword [rbp + 0xb8]
mov qword [rbp + 0xc8], r14
mov qword [rbp + 0xd0], r13
lea rax, [0x2036e458]
mov qword [rbp + 0xb0], rax
xorps xmm0, xmm0
movups xmmword [rbp - 0x38], xmm0
cmp r14, 0xf
ja 0x201f9c0a
lea rax, [rbp - 0x48]
movups xmm0, xmmword [rsi]
movups xmmword [rax], xmm0
mov edi, 0xf
jmp 0x201f9c8f
mov r13, r14
or r13, 0xf
movabs rax, 0x7fffffffffffffff
cmp r13, rax
cmovae r13, rax
cmp r13, 0xfff
jb 0x201f9c45
lea rcx, [r13 + 0x28]
call fcn.2032be0c
mov rcx, rax
add rcx, 0x27
and rcx, 0xffffffffffffffe0
mov qword [rcx - 8], rax
jmp 0x201f9c51
mov rdi, r14
or rdi, 0xf
movabs rax, 0x7fffffffffffffff
cmp rdi, rax
cmovae rdi, rax
cmp rdi, 0xfff
jb 0x201f9c73
lea rcx, [rdi + 0x28]
call fcn.2032be0c
mov rcx, rax
add rcx, 0x27
and rcx, 0xffffffffffffffe0
mov qword [rcx - 8], rax
jmp 0x201f9c7f
lea rcx, [r13 + 1]
call fcn.2032be0c
mov rcx, rax
mov qword [rbp + 0xb8], rcx
lea r8, [r14 + 1]
mov rdx, rdi
call fcn.20353d70
cmp r13, 0x10
jae 0x201f9b8b
jmp 0x201f9b92
lea rcx, [rdi + 1]
call fcn.2032be0c
mov rcx, rax
mov qword [rbp - 0x48], rcx
lea r8, [r14 + 1]
mov rdx, rsi
call fcn.20353d70
xor eax, eax
cmp r15d, 1
sbb rax, rax
mov rcx, qword [0x2037d920]
sub rcx, r12
xor rax, rcx
not rax
and rax, rcx
add rax, qword [0x204a1cd0]
mov qword [0x204a1cd0], rax
mov qword [rbp - 0x38], r14
mov qword [rbp - 0x30], rdi
lea rax, [0x20370288]
mov qword [rbp - 0x50], rax
lea rdx, [rbp - 0x50]
mov rcx, qword [rbp + 0xf8]
call fcn.201fed80
mov rax, qword [rbp - 0x30]
cmp rax, 0x10
jb 0x201f9d2b
mov rdx, qword [rbp - 0x48]
lea r9, [rax + 1]
cmp r9, 0x1000
jb 0x201f9d16
mov rcx, qword [rdx - 8]
add rdx, 0xfffffffffffffff8
sub rdx, rcx
cmp rdx, 0x20
jae 0x201f9ed4
add rax, 0x28
mov r9, rax
mov rdx, rcx
mov dword [rsp + 0x20], 0xb0de58bf
mov ecx, 1
xor r8d, r8d
call fcn.2016a280
mov qword [rbp - 0x38], 0
mov qword [rbp - 0x30], 0xf
mov byte [rbp - 0x48], 0
mov rax, qword [rbp + 0xd0]
cmp rax, 0x10
jb 0x201f9d94
mov rdx, qword [rbp + 0xb8]
lea r9, [rax + 1]
cmp r9, 0x1000
jb 0x201f9d7f
mov rcx, qword [rdx - 8]
add rdx, 0xfffffffffffffff8
sub rdx, rcx
cmp rdx, 0x20
jae 0x201f9ed9
add rax, 0x28
mov r9, rax
mov rdx, rcx
mov dword [rsp + 0x20], 0xb0de58bf
mov ecx, 1
xor r8d, r8d
call fcn.2016a280
mov rax, qword [rbp + 0xf0]
cmp rax, 0x10
jb 0x201f9af5
mov rdx, qword [rbp + 0xd8]
lea r9, [rax + 1]
cmp r9, 0x1000
jb 0x201f9de1
mov rcx, qword [rdx - 8]
cmp byte [0x204a2250], 0
jne 0x201f9dd7
add rdx, 0xfffffffffffffff8
sub rdx, rcx
cmp rdx, 0x20
jae 0x201f9ecf
add rax, 0x28
mov r9, rax
mov rdx, rcx
mov dword [rsp + 0x20], 0xb0de58bf
mov ecx, 1
xor r8d, r8d
call fcn.2016a280
jmp 0x201f9af5
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 0x201f9e10
jmp 0x201f9ac2
mov dword [rsp + 0x20], 0xb0de58bf
lea rdx, [0x204a2eb8]
xor ecx, ecx
xor r8d, r8d
xor r9d, r9d
call fcn.2016a280
cmp dword [0x204a2eb8], 0xffffffff
jne 0x201f989c
mov dword [rsp + 0x20], 0xbeb982a3
mov ecx, 1
mov edx, 1
mov r8d, 1
mov r9d, 1
call fcn.201fd730
lea rcx, [0x204a2e90]
mov rdx, rax
call fcn.200843d0
lea rcx, [0x201f8060]
mov edx, 0x20541db4
call fcn.200ec9f0
mov dword [rsp + 0x20], 0xb0de58bf
lea rdx, [0x204a2eb8]
mov ecx, 1
mov r8d, 1
xor r9d, r9d
call fcn.2016a280
jmp 0x201f989c
call fcn.200e8b60
call fcn.2030c4cc
call fcn.2030c4cc
call fcn.2030c4cc
int3