Function at 0x180006f60
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov dword [rax + 0x20], r9d
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
mov ecx, dword [rsp + 0x80]
lea eax, [r8 - 0x20e]
mov dword [rsp + 0x78], eax
add ecx, 0xffffff5e
mov eax, dword [rsp + 0x90]
mov edi, r8d
mov r15d, eax
xor edi, 0x11a
xor r15d, 0x6ee
mov rbx, rdx
lea r14d, [rax - 0x6ee]
lea eax, [rcx + 0x26d]
cmp r15d, eax
je 0x180007202
lea eax, [rdi + 0x71]
cmp ecx, eax
je 0x18000708e
imul eax, dword [rdx + 0x94], 0x7e210
mov dword [rdx + 0x94], eax
mov rdx, qword [section..data]
mov ecx, dword [rdx + 0x78]
mov eax, dword [rdx + 4]
add ecx, 0x12b3b5
imul eax, ecx
mov dword [rdx + 4], eax
mov rcx, qword [section..data]
mov eax, dword [rcx + 0xf4]
add eax, 0xc48
cmp dword [0x18022f048], 0x8bd9
mov dword [0x18022f114], eax
jbe 0x180007033
mov eax, dword [rbx + 0x28]
add eax, 0x447d
or dword [rbx + 0x144], eax
jmp 0x18000704d
mov eax, dword [rcx + 4]
xor eax, dword [rbx + 0x16c]
xor eax, dword [rcx + 0x144]
xor eax, 0x7c3f8
mov dword [rcx + 0x144], eax
cmp dword [rbx + 0xf8], 0x488a
jb 0x180007073
mov eax, dword [rbx + 0x150]
mov rcx, qword [section..data]
add eax, 0x12c358
or dword [rcx + 0x168], eax
jmp 0x18000707f
mov eax, dword [0x18022f154]
mov dword [rbx + 0x168], eax
or dword [0x18022f09c], 0x67340
jmp 0x180007202
mov esi, dword [rdx + 0xb4]
mov eax, dword [rdx + 0x8c]
mov ecx, dword [0x18022f110]
and eax, ecx
mov dword [rsp + 0x80], esi
cmp esi, eax
je 0x180007202
mov r13, qword [section..data]
mov edx, dword [0x18022f108]
mov eax, dword [rbx + 0xf4]
mov ebp, dword [rbx + 0xb0]
imul eax, edx
xor eax, r14d
cmp ebp, eax
jb 0x1800071e8
mov esi, dword [rsp + 0x78]
mov eax, dword [rbx + 0x50]
mov r12d, dword [r13 + 0x15c]
sub eax, 0x6b8
cmp r12d, eax
jb 0x1800071c5
mov eax, dword [0x18022f070]
mov r9d, r15d
and eax, dword [rbx + 0x70]
mov edx, edi
mov ecx, dword [r13 + 0x100]
add eax, edi
mov r8d, dword [rbx + 0x140]
and ecx, 0x9ff
sub r9d, dword [0x18022f144]
or ecx, r14d
and r8d, dword [rbx + 0x50]
add r9d, esi
mov dword [rsp + 0x28], eax
xor edx, 0x7e2
mov qword [rsp + 0x20], r13
call fcn.180005c80
mov edx, dword [0x18022f024]
mov r9d, eax
sub r9d, dword [rbx + 0xf4]
mov r8d, esi
mov r13, qword [section..data]
sub r8d, edi
or edx, dword [0x18022f124]
xor r8d, r15d
and r9d, dword [0x18022f038]
mov eax, dword [r13 + 0x148]
sub eax, edi
imul ecx, eax, 0x68d
mov eax, dword [rbx + 0x100]
and eax, r14d
mov dword [rsp + 0x28], eax
lea rax, [0x18022f010]
mov qword [rsp + 0x20], rax
call fcn.180004f08
mov ecx, dword [rbx + 0x100]
add r12d, 4
imul ecx, r14d
mov edi, eax
sub esi, ecx
mov ecx, dword [rbx + 0x50]
sub ecx, 0x6b8
cmp r12d, ecx
jae 0x1800070f4
mov edx, dword [0x18022f108]
mov dword [rsp + 0x78], esi
mov eax, dword [rbx + 0xf4]
inc ebp
imul eax, edx
xor eax, r14d
cmp ebp, eax
jae 0x1800070dc
mov ecx, dword [0x18022f110]
mov esi, dword [rsp + 0x80]
mov eax, dword [rbx + 0x8c]
add esi, 4
and eax, ecx
mov dword [rsp + 0x80], esi
cmp esi, eax
jne 0x1800070be
mov rbx, qword [rsp + 0x60]
lea eax, [r14 + 0x824]
mov rbp, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
ret