Function at 0x10906e8
Capabilities:
Encode data using xor

Disassembly:
pushfd
push ebp
mov ebp, esp
sub esp, 0x5c
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x54], ecx
mov dword [ebp - 0x5c], edx
mov dword [ebp - 0x48], ebx
mov dword [ebp - 0x50], esi
mov dword [ebp - 0x4c], edi
lea esi, [ebp + 4]
mov ebx, dword [esi + 4]
push ebx
sub esi, 4
push ebx
mov dword [ebp - 0xc], esi
mov dword [ebp - 0x14], ebx
mov eax, 0x56b73fe8
mov edx, dword [0x102c94c]
mov eax, 0xfffffff
mov edi, dword [ebx + 0xc]
mov ebx, dword [ebx]
and dword [ebp - 0x28], 0
and dword [ebp - 0x24], 0
and ebx, eax
pop ecx
and edi, eax
pop ecx
mov eax, 0x1000000
add ebx, eax
mov ecx, eax
sub ecx, edx
mov dword [ebp - 0x18], ecx
jne 0x10907b3
and dword [ebp - 4], 0
test edi, edi
jbe 0x1090a0d
mov ecx, 0x7fffffff
mov esi, 0x4c8b1f5c
mov edx, esi
mov eax, dword [ebp - 4]
movzx eax, byte [eax + ebx]
add eax, esi
add dword [ebp - 0x28], eax
add eax, dword [ebp - 0x24]
mul edx
lea edx, [eax + edx*2 - 0x7fffffff]
sar eax, 0x1f
and eax, ecx
sub edx, eax
mov dword [ebp - 0x1c], edx
sar edx, 0x1f
and edx, ecx
add edx, dword [ebp - 0x1c]
mov eax, edx
imul eax, eax, 0x4282
rol eax, 0xc
ror edx, 0xc
xor eax, edx
imul eax, eax, 0x4c8b1f5c
ror eax, 2
add dword [ebp - 0x28], eax
inc dword [ebp - 4]
mov dword [ebp - 0x24], eax
cmp dword [ebp - 4], edi
jb 0x109075b
jmp 0x1090a0a
lea ecx, [ebx + edi]
mov edx, ebx
sub edx, eax
mov esi, edx
and esi, 0xfffff000
mov dword [ebp - 4], esi
add edi, edx
mov esi, edx
sub esi, dword [ebp - 4]
mov dword [ebp - 0x1c], ecx
mov ecx, dword [0x100003c]
mov edx, edi
and edx, 0xfffff000
sub edi, edx
mov dword [ebp - 0x40], edi
mov edi, dword [ecx + 0x10000a0]
add edi, eax
mov eax, dword [ecx + 0x10000a4]
add eax, edi
mov dword [ebp - 0x44], edx
mov dword [ebp - 0x3c], eax
jmp 0x1090804
mov ecx, dword [ebp - 4]
cmp dword [edi], ecx
jae 0x1090808
add edi, dword [edi + 4]
cmp edi, eax
jne 0x10907fa
and dword [ebp - 0x34], 0
cmp edi, eax
je 0x1090849
mov ecx, dword [ebp - 4]
cmp dword [edi], ecx
jne 0x1090849
mov ecx, dword [edi + 4]
sub ecx, 8
shr ecx, 1
mov dword [ebp - 0x10], ecx
je 0x1090849
lea ecx, [edi + 8]
mov dword [ebp - 4], ecx
mov ecx, dword [ebp - 4]
movzx ecx, word [ecx]
and ecx, 0xfff
cmp ecx, esi
jae 0x1090849
inc dword [ebp - 0x34]
mov ecx, dword [ebp - 0x10]
add dword [ebp - 4], 2
cmp dword [ebp - 0x34], ecx
jne 0x109082a
mov esi, 0x4c8b1f5c
mov ecx, 0x7fffffff
jmp 0x109085b
mov edx, dword [ebp - 0x44]
mov eax, dword [ebp - 0x3c]
cmp edi, eax
je 0x10909a8
cmp dword [edi], edx
ja 0x10909a8
mov eax, dword [edi + 4]
lea edx, [eax - 8]
mov eax, dword [ebp - 0x34]
shr edx, 1
cmp eax, edx
jne 0x1090897
add edi, dword [edi + 4]
cmp edi, dword [ebp - 0x3c]
je 0x10909a8
mov eax, dword [ebp - 0x44]
cmp dword [edi], eax
ja 0x10909a8
and dword [ebp - 0x34], 0
jmp 0x109086b
mov edx, dword [ebp - 0x44]
cmp dword [edi], edx
jne 0x10908b1
movzx eax, word [edi + eax*2 + 8]
and eax, 0xfff
cmp eax, dword [ebp - 0x40]
jae 0x10909a8
mov eax, dword [ebp - 0x34]
inc dword [ebp - 0x34]
mov edx, 0xf000
test word [edi + eax*2 + 8], dx
je 0x1090855
mov edx, dword [edi]
movzx eax, word [edi + eax*2 + 8]
and dword [ebp - 4], 0
and eax, 0xfff
lea eax, [eax + edx + 0x1000000]
mov dword [ebp - 8], eax
sub dword [ebp - 8], ebx
mov dword [ebp - 0x10], eax
je 0x109093e
mov eax, dword [ebp - 4]
mov edx, esi
movzx eax, byte [eax + ebx]
add eax, esi
add dword [ebp - 0x28], eax
add eax, dword [ebp - 0x24]
mul edx
lea edx, [eax + edx*2 - 0x7fffffff]
sar eax, 0x1f
and eax, ecx
sub edx, eax
mov dword [ebp - 0x2c], edx
sar edx, 0x1f
and edx, ecx
add edx, dword [ebp - 0x2c]
mov eax, edx
imul eax, eax, 0x4282
rol eax, 0xc
ror edx, 0xc
xor eax, edx
imul eax, eax, 0x4c8b1f5c
ror eax, 2
add dword [ebp - 0x28], eax
inc dword [ebp - 4]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 4]
cmp eax, dword [ebp - 8]
jb 0x10908e5
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
sub eax, dword [ebp - 0x18]
and dword [ebp - 4], 0
mov dword [ebp - 8], eax
mov edx, esi
mov eax, dword [ebp - 4]
movzx eax, byte [ebp + eax - 8]
add eax, esi
add dword [ebp - 0x28], eax
add eax, dword [ebp - 0x24]
mul edx
lea ebx, [eax + edx*2 - 0x7fffffff]
sar eax, 0x1f
and eax, ecx
sub ebx, eax
mov edx, ebx
sar edx, 0x1f
and edx, ecx
add edx, ebx
mov eax, edx
imul eax, eax, 0x4282
rol eax, 0xc
ror edx, 0xc
xor eax, edx
imul eax, eax, 0x4c8b1f5c
ror eax, 2
add dword [ebp - 0x28], eax
inc dword [ebp - 4]
cmp dword [ebp - 4], 4
mov dword [ebp - 0x24], eax
jb 0x109094a
mov ebx, dword [ebp - 0x10]
add ebx, 4
jmp 0x1090855
mov eax, dword [ebp - 0x1c]
and dword [ebp - 4], 0
sub eax, ebx
mov dword [ebp - 0x1c], eax
je 0x1090a0a
mov eax, dword [ebp - 4]
movzx eax, byte [eax + ebx]
add eax, esi
mov edx, esi
add dword [ebp - 0x28], eax
add eax, dword [ebp - 0x24]
mul edx
lea edi, [eax + edx*2 - 0x7fffffff]
sar eax, 0x1f
and eax, ecx
sub edi, eax
mov edx, edi
sar edx, 0x1f
and edx, ecx
add edx, edi
mov eax, edx
imul eax, eax, 0x4282
rol eax, 0xc
ror edx, 0xc
xor eax, edx
imul eax, eax, 0x4c8b1f5c
ror eax, 2
add dword [ebp - 0x28], eax
inc dword [ebp - 4]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 4]
cmp eax, dword [ebp - 0x1c]
jb 0x10909b6
mov esi, dword [ebp - 0xc]
add dword [esi + 8], 0x10
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 4]
and ecx, 0xfffffff
mov eax, dword [ecx + 0x1000000]
mov ecx, dword [ecx + 0x1000004]
xor eax, dword [ebp - 0x28]
xor ecx, dword [ebp - 0x24]
or eax, ecx
je 0x1090ae6
call fcn.010bfbea
lea ecx, [esi + 0xc]
mov edx, 0xfffff000
and ecx, 0xfffffffc
lea edi, [ecx + 0xfff]
and eax, edx
and edi, edx
mov edx, 0xffff
mov dword [ebp - 0x1c], eax
mov dword [esi + 8], 0x12e07d9
xor eax, eax
mov ebx, dword [0x138b4cc]
imul ebx, ebx, 0x343fd
add ebx, 0x269ec3
mov dword [0x138b4cc], ebx
shr ebx, 0x10
shl eax, 0x10
shr edx, 0x10
or eax, ebx
test edx, edx
jne 0x1090a62
mov ebx, 0xffff
div ebx
inc edx
cmp ecx, edi
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x54], edx
mov dword [ebp - 0x1c], 0
mov eax, ecx
jae 0x1090ab3
mov ecx, dword [ebp - 0x1c]
mov dword [eax], ecx
add eax, 4
cmp eax, edi
jb 0x1090aa7
mov eax, dword [ebp - 0x14]
mov dword [esi + 8], 0x12e07d9
mov eax, dword [eax + 8]
and eax, 0xfffffff
mov ecx, dword [ebp - 0x54]
mov edx, ecx
mov dword [ebp - 0x4c], ecx
shl edx, 0x10
add eax, 0x1000000
xor edx, dword [eax]
xor edx, dword [0x138ac9c]
xor edx, ecx
and dword [ebp - 0x54], 0
mov dword [ebp - 0x50], edx
mov eax, 0x9885ac40
mov esi, dword [ebp - 0x50]
mov edx, dword [ebp - 0x5c]
mov edi, dword [ebp - 0x4c]
mov eax, dword [ebp - 0x58]
mov ebx, dword [ebp - 0x48]
mov ecx, dword [ebp - 0x54]
mov esp, ebp
pop ebp
popfd
ret