Function at 0x10cff6b
Capabilities:
Encode data using xor

Disassembly:
pushfd
push ebp
mov ebp, esp
sub esp, 0x4c
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x40], edx
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x44], esi
lea ebx, [ebp + 4]
mov dword [ebp - 0x4c], edi
mov esi, dword [ebx + 4]
push esi
push esi
mov dword [ebp - 0x10], esi
sub ebx, 4
mov eax, 0x8189311b
mov edx, 0xfffffff
mov edi, 0x1000000
mov eax, dword [esi + 8]
and dword [ebp - 0x20], 0
and dword [ebp - 0x1c], 0
pop ecx
pop ecx
mov ecx, dword [esi + 0xc]
mov esi, dword [0x13ca1e8]
and ecx, edx
and eax, edx
mov edx, edi
add ecx, edi
sub edx, esi
mov dword [ebp - 0x14], edx
jne 0x10d0012
and dword [ebp - 4], 0
test eax, eax
jbe 0x10d01f8
mov edi, 0x7d86fbd4
mov edx, dword [ebp - 4]
movzx edx, byte [edx + ecx]
sub edx, edi
add dword [ebp - 0x20], edx
add edx, dword [ebp - 0x1c]
imul edx, edx, 0x8279042c
ror edx, 0xd
mov esi, edx
imul esi, esi, 0xf04d
rol esi, 0xc
ror edx, 0xc
xor esi, edx
add dword [ebp - 0x20], esi
inc dword [ebp - 4]
cmp dword [ebp - 4], eax
mov dword [ebp - 0x1c], esi
jb 0x10cffd7
jmp 0x10d01f8
mov esi, ecx
lea edx, [ecx + eax]
sub esi, edi
mov edi, esi
and edi, 0xfffff000
add eax, esi
mov dword [ebp - 4], edi
mov edi, esi
mov esi, eax
sub edi, dword [ebp - 4]
mov dword [ebp - 0x18], edx
and esi, 0xfffff000
sub eax, esi
mov edx, dword [0x100003c]
mov dword [ebp - 0x30], eax
mov eax, dword [edx + 0x10000a0]
mov edx, dword [edx + 0x10000a4]
mov dword [ebp - 0x34], esi
add eax, 0x1000000
add edx, eax
mov dword [ebp - 0x2c], edx
jmp 0x10d0066
mov esi, dword [eax]
cmp esi, dword [ebp - 4]
jae 0x10d006a
add eax, dword [eax + 4]
cmp eax, edx
jne 0x10d005c
and dword [ebp - 0x24], 0
cmp eax, edx
je 0x10d00a3
mov esi, dword [ebp - 4]
cmp dword [eax], esi
jne 0x10d00a3
mov esi, dword [eax + 4]
sub esi, 8
shr esi, 1
mov dword [ebp - 0xc], esi
je 0x10d00a3
mov esi, dword [ebp - 0x24]
movzx esi, word [eax + esi*2 + 8]
and esi, 0xfff
cmp esi, edi
jae 0x10d00a3
inc dword [ebp - 0x24]
mov esi, dword [ebp - 0xc]
cmp dword [ebp - 0x24], esi
jne 0x10d0086
mov edi, 0x7d86fbd4
jmp 0x10d00ad
mov edx, dword [ebp - 0x2c]
cmp eax, edx
je 0x10d01bb
mov edx, dword [eax]
cmp edx, dword [ebp - 0x34]
ja 0x10d01bb
mov edx, dword [eax + 4]
lea esi, [edx - 8]
shr esi, 1
mov edx, dword [ebp - 0x24]
cmp edx, esi
jne 0x10d00ec
add eax, dword [eax + 4]
cmp eax, dword [ebp - 0x2c]
je 0x10d01bb
mov edx, dword [ebp - 0x34]
cmp dword [eax], edx
ja 0x10d01bb
and dword [ebp - 0x24], 0
jmp 0x10d00c0
mov esi, dword [ebp - 0x34]
cmp dword [eax], esi
jne 0x10d0107
movzx edx, word [eax + edx*2 + 8]
and edx, 0xfff
cmp edx, dword [ebp - 0x30]
jae 0x10d01bb
mov edx, dword [ebp - 0x24]
inc dword [ebp - 0x24]
test word [eax + edx*2 + 8], 0xf000
je 0x10d00aa
movzx esi, word [eax + edx*2 + 8]
mov edx, dword [eax]
and esi, 0xfff
lea edx, [esi + edx + 0x1000000]
xor esi, esi
mov dword [ebp - 4], edx
sub dword [ebp - 4], ecx
mov dword [ebp - 0xc], edx
mov dword [ebp - 8], esi
je 0x10d0171
movzx esi, byte [esi + ecx]
sub esi, edi
add dword [ebp - 0x20], esi
add esi, dword [ebp - 0x1c]
imul esi, esi, 0x8279042c
ror esi, 0xd
mov edx, esi
imul edx, edx, 0xf04d
rol edx, 0xc
ror esi, 0xc
xor edx, esi
mov esi, dword [ebp - 8]
add dword [ebp - 0x20], edx
inc esi
cmp esi, dword [ebp - 4]
mov dword [ebp - 0x1c], edx
mov dword [ebp - 8], esi
jb 0x10d013a
mov ecx, dword [ebp - 0xc]
mov ecx, dword [ecx]
sub ecx, dword [ebp - 0x14]
mov dword [ebp - 8], ecx
xor edx, edx
movzx ecx, byte [ebp + edx - 8]
sub ecx, edi
add dword [ebp - 0x20], ecx
add ecx, dword [ebp - 0x1c]
imul ecx, ecx, 0x8279042c
ror ecx, 0xd
mov esi, ecx
imul esi, esi, 0xf04d
rol esi, 0xc
ror ecx, 0xc
xor esi, ecx
add dword [ebp - 0x20], esi
mov dword [ebp - 0x1c], esi
inc edx
cmp edx, 4
jb 0x10d017e
mov ecx, dword [ebp - 0xc]
add ecx, 4
jmp 0x10d00aa
xor esi, esi
mov eax, dword [ebp - 0x18]
sub eax, ecx
mov dword [ebp - 0x18], eax
je 0x10d01f8
movzx eax, byte [ecx + esi]
sub eax, edi
add dword [ebp - 0x20], eax
add eax, dword [ebp - 0x1c]
imul eax, eax, 0x8279042c
ror eax, 0xd
mov edx, eax
imul edx, edx, 0xf04d
rol edx, 0xc
ror eax, 0xc
xor edx, eax
add dword [ebp - 0x20], edx
inc esi
cmp esi, dword [ebp - 0x18]
mov dword [ebp - 0x1c], edx
jb 0x10d01c7
add dword [ebx + 8], 0x10
mov ecx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 4]
and eax, 0xfffffff
cmp ecx, dword [eax + 0x1000000]
jne 0x10d0221
mov ecx, dword [ebp - 0x1c]
cmp ecx, dword [eax + 0x1000004]
je 0x10d02cf
call fcn.012a18fc
mov edx, 0xffff
lea ecx, [ebx + 0xc]
and ecx, 0xfffffffc
lea esi, [ecx + 0xfff]
and eax, 0xfffff000
mov dword [ebp - 0x18], eax
and esi, 0xfffff000
mov dword [ebx + 8], 0x103a6aa
xor eax, eax
mov edi, dword [0x1427a7c]
imul edi, edi, 0x343fd
add edi, 0x269ec3
mov dword [0x1427a7c], edi
shr edi, 0x10
shl eax, 0x10
or eax, edi
shr edx, 0x10
jne 0x10d024e
xor edx, edx
mov edi, 0xffff
div edi
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x40], eax
inc edx
mov dword [ebp - 0x38], edx
mov dword [ebp - 0x18], 0
jmp 0x10d0297
mov eax, dword [ebp - 0x18]
mov dword [ecx], eax
add ecx, 4
cmp ecx, esi
jb 0x10d028f
mov eax, dword [ebp - 0x10]
mov dword [ebx + 8], 0x103a6aa
mov ecx, dword [ebp - 0x38]
mov eax, dword [eax]
mov edx, ecx
mov dword [ebp - 0x4c], ecx
shr eax, 1
and eax, 0xfffffff
shl edx, 0x10
add eax, 0x1000000
xor edx, dword [eax]
xor edx, dword [0x1447ca8]
xor edx, ecx
and dword [ebp - 0x38], 0
mov dword [ebp - 0x44], edx
mov eax, 0xc040d7a2
mov ebx, dword [ebp - 0x3c]
mov edi, dword [ebp - 0x4c]
mov ecx, dword [ebp - 0x38]
mov edx, dword [ebp - 0x40]
mov esi, dword [ebp - 0x44]
mov eax, dword [ebp - 0x48]
mov esp, ebp
pop ebp
popfd
ret