Function at 0x10009f90
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x12c
push ebx
push esi
mov esi, dword [ebp + 8]
xor edx, edx
cmp dword [0x100b9630], 2
push edi
mov dword [ebp - 0x24], ecx
jl 0x1000a000
movups xmm0, xmmword [esi]
pshufb xmm0, xmmword [0x1009fbf0]
movups xmmword [ebp - 0x12c], xmm0
movups xmm0, xmmword [esi + 0x10]
pshufb xmm0, xmmword [0x1009fbf0]
movups xmmword [ebp - 0x11c], xmm0
movups xmm0, xmmword [esi + 0x20]
pshufb xmm0, xmmword [0x1009fbf0]
movups xmmword [ebp - 0x10c], xmm0
movups xmm0, xmmword [esi + 0x30]
pshufb xmm0, xmmword [0x1009fbf0]
movups xmmword [ebp - 0xfc], xmm0
jmp 0x1000a012
mov eax, dword [esi + edx*4]
bswap eax
mov dword [ebp + edx*4 - 0x12c], eax
inc edx
cmp edx, 0x10
jb 0x1000a000
lea eax, [ebp - 0x128]
mov dword [ebp + 8], 0x30
nop
mov edi, dword [eax]
lea eax, [eax + 4]
mov esi, dword [eax + 0x30]
mov ecx, edi
mov edx, edi
ror ecx, 0x12
shr edi, 3
mov ebx, esi
xor edi, ecx
ror esi, 0x13
mov ecx, dword [eax + 0x30]
shr ecx, 0xa
ror ebx, 0x11
xor ecx, esi
ror edx, 7
xor ecx, ebx
xor edi, edx
add edi, ecx
add edi, dword [eax + 0x1c]
add edi, dword [eax - 8]
sub dword [ebp + 8], 1
mov dword [eax + 0x38], edi
jne 0x1000a020
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x18], 0
mov eax, dword [eax]
mov dword [ebp - 0x2c], eax
mov ecx, dword [eax]
mov edi, ecx
mov edx, dword [eax + 4]
mov dword [ebp - 0x28], ecx
mov dword [ebp - 4], ecx
mov ecx, dword [eax + 8]
mov dword [ebp - 0x14], edx
mov edx, dword [eax + 0x14]
mov dword [ebp - 0x10], ecx
mov ecx, dword [eax + 0xc]
mov dword [ebp - 0x1c], ecx
mov ecx, dword [eax + 0x10]
mov dword [ebp - 8], edx
mov edx, dword [eax + 0x18]
mov eax, dword [eax + 0x1c]
mov dword [ebp + 8], ecx
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x20], eax
nop
mov ebx, dword [ebp + 8]
mov edx, ecx
mov eax, dword [ebp - 8]
mov esi, ecx
and eax, dword [ebp + 8]
not ebx
and ebx, dword [ebp - 0xc]
xor ebx, eax
ror ecx, 0x19
mov eax, dword [ebp - 0x18]
ror edx, 0xb
xor ecx, edx
ror esi, 6
xor ecx, esi
mov edx, edi
add ebx, ecx
ror edx, 0xd
add ebx, dword [eax + 0x1009e200]
mov esi, edi
add ebx, dword [ebp + eax - 0x12c]
mov ecx, edi
mov eax, dword [ebp - 0x14]
mov edi, eax
and eax, dword [ebp - 4]
xor edi, dword [ebp - 4]
and edi, dword [ebp - 0x10]
add ebx, dword [ebp - 0x20]
xor edi, eax
mov eax, dword [ebp - 0xc]
ror ecx, 0x16
xor ecx, edx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 4]
ror esi, 2
xor ecx, esi
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 8]
add edi, ecx
mov ecx, dword [ebp - 0x1c]
add edi, ebx
mov esi, dword [ebp - 0x14]
add ecx, ebx
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x18]
add eax, 4
mov dword [ebp + 8], ecx
mov dword [ebp - 0x10], esi
mov dword [ebp - 0x14], edx
mov dword [ebp - 4], edi
mov dword [ebp - 0x18], eax
cmp eax, 0x100
jb 0x1000a0a0
mov ecx, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x28]
add eax, edi
pop edi
mov dword [ecx], eax
mov ecx, dword [ebp - 0x24]
mov eax, dword [ecx]
add dword [eax + 4], edx
mov eax, dword [ecx]
mov edx, dword [ebp - 0x1c]
add dword [eax + 8], esi
mov eax, dword [ecx]
pop esi
pop ebx
add dword [eax + 0xc], edx
mov eax, dword [ecx]
mov edx, dword [ebp + 8]
add dword [eax + 0x10], edx
mov eax, dword [ecx]
mov edx, dword [ebp - 8]
add dword [eax + 0x14], edx
mov eax, dword [ecx]
mov edx, dword [ebp - 0xc]
add dword [eax + 0x18], edx
mov eax, dword [ecx]
mov ecx, dword [ebp - 0x20]
add dword [eax + 0x1c], ecx
mov esp, ebp
pop ebp
ret 4