Function at 0x47980d
Capabilities:
Encode data using xor

Disassembly:
push ebx
mov ebx, esp
push ecx
push ecx
and esp, 0xfffffff0
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
sub esp, 0xc8
mov eax, dword [0x4d3a00]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [ebx + 8]
mov edx, dword [ebx + 0xc]
push esi
mov esi, dword [ebx + 0x14]
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x24], edx
movdqu xmm0, xmmword [ecx + 0x30]
push edi
mov edi, dword [ebx + 0x10]
movdqa xmmword [ebp - 0x80], xmm0
movdqu xmm0, xmmword [ecx + 0x50]
movdqu xmm2, xmmword [ecx + 0x40]
movdqa xmmword [ebp - 0x60], xmm0
movdqa xmmword [ebp - 0x50], xmm2
movdqu xmm7, xmmword [ecx + 0x60]
movdqu xmm0, xmmword [ecx + 0x70]
movdqa xmmword [ebp - 0x40], xmm7
movdqa xmmword [ebp - 0x90], xmm0
cmp esi, 0x10
jge 0x47988d
test esi, esi
je 0x479bd2
jmp 0x479b27
mov eax, edi
neg eax
and eax, 0xf
je 0x4798e7
movdqu xmm0, xmmword [edi]
lea ecx, [ebp - 0x20]
add edi, eax
push ecx
lea ecx, [ebp - 0x40]
movdqa xmmword [ebp - 0x20], xmm0
push ecx
lea ecx, [ebp - 0x60]
sub esi, eax
push ecx
lea ecx, [ebp - 0x50]
push ecx
lea ecx, [ebp - 0x80]
push ecx
mov ecx, dword [ebp - 0x28]
movdqu xmmword [edx], xmm0
push eax
add edx, eax
push ecx
mov dword [ebp - 0x24], edx
call fcn.00479dcc
movdqa xmm0, xmmword [ebp - 0x20]
add esp, 0x1c
movdqa xmm2, xmmword [ebp - 0x50]
movdqa xmm7, xmmword [ebp - 0x40]
mov ecx, dword [ebp - 0x28]
movdqa xmmword [ebp - 0x90], xmm0
sub esi, 0x40
js 0x4799c0
lea eax, [esi + 0x40]
shr eax, 6
mov dword [ebp - 0x64], eax
imul eax, eax, 0xffffffc0
add esi, eax
mov dword [ebx + 0x14], esi
mov esi, dword [ebp - 0x24]
movdqa xmm0, xmmword [edi]
lea eax, [ebp - 0x40]
movdqa xmm4, xmmword [edi + 0x10]
push eax
lea eax, [ebp - 0x60]
movdqa xmmword [ebp - 0xb0], xmm0
movdqa xmm0, xmmword [edi + 0x20]
push eax
lea eax, [ebp - 0x50]
movdqa xmmword [ebp - 0xa0], xmm0
movdqa xmm0, xmmword [edi + 0x30]
push eax
lea eax, [ebp - 0x80]
movdqa xmmword [ebp - 0x20], xmm4
push eax
push ecx
movdqa xmmword [ebp - 0xc0], xmm0
call fcn.00479d29
movdqa xmm0, xmmword [ebp - 0xb0]
add esp, 0x14
movdqa xmm2, xmmword [ebp - 0x20]
add edi, 0x40
movdqa xmm1, xmmword [ebp - 0xa0]
movdqa xmm7, xmmword [ebp - 0xc0]
mov ecx, dword [ebp - 0x28]
movdqu xmmword [esi], xmm0
pxor xmm0, xmmword [ebp - 0x80]
movdqu xmmword [esi + 0x10], xmm2
pxor xmm2, xmmword [ebp - 0x50]
movdqu xmmword [esi + 0x20], xmm1
pxor xmm1, xmmword [ebp - 0x60]
movdqu xmmword [esi + 0x30], xmm7
add esi, 0x40
dec dword [ebp - 0x64]
pxor xmm7, xmmword [ebp - 0x40]
movdqa xmmword [ebp - 0x80], xmm0
movdqa xmmword [ebp - 0x50], xmm2
movdqa xmmword [ebp - 0x60], xmm1
movdqa xmmword [ebp - 0x40], xmm7
jne 0x479904
mov dword [ebp - 0x24], esi
mov esi, dword [ebx + 0x14]
mov edx, dword [ebp - 0x24]
lea eax, [esi + 0x10]
test eax, eax
js 0x479a41
movdqa xmm4, xmmword [edi]
mov esi, eax
movdqa xmm5, xmmword [edi + 0x10]
lea eax, [ebp - 0x40]
movdqa xmm7, xmmword [edi + 0x20]
push eax
lea eax, [ebp - 0x60]
movdqa xmmword [ebp - 0x20], xmm4
push eax
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x80]
push eax
push dword [ebp - 0x28]
call fcn.00479c7c
mov eax, dword [ebp - 0x24]
add esp, 0x14
movdqa xmm2, xmmword [ebp - 0x20]
movdqu xmmword [eax], xmm2
pxor xmm2, xmmword [ebp - 0x50]
movdqa xmmword [ebp - 0x50], xmm2
movdqu xmmword [eax + 0x10], xmm5
pxor xmm5, xmmword [ebp - 0x60]
movdqa xmmword [ebp - 0x60], xmm5
movdqu xmmword [eax + 0x20], xmm7
pxor xmm7, xmmword [ebp - 0x40]
movdqa xmmword [ebp - 0x40], xmm7
test esi, esi
je 0x479ba4
add eax, 0x30
add edi, 0x30
mov dword [ebp - 0x24], eax
jmp 0x479b27
lea eax, [esi + 0x20]
test eax, eax
js 0x479ad0
movdqa xmm1, xmmword [0x4acda0]
movdqa xmm4, xmm7
movdqa xmm5, xmmword [edi]
movdqa xmm7, xmm2
movdqa xmm6, xmmword [edi + 0x10]
mov esi, eax
movdqa xmm3, xmmword [ebp - 0x60]
movdqa xmmword [ebp - 0x20], xmm4
movdqa xmmword [ebp - 0x50], xmm4
pclmulqdq xmm2, xmm1, 1
pclmulqdq xmm7, xmm1, 0x10
xorps xmm7, xmm2
movdqa xmm2, xmmword [ebp - 0x80]
movdqa xmmword [ebp - 0x80], xmm3
movdqa xmm0, xmm2
pxor xmm7, xmm6
movdqa xmmword [ebp - 0x40], xmm7
pclmulqdq xmm2, xmm1, 0x10
pclmulqdq xmm0, xmm1, 1
xorps xmm2, xmm0
pxor xmm2, xmm5
movdqa xmmword [ebp - 0x60], xmm2
movdqu xmmword [edx], xmm5
movdqu xmmword [edx + 0x10], xmm6
test esi, esi
je 0x479b9f
add edx, 0x20
add edi, 0x20
mov dword [ebp - 0x24], edx
jmp 0x479b27
lea eax, [esi + 0x30]
test eax, eax
js 0x479b22
movdqa xmm7, xmmword [edi]
mov esi, eax
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x60]
push eax
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x80]
push eax
push dword [ebp - 0x28]
call fcn.00479c1d
mov eax, dword [ebp - 0x24]
add esp, 0x14
movdqu xmmword [eax], xmm7
pxor xmm7, xmmword [ebp - 0x40]
movdqa xmmword [ebp - 0x40], xmm7
test esi, esi
je 0x479b18
add eax, 0x10
add edi, 0x10
mov dword [ebp - 0x24], eax
jmp 0x479b27
movdqa xmm2, xmmword [ebp - 0x50]
jmp 0x479ba4
add esi, 0x40
je 0x479ba4
push esi
lea eax, [ebp - 0x20]
xorps xmm0, xmm0
push edi
push eax
movdqu xmmword [ebp - 0x20], xmm0
call fcn.00481c00
movd xmm2, dword [ebp - 0x14]
movd xmm0, dword [ebp - 0x18]
movd xmm1, dword [ebp - 0x1c]
movd xmm3, dword [ebp - 0x20]
mov eax, dword [ebp - 0x24]
punpckldq xmm3, xmm0
punpckldq xmm1, xmm2
punpckldq xmm3, xmm1
movdqu xmmword [eax], xmm3
lea eax, [ebp - 0x20]
movdqa xmmword [ebp - 0x20], xmm3
push eax
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x60]
push eax
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x80]
push eax
push esi
push dword [ebp - 0x28]
call fcn.00479dcc
movdqa xmm0, xmmword [ebp - 0x20]
add esp, 0x28
movdqa xmm2, xmmword [ebp - 0x50]
movdqa xmm7, xmmword [ebp - 0x40]
movdqa xmmword [ebp - 0x90], xmm0
jmp 0x479ba4
movdqa xmm2, xmmword [ebp - 0x20]
mov eax, dword [ebp - 0x28]
movdqu xmm0, xmmword [ebp - 0x80]
movdqu xmmword [eax + 0x30], xmm0
movdqu xmm0, xmmword [ebp - 0x60]
movdqu xmmword [eax + 0x40], xmm2
movdqu xmmword [eax + 0x50], xmm0
movdqa xmm0, xmmword [ebp - 0x90]
movdqu xmmword [eax + 0x60], xmm7
movdqu xmmword [eax + 0x70], xmm0
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.0047aabf
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret