Function at 0x2123f
Capabilities:
Encrypt data using aes
Reference aes constants

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x20
push esi
push edi
mov esi, eax
mov edi, ecx
mov eax, dword [edi + 0xf0]
shr eax, 1
mov dword [ebp - 0x14], eax
cmp eax, 7
ja 0x21769
test eax, eax
je 0x21769
mov eax, dword [esi]
mov ecx, dword [esi + 4]
mov edx, dword [esi + 8]
mov esi, dword [esi + 0xc]
push ebx
mov ebx, eax
ror ebx, 8
rol eax, 8
mov dword [ebp - 0x10], ebx
xor eax, dword [ebp - 0x10]
mov ebx, ecx
ror ebx, 8
rol ecx, 8
mov dword [ebp - 0xc], ebx
xor ecx, dword [ebp - 0xc]
mov ebx, edx
ror ebx, 8
rol edx, 8
mov dword [ebp - 0x18], ebx
xor edx, dword [ebp - 0x18]
mov ebx, esi
ror ebx, 8
rol esi, 8
mov dword [ebp - 0x20], esi
mov esi, 0xff00ff
and eax, esi
xor eax, dword [ebp - 0x10]
and ecx, esi
xor eax, dword [edi]
xor ecx, dword [edi + 4]
mov dword [ebp - 4], eax
xor ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x20]
xor eax, ebx
and eax, esi
xor eax, dword [edi + 0xc]
mov dword [ebp - 8], ecx
xor eax, ebx
mov ebx, eax
shr eax, 0x10
movzx eax, al
mov eax, dword [eax*4 + 0x25190]
and edx, esi
xor edx, dword [edi + 8]
xor edx, dword [ebp - 0x18]
mov ecx, edx
shr ecx, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x25590]
mov ecx, dword [ebp - 4]
shr ecx, 0x18
xor eax, dword [ecx*4 + 0x24d90]
movzx ecx, byte [ebp - 8]
xor eax, dword [ecx*4 + 0x25990]
mov ecx, dword [ebp - 8]
xor eax, dword [edi + 0x10]
shr ecx, 0x18
mov dword [ebp - 0x10], eax
mov eax, ebx
shr eax, 8
movzx eax, al
mov dword [ebp - 0x20], ecx
mov ecx, dword [eax*4 + 0x25590]
mov eax, dword [ebp - 0x20]
xor ecx, dword [eax*4 + 0x24d90]
mov eax, dword [ebp - 4]
shr eax, 0x10
movzx eax, al
xor ecx, dword [eax*4 + 0x25190]
movzx eax, dl
xor ecx, dword [eax*4 + 0x25990]
mov eax, dword [ebp - 8]
xor ecx, dword [edi + 0x14]
shr eax, 0x10
mov dword [ebp - 0x18], edx
shr edx, 0x18
mov edx, dword [edx*4 + 0x24d90]
movzx eax, al
xor edx, dword [eax*4 + 0x25190]
mov eax, dword [ebp - 4]
shr eax, 8
movzx eax, al
xor edx, dword [eax*4 + 0x25590]
movzx eax, bl
xor edx, dword [eax*4 + 0x25990]
mov eax, dword [ebp - 0x18]
shr eax, 0x10
movzx eax, al
shr ebx, 0x18
mov dword [ebp - 0x20], eax
mov eax, dword [ebx*4 + 0x24d90]
mov ebx, dword [ebp - 0x20]
xor eax, dword [ebx*4 + 0x25190]
mov ebx, dword [ebp - 8]
shr ebx, 8
movzx ebx, bl
xor eax, dword [ebx*4 + 0x25590]
movzx ebx, byte [ebp - 4]
xor eax, dword [ebx*4 + 0x25990]
xor eax, dword [edi + 0x1c]
jmp 0x215ac
shr ebx, 0x10
movzx edi, bl
mov edi, dword [edi*4 + 0x25190]
mov ebx, edx
shr ebx, 8
movzx ebx, bl
xor edi, dword [ebx*4 + 0x25590]
mov ebx, dword [ebp - 0x10]
shr ebx, 0x18
mov dword [ebp - 0x20], edi
xor edi, dword [ebx*4 + 0x24d90]
movzx ebx, cl
xor edi, dword [ebx*4 + 0x25990]
mov ebx, dword [ebp - 0xc]
xor edi, dword [ebx]
mov ebx, eax
shr ebx, 8
mov dword [ebp - 4], edi
movzx edi, bl
mov edi, dword [edi*4 + 0x25590]
mov ebx, ecx
shr ebx, 0x18
xor edi, dword [ebx*4 + 0x24d90]
mov ebx, dword [ebp - 0x10]
shr ebx, 0x10
movzx ebx, bl
mov dword [ebp - 0x20], edi
xor edi, dword [ebx*4 + 0x25190]
movzx ebx, dl
xor edi, dword [ebx*4 + 0x25990]
mov ebx, dword [ebp - 0xc]
xor edi, dword [ebx + 4]
mov ebx, ecx
mov dword [ebp - 8], edi
mov edi, edx
shr ebx, 0x10
movzx ebx, bl
shr edi, 0x18
mov edi, dword [edi*4 + 0x24d90]
xor edi, dword [ebx*4 + 0x25190]
mov ebx, dword [ebp - 0x10]
shr ebx, 8
shr ecx, 8
mov dword [ebp - 0x20], edi
movzx edi, bl
mov ebx, dword [ebp - 0x20]
xor ebx, dword [edi*4 + 0x25590]
shr edx, 0x10
movzx ecx, cl
movzx edi, al
xor ebx, dword [edi*4 + 0x25990]
mov edi, dword [ebp - 0xc]
xor ebx, dword [edi + 8]
movzx edx, dl
shr eax, 0x18
mov eax, dword [eax*4 + 0x24d90]
xor eax, dword [edx*4 + 0x25190]
mov edx, ebx
xor eax, dword [ecx*4 + 0x25590]
movzx ecx, byte [ebp - 0x10]
xor eax, dword [ecx*4 + 0x25990]
shr edx, 8
xor eax, dword [edi + 0xc]
movzx edx, dl
mov ecx, eax
shr ecx, 0x10
movzx ecx, cl
mov ecx, dword [ecx*4 + 0x25190]
xor ecx, dword [edx*4 + 0x25590]
mov edx, dword [ebp - 4]
shr edx, 0x18
xor ecx, dword [edx*4 + 0x24d90]
movzx edx, byte [ebp - 8]
xor ecx, dword [edx*4 + 0x25990]
mov edx, dword [ebp - 8]
xor ecx, dword [edi + 0x10]
mov dword [ebp - 0x10], ecx
mov ecx, eax
shr ecx, 8
movzx ecx, cl
shr edx, 0x18
mov ecx, dword [ecx*4 + 0x25590]
xor ecx, dword [edx*4 + 0x24d90]
mov edx, dword [ebp - 4]
shr edx, 0x10
movzx edx, dl
xor ecx, dword [edx*4 + 0x25190]
movzx edx, bl
xor ecx, dword [edx*4 + 0x25990]
mov edx, ebx
xor ecx, dword [edi + 0x14]
shr edx, 0x18
mov edx, dword [edx*4 + 0x24d90]
mov dword [ebp - 0x1c], ecx
mov ecx, dword [ebp - 8]
shr ecx, 0x10
movzx edi, cl
xor edx, dword [edi*4 + 0x25190]
mov ecx, dword [ebp - 4]
shr ecx, 8
movzx edi, cl
xor edx, dword [edi*4 + 0x25590]
movzx edi, al
xor edx, dword [edi*4 + 0x25990]
mov edi, dword [ebp - 0xc]
shr eax, 0x18
mov eax, dword [eax*4 + 0x24d90]
shr ebx, 0x10
mov ecx, dword [ebp - 0x1c]
movzx ebx, bl
xor eax, dword [ebx*4 + 0x25190]
mov ebx, eax
mov eax, dword [ebp - 8]
shr eax, 8
movzx eax, al
xor ebx, dword [eax*4 + 0x25590]
movzx eax, byte [ebp - 4]
xor ebx, dword [eax*4 + 0x25990]
xor ebx, dword [edi + 0x1c]
mov eax, ebx
xor edx, dword [edi + 0x18]
add edi, 0x20
dec dword [ebp - 0x14]
mov dword [ebp - 0xc], edi
mov ebx, eax
jne 0x213cd
shr ebx, 0x10
movzx edi, bl
mov edi, dword [edi*4 + str.RRRR_t_t_t_tjjjj]
and edi, 0xff0000
mov ebx, edx
shr ebx, 8
movzx ebx, bl
mov ebx, dword [ebx*4 + str.RRRR_t_t_t_tjjjj]
and ebx, 0xff00
xor edi, ebx
mov ebx, dword [ebp - 0x10]
shr ebx, 0x18
mov ebx, dword [ebx*4 + str.RRRR_t_t_t_tjjjj]
and ebx, 0xff000000
xor edi, ebx
movzx ebx, cl
movzx ebx, byte [ebx*4 + str.RRRR_t_t_t_tjjjj]
xor edi, ebx
mov ebx, dword [ebp - 0xc]
xor edi, dword [ebx]
mov ebx, dword [ebp - 0x10]
shr ebx, 0x10
mov dword [ebp - 4], edi
movzx edi, bl
mov edi, dword [edi*4 + str.RRRR_t_t_t_tjjjj]
mov ebx, eax
shr ebx, 8
movzx ebx, bl
mov ebx, dword [ebx*4 + str.RRRR_t_t_t_tjjjj]
and ebx, 0xff00
and edi, 0xff0000
xor edi, ebx
mov ebx, ecx
shr ebx, 0x18
mov ebx, dword [ebx*4 + str.RRRR_t_t_t_tjjjj]
and ebx, 0xff000000
xor edi, ebx
movzx ebx, dl
movzx ebx, byte [ebx*4 + str.RRRR_t_t_t_tjjjj]
xor edi, ebx
mov ebx, dword [ebp - 0xc]
xor edi, dword [ebx + 4]
mov ebx, ecx
shr ebx, 0x10
mov dword [ebp - 8], edi
movzx edi, bl
mov edi, dword [edi*4 + str.RRRR_t_t_t_tjjjj]
mov ebx, edx
shr ebx, 0x18
mov ebx, dword [ebx*4 + str.RRRR_t_t_t_tjjjj]
and ebx, 0xff000000
and edi, 0xff0000
xor edi, ebx
mov ebx, dword [ebp - 0x10]
shr ebx, 8
movzx ebx, bl
mov ebx, dword [ebx*4 + str.RRRR_t_t_t_tjjjj]
shr edx, 0x10
and ebx, 0xff00
xor edi, ebx
movzx ebx, al
movzx ebx, byte [ebx*4 + str.RRRR_t_t_t_tjjjj]
movzx edx, dl
mov edx, dword [edx*4 + str.RRRR_t_t_t_tjjjj]
shr eax, 0x18
mov eax, dword [eax*4 + str.RRRR_t_t_t_tjjjj]
and eax, 0xff000000
and edx, 0xff0000
xor edx, eax
shr ecx, 8
movzx eax, cl
mov eax, dword [eax*4 + str.RRRR_t_t_t_tjjjj]
and eax, 0xff00
xor edx, eax
movzx eax, byte [ebp - 0x10]
movzx eax, byte [eax*4 + str.RRRR_t_t_t_tjjjj]
xor edi, ebx
mov ebx, dword [ebp - 0xc]
xor edi, dword [ebx + 8]
xor edx, eax
xor edx, dword [ebx + 0xc]
mov ecx, dword [ebp - 4]
mov ebx, dword [ebp - 8]
mov eax, ecx
ror eax, 8
mov dword [ebp - 0x1c], eax
rol ecx, 8
xor ecx, dword [ebp - 0x1c]
mov eax, ebx
ror eax, 8
mov dword [ebp - 0x18], eax
rol ebx, 8
xor ebx, dword [ebp - 0x18]
mov eax, edi
ror eax, 8
mov dword [ebp - 0x14], eax
rol edi, 8
xor edi, dword [ebp - 0x14]
mov eax, edx
ror eax, 8
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 8]
rol edx, 8
xor edx, dword [ebp - 0x10]
and ebx, esi
xor ebx, dword [ebp - 0x18]
and ecx, esi
xor ecx, dword [ebp - 0x1c]
and edi, esi
xor edi, dword [ebp - 0x14]
and edx, esi
xor edx, dword [ebp - 0x10]
mov dword [eax + 4], ebx
mov dword [eax], ecx
mov dword [eax + 8], edi
mov dword [eax + 0xc], edx
pop ebx
pop edi
pop esi
leave
ret 4