Function at 0x5ab420
Capabilities:
Encode data using xor

Disassembly:
mov eax, 4
call fcn.004fc700
mov ecx, dword [esp + 8]
push ebx
mov ebx, dword [esp + 0x18]
push ebp
mov edx, dword [ecx]
mov ebp, dword [esp + 0x18]
push esi
mov esi, dword [ecx + 4]
push edi
mov edi, dword [esp + 0x1c]
mov eax, edi
shr eax, 3
mov dword [esp + 0x10], eax
test eax, eax
je 0x5ab5ce
mov edi, ecx
lea eax, [edx + 1]
movzx edx, al
mov ecx, dword [edi + edx*4 + 8]
lea eax, [ecx + esi]
movzx esi, al
mov eax, dword [edi + esi*4 + 8]
mov dword [edi + edx*4 + 8], eax
add eax, ecx
mov dword [edi + esi*4 + 8], ecx
movzx eax, al
movzx eax, byte [edi + eax*4 + 8]
xor al, byte [ebp]
mov byte [ebx], al
lea eax, [edx + 1]
movzx edx, al
mov ecx, dword [edi + edx*4 + 8]
lea eax, [ecx + esi]
movzx esi, al
mov eax, dword [edi + esi*4 + 8]
mov dword [edi + edx*4 + 8], eax
add eax, ecx
mov dword [edi + esi*4 + 8], ecx
movzx eax, al
movzx eax, byte [edi + eax*4 + 8]
xor al, byte [ebp + 1]
mov byte [ebx + 1], al
lea eax, [edx + 1]
movzx edx, al
mov ecx, dword [edi + edx*4 + 8]
lea eax, [ecx + esi]
movzx esi, al
mov eax, dword [edi + esi*4 + 8]
mov dword [edi + edx*4 + 8], eax
add eax, ecx
mov dword [edi + esi*4 + 8], ecx
movzx eax, al
movzx eax, byte [edi + eax*4 + 8]
xor al, byte [ebp + 2]
mov byte [ebx + 2], al
lea eax, [edx + 1]
movzx edx, al
mov ecx, dword [edi + edx*4 + 8]
lea eax, [ecx + esi]
movzx esi, al
mov eax, dword [edi + esi*4 + 8]
mov dword [edi + edx*4 + 8], eax
add eax, ecx
movzx eax, al
mov dword [edi + esi*4 + 8], ecx
movzx eax, byte [edi + eax*4 + 8]
xor al, byte [ebp + 3]
mov byte [ebx + 3], al
lea eax, [edx + 1]
movzx edx, al
mov ecx, dword [edi + edx*4 + 8]
lea eax, [ecx + esi]
movzx esi, al
mov eax, dword [edi + esi*4 + 8]
mov dword [edi + edx*4 + 8], eax
add eax, ecx
movzx eax, al
mov dword [edi + esi*4 + 8], ecx
movzx eax, byte [edi + eax*4 + 8]
xor al, byte [ebp + 4]
mov byte [ebx + 4], al
lea eax, [edx + 1]
movzx edx, al
mov ecx, dword [edi + edx*4 + 8]
lea eax, [ecx + esi]
movzx esi, al
mov eax, dword [edi + esi*4 + 8]
mov dword [edi + edx*4 + 8], eax
add eax, ecx
movzx eax, al
mov dword [edi + esi*4 + 8], ecx
movzx eax, byte [edi + eax*4 + 8]
xor al, byte [ebp + 5]
mov byte [ebx + 5], al
lea eax, [edx + 1]
movzx edx, al
mov ecx, dword [edi + edx*4 + 8]
lea eax, [ecx + esi]
movzx esi, al
mov eax, dword [edi + esi*4 + 8]
mov dword [edi + edx*4 + 8], eax
add eax, ecx
movzx eax, al
mov dword [edi + esi*4 + 8], ecx
movzx eax, byte [edi + eax*4 + 8]
xor al, byte [ebp + 6]
mov byte [ebx + 6], al
lea eax, [edx + 1]
movzx edx, al
mov ecx, dword [edi + edx*4 + 8]
lea eax, [ecx + esi]
movzx esi, al
mov eax, dword [edi + esi*4 + 8]
mov dword [edi + edx*4 + 8], eax
add eax, ecx
movzx eax, al
mov dword [edi + esi*4 + 8], ecx
movzx eax, byte [edi + eax*4 + 8]
xor al, byte [ebp + 7]
add ebp, 8
mov byte [ebx + 7], al
add ebx, 8
sub dword [esp + 0x10], 1
jne 0x5ab456
mov edi, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
and edi, 7
mov dword [esp + 0x10], ebx
mov dword [esp + 0x1c], edi
je 0x5ab7f4
mov edi, dword [esp + 0x18]
lea eax, [edx + 1]
movzx edx, al
mov ecx, dword [ecx + edx*4 + 8]
lea eax, [ecx + esi]
movzx esi, al
mov eax, dword [esp + 0x18]
mov eax, dword [eax + esi*4 + 8]
mov dword [edi + edx*4 + 8], eax
add eax, ecx
mov dword [edi + esi*4 + 8], ecx
mov ecx, edi
mov edi, dword [esp + 0x1c]
movzx eax, al
mov al, byte [ecx + eax*4 + 8]
xor al, byte [ebp]
mov byte [ebx], al
sub edi, 1
je 0x5ab7f8
mov ebx, dword [esp + 0x18]
lea eax, [edx + 1]
movzx edx, al
mov ecx, dword [ecx + edx*4 + 8]
lea eax, [ecx + esi]
movzx esi, al
mov eax, dword [esp + 0x18]
mov eax, dword [eax + esi*4 + 8]
mov dword [ebx + edx*4 + 8], eax
add eax, ecx
mov dword [ebx + esi*4 + 8], ecx
mov ecx, ebx
mov ebx, dword [esp + 0x10]
movzx eax, al
mov al, byte [ecx + eax*4 + 8]
xor al, byte [ebp + 1]
mov byte [ebx + 1], al
sub edi, 1
je 0x5ab7f8
mov ebx, dword [esp + 0x18]
lea eax, [edx + 1]
movzx edx, al
mov ecx, dword [ecx + edx*4 + 8]
lea eax, [ecx + esi]
movzx esi, al
mov eax, dword [esp + 0x18]
mov eax, dword [eax + esi*4 + 8]
mov dword [ebx + edx*4 + 8], eax
add eax, ecx
mov dword [ebx + esi*4 + 8], ecx
mov ecx, ebx
mov ebx, dword [esp + 0x10]
movzx eax, al
mov al, byte [ecx + eax*4 + 8]
xor al, byte [ebp + 2]
mov byte [ebx + 2], al
sub edi, 1
je 0x5ab7f8
mov ebx, dword [esp + 0x18]
lea eax, [edx + 1]
movzx edx, al
mov ecx, dword [ecx + edx*4 + 8]
lea eax, [ecx + esi]
movzx esi, al
mov eax, dword [esp + 0x18]
mov eax, dword [eax + esi*4 + 8]
mov dword [ebx + edx*4 + 8], eax
add eax, ecx
mov dword [ebx + esi*4 + 8], ecx
mov ecx, ebx
mov ebx, dword [esp + 0x10]
movzx eax, al
mov al, byte [ecx + eax*4 + 8]
xor al, byte [ebp + 3]
mov byte [ebx + 3], al
sub edi, 1
je 0x5ab7f8
mov ebx, dword [esp + 0x18]
lea eax, [edx + 1]
movzx edx, al
mov ecx, dword [ecx + edx*4 + 8]
lea eax, [ecx + esi]
movzx esi, al
mov eax, dword [esp + 0x18]
mov eax, dword [eax + esi*4 + 8]
mov dword [ebx + edx*4 + 8], eax
add eax, ecx
mov dword [ebx + esi*4 + 8], ecx
mov ecx, ebx
mov ebx, dword [esp + 0x10]
movzx eax, al
mov al, byte [ecx + eax*4 + 8]
xor al, byte [ebp + 4]
mov byte [ebx + 4], al
sub edi, 1
je 0x5ab7f8
mov ebx, dword [esp + 0x18]
lea eax, [edx + 1]
movzx edx, al
mov ecx, dword [ecx + edx*4 + 8]
lea eax, [ecx + esi]
movzx esi, al
mov eax, dword [esp + 0x18]
mov eax, dword [eax + esi*4 + 8]
mov dword [ebx + edx*4 + 8], eax
add eax, ecx
mov dword [ebx + esi*4 + 8], ecx
mov ecx, ebx
mov ebx, dword [esp + 0x10]
movzx eax, al
mov al, byte [ecx + eax*4 + 8]
xor al, byte [ebp + 5]
mov byte [ebx + 5], al
sub edi, 1
je 0x5ab7f8
mov ebx, dword [esp + 0x18]
lea eax, [edx + 1]
movzx edx, al
mov ecx, dword [ecx + edx*4 + 8]
lea eax, [ecx + esi]
movzx esi, al
mov eax, dword [esp + 0x18]
mov eax, dword [eax + esi*4 + 8]
mov dword [ebx + edx*4 + 8], eax
add eax, ecx
mov dword [ebx + esi*4 + 8], ecx
mov ecx, ebx
mov ebx, dword [esp + 0x10]
movzx eax, al
mov al, byte [ecx + eax*4 + 8]
xor al, byte [ebp + 6]
mov byte [ebx + 6], al
sub edi, 1
je 0x5ab7f8
mov ebx, dword [esp + 0x18]
lea eax, [edx + 1]
movzx edx, al
mov ecx, dword [ecx + edx*4 + 8]
lea eax, [ecx + esi]
movzx esi, al
mov eax, dword [esp + 0x18]
mov eax, dword [eax + esi*4 + 8]
mov dword [ebx + edx*4 + 8], eax
add eax, ecx
mov dword [ebx + esi*4 + 8], ecx
mov ecx, ebx
mov ebx, dword [esp + 0x10]
movzx eax, al
mov al, byte [ecx + eax*4 + 8]
xor al, byte [ebp]
mov byte [ebx], al
sub edi, 1
jne 0x5ab620
pop edi
mov dword [ecx + 4], esi
pop esi
pop ebp
mov dword [ecx], edx
pop ebx
pop ecx
ret
mov ecx, dword [esp + 0x18]
pop edi
mov dword [ecx + 4], esi
pop esi
pop ebp
mov dword [ecx], edx
pop ebx
pop ecx
ret