Function at 0x10076880
Capabilities:
Encode data using xor
Encrypt data using aes
Reference aes constants

Disassembly:
sub esp, 0x14
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x20]
push ebx
mov ebx, dword [esp + 0x1c]
push ebp
push esi
mov esi, dword [ebx + 4]
push edi
shl eax, 4
mov ebp, dword [eax + ecx]
mov edx, dword [eax + ecx + 4]
lea edi, [eax + ecx]
mov eax, dword [ebx]
xor eax, ebp
mov ebp, dword [ebx + 8]
xor edx, esi
mov esi, dword [edi + 8]
mov edi, dword [edi + 0xc]
xor esi, ebp
mov ebp, dword [ebx + 0xc]
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], esi
xor edi, ebp
mov ebx, dword [esp + 0x17]
mov dword [esp + 0x1c], edi
mov ebp, dword [esp + 0x1a]
and ebx, 0xff
and ebp, 0xff
mov dword [esp + 0x10], eax
mov ebx, dword [ebx*4 + 0x10099720]
and eax, 0xff
xor ebx, dword [ebp*4 + 0x10099320]
mov ebp, dword [esp + 0x1d]
and ebp, 0xff
and edx, 0xff
and esi, 0xff
and edi, 0xff
xor ebx, dword [ebp*4 + 0x10098f20]
mov ebp, dword [eax*4 + 0x10098b20]
mov eax, dword [esp + 0x2c]
xor ebx, ebp
mov ebp, dword [esp + 0x1e]
mov dword [eax], ebx
mov ebx, dword [esp + 0x1b]
and ebx, 0xff
and ebp, 0xff
mov ebx, dword [ebx*4 + 0x10099720]
xor ebx, dword [ebp*4 + 0x10099320]
mov ebp, dword [esp + 0x11]
and ebp, 0xff
xor ebx, dword [ebp*4 + 0x10098f20]
mov ebp, dword [edx*4 + 0x10098b20]
mov edx, dword [esp + 0x1f]
xor ebx, ebp
and edx, 0xff
mov dword [eax + 4], ebx
mov ebx, dword [esp + 0x12]
mov edx, dword [edx*4 + 0x10099720]
and ebx, 0xff
mov ebp, dword [ebx*4 + 0x10099320]
mov ebx, dword [esp + 0x15]
and ebx, 0xff
xor edx, ebp
mov ebp, dword [ebx*4 + 0x10098f20]
mov ebx, dword [esi*4 + 0x10098b20]
mov esi, dword [esp + 0x16]
xor edx, ebp
xor edx, ebx
and esi, 0xff
mov dword [eax + 8], edx
mov edx, dword [esp + 0x13]
mov ebx, dword [esi*4 + 0x10099320]
mov esi, dword [esp + 0x19]
and edx, 0xff
and esi, 0xff
mov edx, dword [edx*4 + 0x10099720]
xor edx, ebx
mov ebx, dword [esi*4 + 0x10098f20]
xor edx, ebx
mov ebx, dword [edi*4 + 0x10098b20]
xor edx, ebx
mov dword [eax + 0xc], edx
mov edx, dword [esp + 0x34]
dec edx
cmp edx, 1
jle 0x10076b72
mov esi, edx
shl esi, 4
dec edx
lea edi, [esi + ecx + 8]
mov dword [esp + 0x28], edx
mov dword [esp + 0x34], edi
mov edx, dword [edi - 4]
mov esi, dword [eax + 4]
mov ecx, dword [edi - 8]
mov ebx, dword [eax]
mov ebp, dword [eax + 8]
xor edx, esi
mov esi, dword [edi]
mov edi, dword [edi + 4]
xor ecx, ebx
mov ebx, dword [eax + 0xc]
xor esi, ebp
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], esi
xor edi, ebx
mov ebx, dword [esp + 0x17]
mov dword [esp + 0x1c], edi
mov ebp, dword [esp + 0x1a]
and ebx, 0xff
and ebp, 0xff
mov dword [esp + 0x10], ecx
mov ebx, dword [ebx*4 + 0x10099720]
and ecx, 0xff
xor ebx, dword [ebp*4 + 0x10099320]
mov ebp, dword [esp + 0x1d]
and ebp, 0xff
and edx, 0xff
and esi, 0xff
and edi, 0xff
xor ebx, dword [ebp*4 + 0x10098f20]
mov ebp, dword [ecx*4 + 0x10098b20]
mov ecx, dword [esp + 0x1b]
xor ebx, ebp
and ecx, 0xff
mov dword [eax], ebx
mov ebx, dword [esp + 0x1e]
mov ecx, dword [ecx*4 + 0x10099720]
and ebx, 0xff
mov ebp, dword [ebx*4 + 0x10099320]
mov ebx, dword [esp + 0x11]
and ebx, 0xff
xor ecx, ebp
mov ebp, dword [ebx*4 + 0x10098f20]
mov ebx, dword [edx*4 + 0x10098b20]
xor ecx, ebp
mov edx, dword [esp + 0x1f]
xor ecx, ebx
and edx, 0xff
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x12]
mov edx, dword [edx*4 + 0x10099720]
and ecx, 0xff
mov ebx, dword [ecx*4 + 0x10099320]
mov ecx, dword [esp + 0x15]
and ecx, 0xff
xor edx, ebx
mov ebx, dword [ecx*4 + 0x10098f20]
mov ecx, dword [esp + 0x16]
xor edx, ebx
mov ebx, dword [esi*4 + 0x10098b20]
xor edx, ebx
and ecx, 0xff
mov dword [eax + 8], edx
mov edx, dword [esp + 0x13]
mov ebx, dword [ecx*4 + 0x10099320]
mov ecx, dword [esp + 0x19]
mov esi, dword [edi*4 + 0x10098b20]
mov edi, dword [esp + 0x34]
and edx, 0xff
and ecx, 0xff
sub edi, 0x10
mov edx, dword [edx*4 + 0x10099720]
mov ebp, dword [ecx*4 + 0x10098f20]
mov ecx, dword [esp + 0x28]
xor edx, ebx
xor edx, ebp
mov dword [esp + 0x34], edi
xor edx, esi
dec ecx
mov dword [eax + 0xc], edx
mov dword [esp + 0x28], ecx
jne 0x10076a07
mov ecx, dword [esp + 0x30]
mov esi, dword [ecx + 0x10]
mov ebp, dword [eax]
mov edi, dword [ecx + 0x14]
mov ebx, dword [eax + 4]
mov edx, dword [eax + 8]
xor esi, ebp
mov ebp, dword [ecx + 0x18]
xor edi, ebx
mov ebx, dword [eax + 0xc]
xor ebp, edx
mov edx, dword [ecx + 0x1c]
mov dword [esp + 0x10], esi
xor edx, ebx
and esi, 0xff
mov dword [esp + 0x1c], edx
mov dword [esp + 0x18], ebp
mov bl, byte [esi + 0x10099b20]
mov esi, dword [esp + 0x1d]
and esi, 0xff
mov byte [eax], bl
mov dword [esp + 0x14], edi
and edi, 0xff
mov bl, byte [esi + 0x10099b20]
mov esi, dword [esp + 0x1a]
and esi, 0xff
mov byte [eax + 1], bl
and ebp, 0xff
and edx, 0xff
mov bl, byte [esi + 0x10099b20]
mov esi, dword [esp + 0x17]
and esi, 0xff
mov byte [eax + 2], bl
mov bl, byte [esi + 0x10099b20]
mov esi, dword [esp + 0x11]
mov byte [eax + 3], bl
mov bl, byte [edi + 0x10099b20]
and esi, 0xff
mov byte [eax + 4], bl
mov bl, byte [esi + 0x10099b20]
mov esi, dword [esp + 0x1e]
and esi, 0xff
mov byte [eax + 5], bl
mov bl, byte [esi + 0x10099b20]
mov esi, dword [esp + 0x1b]
and esi, 0xff
mov byte [eax + 6], bl
mov bl, byte [esi + 0x10099b20]
mov esi, dword [esp + 0x15]
mov byte [eax + 7], bl
mov bl, byte [ebp + 0x10099b20]
and esi, 0xff
mov byte [eax + 8], bl
mov bl, byte [esi + 0x10099b20]
mov esi, dword [esp + 0x12]
and esi, 0xff
mov byte [eax + 9], bl
mov bl, byte [esi + 0x10099b20]
mov esi, dword [esp + 0x1f]
and esi, 0xff
mov byte [eax + 0xa], bl
mov bl, byte [esi + 0x10099b20]
mov byte [eax + 0xb], bl
mov dl, byte [edx + 0x10099b20]
mov byte [eax + 0xc], dl
mov edx, dword [esp + 0x19]
and edx, 0xff
mov ebx, dword [eax]
mov dl, byte [edx + 0x10099b20]
mov byte [eax + 0xd], dl
mov edx, dword [esp + 0x16]
and edx, 0xff
mov dl, byte [edx + 0x10099b20]
mov byte [eax + 0xe], dl
mov edx, dword [esp + 0x13]
and edx, 0xff
mov dl, byte [edx + 0x10099b20]
mov byte [eax + 0xf], dl
mov edx, dword [ecx]
xor ebx, edx
mov dword [eax], ebx
mov edx, dword [ecx + 4]
mov edi, dword [eax + 4]
mov esi, dword [eax + 8]
xor edi, edx
mov dword [eax + 4], edi
mov edx, dword [ecx + 8]
xor esi, edx
mov edx, dword [eax + 0xc]
mov dword [eax + 8], esi
mov ecx, dword [ecx + 0xc]
xor edx, ecx
pop edi
pop esi
mov dword [eax + 0xc], edx
pop ebp
xor eax, eax
pop ebx
add esp, 0x14
ret