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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [ebp + 0x10]
mov dword [ebp - 4], eax
xor eax, eax
inc eax
imul eax, eax, 0
mov ecx, dword [ebp + 8]
movzx eax, byte [ecx + eax]
shl eax, 0x18
xor ecx, ecx
inc ecx
shl ecx, 0
mov edx, dword [ebp + 8]
movzx ecx, byte [edx + ecx]
shl ecx, 0x10
xor eax, ecx
xor ecx, ecx
inc ecx
shl ecx, 1
mov edx, dword [ebp + 8]
movzx ecx, byte [edx + ecx]
shl ecx, 8
xor eax, ecx
xor ecx, ecx
inc ecx
imul ecx, ecx, 3
mov edx, dword [ebp + 8]
movzx ecx, byte [edx + ecx]
xor eax, ecx
push 4
pop ecx
imul ecx, ecx, 0
mov edx, dword [ebp - 4]
xor eax, dword [edx + ecx]
mov dword [ebp - 8], eax
xor eax, eax
inc eax
imul eax, eax, 0
mov ecx, dword [ebp + 8]
movzx eax, byte [ecx + eax + 4]
shl eax, 0x18
xor ecx, ecx
inc ecx
shl ecx, 0
mov edx, dword [ebp + 8]
movzx ecx, byte [edx + ecx + 4]
shl ecx, 0x10
xor eax, ecx
xor ecx, ecx
inc ecx
shl ecx, 1
mov edx, dword [ebp + 8]
movzx ecx, byte [edx + ecx + 4]
shl ecx, 8
xor eax, ecx
xor ecx, ecx
inc ecx
imul ecx, ecx, 3
mov edx, dword [ebp + 8]
movzx ecx, byte [edx + ecx + 4]
xor eax, ecx
push 4
pop ecx
shl ecx, 0
mov edx, dword [ebp - 4]
xor eax, dword [edx + ecx]
mov dword [ebp - 0xc], eax
xor eax, eax
inc eax
imul eax, eax, 0
mov ecx, dword [ebp + 8]
movzx eax, byte [ecx + eax + 8]
shl eax, 0x18
xor ecx, ecx
inc ecx
shl ecx, 0
mov edx, dword [ebp + 8]
movzx ecx, byte [edx + ecx + 8]
shl ecx, 0x10
xor eax, ecx
xor ecx, ecx
inc ecx
shl ecx, 1
mov edx, dword [ebp + 8]
movzx ecx, byte [edx + ecx + 8]
shl ecx, 8
xor eax, ecx
xor ecx, ecx
inc ecx
imul ecx, ecx, 3
mov edx, dword [ebp + 8]
movzx ecx, byte [edx + ecx + 8]
xor eax, ecx
push 4
pop ecx
shl ecx, 1
mov edx, dword [ebp - 4]
xor eax, dword [edx + ecx]
mov dword [ebp - 0x10], eax
xor eax, eax
inc eax
imul eax, eax, 0
mov ecx, dword [ebp + 8]
movzx eax, byte [ecx + eax + 0xc]
shl eax, 0x18
xor ecx, ecx
inc ecx
shl ecx, 0
mov edx, dword [ebp + 8]
movzx ecx, byte [edx + ecx + 0xc]
shl ecx, 0x10
xor eax, ecx
xor ecx, ecx
inc ecx
shl ecx, 1
mov edx, dword [ebp + 8]
movzx ecx, byte [edx + ecx + 0xc]
shl ecx, 8
xor eax, ecx
xor ecx, ecx
inc ecx
imul ecx, ecx, 3
mov edx, dword [ebp + 8]
movzx ecx, byte [edx + ecx + 0xc]
xor eax, ecx
push 4
pop ecx
imul ecx, ecx, 3
mov edx, dword [ebp - 4]
xor eax, dword [edx + ecx]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 0x10]
mov eax, dword [eax + 0xf0]
sar eax, 1
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 8]
shr eax, 0x18
mov ecx, dword [ebp - 0x14]
shr ecx, 0x10
and ecx, 0xff
mov eax, dword [eax*4 + 0x680170]
xor eax, dword [ecx*4 + 0x680570]
mov ecx, dword [ebp - 0x10]
shr ecx, 8
and ecx, 0xff
xor eax, dword [ecx*4 + 0x680970]
mov ecx, dword [ebp - 0xc]
and ecx, 0xff
xor eax, dword [ecx*4 + 0x680d70]
push 4
pop ecx
shl ecx, 2
mov edx, dword [ebp - 4]
xor eax, dword [edx + ecx]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0xc]
shr eax, 0x18
mov ecx, dword [ebp - 8]
shr ecx, 0x10
and ecx, 0xff
mov eax, dword [eax*4 + 0x680170]
xor eax, dword [ecx*4 + 0x680570]
mov ecx, dword [ebp - 0x14]
shr ecx, 8
and ecx, 0xff
xor eax, dword [ecx*4 + 0x680970]
mov ecx, dword [ebp - 0x10]
and ecx, 0xff
xor eax, dword [ecx*4 + 0x680d70]
push 4
pop ecx
imul ecx, ecx, 5
mov edx, dword [ebp - 4]
xor eax, dword [edx + ecx]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x10]
shr eax, 0x18
mov ecx, dword [ebp - 0xc]
shr ecx, 0x10
and ecx, 0xff
mov eax, dword [eax*4 + 0x680170]
xor eax, dword [ecx*4 + 0x680570]
mov ecx, dword [ebp - 8]
shr ecx, 8
and ecx, 0xff
xor eax, dword [ecx*4 + 0x680970]
mov ecx, dword [ebp - 0x14]
and ecx, 0xff
xor eax, dword [ecx*4 + 0x680d70]
push 4
pop ecx
imul ecx, ecx, 6
mov edx, dword [ebp - 4]
xor eax, dword [edx + ecx]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x14]
shr eax, 0x18
mov ecx, dword [ebp - 0x10]
shr ecx, 0x10
and ecx, 0xff
mov eax, dword [eax*4 + 0x680170]
xor eax, dword [ecx*4 + 0x680570]
mov ecx, dword [ebp - 0xc]
shr ecx, 8
and ecx, 0xff
xor eax, dword [ecx*4 + 0x680970]
mov ecx, dword [ebp - 8]
and ecx, 0xff
xor eax, dword [ecx*4 + 0x680d70]
push 4
pop ecx
imul ecx, ecx, 7
mov edx, dword [ebp - 4]
xor eax, dword [edx + ecx]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 4]
add eax, 0x20
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x28]
dec eax
mov dword [ebp - 0x28], eax
jne 0x41178f
jmp 0x4118db
mov eax, dword [ebp - 0x24]
shr eax, 0x18
mov ecx, dword [ebp - 0x18]
shr ecx, 0x10
and ecx, 0xff
mov eax, dword [eax*4 + 0x680170]
xor eax, dword [ecx*4 + 0x680570]
mov ecx, dword [ebp - 0x1c]
shr ecx, 8
and ecx, 0xff
xor eax, dword [ecx*4 + 0x680970]
mov ecx, dword [ebp - 0x20]
and ecx, 0xff
xor eax, dword [ecx*4 + 0x680d70]
push 4
pop ecx
imul ecx, ecx, 0
mov edx, dword [ebp - 4]
xor eax, dword [edx + ecx]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x20]
shr eax, 0x18
mov ecx, dword [ebp - 0x24]
shr ecx, 0x10
and ecx, 0xff
mov eax, dword [eax*4 + 0x680170]
xor eax, dword [ecx*4 + 0x680570]
mov ecx, dword [ebp - 0x18]
shr ecx, 8
and ecx, 0xff
xor eax, dword [ecx*4 + 0x680970]
mov ecx, dword [ebp - 0x1c]
and ecx, 0xff
xor eax, dword [ecx*4 + 0x680d70]
push 4
pop ecx
shl ecx, 0
mov edx, dword [ebp - 4]
xor eax, dword [edx + ecx]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x1c]
shr eax, 0x18
mov ecx, dword [ebp - 0x20]
shr ecx, 0x10
and ecx, 0xff
mov eax, dword [eax*4 + 0x680170]
xor eax, dword [ecx*4 + 0x680570]
mov ecx, dword [ebp - 0x24]
shr ecx, 8
and ecx, 0xff
xor eax, dword [ecx*4 + 0x680970]
mov ecx, dword [ebp - 0x18]
and ecx, 0xff
xor eax, dword [ecx*4 + 0x680d70]
push 4
pop ecx
shl ecx, 1
mov edx, dword [ebp - 4]
xor eax, dword [edx + ecx]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x18]
shr eax, 0x18
mov ecx, dword [ebp - 0x1c]
shr ecx, 0x10
and ecx, 0xff
mov eax, dword [eax*4 + 0x680170]
xor eax, dword [ecx*4 + 0x680570]
mov ecx, dword [ebp - 0x20]
shr ecx, 8
and ecx, 0xff
xor eax, dword [ecx*4 + 0x680970]
mov ecx, dword [ebp - 0x24]
and ecx, 0xff
xor eax, dword [ecx*4 + 0x680d70]
push 4
pop ecx
imul ecx, ecx, 3
mov edx, dword [ebp - 4]
xor eax, dword [edx + ecx]
mov dword [ebp - 0x14], eax
jmp 0x411630
mov eax, dword [ebp - 0x24]
shr eax, 0x18
mov eax, dword [eax*4 + str.RRRR_t_t_t_tjjjj]
and eax, 0xff000000
mov ecx, dword [ebp - 0x18]
shr ecx, 0x10
and ecx, 0xff
mov ecx, dword [ecx*4 + str.RRRR_t_t_t_tjjjj]
and ecx, 0xff0000
xor eax, ecx
mov ecx, dword [ebp - 0x1c]
shr ecx, 8
and ecx, 0xff
mov ecx, dword [ecx*4 + str.RRRR_t_t_t_tjjjj]
and ecx, 0xff00
xor eax, ecx
mov ecx, dword [ebp - 0x20]
and ecx, 0xff
mov ecx, dword [ecx*4 + str.RRRR_t_t_t_tjjjj]
and ecx, 0xff
xor eax, ecx
push 4
pop ecx
imul ecx, ecx, 0
mov edx, dword [ebp - 4]
xor eax, dword [edx + ecx]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
shr eax, 0x18
xor ecx, ecx
inc ecx
imul ecx, ecx, 0
mov edx, dword [ebp + 0xc]
mov byte [edx + ecx], al
mov eax, dword [ebp - 8]
shr eax, 0x10
xor ecx, ecx
inc ecx
shl ecx, 0
mov edx, dword [ebp + 0xc]
mov byte [edx + ecx], al
mov eax, dword [ebp - 8]
shr eax, 8
xor ecx, ecx
inc ecx
shl ecx, 1
mov edx, dword [ebp + 0xc]
mov byte [edx + ecx], al
xor eax, eax
inc eax
imul eax, eax, 3
mov ecx, dword [ebp + 0xc]
mov dl, byte [ebp - 8]
mov byte [ecx + eax], dl
mov eax, dword [ebp - 0x20]
shr eax, 0x18
mov eax, dword [eax*4 + str.RRRR_t_t_t_tjjjj]
and eax, 0xff000000
mov ecx, dword [ebp - 0x24]
shr ecx, 0x10
and ecx, 0xff
mov ecx, dword [ecx*4 + str.RRRR_t_t_t_tjjjj]
and ecx, 0xff0000
xor eax, ecx
mov ecx, dword [ebp - 0x18]
shr ecx, 8
and ecx, 0xff
mov ecx, dword [ecx*4 + str.RRRR_t_t_t_tjjjj]
and ecx, 0xff00
xor eax, ecx
mov ecx, dword [ebp - 0x1c]
and ecx, 0xff
mov ecx, dword [ecx*4 + str.RRRR_t_t_t_tjjjj]
and ecx, 0xff
xor eax, ecx
push 4
pop ecx
shl ecx, 0
mov edx, dword [ebp - 4]
xor eax, dword [edx + ecx]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
shr eax, 0x18
xor ecx, ecx
inc ecx
imul ecx, ecx, 0
mov edx, dword [ebp + 0xc]
mov byte [edx + ecx + 4], al
mov eax, dword [ebp - 0xc]
shr eax, 0x10
xor ecx, ecx
inc ecx
shl ecx, 0
mov edx, dword [ebp + 0xc]
mov byte [edx + ecx + 4], al
mov eax, dword [ebp - 0xc]
shr eax, 8
xor ecx, ecx
inc ecx
shl ecx, 1
mov edx, dword [ebp + 0xc]
mov byte [edx + ecx + 4], al
xor eax, eax
inc eax
imul eax, eax, 3
mov ecx, dword [ebp + 0xc]
mov dl, byte [ebp - 0xc]
mov byte [ecx + eax + 4], dl
mov eax, dword [ebp - 0x1c]
shr eax, 0x18
mov eax, dword [eax*4 + str.RRRR_t_t_t_tjjjj]
and eax, 0xff000000
mov ecx, dword [ebp - 0x20]
shr ecx, 0x10
and ecx, 0xff
mov ecx, dword [ecx*4 + str.RRRR_t_t_t_tjjjj]
and ecx, 0xff0000
xor eax, ecx
mov ecx, dword [ebp - 0x24]
shr ecx, 8
and ecx, 0xff
mov ecx, dword [ecx*4 + str.RRRR_t_t_t_tjjjj]
and ecx, 0xff00
xor eax, ecx
mov ecx, dword [ebp - 0x18]
and ecx, 0xff
mov ecx, dword [ecx*4 + str.RRRR_t_t_t_tjjjj]
and ecx, 0xff
xor eax, ecx
push 4
pop ecx
shl ecx, 1
mov edx, dword [ebp - 4]
xor eax, dword [edx + ecx]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
shr eax, 0x18
xor ecx, ecx
inc ecx
imul ecx, ecx, 0
mov edx, dword [ebp + 0xc]
mov byte [edx + ecx + 8], al
mov eax, dword [ebp - 0x10]
shr eax, 0x10
xor ecx, ecx
inc ecx
shl ecx, 0
mov edx, dword [ebp + 0xc]
mov byte [edx + ecx + 8], al
mov eax, dword [ebp - 0x10]
shr eax, 8
xor ecx, ecx
inc ecx
shl ecx, 1
mov edx, dword [ebp + 0xc]
mov byte [edx + ecx + 8], al
xor eax, eax
inc eax
imul eax, eax, 3
mov ecx, dword [ebp + 0xc]
mov dl, byte [ebp - 0x10]
mov byte [ecx + eax + 8], dl
mov eax, dword [ebp - 0x18]
shr eax, 0x18
mov eax, dword [eax*4 + str.RRRR_t_t_t_tjjjj]
and eax, 0xff000000
mov ecx, dword [ebp - 0x1c]
shr ecx, 0x10
and ecx, 0xff
mov ecx, dword [ecx*4 + str.RRRR_t_t_t_tjjjj]
and ecx, 0xff0000
xor eax, ecx
mov ecx, dword [ebp - 0x20]
shr ecx, 8
and ecx, 0xff
mov ecx, dword [ecx*4 + str.RRRR_t_t_t_tjjjj]
and ecx, 0xff00
xor eax, ecx
mov ecx, dword [ebp - 0x24]
and ecx, 0xff
mov ecx, dword [ecx*4 + str.RRRR_t_t_t_tjjjj]
and ecx, 0xff
xor eax, ecx
push 4
pop ecx
imul ecx, ecx, 3
mov edx, dword [ebp - 4]
xor eax, dword [edx + ecx]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
shr eax, 0x18
xor ecx, ecx
inc ecx
imul ecx, ecx, 0
mov edx, dword [ebp + 0xc]
mov byte [edx + ecx + 0xc], al
mov eax, dword [ebp - 0x14]
shr eax, 0x10
xor ecx, ecx
inc ecx
shl ecx, 0
mov edx, dword [ebp + 0xc]
mov byte [edx + ecx + 0xc], al
mov eax, dword [ebp - 0x14]
shr eax, 8
xor ecx, ecx
inc ecx
shl ecx, 1
mov edx, dword [ebp + 0xc]
mov byte [edx + ecx + 0xc], al
xor eax, eax
inc eax
imul eax, eax, 3
mov ecx, dword [ebp + 0xc]
mov dl, byte [ebp - 0x14]
mov byte [ecx + eax + 0xc], dl
mov esp, ebp
pop ebp
ret