Function at 0x10087b00
Capabilities:
Encode data using add xor sub operations
Encode data using xor
Encrypt data using aes
Reference aes constants

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0x10]
push ebx
push esi
mov edx, dword [eax + 0x10]
xor edx, dword [ecx]
mov ebx, dword [eax + 0x14]
xor ebx, dword [ecx + 4]
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x10], edx
mov edx, dword [eax + 0x18]
xor edx, dword [ecx + 8]
mov dword [ebp + 8], edx
mov dword [ebp - 0x20], edx
mov edx, dword [eax + 0x1c]
xor edx, dword [ecx + 0xc]
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], edx
movzx ecx, cl
mov esi, dword [eax]
add eax, 0x20
movzx edx, bh
mov dword [ebp - 0x24], ebx
mov ecx, dword [ecx*4 + 0x10259a88]
xor ecx, dword [edx*4 + 0x10259e88]
mov dword [ebp - 8], ecx
movzx ecx, byte [ebp - 0x1e]
mov edx, dword [ebp - 8]
xor edx, dword [ecx*4 + 0x1025a288]
movzx ecx, byte [ebp - 0x19]
xor edx, dword [ecx*4 + 0x1025a688]
xor edx, dword [eax]
mov dword [ebp - 8], edx
movzx ecx, bl
mov ebx, dword [ebp + 8]
movzx edx, bh
mov ecx, dword [ecx*4 + 0x10259a88]
xor ecx, dword [edx*4 + 0x10259e88]
mov dword [ebp + 0x10], ecx
movzx ecx, byte [ebp - 0x1a]
mov edx, dword [ebp + 0x10]
xor edx, dword [ecx*4 + 0x1025a288]
movzx ecx, byte [ebp - 0x25]
xor edx, dword [ecx*4 + 0x1025a688]
xor edx, dword [eax + 4]
mov dword [ebp + 0x10], edx
movzx ecx, bl
mov ebx, dword [ebp - 0x18]
movzx edx, bh
mov ecx, dword [ecx*4 + 0x10259a88]
xor ecx, dword [edx*4 + 0x10259e88]
mov dword [ebp + 8], ecx
movzx ecx, byte [ebp - 0x26]
mov edx, dword [ebp + 8]
xor edx, dword [ecx*4 + 0x1025a288]
movzx ecx, byte [ebp - 0x21]
xor edx, dword [ecx*4 + 0x1025a688]
xor edx, dword [eax + 8]
mov dword [ebp + 8], edx
mov edx, dword [ebp - 0x10]
movzx edx, dh
movzx ecx, bl
mov ecx, dword [ecx*4 + 0x10259a88]
xor ecx, dword [edx*4 + 0x10259e88]
mov dword [ebp - 4], ecx
movzx ecx, byte [ebp - 0x22]
mov edx, dword [ebp - 4]
xor edx, dword [ecx*4 + 0x1025a288]
movzx ecx, byte [ebp - 0x1d]
xor edx, dword [ecx*4 + 0x1025a688]
xor edx, dword [eax + 0xc]
sub esi, 1
mov dword [ebp - 4], edx
mov dword [ebp - 0x18], esi
je 0x10087e42
push edi
nop
mov ecx, dword [ebp + 8]
shr ecx, 0x10
movzx ecx, cl
shr edx, 0x18
mov ebx, dword [ebp - 8]
mov edx, dword [edx*4 + 0x1025a688]
xor edx, dword [ecx*4 + 0x1025a288]
mov ecx, dword [ebp + 0x10]
shr ecx, 8
movzx ecx, cl
xor edx, dword [ecx*4 + 0x10259e88]
movzx ecx, bl
xor edx, dword [ecx*4 + 0x10259a88]
xor edx, dword [eax + 0x10]
mov ecx, dword [ebp - 4]
shr ecx, 0x10
mov dword [ebp - 0x10], edx
movzx edx, cl
mov ecx, dword [ebp + 8]
shr ecx, 8
movzx ecx, cl
mov edx, dword [edx*4 + 0x1025a288]
xor edx, dword [ecx*4 + 0x10259e88]
mov ecx, ebx
mov ebx, dword [ebp + 0x10]
shr ecx, 0x18
xor edx, dword [ecx*4 + 0x1025a688]
movzx ecx, bl
xor edx, dword [ecx*4 + 0x10259a88]
xor edx, dword [eax + 0x14]
mov ecx, dword [ebp - 4]
shr ecx, 8
movzx ecx, cl
mov dword [ebp - 0xc], edx
mov edx, ebx
shr edx, 0x18
mov ebx, dword [ecx*4 + 0x10259e88]
xor ebx, dword [edx*4 + 0x1025a688]
mov edx, dword [ebp - 8]
mov ecx, edx
shr ecx, 0x10
movzx ecx, cl
shr edx, 8
xor ebx, dword [ecx*4 + 0x1025a288]
mov ecx, dword [ebp + 8]
movzx ecx, cl
xor ebx, dword [ecx*4 + 0x10259a88]
xor ebx, dword [eax + 0x18]
mov ecx, dword [ebp + 0x10]
shr ecx, 0x10
movzx ecx, cl
mov dword [ebp - 0x14], ebx
mov ebx, dword [ebp + 8]
shr ebx, 0x18
mov ebx, dword [ebx*4 + 0x1025a688]
xor ebx, dword [ecx*4 + 0x1025a288]
movzx ecx, dl
xor ebx, dword [ecx*4 + 0x10259e88]
mov ecx, dword [ebp - 4]
movzx ecx, cl
xor ebx, dword [ecx*4 + 0x10259a88]
xor ebx, dword [eax + 0x1c]
add eax, 0x20
mov ecx, ebx
sar ecx, 0x18
movzx edx, cl
mov ecx, dword [ebp - 0x14]
sar ecx, 0x10
movzx ecx, cl
mov edx, dword [edx*4 + 0x1025a688]
xor edx, dword [ecx*4 + 0x1025a288]
mov ecx, dword [ebp - 0xc]
sar ecx, 8
movzx ecx, cl
xor edx, dword [ecx*4 + 0x10259e88]
mov ecx, dword [ebp - 0x10]
movzx ecx, cl
xor edx, dword [ecx*4 + 0x10259a88]
mov ecx, ebx
xor edx, dword [eax]
mov dword [ebp - 8], edx
sar ecx, 0x10
movzx edx, cl
mov ecx, dword [ebp - 0x14]
sar ecx, 8
movzx ecx, cl
mov edx, dword [edx*4 + 0x1025a288]
xor edx, dword [ecx*4 + 0x10259e88]
mov ecx, dword [ebp - 0x10]
sar ecx, 0x18
movzx ecx, cl
xor edx, dword [ecx*4 + 0x1025a688]
mov ecx, dword [ebp - 0xc]
movzx ecx, cl
xor edx, dword [ecx*4 + 0x10259a88]
mov ecx, ebx
xor edx, dword [eax + 4]
sar ecx, 8
mov dword [ebp + 0x10], edx
movzx edx, cl
mov ecx, dword [ebp - 0xc]
sar ecx, 0x18
movzx ecx, cl
mov edx, dword [edx*4 + 0x10259e88]
xor edx, dword [ecx*4 + 0x1025a688]
mov ecx, dword [ebp - 0x10]
sar ecx, 0x10
movzx ecx, cl
xor edx, dword [ecx*4 + 0x1025a288]
mov dword [ebp + 8], edx
mov edx, dword [ebp - 0x14]
mov esi, dword [ebp + 8]
movzx ecx, dl
sar edx, 0x18
movzx edx, dl
xor esi, dword [ecx*4 + 0x10259a88]
mov ecx, esi
mov dword [ebp + 8], esi
xor ecx, dword [eax + 8]
mov edx, dword [edx*4 + 0x1025a688]
mov dword [ebp + 8], ecx
mov ecx, dword [ebp - 0xc]
sar ecx, 0x10
movzx ecx, cl
xor edx, dword [ecx*4 + 0x1025a288]
mov ecx, dword [ebp - 0x10]
sar ecx, 8
movzx ecx, cl
xor edx, dword [ecx*4 + 0x10259e88]
movzx ecx, bl
xor edx, dword [ecx*4 + 0x10259a88]
xor edx, dword [eax + 0xc]
sub dword [ebp - 0x18], 1
mov dword [ebp - 4], edx
jne 0x10087c30
pop edi
mov ecx, edx
mov ebx, dword [ebp - 8]
shr ecx, 0x18
mov esi, dword [ebp + 0xc]
movzx edx, byte [ecx + str.cw]
mov ecx, dword [ebp + 8]
shr ecx, 0x10
movzx ecx, cl
shl edx, 8
movzx ecx, byte [ecx + str.cw]
or edx, ecx
mov ecx, dword [ebp + 0x10]
shr ecx, 8
movzx ecx, cl
shl edx, 8
movzx ecx, byte [ecx + str.cw]
or edx, ecx
movzx ecx, bl
shl edx, 8
movzx ecx, byte [ecx + str.cw]
or edx, ecx
mov ecx, ebx
xor edx, dword [eax + 0x10]
shr ecx, 0x18
mov dword [esi], edx
movzx edx, byte [ecx + str.cw]
mov ecx, dword [ebp - 4]
shr ecx, 0x10
movzx ecx, cl
shl edx, 8
movzx ecx, byte [ecx + str.cw]
or edx, ecx
mov ecx, dword [ebp + 8]
shr ecx, 8
movzx ecx, cl
shl edx, 8
movzx ecx, byte [ecx + str.cw]
or edx, ecx
mov ecx, dword [ebp + 0x10]
movzx ecx, cl
shl edx, 8
movzx ecx, byte [ecx + str.cw]
or edx, ecx
mov ecx, dword [ebp + 0x10]
xor edx, dword [eax + 0x14]
shr ecx, 0x18
mov dword [esi + 4], edx
movzx edx, byte [ecx + str.cw]
mov ecx, ebx
shr ecx, 0x10
movzx ecx, cl
shl edx, 8
shr ebx, 8
movzx ecx, byte [ecx + str.cw]
or edx, ecx
mov ecx, dword [ebp - 4]
shr ecx, 8
movzx ecx, cl
shl edx, 8
movzx ecx, byte [ecx + str.cw]
or edx, ecx
mov ecx, dword [ebp + 8]
movzx ecx, cl
shl edx, 8
movzx ecx, byte [ecx + str.cw]
or edx, ecx
mov ecx, dword [ebp + 8]
xor edx, dword [eax + 0x18]
shr ecx, 0x18
mov dword [esi + 8], edx
movzx edx, byte [ecx + str.cw]
mov ecx, dword [ebp + 0x10]
shr ecx, 0x10
movzx ecx, cl
shl edx, 8
movzx ecx, byte [ecx + str.cw]
or edx, ecx
movzx ecx, bl
shl edx, 8
movzx ecx, byte [ecx + str.cw]
or edx, ecx
mov ecx, dword [ebp - 4]
movzx ecx, cl
shl edx, 8
movzx ecx, byte [ecx + str.cw]
or edx, ecx
xor edx, dword [eax + 0x1c]
mov dword [esi + 0xc], edx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret