Function at 0x100989b0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x64
mov eax, dword [0x10112840]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
push ebx
push esi
mov edx, dword [ecx + 4]
xor esi, esi
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x4c], edx
push edi
test edx, edx
jle 0x10098a16
mov edi, dword [ebp - 0x4c]
lea edx, [eax + 2]
lea ebx, [ecx + 0x3c]
movzx ecx, byte [edx + 1]
lea ebx, [ebx + 4]
movzx eax, byte [edx]
lea edx, [edx + 4]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx - 5]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx - 6]
shl ecx, 8
or ecx, eax
xor ecx, dword [ebx - 4]
mov dword [ebp + esi*4 - 0x24], ecx
inc esi
cmp esi, edi
jl 0x100989e1
mov ecx, dword [ebp + 8]
mov edx, edi
mov ebx, dword [ecx + 8]
lea eax, [ebp - 0x44]
mov dword [ebp - 0x50], edx
lea esi, [ebp - 0x24]
mov dword [ebp - 0x5c], eax
cmp ebx, 1
jle 0x10098ae2
dec ebx
mov dword [ebp - 0x48], ebx
test edx, edx
jle 0x10098acc
mov edx, dword [ebp - 0x50]
lea edi, [ecx + 0xc]
mov ebx, eax
lea ecx, [ecx + edx*4]
mov edx, dword [ebp - 0x4c]
add ecx, 0x3c
mov dword [ebp - 0x60], edx
mov dword [ebp - 0x58], ecx
mov ecx, esi
sub ecx, eax
add dword [ebp - 0x50], edx
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x54], ecx
mov edi, edi
movzx ecx, byte [edi]
lea eax, [eax + 4]
lea ebx, [ebx + 4]
lea edi, [edi + 3]
mov ecx, dword [esi + ecx*4]
shr ecx, 8
movzx ecx, cl
mov edx, dword [ecx*4 + 0x10120720]
movzx ecx, byte [edi - 2]
rol edx, 8
movzx ecx, byte [esi + ecx*4 + 2]
mov ecx, dword [ecx*4 + 0x10120720]
rol ecx, 0x10
xor edx, ecx
movzx ecx, byte [edi - 1]
movzx ecx, byte [esi + ecx*4 + 3]
mov ecx, dword [ecx*4 + 0x10120720]
ror ecx, 8
xor edx, ecx
mov ecx, dword [ebp - 0x54]
movzx ecx, byte [ecx + ebx - 4]
xor edx, dword [ecx*4 + 0x10120720]
xor edx, dword [eax - 4]
dec dword [ebp - 0x60]
mov dword [ebx - 4], edx
jne 0x10098a60
mov eax, dword [ebp - 0x5c]
mov edx, dword [ebp - 0x4c]
mov ebx, dword [ebp - 0x48]
mov ecx, esi
dec ebx
mov esi, eax
mov dword [ebp - 0x48], ebx
mov eax, ecx
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x5c], eax
jne 0x10098a32
test edx, edx
jle 0x10098b7b
mov edx, dword [ebp - 0x50]
lea edi, [ecx + 0xc]
add edx, 0xf
mov ebx, eax
lea edx, [ecx + edx*4]
mov dword [ebp - 0x54], edx
mov edx, esi
sub edx, eax
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x58], edx
mov edx, dword [ecx + 4]
mov dword [ebp - 0x48], edx
jmp 0x10098b10
movzx ecx, byte [edi]
lea eax, [eax + 4]
lea ebx, [ebx + 4]
lea edi, [edi + 3]
mov ecx, dword [esi + ecx*4]
shr ecx, 8
movzx ecx, cl
movzx edx, byte [ecx + 0x101203a0]
movzx ecx, byte [edi - 2]
rol edx, 8
movzx ecx, byte [esi + ecx*4 + 2]
movzx ecx, byte [ecx + 0x101203a0]
rol ecx, 0x10
xor edx, ecx
movzx ecx, byte [edi - 1]
movzx ecx, byte [esi + ecx*4 + 3]
movzx ecx, byte [ecx + 0x101203a0]
ror ecx, 8
xor edx, ecx
mov ecx, dword [ebp - 0x58]
movzx ecx, byte [ecx + ebx - 4]
movzx ecx, byte [ecx + 0x101203a0]
xor edx, ecx
xor edx, dword [eax - 4]
dec dword [ebp - 0x48]
mov dword [ebx - 4], edx
jne 0x10098b10
mov eax, dword [ebp - 0x5c]
mov edx, dword [ebp - 0x4c]
xor ebx, ebx
test edx, edx
jle 0x10098bc9
mov edi, dword [ebp - 0x64]
add edi, 2
sub esi, eax
lea esp, [esp]
mov edx, dword [eax]
lea eax, [eax + 4]
mov ecx, edx
mov byte [edi - 2], dl
shr ecx, 8
lea edi, [edi + 4]
mov byte [edi - 5], cl
inc ebx
mov ecx, edx
mov dword [eax - 4], 0
shr ecx, 0x10
mov byte [edi - 4], cl
mov ecx, dword [ebp + 8]
shr edx, 0x18
mov byte [edi - 3], dl
mov dword [esi + eax - 4], 0
cmp ebx, dword [ecx + 4]
jl 0x10098b90
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1009ef2e
mov esp, ebp
pop ebp
ret