Function at 0x10093505
Capabilities:
Encode data using xor

Disassembly:
pushfd
push ebp
mov ebp, esp
sub esp, 0x50
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x44], ecx
mov dword [ebp - 0x50], edx
mov dword [ebp - 0x48], ebx
mov dword [ebp - 0x3c], esi
lea esi, [ebp + 4]
mov dword [ebp - 0x40], edi
mov ebx, dword [esi + 4]
sub esi, 4
push ebx
push ebx
mov dword [ebp - 0xc], esi
mov dword [ebp - 0x14], ebx
mov eax, 0x6e34e4ad
mov eax, 0xfffffff
mov edi, dword [ebx + 4]
mov edx, dword [0x1001256c]
mov ebx, dword [ebx + 0xc]
and dword [ebp - 0x24], 0
and dword [ebp - 0x20], 0
and ebx, eax
pop ecx
pop ecx
and edi, eax
mov eax, 0x10000000
mov ecx, eax
add ebx, eax
sub ecx, edx
mov dword [ebp - 0x18], ecx
jne 0x100935d1
and dword [ebp - 4], 0
test edi, edi
jbe 0x1009381d
mov esi, 0x81204545
mov ecx, 0x7fffffff
mov edx, esi
mov eax, dword [ebp - 4]
movzx eax, byte [eax + ebx]
sub eax, 0x7edfbabb
add dword [ebp - 0x24], eax
add eax, dword [ebp - 0x20]
mul edx
add eax, edx
mov edx, eax
imul edx, edx, 0xd4ad
rol edx, 5
ror eax, 5
xor edx, eax
mov eax, edx
mov edx, esi
mul edx
lea edx, [eax + edx*2 - 0x7fffffff]
sar eax, 0x1f
and eax, ecx
sub edx, eax
mov eax, edx
sar eax, 0x1f
and eax, ecx
add eax, edx
add dword [ebp - 0x24], eax
inc dword [ebp - 4]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 4], edi
jb 0x10093579
jmp 0x1009381a
mov edx, ebx
sub edx, eax
mov esi, edx
lea ecx, [ebx + edi]
and esi, 0xfffff000
mov dword [ebp - 4], esi
add edi, edx
mov esi, edx
mov edx, edi
sub esi, dword [ebp - 4]
and edx, 0xfffff000
mov dword [ebp - 0x1c], ecx
sub edi, edx
mov ecx, dword [0x1000003c]
mov dword [ebp - 0x34], edi
mov edi, dword [ecx + 0x100000a0]
add edi, eax
mov eax, dword [ecx + 0x100000a4]
add eax, edi
mov dword [ebp - 0x38], edx
mov dword [ebp - 0x30], eax
jmp 0x10093622
mov ecx, dword [ebp - 4]
cmp dword [edi], ecx
jae 0x10093626
add edi, dword [edi + 4]
cmp edi, eax
jne 0x10093618
and dword [ebp - 0x28], 0
cmp edi, eax
je 0x10093667
mov ecx, dword [ebp - 4]
cmp dword [edi], ecx
jne 0x10093667
mov ecx, dword [edi + 4]
sub ecx, 8
shr ecx, 1
mov dword [ebp - 0x10], ecx
je 0x10093667
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 0x10093667
inc dword [ebp - 0x28]
mov ecx, dword [ebp - 0x10]
add dword [ebp - 4], 2
cmp dword [ebp - 0x28], ecx
jne 0x10093648
mov esi, 0x81204545
mov ecx, 0x7fffffff
jmp 0x10093679
mov edx, dword [ebp - 0x38]
mov eax, dword [ebp - 0x30]
cmp edi, eax
je 0x100937c0
cmp dword [edi], edx
ja 0x100937c0
mov eax, dword [edi + 4]
lea edx, [eax - 8]
mov eax, dword [ebp - 0x28]
shr edx, 1
cmp eax, edx
jne 0x100936b5
add edi, dword [edi + 4]
cmp edi, dword [ebp - 0x30]
je 0x100937c0
mov eax, dword [ebp - 0x38]
cmp dword [edi], eax
ja 0x100937c0
and dword [ebp - 0x28], 0
jmp 0x10093689
mov edx, dword [ebp - 0x38]
cmp dword [edi], edx
jne 0x100936cf
movzx eax, word [edi + eax*2 + 8]
and eax, 0xfff
cmp eax, dword [ebp - 0x34]
jae 0x100937c0
mov eax, dword [ebp - 0x28]
mov edx, 0xf000
inc dword [ebp - 0x28]
test word [edi + eax*2 + 8], dx
je 0x10093673
mov edx, dword [edi]
movzx eax, word [edi + eax*2 + 8]
and dword [ebp - 4], 0
and eax, 0xfff
lea eax, [eax + edx + 0x10000000]
mov dword [ebp - 8], eax
sub dword [ebp - 8], ebx
mov dword [ebp - 0x10], eax
je 0x1009375c
mov edx, esi
mov eax, dword [ebp - 4]
movzx eax, byte [eax + ebx]
sub eax, 0x7edfbabb
add dword [ebp - 0x24], eax
add eax, dword [ebp - 0x20]
mul edx
add eax, edx
mov edx, eax
imul edx, edx, 0xd4ad
rol edx, 5
ror eax, 5
xor edx, eax
mov eax, edx
mov edx, esi
mul edx
lea edx, [eax + edx*2 - 0x7fffffff]
sar eax, 0x1f
and eax, ecx
sub edx, eax
mov eax, edx
sar eax, 0x1f
and eax, ecx
add eax, edx
add dword [ebp - 0x24], eax
inc dword [ebp - 4]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 4]
cmp eax, dword [ebp - 8]
jb 0x10093703
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
sub eax, dword [ebp - 0x18]
xor ebx, ebx
mov dword [ebp - 8], eax
movzx eax, byte [ebp + ebx - 8]
mov edx, esi
sub eax, 0x7edfbabb
add dword [ebp - 0x24], eax
add eax, dword [ebp - 0x20]
mul edx
add eax, edx
mov edx, eax
imul edx, edx, 0xd4ad
rol edx, 5
ror eax, 5
xor edx, eax
mov eax, edx
mov edx, esi
mul edx
lea edx, [eax + edx*2 - 0x7fffffff]
sar eax, 0x1f
and eax, ecx
sub edx, eax
mov eax, edx
sar eax, 0x1f
and eax, ecx
add eax, edx
add dword [ebp - 0x24], eax
inc ebx
cmp ebx, 4
mov dword [ebp - 0x20], eax
jb 0x10093766
mov ebx, dword [ebp - 0x10]
add ebx, 4
jmp 0x10093673
mov eax, dword [ebp - 0x1c]
xor edi, edi
sub eax, ebx
mov dword [ebp - 0x1c], eax
je 0x1009381a
movzx eax, byte [edi + ebx]
sub eax, 0x7edfbabb
mov edx, esi
add dword [ebp - 0x24], eax
add eax, dword [ebp - 0x20]
mul edx
add eax, edx
mov edx, eax
imul edx, edx, 0xd4ad
rol edx, 5
ror eax, 5
xor edx, eax
mov eax, edx
mov edx, esi
mul edx
lea edx, [eax + edx*2 - 0x7fffffff]
sar eax, 0x1f
and eax, ecx
sub edx, eax
mov eax, edx
sar eax, 0x1f
and eax, ecx
add eax, edx
add dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
inc edi
cmp edi, dword [ebp - 0x1c]
jb 0x100937cc
mov esi, dword [ebp - 0xc]
add dword [esi + 8], 0x10
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 8]
and ecx, 0xfffffff
mov eax, dword [ecx + 0x10000000]
mov ecx, dword [ecx + 0x10000004]
xor eax, dword [ebp - 0x24]
xor ecx, dword [ebp - 0x20]
or eax, ecx
je 0x100938f5
call fcn.100a45a3
lea ecx, [esi + 0xc]
and ecx, 0xfffffffc
mov edx, 0xfffff000
and eax, edx
lea edi, [ecx + 0xfff]
mov dword [ebp - 0x1c], eax
and edi, edx
mov edx, 0xffff
xor eax, eax
mov dword [esi + 8], 0x100f1b6e
mov ebx, dword [0x1012ee38]
imul ebx, ebx, 0x343fd
add ebx, 0x269ec3
mov dword [0x1012ee38], ebx
shr ebx, 0x10
shl eax, 0x10
shr edx, 0x10
or eax, ebx
test edx, edx
jne 0x10093872
mov ebx, 0xffff
div ebx
mov eax, dword [ebp - 0x1c]
inc edx
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x44], edx
cmp ecx, edi
mov dword [ebp - 0x1c], 0
mov eax, ecx
jae 0x100938c3
mov ecx, dword [ebp - 0x1c]
mov dword [eax], ecx
add eax, 4
cmp eax, edi
jb 0x100938b7
mov eax, dword [ebp - 0x14]
mov dword [esi + 8], 0x100f1b6e
mov eax, dword [eax]
and eax, 0xfffffff
mov ecx, dword [ebp - 0x44]
mov edx, ecx
mov dword [ebp - 0x40], ecx
shl edx, 0x10
add eax, 0x10000000
xor edx, dword [eax]
xor edx, dword [0x10120a88]
xor edx, ecx
and dword [ebp - 0x44], 0
mov dword [ebp - 0x3c], edx
mov eax, 0x8fb04106
mov edi, dword [ebp - 0x40]
mov edx, dword [ebp - 0x50]
mov esi, dword [ebp - 0x3c]
mov eax, dword [ebp - 0x4c]
mov ebx, dword [ebp - 0x48]
mov ecx, dword [ebp - 0x44]
mov esp, ebp
pop ebp
popfd
ret