Function at 0x1001e6f0
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 0x100cdc45
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x6c
push esi
mov eax, dword [0x100f7040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov al, byte [0x100fb017]
mov byte [ebp - 0x12], al
cmp al, 0x41
je 0x1001e893
mov ecx, 0xd78dd4
mov byte [ebp - 0x11], 0
call fcn.1001e520
mov ecx, eax
call fcn.10002690
cmp ecx, eax
jne 0x1001e769
mov ecx, 0xd78dd4
call fcn.1001e520
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp esi, eax
je 0x1001e76d
mov byte [ebp - 0x11], 1
call fcn.100026a0
cmp dword [0x100fb05c], eax
mov edx, 1
movzx ecx, byte [ebp - 0x11]
cmovne ecx, edx
mov dword [ebp - 0x18], ecx
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov ecx, eax
call fcn.10018b00
mov ecx, 0xd78dd4
mov esi, eax
call fcn.1001e520
cmp esi, eax
jne 0x1001e7cc
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov ecx, eax
call fcn.10018b00
mov ecx, dword [0x100faff8]
mov esi, eax
call fcn.10018b00
cmp eax, esi
jne 0x1001e7cc
cmp byte [ebp - 0x18], 0
je 0x1001e893
movaps xmm0, xmmword [0x100ef370]
xor ecx, ecx
movzx eax, byte [ebp - 0x12]
movups xmmword [ebp - 0x5c], xmm0
push eax
movaps xmm0, xmmword [0x100eece0]
movups xmmword [ebp - 0x4c], xmm0
mov dword [ebp - 0x3c], 0x4b56504a
mov word [ebp - 0x38], 0x48
nop word [eax + eax]
mov al, byte [ebp + ecx - 0x5b]
xor al, byte [ebp - 0x5c]
mov byte [ebp + ecx - 0x5b], al
inc ecx
cmp ecx, 0x24
jb 0x1001e800
sub esp, 0x1c
mov byte [ebp - 0x37], 0
mov edx, esp
lea ecx, [ebp - 0x5b]
xorps xmm0, xmm0
lea esi, [ecx + 1]
mov dword [edx], 0
movups xmmword [edx + 4], xmm0
mov dword [edx + 0x14], 0
mov dword [edx + 0x18], 0
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1001e840
sub ecx, esi
lea eax, [ebp - 0x5b]
push ecx
push eax
mov ecx, edx
call fcn.10003370
lea eax, [ebp - 0x34]
push eax
call fcn.1000d7c0
add esp, 0x24
mov ecx, eax
mov dword [ebp - 4], 0
call fcn.10023a20
lea ecx, [ebp - 0x34]
mov dword [ebp - 4], 0xffffffff
call fcn.10002f50
mov eax, dword [ebp - 0x34]
push 8
push eax
mov dword [ebp - 0x34], 0
call fcn.10089370
add esp, 8
call fcn.1002a7b0
test eax, eax
je 0x1001e932
movaps xmm0, xmmword [0x100eeee0]
xor ecx, ecx
movups xmmword [ebp - 0x2c], xmm0
mov dword [ebp - 0x1c], 0x4e4b4f
mov al, byte [ebp + ecx - 0x2b]
xor al, byte [ebp - 0x2c]
mov byte [ebp + ecx - 0x2b], al
inc ecx
cmp ecx, 0x12
jb 0x1001e8b4
xorps xmm0, xmm0
mov byte [ebp - 0x19], 0
lea ecx, [ebp - 0x2b]
mov dword [ebp - 0x78], 0
movups xmmword [ebp - 0x74], xmm0
mov dword [ebp - 0x64], 0
lea edx, [ecx + 1]
mov dword [ebp - 0x60], 0
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1001e8f0
sub ecx, edx
lea eax, [ebp - 0x2b]
push ecx
push eax
lea ecx, [ebp - 0x78]
call fcn.10003370
lea ecx, [ebp - 0x78]
mov dword [ebp - 4], 1
call fcn.10023a20
lea ecx, [ebp - 0x78]
call fcn.10002f50
mov eax, dword [ebp - 0x78]
push 8
push eax
mov dword [ebp - 0x78], 0
call fcn.10089370
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret