Function at 0x10023ff0
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x2c
call fcn.100d6420
mov eax, dword [0x10151618]
xor eax, esp
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x38]
push ebx
push esi
mov esi, dword [esp + 0x38]
mov bl, byte [esi]
test bl, 0x40
mov ecx, dword [esi + 0x2c]
mov dword [esp + 0x14], eax
mov eax, dword [esi + 0x28]
push edi
mov byte [esp + 0xf], bl
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], ecx
jne 0x10024040
push ecx
lea ecx, [esi + 0x10]
push ecx
push esi
call eax
add esp, 0xc
add dword [esi + 0x20], 1
adc dword [esi + 0x24], 0
movzx eax, bl
and eax, 7
mov edx, 0xf
sub edx, eax
mov byte [esi], al
mov eax, edx
xor ecx, ecx
cmp eax, 0xf
mov dword [esp + 0x1c], edx
jae 0x10024075
lea esp, [esp]
movzx edi, byte [esi + eax]
or ecx, edi
mov byte [esi + eax], 0
add eax, 1
shl ecx, 8
cmp eax, 0xf
jb 0x10024060
movzx eax, byte [esi + 0xf]
mov ebx, dword [esp + 0x48]
or ecx, eax
cmp ecx, ebx
mov byte [esi + 0xf], 1
je 0x1002409c
pop edi
pop esi
or eax, 0xffffffff
pop ebx
mov ecx, dword [esp + 0x28]
xor ecx, esp
call fcn.100d6528
add esp, 0x2c
ret
lea ecx, [ebx + 0xf]
or ecx, 8
shr ecx, 3
add dword [esi + 0x20], ecx
adc dword [esi + 0x24], 0
cmp dword [esi + 0x24], 0x20000000
jb 0x100240d4
ja 0x100240bd
cmp dword [esi + 0x20], 0
jbe 0x100240d4
pop edi
pop esi
mov eax, 0xfffffffe
pop ebx
mov ecx, dword [esp + 0x28]
xor ecx, esp
call fcn.100d6528
add esp, 0x2c
ret
cmp ebx, 0x10
mov edi, dword [esp + 0x40]
push ebp
jb 0x1002418a
mov eax, ebx
shr eax, 4
lea ebp, [esi + 0x10]
mov dword [esp + 0x24], eax
mov edi, edi
mov edx, dword [edi]
xor dword [ebp], edx
mov eax, dword [edi + 4]
xor dword [ebp + 4], eax
mov eax, dword [esp + 0x14]
mov ecx, dword [edi + 8]
xor dword [esi + 0x18], ecx
mov edx, dword [edi + 0xc]
xor dword [esi + 0x1c], edx
push eax
push ebp
push ebp
call dword [esp + 0x24]
mov ecx, dword [esp + 0x20]
push ecx
lea edx, [esp + 0x38]
push edx
push esi
call dword [esp + 0x30]
add esp, 0x18
mov eax, 8
lea esp, [esp]
mov cl, byte [eax + esi + 7]
sub eax, 1
add cl, 1
mov byte [eax + esi + 8], cl
jne 0x10024144
test eax, eax
jne 0x10024130
mov ecx, dword [edi]
mov edx, dword [edi + 4]
mov eax, dword [esp + 0x1c]
xor ecx, dword [esp + 0x28]
xor edx, dword [esp + 0x2c]
mov dword [eax], ecx
mov ecx, dword [esp + 0x30]
mov dword [eax + 4], edx
xor ecx, dword [edi + 8]
mov edx, dword [esp + 0x34]
xor edx, dword [edi + 0xc]
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
add eax, 0x10
add edi, 0x10
sub ebx, 0x10
sub dword [esp + 0x24], 1
mov dword [esp + 0x1c], eax
jne 0x100240f0
mov edx, dword [esp + 0x20]
test ebx, ebx
je 0x100241ed
xor eax, eax
test ebx, ebx
jbe 0x100241a2
mov cl, byte [eax + edi]
xor byte [esi + eax + 0x10], cl
add eax, 1
cmp eax, ebx
jb 0x10024194
mov edx, dword [esp + 0x14]
mov ebp, dword [esp + 0x18]
lea eax, [esi + 0x10]
push edx
push eax
push eax
call ebp
mov eax, dword [esp + 0x20]
push eax
lea ecx, [esp + 0x38]
push ecx
push esi
call ebp
add esp, 0x18
xor ecx, ecx
test ebx, ebx
jbe 0x100241e9
mov ebp, dword [esp + 0x1c]
lea edx, [esp + 0x28]
mov eax, edx
sub edi, edx
sub ebp, eax
lea eax, [esp + ecx + 0x28]
mov dl, byte [edi + eax]
xor dl, byte [eax]
add ecx, 1
cmp ecx, ebx
mov byte [eax + ebp], dl
jb 0x100241d6
mov edx, dword [esp + 0x20]
cmp edx, 0x10
pop ebp
jae 0x10024209
mov ecx, 0x10
sub ecx, edx
push ecx
lea eax, [esi + edx]
push 0
push eax
call fcn.100d7a80
add esp, 0xc
mov edx, dword [esp + 0x10]
push edx
lea eax, [esp + 0x28]
push eax
push esi
call dword [esp + 0x20]
mov ecx, dword [esp + 0x30]
xor dword [esi + 0x10], ecx
mov edx, dword [esp + 0x34]
xor dword [esi + 0x14], edx
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x3c]
xor dword [esi + 0x1c], ecx
xor dword [esi + 0x18], eax
mov dl, byte [esp + 0x1b]
mov ecx, dword [esp + 0x40]
add esp, 0xc
pop edi
mov byte [esi], dl
pop esi
pop ebx
xor ecx, esp
xor eax, eax
call fcn.100d6528
add esp, 0x2c
ret