Function at 0x40711a
Capabilities:
Encode data using add xor sub operations
Encode data using xor
Encrypt data using aes
Reference aes constants

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
push edi
lea eax, [ebp - 4]
mov edi, ecx
push eax
lea eax, [ebp - 0xc]
push eax
mov esi, dword [edi + 0xc]
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x18]
mov dword [ebp - 8], esi
push eax
push dword [ebp + 8]
call fcn.00406a5d
mov eax, dword [ebp - 0x18]
add esp, 0x14
xor eax, dword [esi]
mov ebx, dword [ebp - 0xc]
xor ebx, dword [esi + 8]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 4]
xor eax, dword [esi + 0xc]
mov dword [ebp - 4], eax
mov eax, ebx
shr eax, 8
movzx ecx, al
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 0x10]
xor edx, dword [esi + 4]
mov ecx, dword [ecx*4 + 0x42a550]
shr eax, 0x10
movzx eax, al
xor ecx, dword [eax*4 + 0x42a150]
mov eax, dword [ebp - 0x14]
mov esi, ecx
shr eax, 0x18
mov dword [ebp + 8], ecx
xor esi, dword [eax*4 + 0x429d50]
movzx eax, dl
xor esi, dword [eax*4 + 0x42a950]
mov eax, dword [ebp - 8]
xor esi, dword [eax + 0x10]
mov eax, dword [ebp - 0x14]
shr eax, 0x10
movzx ecx, al
mov eax, dword [ebp - 4]
shr eax, 8
movzx eax, al
mov ecx, dword [ecx*4 + 0x42a150]
mov dword [ebp + 8], esi
mov esi, dword [ebp - 8]
xor ecx, dword [eax*4 + 0x42a550]
mov eax, edx
shr eax, 0x18
xor ecx, dword [eax*4 + 0x429d50]
movzx eax, bl
xor ecx, dword [eax*4 + 0x42a950]
xor ecx, dword [esi + 0x14]
mov eax, dword [ebp - 0x14]
shr eax, 8
mov dword [ebp - 0x10], ecx
movzx ecx, al
mov eax, edx
shr eax, 0x10
movzx eax, al
shr edx, 8
mov ecx, dword [ecx*4 + 0x42a550]
xor ecx, dword [eax*4 + 0x42a150]
mov eax, ebx
shr eax, 0x18
xor ecx, dword [eax*4 + 0x429d50]
mov eax, dword [ebp - 4]
movzx eax, al
xor ecx, dword [eax*4 + 0x42a950]
xor ecx, dword [esi + 0x18]
shr ebx, 0x10
mov dword [ebp - 0xc], ecx
movzx ecx, dl
movzx eax, bl
mov ecx, dword [ecx*4 + 0x42a550]
xor ecx, dword [eax*4 + 0x42a150]
mov eax, dword [ebp - 4]
shr eax, 0x18
xor ecx, dword [eax*4 + 0x429d50]
mov eax, dword [ebp - 0x14]
movzx eax, al
xor ecx, dword [eax*4 + 0x42a950]
xor ecx, dword [esi + 0x1c]
add esi, 0x20
mov eax, dword [edi + 4]
shr eax, 1
sub eax, 1
mov dword [ebp - 4], ecx
mov dword [ebp - 8], esi
mov dword [ebp - 0x18], eax
je 0x40746f
mov ebx, dword [ebp - 0xc]
mov eax, ecx
shr eax, 0x10
movzx ecx, al
mov eax, ebx
shr eax, 8
movzx eax, al
mov edi, dword [ebp + 8]
mov ecx, dword [ecx*4 + 0x42a150]
mov edx, dword [ebp - 0x10]
xor ecx, dword [eax*4 + 0x42a550]
mov eax, edi
shr eax, 0x18
xor ecx, dword [eax*4 + 0x429d50]
movzx eax, dl
xor ecx, dword [eax*4 + 0x42a950]
xor ecx, dword [esi]
mov eax, dword [ebp - 4]
shr eax, 8
mov dword [ebp - 0x14], ecx
movzx ecx, al
mov eax, edi
shr eax, 0x10
movzx eax, al
mov ecx, dword [ecx*4 + 0x42a550]
xor ecx, dword [eax*4 + 0x42a150]
mov eax, edx
shr eax, 0x18
xor ecx, dword [eax*4 + 0x429d50]
movzx eax, bl
xor ecx, dword [eax*4 + 0x42a950]
mov eax, edx
xor ecx, dword [esi + 4]
shr eax, 0x10
mov dword [ebp - 8], ecx
movzx ecx, al
mov eax, edi
shr eax, 8
movzx eax, al
shr edx, 8
mov ebx, dword [ecx*4 + 0x42a150]
mov ecx, dword [ebp - 0xc]
xor ebx, dword [eax*4 + 0x42a550]
mov eax, ecx
shr eax, 0x18
shr ecx, 0x10
movzx ecx, cl
xor ebx, dword [eax*4 + 0x429d50]
mov eax, dword [ebp - 4]
movzx eax, al
xor ebx, dword [eax*4 + 0x42a950]
xor ebx, dword [esi + 8]
movzx eax, dl
mov edx, dword [ecx*4 + 0x42a150]
xor edx, dword [eax*4 + 0x42a550]
mov eax, dword [ebp - 4]
shr eax, 0x18
xor edx, dword [eax*4 + 0x429d50]
mov eax, edi
movzx eax, al
xor edx, dword [eax*4 + 0x42a950]
mov eax, ebx
xor edx, dword [esi + 0xc]
shr eax, 8
movzx ecx, al
mov eax, edx
shr eax, 0x10
movzx eax, al
mov ecx, dword [ecx*4 + 0x42a550]
xor ecx, dword [eax*4 + 0x42a150]
mov eax, dword [ebp - 0x14]
mov edi, ecx
shr eax, 0x18
mov dword [ebp + 8], ecx
xor edi, dword [eax*4 + 0x429d50]
mov eax, dword [ebp - 8]
movzx eax, al
xor edi, dword [eax*4 + 0x42a950]
mov eax, edi
mov dword [ebp + 8], edi
xor eax, dword [esi + 0x10]
mov dword [ebp + 8], eax
mov eax, dword [ebp - 0x14]
shr eax, 0x10
movzx ecx, al
mov eax, edx
shr eax, 8
movzx eax, al
mov ecx, dword [ecx*4 + 0x42a150]
xor ecx, dword [eax*4 + 0x42a550]
mov eax, dword [ebp - 8]
shr eax, 0x18
xor ecx, dword [eax*4 + 0x429d50]
movzx eax, bl
xor ecx, dword [eax*4 + 0x42a950]
xor ecx, dword [esi + 0x14]
mov eax, dword [ebp - 0x14]
shr eax, 8
mov dword [ebp - 0x10], ecx
movzx ecx, al
mov eax, dword [ebp - 8]
shr eax, 0x10
movzx eax, al
mov ecx, dword [ecx*4 + 0x42a550]
xor ecx, dword [eax*4 + 0x42a150]
mov eax, ebx
shr eax, 0x18
shr ebx, 0x10
xor ecx, dword [eax*4 + 0x429d50]
movzx eax, dl
shr edx, 0x18
xor ecx, dword [eax*4 + 0x42a950]
xor ecx, dword [esi + 0x18]
mov eax, dword [ebp - 8]
mov dword [ebp - 0xc], ecx
shr eax, 8
movzx ecx, al
movzx eax, bl
mov ecx, dword [ecx*4 + 0x42a550]
xor ecx, dword [eax*4 + 0x42a150]
mov eax, dword [ebp - 0x14]
xor ecx, dword [edx*4 + 0x429d50]
movzx eax, al
xor ecx, dword [eax*4 + 0x42a950]
xor ecx, dword [esi + 0x1c]
add esi, 0x20
sub dword [ebp - 0x18], 1
mov dword [ebp - 4], ecx
jne 0x407275
mov dword [ebp - 8], esi
mov ebx, dword [ebp - 0xc]
mov eax, ecx
shr eax, 0x10
movzx eax, al
mov ecx, dword [ebp - 0x10]
mov edi, dword [eax*4 + str.RRRR_t_t_t_tjjjj]
mov eax, ebx
shr eax, 8
and edi, 0xff0000
movzx eax, al
mov eax, dword [eax*4 + str.RRRR_t_t_t_tjjjj]
and eax, 0xff00
xor edi, eax
mov eax, dword [ebp + 8]
shr eax, 0x18
mov eax, dword [eax*4 + str.RRRR_t_t_t_tjjjj]
and eax, 0xff000000
xor edi, eax
movzx eax, cl
movzx eax, byte [eax*4 + str.RRRR_t_t_t_tjjjj]
xor edi, eax
mov eax, dword [ebp + 8]
shr eax, 0x10
movzx eax, al
xor edi, dword [esi]
mov esi, dword [eax*4 + str.RRRR_t_t_t_tjjjj]
mov eax, dword [ebp - 4]
and esi, 0xff0000
shr eax, 8
movzx eax, al
mov eax, dword [eax*4 + str.RRRR_t_t_t_tjjjj]
and eax, 0xff00
xor esi, eax
mov eax, ecx
shr eax, 0x18
mov eax, dword [eax*4 + str.RRRR_t_t_t_tjjjj]
and eax, 0xff000000
xor esi, eax
movzx eax, bl
mov ebx, dword [ebp - 8]
movzx eax, byte [eax*4 + str.RRRR_t_t_t_tjjjj]
xor esi, eax
mov eax, ecx
shr eax, 0x10
movzx eax, al
mov ecx, dword [ebp - 0xc]
xor esi, dword [ebx + 4]
mov edx, dword [eax*4 + str.RRRR_t_t_t_tjjjj]
mov eax, dword [ebp + 8]
and edx, 0xff0000
shr eax, 8
movzx eax, al
mov eax, dword [eax*4 + str.RRRR_t_t_t_tjjjj]
and eax, 0xff00
xor edx, eax
mov eax, ecx
shr eax, 0x18
shr ecx, 0x10
mov eax, dword [eax*4 + str.RRRR_t_t_t_tjjjj]
and eax, 0xff000000
xor edx, eax
mov eax, dword [ebp - 4]
movzx eax, al
movzx eax, byte [eax*4 + str.RRRR_t_t_t_tjjjj]
xor edx, eax
movzx eax, cl
xor edx, dword [ebx + 8]
mov ecx, dword [eax*4 + str.RRRR_t_t_t_tjjjj]
mov eax, dword [ebp - 0x10]
and ecx, 0xff0000
shr eax, 8
movzx eax, al
mov eax, dword [eax*4 + str.RRRR_t_t_t_tjjjj]
and eax, 0xff00
xor ecx, eax
mov eax, dword [ebp - 4]
shr eax, 0x18
mov eax, dword [eax*4 + str.RRRR_t_t_t_tjjjj]
and eax, 0xff000000
xor ecx, eax
mov eax, dword [ebp + 8]
movzx eax, al
movzx eax, byte [eax*4 + str.RRRR_t_t_t_tjjjj]
xor ecx, eax
xor ecx, dword [ebx + 0xc]
push ecx
push edx
push esi
push edi
push dword [ebp + 0xc]
call fcn.00406ad5
add esp, 0x14
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8