Function at 0x34eb8
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
xor edi, edi
mov esi, r8d
mov rbp, rdx
mov rbx, rcx
cmp dword [0x00083afc], edi
jne 0x34eee
call fcn.00034bc0
mov dword [0x00083afc], 1
mov eax, esi
mov r9d, 0xa
sub eax, 0x80
je 0x34f20
sub eax, 0x40
je 0x34f18
cmp eax, 0x40
je 0x34f10
lea eax, [r9 - 0x2a]
jmp 0x35192
mov dword [rbx], 0xe
jmp 0x34f23
mov dword [rbx], 0xc
jmp 0x34f23
mov dword [rbx], r9d
lea r10, [rbx + 0x10]
shr esi, 5
mov qword [rbx + 8], r10
cmp esi, edi
jbe 0x34f70
mov r11, r10
lea r8, [rbp + 2]
movzx eax, byte [r8]
movzx edx, byte [r8 + 1]
add r8, 4
shl edx, 8
or edx, eax
movzx eax, byte [r8 - 5]
shl edx, 8
or edx, eax
mov eax, edi
inc edi
shl eax, 2
shl edx, 8
movzx eax, byte [rax + rbp]
or edx, eax
mov dword [r11], edx
add r11, 4
cmp edi, esi
jb 0x34f39
cmp dword [rbx], r9d
je 0x35111
cmp dword [rbx], 0xc
je 0x35072
cmp dword [rbx], 0xe
jne 0x35190
lea rbx, [0x00080ac0]
mov edi, 7
lea r11, [0x000801c0]
movzx eax, byte [r10 + 0x1c]
movzx edx, byte [rax + r11]
movzx eax, byte [r10 + 0x1f]
movzx ecx, byte [rax + r11]
movzx eax, byte [r10 + 0x1e]
shl edx, 8
xor edx, ecx
movzx ecx, byte [rax + r11]
movzx eax, byte [r10 + 0x1d]
shl edx, 8
xor edx, ecx
movzx ecx, byte [rax + r11]
mov eax, dword [r10 + 4]
shl edx, 8
xor edx, ecx
mov ecx, dword [r10 + 8]
xor edx, dword [r10]
add r10, 0x20
xor edx, dword [rbx]
add rbx, 4
xor eax, edx
mov dword [r10], edx
mov edx, dword [r10 - 0x14]
xor ecx, eax
mov dword [r10 + 4], eax
xor edx, ecx
mov dword [r10 + 8], ecx
mov dword [r10 + 0xc], edx
movzx eax, byte [r10 + 0xf]
movzx r8d, byte [rax + r11]
movzx eax, byte [r10 + 0xe]
movzx ecx, byte [rax + r11]
movzx eax, byte [r10 + 0xd]
shl r8d, 8
xor r8d, ecx
movzx ecx, byte [rax + r11]
movzx eax, dl
shl r8d, 8
xor r8d, ecx
movzx ecx, byte [rax + r11]
mov eax, dword [r10 - 0xc]
shl r8d, 8
xor r8d, ecx
mov ecx, dword [r10 - 8]
xor r8d, dword [r10 - 0x10]
xor eax, r8d
mov dword [r10 + 0x10], r8d
xor ecx, eax
mov dword [r10 + 0x14], eax
mov dword [r10 + 0x18], ecx
xor ecx, dword [r10 - 4]
sub rdi, 1
mov dword [r10 + 0x1c], ecx
jne 0x34f9e
jmp 0x35190
lea rbx, [0x00080ac0]
mov r9d, 8
lea r11, [0x000801c0]
movzx eax, byte [r10 + 0x14]
movzx r8d, byte [rax + r11]
movzx eax, byte [r10 + 0x17]
movzx ecx, byte [rax + r11]
movzx eax, byte [r10 + 0x16]
shl r8d, 8
xor r8d, ecx
movzx ecx, byte [rax + r11]
movzx eax, byte [r10 + 0x15]
shl r8d, 8
xor r8d, ecx
movzx ecx, byte [rax + r11]
mov eax, dword [r10 + 4]
shl r8d, 8
xor r8d, ecx
mov ecx, dword [r10 + 8]
xor r8d, dword [r10]
add r10, 0x18
xor r8d, dword [rbx]
add rbx, 4
xor eax, r8d
mov dword [r10], r8d
xor ecx, eax
mov dword [r10 + 4], eax
mov eax, dword [r10 - 0xc]
xor eax, ecx
mov dword [r10 + 8], ecx
mov ecx, dword [r10 - 8]
xor ecx, eax
mov dword [r10 + 0xc], eax
mov dword [r10 + 0x10], ecx
xor ecx, dword [r10 - 4]
sub r9, 1
mov dword [r10 + 0x14], ecx
jne 0x35086
jmp 0x35190
lea rbx, [0x00080ac0]
lea r11, [0x000801c0]
movzx eax, byte [r10 + 0xc]
movzx r8d, byte [rax + r11]
movzx eax, byte [r10 + 0xf]
movzx ecx, byte [rax + r11]
movzx eax, byte [r10 + 0xe]
shl r8d, 8
xor r8d, ecx
movzx ecx, byte [rax + r11]
movzx eax, byte [r10 + 0xd]
shl r8d, 8
xor r8d, ecx
movzx ecx, byte [rax + r11]
mov eax, dword [r10 + 4]
shl r8d, 8
xor r8d, ecx
mov ecx, dword [r10 + 8]
xor r8d, dword [rbx]
add rbx, 4
xor r8d, dword [r10]
add r10, 0x10
xor eax, r8d
mov dword [r10], r8d
xor ecx, eax
mov dword [r10 + 4], eax
mov dword [r10 + 8], ecx
xor ecx, dword [r10 - 4]
sub r9, 1
mov dword [r10 + 0xc], ecx
jne 0x3511f
xor eax, eax
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret