Function at 0x4422c940
Capabilities:
Encode data using add xor sub operations
Encode data using xor
Encrypt data using aes

Disassembly:
mov eax, 8
call fcn.4427cde0
push ebx
mov ecx, dword [esp + 0x18]
push ebp
push esi
push edi
mov edi, dword [esp + 0x1c]
mov eax, dword [edi]
mov edx, eax
ror edx, 8
and edx, 0xff00ff00
rol eax, 8
and eax, 0xff00ff
or edx, eax
xor edx, dword [ecx]
mov eax, dword [edi + 4]
mov esi, eax
ror esi, 8
and esi, 0xff00ff00
rol eax, 8
and eax, 0xff00ff
or esi, eax
xor esi, dword [ecx + 4]
mov eax, dword [edi + 8]
mov ebp, eax
ror ebp, 8
and ebp, 0xff00ff00
rol eax, 8
and eax, 0xff00ff
or ebp, eax
xor ebp, dword [ecx + 8]
mov eax, dword [edi + 0xc]
mov edi, eax
ror edi, 8
and edi, 0xff00ff00
rol eax, 8
and eax, 0xff00ff
or edi, eax
xor edi, dword [ecx + 0xc]
mov eax, ebp
shr eax, 8
and eax, 0xff
mov eax, dword [eax*4 + 0x4428a358]
mov ebx, esi
shr ebx, 0x10
and ebx, 0xff
xor eax, dword [ebx*4 + 0x44289f58]
mov ebx, edx
shr ebx, 0x18
xor eax, dword [ebx*4 + 0x44289b58]
mov ebx, edi
and ebx, 0xff
xor eax, dword [ebx*4 + 0x4428a758]
mov ebx, ebp
xor eax, dword [ecx + 0x10]
shr ebx, 0x10
mov ecx, edi
shr ecx, 8
and ebx, 0xff
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x4428a358]
xor ecx, dword [ebx*4 + 0x44289f58]
mov ebx, esi
shr ebx, 0x18
xor ecx, dword [ebx*4 + 0x44289b58]
mov ebx, edx
and ebx, 0xff
xor ecx, dword [ebx*4 + 0x4428a758]
mov ebx, dword [esp + 0x24]
xor ecx, dword [ebx + 0x14]
mov dword [esp + 0x1c], edi
shr edi, 0x10
and edi, 0xff
mov edi, dword [edi*4 + 0x44289f58]
mov ebx, edx
shr ebx, 8
and ebx, 0xff
xor edi, dword [ebx*4 + 0x4428a358]
mov ebx, ebp
shr ebx, 0x18
xor edi, dword [ebx*4 + 0x44289b58]
mov ebx, esi
and ebx, 0xff
xor edi, dword [ebx*4 + 0x4428a758]
mov ebx, dword [esp + 0x24]
xor edi, dword [ebx + 0x18]
shr edx, 0x10
and edx, 0xff
shr esi, 8
and esi, 0xff
mov ebx, dword [esi*4 + 0x4428a358]
xor ebx, dword [edx*4 + 0x44289f58]
mov edx, dword [esp + 0x1c]
shr edx, 0x18
xor ebx, dword [edx*4 + 0x44289b58]
mov edx, dword [esp + 0x24]
and ebp, 0xff
xor ebx, dword [ebp*4 + 0x4428a758]
lea ebp, [edx + 0x20]
xor ebx, dword [edx + 0x1c]
mov edx, dword [edx + 0xf0]
sar edx, 1
sub edx, 1
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x24], ebp
mov dword [esp + 0x10], edx
je 0x4422cd28
mov esi, ecx
mov edx, edi
shr esi, 0x10
and esi, 0xff
shr edx, 8
and edx, 0xff
mov edx, dword [edx*4 + 0x4428a358]
xor edx, dword [esi*4 + 0x44289f58]
mov esi, eax
shr esi, 0x18
xor edx, dword [esi*4 + 0x44289b58]
mov esi, ebx
and esi, 0xff
xor edx, dword [esi*4 + 0x4428a758]
mov esi, ebx
xor edx, dword [ebp]
mov ebp, edi
shr ebp, 0x10
and ebp, 0xff
shr esi, 8
and esi, 0xff
mov esi, dword [esi*4 + 0x4428a358]
xor esi, dword [ebp*4 + 0x44289f58]
mov ebp, ecx
shr ebp, 0x18
xor esi, dword [ebp*4 + 0x44289b58]
mov ebp, eax
and ebp, 0xff
xor esi, dword [ebp*4 + 0x4428a758]
mov ebp, dword [esp + 0x24]
xor esi, dword [ebp + 4]
shr ebx, 0x10
mov ebp, eax
shr ebp, 8
and ebp, 0xff
and ebx, 0xff
mov ebx, dword [ebx*4 + 0x44289f58]
xor ebx, dword [ebp*4 + 0x4428a358]
mov ebp, edi
shr ebp, 0x18
xor ebx, dword [ebp*4 + 0x44289b58]
mov ebp, ecx
shr ecx, 8
and ecx, 0xff
and ebp, 0xff
xor ebx, dword [ebp*4 + 0x4428a758]
mov ebp, dword [esp + 0x24]
xor ebx, dword [ebp + 8]
mov ebp, dword [ecx*4 + 0x4428a358]
shr eax, 0x10
and eax, 0xff
xor ebp, dword [eax*4 + 0x44289f58]
mov eax, dword [esp + 0x1c]
and edi, 0xff
shr eax, 0x18
xor ebp, dword [eax*4 + 0x44289b58]
mov eax, dword [esp + 0x24]
xor ebp, dword [edi*4 + 0x4428a758]
mov ecx, ebx
xor ebp, dword [eax + 0xc]
shr ecx, 8
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x4428a358]
mov edi, esi
shr edi, 0x10
and edi, 0xff
xor ecx, dword [edi*4 + 0x44289f58]
mov edi, edx
shr edi, 0x18
xor ecx, dword [edi*4 + 0x44289b58]
mov edi, ebp
and edi, 0xff
xor ecx, dword [edi*4 + 0x4428a758]
mov edi, ebx
xor ecx, dword [eax + 0x10]
mov dword [esp + 0x1c], ebp
mov eax, ecx
mov ecx, ebp
shr ecx, 8
and ecx, 0xff
shr edi, 0x10
mov ecx, dword [ecx*4 + 0x4428a358]
and edi, 0xff
xor ecx, dword [edi*4 + 0x44289f58]
mov edi, esi
shr edi, 0x18
xor ecx, dword [edi*4 + 0x44289b58]
mov edi, edx
and edi, 0xff
xor ecx, dword [edi*4 + 0x4428a758]
mov edi, dword [esp + 0x24]
xor ecx, dword [edi + 0x14]
shr ebp, 0x10
and ebp, 0xff
mov ebp, dword [ebp*4 + 0x44289f58]
mov edi, edx
shr edi, 8
and edi, 0xff
xor ebp, dword [edi*4 + 0x4428a358]
mov edi, ebx
shr edi, 0x18
xor ebp, dword [edi*4 + 0x44289b58]
mov edi, esi
shr esi, 8
and esi, 0xff
mov esi, dword [esi*4 + 0x4428a358]
shr edx, 0x10
and edx, 0xff
xor esi, dword [edx*4 + 0x44289f58]
mov edx, dword [esp + 0x1c]
and edi, 0xff
xor ebp, dword [edi*4 + 0x4428a758]
shr edx, 0x18
xor esi, dword [edx*4 + 0x44289b58]
and ebx, 0xff
xor esi, dword [ebx*4 + 0x4428a758]
mov edi, ebp
mov ebp, dword [esp + 0x24]
xor esi, dword [ebp + 0x1c]
xor edi, dword [ebp + 0x18]
add ebp, 0x20
sub dword [esp + 0x10], 1
mov ebx, esi
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x24], ebp
jne 0x4422caf1
mov edx, ecx
shr edx, 0x10
and edx, 0xff
mov edx, dword [edx*4 + 0x4428a758]
and edx, 0xff0000
mov esi, edi
shr esi, 8
and esi, 0xff
mov esi, dword [esi*4 + 0x44289b58]
and esi, 0xff00
xor edx, esi
mov esi, eax
shr esi, 0x18
mov esi, dword [esi*4 + 0x4428a358]
and esi, 0xff000000
xor edx, esi
mov esi, ebx
and esi, 0xff
movzx esi, byte [esi*4 + 0x44289f58]
xor edx, esi
xor edx, dword [ebp]
mov esi, edx
ror esi, 8
and esi, 0xff00ff00
rol edx, 8
and edx, 0xff00ff
or esi, edx
mov edx, dword [esp + 0x20]
mov dword [edx], esi
mov edx, edi
shr edx, 0x10
and edx, 0xff
mov edx, dword [edx*4 + 0x4428a758]
and edx, 0xff0000
mov esi, ebx
shr esi, 8
and esi, 0xff
mov esi, dword [esi*4 + 0x44289b58]
and esi, 0xff00
xor edx, esi
mov esi, ecx
shr esi, 0x18
mov esi, dword [esi*4 + 0x4428a358]
and esi, 0xff000000
xor edx, esi
mov esi, eax
and esi, 0xff
movzx esi, byte [esi*4 + 0x44289f58]
xor edx, esi
xor edx, dword [ebp + 4]
mov esi, edx
ror esi, 8
and esi, 0xff00ff00
rol edx, 8
and edx, 0xff00ff
or esi, edx
mov edx, dword [esp + 0x20]
mov dword [edx + 4], esi
mov edx, ebx
shr edx, 0x10
and edx, 0xff
mov edx, dword [edx*4 + 0x4428a758]
mov esi, eax
shr esi, 8
and esi, 0xff
mov esi, dword [esi*4 + 0x44289b58]
and esi, 0xff00
and edx, 0xff0000
xor edx, esi
mov esi, edi
shr esi, 0x18
mov esi, dword [esi*4 + 0x4428a358]
and esi, 0xff000000
xor edx, esi
mov esi, ecx
and esi, 0xff
movzx esi, byte [esi*4 + 0x44289f58]
xor edx, esi
xor edx, dword [ebp + 8]
mov esi, edx
ror esi, 8
and esi, 0xff00ff00
shr eax, 0x10
shr ecx, 8
rol edx, 8
and eax, 0xff
and ecx, 0xff
and edx, 0xff00ff
or esi, edx
mov edx, dword [esp + 0x20]
mov dword [edx + 8], esi
mov ecx, dword [ecx*4 + 0x44289b58]
mov eax, dword [eax*4 + 0x4428a758]
and ecx, 0xff00
and eax, 0xff0000
xor eax, ecx
shr ebx, 0x18
mov ecx, dword [ebx*4 + 0x4428a358]
and ecx, 0xff000000
xor eax, ecx
and edi, 0xff
movzx ecx, byte [edi*4 + 0x44289f58]
xor eax, ecx
xor eax, dword [ebp + 0xc]
pop edi
mov ecx, eax
ror ecx, 8
and ecx, 0xff00ff00
rol eax, 8
pop esi
and eax, 0xff00ff
or ecx, eax
pop ebp
mov dword [edx + 0xc], ecx
pop ebx
add esp, 8
ret