Function at 0x101a25fe
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x28
call fcn.101e1c60
push ebx
mov ebx, dword [esp + 0x30]
mov eax, dword [ebx]
mov edx, dword [ebx + 4]
push ebp
push esi
push edi
mov cl, 0x38
call fcn.101e42c0
mov ecx, dword [ebx + 0x10]
mov ebp, dword [ebx + 0x14]
mov edi, dword [ebx + 8]
mov esi, dword [ebx + 0x1c]
mov dword [esp + 0x10], eax
mov eax, dword [ebx + 0xc]
mov dword [esp + 0x14], edx
mov edx, dword [ebx + 0x20]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x18], edx
mov edx, dword [eax + 0x2c]
mov dword [esp + 0x20], ecx
mov ecx, dword [ebx + 0x18]
mov ebx, dword [ebx + 0x24]
mov dword [esp + 0x24], ebp
cmp dword [esp + 0x44], edx
je 0x101a2575
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x28
ret
mov edx, dword [eax + 0x28]
dec edx
cmp edx, 6
ja case.default.0x101a2582
jmp dword [edx*4 + 0x101a29e4]
movzx eax, byte [eax + 0x3e]
cdq
shl eax, 0x10
or dword [esp + 0x14], eax
mov eax, dword [esp + 0x3c]
movzx eax, byte [eax + 0x3d]
cdq
shl eax, 8
or dword [esp + 0x14], eax
mov eax, dword [esp + 0x3c]
movzx eax, byte [eax + 0x3c]
cdq
or dword [esp + 0x14], eax
mov eax, dword [esp + 0x3c]
movzx eax, byte [eax + 0x3b]
cdq
shld edx, eax, 0x18
shl eax, 0x18
or dword [esp + 0x10], eax
or dword [esp + 0x14], edx
mov eax, dword [esp + 0x3c]
movzx eax, byte [eax + 0x3a]
cdq
shld edx, eax, 0x10
shl eax, 0x10
or dword [esp + 0x10], eax
or dword [esp + 0x14], edx
mov eax, dword [esp + 0x3c]
movzx eax, byte [eax + 0x39]
cdq
shld edx, eax, 8
shl eax, 8
or dword [esp + 0x10], eax
or dword [esp + 0x14], edx
mov eax, dword [esp + 0x3c]
movzx eax, byte [eax + 0x38]
mov ebp, dword [esp + 0x24]
cdq
or dword [esp + 0x10], eax
or dword [esp + 0x14], edx
mov eax, dword [esp + 0x10]
xor dword [esp + 0x18], eax
mov edx, dword [esp + 0x3c]
mov eax, dword [edx + 0x30]
xor ebx, dword [esp + 0x14]
test eax, eax
jle 0x101a2700
mov edx, dword [esp + 0x20]
mov dword [esp + 0x44], eax
add edi, edx
adc dword [esp + 0x2c], ebp
mov eax, ebp
shld ebp, edx, 0xd
shl edx, 0xd
shr eax, 0x13
or eax, edx
xor eax, edi
mov dword [esp + 0x20], eax
mov eax, ebx
mov dword [esp + 0x34], 0
mov edx, dword [esp + 0x34]
or edx, ebp
xor edx, dword [esp + 0x2c]
mov ebp, dword [esp + 0x18]
add ecx, ebp
adc esi, ebx
shld ebx, ebp, 0x10
mov dword [esp + 0x24], edx
xor edx, edx
or edx, ebx
mov ebx, dword [esp + 0x2c]
xor edx, esi
shl ebp, 0x10
shr eax, 0x10
or eax, ebp
xor ebp, ebp
xor eax, ecx
mov dword [esp + 0x1c], edx
xor edx, edx
or ebx, edx
mov edx, dword [esp + 0x1c]
or ebp, edi
add ebx, eax
adc ebp, edx
mov edi, ebx
mov ebx, edx
shld edx, eax, 0x15
shr ebx, 0xb
mov dword [esp + 0x2c], ebp
xor ebp, ebp
shl eax, 0x15
or ebx, eax
mov eax, dword [esp + 0x20]
or ebp, edx
xor ebp, dword [esp + 0x2c]
mov edx, dword [esp + 0x24]
xor ebx, edi
add ecx, eax
adc esi, edx
mov dword [esp + 0x18], ebx
mov ebx, edx
shld edx, eax, 0x11
shr ebx, 0xf
shl eax, 0x11
or ebx, eax
mov dword [esp + 0x1c], ebp
xor ebx, ecx
xor ebp, ebp
or ebp, edx
mov edx, ebx
xor ebx, ebx
xor ebp, esi
or esi, ebx
mov ebx, dword [esp + 0x1c]
xor eax, eax
or eax, ecx
dec dword [esp + 0x44]
mov ecx, esi
mov dword [esp + 0x20], edx
mov esi, eax
jne 0x101a2632
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x3c]
xor edi, dword [esp + 0x10]
xor dword [esp + 0x2c], edx
cmp dword [eax + 0x2c], 0x10
jne 0x101a271e
xor ecx, 0xee
jmp 0x101a2724
xor ecx, 0xff
mov eax, dword [eax + 0x34]
mov edx, dword [esp + 0x20]
xor esi, 0
test eax, eax
jle 0x101a280e
mov dword [esp + 0x44], eax
lea ebx, [ebx]
add edi, edx
adc dword [esp + 0x2c], ebp
mov eax, ebp
shld ebp, edx, 0xd
shl edx, 0xd
shr eax, 0x13
or eax, edx
xor eax, edi
mov dword [esp + 0x20], eax
mov eax, ebx
mov dword [esp + 0x34], 0
mov edx, dword [esp + 0x34]
or edx, ebp
xor edx, dword [esp + 0x2c]
mov ebp, dword [esp + 0x18]
add ecx, ebp
adc esi, ebx
shld ebx, ebp, 0x10
mov dword [esp + 0x24], edx
xor edx, edx
or edx, ebx
mov ebx, dword [esp + 0x2c]
xor edx, esi
shl ebp, 0x10
shr eax, 0x10
or eax, ebp
xor ebp, ebp
xor eax, ecx
mov dword [esp + 0x1c], edx
xor edx, edx
or ebx, edx
mov edx, dword [esp + 0x1c]
or ebp, edi
add ebx, eax
adc ebp, edx
mov edi, ebx
mov ebx, edx
shld edx, eax, 0x15
shr ebx, 0xb
mov dword [esp + 0x2c], ebp
xor ebp, ebp
shl eax, 0x15
or ebx, eax
mov eax, dword [esp + 0x20]
or ebp, edx
xor ebp, dword [esp + 0x2c]
mov edx, dword [esp + 0x24]
xor ebx, edi
add ecx, eax
adc esi, edx
mov dword [esp + 0x18], ebx
mov ebx, edx
shld edx, eax, 0x11
shr ebx, 0xf
shl eax, 0x11
or ebx, eax
mov dword [esp + 0x1c], ebp
xor ebx, ecx
xor ebp, ebp
or ebp, edx
mov edx, ebx
xor ebx, ebx
xor ebp, esi
or esi, ebx
mov ebx, dword [esp + 0x1c]
xor eax, eax
or eax, ecx
dec dword [esp + 0x44]
mov ecx, esi
mov dword [esp + 0x20], edx
mov esi, eax
jne 0x101a2740
mov eax, dword [esp + 0x18]
mov dword [esp + 0x30], eax
xor dword [esp + 0x30], ecx
xor dword [esp + 0x30], edx
mov edx, dword [esp + 0x30]
xor edx, edi
mov eax, ebx
xor eax, esi
mov dword [esp + 0x34], eax
mov dword [esp + 0x10], edx
xor eax, ebp
xor eax, dword [esp + 0x2c]
mov dword [esp + 0x34], 0
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x40]
mov byte [eax], dl
shr edx, 8
mov byte [eax + 1], dl
mov edx, dword [esp + 0x10]
shr edx, 0x10
mov byte [eax + 2], dl
mov edx, dword [esp + 0x10]
shr edx, 0x18
mov byte [eax + 3], dl
mov edx, dword [esp + 0x14]
mov byte [eax + 4], dl
mov dword [esp + 0x30], edx
shr edx, 8
mov byte [eax + 5], dl
mov edx, dword [esp + 0x30]
shr edx, 0x10
mov byte [eax + 6], dl
mov edx, dword [esp + 0x30]
shr edx, 0x18
mov byte [eax + 7], dl
mov edx, dword [esp + 0x3c]
cmp dword [edx + 0x2c], 8
je 0x101a29d5
mov edx, dword [edx + 0x34]
xor dword [esp + 0x20], 0xdd
xor ebp, 0
test edx, edx
jle 0x101a2985
mov dword [esp + 0x3c], edx
mov edx, dword [esp + 0x20]
add edi, edx
adc dword [esp + 0x2c], ebp
mov eax, ebp
shld ebp, edx, 0xd
shl edx, 0xd
shr eax, 0x13
or eax, edx
xor eax, edi
mov dword [esp + 0x20], eax
mov eax, ebx
mov dword [esp + 0x34], 0
mov edx, dword [esp + 0x34]
or edx, ebp
xor edx, dword [esp + 0x2c]
mov ebp, dword [esp + 0x18]
add ecx, ebp
adc esi, ebx
shld ebx, ebp, 0x10
mov dword [esp + 0x24], edx
xor edx, edx
or edx, ebx
mov ebx, dword [esp + 0x2c]
xor edx, esi
shl ebp, 0x10
shr eax, 0x10
or eax, ebp
xor ebp, ebp
xor eax, ecx
mov dword [esp + 0x1c], edx
xor edx, edx
or ebx, edx
mov edx, dword [esp + 0x1c]
or ebp, edi
add ebx, eax
adc ebp, edx
mov edi, ebx
mov ebx, edx
shld edx, eax, 0x15
shr ebx, 0xb
mov dword [esp + 0x2c], ebp
xor ebp, ebp
shl eax, 0x15
or ebx, eax
mov eax, dword [esp + 0x20]
or ebp, edx
xor ebp, dword [esp + 0x2c]
mov edx, dword [esp + 0x24]
xor ebx, edi
add ecx, eax
adc esi, edx
mov dword [esp + 0x18], ebx
mov ebx, edx
shld edx, eax, 0x11
shr ebx, 0xf
shl eax, 0x11
or ebx, eax
mov dword [esp + 0x1c], ebp
xor ebx, ecx
xor ebp, ebp
or ebp, edx
mov edx, ebx
xor ebx, ebx
xor ebp, esi
or esi, ebx
mov ebx, dword [esp + 0x1c]
xor eax, eax
or eax, ecx
dec dword [esp + 0x3c]
mov ecx, esi
mov dword [esp + 0x20], edx
mov esi, eax
jne 0x101a28b3
mov eax, dword [esp + 0x40]
mov edx, dword [esp + 0x18]
xor ecx, edx
xor ecx, dword [esp + 0x20]
xor esi, ebx
xor ecx, edi
mov edx, ecx
shr edx, 8
mov byte [eax + 9], dl
mov edx, ecx
xor esi, ebp
xor esi, dword [esp + 0x2c]
mov byte [eax + 8], cl
shr edx, 0x10
shr ecx, 0x18
mov byte [eax + 0xa], dl
mov byte [eax + 0xb], cl
mov ecx, esi
mov edx, esi
shr edx, 8
mov byte [eax + 0xd], dl
mov edx, ecx
shr edx, 0x10
mov byte [eax + 0xc], cl
shr ecx, 0x18
mov dword [esp + 0x34], 0
mov byte [eax + 0xe], dl
mov byte [eax + 0xf], cl
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x28
ret