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

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x10
mov ebx, dword [esp + 0x30]
mov eax, dword [esp + 0x2c]
mov ebp, dword [esp + 0x24]
shl ebx, 4
mov edx, dword [eax + ebx]
mov ecx, dword [eax + ebx + 4]
mov edi, dword [eax + ebx + 8]
mov ebx, dword [eax + ebx + 0xc]
xor edx, dword [ebp]
xor ebx, dword [ebp + 0xc]
xor edi, dword [ebp + 8]
xor ecx, dword [ebp + 4]
movzx eax, dl
movzx ebp, bh
mov esi, edi
mov dword [esp + 4], edi
mov edi, edx
mov dword [esp + 8], edx
mov dword [esp], eax
mov eax, dword [ebp*4 + 0x1171664]
mov ebp, esi
mov esi, ecx
mov edx, dword [esp]
shr ebp, 0xe
and ebp, 0x3fc
xor eax, dword [edx*4 + 0x1171264]
mov edx, ecx
shr edx, 0x18
xor eax, dword [ebp + 0x1171a64]
xor eax, dword [edx*4 + 0x1171e64]
mov edx, dword [esp + 0x28]
mov ebp, eax
mov dword [edx], eax
movzx eax, cl
mov dword [esp], eax
mov eax, edi
mov edi, esi
movzx edx, ah
mov ecx, dword [esp]
shr edi, 0xe
mov eax, dword [edx*4 + 0x1171664]
mov edx, ebx
and edi, 0x3fc
shr edx, 0xe
and edx, 0x3fc
xor eax, dword [ecx*4 + 0x1171264]
mov ecx, dword [esp + 4]
xor eax, dword [edx + 0x1171a64]
mov edx, ecx
shr edx, 0x18
xor eax, dword [edx*4 + 0x1171e64]
mov edx, esi
mov esi, dword [esp + 0x28]
movzx edx, dh
mov dword [esi + 4], eax
mov dword [esp], eax
movzx esi, cl
mov eax, dword [edx*4 + 0x1171664]
xor eax, dword [esi*4 + 0x1171264]
mov esi, dword [esp + 8]
mov ecx, esi
shr ecx, 0xe
and ecx, 0x3fc
xor eax, dword [ecx + 0x1171a64]
movzx ecx, bl
shr ebx, 0x18
xor eax, dword [ebx*4 + 0x1171e64]
mov ebx, eax
mov eax, dword [esp + 4]
movzx edx, ah
mov eax, dword [esp + 0x28]
mov dword [eax + 8], ebx
mov eax, esi
mov esi, dword [esp + 0x28]
mov edx, dword [edx*4 + 0x1171664]
shr eax, 0x18
xor edx, dword [ecx*4 + 0x1171264]
mov ecx, dword [esp + 0x30]
xor edx, dword [edi + 0x1171a64]
dec ecx
xor edx, dword [eax*4 + 0x1171e64]
cmp ecx, 2
mov dword [esi + 0xc], edx
jge 0xfd2350
mov ecx, dword [esp]
mov edi, ebp
jmp 0xfd2489
mov eax, ecx
mov esi, ebx
mov ecx, eax
mov dword [esp + 8], eax
mov eax, dword [esp + 0x2c]
shl ecx, 4
mov edi, eax
xor ebp, dword [eax + ecx]
mov eax, dword [esp]
xor edx, dword [edi + ecx + 0xc]
xor esi, dword [edi + ecx + 8]
mov ebx, ebp
xor eax, dword [edi + ecx + 4]
mov dword [esp + 4], ebp
movzx ecx, bl
movzx ebx, dh
mov ebp, dword [ebx*4 + 0x1171664]
mov ebx, esi
mov edi, ebx
mov dword [esp], eax
shr eax, 0x18
xor ebp, dword [ecx*4 + 0x1171264]
mov ecx, esi
shr ecx, 0xe
and ecx, 0x3fc
xor ebp, dword [ecx + 0x1171a64]
mov ecx, dword [esp + 4]
xor ebp, dword [eax*4 + 0x1171e64]
mov eax, dword [esp + 0x28]
movzx ecx, ch
mov dword [eax], ebp
mov esi, eax
movzx eax, byte [esp]
mov ecx, dword [ecx*4 + 0x1171664]
xor ecx, dword [eax*4 + 0x1171264]
mov eax, edx
shr eax, 0xe
and eax, 0x3fc
xor ecx, dword [eax + 0x1171a64]
mov eax, ebx
shr eax, 0x18
xor ecx, dword [eax*4 + 0x1171e64]
movzx eax, bl
mov ebx, dword [esp]
mov dword [esi + 4], ecx
movzx ebx, bh
mov esi, dword [esp + 0x28]
mov ebx, dword [ebx*4 + 0x1171664]
xor ebx, dword [eax*4 + 0x1171264]
mov eax, dword [esp + 4]
shr eax, 0xe
and eax, 0x3fc
xor ebx, dword [eax + 0x1171a64]
mov eax, edx
shr eax, 0x18
xor ebx, dword [eax*4 + 0x1171e64]
movzx eax, dl
mov dword [esp + 0xc], eax
mov eax, edi
mov edi, dword [esp]
mov dword [esp], ecx
movzx edx, ah
mov eax, dword [esp + 4]
mov dword [esi + 8], ebx
mov esi, dword [esp + 0xc]
mov edx, dword [edx*4 + 0x1171664]
shr edi, 0xe
and edi, 0x3fc
shr eax, 0x18
xor edx, dword [esi*4 + 0x1171264]
mov esi, dword [esp + 8]
xor edx, dword [edi + 0x1171a64]
dec esi
mov edi, ebp
xor edx, dword [eax*4 + 0x1171e64]
mov eax, dword [esp + 0x28]
cmp esi, 1
mov dword [eax + 0xc], edx
mov eax, esi
mov esi, ebx
jg 0xfd2354
mov esi, dword [esp + 0x2c]
xor ebx, dword [esi + 0x18]
xor edx, dword [esi + 0x1c]
xor edi, dword [esi + 0x10]
xor ecx, dword [esi + 0x14]
mov eax, ebx
shr eax, 0x10
movzx eax, al
mov dword [esp], eax
mov eax, edx
shr eax, 0x10
movzx eax, al
mov dword [esp + 4], eax
mov eax, edi
shr eax, 0x10
movzx eax, al
mov dword [esp + 8], eax
mov eax, edi
movzx ebp, al
mov al, byte [ebp + 0x1172264]
mov ebp, dword [esp + 0x28]
mov byte [ebp], al
movzx eax, dh
mov al, byte [eax + 0x1172264]
mov byte [ebp + 1], al
mov eax, dword [esp]
mov al, byte [eax + 0x1172264]
mov byte [ebp + 2], al
mov eax, ecx
shr eax, 0x18
mov al, byte [eax + 0x1172264]
mov byte [ebp + 3], al
movzx eax, cl
mov al, byte [eax + 0x1172264]
mov byte [ebp + 4], al
mov eax, edi
movzx eax, ah
mov al, byte [eax + 0x1172264]
mov byte [ebp + 5], al
mov eax, dword [esp + 4]
mov al, byte [eax + 0x1172264]
mov byte [ebp + 6], al
mov eax, ebx
shr eax, 0x18
mov al, byte [eax + 0x1172264]
mov byte [ebp + 7], al
movzx eax, bl
movzx ebx, bh
mov al, byte [eax + 0x1172264]
mov byte [ebp + 8], al
movzx eax, ch
shr ecx, 0x10
mov al, byte [eax + 0x1172264]
movzx ecx, cl
mov byte [ebp + 9], al
mov eax, dword [esp + 8]
mov al, byte [eax + 0x1172264]
mov byte [ebp + 0xa], al
mov eax, edx
movzx edx, dl
shr eax, 0x18
mov al, byte [eax + 0x1172264]
mov byte [ebp + 0xb], al
mov al, byte [edx + 0x1172264]
mov byte [ebp + 0xc], al
mov al, byte [ebx + 0x1172264]
mov byte [ebp + 0xd], al
mov al, byte [ecx + 0x1172264]
mov byte [ebp + 0xe], al
mov eax, edi
shr eax, 0x18
mov al, byte [eax + 0x1172264]
mov byte [ebp + 0xf], al
mov eax, dword [esi]
xor dword [ebp], eax
mov eax, dword [esi + 4]
xor dword [ebp + 4], eax
mov eax, dword [esi + 8]
xor dword [ebp + 8], eax
mov eax, dword [esi + 0xc]
xor dword [ebp + 0xc], eax
xor eax, eax
add esp, 0x10
pop esi
pop edi
pop ebx
pop ebp
ret