Function at 0x1001e1e7
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, ecx
mov eax, dword [esi + 0x1c]
add dword [esi + 0xc], ebx
test eax, eax
push edi
mov edi, dword [ebp + 8]
mov ecx, edi
jbe 0x1001e339
lea ecx, [eax + ebx]
cmp ecx, 0xc
jae 0x1001e224
push ebx
lea eax, [eax + esi + 0x10]
push edi
push eax
call fcn.10055680
add esp, 0xc
add dword [esi + 0x1c], ebx
jmp 0x1001e464
push 0xc
pop ecx
sub ecx, eax
push ecx
lea eax, [eax + esi + 0x10]
push edi
push eax
call fcn.10055680
mov eax, dword [esi + 0x1c]
sub edi, eax
lea eax, [ebx + eax - 0xc]
mov dword [ebp + 0xc], eax
movzx eax, byte [esi + 0x17]
movzx edx, byte [esi + 0x16]
shl eax, 8
add eax, edx
movzx edx, byte [esi + 0x15]
shl eax, 8
add eax, edx
movzx edx, byte [esi + 0x14]
shl eax, 8
add eax, edx
mov edx, dword [esi + 4]
movzx ebx, byte [esi + 0x12]
add edi, 0xc
mov ecx, edi
lea edi, [eax + edx]
movzx eax, byte [esi + 0x1b]
movzx edx, byte [esi + 0x1a]
shl eax, 8
add eax, edx
movzx edx, byte [esi + 0x19]
shl eax, 8
add eax, edx
movzx edx, byte [esi + 0x18]
shl eax, 8
add eax, edx
mov edx, dword [esi + 8]
add edx, eax
movzx eax, byte [esi + 0x13]
shl eax, 8
add eax, ebx
movzx ebx, byte [esi + 0x11]
shl eax, 8
add eax, ebx
movzx ebx, byte [esi + 0x10]
shl eax, 8
add eax, ebx
sub eax, edx
sub eax, edi
add eax, dword [esi]
mov ebx, edx
shr ebx, 0xd
xor eax, ebx
sub edi, eax
mov dword [esi], eax
sub edi, edx
shl eax, 8
xor edi, eax
mov eax, dword [esi]
sub edx, edi
sub edx, dword [esi]
mov dword [esi + 4], edi
shr edi, 0xd
xor edx, edi
sub eax, edx
sub eax, dword [esi + 4]
mov dword [esi + 8], edx
shr edx, 0xc
xor eax, edx
mov edx, dword [esi + 4]
sub edx, eax
sub edx, dword [esi + 8]
mov dword [esi], eax
shl eax, 0x10
xor edx, eax
mov eax, dword [esi + 8]
sub eax, edx
add esp, 0xc
sub eax, dword [esi]
mov dword [esi + 4], edx
shr edx, 5
xor eax, edx
mov edx, dword [esi]
sub edx, eax
sub edx, dword [esi + 4]
mov ebx, dword [ebp + 0xc]
mov dword [esi + 8], eax
shr eax, 3
xor edx, eax
mov eax, dword [esi + 4]
sub eax, edx
sub eax, dword [esi + 8]
mov dword [esi], edx
shl edx, 0xa
xor eax, edx
mov edx, dword [esi + 8]
sub edx, eax
sub edx, dword [esi]
mov dword [esi + 4], eax
shr eax, 0xf
xor edx, eax
and dword [esi + 0x1c], 0
mov dword [esi + 8], edx
cmp ebx, 0xc
jl 0x1001e44f
push 0xc
mov eax, ebx
xor edx, edx
pop edi
div edi
mov dword [ebp + 0xc], eax
imul eax, eax, 0xfffffff4
add ebx, eax
movzx eax, byte [ecx + 3]
movzx edx, byte [ecx + 2]
shl eax, 8
add eax, edx
movzx edx, byte [ecx + 1]
shl eax, 8
add eax, edx
movzx edx, byte [ecx]
shl eax, 8
add eax, edx
add dword [esi], eax
movzx eax, byte [ecx + 7]
movzx edx, byte [ecx + 6]
shl eax, 8
add eax, edx
movzx edx, byte [ecx + 5]
shl eax, 8
add eax, edx
movzx edx, byte [ecx + 4]
shl eax, 8
add eax, edx
add dword [esi + 4], eax
movzx eax, byte [ecx + 0xb]
movzx edx, byte [ecx + 0xa]
shl eax, 8
add eax, edx
movzx edx, byte [ecx + 9]
mov edi, dword [esi + 4]
shl eax, 8
add eax, edx
movzx edx, byte [ecx + 8]
shl eax, 8
add eax, edx
mov edx, dword [esi + 8]
add eax, edx
mov edx, dword [esi]
sub edx, eax
sub edx, dword [esi + 4]
mov dword [esi + 8], eax
shr eax, 0xd
xor edx, eax
mov eax, dword [esi + 8]
sub edi, edx
sub edi, dword [esi + 8]
mov dword [esi], edx
shl edx, 8
xor edi, edx
mov edx, dword [esi]
sub eax, edi
sub eax, dword [esi]
mov dword [esi + 4], edi
sub edx, dword [esi + 4]
shr edi, 0xd
xor eax, edi
mov edi, dword [esi + 4]
sub edx, eax
mov dword [esi + 8], eax
sub edi, dword [esi + 8]
shr eax, 0xc
xor edx, eax
sub edi, edx
mov dword [esi], edx
shl edx, 0x10
xor edi, edx
mov edx, dword [esi + 8]
sub edx, dword [esi]
mov dword [esi + 4], edi
sub edx, edi
shr edi, 5
xor edx, edi
mov edi, dword [esi]
sub edi, dword [esi + 4]
mov dword [esi + 8], edx
sub edi, edx
shr edx, 3
xor edi, edx
mov edx, dword [esi + 4]
sub edx, dword [esi + 8]
mov dword [esi], edi
sub edx, edi
shl edi, 0xa
mov eax, dword [esi + 8]
sub eax, dword [esi]
xor edx, edi
sub eax, edx
mov dword [esi + 4], edx
shr edx, 0xf
xor eax, edx
add ecx, 0xc
dec dword [ebp + 0xc]
mov dword [esi + 8], eax
jne 0x1001e353
test ebx, ebx
jle 0x1001e464
push ebx
push ecx
lea eax, [esi + 0x10]
push eax
call fcn.10055680
add esp, 0xc
mov dword [esi + 0x1c], ebx
pop edi
pop esi
pop ebx
pop ebp
ret 8