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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 8]
and dword [ebp - 0x10], 0
push ebx
push esi
mov esi, dword [ebp + 0xc]
push edi
lea edi, [eax + 8]
mov eax, dword [eax + 4]
dec eax
mov ecx, dword [esi + 4]
test eax, eax
jle 0x10076dd1
mov eax, dword [esi + 8]
mov dword [ebp - 4], eax
mov eax, dword [esi + 0xc]
mov dword [ebp - 8], eax
mov eax, dword [edi]
xor dword [esi], eax
mov ebx, dword [edi + 4]
xor ebx, ecx
mov edx, dword [esi]
mov dword [esi + 4], ebx
mov eax, dword [edi + 8]
xor eax, dword [ebp - 4]
mov dword [esi + 8], eax
mov ecx, dword [edi + 0xc]
add edi, 0x10
xor ecx, dword [ebp - 8]
mov dword [ebp - 0x18], eax
movzx eax, byte [esi + 9]
mov dword [esi + 0xc], ecx
movzx ecx, cl
mov eax, dword [eax*4 + 0x101842c0]
xor eax, dword [ecx*4 + 0x101846c0]
mov dword [ebp - 0xc], eax
movzx eax, byte [esi + 6]
mov ecx, dword [ebp - 0xc]
xor ecx, dword [eax*4 + 0x10183ec0]
movzx eax, byte [esi + 3]
xor ecx, dword [eax*4 + 0x10183ac0]
movzx eax, byte [esi + 0xa]
mov dword [ebp - 0xc], ecx
movzx ecx, dl
mov edx, dword [eax*4 + 0x10183ec0]
movzx eax, byte [esi + 7]
xor edx, dword [ecx*4 + 0x101846c0]
movzx ecx, byte [esi + 0xb]
xor edx, dword [eax*4 + 0x10183ac0]
movzx eax, byte [esi + 0xd]
xor edx, dword [eax*4 + 0x101842c0]
movzx eax, byte [esi + 1]
mov eax, dword [eax*4 + 0x101842c0]
xor eax, dword [ecx*4 + 0x10183ac0]
movzx ecx, byte [esi + 2]
mov dword [ebp - 4], eax
movzx eax, bl
mov ebx, dword [ebp - 4]
xor ebx, dword [eax*4 + 0x101846c0]
movzx eax, byte [esi + 0xe]
xor ebx, dword [eax*4 + 0x10183ec0]
movzx eax, byte [esi + 5]
mov dword [esi + 4], edx
mov dword [esi + 8], ebx
mov dword [ebp - 4], ebx
mov eax, dword [eax*4 + 0x101842c0]
xor eax, dword [ecx*4 + 0x10183ec0]
mov dword [ebp - 8], eax
movzx eax, byte [esi + 0xf]
mov ecx, dword [ebp - 8]
xor ecx, dword [eax*4 + 0x10183ac0]
mov eax, dword [ebp - 0x18]
movzx eax, al
xor ecx, dword [eax*4 + 0x101846c0]
mov eax, dword [ebp - 0xc]
mov dword [esi], eax
mov eax, dword [ebp + 8]
mov dword [esi + 0xc], ecx
mov dword [ebp - 8], ecx
mov ecx, dword [ebp - 0x10]
mov eax, dword [eax + 4]
inc ecx
dec eax
mov dword [ebp - 0x10], ecx
cmp ecx, eax
mov ecx, edx
jl 0x10076cb9
jmp 0x10076de2
mov eax, dword [esi]
mov dword [ebp - 0xc], eax
mov eax, dword [esi + 8]
mov dword [ebp - 4], eax
mov eax, dword [esi + 0xc]
mov dword [ebp - 8], eax
mov edx, dword [edi]
xor edx, dword [ebp - 0xc]
mov dword [esi], edx
mov ebx, dword [edi + 4]
xor ebx, ecx
mov dword [esi + 4], ebx
mov eax, dword [edi + 8]
xor eax, dword [ebp - 4]
mov dword [esi + 8], eax
mov ecx, dword [edi + 0xc]
add edi, 0x10
mov dword [ebp - 0x18], eax
movzx eax, byte [esi + 3]
xor ecx, dword [ebp - 8]
mov dword [ebp + 8], edi
mov dword [esi + 0xc], ecx
movzx edi, byte [eax + str.cw]
movzx eax, byte [esi + 6]
shl edi, 8
movzx eax, byte [eax + str.cw]
or edi, eax
movzx eax, byte [esi + 9]
shl edi, 8
movzx eax, byte [eax + str.cw]
or edi, eax
movzx eax, cl
mov ecx, dword [ebp + 0xc]
shl edi, 8
movzx eax, byte [eax + str.cw]
or edi, eax
movzx eax, byte [esi + 7]
movzx esi, byte [eax + str.cw]
movzx eax, byte [ecx + 0xa]
shl esi, 8
movzx eax, byte [eax + str.cw]
or esi, eax
movzx eax, byte [ecx + 0xd]
shl esi, 8
movzx eax, byte [eax + str.cw]
or esi, eax
movzx eax, dl
shl esi, 8
movzx eax, byte [eax + str.cw]
or esi, eax
movzx eax, byte [ecx + 0xb]
movzx edx, byte [eax + str.cw]
movzx eax, byte [ecx + 0xe]
shl edx, 8
movzx eax, byte [eax + str.cw]
or edx, eax
movzx eax, byte [ecx + 1]
shl edx, 8
movzx eax, byte [eax + str.cw]
or edx, eax
movzx eax, bl
mov ebx, ecx
shl edx, 8
movzx eax, byte [eax + str.cw]
or edx, eax
movzx eax, byte [ebx + 0xf]
mov dword [ebx + 8], edx
movzx ecx, byte [eax + str.cw]
movzx eax, byte [ebx + 2]
shl ecx, 8
mov dword [ebx], edi
movzx eax, byte [eax + str.cw]
or ecx, eax
movzx eax, byte [ebx + 5]
shl ecx, 8
mov dword [ebx + 4], esi
movzx eax, byte [eax + str.cw]
or ecx, eax
mov eax, dword [ebp - 0x18]
movzx eax, al
shl ecx, 8
movzx eax, byte [eax + str.cw]
or ecx, eax
mov eax, dword [ebp + 8]
mov dword [ebx + 0xc], ecx
mov eax, dword [eax]
xor eax, edi
mov edi, dword [ebp + 8]
mov dword [ebx], eax
mov eax, dword [edi + 4]
xor eax, esi
mov dword [ebx + 4], eax
mov eax, dword [edi + 8]
xor eax, edx
mov dword [ebx + 8], eax
mov eax, dword [edi + 0xc]
pop edi
xor eax, ecx
pop esi
mov dword [ebx + 0xc], eax
pop ebx
leave
ret