Function at 0x100b8c20
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 0x101aa9b1
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.10030000
mov eax, dword [0x10335fb8]
movaps xmm4, xmm0
movss dword [ebp - 0x24], xmm4
cmp byte [eax + 0x1809], 0
je 0x100b8ce7
cmp byte [esi + 0xc], 0
jne 0x100b8ce7
cmp byte [esi + 0x20], 0
jne 0x100b8d81
mov eax, dword [0x1033582c]
movss xmm3, dword [0x1022c09c]
movss xmm1, dword [eax + 0x20]
mulss xmm1, xmm3
movaps xmm0, xmm1
mulss xmm1, xmm6
mulss xmm0, xmm7
xorps xmm1, xmmword [0x1022c580]
mulss xmm1, xmm1
xorps xmm0, xmmword [0x1022c580]
mulss xmm0, xmm0
addss xmm0, xmm1
call fcn.10030000
comiss xmm0, xmm4
jbe 0x100b8d91
mov edx, dword [ebx + 0xc]
mov edi, dword [ebx + 8]
movss xmm3, dword [0x1022c0e4]
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.100b95b0
test al, al
je 0x100b8d84
movss xmm3, dword [0x1022c09c]
mov byte [esi + 0x1c], 1
mov dword [edi + 0x2c], 0
mov dword [edi + 0x28], 0
mov dword [edi + 0x24], 0
jmp 0x100b900b
mov edi, dword [ebx + 8]
movss xmm3, dword [0x1022c09c]
jmp 0x100b900b
comiss xmm4, xmm3
jbe 0x100b9008
divss xmm2, xmm5
movaps xmm0, xmm2
call fcn.100a9120
movss xmm1, dword [ebp - 0x20]
xorps xmm4, xmm4
comiss xmm1, xmm4
mulss xmm0, dword [0x1022c148]
movss xmm2, dword [0x1022c1f4]
jb 0x100b8dc7
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 0x100b8e80
push 0x103392ac
call fcn.1014bbcf
add esp, 4
cmp dword [0x103392ac], 0xffffffff
jne 0x100b8e72
mov eax, dword [0x10335870]
mov edi, dword [eax + 0x30]
test edi, edi
je 0x100b8e55
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 0x100b8e20
sub ecx, esi
mov esi, 0x4fa38bcd
add ecx, 1
je 0x100b8e4e
movsx eax, byte [edx]
lea edx, [edx + 1]
xor eax, esi
imul esi, eax, 0xf1546419
sub ecx, 1
jne 0x100b8e33
cmp esi, 0x5fc6b781
je 0x100b8e57
mov edi, dword [edi + 4]
test edi, edi
jne 0x100b8e13
xor edi, edi
push 0x103392ac
mov dword [0x103392b4], edi
call fcn.1014bb7e
mov edx, dword [ebx + 0xc]
add esp, 4
lea esi, [edx + 4]
jmp 0x100b8e75
mov edx, dword [ebx + 0xc]
movss xmm2, dword [0x1022c1f4]
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 0x100b8efe
ucomiss xmm7, xmm4
lahf
test ah, 0x44
jp 0x100b8efe
movss xmm0, dword [ebp - 0x18]
xorps xmm2, xmm2
comiss xmm0, xmm4
jbe 0x100b8eee
movss xmm0, dword [0x1022c250]
mov dword [ebp - 0x18], edi
jmp 0x100b8f8e
movss xmm0, dword [0x1022c184]
mov dword [ebp - 0x18], edi
jmp 0x100b8f8e
movaps xmm1, xmm7
movaps xmm0, xmm6
call fcn.1007b490
movsd xmm5, qword [0x1022c040]
mov eax, edi
movss xmm3, dword [0x1022c25c]
mulss xmm0, xmm2
xorps xmm2, xmm2
cvtss2sd xmm0, xmm0
mulsd xmm0, xmm5
cvtsd2ss xmm2, xmm0
comiss xmm4, xmm2
jbe 0x100b8f3d
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.10030000
movss xmm6, dword [ebp - 0x18]
movaps xmm1, xmm0
xorps xmm6, xmmword [0x1022c580]
movaps xmm0, xmm6
call fcn.1007b490
mulss xmm0, dword [0x1022c1f4]
mov dword [ebp - 0x18], edi
cvtss2sd xmm0, xmm0
mulsd xmm0, xmm5
cvtsd2ss xmm0, xmm0
comiss xmm4, xmm0
jbe 0x100b8f8e
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.100a99f0
movss xmm0, dword [ebp - 0x1c]
movss xmm1, dword [ebp - 0x14]
mulss xmm0, xmm0
mulss xmm1, xmm1
addss xmm0, xmm1
call fcn.10030000
movaps xmm1, xmm0
movss xmm0, dword [ebp - 0x38]
xorps xmm1, xmmword [0x1022c580]
mulss xmm0, xmm1
movss dword [edi], xmm0
call fcn.100151f0
movss xmm1, dword [0x1022c0c4]
comiss xmm1, xmm0
jbe 0x100b9153
mov eax, dword [ebp - 0x18]
mov dword [eax], 0
jmp 0x100b9153
mov edi, dword [ebx + 8]
comiss xmm3, dword [ebp - 0x24]
jb 0x100b9153
movss xmm1, dword [esi + 0x18]
ucomiss xmm1, dword [0x1022c31c]
mov byte [esi + 0x1c], 1
lahf
test ah, 0x44
jnp 0x100b906d
mov eax, dword [0x1033582c]
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 [0x1022bfc4]
cvttss2si eax, xmm0
mov dword [esi + 0x14], eax
mov eax, dword [0x103362e0]
cmp byte [eax], 0
jne 0x100b913e
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 0x100b90e7
push 0x10335830
call fcn.1014bbcf
add esp, 4
cmp dword [0x10335830], 0xffffffff
jne 0x100b90e7
push ecx
push 0xe200e77e
mov dword [ebp - 4], 0
mov ecx, dword [0x10336104]
push 0x9be3441b
call fcn.100bb0f0
push 0x10335830
mov dword [0x10335824], eax
call fcn.1014bb7e
add esp, 4
mov eax, dword [0x10335824]
mov ecx, dword [ebp - 0x24]
movss xmm0, dword [ecx + eax]
mov eax, dword [0x1033582c]
divss xmm0, dword [eax + 0x20]
mov eax, dword [0x10336270]
addss xmm0, dword [0x1022bfc4]
cvttss2si ecx, xmm0
sub ecx, dword [eax + 0x58]
mov eax, 0
cmovs ecx, eax
cmp ecx, 3
jg 0x100b913e
mov eax, dword [0x10336088]
cmp byte [eax + 0x2f2], 0
je 0x100b9138
mov eax, dword [0x103362e0]
cmp byte [eax + 0xc], 0
je 0x100b913e
mov byte [esi + 0xc], 0
jmp 0x100b9153
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