Function at 0x405218
Capabilities:
Encrypt data using aes

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe0
push esi
push edi
push ebx
push ecx
mov esi, dword [ebp + 8]
mov edi, 0x4251f4
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 [0x4253f4]
shr esi, 1
mov eax, dword [ebp - 4]
mov ebx, dword [ebp - 8]
mov ecx, dword [ebp - 0xc]
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 + 0x4024e0]
mov ebx, dword [ebx*4 + 0x4028e0]
mov ecx, dword [ecx*4 + 0x402ce0]
mov edx, dword [edx*4 + 0x4030e0]
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 - 0xc]
mov ecx, dword [ebp - 0x10]
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 + 0x4024e0]
mov ebx, dword [ebx*4 + 0x4028e0]
mov ecx, dword [ecx*4 + 0x402ce0]
mov edx, dword [edx*4 + 0x4030e0]
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 - 0x10]
mov ecx, dword [ebp - 4]
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 + 0x4024e0]
mov ebx, dword [ebx*4 + 0x4028e0]
mov ecx, dword [ecx*4 + 0x402ce0]
mov edx, dword [edx*4 + 0x4030e0]
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 - 4]
mov ecx, dword [ebp - 8]
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 + 0x4024e0]
mov ebx, dword [ebx*4 + 0x4028e0]
mov ecx, dword [ecx*4 + 0x402ce0]
mov edx, dword [edx*4 + 0x4030e0]
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 0x4054e2
mov eax, dword [ebp - 0x14]
mov ebx, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x1c]
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 + 0x4024e0]
mov ebx, dword [ebx*4 + 0x4028e0]
mov ecx, dword [ecx*4 + 0x402ce0]
mov edx, dword [edx*4 + 0x4030e0]
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 - 0x1c]
mov ecx, dword [ebp - 0x20]
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 + 0x4024e0]
mov ebx, dword [ebx*4 + 0x4028e0]
mov ecx, dword [ecx*4 + 0x402ce0]
mov edx, dword [edx*4 + 0x4030e0]
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 - 0x20]
mov ecx, dword [ebp - 0x14]
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 + 0x4024e0]
mov ebx, dword [ebx*4 + 0x4028e0]
mov ecx, dword [ecx*4 + 0x402ce0]
mov edx, dword [edx*4 + 0x4030e0]
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 - 0x14]
mov ecx, dword [ebp - 0x18]
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 + 0x4024e0]
mov ebx, dword [ebx*4 + 0x4028e0]
mov ecx, dword [ecx*4 + 0x402ce0]
mov edx, dword [edx*4 + 0x4030e0]
xor eax, ebx
xor eax, ecx
xor eax, edx
xor eax, dword [edi + 0xc]
mov dword [ebp - 0x10], eax
jmp 0x40525c
mov esi, dword [ebp + 0xc]
mov eax, dword [ebp - 0x14]
mov ebx, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x1c]
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 + 0x4034e0]
mov ebx, dword [ebx*4 + 0x4034e0]
mov ecx, dword [ecx*4 + 0x4034e0]
mov edx, dword [edx*4 + 0x4034e0]
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 - 0x1c]
mov ecx, dword [ebp - 0x20]
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 + 0x4034e0]
mov ebx, dword [ebx*4 + 0x4034e0]
mov ecx, dword [ecx*4 + 0x4034e0]
mov edx, dword [edx*4 + 0x4034e0]
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 - 0x20]
mov ecx, dword [ebp - 0x14]
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 + 0x4034e0]
mov ebx, dword [ebx*4 + 0x4034e0]
mov ecx, dword [ecx*4 + 0x4034e0]
mov edx, dword [edx*4 + 0x4034e0]
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 - 0x14]
mov ecx, dword [ebp - 0x18]
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 + 0x4034e0]
mov ebx, dword [ebx*4 + 0x4034e0]
mov ecx, dword [ecx*4 + 0x4034e0]
mov edx, dword [edx*4 + 0x4034e0]
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 ecx
pop ebx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8