Function at 0x100e8a40
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1018200d
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x101dadb0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x40], ebx
lea eax, [ebx + 0x20]
mov byte [ebx + 0x9c], 1
lea ecx, [ebx + 0x84]
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x3c], ecx
cmp eax, ecx
je 0x100e8adf
nop word [eax + eax]
mov edi, dword [eax]
cmp dword [edi], 0
je 0x100e8ad5
mov esi, dword [ebx + 0xe0]
mov ebx, dword [ebx + 0xe4]
cmp esi, ebx
je 0x100e8ad2
mov eax, dword [esi]
cmp eax, dword [edi + 0x10]
jne 0x100e8ac5
mov eax, dword [edi]
mov byte [ebp - 0x38], 0
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x18]
movsx eax, byte [ebp - 0x38]
push eax
call dword [0x101ba6d4]
add esi, 4
cmp esi, ebx
jne 0x100e8aa7
mov eax, dword [ebp - 0x44]
mov ecx, dword [ebp - 0x3c]
mov ebx, dword [ebp - 0x40]
add eax, 4
mov dword [ebp - 0x44], eax
cmp eax, ecx
jne 0x100e8a90
lea ecx, [ebx + 0xdc]
call fcn.100448c0
mov eax, dword [ebx + 0xe0]
mov ecx, ebx
mov dword [ebx + 0xe4], eax
push 1
mov dword [ebx + 0xec], 0x10001
call fcn.100ea1e0
movzx eax, word [ebx + 0xee]
lea esi, [ebp - 0x34]
push eax
movzx eax, word [ebx + 0xec]
mov cl, 0x32
push eax
mov dword [ebp - 0x18], 0x1d561732
xor eax, eax
mov word [ebp - 0x14], 0x5617
mov byte [ebp - 0x12], 0
xor byte [ebp + eax - 0x17], cl
inc eax
cmp eax, 5
jae 0x100e8b40
mov cl, byte [ebp - 0x18]
jmp 0x100e8b31
sub esp, 0x1c
mov byte [ebp - 0x12], 0
lea eax, [ebp - 0x17]
mov ecx, esp
push eax
call fcn.10047780
push esi
call fcn.1004a910
mov esi, dword [ebx + 0x11c]
add esp, 0x28
mov dword [ebp - 4], 0
test esi, esi
je 0x100e8b85
push 4
push esi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x100e8b85
lea eax, [ebp - 0x34]
mov ecx, esi
push eax
call dword [0x101ba78c]
lea ecx, [ebp - 0x34]
mov dword [ebp - 4], 0xffffffff
call fcn.100448c0
mov eax, dword [ebp - 0x1c]
cmp eax, 0x10
jb 0x100e8ba9
inc eax
push eax
push dword [ebp - 0x30]
call fcn.10049010
add esp, 8
mov eax, dword [ebp - 0x34]
push 8
push eax
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0xf
mov byte [ebp - 0x30], 0
mov dword [ebp - 0x34], 0
call fcn.10049010
movaps xmm0, xmmword [0x101c3280]
add esp, 8
movups xmmword [ebp - 0x34], xmm0
mov dword [ebp - 0x24], 0x7b38767d
xor ecx, ecx
mov dword [ebp - 0x20], 0x6a797d74
mov dword [ebp - 0x1c], 0x367c7d
mov al, byte [ebp - 0x34]
xor byte [ebp + ecx - 0x33], al
inc ecx
cmp ecx, 0x1a
jb 0x100e8bf2
lea ebx, [ebp - 0x33]
mov byte [ebp - 0x19], 0
lea ecx, [ebx + 1]
nop dword [eax]
mov al, byte [ebx]
inc ebx
test al, al
jne 0x100e8c10
sub ebx, ecx
lea esi, [ebx + 0x21]
push esi
call fcn.10121110
push esi
mov edi, eax
push 0
push edi
mov dword [ebp - 0x3c], edi
call fcn.101234b0
push ebx
lea eax, [ebp - 0x33]
push eax
lea esi, [edi + 0x20]
push esi
call fcn.10122d50
add esp, 0x1c
mov dword [edi + 0x14], ebx
mov dword [edi + 4], esi
mov dword [edi + 0x18], 0x1f
mov ecx, dword ds:[0xf3690c]
push 0
push 0xffff6f00
push dword [ebp - 0x3c]
mov eax, dword [0x101ba6ac]
call eax
push edi
call fcn.101204d0
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.101204c0
mov esp, ebp
pop ebp
ret