Function at 0x1006ec10
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100f552d
mov eax, dword fs:[0]
push eax
sub esp, 0x68
mov eax, dword [0x1011e00c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov esi, dword [sym.imp.KERNEL32.dll_Sleep]
nop word [eax + eax]
movaps xmm0, xmmword [0x10118190]
xor eax, eax
movups xmmword [ebp - 0x28], xmm0
mov word [ebp - 0x18], 0x4141
mov byte [ebp - 0x16], 0
mov cl, byte [ebp - 0x28]
xor byte [ebp + eax - 0x27], cl
inc eax
cmp eax, 0x11
jb 0x1006ec67
lea eax, [ebp - 0x27]
mov byte [ebp - 0x16], 0
push eax
call edi
test eax, eax
jne 0x1006ec8b
push 0xc8
call esi
jmp 0x1006ec50
mov eax, dword fs:[0x2c]
mov ecx, dword [0x101202c4]
mov esi, dword [eax + ecx*4]
mov eax, dword [0x10120c94]
cmp eax, dword [esi + 4]
jle 0x1006ecdb
push 0x10120c94
call fcn.100f24cd
add esp, 4
cmp dword [0x10120c94], 0xffffffff
jne 0x1006ecdb
push 0x100f5ed0
mov byte [0x10120c8c], 0
call fcn.100f28d8
push 0x10120c94
call fcn.100f2483
add esp, 8
mov ecx, 0x10120c8c
call fcn.1008f5e0
call fcn.10016cc0
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 4]
call fcn.1006ef20
mov ecx, eax
call fcn.1006ace0
mov eax, dword [0x10120c90]
cmp eax, dword [esi + 4]
jle 0x1006ed55
push 0x10120c90
call fcn.100f24cd
add esp, 4
cmp dword [0x10120c90], 0xffffffff
jne 0x1006ed55
push 0x100f5ec0
mov dword [0x10120c7c], 0
mov dword [0x10120c80], 0
mov dword [0x10120c84], 0
call fcn.100f28d8
push 0x10120c90
call fcn.100f2483
add esp, 8
mov ecx, 0x10120c7c
call fcn.1000d4d0
mov edi, dword [0x101202f8]
mov ch, 0x70
mov cl, 0x1c
mov byte [ebp - 0x30], ch
xor cl, ch
mov byte [ebp - 0x2a], 0
mov dl, 0x15
mov byte [ebp - 0x2e], cl
mov eax, dword [edi]
mov dh, 2
xor dl, ch
mov byte [ebp - 0x2a], 0
xor dh, ch
mov byte [ebp - 0x2d], dl
mov byte [ebp - 0x2b], dh
mov esi, dword [eax + 0x1c]
mov al, 0x13
mov ah, 0x11
xor al, ch
xor ah, ch
mov byte [ebp - 0x2f], al
mov byte [ebp - 0x2c], ah
mov ecx, edi
lea eax, [ebp - 0x2f]
push eax
call esi
call fcn.1006d4b0
mov ecx, dword [0x101202f8]
mov edi, eax
mov edx, dword [ecx]
mov edx, dword [edx + 0x1a0]
call edx
mov ecx, eax
lea esi, [ebp - 0x13]
mov dword [ebp - 0x30], ecx
mov eax, 0xcccccccd
dec esi
mul ecx
shr edx, 3
mov al, dl
mov cl, dl
shl al, 2
add cl, al
mov eax, dword [ebp - 0x30]
add cl, cl
sub al, cl
mov ecx, edx
add al, 0x30
mov byte [esi], al
mov eax, edx
mov dword [ebp - 0x30], eax
test eax, eax
jne 0x1006edc1
push ecx
lea eax, [ebp - 0x13]
push eax
push esi
lea ecx, [ebp - 0x74]
call fcn.1000f030
mov dword [ebp - 4], 0
xor ecx, ecx
movaps xmm0, xmmword [0x10117600]
movups xmmword [ebp - 0x5c], xmm0
mov dword [ebp - 0x3c], 0x57181004
movaps xmm0, xmmword [0x10117520]
movups xmmword [ebp - 0x4c], xmm0
mov dword [ebp - 0x38], 0x1b1e0215
mov dword [ebp - 0x34], 0x574d13
nop dword [eax]
mov al, byte [ebp - 0x5c]
xor byte [ebp + ecx - 0x5b], al
inc ecx
cmp ecx, 0x2a
jb 0x1006ee30
push 1
push 0
push 1
sub esp, 0x18
mov byte [ebp - 0x31], 0
mov esi, esp
lea ecx, [ebp - 0x5b]
mov dword [ebp - 0x30], esi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1006ee55
sub ecx, edx
lea eax, [ebp - 0x5b]
push ecx
push eax
push ecx
lea ecx, [ebp - 0x74]
call fcn.1000eea0
xorps xmm0, xmm0
mov ecx, edi
movups xmmword [esi], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
movups xmm0, xmmword [eax]
movups xmmword [esi], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [esi + 0x10], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
call fcn.10023820
mov ecx, dword [ebp - 0x60]
cmp ecx, 0x10
jb 0x1006eede
mov edx, dword [ebp - 0x74]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1006eed4
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1006eed4
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.100f28ed
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100f238c
mov esp, ebp
pop ebp
ret