Function at 0x472be0
Capabilities:
Encrypt data using aes
Reference aes constants
Resolve function by parsing pe exports

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x88
mov ebp, dword [esp + 0xa4]
mov dword [esp + 0x84], ebp
mov edi, dword [esp + 0x9c]
mov cl, byte [edi]
and ecx, 0xff
xor eax, eax
mov al, byte [edi + 1]
mov ebp, ecx
xor edx, edx
shl eax, 0x10
mov dl, byte [edi + 2]
shl ebp, 0x18
xor ebp, eax
shl edx, 8
xor ebx, ebx
mov bl, byte [edi + 3]
xor ebp, edx
mov cl, byte [edi + 4]
xor ebp, ebx
mov esi, dword [esp + 0x84]
and ecx, 0xff
xor eax, eax
xor ebp, dword [esi]
mov al, byte [edi + 5]
mov esi, ecx
xor edx, edx
shl eax, 0x10
mov dl, byte [edi + 6]
shl esi, 0x18
xor esi, eax
shl edx, 8
xor ebx, ebx
mov bl, byte [edi + 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 edi, dword [esp + 0x84]
mov al, byte [edx + 0xd]
xor ebx, ecx
xor esi, dword [edi + 4]
xor ebx, dword [edi + 8]
and eax, 0xff
xor ecx, ecx
mov cl, byte [edx + 0xc]
mov edi, eax
mov al, byte [edx + 0xe]
shl edi, 0x10
and eax, 0xff
shl ecx, 0x18
xor ecx, edi
mov edi, eax
shl edi, 8
xor ecx, edi
mov edi, edx
xor edx, edx
mov dl, byte [edi + 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 0x472e08
mov eax, edx
shr eax, 0x10
and eax, 0xff
mov esi, dword [esp + 0x80]
mov ecx, edi
shr esi, 0x18
mov ebp, dword [eax*4 + 0x535300]
movzx ebx, ch
xor ebp, dword [esi*4 + 0x535700]
mov ecx, dword [esp + 0x80]
xor ebp, dword [ebx*4 + 0x534f00]
mov dword [esp + 0x34], eax
shr ecx, 0x10
movzx eax, byte [esp + 0x7c]
and ecx, 0xff
xor ebp, dword [eax*4 + 0x534b00]
mov esi, dword [esp + 0x84]
mov ebx, dword [esp + 0x7c]
shr ebx, 0x18
xor ebp, dword [esi]
mov esi, dword [ecx*4 + 0x535300]
movzx eax, dh
xor esi, dword [ebx*4 + 0x535700]
xor esi, dword [eax*4 + 0x534f00]
mov dword [esp + 0x24], ecx
mov eax, dword [esp + 0x7c]
mov ecx, edi
and ecx, 0xff
shr eax, 0x10
and eax, 0xff
xor esi, dword [ecx*4 + 0x534b00]
mov ebx, dword [esp + 0x84]
mov ecx, edi
shr ecx, 0x18
xor esi, dword [ebx + 4]
mov dword [esp + 0x14], eax
mov ebx, dword [eax*4 + 0x535300]
mov eax, dword [esp + 0x80]
xor ebx, dword [ecx*4 + 0x535700]
movzx ecx, ah
xor ebx, dword [ecx*4 + 0x534f00]
movzx eax, dl
shr edi, 0x10
and edi, 0xff
xor ebx, dword [eax*4 + 0x534b00]
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 0x84]
shr edx, 0x18
mov eax, dword [esp + 0x7c]
xor ebx, dword [ecx + 8]
mov ecx, dword [edi*4 + 0x535300]
xor ecx, dword [edx*4 + 0x535700]
movzx edx, ah
xor ecx, dword [edx*4 + 0x534f00]
movzx eax, byte [esp + 0x80]
mov dword [esp + 8], edi
xor ecx, dword [eax*4 + 0x534b00]
mov edi, dword [esp + 0x84]
mov dword [esp + 4], edx
xor ecx, dword [edi + 0xc]
mov edx, ecx
shr edx, 0x10
mov edi, ebp
shr edi, 0x18
movzx eax, dl
mov edx, dword [eax*4 + 0x535300]
mov eax, dword [edi*4 + 0x535700]
xor edx, eax
mov dword [esp + 0x80], edx
mov edi, esi
movzx edx, bh
mov eax, dword [edx*4 + 0x534f00]
and edi, 0xff
xor dword [esp + 0x80], eax
mov edx, dword [esp + 0x84]
mov eax, dword [edi*4 + 0x534b00]
xor dword [esp + 0x80], eax
mov edi, dword [edx + 0x10]
mov eax, ebp
xor dword [esp + 0x80], edi
shr eax, 0x10
mov edi, esi
shr edi, 0x18
movzx edx, al
mov eax, dword [edx*4 + 0x535300]
mov edx, dword [edi*4 + 0x535700]
xor eax, edx
mov dword [esp + 0x7c], eax
movzx eax, ch
mov edx, dword [eax*4 + 0x534f00]
movzx edi, bl
xor dword [esp + 0x7c], edx
mov edx, dword [edi*4 + 0x534b00]
xor dword [esp + 0x7c], edx
mov edx, esi
mov eax, dword [esp + 0x84]
shr edx, 0x10
mov edi, dword [eax + 0x14]
and edx, 0xff
mov eax, ebx
xor dword [esp + 0x7c], edi
shr eax, 0x18
mov edi, dword [edx*4 + 0x535300]
xor edi, dword [eax*4 + 0x535700]
mov eax, ebp
mov dword [esp + 0x50], edx
movzx edx, ah
xor edi, dword [edx*4 + 0x534f00]
movzx eax, cl
shr ebx, 0x10
xor edi, dword [eax*4 + 0x534b00]
and ebx, 0xff
mov edx, dword [esp + 0x84]
xor edi, dword [edx + 0x18]
shr ecx, 0x18
mov dword [esp + 0x44], ebx
mov eax, esi
mov edx, dword [ebx*4 + 0x535300]
xor edx, dword [ecx*4 + 0x535700]
movzx ebx, ah
and ebp, 0xff
xor edx, dword [ebx*4 + 0x534f00]
mov esi, dword [esp + 0x84]
xor edx, dword [ebp*4 + 0x534b00]
xor edx, dword [esi + 0x1c]
add esi, 0x20
dec dword [esp + 0x78]
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x84], esi
jne 0x472ce0
mov ebp, edx
shr ebp, 0x10
mov esi, dword [esp + 0x80]
and ebp, 0xff
shr esi, 0x18
mov al, byte [ebp + 0x534a00]
xor ebx, ebx
mov bl, byte [esi + 0x534a00]
mov ecx, edi
and eax, 0xff
shl eax, 0x10
movzx esi, ch
shl ebx, 0x18
xor ebx, eax
mov al, byte [esi + 0x534a00]
movzx ebp, byte [esp + 0x7c]
and eax, 0xff
shl eax, 8
mov cl, byte [ebp + 0x534a00]
xor ebx, eax
and ecx, 0xff
mov esi, dword [esp + 0x84]
xor ebx, ecx
xor ebx, dword [esi]
mov eax, ebx
mov ebp, dword [esp + 0xa0]
shr eax, 0x18
mov byte [ebp], al
mov ecx, ebx
mov eax, ebx
shr ecx, 0x10
shr eax, 8
mov byte [ebp + 2], al
mov byte [ebp + 3], bl
mov byte [ebp + 1], cl
mov esi, dword [esp + 0x80]
shr esi, 0x10
mov ecx, dword [esp + 0x7c]
and esi, 0xff
shr ecx, 0x18
mov al, byte [esi + 0x534a00]
movzx ebp, dh
xor ebx, ebx
mov bl, byte [ecx + 0x534a00]
and eax, 0xff
mov cl, byte [ebp + 0x534a00]
mov esi, edi
shl eax, 0x10
and esi, 0xff
shl ebx, 0x18
and ecx, 0xff
xor ebx, eax
shl ecx, 8
mov al, byte [esi + 0x534a00]
xor ebx, ecx
and eax, 0xff
mov ebp, dword [esp + 0x84]
xor ebx, eax
xor ebx, dword [ebp + 4]
mov ecx, ebx
shr ecx, 0x18
mov eax, dword [esp + 0xa0]
mov byte [eax + 4], cl
mov ecx, ebx
shr ecx, 0x10
mov byte [eax + 5], cl
mov ecx, ebx
shr ecx, 8
mov byte [eax + 6], cl
mov byte [eax + 7], bl
mov ebp, dword [esp + 0x7c]
shr ebp, 0x10
and ebp, 0xff
mov esi, edi
shr esi, 0x18
mov cl, byte [ebp + 0x534a00]
xor ebx, ebx
mov eax, dword [esp + 0x80]
mov bl, byte [esi + 0x534a00]
and ecx, 0xff
shl ecx, 0x10
movzx esi, ah
shl ebx, 0x18
xor ebx, ecx
mov cl, byte [esi + 0x534a00]
movzx ebp, dl
and ecx, 0xff
shl ecx, 8
mov al, byte [ebp + 0x534a00]
xor ebx, ecx
and eax, 0xff
mov esi, dword [esp + 0x84]
xor ebx, eax
xor ebx, dword [esi + 8]
mov ecx, ebx
mov ebp, dword [esp + 0xa0]
shr ecx, 0x18
mov byte [ebp + 8], cl
mov eax, ebx
mov ecx, ebx
shr eax, 0x10
shr ecx, 8
shr edi, 0x10
mov byte [ebp + 0xa], cl
mov byte [ebp + 0xb], bl
mov byte [ebp + 9], al
mov esi, edi
mov eax, dword [esp + 0x7c]
shr edx, 0x18
and esi, 0xff
xor ebx, ebx
mov bl, byte [edx + 0x534a00]
movzx ebp, ah
mov dl, byte [esi + 0x534a00]
mov cl, byte [ebp + 0x534a00]
and edx, 0xff
movzx esi, byte [esp + 0x80]
shl edx, 0x10
shl ebx, 0x18
and ecx, 0xff
xor ebx, edx
shl ecx, 8
mov dl, byte [esi + 0x534a00]
xor ebx, ecx
and edx, 0xff
mov edi, dword [esp + 0x84]
xor ebx, edx
xor ebx, dword [edi + 0xc]
mov eax, ebx
mov ecx, ebx
mov edx, ebx
mov ebp, dword [esp + 0xa0]
shr eax, 0x18
shr ecx, 0x10
shr edx, 8
mov byte [ebp + 0xc], al
mov byte [ebp + 0xd], cl
mov byte [ebp + 0xe], dl
mov byte [ebp + 0xf], bl
add esp, 0x88
pop ebx
pop esi
pop edi
pop ebp
ret