Function at 0x100e87a0
Capabilities:
Encode data using xor

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1019c63d
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x50
mov eax, dword [0x101f6e00]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebx + 0x10]
test esi, esi
jne 0x100e87e9
xor edi, edi
jmp 0x100e8808
mov ecx, dword [0xf3e688]
mov eax, 0x10624dd3
mul esi
shr edx, 6
imul eax, edx, 0x3e8
push eax
call dword [0x101d64bc]
mov edi, eax
test edi, edi
je 0x100e8a19
movzx ecx, byte [edi + 4]
test esi, esi
je 0x100e8869
mov eax, 0x12e0be83
mul esi
mov eax, esi
sub eax, edx
shr eax, 1
add eax, edx
shr eax, 0x1d
cmp eax, 4
jae 0x100e8869
cmp ecx, 0x2c
ja 0x100e8869
mov ecx, dword [ecx*4 + 0xf3e690]
mov eax, 0x10624dd3
mul esi
shr edx, 6
imul eax, edx, 0x3e8
mov edx, esi
sub edx, eax
cmp esi, 0x3b9aca00
lea eax, [edx + 0x3e8]
cmovb eax, edx
push eax
call dword [0x101d64c0]
mov esi, eax
jmp 0x100e886b
xor esi, esi
test esi, esi
je 0x100e8a19
cmp dword [esi + 0x48], 0xf4240
mov ecx, dword [edi + 0x4c]
mov dword [ebp - 0x60], ecx
jbe 0x100e8888
mov ecx, dword [esi + 0x44]
mov dword [ebp - 0x60], ecx
mov eax, 0xcccccccd
movaps xmm0, xmmword [0x101deee0]
mul ecx
movups xmmword [ebp - 0x3c], xmm0
movaps xmm0, xmmword [0x101de160]
movups xmmword [ebp - 0x2c], xmm0
mov dword [ebp - 0x1c], 0x363a266c
mov eax, edx
mov byte [ebp - 0x18], 0
shr eax, 3
lea edx, [eax + eax*4]
add edx, edx
sub ecx, edx
xor edx, edx
push ecx
mov ecx, 0x64
div ecx
mov ecx, dword [ebp - 0x60]
mov eax, 0x10624dd3
push edx
mul ecx
mov dword [ebp - 0x60], 0x2710
shr edx, 6
mov eax, edx
xor edx, edx
div dword [ebp - 0x60]
mov eax, 0x6b5fca6b
push edx
mul ecx
shr edx, 0x16
xor ecx, ecx
push edx
mov al, byte [ebp + ecx - 0x3b]
xor al, byte [ebp - 0x3c]
mov byte [ebp + ecx - 0x3b], al
inc ecx
cmp ecx, 0x23
jb 0x100e88f0
sub esp, 0x1c
mov byte [ebp - 0x18], 0
mov edx, esp
lea ecx, [ebp - 0x3b]
xorps xmm0, xmm0
lea eax, [ecx + 1]
mov dword [ebp - 0x60], eax
mov dword [edx], 0
movups xmmword [edx + 4], xmm0
mov dword [edx + 0x14], 0
mov dword [edx + 0x18], 0
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100e8930
sub ecx, dword [ebp - 0x60]
lea eax, [ebp - 0x3b]
push ecx
push eax
mov ecx, edx
call fcn.100484d0
lea eax, [ebp - 0x58]
push eax
call fcn.10052ec0
add esp, 0x30
mov eax, dword [ebx + 8]
mov dword [ebp - 4], 0
mov dword [ebp - 0x5c], eax
test eax, eax
jne 0x100e8988
lea ecx, [eax + 0x78]
call fcn.100e7f60
mov dword [ebp - 0x60], eax
test eax, eax
je 0x100e897e
mov ecx, dword [ebp - 0x60]
call dword [0x101d6414]
mov dword [ebp - 0x5c], eax
cmp dword [ebp - 0x5c], 0
jne 0x100e8988
xor esi, esi
jmp 0x100e89f8
mov ecx, dword [ebp - 0x5c]
call dword [0x101d6428]
lea eax, [ebp - 0x5c]
push eax
call fcn.100e8760
add esp, 4
lea eax, [ebp - 0x58]
push eax
mov eax, dword [ebp - 0x5c]
add eax, 4
push eax
call fcn.100e8780
mov eax, dword [ebp - 0x5c]
xor ecx, ecx
add esp, 8
mov word [eax + 0x22], cx
mov eax, dword [ebp - 0x5c]
mov dword [eax + 0x24], ecx
mov eax, dword [ebp - 0x5c]
mov dword [eax + 0x28], ecx
mov eax, dword [ebp - 0x5c]
mov dword [eax + 0x4c], ecx
mov eax, dword [ebp - 0x5c]
mov dword [eax + 0x68], edi
mov eax, dword [ebp - 0x5c]
mov dword [eax + 0x6c], esi
mov eax, dword [ebp - 0x5c]
mov word [eax + 0x70], cx
mov cx, word [esi + 0x56]
mov eax, dword [ebp - 0x5c]
add cx, word [edi + 0x66]
mov word [eax + 0x74], cx
mov ecx, dword [ebp - 0x5c]
mov eax, dword [ebx + 0xc]
mov dword [ecx], eax
mov esi, dword [ebp - 0x5c]
lea ecx, [ebp - 0x58]
call fcn.100477d0
mov ecx, dword [ebp - 0x58]
push 8
push ecx
mov dword [ebp - 0x58], 0
call fcn.1013c8d0
add esp, 8
mov eax, esi
jmp 0x100e8a1b
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.1013c8c0
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 0x20