Function at 0x100621b0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [ebp + 8]
movss dword [ebp - 4], xmm3
push esi
push edi
test ebx, ebx
je 0x100623e9
cmp ebx, dword [0x101a14e8]
je 0x100623e9
mov eax, dword [0x101a6980]
mov ecx, dword [ebp + 0xc]
add eax, 0xffffffd8
xor eax, 0x704949c2
movss xmm0, dword [eax + ebx]
movss xmm1, dword [eax + ebx + 4]
mulss xmm0, dword [ecx]
mulss xmm1, dword [ecx + 4]
addss xmm1, xmm0
movss xmm0, dword [eax + ebx + 8]
mulss xmm0, dword [ecx + 8]
lea ecx, [ebx + 8]
mov eax, dword [ebx + 8]
addss xmm1, xmm0
mov eax, dword [eax + 0x28]
movss dword [ebp + 8], xmm1
call eax
movss xmm0, dword [ebp + 8]
lea ecx, [ebx + 8]
movss dword [eax*4 + 0x101a4910], xmm0
mov eax, dword [ebx + 8]
mov eax, dword [eax + 0x28]
call eax
movss xmm0, dword [ebp - 4]
lea ecx, [ebx + 8]
subss xmm0, dword [eax*4 + 0x101a4910]
mov eax, dword [ebx + 8]
mov eax, dword [eax + 0x28]
movss dword [ebp + 8], xmm0
call eax
movss xmm0, dword [ebp + 8]
lea ecx, [ebx + 8]
movss dword [eax*4 + 0x101a4710], xmm0
mov eax, dword [ebx + 8]
mov eax, dword [eax + 0x28]
call eax
xorps xmm0, xmm0
comiss xmm0, dword [eax*4 + 0x101a4710]
jae 0x100623e9
mov eax, dword [0x101a67f4]
lea ecx, [ebx + 8]
movss xmm0, dword [eax + 0x14]
mulss xmm0, dword [ebp + 0x10]
mov eax, dword [0x101a6a1c]
add eax, 0xffffffb1
xor eax, 0x704949e9
mulss xmm0, dword [ebp - 4]
mulss xmm0, dword [eax + ebx]
mov eax, dword [ebx + 8]
movss dword [ebp + 8], xmm0
mov eax, dword [eax + 0x28]
call eax
movss xmm0, dword [ebp + 8]
lea ecx, [ebx + 8]
movss dword [eax*4 + 0x101a4810], xmm0
mov eax, dword [ebx + 8]
mov eax, dword [eax + 0x28]
call eax
mov ecx, dword [ebx + 8]
mov esi, eax
mov edx, dword [ecx + 0x28]
lea ecx, [ebx + 8]
call edx
movss xmm0, dword [esi*4 + 0x101a4810]
comiss xmm0, dword [eax*4 + 0x101a4710]
jbe 0x1006231c
mov eax, dword [ebx + 8]
lea ecx, [ebx + 8]
mov eax, dword [eax + 0x28]
call eax
lea ecx, [ebx + 8]
movss xmm0, dword [eax*4 + 0x101a4710]
mov eax, dword [ebx + 8]
movss dword [ebp + 8], xmm0
mov eax, dword [eax + 0x28]
call eax
movss xmm0, dword [ebp + 8]
movss dword [eax*4 + 0x101a4810], xmm0
mov eax, dword [ebx + 8]
lea ecx, [ebx + 8]
mov eax, dword [eax + 0x28]
call eax
lea ecx, [ebx + 8]
mov dword [eax*4 + 0x101a2710], 0
mov eax, dword [ebx + 8]
mov eax, dword [eax + 0x28]
call eax
cmp dword [eax*4 + 0x101a2710], 3
jge 0x100623e9
nop dword [eax + eax]
mov eax, dword [ebx + 8]
lea ecx, [ebx + 8]
mov eax, dword [eax + 0x28]
call eax
mov ecx, dword [ebx + 8]
mov esi, eax
mov edx, dword [ecx + 0x28]
lea ecx, [ebx + 8]
call edx
mov ecx, dword [eax*4 + 0x101a2710]
mov eax, dword [ebp + 0xc]
movss xmm0, dword [eax + ecx*4]
lea ecx, [ebx + 8]
mulss xmm0, dword [esi*4 + 0x101a4810]
mov esi, dword [0x101a6980]
mov eax, dword [ebx + 8]
add esi, 0xffffffd8
xor esi, 0x704949c2
movss dword [ebp + 8], xmm0
add esi, ebx
mov eax, dword [eax + 0x28]
call eax
movss xmm0, dword [ebp + 8]
lea ecx, [ebx + 8]
mov eax, dword [eax*4 + 0x101a2710]
addss xmm0, dword [esi + eax*4]
movss dword [esi + eax*4], xmm0
mov eax, dword [ebx + 8]
mov eax, dword [eax + 0x28]
call eax
inc dword [eax*4 + 0x101a2710]
lea ecx, [ebx + 8]
lea eax, [eax*4 + 0x101a2710]
mov eax, dword [ebx + 8]
mov eax, dword [eax + 0x28]
call eax
cmp dword [eax*4 + 0x101a2710], 3
jl 0x10062350
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc