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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe0
push esi
push edi
push ebx
mov esi, dword [ebp + 8]
mov edi, 0x585e60
mov eax, dword [esi]
mov ebx, dword [esi + 4]
mov ecx, dword [esi + 8]
mov edx, dword [esi + 0xc]
bswap eax
bswap ebx
bswap ecx
bswap edx
xor eax, dword [edi]
xor ebx, dword [edi + 4]
xor ecx, dword [edi + 8]
xor edx, dword [edi + 0xc]
mov dword [ebp - 4], eax
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 0x10], edx
mov esi, dword [0x585f50]
shr esi, 1
mov eax, dword [ebp - 4]
mov ebx, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 8]
shr eax, 0x18
shr ebx, 0x10
shr ecx, 8
and ebx, 0xff
and ecx, 0xff
and edx, 0xff
mov eax, dword [eax*4 + 0x5669d0]
mov ebx, dword [ebx*4 + 0x566dd0]
mov ecx, dword [ecx*4 + 0x5671d0]
mov edx, dword [edx*4 + 0x5675d0]
xor eax, ebx
xor eax, ecx
xor eax, edx
xor eax, dword [edi + 0x10]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 8]
mov ebx, dword [ebp - 4]
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0xc]
shr eax, 0x18
shr ebx, 0x10
shr ecx, 8
and ebx, 0xff
and ecx, 0xff
and edx, 0xff
mov eax, dword [eax*4 + 0x5669d0]
mov ebx, dword [ebx*4 + 0x566dd0]
mov ecx, dword [ecx*4 + 0x5671d0]
mov edx, dword [edx*4 + 0x5675d0]
xor eax, ebx
xor eax, ecx
xor eax, edx
xor eax, dword [edi + 0x14]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0xc]
mov ebx, dword [ebp - 8]
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 0x10]
shr eax, 0x18
shr ebx, 0x10
shr ecx, 8
and ebx, 0xff
and ecx, 0xff
and edx, 0xff
mov eax, dword [eax*4 + 0x5669d0]
mov ebx, dword [ebx*4 + 0x566dd0]
mov ecx, dword [ecx*4 + 0x5671d0]
mov edx, dword [edx*4 + 0x5675d0]
xor eax, ebx
xor eax, ecx
xor eax, edx
xor eax, dword [edi + 0x18]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x10]
mov ebx, dword [ebp - 0xc]
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 4]
shr eax, 0x18
shr ebx, 0x10
shr ecx, 8
and ebx, 0xff
and ecx, 0xff
and edx, 0xff
mov eax, dword [eax*4 + 0x5669d0]
mov ebx, dword [ebx*4 + 0x566dd0]
mov ecx, dword [ecx*4 + 0x5671d0]
mov edx, dword [edx*4 + 0x5675d0]
xor eax, ebx
xor eax, ecx
xor eax, edx
xor eax, dword [edi + 0x1c]
mov dword [ebp - 0x20], eax
add edi, 0x20
dec esi
je 0x4c3e31
mov eax, dword [ebp - 0x14]
mov ebx, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x18]
shr eax, 0x18
shr ebx, 0x10
shr ecx, 8
and ebx, 0xff
and ecx, 0xff
and edx, 0xff
mov eax, dword [eax*4 + 0x5669d0]
mov ebx, dword [ebx*4 + 0x566dd0]
mov ecx, dword [ecx*4 + 0x5671d0]
mov edx, dword [edx*4 + 0x5675d0]
xor eax, ebx
xor eax, ecx
xor eax, edx
xor eax, dword [edi]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x18]
mov ebx, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x20]
mov edx, dword [ebp - 0x1c]
shr eax, 0x18
shr ebx, 0x10
shr ecx, 8
and ebx, 0xff
and ecx, 0xff
and edx, 0xff
mov eax, dword [eax*4 + 0x5669d0]
mov ebx, dword [ebx*4 + 0x566dd0]
mov ecx, dword [ecx*4 + 0x5671d0]
mov edx, dword [edx*4 + 0x5675d0]
xor eax, ebx
xor eax, ecx
xor eax, edx
xor eax, dword [edi + 4]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x1c]
mov ebx, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x20]
shr eax, 0x18
shr ebx, 0x10
shr ecx, 8
and ebx, 0xff
and ecx, 0xff
and edx, 0xff
mov eax, dword [eax*4 + 0x5669d0]
mov ebx, dword [ebx*4 + 0x566dd0]
mov ecx, dword [ecx*4 + 0x5671d0]
mov edx, dword [edx*4 + 0x5675d0]
xor eax, ebx
xor eax, ecx
xor eax, edx
xor eax, dword [edi + 8]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x20]
mov ebx, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x14]
shr eax, 0x18
shr ebx, 0x10
shr ecx, 8
and ebx, 0xff
and ecx, 0xff
and edx, 0xff
mov eax, dword [eax*4 + 0x5669d0]
mov ebx, dword [ebx*4 + 0x566dd0]
mov ecx, dword [ecx*4 + 0x5671d0]
mov edx, dword [edx*4 + 0x5675d0]
xor eax, ebx
xor eax, ecx
xor eax, edx
xor eax, dword [edi + 0xc]
mov dword [ebp - 0x10], eax
jmp 0x4c3bab
mov esi, dword [ebp + 0xc]
mov eax, dword [ebp - 0x14]
mov ebx, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x18]
shr eax, 0x18
shr ebx, 0x10
shr ecx, 8
and ebx, 0xff
and ecx, 0xff
and edx, 0xff
mov eax, dword [eax*4 + str.RRRR_t_t_t_tjjjj]
mov ebx, dword [ebx*4 + str.RRRR_t_t_t_tjjjj]
mov ecx, dword [ecx*4 + str.RRRR_t_t_t_tjjjj]
mov edx, dword [edx*4 + str.RRRR_t_t_t_tjjjj]
and eax, 0xff000000
and ebx, 0xff0000
and ecx, 0xff00
and edx, 0xff
xor eax, ebx
xor eax, ecx
xor eax, edx
xor eax, dword [edi]
bswap eax
mov dword [esi], eax
mov eax, dword [ebp - 0x18]
mov ebx, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x20]
mov edx, dword [ebp - 0x1c]
shr eax, 0x18
shr ebx, 0x10
shr ecx, 8
and ebx, 0xff
and ecx, 0xff
and edx, 0xff
mov eax, dword [eax*4 + str.RRRR_t_t_t_tjjjj]
mov ebx, dword [ebx*4 + str.RRRR_t_t_t_tjjjj]
mov ecx, dword [ecx*4 + str.RRRR_t_t_t_tjjjj]
mov edx, dword [edx*4 + str.RRRR_t_t_t_tjjjj]
and eax, 0xff000000
and ebx, 0xff0000
and ecx, 0xff00
and edx, 0xff
xor eax, ebx
xor eax, ecx
xor eax, edx
xor eax, dword [edi + 4]
bswap eax
mov dword [esi + 4], eax
mov eax, dword [ebp - 0x1c]
mov ebx, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x20]
shr eax, 0x18
shr ebx, 0x10
shr ecx, 8
and ebx, 0xff
and ecx, 0xff
and edx, 0xff
mov eax, dword [eax*4 + str.RRRR_t_t_t_tjjjj]
mov ebx, dword [ebx*4 + str.RRRR_t_t_t_tjjjj]
mov ecx, dword [ecx*4 + str.RRRR_t_t_t_tjjjj]
mov edx, dword [edx*4 + str.RRRR_t_t_t_tjjjj]
and eax, 0xff000000
and ebx, 0xff0000
and ecx, 0xff00
and edx, 0xff
xor eax, ebx
xor eax, ecx
xor eax, edx
xor eax, dword [edi + 8]
bswap eax
mov dword [esi + 8], eax
mov eax, dword [ebp - 0x20]
mov ebx, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x14]
shr eax, 0x18
shr ebx, 0x10
shr ecx, 8
and ebx, 0xff
and ecx, 0xff
and edx, 0xff
mov eax, dword [eax*4 + str.RRRR_t_t_t_tjjjj]
mov ebx, dword [ebx*4 + str.RRRR_t_t_t_tjjjj]
mov ecx, dword [ecx*4 + str.RRRR_t_t_t_tjjjj]
mov edx, dword [edx*4 + str.RRRR_t_t_t_tjjjj]
and eax, 0xff000000
and ebx, 0xff0000
and ecx, 0xff00
and edx, 0xff
xor eax, ebx
xor eax, ecx
xor eax, edx
xor eax, dword [edi + 0xc]
bswap eax
mov dword [esi + 0xc], eax
pop ebx
pop edi
pop esi
leave
ret 8