Function at 0x4b8f60
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 0x4b919f
mov eax, edx
shr eax, 0x10
and eax, 0xff
mov esi, dword [esp + 0x80]
mov ebp, dword [eax*4 + 0x5267f0]
mov ecx, edi
shr esi, 0x18
movzx ebx, ch
xor ebp, dword [esi*4 + 0x526bf0]
mov ecx, dword [esp + 0x80]
xor ebp, dword [ebx*4 + 0x5263f0]
mov dword [esp + 0x34], eax
shr ecx, 0x10
movzx eax, byte [esp + 0x7c]
xor ebp, dword [eax*4 + 0x525ff0]
mov esi, dword [esp + 0x84]
and ecx, 0xff
mov dword [esp + 0x30], ebx
mov ebx, dword [esp + 0x7c]
xor ebp, dword [esi]
shr ebx, 0x18
mov esi, dword [ecx*4 + 0x5267f0]
xor esi, dword [ebx*4 + 0x526bf0]
mov dword [esp + 0x2c], eax
movzx eax, dh
xor esi, dword [eax*4 + 0x5263f0]
mov dword [esp + 0x24], ecx
mov dword [esp + 0x20], eax
mov ecx, edi
mov eax, dword [esp + 0x7c]
and ecx, 0xff
shr eax, 0x10
xor esi, dword [ecx*4 + 0x525ff0]
mov ebx, dword [esp + 0x84]
and eax, 0xff
mov dword [esp + 0x1c], ecx
mov ecx, edi
xor esi, dword [ebx + 4]
shr ecx, 0x18
mov ebx, dword [eax*4 + 0x5267f0]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x80]
xor ebx, dword [ecx*4 + 0x526bf0]
movzx ecx, ah
xor ebx, dword [ecx*4 + 0x5263f0]
movzx eax, dl
shr edi, 0x10
xor ebx, dword [eax*4 + 0x525ff0]
and edi, 0xff
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 0x84]
mov dword [esp + 0xc], eax
xor ebx, dword [ecx + 8]
shr edx, 0x18
mov dword [esp + 8], edi
mov ecx, dword [edi*4 + 0x5267f0]
mov eax, dword [esp + 0x7c]
xor ecx, dword [edx*4 + 0x526bf0]
movzx edx, ah
xor ecx, dword [edx*4 + 0x5263f0]
movzx eax, byte [esp + 0x80]
xor ecx, dword [eax*4 + 0x525ff0]
mov edi, dword [esp + 0x84]
mov dword [esp + 4], edx
mov dword [esp], eax
xor ecx, dword [edi + 0xc]
mov edx, ecx
shr edx, 0x10
mov edi, ebp
movzx eax, dl
shr edi, 0x18
mov edx, dword [eax*4 + 0x5267f0]
mov dword [esp + 0x70], eax
mov eax, dword [edi*4 + 0x526bf0]
xor edx, eax
mov dword [esp + 0x80], edx
mov edi, esi
movzx edx, bh
mov eax, dword [edx*4 + 0x5263f0]
and edi, 0xff
xor dword [esp + 0x80], eax
mov dword [esp + 0x6c], edx
mov eax, dword [edi*4 + 0x525ff0]
mov edx, dword [esp + 0x84]
xor dword [esp + 0x80], eax
mov dword [esp + 0x68], edi
mov eax, ebp
mov edi, dword [edx + 0x10]
xor dword [esp + 0x80], edi
shr eax, 0x10
mov edi, esi
movzx edx, al
shr edi, 0x18
mov eax, dword [edx*4 + 0x5267f0]
mov dword [esp + 0x60], edx
mov edx, dword [edi*4 + 0x526bf0]
xor eax, edx
mov dword [esp + 0x7c], eax
movzx eax, ch
movzx edi, bl
mov edx, dword [eax*4 + 0x5263f0]
xor dword [esp + 0x7c], edx
mov edx, dword [edi*4 + 0x525ff0]
xor dword [esp + 0x7c], edx
mov edx, esi
mov dword [esp + 0x5c], eax
shr edx, 0x10
mov eax, dword [esp + 0x84]
and edx, 0xff
mov dword [esp + 0x58], edi
mov edi, dword [eax + 0x14]
mov eax, ebx
xor dword [esp + 0x7c], edi
shr eax, 0x18
mov edi, dword [edx*4 + 0x5267f0]
xor edi, dword [eax*4 + 0x526bf0]
mov eax, ebp
mov dword [esp + 0x50], edx
movzx edx, ah
mov dword [esp + 0x4c], edx
movzx eax, cl
xor edi, dword [edx*4 + 0x5263f0]
shr ebx, 0x10
and ebx, 0xff
xor edi, dword [eax*4 + 0x525ff0]
mov edx, dword [esp + 0x84]
xor edi, dword [edx + 0x18]
shr ecx, 0x18
mov edx, dword [ebx*4 + 0x5267f0]
mov dword [esp + 0x48], eax
mov eax, esi
xor edx, dword [ecx*4 + 0x526bf0]
mov dword [esp + 0x44], ebx
movzx ebx, ah
and ebp, 0xff
xor edx, dword [ebx*4 + 0x5263f0]
mov esi, dword [esp + 0x84]
xor edx, dword [ebp*4 + 0x525ff0]
xor edx, dword [esi + 0x1c]
add esi, 0x20
dec dword [esp + 0x78]
mov dword [esp + 0x40], ebx
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x84], esi
jne 0x4b9060
mov ebx, edx
mov ecx, dword [esp + 0x80]
shr ebx, 0x10
and ebx, 0xff
shr ecx, 0x18
mov ebp, dword [ebx*4 + str.RRRR_t_t_t_tjjjj]
mov eax, edi
mov ecx, dword [ecx*4 + str.RRRR_t_t_t_tjjjj]
and ebp, 0xff0000
movzx esi, ah
and ecx, 0xff000000
xor ecx, ebp
mov ebx, dword [esi*4 + str.RRRR_t_t_t_tjjjj]
movzx ebp, byte [esp + 0x7c]
and ebx, 0xff00
mov al, byte [ebp*4 + str.RRRR_t_t_t_tjjjj]
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 ebp, dword [esp + 0x80]
mov ecx, dword [esp + 0x7c]
shr ebp, 0x10
and ebp, 0xff
shr ecx, 0x18
mov ebx, dword [ebp*4 + str.RRRR_t_t_t_tjjjj]
movzx esi, dh
mov ecx, dword [ecx*4 + str.RRRR_t_t_t_tjjjj]
mov ebp, edi
and ebx, 0xff0000
mov eax, dword [esi*4 + str.RRRR_t_t_t_tjjjj]
and ebp, 0xff
and ecx, 0xff000000
xor ecx, ebx
and eax, 0xff00
mov bl, byte [ebp*4 + str.RRRR_t_t_t_tjjjj]
xor ecx, eax
and ebx, 0xff
mov esi, dword [esp + 0x84]
xor ecx, ebx
xor ecx, dword [esi + 4]
mov eax, ecx
mov ebp, dword [esp + 0xa0]
shr eax, 0x18
mov byte [ebp + 4], al
mov ebx, ecx
mov eax, ecx
shr ebx, 0x10
shr eax, 8
mov byte [ebp + 7], cl
mov byte [ebp + 5], bl
mov byte [ebp + 6], al
mov ecx, edi
mov ebx, dword [esp + 0x7c]
shr ecx, 0x18
mov ecx, dword [ecx*4 + str.RRRR_t_t_t_tjjjj]
shr ebx, 0x10
and ecx, 0xff000000
and ebx, 0xff
mov eax, dword [esp + 0x80]
mov esi, dword [ebx*4 + str.RRRR_t_t_t_tjjjj]
movzx ebp, ah
and esi, 0xff0000
mov ebx, dword [ebp*4 + str.RRRR_t_t_t_tjjjj]
xor ecx, esi
movzx esi, dl
mov al, byte [esi*4 + str.RRRR_t_t_t_tjjjj]
and ebx, 0xff00
xor ecx, ebx
and eax, 0xff
mov ebp, dword [esp + 0x84]
xor ecx, eax
xor ecx, dword [ebp + 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, 0x18
shr edi, 0x10
mov byte [esi + 0xa], bl
mov byte [esi + 0xb], cl
mov byte [esi + 9], al
mov ecx, dword [edx*4 + str.RRRR_t_t_t_tjjjj]
mov edx, edi
mov eax, dword [esp + 0x7c]
and edx, 0xff
mov edi, dword [edx*4 + str.RRRR_t_t_t_tjjjj]
movzx ebx, ah
movzx esi, byte [esp + 0x80]
mov ebp, dword [ebx*4 + str.RRRR_t_t_t_tjjjj]
and edi, 0xff0000
and ecx, 0xff000000
mov dl, byte [esi*4 + str.RRRR_t_t_t_tjjjj]
xor ecx, edi
and ebp, 0xff00
xor ecx, ebp
and edx, 0xff
mov edi, dword [esp + 0x84]
xor ecx, edx
xor ecx, dword [edi + 0xc]
mov eax, ecx
mov ebx, ecx
mov edx, ecx
mov ebp, dword [esp + 0xa0]
shr ebx, 0x10
shr eax, 0x18
shr edx, 8
mov byte [ebp + 0xc], al
mov byte [ebp + 0xd], bl
mov byte [ebp + 0xe], dl
mov byte [ebp + 0xf], cl
add esp, 0x88
pop ebx
pop esi
pop edi
pop ebp
ret