Function at 0x1800425b8
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], r8
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x78
mov r10d, dword [0x180537bb4]
mov rsi, rcx
mov rax, qword [0x180537b60]
mov edi, 1
movzx r11d, word [0x180537b68]
mov r15, rdx
movzx r13d, byte [0x180537b48]
mov rbx, r9
movzx r9d, word [0x180537b94]
sub r10d, edi
mov dword [0x180537bb4], r10d
mov r12d, r11d
movzx eax, word [rax + 0x16a8]
and eax, 0x1398
movsxd r14, r10d
mov qword [rsp + 0x58], rax
mov rbp, r14
mov eax, dword [rdx]
add r10d, edi
xor edx, edx
mov qword [rsp + 0x40], rbx
and r14, rbx
mov qword [rsp + 0x60], r11
sub rbx, rdi
lea eax, [rax*4 + 2]
mov qword [rsp + 0xd8], rbx
movsxd rcx, eax
movzx eax, byte [r8 + 0x8ff]
mov qword [rsp + 0x50], rax
movzx eax, byte [r8 + 0xff2]
sub rbp, qword [rsi + rcx*8]
mov ecx, 0xffff
sub eax, dword [0x180537b4c]
add r9w, cx
movsxd r8, dword [0x180537b90]
cdqe
mov qword [rsp + 0xc8], rax
mov word [0x180537b94], r9w
mov rax, qword [rsi + r8*8]
add r8d, edi
movzx ecx, r9w
div rcx
mov dword [0x180537b90], r8d
xor edx, edx
mov qword [rsp + 0x38], rax
movsxd rcx, r8d
mov r8, qword [0x180537b80]
mov rax, r8
mov dword [0x180537bb4], r10d
div rcx
mov rcx, qword [0x180537bd0]
sub r8, rdi
add rcx, rdi
mov qword [rsp + 0x30], rax
mov rax, qword [0x180537ba0]
mov edx, 0x2d7
mov qword [0x180537bd0], rcx
mov qword [0x180537b80], r8
mov qword [rsp + 0x48], rbp
movzx eax, word [rax + rcx*2]
mov ecx, 0x1d0d
mov word [rsp + 0xc0], ax
mov rax, qword [rsi]
mov edi, dword [r15 + rax*4]
lea eax, [r11 - 0x1951]
movsxd rbx, eax
movzx eax, r9w
sub ecx, eax
movsxd rcx, ecx
call fcn.180044020
mov rdx, qword [rsp + 0xd0]
mov ecx, eax
mov rax, qword [rsi]
mov byte [rdx + rax], cl
lea eax, [rdi - 1]
movzx ecx, word [rsp + 0x38]
movzx edx, ax
mov eax, 0x12f0
imul edx, ecx
or dx, ax
mov word [0x180537bb0], dx
mov rdx, qword [rsp + 0x40]
movzx ecx, byte [rdx]
mov eax, dword [rcx*4 + 0xa1f]
imul eax, dword [r15 + rcx*4]
mov dword [rcx*4 + 0xa1f], eax
movzx edx, byte [rdx]
mov rax, qword [rsp + 0xc8]
movsxd rax, dword [rax]
movzx ecx, word [rbx + rax*2]
movzx eax, byte [0x180537b49]
sub ecx, eax
sub ecx, dword [r15 + rdx*4]
mov dword [r15 + rdx*4], ecx
mov rax, qword [rsi]
movsxd rdx, dword [0x180537bc8]
movsxd r8, dword [0x180537b4c]
lea rcx, [rax + rax*2]
movzx eax, byte [rsi + rcx*8]
mov cl, 0x59
imul r9d, eax, 0x95
mov eax, dword [r14 + 0x458]
mov dword [rsp + 0x20], eax
call fcn.180043f10
mov edx, eax
mov r11d, 1
mov eax, dword [0x180537b90]
lea eax, [rax + rax*2]
cdqe
mov byte [rax + 0x11ea], dl
movzx r8d, word [0x180537b88]
movsxd rcx, dword [0x180537bc8]
mov rax, qword [0x180537bc0]
mov eax, dword [rax + rcx*4]
cdq
idiv r8d
mov word [0x180537b88], ax
cmp edi, 0xdc4
jge 0x18004283e
movzx eax, word [0x180537bb0]
add rbp, r11
mov ecx, dword [rsi + 0xad60]
or ecx, dword [r12 + 0x8b0]
sub ecx, eax
mov qword [rsp + 0x48], rbp
mov rax, qword [rsp + 0xc8]
mov eax, dword [rax]
add eax, eax
cdqe
mov dword [r15 + rax*4], ecx
add word [0x180537bb0], r11w
movsxd rbx, dword [0x180537b80]
mov rax, qword [0x180537ba8]
mov rdx, rbx
mov dil, byte [rsp + 0xe0]
shl rax, 5
cmp rbx, qword [rax + rsi]
jae 0x1800429af
mov rbp, qword [rsp + 0x38]
lea r12d, [rbx + rbx]
movsxd rax, ebp
mov qword [rsp + 0x38], rax
mov rcx, qword [rsp + 0x30]
movsxd rax, r12d
mov ecx, dword [rcx + rax*4]
or ecx, dword [0x180537b98]
mov rax, qword [rsp + 0x50]
xor ecx, dword [rax + rdx*4 + 0x1b66]
movsxd rax, dword [0x180537bc8]
mov dword [0x180537b90], ecx
mov rcx, qword [rsp + 0x58]
movsxd rcx, dword [rcx + rax*4]
or rcx, rdx
mov rdx, qword [rsi + rdx*8]
call fcn.180044020
movzx r8d, word [0x180537b94]
mov r9b, bl
mov word [0x180537b88], ax
inc r8w
mov rax, qword [rsp + 0xc8]
xor r9b, dil
mov eax, dword [rax]
add eax, 0x1a
movsxd rcx, eax
mov rax, qword [rsi]
mov cl, byte [r13 + rcx*8]
or cl, byte [rsi + rax*8 + 0x140]
mov word [0x180537b94], r8w
mov eax, dword [r15]
lea eax, [rax*4 + 7]
movsxd rdx, eax
mov rax, qword [0x180537b60]
movzx edx, word [rax + rdx*2]
movzx eax, r8w
or rdx, rax
mov rax, qword [rsp + 0x40]
movzx eax, byte [rax]
mov r8d, dword [r14 + rax*8 + 0x28]
xor r8d, ebp
mov dword [rsp + 0x20], r8d
mov r8, qword [rsp + 0x38]
call fcn.180043f10
movsxd rdx, eax
mov r11d, 1
mov eax, dword [0x180537bc8]
add ebx, r11d
shl eax, 2
add r12d, 2
movsxd rcx, eax
mov qword [rsi + rcx*8], rdx
xor edx, edx
mov eax, dword [0x180537b90]
add eax, 5
movsxd rcx, eax
mov rax, qword [rsp + 0x30]
movsxd r8, dword [rax + rcx*4]
mov rax, qword [rsp + 0xd0]
movzx eax, byte [rax]
add rax, rax
mov rax, qword [rsi + rax*8]
div r8
movsxd rax, dword [0x180537b6c]
mov dword [rax*4 + 0xa07], edx
mov rax, qword [0x180537ba8]
shl rax, 5
movsxd rdx, ebx
cmp rdx, qword [rax + rsi]
jb 0x180042876
mov rbp, qword [rsp + 0x48]
mov r12, qword [rsp + 0x60]
movsxd rcx, dword [r15 + 0x22c]
xor edx, edx
movsxd r9, dword [0x180537b6c]
mov r8, qword [rsp + 0xd8]
sub r8, r9
movzx eax, dil
xor rax, r8
add r9d, r11d
div rcx
mov dword [0x180537b6c], r9d
mov word [0x180537bb0], dx
add qword [r14], r11
mov rax, qword [r14]
movsxd rdx, dword [0x180537bc8]
mov eax, dword [r12 + rax*4]
sub eax, dword [0x180537b8c]
movsxd rcx, eax
or rcx, qword [rsp + 0xd8]
xor qword [r13 + rdx*8], rcx
add qword [r14], r11
add qword [rsi], r11
mov rdx, qword [r14]
mov rcx, qword [0x180537ba0]
movzx eax, word [rsp + 0xc0]
mov r9, qword [rsi]
or rax, rbp
movzx r8d, word [rcx + rdx*8]
xor edx, edx
div r8
mov rax, qword [rsp + 0x30]
add edx, 0x1971
mov dword [rax + r9*4], edx
xor edx, edx
mov rax, rbp
div qword [0x180537b98]
xor edx, edx
mov qword [0x180537b98], rax
mov rax, qword [0x180537b80]
add rax, 0x1e3f
imul rax, qword [0x180537bb8]
xor rax, 0x93
div qword [0x180537bd0]
mov qword [0x180537bd0], rax
movzx eax, dil
add rsp, 0x78
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret