Function at 0x1800564d0
Capabilities:
Encode data using xor

Disassembly:
mov r11, rsp
mov dword [r11 + 0x20], r9d
mov qword [r11 + 0x18], r8
mov qword [r11 + 0x10], rdx
mov qword [r11 + 8], rcx
push r14
sub rsp, 0x110
mov r14, rdx
mov eax, r9d
mov rdx, rcx
imul ecx, r9d, 0x3e3
mov dword [rsp + 0x20], ecx
cmp r9d, ecx
ja 0x180056931
mov qword [r11 - 0x10], rbx
mov ebx, dword [rsp + 0x138]
mov qword [r11 - 0x18], rbp
mov rbp, qword [rsp + 0x140]
mov qword [r11 - 0x20], rsi
mov qword [r11 - 0x28], rdi
mov qword [r11 - 0x30], r12
mov qword [r11 - 0x38], r13
mov r13, qword [rsp + 0x30]
mov qword [r11 - 0x40], r15
movaps xmmword [r11 - 0x58], xmm6
movaps xmmword [r11 - 0x68], xmm7
movsd xmm7, qword [0x18009f428]
movaps xmmword [r11 - 0x78], xmm8
movsd xmm8, qword [rsp + 0x30]
movaps xmmword [r11 - 0x88], xmm9
movsd xmm9, qword [0x18009f398]
movaps xmmword [r11 - 0x98], xmm10
movsd xmm10, qword [0x18009f3b8]
imul r9d, eax, 0xc7
movaps xmmword [rsp + 0x70], xmm11
movsd xmm11, qword [0x18009f2c8]
mov dword [rsp + 0x24], r9d
sub eax, 0x88
je 0x1800568aa
sub eax, 0x57
je 0x1800568a0
sub eax, 0x6961
je 0x180056828
sub eax, 0x43f8
je 0x180056812
cmp eax, 0xad59
jne 0x1800568af
mov eax, dword [rsp + 0x2c]
xor r12d, r12d
mov r15, qword [rbp + 0x5818]
dec eax
mov qword [rsp + 0x50], r15
test eax, eax
jle 0x1800568af
mov ecx, eax
mov qword [rsp + 0x38], rcx
nop dword [rax]
mov r14d, 0xd0
nop word [rax + rax]
cmp r14d, 0xd0
je 0x1800566b6
cmp r14d, 0x1ad0
je 0x180056689
cmp r14d, 0x34d0
je 0x180056659
cmp r14d, 0x4ed0
je 0x18005663e
cmp r14d, 0x68d0
jne 0x1800567c9
mov dword [rsp + 0x28], ebx
jmp 0x1800567c1
movsxd rax, ebx
lea rcx, [rax + rax*2]
movsd qword [r15 + rcx*8], xmm8
mov dword [r15 + rcx*8 + 8], 0xa
jmp 0x1800567c9
movsxd rdx, dword [rsp + 0x28]
cmp edx, 0xffffffff
jne 0x18005666b
mov dword [r8], ebx
jmp 0x1800567c1
movsxd rax, ebx
lea rcx, [rax + rax*2]
mov dword [r15 + rcx*8 + 0xc], 0xffffffff
lea rcx, [rdx + rdx*2]
mov dword [r15 + rcx*8 + 0xc], ebx
jmp 0x1800567c1
movsxd rcx, ebx
lea rax, [rcx + rcx*2]
cmp dword [r15 + rax*8 + 8], 0x14
jne 0x1800567c9
lea rax, [rcx + rcx*2]
cmp dword [r15 + rax*8 + 0x20], 0x14
jne 0x1800566af
inc ebx
jmp 0x1800567c9
dec ebx
jmp 0x1800567c9
movsxd rsi, dword [r13 + r12*4]
xorps xmm6, xmm6
mov ebx, dword [r13 + r12*4 + 4]
movaps xmm8, xmm7
cmp esi, ebx
jge 0x18005677f
lea rax, [rsi + rsi*2]
lea rdi, [r15 + rax*8]
mov r15, qword [rsp + 0x140]
lea rbp, [rdx + rsi*8]
cmp dword [rdi + 8], 0x14
je 0x180056768
movsd xmm0, qword [rdi]
ucomisd xmm0, xmm7
jp 0x1800566f5
je 0x180056768
mov r9d, 0xf2
movsd qword [rsp + 0x48], xmm8
lea r8, [rsp + 0x40]
movsd qword [rsp + 0x40], xmm0
lea rdx, [rsp + 0x48]
mov rcx, r15
call fcn.1800358f0
movsd xmm0, qword [rbp]
movabs r10, 0xc069000000000000
mulsd xmm0, xmm9
movq xmm8, rax
mov eax, esi
sub eax, dword [r13 + r12*4]
movd xmm1, eax
mov eax, dword [r13 + r12*4 + 4]
sub eax, dword [r13 + r12*4]
cvtdq2pd xmm1, xmm1
mov qword [rdi], r10
mov ebx, dword [r13 + r12*4 + 4]
mulsd xmm1, xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
divsd xmm1, xmm0
addsd xmm6, xmm1
inc esi
add rbp, 8
add rdi, 0x18
cmp esi, ebx
jl 0x1800566e3
mov r15, qword [rsp + 0x50]
comisd xmm7, xmm8
mov edi, dword [r13 + r12*4]
jb 0x180056797
lea eax, [rbx + rdi]
cdq
sub eax, edx
sar eax, 1
mov ebx, eax
jmp 0x1800567c1
movaps xmm1, xmm8
movaps xmm0, xmm11
mulsd xmm1, xmm10
call sub.api_ms_win_crt_math_l1_1_0.dll_pow
sub ebx, edi
mulsd xmm0, xmm6
movd xmm1, ebx
cvtdq2pd xmm1, xmm1
mulsd xmm0, xmm1
cvttsd2si ebx, xmm0
add ebx, edi
mov rdx, qword [rsp + 0x120]
mov r8, qword [rsp + 0x130]
add r14d, 0x1a00
cmp r14d, 0x8200
jbe 0x180056600
inc r12
sub qword [rsp + 0x38], 1
jne 0x1800565f0
mov rbp, qword [rsp + 0x140]
mov r14, qword [rsp + 0x128]
mov ecx, dword [rsp + 0x20]
mov r9d, dword [rsp + 0x24]
jmp 0x1800568af
mov eax, dword [rbp + 0x5810]
mov r13, qword [rbp + 0x5808]
mov dword [rsp + 0x2c], eax
jmp 0x1800568af
movdqu xmm1, xmmword [r8]
xor esi, esi
mov rdi, rdx
cmp dword [r14], esi
jbe 0x180056899
mov rbp, qword [rsp + 0x30]
nop dword [rax]
mov rax, rdi
lea r8, [rsp + 0x50]
mov r9, rbp
lea rcx, [rsp + 0x60]
mov edx, 0x57
add rdi, 0x10
movdqu xmm0, xmmword [rax]
pxor xmm0, xmm1
movdqa xmmword [rsp + 0x50], xmm0
call fcn.18007e790
add esi, 0x10
movdqu xmm1, xmmword [rax]
cmp esi, dword [r14]
jb 0x180056840
mov rbp, qword [rsp + 0x140]
mov r8, qword [rsp + 0x130]
mov rdx, qword [rsp + 0x120]
mov ecx, dword [rsp + 0x20]
mov r9d, dword [rsp + 0x24]
movdqu xmmword [r8], xmm1
jmp 0x1800568af
mov dword [rsp + 0x28], 0xffffffff
jmp 0x1800568af
mov qword [rsp + 0x30], rbp
mov eax, dword [rsp + 0x138]
add eax, r9d
mov dword [rsp + 0x138], eax
cmp eax, ecx
jbe 0x180056594
movaps xmm11, xmmword [rsp + 0x70]
movaps xmm10, xmmword [rsp + 0x80]
movaps xmm9, xmmword [rsp + 0x90]
movaps xmm8, xmmword [rsp + 0xa0]
movaps xmm7, xmmword [rsp + 0xb0]
movaps xmm6, xmmword [rsp + 0xc0]
mov r15, qword [rsp + 0xd8]
mov r13, qword [rsp + 0xe0]
mov r12, qword [rsp + 0xe8]
mov rdi, qword [rsp + 0xf0]
mov rsi, qword [rsp + 0xf8]
mov rbp, qword [rsp + 0x100]
mov rbx, qword [rsp + 0x108]
add rsp, 0x110
pop r14
ret