Function at 0x1000a2d0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60
mov eax, dword [0x10163034]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 0xc]
xorps xmm0, xmm0
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 8]
push edi
xor edi, edi
mov dword [ebp - 0x50], esi
movlpd qword [ebp - 0xc], xmm0
movups xmmword [ebp - 0x4c], xmm0
movups xmmword [ebp - 0x3c], xmm0
movups xmmword [ebp - 0x2c], xmm0
movups xmmword [ebp - 0x1c], xmm0
test ebx, ebx
je 0x1000a328
mov esi, 6
cmp byte [edx], 6
movzx ecx, byte [edx]
cmova ecx, esi
inc edx
mov byte [ebp + edi - 0xc], cl
inc edi
cmp edi, ebx
jb 0x1000a312
mov esi, dword [ebp - 0x50]
xor edi, edi
test ebx, ebx
je 0x1000a354
nop
movzx ecx, byte [edx + 1]
movzx eax, byte [edx]
add edx, 2
shl ecx, 8
or ecx, eax
xor ecx, 0x8000
sub ecx, 0x8000
mov dword [ebp + edi*4 - 0x4c], ecx
inc edi
cmp edi, ebx
jb 0x1000a330
xor edi, edi
test ebx, ebx
je 0x1000a37b
nop word [eax + eax]
movzx ecx, byte [edx + 1]
movzx eax, byte [edx]
add edx, 2
shl cx, 8
or cx, ax
mov word [ebp + edi*4 - 0x2c], cx
inc edi
cmp edi, ebx
jb 0x1000a360
xor edi, edi
test ebx, ebx
je 0x1000a39c
movzx ecx, byte [edx + 1]
movzx eax, byte [edx]
add edx, 2
shl cx, 8
or cx, ax
mov word [ebp + edi*4 - 0x2a], cx
inc edi
cmp edi, ebx
jb 0x1000a381
xor ecx, ecx
test ebx, ebx
je 0x1000a3b5
mov ax, word [ebp + ecx*4 - 0x2a]
inc ecx
mov word [esi], ax
add esi, 2
cmp ecx, ebx
jb 0x1000a3a2
mov dword [ebp - 0x50], esi
xor ecx, ecx
test ebx, ebx
je 0x1000a3d3
nop dword [eax + eax]
mov ax, word [ebp + ecx*4 - 0x2c]
inc ecx
mov word [esi], ax
add esi, 2
cmp ecx, ebx
jb 0x1000a3c0
mov dword [ebp - 0x50], esi
mov ecx, dword [ebp + 0x14]
xor eax, eax
cmp ecx, 2
jbe 0x1000a4e0
add ecx, 0xfffffffe
mov dword [ebp - 0x60], ecx
xor edi, edi
mov dword [ebp - 0x54], edi
test ebx, ebx
je 0x1000a4d4
mov esi, eax
inc eax
mov dword [ebp - 0x5c], eax
mov al, byte [edx]
and esi, 1
jne 0x1000a406
shr al, 4
jmp 0x1000a408
and al, 0xf
lea ecx, [edx + 1]
movzx ebx, al
test esi, esi
movzx esi, word [ebp + edi*4 - 0x2c]
movsx eax, si
cmovne edx, ecx
mov ecx, dword [ebp - 0x54]
mov dword [ebp - 0x58], edx
movzx edx, byte [ebp + edi - 0xc]
mov edi, dword [ebp + edi*4 - 0x4c]
movsx ecx, word [ebp + ecx*4 - 0x2a]
imul eax, dword [edx*8 + 0x1008f640]
imul ecx, dword [edx*8 + 0x1008f644]
add eax, ecx
mov ecx, ebx
cdq
xor ecx, 8
and edx, 0xff
sub ecx, 8
add edx, eax
imul ecx, edi
sar edx, 8
mov eax, 0xffff8000
add edx, ecx
mov ecx, 0x7fff
cmp edx, 0xffff8000
cmovl edx, eax
mov eax, dword [ebp - 0x54]
cmp edx, ecx
mov word [ebp + eax*4 - 0x2a], si
mov esi, dword [ebp - 0x50]
movzx eax, dx
cmovl ecx, eax
mov eax, dword [ebp - 0x54]
movzx ecx, cx
mov word [esi], cx
mov word [ebp + eax*4 - 0x2c], cx
mov eax, dword [ebx*4 + 0x1008f600]
mov ebx, dword [ebp + 0x10]
imul eax, edi
mov edi, dword [ebp - 0x54]
cdq
and edx, 0xff
add eax, edx
mov edx, 0x10
sar eax, 8
cmp eax, 0x10
cmovl eax, edx
mov edx, dword [ebp - 0x58]
mov dword [ebp + edi*4 - 0x4c], eax
add esi, 2
mov eax, dword [ebp - 0x5c]
inc edi
mov dword [ebp - 0x50], esi
mov dword [ebp - 0x54], edi
cmp edi, ebx
jb 0x1000a3f4
mov ecx, dword [ebp - 0x60]
sub ecx, 1
mov dword [ebp - 0x60], ecx
jne 0x1000a3e7
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10001abe
mov esp, ebp
pop ebp
ret