Function at 0x100a4eb0
Capabilities:
Encode data using xor

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff0
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100d855b
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0xc8
mov eax, dword [0x100e8040]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebx + 0x14]
mov edi, dword [ebx + 8]
mov esi, dword [ebx + 0x1c]
mov dword [ebp - 0x2c], eax
mov eax, dword [0x101641a8]
test al, 1
jne 0x100a501d
or eax, 1
mov dword [0x101641a8], eax
mov dword [ebp - 4], 0
xor eax, eax
movaps xmm0, xmmword [0x100deec0]
movaps xmm1, xmmword [0x100de650]
movups xmmword [ebp - 0x74], xmm0
mov byte [ebp - 0x54], 0xb4
movaps xmm0, xmmword [0x100de350]
movups xmmword [ebp - 0x64], xmm0
nop dword [eax]
movups xmm0, xmmword [ebp + eax - 0x74]
xorps xmm0, xmm1
movups xmmword [ebp + eax - 0x74], xmm0
add eax, 0x10
cmp eax, 0x20
jb 0x100a4f40
cmp eax, 0x21
jae 0x100a4f6b
nop word [eax + eax]
xor byte [ebp + eax - 0x74], 0xb4
inc eax
cmp eax, 0x21
jb 0x100a4f60
xorps xmm0, xmm0
mov dword [ebp - 0x40], 0
lea ecx, [ebp - 0x74]
mov dword [ebp - 0x3c], 0
movups xmmword [ebp - 0x50], xmm0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100a4f86
sub ecx, edx
lea eax, [ebp - 0x74]
push ecx
push eax
lea ecx, [ebp - 0x50]
call fcn.1002e7c0
mov byte [ebp - 4], 1
mov edx, dword [0x10161474]
test edx, edx
je 0x100a4faf
mov edx, dword [edx + 0x50]
jmp 0x100a4fb1
xor edx, edx
mov eax, dword [0x1016146c]
test eax, eax
je 0x100a4fbf
mov eax, dword [eax + 0x18]
jmp 0x100a4fc1
xor eax, eax
lea ecx, [ebp - 0x50]
push ecx
push eax
lea ecx, [ebp - 0x28]
call fcn.10028130
mov eax, dword [ebp - 0x28]
add esp, 8
add eax, 0x3d
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x3c]
mov dword [0x101641a4], eax
cmp ecx, 0xf
jbe 0x100a5016
mov edx, dword [ebp - 0x50]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100a500c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100a500c
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.100d0707
add esp, 8
mov dword [ebp - 4], 0xffffffff
mov eax, dword [0x101641a4]
xorps xmm3, xmm3
movss xmm4, dword [edi]
movss xmm5, dword [edi + 4]
movss xmm6, dword [edi + 8]
mov eax, dword [eax]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x20], eax
mov eax, dword [ebx + 0x18]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebx + 0xc]
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x8b], 1
movss xmm0, dword [eax]
subss xmm0, xmm4
movss dword [ebp - 0x50], xmm0
movss xmm0, dword [eax + 4]
subss xmm0, xmm5
movss dword [ebp - 0x4c], xmm0
movss xmm0, dword [eax + 8]
subss xmm0, xmm6
movss dword [ebp - 0x48], xmm0
movaps xmm2, xmmword [ebp - 0x50]
movaps xmm1, xmm2
movaps xmmword [ebp - 0xc0], xmm2
shufps xmm1, xmm2, 0x55
movaps xmm0, xmm2
mulss xmm0, xmm2
mulss xmm1, xmm1
shufps xmm2, xmm2, 0xaa
mulss xmm2, xmm2
addss xmm1, xmm0
addss xmm1, xmm2
ucomiss xmm1, xmm3
lahf
test ah, 0x44
jp 0x100a50c2
mov byte [ebp - 0x8b], 0
mov ecx, dword [0x101614cc]
lea edx, [ebp - 0x24]
push esi
mov dword [ebp - 0x90], 0
mov byte [ebp - 0x8c], 1
movss dword [ebp - 0xd0], xmm4
movss dword [ebp - 0xcc], xmm5
movss dword [ebp - 0xc8], xmm6
mov dword [ebp - 0xc4], 0
mov dword [ebp - 0xa8], 0
mov dword [ebp - 0xac], 0
mov dword [ebp - 0xb0], 0
mov dword [ebp - 0x98], 0
mov dword [ebp - 0x9c], 0
mov dword [ebp - 0xa0], 0
mov eax, dword [ecx]
push edx
push dword [ebx + 0x10]
lea edx, [ebp - 0xd0]
mov eax, dword [eax + 0x14]
push edx
call eax
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.100d028c
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 0x18