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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x144
push ebx
push esi
push edi
lea edi, [ebp - 0x144]
mov ecx, 0x51
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax + 0x1e0]
mov dword [ebp - 0x74], ecx
mov eax, dword [ebp + 0x10]
add eax, 0xf0
mov dword [ebp - 0x68], eax
mov eax, dword [ebp + 8]
movzx ecx, byte [eax]
and ecx, 0xff
shl ecx, 0x18
mov edx, dword [ebp + 8]
movzx eax, byte [edx + 1]
and eax, 0xff
shl eax, 0x10
or ecx, eax
mov edx, dword [ebp + 8]
movzx eax, byte [edx + 2]
and eax, 0xff
shl eax, 8
or ecx, eax
mov edx, dword [ebp + 8]
movzx eax, byte [edx + 3]
and eax, 0xff
or ecx, eax
mov dword [ebp - 8], ecx
mov eax, dword [ebp - 0x68]
mov ecx, dword [ebp - 8]
xor ecx, dword [eax]
mov dword [ebp - 8], ecx
mov eax, dword [ebp + 8]
movzx ecx, byte [eax + 4]
and ecx, 0xff
shl ecx, 0x18
mov edx, dword [ebp + 8]
movzx eax, byte [edx + 5]
and eax, 0xff
shl eax, 0x10
or ecx, eax
mov edx, dword [ebp + 8]
movzx eax, byte [edx + 6]
and eax, 0xff
shl eax, 8
or ecx, eax
mov edx, dword [ebp + 8]
movzx eax, byte [edx + 7]
and eax, 0xff
or ecx, eax
mov dword [ebp - 0x14], ecx
mov eax, dword [ebp - 0x68]
mov ecx, dword [ebp - 0x14]
xor ecx, dword [eax + 4]
mov dword [ebp - 0x14], ecx
mov eax, dword [ebp + 8]
movzx ecx, byte [eax + 8]
and ecx, 0xff
shl ecx, 0x18
mov edx, dword [ebp + 8]
movzx eax, byte [edx + 9]
and eax, 0xff
shl eax, 0x10
or ecx, eax
mov edx, dword [ebp + 8]
movzx eax, byte [edx + 0xa]
and eax, 0xff
shl eax, 8
or ecx, eax
mov edx, dword [ebp + 8]
movzx eax, byte [edx + 0xb]
and eax, 0xff
or ecx, eax
mov dword [ebp - 0x20], ecx
mov eax, dword [ebp - 0x68]
mov ecx, dword [ebp - 0x20]
xor ecx, dword [eax + 8]
mov dword [ebp - 0x20], ecx
mov eax, dword [ebp + 8]
movzx ecx, byte [eax + 0xc]
and ecx, 0xff
shl ecx, 0x18
mov edx, dword [ebp + 8]
movzx eax, byte [edx + 0xd]
and eax, 0xff
shl eax, 0x10
or ecx, eax
mov edx, dword [ebp + 8]
movzx eax, byte [edx + 0xe]
and eax, 0xff
shl eax, 8
or ecx, eax
mov edx, dword [ebp + 8]
movzx eax, byte [edx + 0xf]
and eax, 0xff
or ecx, eax
mov dword [ebp - 0x2c], ecx
mov eax, dword [ebp - 0x68]
mov ecx, dword [ebp - 0x2c]
xor ecx, dword [eax + 0xc]
mov dword [ebp - 0x2c], ecx
mov eax, dword [ebp - 0x74]
sar eax, 1
mov dword [ebp - 0x80], eax
mov eax, dword [ebp - 8]
shr eax, 0x18
movzx ecx, al
mov edx, dword [ebp - 0x2c]
shr edx, 0x10
movzx eax, dl
mov ecx, dword [ecx*4 + 0x10026c70]
xor ecx, dword [eax*4 + 0x10029070]
mov edx, dword [ebp - 0x20]
shr edx, 8
movzx eax, dl
xor ecx, dword [eax*4 + 0x10029470]
movzx edx, byte [ebp - 0x14]
xor ecx, dword [edx*4 + 0x10029870]
mov eax, dword [ebp - 0x68]
xor ecx, dword [eax + 0x10]
mov dword [ebp - 0x38], ecx
mov eax, dword [ebp - 0x14]
shr eax, 0x18
movzx ecx, al
mov edx, dword [ebp - 8]
shr edx, 0x10
movzx eax, dl
mov ecx, dword [ecx*4 + 0x10026c70]
xor ecx, dword [eax*4 + 0x10029070]
mov edx, dword [ebp - 0x2c]
shr edx, 8
movzx eax, dl
xor ecx, dword [eax*4 + 0x10029470]
movzx edx, byte [ebp - 0x20]
xor ecx, dword [edx*4 + 0x10029870]
mov eax, dword [ebp - 0x68]
xor ecx, dword [eax + 0x14]
mov dword [ebp - 0x44], ecx
mov eax, dword [ebp - 0x20]
shr eax, 0x18
movzx ecx, al
mov edx, dword [ebp - 0x14]
shr edx, 0x10
movzx eax, dl
mov ecx, dword [ecx*4 + 0x10026c70]
xor ecx, dword [eax*4 + 0x10029070]
mov edx, dword [ebp - 8]
shr edx, 8
movzx eax, dl
xor ecx, dword [eax*4 + 0x10029470]
movzx edx, byte [ebp - 0x2c]
xor ecx, dword [edx*4 + 0x10029870]
mov eax, dword [ebp - 0x68]
xor ecx, dword [eax + 0x18]
mov dword [ebp - 0x50], ecx
mov eax, dword [ebp - 0x2c]
shr eax, 0x18
movzx ecx, al
mov edx, dword [ebp - 0x20]
shr edx, 0x10
movzx eax, dl
mov ecx, dword [ecx*4 + 0x10026c70]
xor ecx, dword [eax*4 + 0x10029070]
mov edx, dword [ebp - 0x14]
shr edx, 8
movzx eax, dl
xor ecx, dword [eax*4 + 0x10029470]
movzx edx, byte [ebp - 8]
xor ecx, dword [edx*4 + 0x10029870]
mov eax, dword [ebp - 0x68]
xor ecx, dword [eax + 0x1c]
mov dword [ebp - 0x5c], ecx
mov eax, dword [ebp - 0x68]
add eax, 0x20
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x80]
sub eax, 1
mov dword [ebp - 0x80], eax
jne 0x10014a90
jmp 0x10014ba4
mov eax, dword [ebp - 0x38]
shr eax, 0x18
movzx ecx, al
mov edx, dword [ebp - 0x5c]
shr edx, 0x10
movzx eax, dl
mov ecx, dword [ecx*4 + 0x10026c70]
xor ecx, dword [eax*4 + 0x10029070]
mov edx, dword [ebp - 0x50]
shr edx, 8
movzx eax, dl
xor ecx, dword [eax*4 + 0x10029470]
movzx edx, byte [ebp - 0x44]
xor ecx, dword [edx*4 + 0x10029870]
mov eax, dword [ebp - 0x68]
xor ecx, dword [eax]
mov dword [ebp - 8], ecx
mov eax, dword [ebp - 0x44]
shr eax, 0x18
movzx ecx, al
mov edx, dword [ebp - 0x38]
shr edx, 0x10
movzx eax, dl
mov ecx, dword [ecx*4 + 0x10026c70]
xor ecx, dword [eax*4 + 0x10029070]
mov edx, dword [ebp - 0x5c]
shr edx, 8
movzx eax, dl
xor ecx, dword [eax*4 + 0x10029470]
movzx edx, byte [ebp - 0x50]
xor ecx, dword [edx*4 + 0x10029870]
mov eax, dword [ebp - 0x68]
xor ecx, dword [eax + 4]
mov dword [ebp - 0x14], ecx
mov eax, dword [ebp - 0x50]
shr eax, 0x18
movzx ecx, al
mov edx, dword [ebp - 0x44]
shr edx, 0x10
movzx eax, dl
mov ecx, dword [ecx*4 + 0x10026c70]
xor ecx, dword [eax*4 + 0x10029070]
mov edx, dword [ebp - 0x38]
shr edx, 8
movzx eax, dl
xor ecx, dword [eax*4 + 0x10029470]
movzx edx, byte [ebp - 0x5c]
xor ecx, dword [edx*4 + 0x10029870]
mov eax, dword [ebp - 0x68]
xor ecx, dword [eax + 8]
mov dword [ebp - 0x20], ecx
mov eax, dword [ebp - 0x5c]
shr eax, 0x18
movzx ecx, al
mov edx, dword [ebp - 0x50]
shr edx, 0x10
movzx eax, dl
mov ecx, dword [ecx*4 + 0x10026c70]
xor ecx, dword [eax*4 + 0x10029070]
mov edx, dword [ebp - 0x44]
shr edx, 8
movzx eax, dl
xor ecx, dword [eax*4 + 0x10029470]
movzx edx, byte [ebp - 0x38]
xor ecx, dword [edx*4 + 0x10029870]
mov eax, dword [ebp - 0x68]
xor ecx, dword [eax + 0xc]
mov dword [ebp - 0x2c], ecx
jmp 0x10014967
mov eax, dword [ebp - 0x38]
shr eax, 0x18
movzx ecx, al
mov edx, dword [ecx*4 + str.RRRR_t_t_t_tjjjj]
and edx, 0xff000000
mov eax, dword [ebp - 0x5c]
shr eax, 0x10
movzx ecx, al
mov eax, dword [ecx*4 + str.RRRR_t_t_t_tjjjj]
and eax, 0xff0000
xor edx, eax
mov ecx, dword [ebp - 0x50]
shr ecx, 8
movzx eax, cl
mov ecx, dword [eax*4 + str.RRRR_t_t_t_tjjjj]
and ecx, 0xff00
xor edx, ecx
movzx eax, byte [ebp - 0x44]
mov ecx, dword [eax*4 + str.RRRR_t_t_t_tjjjj]
and ecx, 0xff
xor edx, ecx
mov eax, dword [ebp - 0x68]
xor edx, dword [eax]
mov dword [ebp - 8], edx
mov eax, dword [ebp - 8]
shr eax, 0x18
and eax, 0xff
mov ecx, dword [ebp + 0xc]
mov byte [ecx], al
mov eax, dword [ebp - 8]
shr eax, 0x10
and eax, 0xff
mov ecx, dword [ebp + 0xc]
mov byte [ecx + 1], al
mov eax, dword [ebp - 8]
shr eax, 8
and eax, 0xff
mov ecx, dword [ebp + 0xc]
mov byte [ecx + 2], al
mov eax, dword [ebp - 8]
and eax, 0xff
mov ecx, dword [ebp + 0xc]
mov byte [ecx + 3], al
mov eax, dword [ebp - 0x44]
shr eax, 0x18
movzx ecx, al
mov edx, dword [ecx*4 + str.RRRR_t_t_t_tjjjj]
and edx, 0xff000000
mov eax, dword [ebp - 0x38]
shr eax, 0x10
movzx ecx, al
mov eax, dword [ecx*4 + str.RRRR_t_t_t_tjjjj]
and eax, 0xff0000
xor edx, eax
mov ecx, dword [ebp - 0x5c]
shr ecx, 8
movzx eax, cl
mov ecx, dword [eax*4 + str.RRRR_t_t_t_tjjjj]
and ecx, 0xff00
xor edx, ecx
movzx eax, byte [ebp - 0x50]
mov ecx, dword [eax*4 + str.RRRR_t_t_t_tjjjj]
and ecx, 0xff
xor edx, ecx
mov eax, dword [ebp - 0x68]
xor edx, dword [eax + 4]
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 0x14]
shr eax, 0x18
and eax, 0xff
mov ecx, dword [ebp + 0xc]
mov byte [ecx + 4], al
mov eax, dword [ebp - 0x14]
shr eax, 0x10
and eax, 0xff
mov ecx, dword [ebp + 0xc]
mov byte [ecx + 5], al
mov eax, dword [ebp - 0x14]
shr eax, 8
and eax, 0xff
mov ecx, dword [ebp + 0xc]
mov byte [ecx + 6], al
mov eax, dword [ebp - 0x14]
and eax, 0xff
mov ecx, dword [ebp + 0xc]
mov byte [ecx + 7], al
mov eax, dword [ebp - 0x50]
shr eax, 0x18
movzx ecx, al
mov edx, dword [ecx*4 + str.RRRR_t_t_t_tjjjj]
and edx, 0xff000000
mov eax, dword [ebp - 0x44]
shr eax, 0x10
movzx ecx, al
mov eax, dword [ecx*4 + str.RRRR_t_t_t_tjjjj]
and eax, 0xff0000
xor edx, eax
mov ecx, dword [ebp - 0x38]
shr ecx, 8
movzx eax, cl
mov ecx, dword [eax*4 + str.RRRR_t_t_t_tjjjj]
and ecx, 0xff00
xor edx, ecx
movzx eax, byte [ebp - 0x5c]
mov ecx, dword [eax*4 + str.RRRR_t_t_t_tjjjj]
and ecx, 0xff
xor edx, ecx
mov eax, dword [ebp - 0x68]
xor edx, dword [eax + 8]
mov dword [ebp - 0x20], edx
mov eax, dword [ebp - 0x20]
shr eax, 0x18
and eax, 0xff
mov ecx, dword [ebp + 0xc]
mov byte [ecx + 8], al
mov eax, dword [ebp - 0x20]
shr eax, 0x10
and eax, 0xff
mov ecx, dword [ebp + 0xc]
mov byte [ecx + 9], al
mov eax, dword [ebp - 0x20]
shr eax, 8
and eax, 0xff
mov ecx, dword [ebp + 0xc]
mov byte [ecx + 0xa], al
mov eax, dword [ebp - 0x20]
and eax, 0xff
mov ecx, dword [ebp + 0xc]
mov byte [ecx + 0xb], al
mov eax, dword [ebp - 0x5c]
shr eax, 0x18
movzx ecx, al
mov edx, dword [ecx*4 + str.RRRR_t_t_t_tjjjj]
and edx, 0xff000000
mov eax, dword [ebp - 0x50]
shr eax, 0x10
movzx ecx, al
mov eax, dword [ecx*4 + str.RRRR_t_t_t_tjjjj]
and eax, 0xff0000
xor edx, eax
mov ecx, dword [ebp - 0x44]
shr ecx, 8
movzx eax, cl
mov ecx, dword [eax*4 + str.RRRR_t_t_t_tjjjj]
and ecx, 0xff00
xor edx, ecx
movzx eax, byte [ebp - 0x38]
mov ecx, dword [eax*4 + str.RRRR_t_t_t_tjjjj]
and ecx, 0xff
xor edx, ecx
mov eax, dword [ebp - 0x68]
xor edx, dword [eax + 0xc]
mov dword [ebp - 0x2c], edx
mov eax, dword [ebp - 0x2c]
shr eax, 0x18
and eax, 0xff
mov ecx, dword [ebp + 0xc]
mov byte [ecx + 0xc], al
mov eax, dword [ebp - 0x2c]
shr eax, 0x10
and eax, 0xff
mov ecx, dword [ebp + 0xc]
mov byte [ecx + 0xd], al
mov eax, dword [ebp - 0x2c]
shr eax, 8
and eax, 0xff
mov ecx, dword [ebp + 0xc]
mov byte [ecx + 0xe], al
mov eax, dword [ebp - 0x2c]
and eax, 0xff
mov ecx, dword [ebp + 0xc]
mov byte [ecx + 0xf], al
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret