Function at 0x472650
Capabilities:
Encrypt data using aes

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x88
mov edi, dword [esp + 0xa4]
mov dword [esp + 0x84], edi
mov ebp, dword [esp + 0x9c]
mov cl, byte [ebp]
and ecx, 0xff
xor eax, eax
mov al, byte [ebp + 1]
mov edi, ecx
xor edx, edx
shl eax, 0x10
mov dl, byte [ebp + 2]
shl edi, 0x18
xor edi, eax
shl edx, 8
xor ebx, ebx
mov bl, byte [ebp + 3]
xor edi, edx
mov cl, byte [ebp + 4]
xor edi, ebx
mov esi, dword [esp + 0x84]
and ecx, 0xff
xor eax, eax
xor edi, dword [esi]
mov al, byte [ebp + 5]
mov esi, ecx
xor edx, edx
shl eax, 0x10
mov dl, byte [ebp + 6]
shl esi, 0x18
xor esi, eax
shl edx, 8
xor ebx, ebx
mov bl, byte [ebp + 7]
xor esi, edx
xor esi, ebx
mov edx, dword [esp + 0x9c]
xor ebx, ebx
xor ecx, ecx
mov bl, byte [edx + 8]
mov cl, byte [edx + 9]
xor eax, eax
shl ecx, 0x10
mov al, byte [edx + 0xa]
shl ebx, 0x18
xor ebx, ecx
shl eax, 8
xor ecx, ecx
mov cl, byte [edx + 0xb]
xor ebx, eax
mov ebp, dword [esp + 0x84]
mov al, byte [edx + 0xd]
xor ebx, ecx
xor esi, dword [ebp + 4]
xor ebx, dword [ebp + 8]
and eax, 0xff
xor ecx, ecx
mov cl, byte [edx + 0xc]
mov ebp, eax
mov al, byte [edx + 0xe]
shl ebp, 0x10
and eax, 0xff
shl ecx, 0x18
xor ecx, ebp
mov ebp, eax
shl ebp, 8
xor ecx, ebp
mov ebp, edx
xor edx, edx
mov dl, byte [ebp + 0xf]
xor ecx, edx
mov edx, dword [esp + 0x84]
mov eax, dword [edx + 0xf0]
xor ecx, dword [edx + 0xc]
sar eax, 1
mov dword [esp + 0x78], eax
jmp 0x472870
mov eax, dword [esp + 0x80]
shr eax, 0x10
and eax, 0xff
mov esi, ebp
shr esi, 0x18
mov edi, dword [eax*4 + 0x536300]
mov ecx, dword [esp + 0x7c]
movzx ebx, ch
xor edi, dword [esi*4 + 0x536700]
mov ecx, dword [esp + 0x7c]
xor edi, dword [ebx*4 + 0x535f00]
mov dword [esp + 0x30], eax
shr ecx, 0x10
movzx eax, dl
and ecx, 0xff
xor edi, dword [eax*4 + 0x535b00]
mov esi, dword [esp + 0x84]
mov dword [esp + 0x2c], ebx
mov ebx, dword [esp + 0x80]
shr ebx, 0x18
xor edi, dword [esi]
mov esi, dword [ecx*4 + 0x536300]
movzx eax, dh
xor esi, dword [ebx*4 + 0x536700]
mov dword [esp + 0x20], ecx
mov ecx, ebp
xor esi, dword [eax*4 + 0x535f00]
and ecx, 0xff
shr edx, 0x10
movzx eax, dl
xor esi, dword [ecx*4 + 0x535b00]
mov ebx, dword [esp + 0x84]
mov ecx, dword [esp + 0x7c]
shr ecx, 0x18
xor esi, dword [ebx + 4]
mov ebx, dword [eax*4 + 0x536300]
mov eax, ebp
xor ebx, dword [ecx*4 + 0x536700]
movzx ecx, ah
xor ebx, dword [ecx*4 + 0x535f00]
movzx eax, byte [esp + 0x80]
shr ebp, 0x10
and ebp, 0xff
xor ebx, dword [eax*4 + 0x535b00]
mov ecx, dword [esp + 0x84]
shr edx, 8
mov eax, dword [esp + 0x80]
xor ebx, dword [ecx + 8]
mov ecx, dword [ebp*4 + 0x536300]
xor ecx, dword [edx*4 + 0x536700]
movzx edx, ah
xor ecx, dword [edx*4 + 0x535f00]
movzx eax, byte [esp + 0x7c]
mov dword [esp + 8], ebp
xor ecx, dword [eax*4 + 0x535b00]
mov ebp, dword [esp + 0x84]
mov dword [esp + 4], edx
xor ecx, dword [ebp + 0xc]
mov edx, esi
shr edx, 0x10
and edx, 0xff
mov eax, edi
shr eax, 0x18
mov ebp, dword [edx*4 + 0x536300]
xor ebp, dword [eax*4 + 0x536700]
movzx eax, bh
xor ebp, dword [eax*4 + 0x535f00]
mov dword [esp + 0x70], edx
movzx edx, cl
xor ebp, dword [edx*4 + 0x535b00]
mov eax, dword [esp + 0x84]
xor ebp, dword [eax + 0x10]
mov edx, esi
mov eax, ebx
shr edx, 0x18
shr eax, 0x10
mov dword [esp + 0x64], edx
movzx edx, al
mov eax, dword [edx*4 + 0x536300]
mov edx, dword [esp + 0x64]
mov edx, dword [edx*4 + 0x536700]
xor eax, edx
mov dword [esp + 0x80], eax
movzx eax, ch
mov edx, dword [eax*4 + 0x535f00]
mov eax, edi
and eax, 0xff
xor dword [esp + 0x80], edx
mov edx, dword [eax*4 + 0x535b00]
xor dword [esp + 0x80], edx
mov edx, dword [esp + 0x84]
mov eax, dword [edx + 0x14]
mov edx, ebx
shr edx, 0x18
shr ecx, 0x10
xor dword [esp + 0x80], eax
mov dword [esp + 0x50], edx
movzx eax, cl
mov edx, dword [eax*4 + 0x536300]
mov eax, dword [esp + 0x50]
mov eax, dword [eax*4 + 0x536700]
xor edx, eax
mov eax, edi
mov dword [esp + 0x7c], edx
movzx edx, ah
mov eax, dword [edx*4 + 0x535f00]
mov edx, esi
and edx, 0xff
xor dword [esp + 0x7c], eax
mov eax, dword [edx*4 + 0x535b00]
xor dword [esp + 0x7c], eax
shr edi, 0x10
mov eax, dword [esp + 0x84]
mov edx, dword [eax + 0x18]
and edi, 0xff
xor dword [esp + 0x7c], edx
shr ecx, 8
mov edx, dword [edi*4 + 0x536300]
xor edx, dword [ecx*4 + 0x536700]
mov ecx, esi
movzx eax, ch
and ebx, 0xff
xor edx, dword [eax*4 + 0x535f00]
mov esi, dword [esp + 0x84]
xor edx, dword [ebx*4 + 0x535b00]
xor edx, dword [esi + 0x1c]
add esi, 0x20
dec dword [esp + 0x78]
mov dword [esp + 0x40], edi
mov dword [esp + 0x38], ebx
mov dword [esp + 0x84], esi
jne 0x472750
mov ebx, dword [esp + 0x80]
mov ecx, ebp
shr ebx, 0x10
and ebx, 0xff
shr ecx, 0x18
mov eax, dword [esp + 0x7c]
mov edi, dword [ebx*4 + 0x535b00]
mov ecx, dword [ecx*4 + 0x535f00]
and edi, 0xff0000
movzx esi, ah
and ecx, 0xff000000
xor ecx, edi
mov ebx, dword [esi*4 + 0x536700]
movzx edi, dl
and ebx, 0xff00
mov al, byte [edi*4 + 0x536300]
xor ecx, ebx
and eax, 0xff
mov esi, dword [esp + 0x84]
xor ecx, eax
xor ecx, dword [esi]
mov ebx, ecx
mov eax, dword [esp + 0xa0]
shr ebx, 0x18
mov byte [eax], bl
mov ebx, ecx
shr ebx, 0x10
mov byte [eax + 1], bl
mov ebx, ecx
shr ebx, 8
mov byte [eax + 2], bl
mov byte [eax + 3], cl
mov edi, dword [esp + 0x7c]
mov ecx, dword [esp + 0x80]
shr edi, 0x10
and edi, 0xff
shr ecx, 0x18
mov ebx, dword [edi*4 + 0x535b00]
movzx esi, dh
mov ecx, dword [ecx*4 + 0x535f00]
mov edi, ebp
and ebx, 0xff0000
mov eax, dword [esi*4 + 0x536700]
and edi, 0xff
and ecx, 0xff000000
xor ecx, ebx
and eax, 0xff00
mov bl, byte [edi*4 + 0x536300]
xor ecx, eax
and ebx, 0xff
mov esi, dword [esp + 0x84]
xor ecx, ebx
xor ecx, dword [esi + 4]
mov eax, ecx
mov edi, dword [esp + 0xa0]
shr eax, 0x18
mov byte [edi + 4], al
mov ebx, ecx
mov eax, ecx
shr eax, 8
shr ebx, 0x10
mov byte [edi + 5], bl
mov byte [edi + 6], al
mov byte [edi + 7], cl
mov ecx, dword [esp + 0x7c]
shr ecx, 0x18
mov ecx, dword [ecx*4 + 0x535f00]
shr edx, 0x10
and ecx, 0xff000000
movzx ebx, dl
mov esi, dword [ebx*4 + 0x535b00]
mov eax, ebp
movzx edi, ah
and esi, 0xff0000
mov ebx, dword [edi*4 + 0x536700]
xor ecx, esi
movzx esi, byte [esp + 0x80]
mov al, byte [esi*4 + 0x536300]
and ebx, 0xff00
xor ecx, ebx
and eax, 0xff
mov edi, dword [esp + 0x84]
xor ecx, eax
xor ecx, dword [edi + 8]
mov ebx, ecx
mov esi, dword [esp + 0xa0]
shr ebx, 0x18
mov byte [esi + 8], bl
mov eax, ecx
mov ebx, ecx
shr eax, 0x10
shr ebx, 8
shr edx, 8
shr ebp, 0x10
mov byte [esi + 0xa], bl
mov byte [esi + 0xb], cl
mov byte [esi + 9], al
mov ecx, dword [edx*4 + 0x535f00]
mov edx, ebp
mov eax, dword [esp + 0x80]
and edx, 0xff
mov ebp, dword [edx*4 + 0x535b00]
movzx ebx, ah
movzx esi, byte [esp + 0x7c]
mov edi, dword [ebx*4 + 0x536700]
and ebp, 0xff0000
and ecx, 0xff000000
mov dl, byte [esi*4 + 0x536300]
xor ecx, ebp
and edi, 0xff00
xor ecx, edi
and edx, 0xff
mov ebp, dword [esp + 0x84]
xor ecx, edx
xor ecx, dword [ebp + 0xc]
mov eax, ecx
mov ebx, ecx
mov edx, ecx
mov edi, dword [esp + 0xa0]
shr ebx, 0x10
shr eax, 0x18
shr edx, 8
mov byte [edi + 0xc], al
mov byte [edi + 0xd], bl
mov byte [edi + 0xe], dl
mov byte [edi + 0xf], cl
add esp, 0x88
pop ebx
pop esi
pop edi
pop ebp
ret