Function at 0x100ec650
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 0x10104509
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x1d0
mov eax, dword [0x10115364]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp byte [0x101c9058], 0
je 0x100eca57
xorps xmm0, xmm0
mov dword [ebp - 0x18], 0
movq qword [ebp - 0x20], xmm0
xor eax, eax
mov dword [ebp - 0x184], 0x15130605
mov dword [ebp - 0x180], 0x19021702
mov word [ebp - 0x17c], 0x504
mov byte [ebp - 0x17a], 0x76
xor byte [ebp + eax - 0x184], 0x76
inc eax
cmp eax, 0xb
jb 0x100ec6d3
lea ecx, [ebp - 0x184]
mov dword [ebp - 0x1d8], 0
mov dword [ebp - 0x1c8], 0
lea edx, [ecx + 1]
mov dword [ebp - 0x1c4], 0xf
mov byte [ebp - 0x1d8], 0
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100ec710
sub ecx, edx
lea eax, [ebp - 0x184]
push ecx
push eax
lea ecx, [ebp - 0x1d8]
call fcn.10028dc0
lea ecx, [ebp - 0x1d8]
mov dword [ebp - 4], 0
push ecx
lea eax, [ebp - 0x1c0]
push eax
push ecx
lea ecx, [ebp - 0x20]
call fcn.100c45c0
push fcn.10028a20
push 1
push 0x18
lea eax, [ebp - 0x1d8]
mov byte [ebp - 4], 2
push eax
call fcn.100f88bd
mov eax, dword [0x101d4b84]
mov edi, 1
mov dword [ebp - 0x190], eax
mov eax, dword [0x101d4a1c]
cmp dword [eax + 0x18], edi
jl 0x100ec99e
mov ecx, dword [0x101d49c4]
push edi
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
mov esi, eax
test esi, esi
je 0x100ec98f
mov ecx, dword [0x101d4b50]
mov cl, byte [ecx + esi]
test cl, cl
jne 0x100ec98f
mov eax, dword [esi + 8]
lea ecx, [esi + 8]
mov eax, dword [eax + 0x24]
call eax
test al, al
jne 0x100ec98f
mov eax, dword [0x101d4bc4]
add eax, 0xffffffcc
xor eax, 0x400da0d
cmp dword [eax + esi], 0
je 0x100ec98f
mov ecx, dword [0x101d49c4]
mov eax, dword [0x101d4c60]
add eax, 0xffffffa5
xor eax, 0x400da34
mov edx, dword [ecx]
push ecx
mov eax, dword [eax + esi]
mov esi, dword [edx + 0x10]
mov edx, esp
mov dword [edx], eax
call esi
cmp eax, dword [0x101bce6c]
jne 0x100ec98f
mov ecx, dword [0x101d49c0]
lea edx, [ebp - 0x178]
push edx
push edi
mov eax, dword [ecx]
mov eax, dword [eax + 0x20]
call eax
test al, al
je 0x100ec98f
lea eax, [ebp - 0x168]
mov dword [ebp - 0x1c0], 0
mov dword [ebp - 0x1b0], 0
lea edx, [eax + 1]
mov dword [ebp - 0x1ac], 0xf
mov byte [ebp - 0x1c0], 0
nop dword [eax]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x100ec850
sub eax, edx
lea ecx, [ebp - 0x1c0]
push eax
lea eax, [ebp - 0x168]
push eax
call fcn.10028dc0
mov byte [ebp - 4], 3
lea eax, [ebp - 0x1c0]
mov ecx, 0x18
mov dword [ebp - 0x1a8], 0
cmp dword [ebp - 0x1b0], ecx
mov dword [ebp - 0x198], 0
cmovb ecx, dword [ebp - 0x1b0]
cmp dword [ebp - 0x1ac], 0x10
push ecx
cmovae eax, dword [ebp - 0x1c0]
lea ecx, [ebp - 0x1a8]
push eax
mov dword [ebp - 0x194], 0xf
mov byte [ebp - 0x1a8], 0
call fcn.10028dc0
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x1c]
cmp eax, dword [ebp - 0x18]
je 0x100ec903
movups xmm0, xmmword [ebp - 0x1a8]
mov dword [eax], 0
mov edx, 0xf
mov byte [ebp - 0x1a8], 0
movups xmmword [eax], xmm0
movq xmm0, qword [ebp - 0x198]
movq qword [eax + 0x10], xmm0
add dword [ebp - 0x1c], 0x18
jmp 0x100ec919
lea ecx, [ebp - 0x1a8]
push ecx
push eax
lea ecx, [ebp - 0x20]
call fcn.10039090
mov edx, dword [ebp - 0x194]
mov byte [ebp - 4], 3
cmp edx, 0x10
jb 0x100ec951
mov ecx, dword [ebp - 0x1a8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100ec947
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100eca75
push edx
push ecx
call fcn.100f8cec
add esp, 8
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x1ac]
cmp edx, 0x10
jb 0x100ec98f
mov ecx, dword [ebp - 0x1c0]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100ec985
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100eca75
push edx
push ecx
call fcn.100f8cec
add esp, 8
mov eax, dword [0x101d4a1c]
inc edi
cmp edi, dword [eax + 0x18]
jle 0x100ec781
mov ecx, dword [ebp - 0x1c]
mov eax, 0x2aaaaaab
sub ecx, dword [ebp - 0x20]
mov edi, dword [ebp - 0x190]
imul ecx
dec edi
xor ecx, ecx
sar edx, 2
mov eax, edx
mov dword [ebp - 0x188], ecx
shr eax, 0x1f
add eax, edx
imul edi, eax
test eax, eax
je 0x100eca4f
xor esi, esi
shr edi, 1
mov dword [ebp - 0x18c], esi
neg edi
nop dword [eax + eax]
mov eax, dword [0x101bd244]
add esi, dword [ebp - 0x20]
mov ecx, dword [0x101bd240]
cdq
add ecx, 0xffffffec
sub eax, edx
push 1
mov edx, eax
push esi
push ecx
sar edx, 1
mov eax, esp
add edx, edi
push edx
push ecx
mov ecx, 0x101d4b7c
mov dword [eax], 0xb3ffffff
call fcn.100e5b10
mov eax, dword [ebp - 0x190]
mov ecx, dword [ebp - 0x1c]
dec eax
sub ecx, dword [ebp - 0x20]
add edi, eax
mov esi, dword [ebp - 0x18c]
mov eax, 0x2aaaaaab
inc dword [ebp - 0x188]
add esi, 0x18
imul ecx
mov dword [ebp - 0x18c], esi
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp dword [ebp - 0x188], eax
jb 0x100ec9e0
lea ecx, [ebp - 0x20]
call fcn.10038010
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.100f8871
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3