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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 0x10]
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov ecx, dword [esi + 0x10]
mov ecx, ecx
xor ecx, dword [eax]
mov edx, dword [esi + 0x14]
xor edx, dword [eax + 4]
mov ebx, dword [esi + 0x1c]
xor ebx, dword [eax + 0xc]
mov dword [ebp + 0x10], ecx
mov ecx, dword [esi + 0x18]
nop
nop
xor ecx, dword [eax + 8]
mov ecx, ecx
mov eax, ecx
mov dword [ebp - 8], ecx
shr eax, 0x10
movzx ecx, al
mov eax, edx
shr eax, 8
movzx eax, al
mov eax, eax
mov edi, dword [esi]
add esi, 0x20
mov ecx, dword [ecx*4 + 0x610eacf4]
mov ecx, ecx
xor ecx, dword [eax*4 + 0x610ea8f4]
mov eax, ebx
shr eax, 0x18
nop
nop
xor ecx, dword [eax*4 + 0x610eb0f4]
nop
nop
nop
mov eax, dword [ebp + 0x10]
movzx eax, al
xor ecx, dword [eax*4 + 0x610ea4f4]
mov eax, ebx
nop
nop
xor ecx, dword [esi]
shr eax, 0x10
mov eax, eax
mov dword [ebp - 0x10], ecx
mov ecx, ecx
movzx ecx, al
mov ecx, ecx
mov eax, dword [ebp - 8]
nop
nop
shr eax, 8
movzx eax, al
mov ecx, dword [ecx*4 + 0x610eacf4]
xor ecx, dword [eax*4 + 0x610ea8f4]
mov ecx, ecx
mov eax, dword [ebp + 0x10]
shr eax, 0x18
xor ecx, dword [eax*4 + 0x610eb0f4]
mov ecx, ecx
movzx eax, dl
xor ecx, dword [eax*4 + 0x610ea4f4]
mov eax, ebx
xor ecx, dword [esi + 4]
shr eax, 8
mov ecx, ecx
mov dword [ebp - 4], ecx
movzx ecx, al
mov eax, dword [ebp + 0x10]
shr eax, 0x10
movzx eax, al
mov ecx, dword [ecx*4 + 0x610ea8f4]
xor ecx, dword [eax*4 + 0x610eacf4]
mov eax, edx
shr eax, 0x18
shr edx, 0x10
xor ecx, dword [eax*4 + 0x610eb0f4]
mov eax, eax
mov eax, dword [ebp - 8]
movzx eax, al
xor ecx, dword [eax*4 + 0x610ea4f4]
xor ecx, dword [esi + 8]
mov eax, dword [ebp + 0x10]
mov dword [ebp + 8], ecx
nop
nop
shr eax, 8
nop
nop
movzx eax, al
mov eax, eax
movzx ecx, dl
mov ecx, dword [ecx*4 + 0x610eacf4]
xor ecx, dword [eax*4 + 0x610ea8f4]
nop
nop
nop
mov eax, dword [ebp - 8]
shr eax, 0x18
mov eax, eax
xor ecx, dword [eax*4 + 0x610eb0f4]
mov ecx, ecx
movzx eax, bl
nop
nop
nop
xor ecx, dword [eax*4 + 0x610ea4f4]
xor ecx, dword [esi + 0xc]
dec edi
mov dword [ebp - 0x14], edi
mov ecx, ecx
jmp 0x5e70272d
mov eax, dword [ebp + 8]
shr eax, 0x10
movzx ecx, al
mov eax, eax
mov ebx, dword [ebp - 4]
nop
nop
nop
mov eax, ebx
shr eax, 8
movzx eax, al
mov ecx, dword [ecx*4 + 0x610eacf4]
mov edx, dword [ebp - 0x10]
xor ecx, dword [eax*4 + 0x610ea8f4]
mov eax, dword [ebp + 0x10]
nop
nop
nop
shr eax, 0x18
xor ecx, dword [eax*4 + 0x610eb0f4]
movzx eax, dl
mov ecx, ecx
xor ecx, dword [eax*4 + 0x610ea4f4]
xor ecx, dword [esi + 0x10]
mov eax, dword [ebp + 0x10]
shr eax, 0x10
mov dword [ebp - 8], ecx
movzx ecx, al
mov eax, dword [ebp + 8]
shr eax, 8
movzx eax, al
mov eax, eax
mov ecx, dword [ecx*4 + 0x610eacf4]
xor ecx, dword [eax*4 + 0x610ea8f4]
mov eax, edx
shr eax, 0x18
xor ecx, dword [eax*4 + 0x610eb0f4]
movzx eax, bl
mov eax, eax
xor ecx, dword [eax*4 + 0x610ea4f4]
xor ecx, dword [esi + 0x14]
mov eax, dword [ebp + 0x10]
shr eax, 8
mov dword [ebp - 0xc], ecx
movzx ecx, al
mov ecx, ecx
mov eax, edx
shr eax, 0x10
movzx eax, al
shr edx, 8
nop
nop
nop
mov ebx, dword [ecx*4 + 0x610ea8f4]
mov ecx, dword [ebp - 4]
nop
xor ebx, dword [eax*4 + 0x610eacf4]
mov eax, eax
mov eax, ecx
shr eax, 0x18
mov eax, eax
shr ecx, 0x10
movzx ecx, cl
xor ebx, dword [eax*4 + 0x610eb0f4]
mov eax, dword [ebp + 8]
movzx eax, al
nop
nop
nop
xor ebx, dword [eax*4 + 0x610ea4f4]
xor ebx, dword [esi + 0x18]
movzx eax, dl
nop
nop
nop
mov edx, dword [ecx*4 + 0x610eacf4]
xor edx, dword [eax*4 + 0x610ea8f4]
mov eax, dword [ebp + 8]
nop
nop
shr eax, 0x18
xor edx, dword [eax*4 + 0x610eb0f4]
mov ecx, ecx
mov eax, dword [ebp + 0x10]
movzx eax, al
xor edx, dword [eax*4 + 0x610ea4f4]
mov eax, ebx
nop
nop
nop
xor edx, dword [esi + 0x1c]
add esi, 0x20
shr eax, 0x10
mov eax, eax
movzx ecx, al
mov eax, dword [ebp - 0xc]
mov ecx, ecx
shr eax, 8
mov eax, eax
movzx eax, al
mov eax, eax
mov ecx, dword [ecx*4 + 0x610eacf4]
xor ecx, dword [eax*4 + 0x610ea8f4]
mov eax, edx
shr eax, 0x18
nop
nop
nop
xor ecx, dword [eax*4 + 0x610eb0f4]
mov eax, dword [ebp - 8]
movzx eax, al
xor ecx, dword [eax*4 + 0x610ea4f4]
mov eax, edx
xor ecx, dword [esi]
shr eax, 0x10
nop
mov dword [ebp - 0x10], ecx
movzx ecx, al
mov ecx, dword [ecx*4 + 0x610eacf4]
mov eax, ebx
shr eax, 8
nop
nop
movzx eax, al
xor ecx, dword [eax*4 + 0x610ea8f4]
mov eax, dword [ebp - 8]
shr eax, 0x18
mov ecx, ecx
xor ecx, dword [eax*4 + 0x610eb0f4]
mov eax, dword [ebp - 0xc]
mov ecx, ecx
movzx eax, al
nop
nop
xor ecx, dword [eax*4 + 0x610ea4f4]
mov eax, eax
mov eax, edx
mov eax, eax
xor ecx, dword [esi + 4]
mov eax, eax
shr eax, 8
nop
nop
mov dword [ebp - 4], ecx
movzx ecx, al
mov eax, dword [ebp - 8]
nop
shr eax, 0x10
movzx eax, al
mov ecx, dword [ecx*4 + 0x610ea8f4]
mov eax, eax
xor ecx, dword [eax*4 + 0x610eacf4]
mov ecx, ecx
mov dword [ebp + 8], ecx
mov eax, eax
mov ecx, dword [ebp - 0xc]
mov eax, eax
mov eax, ecx
mov edi, dword [ebp + 8]
nop
nop
nop
shr eax, 0x18
nop
nop
nop
shr ecx, 0x10
movzx ecx, cl
xor edi, dword [eax*4 + 0x610eb0f4]
movzx eax, bl
mov ecx, dword [ecx*4 + 0x610eacf4]
nop
shr ebx, 0x18
nop
nop
xor edi, dword [eax*4 + 0x610ea4f4]
mov eax, edi
nop
nop
mov dword [ebp + 8], edi
xor eax, dword [esi + 8]
nop
mov dword [ebp + 8], eax
mov eax, dword [ebp - 8]
shr eax, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x610ea8f4]
xor ecx, dword [ebx*4 + 0x610eb0f4]
movzx eax, dl
xor ecx, dword [eax*4 + 0x610ea4f4]
xor ecx, dword [esi + 0xc]
dec dword [ebp - 0x14]
mov dword [ebp + 0x10], ecx
jne 0x5e7024e6
mov eax, eax
mov eax, ecx
mov ebx, dword [ebp - 0x10]
shr eax, 0x18
mov edx, dword [ebp + 0xc]
mov eax, eax
movzx ecx, byte [eax + 0x610e2044]
mov eax, dword [ebp + 8]
mov ecx, ecx
shr eax, 0x10
movzx eax, al
shl ecx, 8
mov ecx, ecx
movzx eax, byte [eax + 0x610e2044]
mov ecx, ecx
or ecx, eax
mov eax, dword [ebp - 4]
nop
nop
shr eax, 8
mov eax, eax
movzx eax, al
mov eax, eax
shl ecx, 8
nop
nop
movzx eax, byte [eax + 0x610e2044]
or ecx, eax
movzx eax, bl
shl ecx, 8
movzx eax, byte [eax + 0x610e2044]
or ecx, eax
mov eax, dword [ebp + 0x10]
xor ecx, dword [esi + 0x10]
mov ecx, ecx
shr eax, 0x10
movzx eax, al
mov dword [edx], ecx
movzx ecx, byte [eax + 0x610e2044]
mov eax, ebx
shr eax, 0x18
movzx eax, byte [eax + 0x610e2044]
shl eax, 8
mov ecx, ecx
or ecx, eax
mov eax, dword [ebp + 8]
shr eax, 8
mov ecx, ecx
movzx eax, al
shl ecx, 8
movzx eax, byte [eax + 0x610e2044]
nop
or ecx, eax
mov eax, dword [ebp - 4]
movzx eax, al
shl ecx, 8
movzx eax, byte [eax + 0x610e2044]
or ecx, eax
mov eax, dword [ebp - 4]
xor ecx, dword [esi + 0x14]
shr eax, 0x18
mov dword [edx + 4], ecx
movzx ecx, byte [eax + 0x610e2044]
mov eax, ebx
shr eax, 0x10
movzx eax, al
shl ecx, 8
mov eax, eax
shr ebx, 8
movzx eax, byte [eax + 0x610e2044]
or ecx, eax
nop
mov eax, dword [ebp + 0x10]
nop
nop
shr eax, 8
movzx eax, al
mov eax, eax
shl ecx, 8
movzx eax, byte [eax + 0x610e2044]
mov eax, eax
or ecx, eax
mov eax, dword [ebp + 8]
movzx eax, al
shl ecx, 8
movzx eax, byte [eax + 0x610e2044]
mov eax, eax
or ecx, eax
nop
nop
nop
mov eax, dword [ebp + 8]
xor ecx, dword [esi + 0x18]
mov eax, eax
shr eax, 0x18
mov eax, eax
mov dword [edx + 8], ecx
movzx ecx, byte [eax + 0x610e2044]
mov eax, dword [ebp - 4]
shr eax, 0x10
mov eax, eax
movzx eax, al
mov ecx, ecx
shl ecx, 8
movzx eax, byte [eax + 0x610e2044]
mov ecx, ecx
or ecx, eax
nop
nop
nop
movzx eax, bl
shl ecx, 8
movzx eax, byte [eax + 0x610e2044]
mov eax, eax
or ecx, eax
mov ecx, ecx
mov eax, dword [ebp + 0x10]
mov ecx, ecx
movzx eax, al
shl ecx, 8
pop edi
movzx eax, byte [eax + 0x610e2044]
or ecx, eax
xor ecx, dword [esi + 0x1c]
pop esi
mov dword [edx + 0xc], ecx
pop ebx
nop
nop
mov esp, ebp
pop ebp
ret