Function at 0x100e2341
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
mov dword [ebp - 0x40], edi
lea edi, [ebp + 4]
mov ebx, dword [edi + 4]
push ebx
push ebx
mov dword [ebp - 0xc], ebx
sub edi, 4
mov eax, 0x76b8c861
mov eax, dword [ebx]
mov esi, dword [0x1001256c]
mov edx, 0xfffffff
and dword [ebp - 0x24], 0
and dword [ebp - 0x20], 0
pop ecx
pop ecx
mov ecx, dword [ebx + 0xc]
and ecx, edx
and eax, edx
mov edx, 0x10000000
add ecx, 0x10000000
sub edx, esi
mov dword [ebp - 0x14], edx
jne 0x100e23df
and dword [ebp - 4], 0
test eax, eax
jbe 0x100e25c9
mov edx, dword [ebp - 4]
movzx edx, byte [edx + ecx]
sub edx, 0x405a9d1
add dword [ebp - 0x24], edx
add edx, dword [ebp - 0x20]
mov esi, edx
imul esi, esi, 0xd9c7
rol esi, 0xf
ror edx, 0xf
xor esi, edx
add dword [ebp - 0x24], esi
inc dword [ebp - 4]
mov dword [ebp - 0x20], esi
cmp dword [ebp - 4], eax
jb 0x100e23a9
jmp 0x100e25c9
mov esi, ecx
sub esi, 0x10000000
lea edx, [ecx + eax]
mov ebx, esi
and ebx, 0xfffff000
mov dword [ebp - 4], ebx
add eax, esi
mov ebx, esi
sub ebx, dword [ebp - 4]
mov esi, eax
and esi, 0xfffff000
mov dword [ebp - 0x1c], edx
sub eax, esi
mov edx, dword [0x1000003c]
mov dword [ebp - 0x34], eax
mov eax, dword [edx + 0x100000a0]
add eax, 0x10000000
mov edx, dword [edx + 0x100000a4]
add edx, eax
mov dword [ebp - 8], ebx
mov dword [ebp - 0x38], esi
jmp 0x100e2437
mov esi, dword [eax]
cmp esi, dword [ebp - 4]
jae 0x100e243b
add eax, dword [eax + 4]
cmp eax, edx
jne 0x100e242d
and dword [ebp - 0x28], 0
cmp eax, edx
je 0x100e2593
mov esi, dword [ebp - 4]
cmp dword [eax], esi
jne 0x100e2485
mov esi, dword [eax + 4]
sub esi, 8
shr esi, 1
mov dword [ebp - 0x10], esi
je 0x100e2485
lea esi, [eax + 8]
mov dword [ebp - 4], esi
jmp 0x100e2466
mov ebx, dword [ebp - 8]
mov esi, dword [ebp - 4]
movzx esi, word [esi]
and esi, 0xfff
cmp esi, ebx
jae 0x100e2485
inc dword [ebp - 0x28]
mov esi, dword [ebp - 0x28]
add dword [ebp - 4], 2
cmp esi, dword [ebp - 0x10]
jne 0x100e2463
cmp eax, edx
je 0x100e2593
mov esi, dword [eax]
cmp esi, dword [ebp - 0x38]
ja 0x100e2593
mov esi, dword [eax + 4]
lea ebx, [esi - 8]
shr ebx, 1
mov esi, dword [ebp - 0x28]
cmp esi, ebx
jne 0x100e24c3
add eax, dword [eax + 4]
cmp eax, edx
je 0x100e2593
mov esi, dword [ebp - 0x38]
cmp dword [eax], esi
ja 0x100e2593
and dword [ebp - 0x28], 0
jmp 0x100e2498
mov ebx, dword [ebp - 0x38]
cmp dword [eax], ebx
jne 0x100e24de
movzx esi, word [eax + esi*2 + 8]
and esi, 0xfff
cmp esi, dword [ebp - 0x34]
jae 0x100e2593
mov esi, dword [ebp - 0x28]
mov ebx, 0xf000
inc dword [ebp - 0x28]
test word [eax + esi*2 + 8], bx
je 0x100e2485
movzx esi, word [eax + esi*2 + 8]
mov ebx, dword [eax]
and dword [ebp - 4], 0
and esi, 0xfff
lea ebx, [esi + ebx + 0x10000000]
mov dword [ebp - 8], ebx
sub dword [ebp - 8], ecx
mov dword [ebp - 0x10], ebx
je 0x100e254c
mov esi, dword [ebp - 4]
movzx esi, byte [esi + ecx]
sub esi, 0x405a9d1
add dword [ebp - 0x24], esi
add esi, dword [ebp - 0x20]
mov ebx, esi
imul ebx, ebx, 0xd9c7
rol ebx, 0xf
ror esi, 0xf
xor ebx, esi
mov esi, ebx
add dword [ebp - 0x24], esi
inc dword [ebp - 4]
mov esi, dword [ebp - 4]
mov dword [ebp - 0x20], ebx
cmp esi, dword [ebp - 8]
jb 0x100e2513
mov ebx, dword [ebp - 0x10]
mov ecx, dword [ebx]
sub ecx, dword [ebp - 0x14]
and dword [ebp - 4], 0
mov dword [ebp - 0x18], ecx
mov ecx, dword [ebp - 4]
movzx ecx, byte [ebp + ecx - 0x18]
sub ecx, 0x405a9d1
add dword [ebp - 0x24], ecx
add ecx, dword [ebp - 0x20]
mov esi, ecx
imul esi, esi, 0xd9c7
rol esi, 0xf
ror ecx, 0xf
xor esi, ecx
add dword [ebp - 0x24], esi
inc dword [ebp - 4]
cmp dword [ebp - 4], 4
mov dword [ebp - 0x20], esi
jb 0x100e2558
lea ecx, [ebx + 4]
jmp 0x100e2485
xor esi, esi
mov ebx, dword [ebp - 0x1c]
sub ebx, ecx
je 0x100e25c6
movzx eax, byte [esi + ecx]
sub eax, 0x405a9d1
add dword [ebp - 0x24], eax
add eax, dword [ebp - 0x20]
mov edx, eax
imul edx, edx, 0xd9c7
rol edx, 0xf
ror eax, 0xf
xor edx, eax
add dword [ebp - 0x24], edx
mov dword [ebp - 0x20], edx
inc esi
cmp esi, ebx
jb 0x100e259c
mov ebx, dword [ebp - 0xc]
add dword [edi + 8], 0x10
mov ecx, dword [ebx + 4]
and ecx, 0xfffffff
mov eax, dword [ecx + 0x10000000]
xor eax, dword [ebp - 0x24]
mov ecx, dword [ecx + 0x10000004]
xor ecx, dword [ebp - 0x20]
or eax, ecx
je 0x100e269e
call fcn.1009a4be
mov edx, 0xfffff000
and eax, edx
lea ecx, [edi + 0xc]
and ecx, 0xfffffffc
mov dword [ebp - 0x1c], eax
lea eax, [ecx + 0xfff]
and eax, edx
mov edx, 0xffff
mov dword [ebp - 0xc], eax
xor eax, eax
mov dword [edi + 8], 0x100f1b6e
mov esi, dword [0x1012ee38]
imul esi, esi, 0x343fd
add esi, 0x269ec3
mov dword [0x1012ee38], esi
shr esi, 0x10
shl eax, 0x10
shr edx, 0x10
or eax, esi
test edx, edx
jne 0x100e261e
mov esi, 0xffff
div esi
inc edx
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x44], edx
mov dword [ebp - 0x1c], 0
jmp 0x100e2667
mov eax, dword [ebp - 0x1c]
mov dword [ecx], eax
add ecx, 4
cmp ecx, dword [ebp - 0xc]
jb 0x100e265f
mov dword [edi + 8], 0x100f1b6e
mov eax, dword [ebp - 0x44]
mov ebx, dword [ebx + 8]
mov ecx, eax
mov dword [ebp - 0x40], eax
and ebx, 0xfffffff
shl ecx, 0x10
add ebx, 0x10000000
xor ecx, dword [ebx]
xor ecx, dword [0x1012ee78]
xor ecx, eax
and dword [ebp - 0x44], 0
mov dword [ebp - 0x3c], ecx
mov eax, 0x37371c19
mov ecx, dword [ebp - 0x44]
mov esi, dword [ebp - 0x3c]
mov edi, dword [ebp - 0x40]
mov ebx, dword [ebp - 0x48]
mov edx, dword [ebp - 0x50]
mov eax, dword [ebp - 0x4c]
mov esp, ebp
pop ebp
popfd
ret