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

Disassembly:
sub esp, 0x28
mov edx, dword [eax + 0x14]
push ebx
mov ebx, dword [eax + 0x1c]
push ebp
push esi
mov esi, ecx
xor ebx, dword [esi + 0xc]
xor edx, dword [esi + 4]
mov ecx, dword [eax]
mov dword [esp + 0xc], ecx
mov ecx, dword [eax + 0x18]
xor ecx, dword [esi + 8]
push edi
mov edi, dword [eax + 0x10]
xor edi, dword [esi]
mov esi, ebx
shr esi, 8
mov ebp, edi
shr ebp, 0x10
and ebp, 0xff
and esi, 0xff
mov esi, dword [esi*4 + 0x425b58]
xor esi, dword [ebp*4 + 0x425f58]
mov ebp, edx
shr ebp, 0x18
xor esi, dword [ebp*4 + 0x426358]
mov ebp, ecx
and ebp, 0xff
xor esi, dword [ebp*4 + 0x425758]
mov dword [esp + 0x2c], edx
mov ebp, ecx
shr ebp, 0x10
and ebp, 0xff
shr edx, 8
and edx, 0xff
mov dword [esp + 0x14], edx
mov edx, dword [ebp*4 + 0x425f58]
mov ebp, dword [esp + 0x14]
xor edx, dword [ebp*4 + 0x425b58]
mov ebp, ebx
shr ebp, 0x18
xor edx, dword [ebp*4 + 0x426358]
mov ebp, edi
and ebp, 0xff
xor edx, dword [ebp*4 + 0x425758]
mov ebp, dword [esp + 0x2c]
shr ebp, 0x10
mov dword [esp + 0x28], edi
and ebp, 0xff
mov ebp, dword [ebp*4 + 0x425f58]
shr edi, 8
xor esi, dword [eax + 0x28]
xor edx, dword [eax + 0x20]
and edi, 0xff
xor ebp, dword [edi*4 + 0x425b58]
mov edi, ecx
shr edi, 0x18
xor ebp, dword [edi*4 + 0x426358]
mov edi, ebx
shr ebx, 0x10
and ebx, 0xff
mov ebx, dword [ebx*4 + 0x425f58]
shr ecx, 8
and ecx, 0xff
xor ebx, dword [ecx*4 + 0x425b58]
mov ecx, dword [esp + 0x28]
shr ecx, 0x18
xor ebx, dword [ecx*4 + 0x426358]
mov ecx, dword [esp + 0x2c]
add eax, 0x20
and edi, 0xff
xor ebp, dword [edi*4 + 0x425758]
and ecx, 0xff
xor ebx, dword [ecx*4 + 0x425758]
xor ebp, dword [eax + 0xc]
xor ebx, dword [eax + 4]
dec dword [esp + 0x10]
mov dword [esp + 0x20], esi
mov dword [esp + 0x18], edx
je 0x41b14d
mov ecx, ebp
mov edi, edx
shr edi, 0x10
and edi, 0xff
shr ecx, 8
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x425b58]
xor ecx, dword [edi*4 + 0x425f58]
mov edi, ebx
shr edi, 0x18
xor ecx, dword [edi*4 + 0x426358]
mov edi, esi
and edi, 0xff
xor ecx, dword [edi*4 + 0x425758]
mov edi, ebx
shr edi, 8
and edi, 0xff
shr esi, 0x10
and esi, 0xff
mov dword [esp + 0x14], esi
mov esi, dword [edi*4 + 0x425b58]
mov edi, dword [esp + 0x14]
xor esi, dword [edi*4 + 0x425f58]
mov edi, ebp
shr edi, 0x18
xor esi, dword [edi*4 + 0x426358]
mov edi, edx
and edi, 0xff
xor esi, dword [edi*4 + 0x425758]
mov edi, ebx
shr edi, 0x10
and edi, 0xff
shr edx, 8
and edx, 0xff
mov dword [esp + 0x14], edx
mov edx, dword [edi*4 + 0x425f58]
mov edi, dword [esp + 0x14]
xor edx, dword [edi*4 + 0x425b58]
mov edi, dword [esp + 0x20]
shr edi, 0x18
xor edx, dword [edi*4 + 0x426358]
mov edi, ebp
xor esi, dword [eax + 0x10]
and edi, 0xff
xor edx, dword [edi*4 + 0x425758]
mov edi, dword [esp + 0x20]
xor edx, dword [eax + 0x1c]
shr ebp, 0x10
and ebp, 0xff
xor ecx, dword [eax + 0x18]
shr edi, 8
and edi, 0xff
mov dword [esp + 0x14], edi
mov edi, dword [ebp*4 + 0x425f58]
mov ebp, dword [esp + 0x14]
xor edi, dword [ebp*4 + 0x425b58]
mov ebp, dword [esp + 0x18]
shr ebp, 0x18
xor edi, dword [ebp*4 + 0x426358]
and ebx, 0xff
xor edi, dword [ebx*4 + 0x425758]
mov ebx, edx
xor edi, dword [eax + 0x14]
shr ebx, 8
and ebx, 0xff
mov ebx, dword [ebx*4 + 0x425b58]
mov ebp, esi
shr ebp, 0x10
and ebp, 0xff
xor ebx, dword [ebp*4 + 0x425f58]
mov ebp, edi
shr ebp, 0x18
xor ebx, dword [ebp*4 + 0x426358]
mov ebp, ecx
and ebp, 0xff
xor ebx, dword [ebp*4 + 0x425758]
add eax, 0x20
xor ebx, dword [eax + 8]
mov dword [esp + 0x20], ebx
mov ebx, ecx
shr ebx, 0x10
and ebx, 0xff
mov ebx, dword [ebx*4 + 0x425f58]
mov ebp, edi
shr ebp, 8
and ebp, 0xff
xor ebx, dword [ebp*4 + 0x425b58]
mov ebp, edx
shr ebp, 0x18
xor ebx, dword [ebp*4 + 0x426358]
mov ebp, esi
and ebp, 0xff
xor ebx, dword [ebp*4 + 0x425758]
mov ebp, esi
xor ebx, dword [eax]
shr ebp, 8
mov dword [esp + 0x18], ebx
mov ebx, edi
shr ebx, 0x10
and ebx, 0xff
mov ebx, dword [ebx*4 + 0x425f58]
and ebp, 0xff
xor ebx, dword [ebp*4 + 0x425b58]
mov ebp, ecx
shr ebp, 0x18
xor ebx, dword [ebp*4 + 0x426358]
mov ebp, edx
and ebp, 0xff
xor ebx, dword [ebp*4 + 0x425758]
shr edx, 0x10
xor ebx, dword [eax + 0xc]
and edx, 0xff
mov ebp, ebx
mov ebx, dword [edx*4 + 0x425f58]
mov edx, dword [esp + 0x18]
shr ecx, 8
and ecx, 0xff
xor ebx, dword [ecx*4 + 0x425b58]
shr esi, 0x18
xor ebx, dword [esi*4 + 0x426358]
mov esi, dword [esp + 0x20]
and edi, 0xff
xor ebx, dword [edi*4 + 0x425758]
xor ebx, dword [eax + 4]
dec dword [esp + 0x10]
jne 0x41af11
mov ecx, esi
shr ecx, 0x10
and ecx, 0xff
movzx ecx, byte [ecx + 0x4253d0]
mov edi, ebp
shr edi, 0x18
movzx edi, byte [edi + 0x4253d0]
shl edi, 8
or ecx, edi
shl ecx, 8
mov edi, ebx
shr edi, 8
and edi, 0xff
movzx edi, byte [edi + 0x4253d0]
or ecx, edi
shl ecx, 8
mov edi, edx
and edi, 0xff
movzx edi, byte [edi + 0x4253d0]
or ecx, edi
xor ecx, dword [eax + 0x10]
mov edi, dword [esp + 0x3c]
mov dword [edi], ecx
mov edi, edx
shr edi, 0x18
movzx edi, byte [edi + 0x4253d0]
shl edi, 8
mov ecx, ebp
shr ecx, 0x10
and ecx, 0xff
movzx ecx, byte [ecx + 0x4253d0]
or ecx, edi
shl ecx, 8
mov edi, esi
shr edi, 8
and edi, 0xff
movzx edi, byte [edi + 0x4253d0]
or ecx, edi
shl ecx, 8
mov edi, ebx
and edi, 0xff
movzx edi, byte [edi + 0x4253d0]
or ecx, edi
xor ecx, dword [eax + 0x14]
mov edi, dword [esp + 0x3c]
mov dword [edi + 4], ecx
mov ecx, edx
shr ecx, 0x10
and ecx, 0xff
movzx edi, byte [ecx + 0x4253d0]
mov ecx, ebx
shr ecx, 0x18
movzx ecx, byte [ecx + 0x4253d0]
shl ecx, 8
or edi, ecx
mov ecx, ebp
shr ecx, 8
and ecx, 0xff
movzx ecx, byte [ecx + 0x4253d0]
shl edi, 8
or edi, ecx
mov ecx, esi
and ecx, 0xff
movzx ecx, byte [ecx + 0x4253d0]
shl edi, 8
or edi, ecx
xor edi, dword [eax + 0x18]
mov ecx, dword [esp + 0x3c]
mov dword [ecx + 8], edi
shr esi, 0x18
movzx esi, byte [esi + 0x4253d0]
shr ebx, 0x10
and ebx, 0xff
movzx edi, byte [ebx + 0x4253d0]
shr edx, 8
shl esi, 8
and edx, 0xff
movzx edx, byte [edx + 0x4253d0]
or edi, esi
shl edi, 8
or edi, edx
and ebp, 0xff
movzx edx, byte [ebp + 0x4253d0]
shl edi, 8
or edi, edx
xor edi, dword [eax + 0x1c]
mov dword [ecx + 0xc], edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret 4