Function at 0x100537c0
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x10
call fcn.10033890
push ebx
push ebp
mov ebp, dword [esp + 0x2c]
xor ecx, ecx
cmp dword [esp + 0x30], ecx
push esi
push edi
je 0x10053a44
movzx edx, byte [ebp]
movzx eax, byte [ebp + 1]
add ebp, 1
mov ch, byte [ebp + 1]
add ebp, 1
shl eax, 0x10
add ebp, 1
shl edx, 0x18
or edx, eax
movzx eax, byte [ebp]
or edx, ecx
mov ebx, dword [esp + 0x2c]
add ebp, 1
movzx ecx, byte [ebp + 1]
or edx, eax
movzx eax, byte [ebp]
mov esi, dword [esp + 0x28]
mov edi, dword [esp + 0x24]
add ebp, 1
shl ecx, 0x10
shl eax, 0x18
or eax, ecx
add ebp, 1
xor ecx, ecx
mov ch, byte [ebp]
add ebp, 1
sub ebp, 7
or eax, ecx
movzx ecx, byte [ebp + 7]
or eax, ecx
add ebx, 0xfffffff8
mov dword [esp + 0x38], eax
js 0x10053931
lea eax, [ebx + 8]
shr eax, 3
mov dword [esp + 0x2c], eax
neg eax
lea eax, [ebx + eax*8]
mov dword [esp + 0x10], eax
lea ebx, [ebx]
movzx eax, byte [edi]
movzx ecx, byte [edi + 1]
add edi, 1
shl ecx, 0x10
shl eax, 0x18
or eax, ecx
xor ecx, ecx
mov ch, byte [edi + 1]
add edi, 1
add edi, 1
add edi, 1
movzx ebx, byte [edi + 1]
or eax, ecx
movzx ecx, byte [edi - 1]
or eax, ecx
movzx ecx, byte [edi]
add edi, 1
shl ecx, 0x18
shl ebx, 0x10
or ecx, ebx
add edi, 1
xor ebx, ebx
mov bh, byte [edi]
add edi, 1
xor eax, edx
mov edx, dword [esp + 0x30]
mov dword [esp + 0x18], eax
push edx
lea eax, [esp + 0x1c]
or ecx, ebx
movzx ebx, byte [edi]
or ecx, ebx
xor ecx, dword [esp + 0x3c]
push eax
add edi, 1
mov dword [esp + 0x24], ecx
call fcn.10052f20
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x24]
add esi, 1
mov ecx, edx
shr ecx, 0x18
mov byte [esi - 1], cl
mov ecx, edx
shr ecx, 0x10
mov byte [esi], cl
add esi, 1
add esi, 1
mov ecx, edx
shr ecx, 8
mov byte [esi - 1], cl
mov byte [esi], dl
add esi, 1
mov ecx, eax
shr ecx, 0x18
mov byte [esi], cl
add esi, 1
mov ecx, eax
shr ecx, 0x10
mov byte [esi], cl
add esi, 1
mov ecx, eax
shr ecx, 8
mov byte [esi], cl
add esi, 1
mov byte [esi], al
add esp, 8
add esi, 1
sub dword [esp + 0x2c], 1
mov dword [esp + 0x38], eax
jne 0x10053860
mov ebx, dword [esp + 0x10]
cmp ebx, 0xfffffff8
je 0x10053a1b
lea edi, [edi + ebx + 8]
add ebx, 7
xor ecx, ecx
cmp ebx, 7
mov dword [esp + 0x2c], 0
ja case.default.0x10053950
jmp dword [ebx*4 + 0x10053cf0]
movzx ecx, byte [edi - 1]
sub edi, 1
mov dword [esp + 0x2c], ecx
sub edi, 1
xor ecx, ecx
mov ch, byte [edi]
or dword [esp + 0x2c], ecx
movzx ecx, byte [edi - 1]
sub edi, 1
shl ecx, 0x10
or dword [esp + 0x2c], ecx
movzx ecx, byte [edi - 1]
sub edi, 1
shl ecx, 0x18
or dword [esp + 0x2c], ecx
movzx ecx, byte [edi - 1]
sub edi, 1
sub edi, 1
xor ebx, ebx
mov bh, byte [edi]
or ecx, ebx
movzx ebx, byte [edi - 1]
sub edi, 1
shl ebx, 0x10
or ecx, ebx
movzx edi, byte [edi - 1]
shl edi, 0x18
or ecx, edi
xor ecx, edx
mov edx, dword [esp + 0x30]
mov dword [esp + 0x18], ecx
mov ecx, dword [esp + 0x2c]
xor ecx, eax
push edx
lea eax, [esp + 0x1c]
push eax
mov dword [esp + 0x24], ecx
call fcn.10052f20
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x24]
mov ecx, edx
shr ecx, 0x18
mov byte [esi], cl
add esi, 1
mov ecx, edx
shr ecx, 0x10
mov byte [esi], cl
add esi, 1
mov ecx, edx
shr ecx, 8
mov byte [esi], cl
add esi, 1
mov byte [esi], dl
mov ecx, eax
add esi, 1
mov ebx, ecx
shr ebx, 0x18
mov byte [esi], bl
add esi, 1
mov ebx, ecx
shr ebx, 0x10
mov byte [esi], bl
add esi, 1
mov ebx, ecx
add esp, 8
shr ebx, 8
mov byte [esi], bl
mov byte [esi + 1], cl
mov ecx, edx
shr ecx, 0x18
mov byte [ebp], cl
add ebp, 1
mov ecx, edx
shr ecx, 0x10
mov byte [ebp], cl
mov ecx, edx
add ebp, 1
shr ecx, 8
mov byte [ebp], cl
add ebp, 1
mov byte [ebp], dl
jmp 0x10053cc2
movzx ebx, byte [ebp]
movzx eax, byte [ebp + 1]
add ebp, 1
mov ch, byte [ebp + 1]
add ebp, 1
movzx edx, byte [ebp + 1]
add ebp, 1
mov edi, dword [esp + 0x28]
mov esi, dword [esp + 0x24]
shl eax, 0x10
add ebp, 1
shl ebx, 0x18
or ebx, eax
movzx eax, byte [ebp]
or ebx, ecx
movzx ecx, byte [ebp + 1]
add ebp, 1
or ebx, edx
add ebp, 1
xor edx, edx
mov dh, byte [ebp]
shl eax, 0x18
shl ecx, 0x10
or eax, ecx
movzx ecx, byte [ebp + 1]
add ebp, 1
or eax, edx
or eax, ecx
mov ecx, dword [esp + 0x2c]
sub ebp, 7
add ecx, 0xfffffff8
mov dword [esp + 0x14], ebx
mov dword [esp + 0x38], eax
mov dword [esp + 0x34], ebp
mov dword [esp + 0x10], ecx
js 0x10053bb4
lea eax, [ecx + 8]
shr eax, 3
mov dword [esp + 0x2c], eax
neg eax
lea edx, [ecx + eax*8]
mov dword [esp + 0x10], edx
lea esp, [esp]
movzx ebp, byte [esi]
movzx eax, byte [esi + 1]
add esi, 1
add esi, 1
movzx edx, byte [esi + 1]
xor ecx, ecx
mov ch, byte [esi]
add esi, 1
movzx ebx, byte [esi + 1]
add esi, 1
shl eax, 0x10
shl ebp, 0x18
or ebp, eax
movzx eax, byte [esi + 1]
add esi, 1
or ebp, ecx
xor ecx, ecx
mov ch, byte [esi + 1]
add esi, 1
shl ebx, 0x18
shl eax, 0x10
or ebp, edx
movzx edx, byte [esi + 1]
or ebx, eax
mov eax, dword [esp + 0x30]
add esi, 1
or ebx, ecx
push eax
lea ecx, [esp + 0x1c]
or ebx, edx
push ecx
add esi, 1
mov dword [esp + 0x20], ebp
mov dword [esp + 0x24], ebx
call fcn.10053370
mov eax, dword [esp + 0x1c]
xor eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x40]
xor ecx, dword [esp + 0x24]
mov edx, eax
shr edx, 0x18
mov byte [edi], dl
add edi, 1
mov edx, eax
shr edx, 0x10
mov byte [edi], dl
add edi, 1
mov edx, eax
shr edx, 8
mov byte [edi], dl
mov byte [edi + 1], al
add edi, 1
add edi, 1
mov eax, ecx
shr eax, 0x18
mov byte [edi], al
add edi, 1
mov edx, ecx
shr edx, 0x10
mov byte [edi], dl
add edi, 1
mov eax, ecx
shr eax, 8
mov byte [edi], al
add edi, 1
mov byte [edi], cl
add esp, 8
add edi, 1
sub dword [esp + 0x2c], 1
mov dword [esp + 0x14], ebp
mov dword [esp + 0x38], ebx
jne 0x10053ad0
mov ebp, dword [esp + 0x34]
mov ebx, dword [esp + 0x14]
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x10]
cmp ecx, 0xfffffff8
je 0x10053c9e
movzx eax, byte [esi]
movzx ecx, byte [esi + 1]
add esi, 1
xor edx, edx
mov dh, byte [esi + 1]
add esi, 1
shl ecx, 0x10
shl eax, 0x18
or eax, ecx
movzx ecx, byte [esi + 1]
or eax, edx
add esi, 1
or eax, ecx
movzx ecx, byte [esi + 1]
add esi, 1
movzx edx, byte [esi + 1]
add esi, 1
shl edx, 0x10
shl ecx, 0x18
or ecx, edx
xor edx, edx
mov dh, byte [esi + 1]
add esi, 1
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x30]
push eax
mov dl, byte [esi + 1]
or ecx, edx
mov dword [esp + 0x30], ecx
mov dword [esp + 0x20], ecx
lea ecx, [esp + 0x1c]
push ecx
call fcn.10053370
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x40]
xor ebx, dword [esp + 0x20]
xor eax, dword [esp + 0x24]
lea edi, [edi + ecx + 8]
add ecx, 7
add esp, 8
cmp ecx, 7
ja case.default.0x10053c43
jmp dword [ecx*4 + 0x10053d10]
sub edi, 1
mov byte [edi], al
sub edi, 1
mov edx, eax
shr edx, 8
mov byte [edi], dl
sub edi, 1
mov ecx, eax
shr ecx, 0x10
mov byte [edi], cl
sub edi, 1
shr eax, 0x18
mov byte [edi], al
sub edi, 1
mov byte [edi], bl
sub edi, 1
mov edx, ebx
shr edx, 8
mov byte [edi], dl
sub edi, 1
mov eax, ebx
shr eax, 0x10
mov byte [edi], al
shr ebx, 0x18
mov byte [edi - 1], bl
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x2c]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x38], edx
mov ebx, ecx
mov eax, edx
mov ecx, ebx
shr ecx, 0x18
mov byte [ebp], cl
add ebp, 1
mov edx, ebx
shr edx, 0x10
mov byte [ebp], dl
mov ecx, ebx
add ebp, 1
shr ecx, 8
mov byte [ebp], cl
add ebp, 1
mov byte [ebp], bl
add ebp, 1
mov edx, eax
shr edx, 0x18
mov byte [ebp], dl
add ebp, 1
mov ecx, eax
shr ecx, 0x10
mov byte [ebp], cl
add ebp, 1
mov edx, eax
pop edi
shr edx, 8
mov byte [ebp], dl
pop esi
mov byte [ebp + 1], al
pop ebp
pop ebx
add esp, 0x10
ret