Function at 0x200f4fb0
Capabilities:
Encode data using xor

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x1c8
lea rbp, [rsp + 0x80]
mov qword [rbp + 0x140], 0xfffffffffffffffe
mov rsi, rcx
mov rcx, qword [rbp + 0x1b0]
mov dword [rsi + 0xc], r9d
mov r14d, r9d
mov rbx, r8
lea rax, [0x203710fc]
movsxd r9, dword [0x203710fc]
mov r8, r9
xor r8, rax
and r9, rax
lea rax, [r8 + r9*2]
mov r9d, dword [0x203710f4]
test r14d, r14d
jns case.0x200f5081.4
cmp byte [rsi + 0x10], 0
je case.0x200f5081.4
mov r13d, dword [0x2044b240]
lea r8d, [r13 + 1]
mov dword [0x2044b240], r8d
xor edi, edi
mov dword [rbp + 0xbc], r8d
test r13d, r8d
jne 0x200f5060
test r9d, r9d
jle 0x200f5060
xor r8d, r8d
xor edi, edi
nop dword [rax]
movsxd r8, r8d
xor edi, dword [rax + r8]
add r8d, 4
cmp r8d, r9d
jl 0x200f5050
lea eax, [r14 + 0x14]
cmp eax, 0x13
mov dword [rbp + 0x13c], edx
ja case.0x200f5081.18
lea r8, [0x200f625c]
movsxd rax, dword [r8 + rax*4]
add rax, r8
jmp rax
movzx edx, word [0x204a18b4]
mov r8d, 0x90520cf7
call fcn.20080fc0
test rax, rax
lea r15, [0x2036ed38]
cmovne r15, rax
lea r14, [rbp + 0xc8]
mov qword [rbp + 0xd8], 0
mov qword [rbp + 0xe0], 0xf
mov byte [rbp + 0xc8], 0
mov rcx, r15
mov edx, 0x522f1e4b
call fcn.20080a60
mov r12, rax
cmp rax, 0xf
jbe 0x200f5679
mov rcx, r14
mov rdx, r12
mov r9, r15
call fcn.200712e0
jmp 0x200f5697
mov qword [rbp + 0x130], r13
movzx edx, word [0x204a18b2]
mov r8d, 0x90520cf7
call fcn.20080fc0
test rax, rax
lea r12, [0x2036ed38]
cmovne r12, rax
lea r15, [rbp + 0xc8]
mov qword [rbp + 0xd8], 0
mov qword [rbp + 0xe0], 0xf
mov byte [rbp + 0xc8], 0
mov rcx, r12
mov edx, 0x522f1e4b
call fcn.20080a60
mov r13, rax
cmp rax, 0xf
jbe 0x200f5517
mov rcx, r15
mov rdx, r13
mov r9, r12
call fcn.200712e0
jmp 0x200f5535
mov qword [rbp + 0x130], r13
movzx edx, word [0x204a18aa]
mov r8d, 0x90520cf7
call fcn.20080fc0
test rax, rax
lea r12, [0x2036ed38]
cmovne r12, rax
lea r15, [rbp + 0xc8]
mov qword [rbp + 0xd8], 0
mov qword [rbp + 0xe0], 0xf
mov byte [rbp + 0xc8], 0
mov rcx, r12
mov edx, 0x522f1e4b
call fcn.20080a60
mov r13, rax
cmp rax, 0xf
jbe 0x200f55d2
mov rcx, r15
mov rdx, r13
mov r9, r12
call fcn.200712e0
jmp 0x200f55f0
mov qword [rbp + 0x130], r13
movzx edx, word [0x204a18a8]
mov r8d, 0x90520cf7
call fcn.20080fc0
test rax, rax
lea r12, [0x2036ed38]
cmovne r12, rax
lea r15, [rbp + 0xc8]
mov qword [rbp + 0xd8], 0
mov qword [rbp + 0xe0], 0xf
mov byte [rbp + 0xc8], 0
mov rcx, r12
mov edx, 0x522f1e4b
call fcn.20080a60
mov r13, rax
cmp rax, 0xf
jbe 0x200f5722
mov rcx, r15
mov rdx, r13
mov r9, r12
call fcn.200712e0
jmp 0x200f5740
movzx edx, word [0x204a18a6]
mov r8d, 0x90520cf7
call fcn.20080fc0
test rax, rax
lea r15, [0x2036ed38]
cmovne r15, rax
lea r14, [rbp + 0xc8]
mov qword [rbp + 0xd8], 0
mov qword [rbp + 0xe0], 0xf
mov byte [rbp + 0xc8], 0
mov rcx, r15
mov edx, 0x522f1e4b
call fcn.20080a60
mov r12, rax
cmp rax, 0xf
jbe 0x200f57c9
mov rcx, r14
mov rdx, r12
mov r9, r15
call fcn.200712e0
jmp 0x200f57e7
mov qword [rbp + 0x130], r13
movzx edx, word [0x204a18a0]
mov r8d, 0x90520cf7
call fcn.20080fc0
test rax, rax
lea r12, [0x2036ed38]
cmovne r12, rax
lea r15, [rbp + 0xc8]
mov qword [rbp + 0xd8], 0
mov qword [rbp + 0xe0], 0xf
mov byte [rbp + 0xc8], 0
mov rcx, r12
mov edx, 0x522f1e4b
call fcn.20080a60
mov r13, rax
cmp rax, 0xf
jbe 0x200f5864
mov rcx, r15
mov rdx, r13
mov r9, r12
call fcn.200712e0
jmp 0x200f5882
mov qword [rbp + 0x130], r13
movzx edx, word [0x204a18ae]
mov r8d, 0x90520cf7
call fcn.20080fc0
test rax, rax
lea r12, [0x2036ed38]
cmovne r12, rax
lea r15, [rbp + 0xc8]
mov qword [rbp + 0xd8], 0
mov qword [rbp + 0xe0], 0xf
mov byte [rbp + 0xc8], 0
mov rcx, r12
mov edx, 0x522f1e4b
call fcn.20080a60
mov r13, rax
cmp rax, 0xf
jbe 0x200f590b
mov rcx, r15
mov rdx, r13
mov r9, r12
call fcn.200712e0
jmp 0x200f5929
mov qword [rbp + 0x130], r13
movzx edx, word [0x204a18ac]
mov r8d, 0x90520cf7
call fcn.20080fc0
test rax, rax
lea r12, [0x2036ed38]
cmovne r12, rax
lea r15, [rbp + 0xc8]
mov qword [rbp + 0xd8], 0
mov qword [rbp + 0xe0], 0xf
mov byte [rbp + 0xc8], 0
mov rcx, r12
mov edx, 0x522f1e4b
call fcn.20080a60
mov r13, rax
cmp rax, 0xf
jbe 0x200f59b2
mov rcx, r15
mov rdx, r13
mov r9, r12
call fcn.200712e0
jmp 0x200f59d0
movzx edx, word [0x204a18a2]
mov r8d, 0x90520cf7
call fcn.20080fc0
test rax, rax
lea r15, [0x2036ed38]
cmovne r15, rax
lea r14, [rbp + 0xc8]
mov qword [rbp + 0xd8], 0
mov qword [rbp + 0xe0], 0xf
mov byte [rbp + 0xc8], 0
mov rcx, r15
mov edx, 0x522f1e4b
call fcn.20080a60
mov r12, rax
cmp rax, 0xf
jbe 0x200f5a59
mov rcx, r14
mov rdx, r12
mov r9, r15
call fcn.200712e0
jmp 0x200f5a77
movzx edx, word [0x204a18a4]
mov r8d, 0x90520cf7
call fcn.20080fc0
test rax, rax
lea r15, [0x2036ed38]
cmovne r15, rax
lea r14, [rbp + 0xc8]
mov qword [rbp + 0xd8], 0
mov qword [rbp + 0xe0], 0xf
mov byte [rbp + 0xc8], 0
mov rcx, r15
mov edx, 0x522f1e4b
call fcn.20080a60
mov r12, rax
cmp rax, 0xf
jbe 0x200f5afd
mov rcx, r14
mov rdx, r12
mov r9, r15
call fcn.200712e0
jmp 0x200f5b1b
mov qword [rbp + 0xd8], r13
mov rcx, r15
mov rdx, r12
mov r8, r13
call fcn.20353d70
mov byte [rbp + r13 + 0xc8], 0
lea rax, [0x2036e458]
mov qword [rbp + 0xc0], rax
cmp qword [rbp + 0xe0], 0x10
mov r13, qword [rbp + 0x130]
mov r12d, dword [rbp + 0x13c]
jb 0x200f5562
mov r15, qword [rbp + 0xc8]
mov dword [rsp + 0x20], r14d
lea rcx, [rbp - 0x50]
mov edx, 0x100
mov r8, r15
mov r9, rbx
call fcn.20061cd0
mov rax, qword [rbp + 0xe0]
cmp rax, 0x10
jb 0x200f5b9a
mov rcx, qword [rbp + 0xc8]
lea rdx, [rax + 1]
cmp rdx, 0x1000
jb 0x200f5b95
mov r8, qword [rcx - 8]
mov rdx, rcx
xor rdx, 0xfffffffffffffff8
movabs r9, 0x7ffffffffffffff8
and r9, rcx
lea rcx, [rdx + r9*2]
sub rcx, r8
cmp rcx, 0x20
jb 0x200f5b8b
call fcn.2030c4cc
mov qword [rbp + 0xd8], r13
mov rcx, r15
mov rdx, r12
mov r8, r13
call fcn.20353d70
mov byte [rbp + r13 + 0xc8], 0
lea rax, [0x2036e458]
mov qword [rbp + 0xc0], rax
cmp qword [rbp + 0xe0], 0x10
mov r13, qword [rbp + 0x130]
mov r12d, dword [rbp + 0x13c]
jb 0x200f561d
mov r15, qword [rbp + 0xc8]
mov dword [rsp + 0x20], r14d
lea rcx, [rbp - 0x50]
mov edx, 0x100
mov r8, r15
mov r9, rbx
call fcn.20061cd0
mov rax, qword [rbp + 0xe0]
cmp rax, 0x10
jb 0x200f5b9a
mov rcx, qword [rbp + 0xc8]
lea rdx, [rax + 1]
cmp rdx, 0x1000
jb 0x200f5b95
mov r8, qword [rcx - 8]
add rcx, 0xfffffffffffffff8
sub rcx, r8
cmp rcx, 0x20
jb 0x200f5b8b
call fcn.2030c4cc
mov qword [rbp + 0xd8], r12
mov rcx, r14
mov rdx, r15
mov r8, r12
call fcn.20353d70
mov byte [rbp + r12 + 0xc8], 0
lea rax, [0x2036e458]
mov qword [rbp + 0xc0], rax
cmp qword [rbp + 0xe0], 0x10
mov r12d, dword [rbp + 0x13c]
jb 0x200f56bd
mov r14, qword [rbp + 0xc8]
lea rcx, [rbp - 0x50]
mov edx, 0x100
mov r8, r14
mov r9, rbx
call fcn.20061cd0
mov rax, qword [rbp + 0xe0]
cmp rax, 0x10
jb 0x200f5b9a
mov rcx, qword [rbp + 0xc8]
lea rdx, [rax + 1]
cmp rdx, 0x1000
jb 0x200f5b95
mov r8, qword [rcx - 8]
add rcx, 0xfffffffffffffff8
sub rcx, r8
cmp rcx, 0x20
jae 0x200f5d52
mov rcx, rax
xor rcx, 0x28
and eax, 0x28
lea rdx, [rcx + rax*2]
jmp 0x200f5b92
mov qword [rbp + 0xd8], r13
mov rcx, r15
mov rdx, r12
mov r8, r13
call fcn.20353d70
mov byte [rbp + r13 + 0xc8], 0
lea rax, [0x2036e458]
mov qword [rbp + 0xc0], rax
cmp qword [rbp + 0xe0], 0x10
mov r13, qword [rbp + 0x130]
mov r12d, dword [rbp + 0x13c]
jb 0x200f576d
mov r15, qword [rbp + 0xc8]
mov dword [rsp + 0x20], r14d
lea rcx, [rbp - 0x50]
mov edx, 0x100
mov r8, r15
mov r9, rbx
call fcn.20061cd0
mov rax, qword [rbp + 0xe0]
cmp rax, 0x10
jb 0x200f5b9a
mov rcx, qword [rbp + 0xc8]
lea rdx, [rax + 1]
cmp rdx, 0x1000
jb 0x200f5b95
mov r8, qword [rcx - 8]
add rcx, 0xfffffffffffffff8
sub rcx, r8
cmp rcx, 0x20
jb 0x200f5b8b
call fcn.2030c4cc
mov qword [rbp + 0xd8], r12
mov rcx, r14
mov rdx, r15
mov r8, r12
call fcn.20353d70
mov byte [rbp + r12 + 0xc8], 0
lea rax, [0x2036e458]
mov qword [rbp + 0xc0], rax
cmp qword [rbp + 0xe0], 0x10
mov r12d, dword [rbp + 0x13c]
jb 0x200f580d
mov r14, qword [rbp + 0xc8]
lea rcx, [rbp - 0x50]
mov edx, 0x100
mov r8, r14
mov r9, rbx
call fcn.20061cd0
mov rax, qword [rbp + 0xe0]
cmp rax, 0x10
jb 0x200f5b9a
mov rcx, qword [rbp + 0xc8]
lea rdx, [rax + 1]
cmp rdx, 0x1000
jb 0x200f5b95
mov r8, qword [rcx - 8]
sub rcx, r8
add rcx, 0xfffffffffffffff8
cmp rcx, 0x20
jb 0x200f5b8b
call fcn.2030c4cc
mov qword [rbp + 0xd8], r13
mov rcx, r15
mov rdx, r12
mov r8, r13
call fcn.20353d70
mov byte [rbp + r13 + 0xc8], 0
lea rax, [0x2036e458]
mov qword [rbp + 0xc0], rax
cmp qword [rbp + 0xe0], 0x10
mov r13, qword [rbp + 0x130]
mov r12d, dword [rbp + 0x13c]
jb 0x200f58af
mov r15, qword [rbp + 0xc8]
mov dword [rsp + 0x20], r14d
lea rcx, [rbp - 0x50]
mov edx, 0x100
mov r8, r15
mov r9, rbx
call fcn.20061cd0
mov rax, qword [rbp + 0xe0]
cmp rax, 0x10
jb 0x200f5b9a
mov rcx, qword [rbp + 0xc8]
lea rdx, [rax + 1]
cmp rdx, 0x1000
jb 0x200f5b95
mov r8, qword [rcx - 8]
add rcx, 0xfffffffffffffff8
sub rcx, r8
cmp rcx, 0x20
jb 0x200f5b8b
call fcn.2030c4cc
mov qword [rbp + 0xd8], r13
mov rcx, r15
mov rdx, r12
mov r8, r13
call fcn.20353d70
mov byte [rbp + r13 + 0xc8], 0
lea rax, [0x2036e458]
mov qword [rbp + 0xc0], rax
cmp qword [rbp + 0xe0], 0x10
mov r13, qword [rbp + 0x130]
mov r12d, dword [rbp + 0x13c]
jb 0x200f5956
mov r15, qword [rbp + 0xc8]
mov dword [rsp + 0x20], r14d
lea rcx, [rbp - 0x50]
mov edx, 0x100
mov r8, r15
mov r9, rbx
call fcn.20061cd0
mov rax, qword [rbp + 0xe0]
cmp rax, 0x10
jb 0x200f5b9a
mov rcx, qword [rbp + 0xc8]
lea rdx, [rax + 1]
cmp rdx, 0x1000
jb 0x200f5b95
mov r8, qword [rcx - 8]
add rcx, 0xfffffffffffffff8
sub rcx, r8
cmp rcx, 0x20
jb 0x200f5b8b
call fcn.2030c4cc
mov qword [rbp + 0xd8], r13
mov rcx, r15
mov rdx, r12
mov r8, r13
call fcn.20353d70
mov byte [rbp + r13 + 0xc8], 0
lea rax, [0x2036e458]
mov qword [rbp + 0xc0], rax
cmp qword [rbp + 0xe0], 0x10
mov r13, qword [rbp + 0x130]
mov r12d, dword [rbp + 0x13c]
jb 0x200f59fd
mov r15, qword [rbp + 0xc8]
mov dword [rsp + 0x20], r14d
lea rcx, [rbp - 0x50]
mov edx, 0x100
mov r8, r15
mov r9, rbx
call fcn.20061cd0
mov rax, qword [rbp + 0xe0]
cmp rax, 0x10
jb 0x200f5b9a
mov rcx, qword [rbp + 0xc8]
lea rdx, [rax + 1]
cmp rdx, 0x1000
jb 0x200f5b95
mov r8, qword [rcx - 8]
sub rcx, r8
add rcx, 0xfffffffffffffff8
cmp rcx, 0x20
jb 0x200f5b8b
call fcn.2030c4cc
mov qword [rbp + 0xd8], r12
mov rcx, r14
mov rdx, r15
mov r8, r12
call fcn.20353d70
mov byte [rbp + r12 + 0xc8], 0
lea rax, [0x2036e458]
mov qword [rbp + 0xc0], rax
cmp qword [rbp + 0xe0], 0x10
mov r12d, dword [rbp + 0x13c]
jb 0x200f5a9d
mov r14, qword [rbp + 0xc8]
lea rcx, [rbp - 0x50]
mov edx, 0x100
mov r8, r14
mov r9, rbx
call fcn.20061cd0
mov rax, qword [rbp + 0xe0]
cmp rax, 0x10
jb 0x200f5b9a
mov rcx, qword [rbp + 0xc8]
cmp byte [0x204a1d19], 0
jne 0x200f5ae3
lea rdx, [rax + 1]
cmp rdx, 0x1000
jb 0x200f5b95
mov r8, qword [rcx - 8]
sub rcx, r8
add rcx, 0xfffffffffffffff8
cmp rcx, 0x20
jb 0x200f5b8b
call fcn.2030c4cc
mov qword [rbp + 0xd8], r12
mov rcx, r14
mov rdx, r15
mov r8, r12
call fcn.20353d70
mov byte [rbp + r12 + 0xc8], 0
lea rax, [0x2036e458]
mov qword [rbp + 0xc0], rax
cmp qword [rbp + 0xe0], 0x10
mov r12d, dword [rbp + 0x13c]
jb 0x200f5b41
mov r14, qword [rbp + 0xc8]
lea rcx, [rbp - 0x50]
mov edx, 0x100
mov r8, r14
mov r9, rbx
call fcn.20061cd0
mov rax, qword [rbp + 0xe0]
cmp rax, 0x10
jb 0x200f5b9a
mov rcx, qword [rbp + 0xc8]
lea rdx, [rax + 1]
cmp rdx, 0x1000
jb 0x200f5b95
mov r8, qword [rcx - 8]
sub rcx, r8
add rcx, 0xfffffffffffffff8
cmp rcx, 0x20
jae 0x200f5d57
add rax, 0x28
mov rdx, rax
mov rcx, r8
call fcn.200807c0
lea rcx, [rbp + 0xd8]
mov qword [rbp + 0xf0], 0
mov qword [rbp + 0xf8], 0xf
mov byte [rbp + 0xe0], 0
lea rax, [0x2036e458]
mov qword [rbp + 0xd8], rax
mov qword [rbp + 0x118], 0
mov qword [rbp + 0x120], 0xf
mov byte [rbp + 0x108], 0
mov qword [rbp + 0x100], rax
mov dword [rbp + 0xc0], r12d
movaps xmm0, xmmword [0x203710e0]
movups xmmword [rbp + 0xc4], xmm0
mov edx, 0x408
add rdx, qword [rsi + 0x18]
call fcn.201fed80
lea rcx, [rbp + 0x100]
lea rdx, [rbp - 0x50]
call fcn.201fdeb0
mov byte [rbp + 0x128], 0
mov rcx, qword [rsi + 0x18]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
mov r10, qword [case.0x200fc05d.0]
mov qword [rsp + 0x20], 0
lea rdx, [rbp + 0xb0]
lea r9, [rbp + 0xc0]
xor r8d, r8d
call r10
mov rax, qword [rbp + 0x120]
cmp rax, 0x10
jb 0x200f5c9e
mov rcx, qword [rbp + 0x108]
lea rdx, [rax + 1]
cmp rdx, 0x1000
jb 0x200f5c99
mov r8, qword [rcx - 8]
sub rcx, r8
add rcx, 0xfffffffffffffff8
cmp rcx, 0x20
jae 0x200f5d48
add rax, 0x28
mov rdx, rax
mov rcx, r8
call fcn.200807c0
mov qword [rbp + 0x118], 0
mov qword [rbp + 0x120], 0xf
mov byte [rbp + 0x108], 0
mov rax, qword [rbp + 0xf8]
cmp rax, 0x10
jb case.0x200f5081.4
mov rcx, qword [rbp + 0xe0]
cmp byte [0x204a1d18], 0
jne 0x200f5ce5
lea rdx, [rax + 1]
cmp rdx, 0x1000
jb 0x200f5d2e
and r13d, dword [rbp + 0xbc]
mov edx, dword [0x20371100]
xor r8d, r8d
cmp r13d, 1
sbb r8d, r8d
sub edx, edi
test edx, r8d
setne dl
or dl, byte [0x204a1d18]
and dl, 1
mov byte [0x204a1d18], dl
mov r8, qword [rcx - 8]
add rcx, 0xfffffffffffffff8
sub rcx, r8
cmp rcx, 0x20
jae 0x200f5d4d
add rax, 0x28
mov rdx, rax
mov rcx, r8
call fcn.200807c0
nop
add rsp, 0x1c8
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
call fcn.2030c4cc
call fcn.2030c4cc
call fcn.2030c4cc
call fcn.2030c4cc
int3