Function at 0x1000e7b0
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 0x100522c5
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x4c
push esi
mov eax, dword [0x10068040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov al, byte [0x1006ba46]
mov byte [ebp - 0x12], al
cmp al, 0x41
je 0x1000e94c
mov ecx, 0xd78dd4
mov byte [ebp - 0x11], 0
call fcn.1000e620
mov ecx, eax
call fcn.100015d0
cmp ecx, eax
jne 0x1000e829
mov ecx, 0xd78dd4
call fcn.1000e620
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp esi, eax
je 0x1000e82d
mov byte [ebp - 0x11], 1
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov ecx, eax
call fcn.1000b4a0
mov ecx, 0xd78dd4
mov esi, eax
call fcn.1000e620
cmp esi, eax
jne 0x1000e872
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov ecx, eax
call fcn.1000b4a0
mov ecx, dword [0x1006ba2c]
mov esi, eax
call fcn.1000b4a0
cmp eax, esi
jne 0x1000e872
cmp byte [ebp - 0x11], 0
je 0x1000e94c
movaps xmm0, xmmword [0x10062840]
xor ecx, ecx
movzx eax, byte [ebp - 0x12]
movups xmmword [ebp - 0x3c], xmm0
push eax
movaps xmm0, xmmword [str.AM_f]
movups xmmword [ebp - 0x2c], xmm0
mov dword [ebp - 0x1c], 0x21f1903
mov word [ebp - 0x18], 1
nop dword [eax]
mov al, byte [ebp - 0x3c]
xor byte [ebp + ecx - 0x3b], al
inc ecx
cmp ecx, 0x24
jb 0x1000e8a0
sub esp, 0x18
mov byte [ebp - 0x17], 0
mov edx, esp
lea ecx, [ebp - 0x3b]
xorps xmm0, xmm0
lea esi, [ecx + 1]
movups xmmword [edx], xmm0
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1000e8d0
sub ecx, esi
lea eax, [ebp - 0x3b]
push ecx
push eax
mov ecx, edx
call fcn.10001790
lea eax, [ebp - 0x54]
push eax
call fcn.10009170
add esp, 0x20
mov ecx, eax
mov dword [ebp - 4], 0
call fcn.10012af0
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x40]
cmp ecx, 0xf
jbe 0x1000e93a
mov edx, dword [ebp - 0x54]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1000e930
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000ea08
push ecx
push edx
call fcn.10038006
add esp, 8
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x40], 0xf
mov byte [ebp - 0x54], 0
call fcn.10018830
test eax, eax
je 0x1000e9f5
movaps xmm0, xmmword [0x100628f0]
xor ecx, ecx
movups xmmword [ebp - 0x2c], xmm0
mov dword [ebp - 0x1c], 0x5c595d
nop dword [eax]
mov al, byte [ebp - 0x2c]
xor byte [ebp + ecx - 0x2b], al
inc ecx
cmp ecx, 0x12
jb 0x1000e970
xorps xmm0, xmm0
mov byte [ebp - 0x19], 0
lea ecx, [ebp - 0x2b]
mov dword [ebp - 0x44], 0
movups xmmword [ebp - 0x54], xmm0
mov dword [ebp - 0x40], 0
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1000e9a0
sub ecx, edx
lea eax, [ebp - 0x2b]
push ecx
push eax
lea ecx, [ebp - 0x54]
call fcn.10001790
lea ecx, [ebp - 0x54]
mov dword [ebp - 4], 1
call fcn.10012af0
mov ecx, dword [ebp - 0x40]
cmp ecx, 0xf
jbe 0x1000e9f5
mov edx, dword [ebp - 0x54]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1000e9eb
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000ea0d
push ecx
push edx
call fcn.10038006
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
call fcn.1003cf4f
call fcn.1003cf4f
int3