Function at 0x100b8f00
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 0x101aac91
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x30
push esi
push edi
mov eax, dword [0x10242040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [0x10336270]
mov eax, dword [eax + 8]
movss xmm5, dword [eax + 0x138]
movss xmm2, dword [eax + 0x13c]
subss xmm5, dword [esi]
subss xmm2, dword [esi + 4]
movss xmm0, dword [eax + 0x11c]
movss xmm7, dword [eax + 0x114]
movss xmm6, dword [eax + 0x118]
movss dword [ebp - 0x18], xmm0
movaps xmm0, xmm5
movaps xmm1, xmm2
mulss xmm0, xmm5
mulss xmm1, xmm2
movss dword [ebp - 0x14], xmm7
movss dword [ebp - 0x1c], xmm6
addss xmm0, xmm1
movss dword [ebp - 0x20], xmm5
call fcn.1002ffd0
mov eax, dword [0x10335fb8]
movaps xmm4, xmm0
movss dword [ebp - 0x24], xmm4
cmp byte [eax + 0x17e5], 0
je 0x100b8fc7
cmp byte [esi + 0xc], 0
jne 0x100b8fc7
cmp byte [esi + 0x20], 0
jne 0x100b9061
mov eax, dword [0x10335828]
movss xmm3, dword [0x1022c7a4]
movss xmm1, dword [eax + 0x20]
mulss xmm1, xmm3
movaps xmm0, xmm1
mulss xmm1, xmm6
mulss xmm0, xmm7
xorps xmm1, xmmword [0x1022cc60]
mulss xmm1, xmm1
xorps xmm0, xmmword [0x1022cc60]
mulss xmm0, xmm0
addss xmm0, xmm1
call fcn.1002ffd0
comiss xmm0, xmm4
jbe 0x100b9071
mov edx, dword [ebx + 0xc]
mov edi, dword [ebx + 8]
movss xmm3, dword [0x1022c7ec]
push 0
mov eax, dword [edx]
sub esp, 0xc
mov ecx, esp
push edi
mov dword [ecx], eax
mov eax, dword [edx + 4]
mov dword [ecx + 4], eax
mov eax, dword [edx + 8]
mov dword [ecx + 8], eax
call fcn.100b9890
test al, al
je 0x100b9064
movss xmm3, dword [0x1022c7a4]
mov byte [esi + 0x1c], 1
mov dword [edi + 0x2c], 0
mov dword [edi + 0x28], 0
mov dword [edi + 0x24], 0
jmp 0x100b92eb
mov edi, dword [ebx + 8]
movss xmm3, dword [0x1022c7a4]
jmp 0x100b92eb
comiss xmm4, xmm3
jbe 0x100b92e8
divss xmm2, xmm5
movaps xmm0, xmm2
call fcn.100a9440
movss xmm1, dword [ebp - 0x20]
xorps xmm4, xmm4
comiss xmm1, xmm4
mulss xmm0, dword [0x1022c850]
movss xmm2, dword [0x1022c908]
jb 0x100b90a7
addss xmm0, xmm2
mov eax, dword fs:[0x2c]
mov ecx, dword [0x103357d4]
mov edx, dword [ebx + 0xc]
lea esi, [edx + 4]
movss dword [esi], xmm0
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x103392ac]
cmp eax, dword [ecx + 4]
jle 0x100b9160
push 0x103392ac
call fcn.1014be59
add esp, 4
cmp dword [0x103392ac], 0xffffffff
jne 0x100b9152
mov eax, dword [0x10335868]
mov edi, dword [eax + 0x30]
test edi, edi
je 0x100b9135
mov edx, dword [edi + 0xc]
mov ecx, edx
lea esi, [ecx + 1]
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100b9100
sub ecx, esi
mov esi, 0x4fa38bcd
add ecx, 1
je 0x100b912e
movsx eax, byte [edx]
lea edx, [edx + 1]
xor eax, esi
imul esi, eax, 0xf1546419
sub ecx, 1
jne 0x100b9113
cmp esi, 0x5fc6b781
je 0x100b9137
mov edi, dword [edi + 4]
test edi, edi
jne 0x100b90f3
xor edi, edi
push 0x103392ac
mov dword [0x103392b4], edi
call fcn.1014be08
mov edx, dword [ebx + 0xc]
add esp, 4
lea esi, [edx + 4]
jmp 0x100b9155
mov edx, dword [ebx + 0xc]
movss xmm2, dword [0x1022c908]
xorps xmm4, xmm4
mov ecx, dword [0x103392b4]
movss xmm6, dword [ebp - 0x1c]
movss xmm7, dword [ebp - 0x14]
mov dword [ebp - 0x38], 0
mov eax, dword [ecx + 0x1c]
mov eax, dword [eax + 0x2c]
xor eax, ecx
mov ecx, dword [ebx + 8]
ucomiss xmm6, xmm4
mov dword [ebp - 0x20], eax
lea edi, [ecx + 0x28]
mov dword [edi], 0
mov dword [ecx + 0x2c], 0
movss xmm0, dword [ebp - 0x20]
movss dword [ecx + 0x24], xmm0
lahf
test ah, 0x44
jp 0x100b91de
ucomiss xmm7, xmm4
lahf
test ah, 0x44
jp 0x100b91de
movss xmm0, dword [ebp - 0x18]
xorps xmm2, xmm2
comiss xmm0, xmm4
jbe 0x100b91ce
movss xmm0, dword [0x1022c964]
mov dword [ebp - 0x18], edi
jmp 0x100b926e
movss xmm0, dword [0x1022c88c]
mov dword [ebp - 0x18], edi
jmp 0x100b926e
movaps xmm1, xmm7
movaps xmm0, xmm6
call fcn.1007b970
movsd xmm5, qword [0x1022c748]
mov eax, edi
movss xmm3, dword [0x1022c970]
mulss xmm0, xmm2
xorps xmm2, xmm2
cvtss2sd xmm0, xmm0
mulsd xmm0, xmm5
cvtsd2ss xmm2, xmm0
comiss xmm4, xmm2
jbe 0x100b921d
addss xmm2, xmm3
lea esi, [edx + 4]
lea eax, [ecx + 0x28]
movaps xmm1, xmm6
movaps xmm0, xmm7
mulss xmm0, xmm7
mulss xmm1, xmm6
addss xmm0, xmm1
call fcn.1002ffd0
movss xmm6, dword [ebp - 0x18]
movaps xmm1, xmm0
xorps xmm6, xmmword [0x1022cc60]
movaps xmm0, xmm6
call fcn.1007b970
mulss xmm0, dword [0x1022c908]
mov dword [ebp - 0x18], edi
cvtss2sd xmm0, xmm0
mulsd xmm0, xmm5
cvtsd2ss xmm0, xmm0
comiss xmm4, xmm0
jbe 0x100b926e
addss xmm0, xmm3
mov dword [ebp - 0x18], eax
movss xmm1, dword [esi]
lea edx, [ebp - 0x3c]
subss xmm1, xmm2
movss dword [ebp - 0x30], xmm0
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x28], 0
movss dword [ebp - 0x2c], xmm1
call fcn.100a9d10
movss xmm0, dword [ebp - 0x1c]
movss xmm1, dword [ebp - 0x14]
mulss xmm0, xmm0
mulss xmm1, xmm1
addss xmm0, xmm1
call fcn.1002ffd0
movaps xmm1, xmm0
movss xmm0, dword [ebp - 0x38]
xorps xmm1, xmmword [0x1022cc60]
mulss xmm0, xmm1
movss dword [edi], xmm0
call fcn.100151f0
movss xmm1, dword [0x1022c7cc]
comiss xmm1, xmm0
jbe 0x100b9433
mov eax, dword [ebp - 0x18]
mov dword [eax], 0
jmp 0x100b9433
mov edi, dword [ebx + 8]
comiss xmm3, dword [ebp - 0x24]
jb 0x100b9433
movss xmm1, dword [esi + 0x18]
ucomiss xmm1, dword [0x1022ca34]
mov byte [esi + 0x1c], 1
lahf
test ah, 0x44
jnp 0x100b934d
mov eax, dword [0x10335828]
movss xmm0, dword [eax + 0x10]
subss xmm0, xmm1
call fcn.100151f0
movss xmm1, dword [eax + 0x20]
mulss xmm1, xmm3
subss xmm0, xmm1
xorps xmm1, xmm1
maxss xmm0, xmm1
divss xmm0, dword [eax + 0x20]
mov dword [esi + 0x18], 0xbf800000
addss xmm0, dword [0x1022c6cc]
cvttss2si eax, xmm0
mov dword [esi + 0x14], eax
mov eax, dword [0x103362e0]
cmp byte [eax], 0
jne 0x100b941e
mov eax, dword [0x10336270]
mov ecx, dword [0x103357d4]
mov eax, dword [eax + 0x14]
mov dword [ebp - 0x24], eax
mov eax, dword fs:[0x2c]
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x10335830]
cmp eax, dword [ecx + 4]
jle 0x100b93c7
push 0x10335830
call fcn.1014be59
add esp, 4
cmp dword [0x10335830], 0xffffffff
jne 0x100b93c7
push ecx
push 0xe200e77e
mov dword [ebp - 4], 0
mov ecx, dword [0x10336104]
push 0x9be3441b
call fcn.100bb3f0
push 0x10335830
mov dword [0x10335824], eax
call fcn.1014be08
add esp, 4
mov eax, dword [0x10335824]
mov ecx, dword [ebp - 0x24]
movss xmm0, dword [ecx + eax]
mov eax, dword [0x10335828]
divss xmm0, dword [eax + 0x20]
mov eax, dword [0x10336270]
addss xmm0, dword [0x1022c6cc]
cvttss2si ecx, xmm0
sub ecx, dword [eax + 0x58]
mov eax, 0
cmovs ecx, eax
cmp ecx, 3
jg 0x100b941e
mov eax, dword [0x10336088]
cmp byte [eax + 0x2f2], 0
je 0x100b9418
mov eax, dword [0x103362e0]
cmp byte [eax + 0xc], 0
je 0x100b941e
mov byte [esi + 0xc], 0
jmp 0x100b9433
mov dword [edi + 0x2c], 0
mov dword [edi + 0x28], 0
mov dword [edi + 0x24], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 8