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

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x44
mov edx, dword [ebp + 8]
mov ecx, dword [ebp + 0x10]
mov eax, dword [edx + 4]
mov edi, dword [edx]
lea ebx, [ecx + 0x100]
mov dword [ebp - 0x4c], ebx
bswap eax
xor eax, dword [ecx + 0x104]
bswap edi
xor edi, dword [ecx + 0x100]
mov dword [ebp - 0x14], eax
mov eax, dword [edx + 8]
mov edx, dword [edx + 0xc]
mov dword [ebp - 0x1c], edi
bswap eax
xor eax, dword [ecx + 0x108]
mov dword [ebp - 0x10], ebx
bswap edx
xor edx, dword [ecx + 0x10c]
mov ecx, dword [ecx + 0x200]
mov esi, edx
sar ecx, 1
mov dword [ebp - 0x50], ecx
mov dword [ebp - 0x48], ecx
jmp 0x10001c21
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 0x2c]
mov eax, dword [eax*4 + 0x1001fc40]
xor eax, dword [edi*4 + 0x1001d040]
mov edi, dword [ebp - 0x1c]
xor eax, dword [ebp - 0x24]
xor eax, dword [edi*4 + 0x1001d840]
mov edi, dword [ebp - 0x20]
xor eax, dword [edi*4 + 0x1001d440]
mov edi, dword [ebp - 0x34]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x28]
mov eax, dword [eax*4 + 0x1001fc40]
xor eax, dword [edi*4 + 0x1001d040]
mov edi, dword [ebp - 0x10]
xor eax, dword [edi + 4]
xor eax, dword [edx*4 + 0x1001d840]
mov edx, dword [ebp - 0x30]
xor eax, dword [edx*4 + 0x1001d440]
mov edx, dword [ebp - 0x40]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x38]
mov eax, dword [eax*4 + 0x1001fc40]
xor eax, dword [edx*4 + 0x1001d040]
mov edx, dword [ebp - 0x3c]
xor eax, dword [edi + 8]
xor eax, dword [esi*4 + 0x1001d840]
mov esi, dword [ebp - 0x44]
xor eax, dword [edx*4 + 0x1001d440]
mov edx, dword [ebp - 0x18]
mov esi, dword [esi*4 + 0x1001fc40]
xor esi, dword [edx*4 + 0x1001d040]
xor esi, dword [edi + 0xc]
xor esi, dword [ecx*4 + 0x1001d840]
xor esi, dword [ebx*4 + 0x1001d440]
mov ebx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x1c]
mov edi, dword [ebp - 0x10]
movzx ecx, bl
shr edx, 0x18
mov edx, dword [edx*4 + 0x1001fc40]
xor edx, dword [ecx*4 + 0x1001d040]
mov ecx, esi
shr ebx, 0x18
shr ecx, 0x10
xor edx, dword [edi + 0x10]
mov ebx, dword [ebx*4 + 0x1001fc40]
movzx ecx, cl
xor edx, dword [ecx*4 + 0x1001d840]
movzx ecx, ah
xor edx, dword [ecx*4 + 0x1001d440]
movzx ecx, al
xor ebx, dword [ecx*4 + 0x1001d040]
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x18], edx
mov edx, esi
xor ebx, dword [edi + 0x14]
movzx edi, dl
mov edx, dword [ebp - 0x14]
shr ecx, 0x10
movzx ecx, cl
shr edx, 0x10
xor ebx, dword [ecx*4 + 0x1001d840]
mov ecx, esi
shr esi, 0x18
movzx ecx, ch
mov esi, dword [esi*4 + 0x1001fc40]
xor ebx, dword [ecx*4 + 0x1001d440]
mov ecx, eax
shr eax, 0x10
shr ecx, 0x18
movzx eax, al
mov ecx, dword [ecx*4 + 0x1001fc40]
xor ecx, dword [edi*4 + 0x1001d040]
mov edi, dword [ebp - 0x10]
xor ecx, dword [edi + 0x18]
movzx edi, dl
mov edx, dword [ebp - 0x1c]
xor ecx, dword [edi*4 + 0x1001d840]
movzx edi, dh
xor ecx, dword [edi*4 + 0x1001d440]
movzx edi, dl
mov edx, dword [ebp - 0x18]
xor esi, dword [edi*4 + 0x1001d040]
mov edi, dword [ebp - 0x10]
shr edx, 0x18
xor esi, dword [edi + 0x1c]
xor esi, dword [eax*4 + 0x1001d840]
add edi, 0x20
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x10], edi
movzx edi, bl
movzx eax, ah
xor esi, dword [eax*4 + 0x1001d440]
mov dword [ebp - 0x14], edx
mov eax, esi
shr esi, 0x10
mov edx, esi
movzx esi, dl
mov edx, dword [ebp - 0x10]
mov dword [ebp - 0x1c], esi
movzx esi, ch
mov dword [ebp - 0x20], esi
mov esi, dword [edx]
mov dword [ebp - 0x24], esi
mov esi, ebx
shr esi, 0x18
mov dword [ebp - 0x28], esi
mov esi, dword [ebp - 0x18]
shr esi, 0x10
mov edx, esi
mov esi, ecx
shr esi, 0x18
movzx edx, dl
mov dword [ebp - 0x2c], edx
movzx edx, ah
mov dword [ebp - 0x38], esi
mov esi, ebx
movzx ebx, bh
shr esi, 0x10
mov dword [ebp - 0x30], edx
movzx edx, cl
mov dword [ebp - 0x34], edx
mov edx, esi
movzx esi, dl
mov edx, dword [ebp - 0x18]
movzx edx, dh
mov dword [ebp - 0x3c], edx
movzx edx, al
shr eax, 0x18
shr ecx, 0x10
sub dword [ebp - 0x48], 1
mov dword [ebp - 0x40], edx
movzx edx, byte [ebp - 0x18]
movzx ecx, cl
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x18], edx
jne 0x10001b78
mov eax, dword [ebp - 0x50]
mov edx, dword [ebp - 0x20]
mov dword [ebp - 0x48], esi
mov esi, ebx
mov ebx, dword [ebp - 0x18]
shl eax, 5
add eax, dword [ebp - 0x4c]
mov dword [ebp - 0x10], eax
mov eax, dword [edx*4 + 0x1001f840]
movzx edx, byte [edi*4 + 0x1001f840]
mov edi, dword [ebp - 0x24]
and eax, 0xff00
or eax, edx
mov edx, dword [ebp - 0x14]
xor edi, eax
mov eax, dword [edx*4 + 0x1001f840]
mov edx, dword [ebp - 0x1c]
mov edx, dword [edx*4 + 0x1001f840]
and eax, 0xff000000
and edx, 0xff0000
or eax, edx
xor eax, edi
mov edi, dword [ebp + 0xc]
bswap eax
mov dword [edi], eax
mov edi, dword [ebp - 0x30]
mov eax, dword [edi*4 + 0x1001f840]
mov edi, dword [ebp - 0x34]
movzx edx, byte [edi*4 + 0x1001f840]
and eax, 0xff00
or eax, edx
mov edx, dword [ebp - 0x10]
mov edi, dword [edx + 4]
mov edx, dword [ebp - 0x2c]
xor edi, eax
mov eax, dword [ebp - 0x28]
mov edx, dword [edx*4 + 0x1001f840]
mov eax, dword [eax*4 + 0x1001f840]
and edx, 0xff0000
and eax, 0xff000000
or eax, edx
xor eax, edi
mov edi, dword [ebp + 0xc]
bswap eax
mov dword [edi + 4], eax
mov edi, dword [ebp - 0x3c]
mov eax, dword [edi*4 + 0x1001f840]
mov edi, dword [ebp - 0x40]
movzx edx, byte [edi*4 + 0x1001f840]
and eax, 0xff00
or eax, edx
mov edx, dword [ebp - 0x10]
xor eax, dword [edx + 8]
mov edi, dword [ebp - 0x38]
mov ecx, dword [ecx*4 + 0x1001f840]
mov edx, dword [edi*4 + 0x1001f840]
mov edi, dword [ebp - 0x48]
and ecx, 0xff0000
mov edi, dword [edi*4 + 0x1001f840]
and edx, 0xff000000
and edi, 0xff0000
or edx, edi
mov edi, dword [ebp + 0xc]
xor edx, eax
mov eax, dword [esi*4 + 0x1001f840]
bswap edx
mov dword [edi + 8], edx
movzx edx, byte [ebx*4 + 0x1001f840]
and eax, 0xff00
mov ebx, dword [ebp - 0x44]
or eax, edx
mov edx, dword [ebp - 0x10]
xor eax, dword [edx + 0xc]
mov edx, dword [ebx*4 + 0x1001f840]
and edx, 0xff000000
or edx, ecx
xor eax, edx
bswap eax
mov dword [edi + 0xc], eax
add esp, 0x44
pop ebx
pop esi
pop edi
pop ebp
ret