Function at 0x43af41
Capabilities:
Encode data using xor

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x420
mov rsi, rcx
lea rbx, [rsp + 0x20]
mov rax, rbx
lea rdx, [rsp + 0x410]
lea rcx, [rsp + 0x220]
movdqa xmm1, xmmword [0x004644b0]
movdqa xmm0, xmmword [0x004644c0]
movdqa xmmword [rax], xmm1
movdqa xmmword [rdx], xmm0
movdqa xmmword [rax + 0x10], xmm1
movdqa xmmword [rdx - 0x10], xmm0
movdqa xmmword [rax + 0x20], xmm1
movdqa xmmword [rdx - 0x20], xmm0
movdqa xmmword [rax + 0x30], xmm1
movdqa xmmword [rdx - 0x30], xmm0
movdqa xmmword [rax + 0x40], xmm1
movdqa xmmword [rdx - 0x40], xmm0
movdqa xmmword [rax + 0x50], xmm1
movdqa xmmword [rdx - 0x50], xmm0
movdqa xmmword [rax + 0x60], xmm1
movdqa xmmword [rdx - 0x60], xmm0
movdqa xmmword [rax + 0x70], xmm1
movdqa xmmword [rdx - 0x70], xmm0
sub rax, 0xffffffffffffff80
add rdx, 0xffffffffffffff80
cmp rcx, rax
jne 0x43af79
xor edi, edi
pxor xmm3, xmm3
movdqu xmm4, xmmword [rsi + rdi]
psubd xmm4, xmmword [rbx + rdi]
movdqa xmm2, xmm4
psrad xmm2, 0x1f
pxor xmm4, xmm2
psubd xmm4, xmm2
psrad xmm4, 8
paddd xmm3, xmm4
movdqu xmm5, xmmword [rsi + rdi + 0x10]
psubd xmm5, xmmword [rbx + rdi + 0x10]
movdqa xmm1, xmm5
psrad xmm1, 0x1f
pxor xmm5, xmm1
psubd xmm5, xmm1
psrad xmm5, 8
paddd xmm3, xmm5
movdqu xmm0, xmmword [rsi + rdi + 0x20]
psubd xmm0, xmmword [rbx + rdi + 0x20]
movdqa xmm4, xmm0
psrad xmm4, 0x1f
pxor xmm0, xmm4
psubd xmm0, xmm4
psrad xmm0, 8
paddd xmm3, xmm0
movdqu xmm5, xmmword [rsi + rdi + 0x30]
psubd xmm5, xmmword [rbx + rdi + 0x30]
movdqa xmm2, xmm5
psrad xmm2, 0x1f
pxor xmm5, xmm2
psubd xmm5, xmm2
psrad xmm5, 8
paddd xmm3, xmm5
movdqu xmm1, xmmword [rsi + rdi + 0x40]
psubd xmm1, xmmword [rbx + rdi + 0x40]
movdqa xmm0, xmm1
psrad xmm0, 0x1f
pxor xmm1, xmm0
psubd xmm1, xmm0
psrad xmm1, 8
paddd xmm3, xmm1
movdqu xmm4, xmmword [rsi + rdi + 0x50]
psubd xmm4, xmmword [rbx + rdi + 0x50]
movdqa xmm5, xmm4
psrad xmm5, 0x1f
pxor xmm4, xmm5
psubd xmm4, xmm5
psrad xmm4, 8
paddd xmm3, xmm4
movdqu xmm1, xmmword [rsi + rdi + 0x60]
psubd xmm1, xmmword [rbx + rdi + 0x60]
movdqa xmm2, xmm1
psrad xmm2, 0x1f
pxor xmm1, xmm2
psubd xmm1, xmm2
psrad xmm1, 8
paddd xmm3, xmm1
movdqu xmm0, xmmword [rsi + rdi + 0x70]
psubd xmm0, xmmword [rbx + rdi + 0x70]
movdqa xmm4, xmm0
psrad xmm4, 0x1f
pxor xmm0, xmm4
psubd xmm0, xmm4
psrad xmm0, 8
paddd xmm3, xmm0
sub rdi, 0xffffffffffffff80
cmp rdi, 0x400
jne 0x43afda
movdqa xmm5, xmm3
psrldq xmm5, 8
paddd xmm3, xmm5
movdqa xmm1, xmm3
psrldq xmm1, 4
paddd xmm3, xmm1
movd edi, xmm3
xor ebp, ebp
mov r12d, ebp
add ebp, 1
mov edx, ebp
mov rcx, rbx
call fcn.0043ac9f
xor r8d, r8d
pxor xmm3, xmm3
movdqu xmm0, xmmword [rsi + r8]
psubd xmm0, xmmword [rbx + r8]
movdqa xmm2, xmm0
psrad xmm2, 0x1f
pxor xmm0, xmm2
psubd xmm0, xmm2
psrad xmm0, 8
paddd xmm3, xmm0
movdqu xmm4, xmmword [rsi + r8 + 0x10]
psubd xmm4, xmmword [rbx + r8 + 0x10]
movdqa xmm5, xmm4
psrad xmm5, 0x1f
pxor xmm4, xmm5
psubd xmm4, xmm5
psrad xmm4, 8
paddd xmm3, xmm4
movdqu xmm1, xmmword [rsi + r8 + 0x20]
psubd xmm1, xmmword [rbx + r8 + 0x20]
movdqa xmm0, xmm1
psrad xmm0, 0x1f
pxor xmm1, xmm0
psubd xmm1, xmm0
psrad xmm1, 8
paddd xmm3, xmm1
movdqu xmm4, xmmword [rsi + r8 + 0x30]
psubd xmm4, xmmword [rbx + r8 + 0x30]
movdqa xmm2, xmm4
psrad xmm2, 0x1f
pxor xmm4, xmm2
psubd xmm4, xmm2
psrad xmm4, 8
paddd xmm3, xmm4
movdqu xmm5, xmmword [rsi + r8 + 0x40]
psubd xmm5, xmmword [rbx + r8 + 0x40]
movdqa xmm1, xmm5
psrad xmm1, 0x1f
pxor xmm5, xmm1
psubd xmm5, xmm1
psrad xmm5, 8
paddd xmm3, xmm5
movdqu xmm0, xmmword [rsi + r8 + 0x50]
psubd xmm0, xmmword [rbx + r8 + 0x50]
movdqa xmm4, xmm0
psrad xmm4, 0x1f
pxor xmm0, xmm4
psubd xmm0, xmm4
psrad xmm0, 8
paddd xmm3, xmm0
movdqu xmm5, xmmword [rsi + r8 + 0x60]
psubd xmm5, xmmword [rbx + r8 + 0x60]
movdqa xmm2, xmm5
psrad xmm2, 0x1f
pxor xmm5, xmm2
psubd xmm5, xmm2
psrad xmm5, 8
paddd xmm3, xmm5
movdqu xmm1, xmmword [rsi + r8 + 0x70]
psubd xmm1, xmmword [rbx + r8 + 0x70]
movdqa xmm0, xmm1
psrad xmm0, 0x1f
pxor xmm1, xmm0
psubd xmm1, xmm0
psrad xmm1, 8
paddd xmm3, xmm1
sub r8, 0xffffffffffffff80
cmp r8, 0x400
jne 0x43b150
movdqa xmm4, xmm3
psrldq xmm4, 8
paddd xmm3, xmm4
movdqa xmm5, xmm3
psrldq xmm5, 4
paddd xmm3, xmm5
movd r9d, xmm3
cmp edi, r9d
jle 0x43b2cb
mov edi, r9d
jmp 0x43b139
mov eax, r12d
add rsp, 0x420
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret