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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
push esi
push edi
mov dword [ebp - 0xc], ecx
mov eax, dword [ecx + 0x48]
mov ebx, dword [ebp + 8]
mov esi, eax
add esi, esi
mov edx, dword [ecx + esi*8 + 0x4c]
xor edx, dword [ebx]
add eax, 5
add eax, eax
mov edi, dword [ecx + eax*8]
xor edi, dword [ebx + 4]
mov eax, dword [ecx + esi*8 + 0x54]
xor eax, dword [ebx + 8]
mov esi, dword [ecx + esi*8 + 0x58]
xor esi, dword [ebx + 0xc]
mov dword [ebp - 0x14], eax
mov ebx, esi
shr ebx, 8
movzx ebx, bl
mov ebx, dword [ebx*4 + 0x712e88]
mov dword [ebp - 0x18], edi
shr eax, 0x10
shr edi, 0x18
movzx eax, al
xor ebx, dword [eax*4 + 0x713288]
mov dword [ebp - 0x10], esi
xor ebx, dword [edi*4 + 0x713688]
mov edi, dword [ebp - 0x14]
movzx eax, dl
xor ebx, dword [eax*4 + 0x712a88]
mov eax, dword [ebp + 0xc]
mov dword [eax], ebx
mov ebx, esi
shr ebx, 0x10
movzx esi, bl
mov esi, dword [esi*4 + 0x713288]
shr edi, 0x18
xor esi, dword [edi*4 + 0x713688]
mov ebx, edx
shr ebx, 8
movzx edi, bl
xor esi, dword [edi*4 + 0x712e88]
movzx edi, byte [ebp - 0x18]
xor esi, dword [edi*4 + 0x712a88]
mov ebx, dword [ebp - 0x18]
mov dword [eax + 4], esi
mov esi, dword [ebp - 0x10]
shr esi, 0x18
mov esi, dword [esi*4 + 0x713688]
shr ebx, 8
movzx edi, bl
xor esi, dword [edi*4 + 0x712e88]
mov ebx, edx
shr ebx, 0x10
movzx edi, bl
xor esi, dword [edi*4 + 0x713288]
mov ebx, dword [ebp - 0x14]
movzx edi, bl
xor esi, dword [edi*4 + 0x712a88]
shr ebx, 8
mov dword [eax + 8], esi
movzx esi, bl
mov ebx, dword [ebp - 0x18]
mov esi, dword [esi*4 + 0x712e88]
shr ebx, 0x10
movzx edi, bl
xor esi, dword [edi*4 + 0x713288]
shr edx, 0x18
xor esi, dword [edx*4 + 0x713688]
movzx edx, byte [ebp - 0x10]
xor esi, dword [edx*4 + 0x712a88]
mov dword [eax + 0xc], esi
mov edx, dword [ecx + 0x48]
dec edx
cmp edx, 1
jle 0x5de9ea
mov ebx, dword [eax + 8]
mov edi, dword [eax + 4]
mov dword [ebp + 0xc], esi
lea esi, [edx + 5]
shl esi, 4
add esi, ecx
dec edx
mov dword [ebp + 8], ebx
mov dword [ebp - 4], edx
jmp 0x5de8d7
mov edi, dword [ebp - 8]
mov ecx, dword [esi]
xor ecx, edi
mov edi, dword [esi + 4]
xor edi, dword [ebp + 8]
mov edx, dword [esi - 4]
mov dword [ebp - 0x14], edi
mov edi, dword [esi + 8]
xor edi, dword [ebp + 0xc]
xor edx, dword [eax]
mov ebx, edi
shr ebx, 8
mov dword [ebp - 0x10], edi
movzx edi, bl
mov edi, dword [edi*4 + 0x712e88]
mov ebx, dword [ebp - 0x14]
shr ebx, 0x10
movzx ebx, bl
xor edi, dword [ebx*4 + 0x713288]
mov ebx, ecx
shr ebx, 0x18
xor edi, dword [ebx*4 + 0x713688]
movzx ebx, dl
xor edi, dword [ebx*4 + 0x712a88]
mov ebx, dword [ebp - 0x10]
shr ebx, 0x10
mov dword [eax], edi
movzx edi, bl
mov edi, dword [edi*4 + 0x713288]
mov ebx, dword [ebp - 0x14]
shr ebx, 0x18
xor edi, dword [ebx*4 + 0x713688]
mov ebx, edx
shr ebx, 8
movzx ebx, bl
xor edi, dword [ebx*4 + 0x712e88]
movzx ebx, cl
xor edi, dword [ebx*4 + 0x712a88]
mov ebx, ecx
mov dword [ebp - 8], edi
mov dword [eax + 4], edi
mov edi, dword [ebp - 0x10]
shr edi, 0x18
mov edi, dword [edi*4 + 0x713688]
shr ebx, 8
movzx ebx, bl
xor edi, dword [ebx*4 + 0x712e88]
mov ebx, edx
shr ebx, 0x10
movzx ebx, bl
xor edi, dword [ebx*4 + 0x713288]
movzx ebx, byte [ebp - 0x14]
xor edi, dword [ebx*4 + 0x712a88]
mov ebx, dword [ebp - 0x14]
mov dword [ebp + 8], edi
mov dword [eax + 8], edi
shr ebx, 8
shr ecx, 0x10
movzx edi, bl
mov edi, dword [edi*4 + 0x712e88]
movzx ecx, cl
xor edi, dword [ecx*4 + 0x713288]
shr edx, 0x18
xor edi, dword [edx*4 + 0x713688]
movzx edx, byte [ebp - 0x10]
xor edi, dword [edx*4 + 0x712a88]
sub esi, 0x10
dec dword [ebp - 4]
mov ecx, edi
mov dword [ebp + 0xc], ecx
mov dword [eax + 0xc], ecx
jne 0x5de8d4
mov ecx, dword [ebp - 0xc]
mov esi, dword [ecx + 0x60]
xor esi, dword [eax + 4]
mov edx, dword [ecx + 0x5c]
xor edx, dword [eax]
mov dword [ebp - 0x18], esi
mov esi, dword [ecx + 0x64]
xor esi, dword [eax + 8]
mov dword [ebp - 0x14], esi
mov esi, dword [ecx + 0x68]
xor esi, dword [eax + 0xc]
mov dword [ebp - 0x10], esi
movzx esi, dl
movzx ebx, byte [esi + 0x713a88]
mov byte [eax], bl
mov ebx, dword [ebp - 0x10]
shr ebx, 8
movzx esi, bl
movzx ebx, byte [esi + 0x713a88]
mov byte [eax + 1], bl
mov ebx, dword [ebp - 0x14]
shr ebx, 0x10
movzx esi, bl
movzx ebx, byte [esi + 0x713a88]
mov esi, dword [ebp - 0x18]
mov byte [eax + 2], bl
shr esi, 0x18
movzx ebx, byte [esi + 0x713a88]
movzx esi, byte [ebp - 0x18]
mov byte [eax + 3], bl
movzx ebx, byte [esi + 0x713a88]
mov byte [eax + 4], bl
mov ebx, edx
shr ebx, 8
movzx esi, bl
movzx ebx, byte [esi + 0x713a88]
mov byte [eax + 5], bl
mov ebx, dword [ebp - 0x10]
shr ebx, 0x10
movzx esi, bl
movzx ebx, byte [esi + 0x713a88]
mov esi, dword [ebp - 0x14]
mov byte [eax + 6], bl
shr esi, 0x18
movzx ebx, byte [esi + 0x713a88]
movzx esi, byte [ebp - 0x14]
mov byte [eax + 7], bl
movzx ebx, byte [esi + 0x713a88]
mov byte [eax + 8], bl
mov ebx, dword [ebp - 0x18]
shr ebx, 8
movzx esi, bl
movzx ebx, byte [esi + 0x713a88]
mov byte [eax + 9], bl
mov ebx, edx
shr ebx, 0x10
movzx esi, bl
movzx ebx, byte [esi + 0x713a88]
mov esi, dword [ebp - 0x10]
mov byte [eax + 0xa], bl
shr esi, 0x18
movzx ebx, byte [esi + 0x713a88]
movzx esi, byte [ebp - 0x10]
mov byte [eax + 0xb], bl
movzx ebx, byte [esi + 0x713a88]
mov byte [eax + 0xc], bl
mov ebx, dword [ebp - 0x14]
shr ebx, 8
movzx esi, bl
movzx ebx, byte [esi + 0x713a88]
mov byte [eax + 0xd], bl
mov ebx, dword [ebp - 0x18]
shr ebx, 0x10
movzx esi, bl
movzx ebx, byte [esi + 0x713a88]
shr edx, 0x18
mov byte [eax + 0xe], bl
mov dl, byte [edx + 0x713a88]
mov byte [eax + 0xf], dl
mov edx, dword [ecx + 0x4c]
xor dword [eax], edx
mov edx, dword [ecx + 0x50]
xor dword [eax + 4], edx
mov edx, dword [ecx + 0x54]
xor dword [eax + 8], edx
mov ecx, dword [ecx + 0x58]
xor dword [eax + 0xc], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8