Function at 0x1008d3c0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0xb8
movdqu xmm0, xmmword [ecx + 0x30]
push esi
mov esi, dword [ebp + 0xc]
mov eax, edx
movdqa xmmword [esp + 0x5c], xmm0
mov dword [esp + 8], eax
mov dword [esp + 0x78], ecx
movdqu xmm0, xmmword [ecx + 0x40]
push edi
movdqa xmmword [esp + 0x40], xmm0
movdqu xmm0, xmmword [ecx + 0x50]
movdqa xmmword [esp + 0x30], xmm0
movdqu xmm0, xmmword [ecx + 0x60]
movdqa xmmword [esp + 0x10], xmm0
movdqu xmm0, xmmword [ecx + 0x70]
movdqa xmmword [esp + 0x20], xmm0
cmp esi, 0x10
jge 0x1008d427
test esi, esi
je 0x1008d755
mov edi, dword [ebp + 8]
jmp 0x1008d6a1
mov edi, dword [ebp + 8]
mov edx, edi
neg edx
and edx, 0xf
je 0x1008d478
movdqu xmm0, xmmword [edi]
add edi, edx
sub esi, edx
movdqu xmmword [eax], xmm0
add eax, edx
movdqa xmmword [esp + 0x20], xmm0
mov dword [esp + 0xc], eax
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x38]
push eax
lea eax, [esp + 0x4c]
push eax
lea eax, [esp + 0x70]
push eax
call fcn.1008d2fa
movdqa xmm0, xmmword [esp + 0x34]
add esp, 0x14
movdqa xmmword [esp + 0x20], xmm0
sub esi, 0x40
js 0x1008d567
lea eax, [esi + 0x40]
shr eax, 6
mov dword [esp + 0x5c], eax
imul eax, eax, 0xffffffc0
add esi, eax
mov dword [ebp + 0xc], esi
mov esi, dword [esp + 0xc]
movdqa xmm0, xmmword [edi]
lea eax, [esp + 0x10]
movdqa xmmword [esp + 0x80], xmm0
lea edx, [esp + 0x60]
movdqa xmm0, xmmword [edi + 0x10]
push eax
movdqa xmmword [esp + 0xa4], xmm0
lea eax, [esp + 0x34]
movdqa xmm0, xmmword [edi + 0x20]
push eax
movdqa xmmword [esp + 0x98], xmm0
lea eax, [esp + 0x48]
movdqa xmm0, xmmword [edi + 0x30]
push eax
movdqa xmmword [esp + 0xbc], xmm0
call fcn.1008d256
movdqa xmm0, xmmword [esp + 0x8c]
add esp, 0xc
movdqa xmm1, xmmword [esp + 0xa0]
add edi, 0x40
movdqa xmm2, xmmword [esp + 0x90]
movdqa xmm3, xmmword [esp + 0xb0]
movdqu xmmword [esi], xmm0
pxor xmm0, xmmword [esp + 0x60]
movdqu xmmword [esi + 0x10], xmm1
pxor xmm1, xmmword [esp + 0x40]
movdqu xmmword [esi + 0x20], xmm2
pxor xmm2, xmmword [esp + 0x30]
movdqu xmmword [esi + 0x30], xmm3
add esi, 0x40
dec dword [esp + 0x5c]
pxor xmm3, xmmword [esp + 0x10]
movdqa xmmword [esp + 0x60], xmm0
movdqa xmmword [esp + 0x40], xmm1
movdqa xmmword [esp + 0x30], xmm2
movdqa xmmword [esp + 0x10], xmm3
jne 0x1008d497
mov dword [esp + 0xc], esi
mov esi, dword [ebp + 0xc]
lea eax, [esi + 0x10]
test eax, eax
js 0x1008d5e6
movdqa xmm5, xmmword [edi]
lea edx, [esp + 0x60]
movdqa xmm6, xmmword [edi + 0x10]
mov esi, eax
movdqa xmm7, xmmword [edi + 0x20]
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x34]
push eax
lea eax, [esp + 0x48]
push eax
call fcn.1008d1b4
mov eax, dword [esp + 0x18]
add esp, 0xc
movdqu xmmword [eax], xmm5
pxor xmm5, xmmword [esp + 0x40]
movdqa xmmword [esp + 0x40], xmm5
movdqu xmmword [eax + 0x10], xmm6
pxor xmm6, xmmword [esp + 0x30]
movdqa xmmword [esp + 0x30], xmm6
movdqu xmmword [eax + 0x20], xmm7
pxor xmm7, xmmword [esp + 0x10]
movdqa xmmword [esp + 0x10], xmm7
test esi, esi
je 0x1008d71a
add eax, 0x30
add edi, 0x30
mov dword [esp + 0xc], eax
jmp 0x1008d6a1
lea eax, [esi + 0x20]
test eax, eax
js 0x1008d64c
movdqa xmm5, xmmword [edi]
lea edx, [esp + 0x60]
movdqa xmm6, xmmword [edi + 0x10]
mov esi, eax
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x34]
push eax
lea eax, [esp + 0x48]
push eax
call fcn.1008d134
mov eax, dword [esp + 0x18]
add esp, 0xc
movdqu xmmword [eax], xmm5
pxor xmm5, xmmword [esp + 0x30]
movdqa xmmword [esp + 0x30], xmm5
movdqu xmmword [eax + 0x10], xmm6
pxor xmm6, xmmword [esp + 0x10]
movdqa xmmword [esp + 0x10], xmm6
test esi, esi
je 0x1008d71a
add eax, 0x20
add edi, 0x20
mov dword [esp + 0xc], eax
jmp 0x1008d6a1
lea eax, [esi + 0x30]
test eax, eax
js 0x1008d69c
movdqa xmm3, xmmword [edi]
lea edx, [esp + 0x60]
mov esi, eax
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x34]
push eax
lea eax, [esp + 0x48]
push eax
call fcn.1008d0d6
mov eax, dword [esp + 0x18]
add esp, 0xc
movdqu xmmword [eax], xmm3
pxor xmm3, xmmword [esp + 0x10]
movdqa xmmword [esp + 0x10], xmm3
test esi, esi
je 0x1008d71a
add eax, 0x10
add edi, 0x10
mov dword [esp + 0xc], eax
jmp 0x1008d6a1
add esi, 0x40
je 0x1008d71a
push esi
lea eax, [esp + 0x24]
xorps xmm0, xmm0
push edi
push eax
movdqu xmmword [esp + 0x2c], xmm0
call fcn.10122750
movd xmm2, dword [esp + 0x38]
add esp, 0xc
movd xmm0, dword [esp + 0x28]
mov edx, esi
movd xmm1, dword [esp + 0x24]
movd xmm3, dword [esp + 0x20]
mov eax, dword [esp + 0xc]
punpckldq xmm3, xmm0
punpckldq xmm1, xmm2
punpckldq xmm3, xmm1
movdqu xmmword [eax], xmm3
lea eax, [esp + 0x20]
movdqa xmmword [esp + 0x20], xmm3
push eax
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x38]
push eax
lea eax, [esp + 0x4c]
push eax
lea eax, [esp + 0x70]
push eax
call fcn.1008d2fa
movdqa xmm0, xmmword [esp + 0x34]
add esp, 0x14
movdqa xmmword [esp + 0x20], xmm0
mov eax, dword [esp + 0x7c]
movdqu xmm0, xmmword [esp + 0x60]
movdqu xmmword [eax + 0x30], xmm0
movdqu xmm0, xmmword [esp + 0x40]
movdqu xmmword [eax + 0x40], xmm0
movdqu xmm0, xmmword [esp + 0x30]
movdqu xmmword [eax + 0x50], xmm0
movdqu xmm0, xmmword [esp + 0x10]
movdqu xmmword [eax + 0x60], xmm0
movdqa xmm0, xmmword [esp + 0x20]
movdqu xmmword [eax + 0x70], xmm0
pop edi
pop esi
mov esp, ebp
pop ebp
ret