Function at 0x1400104fc
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
mov eax, dword [rsp + 0x80]
mov r10d, ecx
mov r13d, dword [rsp + 0x88]
mov esi, eax
xor esi, 0x5d
mov r12d, eax
mov ecx, esi
mov ebp, r8d
lea edi, [rax - 0xf5]
xor ecx, 0x7f
xor r12d, 0xf5
lea eax, [r13 - 0xc8]
xor ebp, 0xc8
xor r10d, 8
mov rbx, rdx
cmp eax, ecx
jge 0x140010683
xor r9d, r9d
mov eax, dword [rbx + 0xac]
mov rcx, qword [section..data]
dec eax
add dword [rcx + 0x28], eax
movsxd rcx, dword [rbx + 0x60]
mov rax, qword [rbx + 0x78]
mov r8d, dword [rax + r9]
add r9, 4
mov rax, qword [section..data]
imul r8d, dword [rax + 0x5c]
mov eax, dword [rax + 0x14]
add dword [rbx + 0x6c], eax
mov rax, qword [0x140068090]
mov edx, r8d
shr edx, 8
mov byte [rcx + rax], dl
inc dword [rbx + 0x60]
mov rax, qword [section..data]
mov ecx, dword [rax + 0x14]
or dword [rbx + 0xac], ecx
mov eax, dword [0x14006810c]
mov ecx, dword [0x140068068]
add eax, 0x133489
sub ecx, dword [0x140068074]
add ecx, eax
mov eax, dword [0x14006807c]
mov dword [0x14006810c], ecx
add eax, 0xffffffd8
mov ecx, dword [rbx + 0x64]
add ecx, eax
mov rax, qword [section..data]
mov dword [0x14006807c], ecx
movsxd rcx, dword [rax + 0x60]
mov rax, qword [0x140068090]
mov byte [rcx + rax], r8b
mov rax, qword [section..data]
inc dword [rax + 0x60]
mov ecx, dword [rbx]
mov eax, dword [rbx + 0x58]
xor eax, ecx
sub ecx, eax
mov eax, dword [rbx + 0xc4]
sub ecx, 0x20fd
add eax, 0xc5799c7
mov dword [rbx], ecx
mov rcx, qword [section..data]
or dword [rcx + 0x64], eax
mov ecx, 0x28
sub ecx, dword [0x140068074]
mov rax, qword [section..data]
add dword [rax], ecx
cmp r9, 0xd050
jl 0x140010566
mov eax, dword [rbx + 0xc4]
xor eax, 0xf3a860ea
mov dword [rbx + 0x5c], eax
mov eax, 0xbe04688e
mov rcx, qword [section..data]
sub eax, dword [rcx + 0x24]
add dword [rcx + 0x5c], eax
mov r9, qword [section..data]
jmp 0x140010719
mov r9, qword [section..data]
mov eax, dword [rdx + 0x58]
imul eax, dword [rdx + 0x64]
mov r15d, dword [r9 + 8]
sub eax, dword [r9 + 0xec]
cmp r15d, eax
jne 0x140010719
mov r14d, edi
lea r13d, [r8 - 0xc8]
or r14d, 0xb9
mov r8d, dword [rbx]
lea rcx, [0x140068010]
mov edx, dword [rbx + 0x58]
mov eax, dword [0x140068104]
xor edx, r13d
mov r9d, dword [r9 + 0x58]
and eax, edi
mov qword [rsp + 0x28], rcx
add edx, r12d
imul r8d, ebp
and r9d, r12d
mov ecx, r14d
mov dword [rsp + 0x20], eax
sub r8d, 0xc0
call fcn.140011d88
mov ecx, dword [rbx + 0x58]
add r15d, 4
imul ecx, dword [rbx + 0x64]
mov r10d, eax
mov r9, qword [section..data]
sub ecx, dword [r9 + 0xec]
cmp r15d, ecx
je 0x1400106b2
mov r13d, dword [rsp + 0x88]
lea ecx, [rdi + 0xa7]
cmp ebp, ecx
jg 0x14001077b
lea eax, [rsi + 8]
cmp r10d, eax
jl 0x140010750
cmp dword [r9 + 0xb0], 0x17540
jb 0x14001077b
mov eax, dword [r9 + 0xac]
xor eax, dword [r9 + 0x64]
xor eax, 0xffffe420
sub dword [0x14006806c], eax
jmp 0x14001077b
mov ecx, dword [rbx + 0xa4]
sub ecx, edi
xor ecx, 0xb9
cmp dword [rbx + 0xb0], ecx
jb 0x14001077b
mov ecx, dword [0x1400680b0]
sub ecx, r10d
and ecx, 0xc0
sub dword [0x140068024], ecx
mov rbx, qword [rsp + 0x60]
mov eax, r13d
mov rbp, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
ret