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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push esi
mov eax, dword [ebp + 0x10]
shr eax, 2
add eax, 6
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x10], ecx
mov dword [ebp - 4], 0
mov edx, dword [ebp - 0xc]
shl edx, 2
mov dword [ebp - 0x14], edx
jmp 0x40158d
mov eax, dword [ebp - 4]
add eax, 4
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 0x14]
sub ecx, 4
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp - 4]
cmp edx, dword [ebp - 0x14]
jae 0x401652
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + eax*4]
mov dword [ebp - 8], edx
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x14]
mov esi, dword [ebp - 0x10]
mov edx, dword [esi + edx*4]
mov dword [ecx + eax*4], edx
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 8]
mov dword [ecx + eax*4], edx
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + eax*4 + 4]
mov dword [ebp - 8], edx
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x14]
mov esi, dword [ebp - 0x10]
mov edx, dword [esi + edx*4 + 4]
mov dword [ecx + eax*4 + 4], edx
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 8]
mov dword [ecx + eax*4 + 4], edx
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + eax*4 + 8]
mov dword [ebp - 8], edx
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x14]
mov esi, dword [ebp - 0x10]
mov edx, dword [esi + edx*4 + 8]
mov dword [ecx + eax*4 + 8], edx
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 8]
mov dword [ecx + eax*4 + 8], edx
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + eax*4 + 0xc]
mov dword [ebp - 8], edx
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x14]
mov esi, dword [ebp - 0x10]
mov edx, dword [esi + edx*4 + 0xc]
mov dword [ecx + eax*4 + 0xc], edx
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 8]
mov dword [ecx + eax*4 + 0xc], edx
jmp 0x40157b
mov dword [ebp - 4], 1
jmp 0x401664
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp - 0xc]
jae 0x401891
mov edx, dword [ebp - 0x10]
add edx, 0x10
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
shr ecx, 0x18
mov edx, dword [ecx*4 + str.ccccwwww]
and edx, 0xff
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
shr ecx, 0x10
and ecx, 0xff
mov eax, dword [ecx*4 + str.ccccwwww]
and eax, 0xff
mov ecx, dword [edx*4 + 0x412600]
xor ecx, dword [eax*4 + 0x412a00]
mov edx, dword [ebp - 0x10]
mov eax, dword [edx]
shr eax, 8
and eax, 0xff
mov edx, dword [eax*4 + str.ccccwwww]
and edx, 0xff
xor ecx, dword [edx*4 + 0x412e00]
mov eax, dword [ebp - 0x10]
mov edx, dword [eax]
and edx, 0xff
mov eax, dword [edx*4 + str.ccccwwww]
and eax, 0xff
xor ecx, dword [eax*4 + 0x413200]
mov edx, dword [ebp - 0x10]
mov dword [edx], ecx
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 4]
shr ecx, 0x18
mov edx, dword [ecx*4 + str.ccccwwww]
and edx, 0xff
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 4]
shr ecx, 0x10
and ecx, 0xff
mov eax, dword [ecx*4 + str.ccccwwww]
and eax, 0xff
mov ecx, dword [edx*4 + 0x412600]
xor ecx, dword [eax*4 + 0x412a00]
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 4]
shr eax, 8
and eax, 0xff
mov edx, dword [eax*4 + str.ccccwwww]
and edx, 0xff
xor ecx, dword [edx*4 + 0x412e00]
mov eax, dword [ebp - 0x10]
mov edx, dword [eax + 4]
and edx, 0xff
mov eax, dword [edx*4 + str.ccccwwww]
and eax, 0xff
xor ecx, dword [eax*4 + 0x413200]
mov edx, dword [ebp - 0x10]
mov dword [edx + 4], ecx
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 8]
shr ecx, 0x18
mov edx, dword [ecx*4 + str.ccccwwww]
and edx, 0xff
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 8]
shr ecx, 0x10
and ecx, 0xff
mov eax, dword [ecx*4 + str.ccccwwww]
and eax, 0xff
mov ecx, dword [edx*4 + 0x412600]
xor ecx, dword [eax*4 + 0x412a00]
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 8]
shr eax, 8
and eax, 0xff
mov edx, dword [eax*4 + str.ccccwwww]
and edx, 0xff
xor ecx, dword [edx*4 + 0x412e00]
mov eax, dword [ebp - 0x10]
mov edx, dword [eax + 8]
and edx, 0xff
mov eax, dword [edx*4 + str.ccccwwww]
and eax, 0xff
xor ecx, dword [eax*4 + 0x413200]
mov edx, dword [ebp - 0x10]
mov dword [edx + 8], ecx
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0xc]
shr ecx, 0x18
mov edx, dword [ecx*4 + str.ccccwwww]
and edx, 0xff
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0xc]
shr ecx, 0x10
and ecx, 0xff
mov eax, dword [ecx*4 + str.ccccwwww]
and eax, 0xff
mov ecx, dword [edx*4 + 0x412600]
xor ecx, dword [eax*4 + 0x412a00]
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 0xc]
shr eax, 8
and eax, 0xff
mov edx, dword [eax*4 + str.ccccwwww]
and edx, 0xff
xor ecx, dword [edx*4 + 0x412e00]
mov eax, dword [ebp - 0x10]
mov edx, dword [eax + 0xc]
and edx, 0xff
mov eax, dword [edx*4 + str.ccccwwww]
and eax, 0xff
xor ecx, dword [eax*4 + 0x413200]
mov edx, dword [ebp - 0x10]
mov dword [edx + 0xc], ecx
jmp 0x40165b
pop esi
mov esp, ebp
pop ebp
ret 0xc