Function at 0x2a938b10
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x1c
call fcn.2a8b8f90
push ebx
push ebp
push esi
push edi
mov eax, dword [esp + 0x44]
lea edx, [eax + 1]
movzx ebx, byte [edx + 3]
movzx ecx, byte [eax]
movzx eax, byte [edx]
shl eax, 8
or ecx, eax
movzx eax, byte [edx + 1]
shl eax, 0x10
or ecx, eax
movzx eax, byte [edx + 2]
shl eax, 0x18
or ecx, eax
movzx eax, byte [edx + 4]
shl eax, 8
or ebx, eax
mov dword [esp + 0x14], ecx
movzx ecx, byte [edx + 6]
movzx eax, byte [edx + 5]
shl ecx, 8
or ecx, eax
mov eax, dword [esp + 0x48]
lea edx, [eax + 1]
shl ecx, 0x10
movzx esi, byte [eax]
or ebx, ecx
movzx eax, byte [edx]
movzx ecx, byte [edx + 6]
shl eax, 8
or esi, eax
mov dword [esp + 0x18], ebx
movzx eax, byte [edx + 1]
movzx ebx, byte [edx + 3]
shl eax, 0x10
or esi, eax
shl ecx, 8
movzx eax, byte [edx + 2]
shl eax, 0x18
or esi, eax
movzx eax, byte [edx + 4]
shl eax, 8
or ebx, eax
mov dword [esp + 0x48], esi
movzx eax, byte [edx + 5]
or ecx, eax
mov eax, dword [esp + 0x40]
shl ecx, 0x10
or ebx, ecx
cmp dword [esp + 0x4c], 0
mov dword [esp + 0x10], ebx
je 0x2a938e16
movzx ebx, byte [eax]
lea edx, [eax + 1]
movzx eax, byte [edx]
movzx ebp, byte [edx + 3]
movzx ecx, byte [edx + 6]
shl eax, 8
or ebx, eax
mov esi, dword [esp + 0x34]
movzx eax, byte [edx + 1]
mov edi, dword [esp + 0x30]
shl eax, 0x10
or ebx, eax
shl ecx, 8
movzx eax, byte [edx + 2]
shl eax, 0x18
or ebx, eax
movzx eax, byte [edx + 4]
shl eax, 8
or ebp, eax
movzx eax, byte [edx + 5]
or ecx, eax
mov dword [esp + 0x44], ebp
shl ecx, 0x10
mov edx, ebp
or edx, ecx
mov ecx, dword [esp + 0x38]
add ecx, 0xfffffff8
mov dword [esp + 0x44], edx
mov dword [esp + 0x38], ecx
js 0x2a938d03
lea eax, [ecx + 8]
shr eax, 3
mov dword [esp + 0x4c], eax
neg eax
lea ecx, [ecx + eax*8]
mov dword [esp + 0x38], ecx
jmp 0x2a938c40
movzx eax, byte [edi + 1]
movzx edx, byte [edi]
movzx ecx, byte [edi + 4]
shl eax, 8
or edx, eax
movzx eax, byte [edi + 2]
shl eax, 0x10
or edx, eax
movzx eax, byte [edi + 3]
shl eax, 0x18
or edx, eax
movzx eax, byte [edi + 5]
shl eax, 8
xor edx, ebx
xor edx, dword [esp + 0x14]
or ecx, eax
movzx eax, byte [edi + 6]
shl eax, 0x10
or ecx, eax
mov dword [esp + 0x24], edx
movzx eax, byte [edi + 7]
add edi, 8
shl eax, 0x18
or ecx, eax
lea eax, [esp + 0x24]
xor ecx, dword [esp + 0x44]
xor ecx, dword [esp + 0x18]
push 1
push dword [esp + 0x40]
mov dword [esp + 0x30], ecx
push eax
call fcn.2a8024c0
mov ebx, dword [esp + 0x30]
add esp, 0xc
xor ebx, dword [esp + 0x48]
mov edx, dword [esp + 0x28]
mov eax, ebx
xor edx, dword [esp + 0x10]
shr eax, 8
mov byte [esi], bl
mov byte [esi + 1], al
mov eax, ebx
shr eax, 0x10
mov byte [esi + 2], al
mov eax, ebx
shr eax, 0x18
mov byte [esi + 3], al
mov eax, edx
shr eax, 8
mov byte [esi + 4], dl
mov byte [esi + 5], al
mov eax, edx
shr eax, 0x10
mov byte [esi + 6], al
mov eax, edx
shr eax, 0x18
mov byte [esi + 7], al
add esi, 8
dec dword [esp + 0x4c]
mov dword [esp + 0x44], edx
jne 0x2a938c40
mov ecx, dword [esp + 0x38]
cmp ecx, 0xfffffff8
je 0x2a938dd9
mov eax, dword [esp + 0x38]
add ecx, 8
add ecx, edi
add eax, 7
xor edi, edi
xor ebp, ebp
cmp eax, 7
ja case.default.0x2a938d21
jmp dword [eax*4 + 0x2a939094]
movzx edi, byte [ecx - 1]
dec ecx
shl edi, 0x18
movzx eax, byte [ecx - 1]
dec ecx
shl eax, 0x10
or edi, eax
movzx eax, byte [ecx - 1]
dec ecx
shl eax, 8
or edi, eax
movzx eax, byte [ecx - 1]
dec ecx
or edi, eax
movzx ebp, byte [ecx - 1]
dec ecx
shl ebp, 0x18
movzx eax, byte [ecx - 1]
dec ecx
shl eax, 0x10
or ebp, eax
movzx eax, byte [ecx - 1]
dec ecx
shl eax, 8
or ebp, eax
movzx eax, byte [ecx - 1]
or ebp, eax
push 1
push dword [esp + 0x40]
xor edi, edx
lea eax, [esp + 0x2c]
xor edi, dword [esp + 0x20]
xor ebp, ebx
xor ebp, dword [esp + 0x1c]
push eax
mov dword [esp + 0x30], ebp
mov dword [esp + 0x34], edi
call fcn.2a8024c0
mov ebx, dword [esp + 0x30]
add esp, 0xc
xor ebx, dword [esp + 0x48]
mov edx, dword [esp + 0x28]
mov eax, ebx
xor edx, dword [esp + 0x10]
shr eax, 8
mov byte [esi], bl
mov byte [esi + 1], al
mov eax, ebx
shr eax, 0x10
mov byte [esi + 2], al
mov eax, ebx
shr eax, 0x18
mov byte [esi + 3], al
mov eax, edx
shr eax, 8
mov byte [esi + 4], dl
mov byte [esi + 5], al
mov eax, edx
shr eax, 0x10
mov byte [esi + 6], al
mov eax, edx
shr eax, 0x18
mov byte [esi + 7], al
mov esi, dword [esp + 0x40]
mov eax, ebx
shr eax, 8
pop edi
mov byte [esi], bl
mov byte [esi + 1], al
mov eax, ebx
shr eax, 0x10
mov byte [esi + 2], al
mov eax, edx
shr ebx, 0x18
mov byte [esi + 3], bl
mov byte [esi + 4], dl
shr eax, 8
mov byte [esi + 5], al
mov eax, edx
shr eax, 0x10
mov byte [esi + 6], al
shr edx, 0x18
mov byte [esi + 7], dl
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret
movzx ecx, byte [eax]
lea ebp, [eax + 1]
mov edx, ebp
mov edi, dword [esp + 0x38]
mov ebx, dword [esp + 0x30]
add edi, 0xfffffff8
mov dword [esp + 0x1c], ebp
movzx eax, byte [edx]
shl eax, 8
or ecx, eax
movzx eax, byte [edx + 1]
shl eax, 0x10
or ecx, eax
movzx eax, byte [edx + 2]
shl eax, 0x18
or ecx, eax
movzx eax, byte [edx + 4]
mov dword [esp + 0x4c], ecx
movzx ecx, byte [edx + 3]
shl eax, 8
or ecx, eax
movzx eax, byte [edx + 5]
mov dword [esp + 0x44], ecx
movzx ecx, byte [edx + 6]
mov edx, dword [esp + 0x44]
shl ecx, 8
or ecx, eax
shl ecx, 0x10
or edx, ecx
mov dword [esp + 0x44], edx
test edi, edi
jle 0x2a938f74
mov ebp, dword [esp + 0x34]
lea eax, [edi - 1]
shr eax, 3
inc eax
mov dword [esp + 0x38], eax
neg eax
lea edi, [edi + eax*8]
mov dword [esp + 0x20], edi
movzx eax, byte [ebx + 1]
movzx edi, byte [ebx]
shl eax, 8
or edi, eax
movzx eax, byte [ebx + 2]
shl eax, 0x10
or edi, eax
movzx eax, byte [ebx + 3]
shl eax, 0x18
or edi, eax
mov eax, edi
xor eax, esi
movzx esi, byte [ebx + 4]
mov dword [esp + 0x24], eax
movzx eax, byte [ebx + 5]
shl eax, 8
or esi, eax
movzx eax, byte [ebx + 6]
shl eax, 0x10
or esi, eax
movzx eax, byte [ebx + 7]
shl eax, 0x18
add ebx, 8
or esi, eax
mov eax, esi
xor eax, dword [esp + 0x10]
push 0
push dword [esp + 0x40]
mov dword [esp + 0x30], eax
lea eax, [esp + 0x2c]
push eax
call fcn.2a8024c0
mov ecx, dword [esp + 0x30]
add esp, 0xc
xor ecx, dword [esp + 0x4c]
xor ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x28]
mov eax, ecx
xor edx, dword [esp + 0x44]
xor edx, dword [esp + 0x18]
mov byte [ebp], cl
shr eax, 8
mov byte [ebp + 1], al
mov eax, ecx
shr eax, 0x10
mov byte [ebp + 2], al
mov eax, edx
shr ecx, 0x18
mov byte [ebp + 3], cl
mov ecx, edi
mov byte [ebp + 4], dl
shr eax, 8
mov byte [ebp + 5], al
mov eax, edx
shr eax, 0x10
shr edx, 0x18
mov byte [ebp + 6], al
mov byte [ebp + 7], dl
add ebp, 8
dec dword [esp + 0x38]
mov edx, esi
mov esi, dword [esp + 0x48]
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x44], edx
jne 0x2a938e96
mov edi, dword [esp + 0x20]
mov dword [esp + 0x38], ebp
mov ebp, dword [esp + 0x1c]
mov esi, dword [esp + 0x38]
jmp 0x2a938f7c
mov esi, dword [esp + 0x34]
mov ecx, dword [esp + 0x4c]
cmp edi, 0xfffffff8
je 0x2a939057
movzx eax, byte [ebx + 1]
movzx ecx, byte [ebx]
movzx edx, byte [ebx + 4]
shl eax, 8
or ecx, eax
movzx eax, byte [ebx + 2]
shl eax, 0x10
or ecx, eax
movzx eax, byte [ebx + 3]
shl eax, 0x18
or ecx, eax
movzx eax, byte [ebx + 5]
mov dword [esp + 0x38], ecx
xor ecx, dword [esp + 0x48]
mov dword [esp + 0x24], ecx
movzx ecx, byte [ebx + 7]
shl eax, 8
or edx, eax
shl ecx, 8
movzx eax, byte [ebx + 6]
or ecx, eax
lea eax, [esp + 0x24]
shl ecx, 0x10
or edx, ecx
push 0
push dword [esp + 0x40]
mov dword [esp + 0x50], edx
xor edx, dword [esp + 0x18]
push eax
mov dword [esp + 0x34], edx
call fcn.2a8024c0
mov edx, dword [esp + 0x30]
lea ecx, [edi + 8]
mov ebx, dword [esp + 0x34]
add edi, 7
xor edx, dword [esp + 0x58]
add esp, 0xc
xor ebx, dword [esp + 0x44]
add ecx, esi
xor edx, dword [esp + 0x14]
xor ebx, dword [esp + 0x18]
cmp edi, 7
ja case.default.0x2a939012
jmp dword [edi*4 + 0x2a9390b4]
dec ecx
mov eax, ebx
shr eax, 0x18
mov byte [ecx], al
dec ecx
mov eax, ebx
shr eax, 0x10
mov byte [ecx], al
dec ecx
mov eax, ebx
shr eax, 8
mov byte [ecx], al
dec ecx
mov byte [ecx], bl
dec ecx
mov eax, edx
shr eax, 0x18
mov byte [ecx], al
dec ecx
mov eax, edx
shr eax, 0x10
mov byte [ecx], al
dec ecx
mov eax, edx
shr eax, 8
mov byte [ecx], al
mov byte [ecx - 1], dl
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x48]
mov eax, dword [esp + 0x40]
pop edi
pop esi
mov byte [eax], cl
mov eax, ecx
shr eax, 8
mov byte [ebp], al
mov eax, ecx
shr eax, 0x10
mov byte [ebp + 1], al
mov eax, edx
shr ecx, 0x18
mov byte [ebp + 2], cl
mov byte [ebp + 3], dl
shr eax, 8
mov byte [ebp + 4], al
mov eax, edx
shr eax, 0x10
mov byte [ebp + 5], al
shr edx, 0x18
mov byte [ebp + 6], dl
pop ebp
pop ebx
add esp, 0x1c
ret