Function at 0x45bef0
Capabilities:
Encode data using xor

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff0
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
sub esp, 0x78
mov eax, dword [0x53602c]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebx + 8]
mov ecx, dword [ebx + 0x10]
push esi
mov esi, dword [ebx + 0x14]
mov dword [ebp - 0x48], edx
movups xmm7, xmmword [edx + 0x30]
push edi
mov edi, dword [ebx + 0xc]
movaps xmmword [ebp - 0x60], xmm7
movups xmm0, xmmword [edx + 0x40]
movups xmm6, xmmword [edx + 0x50]
movaps xmmword [ebp - 0x30], xmm0
movaps xmmword [ebp - 0x40], xmm6
movups xmm5, xmmword [edx + 0x60]
movups xmm1, xmmword [edx + 0x70]
movaps xmmword [ebp - 0x70], xmm5
movaps xmmword [ebp - 0x20], xmm1
cmp esi, 0x10
jge 0x45bf5e
test esi, esi
je 0x45c37e
jmp 0x45c283
mov eax, ecx
neg eax
and eax, 0xf
je 0x45c022
movups xmm1, xmmword [ecx]
add ecx, eax
sub esi, eax
movaps xmm2, xmmword [0x512bf0]
movaps xmm3, xmm7
movups xmmword [edi], xmm1
add edi, eax
shl eax, 4
movaps xmmword [ebp - 0x20], xmm1
movups xmm1, xmmword [eax + 0x512a90]
pshufb xmm0, xmm1
pxor xmm2, xmm1
pshufb xmm7, xmm2
pshufb xmm3, xmm1
por xmm7, xmm0
movaps xmm0, xmmword [ebp - 0x30]
pshufb xmm0, xmm2
movaps xmmword [ebp - 0x60], xmm7
movaps xmmword [ebp - 0x30], xmm0
movaps xmm0, xmm6
movaps xmm7, xmmword [ebp - 0x30]
pshufb xmm0, xmm1
pshufb xmm6, xmm2
por xmm7, xmm0
movaps xmm0, xmm5
pshufb xmm0, xmm1
pshufb xmm5, xmm2
por xmm6, xmm0
movaps xmmword [ebp - 0x30], xmm7
movaps xmm0, xmmword [ebp - 0x20]
movaps xmm7, xmmword [ebp - 0x60]
pshufb xmm0, xmm1
movaps xmm1, xmm3
movaps xmmword [ebp - 0x40], xmm6
pclmulqdq xmm1, xmmword [0x512be0], 0x10
movaps xmmword [ebp - 0x20], xmm0
por xmm0, xmm5
movaps xmm5, xmm3
pclmulqdq xmm5, xmmword [0x512be0], 1
xorps xmm5, xmm0
movaps xmm0, xmmword [ebp - 0x30]
xorps xmm5, xmm1
movaps xmmword [ebp - 0x70], xmm5
mov eax, esi
sub esi, 0x40
js 0x45c0fc
shr eax, 6
mov dword [ebp - 0x44], eax
neg eax
shl eax, 6
add esi, eax
mov eax, dword [ebp - 0x44]
nop dword [eax]
movups xmm1, xmmword [ecx]
movaps xmm0, xmm7
movups xmm2, xmmword [ecx + 0x10]
movups xmm3, xmmword [ecx + 0x20]
movups xmm4, xmmword [ecx + 0x30]
add ecx, 0x40
movaps xmmword [ebp - 0x40], xmm1
movaps xmm1, xmmword [0x512be0]
pclmulqdq xmm0, xmm1, 1
pclmulqdq xmm7, xmm1, 0x10
xorps xmm7, xmm0
movaps xmm0, xmmword [ebp - 0x30]
pclmulqdq xmm0, xmm1, 1
movaps xmm1, xmmword [ebp - 0x30]
pclmulqdq xmm1, xmmword [0x512be0], 0x10
xorps xmm1, xmm0
movaps xmm0, xmm6
movaps xmmword [ebp - 0x30], xmm1
movaps xmm1, xmmword [0x512be0]
pclmulqdq xmm0, xmm1, 1
pclmulqdq xmm6, xmm1, 0x10
xorps xmm6, xmm0
movaps xmm0, xmm5
pclmulqdq xmm0, xmm1, 1
pclmulqdq xmm5, xmm1, 0x10
movaps xmm1, xmmword [ebp - 0x40]
xorps xmm5, xmm0
movaps xmm0, xmmword [ebp - 0x30]
pxor xmm7, xmm1
movups xmmword [edi], xmm1
movups xmmword [edi + 0x10], xmm2
movups xmmword [edi + 0x20], xmm3
movups xmmword [edi + 0x30], xmm4
add edi, 0x40
pxor xmm0, xmm2
pxor xmm6, xmm3
movaps xmmword [ebp - 0x30], xmm0
pxor xmm5, xmm4
sub eax, 1
jne 0x45c040
movaps xmmword [ebp - 0x60], xmm7
movaps xmmword [ebp - 0x40], xmm6
movaps xmmword [ebp - 0x70], xmm5
lea eax, [esi + 0x10]
test eax, eax
js 0x45c1a6
movaps xmm0, xmmword [0x512be0]
movaps xmm1, xmm5
movups xmm2, xmmword [ecx]
movaps xmm5, xmm6
movups xmm3, xmmword [ecx + 0x10]
mov esi, eax
movups xmm4, xmmword [ecx + 0x20]
movaps xmmword [ebp - 0x40], xmm2
movaps xmm2, xmmword [ebp - 0x30]
pclmulqdq xmm6, xmm0, 1
pclmulqdq xmm5, xmm0, 0x10
xorps xmm5, xmm6
movaps xmm6, xmmword [ebp - 0x30]
pxor xmm5, xmm4
movaps xmmword [ebp - 0x70], xmm5
pclmulqdq xmm2, xmm0, 1
pclmulqdq xmm6, xmm0, 0x10
xorps xmm6, xmm2
movaps xmm2, xmm7
pxor xmm6, xmm3
pclmulqdq xmm2, xmm0, 0x10
movaps xmmword [ebp - 0x30], xmm2
movaps xmm2, xmmword [ebp - 0x40]
movaps xmmword [ebp - 0x40], xmm6
pclmulqdq xmm7, xmm0, 1
movaps xmm0, xmmword [ebp - 0x30]
xorps xmm0, xmm7
movaps xmm7, xmm1
movaps xmmword [ebp - 0x60], xmm7
pxor xmm0, xmm2
movaps xmmword [ebp - 0x30], xmm0
movups xmmword [edi], xmm2
movups xmmword [edi + 0x10], xmm3
movups xmmword [edi + 0x20], xmm4
test esi, esi
je 0x45c366
add edi, 0x30
add ecx, 0x30
jmp 0x45c283
lea eax, [esi + 0x20]
test eax, eax
js 0x45c220
movaps xmm0, xmmword [0x512be0]
movaps xmm1, xmm6
movaps xmm6, xmmword [ebp - 0x30]
movaps xmm2, xmm5
movups xmm3, xmmword [ecx]
movaps xmm5, xmm6
movups xmm4, xmmword [ecx + 0x10]
mov esi, eax
pclmulqdq xmm6, xmm0, 1
pclmulqdq xmm5, xmm0, 0x10
xorps xmm5, xmm6
movaps xmm6, xmm7
pxor xmm5, xmm4
movaps xmmword [ebp - 0x70], xmm5
pclmulqdq xmm7, xmm0, 1
pclmulqdq xmm6, xmm0, 0x10
xorps xmm6, xmm7
movaps xmm7, xmm1
movaps xmmword [ebp - 0x60], xmm7
movaps xmm0, xmm2
movaps xmmword [ebp - 0x30], xmm0
pxor xmm6, xmm3
movaps xmmword [ebp - 0x40], xmm6
movups xmmword [edi], xmm3
movups xmmword [edi + 0x10], xmm4
test esi, esi
je 0x45c366
add edi, 0x20
add ecx, 0x20
jmp 0x45c283
lea eax, [esi + 0x30]
test eax, eax
js 0x45c27a
movups xmm2, xmmword [ecx]
movaps xmm1, xmm5
movaps xmm5, xmm7
movaps xmm0, xmm6
pclmulqdq xmm7, xmmword [0x512be0], 1
pclmulqdq xmm5, xmmword [0x512be0], 0x10
xorps xmm5, xmm7
mov esi, eax
movaps xmm7, xmmword [ebp - 0x30]
movaps xmm6, xmm1
movaps xmmword [ebp - 0x60], xmm7
pxor xmm5, xmm2
movaps xmmword [ebp - 0x30], xmm0
movaps xmmword [ebp - 0x40], xmm6
movaps xmmword [ebp - 0x70], xmm5
movups xmmword [edi], xmm2
test esi, esi
je 0x45c366
add edi, 0x10
add ecx, 0x10
jmp 0x45c283
add esi, 0x40
je 0x45c362
push esi
push ecx
lea eax, [ebp - 0x20]
xorps xmm0, xmm0
push eax
movups xmmword [ebp - 0x20], xmm0
call fcn.0047f050
movd xmm2, dword [ebp - 0x14]
add esp, 0xc
movd xmm0, dword [ebp - 0x18]
movd xmm1, dword [ebp - 0x1c]
movd xmm3, dword [ebp - 0x20]
movaps xmm5, xmmword [ebp - 0x30]
movaps xmm7, xmmword [ebp - 0x60]
movaps xmm6, xmmword [ebp - 0x40]
punpckldq xmm3, xmm0
movaps xmm0, xmm5
punpckldq xmm1, xmm2
movaps xmm2, xmmword [0x512bf0]
punpckldq xmm3, xmm1
shl esi, 4
movups xmmword [edi], xmm3
mov edx, dword [ebp - 0x48]
movaps xmmword [ebp - 0x20], xmm3
movaps xmm3, xmm7
movups xmm1, xmmword [esi + 0x512a90]
pshufb xmm0, xmm1
pxor xmm2, xmm1
pshufb xmm7, xmm2
pshufb xmm5, xmm2
por xmm7, xmm0
movaps xmm0, xmm6
pshufb xmm0, xmm1
pshufb xmm6, xmm2
por xmm5, xmm0
movaps xmmword [ebp - 0x30], xmm5
movaps xmm5, xmmword [ebp - 0x70]
movaps xmm0, xmm5
pshufb xmm0, xmm1
pshufb xmm5, xmm2
por xmm6, xmm0
movaps xmm0, xmmword [ebp - 0x20]
pshufb xmm0, xmm1
pshufb xmm3, xmm1
movaps xmmword [ebp - 0x20], xmm0
por xmm0, xmm5
movaps xmm5, xmm3
movaps xmm1, xmm3
pclmulqdq xmm5, xmmword [0x512be0], 1
pclmulqdq xmm1, xmmword [0x512be0], 0x10
xorps xmm5, xmm0
movaps xmm0, xmmword [ebp - 0x30]
xorps xmm5, xmm1
jmp 0x45c366
movaps xmm5, xmmword [ebp - 0x70]
movups xmmword [edx + 0x30], xmm7
movups xmmword [edx + 0x40], xmm0
movaps xmm0, xmmword [ebp - 0x20]
movups xmmword [edx + 0x50], xmm6
movups xmmword [edx + 0x60], xmm5
movups xmmword [edx + 0x70], xmm0
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.0047d116
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret