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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x11c
push esi
lea eax, [ebp - 0x11c]
push eax
mov ecx, dword [ebp + 0x14]
push ecx
mov edx, dword [ebp + 0x10]
push edx
call fcn.004edff0
add esp, 0xc
lea eax, [ebp - 0x11c]
mov dword [ebp - 4], eax
push 8
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
push edx
call fcn.0040354e
add esp, 8
mov esi, eax
and esi, 0xff00ff
push 8
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
push ecx
call fcn.004049bc
add esp, 8
and eax, 0xff00ff00
or esi, eax
mov edx, 4
imul eax, edx, 0
mov ecx, dword [ebp - 4]
xor esi, dword [ecx + eax]
mov dword [ebp - 8], esi
push 8
mov edx, dword [ebp + 8]
mov eax, dword [edx + 4]
push eax
call fcn.0040354e
add esp, 8
mov esi, eax
and esi, 0xff00ff
push 8
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 4]
push edx
call fcn.004049bc
add esp, 8
and eax, 0xff00ff00
or esi, eax
mov eax, 4
shl eax, 0
mov ecx, dword [ebp - 4]
xor esi, dword [ecx + eax]
mov dword [ebp - 0xc], esi
push 8
mov edx, dword [ebp + 8]
mov eax, dword [edx + 8]
push eax
call fcn.0040354e
add esp, 8
mov esi, eax
and esi, 0xff00ff
push 8
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 8]
push edx
call fcn.004049bc
add esp, 8
and eax, 0xff00ff00
or esi, eax
mov eax, 4
shl eax, 1
mov ecx, dword [ebp - 4]
xor esi, dword [ecx + eax]
mov dword [ebp - 0x10], esi
push 8
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0xc]
push eax
call fcn.0040354e
add esp, 8
mov esi, eax
and esi, 0xff00ff
push 8
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0xc]
push edx
call fcn.004049bc
add esp, 8
and eax, 0xff00ff00
or esi, eax
mov eax, 4
imul ecx, eax, 3
mov edx, dword [ebp - 4]
xor esi, dword [edx + ecx]
mov dword [ebp - 0x24], esi
mov eax, dword [ebp - 0x2c]
sar eax, 1
mov dword [ebp - 0x28], eax
mov ecx, dword [ebp - 8]
shr ecx, 0x18
mov edx, dword [ebp - 0x24]
shr edx, 0x10
and edx, 0xff
mov eax, dword [ecx*4 + 0x5efea8]
xor eax, dword [edx*4 + 0x5f02a8]
mov ecx, dword [ebp - 0x10]
shr ecx, 8
and ecx, 0xff
xor eax, dword [ecx*4 + 0x5f06a8]
mov edx, dword [ebp - 0xc]
and edx, 0xff
xor eax, dword [edx*4 + 0x5f0aa8]
mov ecx, 4
shl ecx, 2
mov edx, dword [ebp - 4]
xor eax, dword [edx + ecx]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0xc]
shr eax, 0x18
mov ecx, dword [ebp - 8]
shr ecx, 0x10
and ecx, 0xff
mov edx, dword [eax*4 + 0x5efea8]
xor edx, dword [ecx*4 + 0x5f02a8]
mov eax, dword [ebp - 0x24]
shr eax, 8
and eax, 0xff
xor edx, dword [eax*4 + 0x5f06a8]
mov ecx, dword [ebp - 0x10]
and ecx, 0xff
xor edx, dword [ecx*4 + 0x5f0aa8]
mov eax, 4
imul ecx, eax, 5
mov eax, dword [ebp - 4]
xor edx, dword [eax + ecx]
mov dword [ebp - 0x1c], edx
mov ecx, dword [ebp - 0x10]
shr ecx, 0x18
mov edx, dword [ebp - 0xc]
shr edx, 0x10
and edx, 0xff
mov eax, dword [ecx*4 + 0x5efea8]
xor eax, dword [edx*4 + 0x5f02a8]
mov ecx, dword [ebp - 8]
shr ecx, 8
and ecx, 0xff
xor eax, dword [ecx*4 + 0x5f06a8]
mov edx, dword [ebp - 0x24]
and edx, 0xff
xor eax, dword [edx*4 + 0x5f0aa8]
mov ecx, 4
imul edx, ecx, 6
mov ecx, dword [ebp - 4]
xor eax, dword [ecx + edx]
mov dword [ebp - 0x18], eax
mov edx, dword [ebp - 0x24]
shr edx, 0x18
mov eax, dword [ebp - 0x10]
shr eax, 0x10
and eax, 0xff
mov ecx, dword [edx*4 + 0x5efea8]
xor ecx, dword [eax*4 + 0x5f02a8]
mov edx, dword [ebp - 0xc]
shr edx, 8
and edx, 0xff
xor ecx, dword [edx*4 + 0x5f06a8]
mov eax, dword [ebp - 8]
and eax, 0xff
xor ecx, dword [eax*4 + 0x5f0aa8]
mov edx, 4
imul eax, edx, 7
mov edx, dword [ebp - 4]
xor ecx, dword [edx + eax]
mov dword [ebp - 0x14], ecx
mov eax, dword [ebp - 4]
add eax, 0x20
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 0x28]
sub ecx, 1
mov dword [ebp - 0x28], ecx
jne 0x4eed0d
jmp 0x4eee5c
mov edx, dword [ebp - 0x20]
shr edx, 0x18
mov eax, dword [ebp - 0x14]
shr eax, 0x10
and eax, 0xff
mov ecx, dword [edx*4 + 0x5efea8]
xor ecx, dword [eax*4 + 0x5f02a8]
mov edx, dword [ebp - 0x18]
shr edx, 8
and edx, 0xff
xor ecx, dword [edx*4 + 0x5f06a8]
mov eax, dword [ebp - 0x1c]
and eax, 0xff
xor ecx, dword [eax*4 + 0x5f0aa8]
mov edx, 4
imul eax, edx, 0
mov edx, dword [ebp - 4]
xor ecx, dword [edx + eax]
mov dword [ebp - 8], ecx
mov eax, dword [ebp - 0x1c]
shr eax, 0x18
mov ecx, dword [ebp - 0x20]
shr ecx, 0x10
and ecx, 0xff
mov edx, dword [eax*4 + 0x5efea8]
xor edx, dword [ecx*4 + 0x5f02a8]
mov eax, dword [ebp - 0x14]
shr eax, 8
and eax, 0xff
xor edx, dword [eax*4 + 0x5f06a8]
mov ecx, dword [ebp - 0x18]
and ecx, 0xff
xor edx, dword [ecx*4 + 0x5f0aa8]
mov eax, 4
shl eax, 0
mov ecx, dword [ebp - 4]
xor edx, dword [ecx + eax]
mov dword [ebp - 0xc], edx
mov edx, dword [ebp - 0x18]
shr edx, 0x18
mov eax, dword [ebp - 0x1c]
shr eax, 0x10
and eax, 0xff
mov ecx, dword [edx*4 + 0x5efea8]
xor ecx, dword [eax*4 + 0x5f02a8]
mov edx, dword [ebp - 0x20]
shr edx, 8
and edx, 0xff
xor ecx, dword [edx*4 + 0x5f06a8]
mov eax, dword [ebp - 0x14]
and eax, 0xff
xor ecx, dword [eax*4 + 0x5f0aa8]
mov edx, 4
shl edx, 1
mov eax, dword [ebp - 4]
xor ecx, dword [eax + edx]
mov dword [ebp - 0x10], ecx
mov ecx, dword [ebp - 0x14]
shr ecx, 0x18
mov edx, dword [ebp - 0x18]
shr edx, 0x10
and edx, 0xff
mov eax, dword [ecx*4 + 0x5efea8]
xor eax, dword [edx*4 + 0x5f02a8]
mov ecx, dword [ebp - 0x1c]
shr ecx, 8
and ecx, 0xff
xor eax, dword [ecx*4 + 0x5f06a8]
mov edx, dword [ebp - 0x20]
and edx, 0xff
xor eax, dword [edx*4 + 0x5f0aa8]
mov ecx, 4
imul edx, ecx, 3
mov ecx, dword [ebp - 4]
xor eax, dword [ecx + edx]
mov dword [ebp - 0x24], eax
jmp 0x4eeba7
mov edx, dword [ebp - 0x20]
shr edx, 0x18
mov eax, dword [edx*4 + str.RRRR_t_t_t_tjjjj]
and eax, 0xff000000
mov ecx, dword [ebp - 0x14]
shr ecx, 0x10
and ecx, 0xff
mov edx, dword [ecx*4 + str.RRRR_t_t_t_tjjjj]
and edx, 0xff0000
xor eax, edx
mov ecx, dword [ebp - 0x18]
shr ecx, 8
and ecx, 0xff
mov edx, dword [ecx*4 + str.RRRR_t_t_t_tjjjj]
and edx, 0xff00
xor eax, edx
mov ecx, dword [ebp - 0x1c]
and ecx, 0xff
mov edx, dword [ecx*4 + str.RRRR_t_t_t_tjjjj]
and edx, 0xff
xor eax, edx
mov ecx, 4
imul edx, ecx, 0
mov ecx, dword [ebp - 4]
xor eax, dword [ecx + edx]
mov dword [ebp - 8], eax
push 8
mov edx, dword [ebp - 8]
push edx
call fcn.0040354e
add esp, 8
mov esi, eax
and esi, 0xff00ff
push 8
mov eax, dword [ebp - 8]
push eax
call fcn.004049bc
add esp, 8
and eax, 0xff00ff00
or esi, eax
mov ecx, dword [ebp + 0xc]
mov dword [ecx], esi
mov edx, dword [ebp - 0x1c]
shr edx, 0x18
mov eax, dword [edx*4 + str.RRRR_t_t_t_tjjjj]
and eax, 0xff000000
mov ecx, dword [ebp - 0x20]
shr ecx, 0x10
and ecx, 0xff
mov edx, dword [ecx*4 + str.RRRR_t_t_t_tjjjj]
and edx, 0xff0000
xor eax, edx
mov ecx, dword [ebp - 0x14]
shr ecx, 8
and ecx, 0xff
mov edx, dword [ecx*4 + str.RRRR_t_t_t_tjjjj]
and edx, 0xff00
xor eax, edx
mov ecx, dword [ebp - 0x18]
and ecx, 0xff
mov edx, dword [ecx*4 + str.RRRR_t_t_t_tjjjj]
and edx, 0xff
xor eax, edx
mov ecx, 4
shl ecx, 0
mov edx, dword [ebp - 4]
xor eax, dword [edx + ecx]
mov dword [ebp - 0xc], eax
push 8
mov eax, dword [ebp - 0xc]
push eax
call fcn.0040354e
add esp, 8
mov esi, eax
and esi, 0xff00ff
push 8
mov ecx, dword [ebp - 0xc]
push ecx
call fcn.004049bc
add esp, 8
and eax, 0xff00ff00
or esi, eax
mov edx, dword [ebp + 0xc]
mov dword [edx + 4], esi
mov eax, dword [ebp - 0x18]
shr eax, 0x18
mov ecx, dword [eax*4 + str.RRRR_t_t_t_tjjjj]
and ecx, 0xff000000
mov edx, dword [ebp - 0x1c]
shr edx, 0x10
and edx, 0xff
mov eax, dword [edx*4 + str.RRRR_t_t_t_tjjjj]
and eax, 0xff0000
xor ecx, eax
mov edx, dword [ebp - 0x20]
shr edx, 8
and edx, 0xff
mov eax, dword [edx*4 + str.RRRR_t_t_t_tjjjj]
and eax, 0xff00
xor ecx, eax
mov edx, dword [ebp - 0x14]
and edx, 0xff
mov eax, dword [edx*4 + str.RRRR_t_t_t_tjjjj]
and eax, 0xff
xor ecx, eax
mov edx, 4
shl edx, 1
mov eax, dword [ebp - 4]
xor ecx, dword [eax + edx]
mov dword [ebp - 0x10], ecx
push 8
mov ecx, dword [ebp - 0x10]
push ecx
call fcn.0040354e
add esp, 8
mov esi, eax
and esi, 0xff00ff
push 8
mov edx, dword [ebp - 0x10]
push edx
call fcn.004049bc
add esp, 8
and eax, 0xff00ff00
or esi, eax
mov eax, dword [ebp + 0xc]
mov dword [eax + 8], esi
mov ecx, dword [ebp - 0x14]
shr ecx, 0x18
mov edx, dword [ecx*4 + str.RRRR_t_t_t_tjjjj]
and edx, 0xff000000
mov eax, dword [ebp - 0x18]
shr eax, 0x10
and eax, 0xff
mov ecx, dword [eax*4 + str.RRRR_t_t_t_tjjjj]
and ecx, 0xff0000
xor edx, ecx
mov eax, dword [ebp - 0x1c]
shr eax, 8
and eax, 0xff
mov ecx, dword [eax*4 + str.RRRR_t_t_t_tjjjj]
and ecx, 0xff00
xor edx, ecx
mov eax, dword [ebp - 0x20]
and eax, 0xff
mov ecx, dword [eax*4 + str.RRRR_t_t_t_tjjjj]
and ecx, 0xff
xor edx, ecx
mov eax, 4
imul ecx, eax, 3
mov eax, dword [ebp - 4]
xor edx, dword [eax + ecx]
mov dword [ebp - 0x24], edx
push 8
mov ecx, dword [ebp - 0x24]
push ecx
call fcn.0040354e
add esp, 8
mov esi, eax
and esi, 0xff00ff
push 8
mov edx, dword [ebp - 0x24]
push edx
call fcn.004049bc
add esp, 8
and eax, 0xff00ff00
or esi, eax
mov eax, dword [ebp + 0xc]
mov dword [eax + 0xc], esi
pop esi
mov esp, ebp
pop ebp
ret