Function at 0x1009d680
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101e8ea1
mov eax, dword fs:[0]
push eax
sub esp, 0x80
mov eax, dword [0x10285040]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x60], eax
mov eax, dword [0x10b33e60]
add eax, 0x7a4232c8
xor eax, 0xfcb4fca8
mov ecx, dword [eax + 0x14c]
mov dword [ebp - 0x4c], ecx
test ecx, ecx
je 0x1009e588
mov eax, dword [0x1031e914]
test al, 1
jne 0x1009d822
or eax, 1
mov dword [0x1031e914], eax
mov dword [ebp - 4], 0
mov ebx, dword [0x1031cd80]
cmp ebx, dword [0x1031cd84]
je 0x1009d744
nop
mov eax, dword [ebx]
mov dword [ebp - 0x34], eax
test eax, eax
je 0x1009d739
mov edi, dword [eax + 0xc]
mov esi, 0x811c9dc5
xor ecx, ecx
inc ecx
cmp byte [edi + ecx], 0
jne 0x1009d713
xor edx, edx
test ecx, ecx
je 0x1009d739
movsx eax, byte [edi + edx]
inc edx
xor eax, esi
imul esi, eax, 0x1000193
cmp edx, ecx
jb 0x1009d720
cmp esi, 0x4e9f1122
je 0x1009d75a
add ebx, 4
cmp ebx, dword [0x1031cd84]
jne 0x1009d700
mov ecx, dword [ebp - 0x4c]
xor eax, eax
mov dword [0x1031e918], eax
mov dword [ebp - 4], 0xffffffff
jmp 0x1009d827
mov eax, dword [ebp - 0x34]
xor esi, esi
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x50], esi
cmp dword [eax + 4], esi
jle 0x1009d7f8
xor ecx, ecx
mov dword [ebp - 0x40], ecx
mov ebx, dword [eax]
add ebx, ecx
mov ecx, dword [ebx + 0x28]
test ecx, ecx
je 0x1009d7a4
cmp dword [ecx + 4], 0
jle 0x1009d7a4
push 0
mov edx, 0x1c93bcf0
call fcn.1012b660
add esp, 4
test eax, eax
je 0x1009d7a1
mov ecx, dword [ebx + 0x2c]
add ecx, eax
add esi, ecx
mov dword [ebp - 0x30], esi
mov eax, dword [ebp - 0x34]
mov edi, dword [ebx]
mov esi, 0x811c9dc5
xor ecx, ecx
nop dword [eax]
inc ecx
cmp byte [edi + ecx], 0
jne 0x1009d7b0
xor edx, edx
test ecx, ecx
je 0x1009d7dc
nop dword [eax]
movsx eax, byte [edi + edx]
inc edx
xor eax, esi
imul esi, eax, 0x1000193
cmp edx, ecx
jb 0x1009d7c0
cmp esi, 0x1c93bcf0
je 0x1009d80b
mov eax, dword [ebp - 0x34]
mov edx, dword [ebp - 0x50]
mov ecx, dword [ebp - 0x40]
inc edx
mov esi, dword [ebp - 0x30]
add ecx, 0x3c
mov dword [ebp - 0x50], edx
mov dword [ebp - 0x40], ecx
cmp edx, dword [eax + 4]
jl 0x1009d773
mov ecx, dword [ebp - 0x4c]
mov eax, esi
mov dword [0x1031e918], eax
mov dword [ebp - 4], 0xffffffff
jmp 0x1009d827
mov eax, dword [ebx + 0x2c]
add eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x4c]
mov dword [0x1031e918], eax
mov dword [ebp - 4], 0xffffffff
jmp 0x1009d827
mov eax, dword [0x1031e918]
mov eax, dword [ecx + eax]
mov dword [ebp - 0x44], eax
mov eax, dword [0x1032022c]
test al, 1
jne 0x1009d982
or eax, 1
mov dword [0x1032022c], eax
mov dword [ebp - 4], 1
mov ebx, dword [0x1031cd80]
cmp ebx, dword [0x1031cd84]
je 0x1009d8a4
mov eax, dword [ebx]
mov dword [ebp - 0x34], eax
test eax, eax
je 0x1009d899
mov edi, dword [eax + 0xc]
mov esi, 0x811c9dc5
xor ecx, ecx
nop word [eax + eax]
inc ecx
cmp byte [ecx + edi], 0
jne 0x1009d870
xor edx, edx
test ecx, ecx
je 0x1009d899
nop dword [eax]
movsx eax, byte [edx + edi]
inc edx
xor eax, esi
imul esi, eax, 0x1000193
cmp edx, ecx
jb 0x1009d880
cmp esi, 0x72e242a1
je 0x1009d8ba
add ebx, 4
cmp ebx, dword [0x1031cd84]
jne 0x1009d857
mov ecx, dword [ebp - 0x4c]
xor eax, eax
mov dword [0x103201ec], eax
mov dword [ebp - 4], 0xffffffff
jmp 0x1009d987
mov eax, dword [ebp - 0x34]
xor esi, esi
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x40], esi
cmp dword [eax + 4], esi
jle 0x1009d958
xor ecx, ecx
mov dword [ebp - 0x50], ecx
mov ebx, dword [eax]
add ebx, ecx
mov ecx, dword [ebx + 0x28]
test ecx, ecx
je 0x1009d904
cmp dword [ecx + 4], 0
jle 0x1009d904
push 0
mov edx, 0x84cdad2
call fcn.1012b660
add esp, 4
test eax, eax
je 0x1009d901
mov ecx, dword [ebx + 0x2c]
add ecx, eax
add esi, ecx
mov dword [ebp - 0x30], esi
mov eax, dword [ebp - 0x34]
mov edi, dword [ebx]
mov esi, 0x811c9dc5
xor ecx, ecx
nop dword [eax]
inc ecx
cmp byte [edi + ecx], 0
jne 0x1009d910
xor edx, edx
test ecx, ecx
je 0x1009d93c
nop dword [eax]
movsx eax, byte [edi + edx]
inc edx
xor eax, esi
imul esi, eax, 0x1000193
cmp edx, ecx
jb 0x1009d920
cmp esi, 0x84cdad2
je 0x1009d96b
mov eax, dword [ebp - 0x34]
mov edx, dword [ebp - 0x40]
mov ecx, dword [ebp - 0x50]
inc edx
mov esi, dword [ebp - 0x30]
add ecx, 0x3c
mov dword [ebp - 0x40], edx
mov dword [ebp - 0x50], ecx
cmp edx, dword [eax + 4]
jl 0x1009d8d3
mov ecx, dword [ebp - 0x4c]
mov eax, esi
mov dword [0x103201ec], eax
mov dword [ebp - 4], 0xffffffff
jmp 0x1009d987
mov eax, dword [ebx + 0x2c]
add eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x4c]
mov dword [0x103201ec], eax
mov dword [ebp - 4], 0xffffffff
jmp 0x1009d987
mov eax, dword [0x103201ec]
cmp dword [ebp - 0x44], 2
je 0x1009e588
cmp dword [ecx + eax], 0
jle 0x1009e588
cmp byte [0x10305eed], 0
je 0x1009e588
mov eax, dword [0x10b33e60]
lea edx, [ebp - 0x8c]
add eax, 0x7a4232c8
mov dword [ebp - 0x8c], 0
xor eax, 0xfcb4fca8
mov dword [ebp - 0x88], 0
mov dword [ebp - 0x84], 0
push edx
mov ecx, dword [eax + 0xc4]
xor eax, eax
test ecx, ecx
cmovne eax, ecx
mov eax, dword [eax]
mov eax, dword [eax + 0x48]
call eax
movss xmm1, dword [0x102712b0]
movss xmm0, dword [0x10305f58]
mulss xmm0, xmm1
cvttss2si eax, xmm0
movss xmm0, dword [0x10305f54]
mulss xmm0, xmm1
mov dword [ebp - 0x30], eax
cvttss2si eax, xmm0
movss xmm0, dword [0x10305f50]
mulss xmm0, xmm1
mov dword [ebp - 0x64], eax
cvttss2si eax, xmm0
movss xmm0, dword [0x10305f4c]
mulss xmm0, xmm1
mov dword [ebp - 0x7c], eax
cvttss2si eax, xmm0
movss xmm0, dword [0x10305f68]
mulss xmm0, xmm1
mov dword [ebp - 0x58], eax
cvttss2si eax, xmm0
movss xmm0, dword [0x10305f64]
mulss xmm0, xmm1
mov dword [ebp - 0x54], eax
cvttss2si eax, xmm0
movss xmm0, dword [0x10305f60]
mulss xmm0, xmm1
mov dword [ebp - 0x74], eax
cvttss2si eax, xmm0
movss xmm0, dword [0x10305f5c]
mov dword [ebp - 0x6c], eax
mulss xmm0, xmm1
cvttss2si eax, xmm0
mov dword [ebp - 0x38], eax
mov eax, dword [0x10b33e60]
add eax, 0x7a4232c8
xor eax, 0xfcb4fca8
mov ecx, dword [eax + 0x14c]
mov eax, dword [ecx]
call dword [eax + 0x28]
movd xmm0, dword [0x10305ef4]
mov ecx, dword [ebp - 0x60]
cvtdq2ps xmm0, xmm0
mov ecx, dword [ecx + 0x48]
movss xmm1, dword [eax]
addss xmm0, dword [0x102710e8]
subss xmm1, dword [ecx - 0x10]
cvttss2si ebx, xmm0
movd xmm0, dword [0x10305ef8]
cvtdq2ps xmm0, xmm0
movss dword [ebp - 0x44], xmm1
addss xmm0, dword [0x10271110]
movss dword [ebp - 0x4c], xmm0
movss xmm0, dword [eax + 4]
subss xmm0, dword [ecx - 0xc]
divss xmm0, xmm1
call sub.api_ms_win_crt_math_l1_1_0.dll___libm_sse2_atanf
movss xmm1, dword [ebp - 0x44]
movaps xmm2, xmm0
comiss xmm1, dword [0x10270e70]
mulss xmm2, dword [0x102711d4]
movss xmm3, dword [0x10271280]
jb 0x1009db25
addss xmm2, xmm3
movss xmm0, dword [ebp - 0x88]
movss xmm1, dword [0x102712cc]
subss xmm0, xmm2
movss xmm2, dword [0x102713f4]
subss xmm0, dword [0x10271214]
comiss xmm2, xmm0
jbe 0x1009db59
nop
addss xmm0, xmm1
comiss xmm2, xmm0
ja 0x1009db50
comiss xmm0, xmm3
jbe 0x1009db69
nop
subss xmm0, xmm1
comiss xmm0, xmm3
ja 0x1009db60
mov esi, dword [0x103351b4]
mulss xmm0, dword [0x10270eec]
lea edi, [esi - 0x7fc4c3f9]
movss dword [ebp - 0x50], xmm0
xor edi, 0xc7a4cce5
call fcn.1002de60
movss xmm1, dword [edi + 0x50]
mulss xmm1, dword [0x10270fb4]
movss dword [ebp - 0x34], xmm0
mulss xmm0, dword [ebp - 0x4c]
addss xmm0, xmm1
movss dword [ebp - 0x44], xmm0
movss xmm0, dword [ebp - 0x50]
call fcn.1002de80
movss xmm1, dword [edi + 0x54]
movaps xmm5, xmm0
mulss xmm5, dword [ebp - 0x4c]
xor eax, eax
movss xmm4, dword [0x10270fb4]
mulss xmm1, xmm4
movss xmm7, dword [ebp - 0x34]
movd xmm3, ebx
addss xmm5, xmm1
movss dword [ebp - 0x40], xmm0
movss xmm1, dword [ebp - 0x44]
cvtdq2ps xmm3, xmm3
movaps xmm0, xmm5
movss dword [ebp - 0x20], xmm5
subss xmm1, xmm3
movaps xmm6, xmm3
addss xmm6, dword [ebp - 0x44]
subss xmm0, xmm3
addss xmm3, xmm5
movss dword [ebp - 0x2c], xmm1
movss dword [ebp - 0x24], xmm6
addss xmm6, xmm1
addss xmm5, xmm0
movss dword [ebp - 0x28], xmm0
movss dword [ebp - 0x1c], xmm1
movss dword [ebp - 0x18], xmm3
addss xmm6, xmm1
addss xmm5, xmm3
mulss xmm6, dword [0x10270f80]
mulss xmm5, dword [0x10270f80]
movss xmm3, dword [ebp + eax*8 - 0x2c]
movaps xmm1, xmm7
movss xmm2, dword [ebp + eax*8 - 0x28]
subss xmm3, xmm6
movss xmm0, dword [ebp - 0x40]
subss xmm2, xmm5
mulss xmm1, xmm3
mulss xmm0, xmm2
subss xmm1, xmm0
movss xmm0, dword [ebp - 0x40]
mulss xmm0, xmm3
addss xmm1, xmm6
movss dword [ebp + eax*8 - 0x2c], xmm1
movaps xmm1, xmm7
mulss xmm1, xmm2
addss xmm1, xmm0
addss xmm1, xmm5
movss dword [ebp + eax*8 - 0x28], xmm1
inc eax
cmp eax, 3
jl 0x1009dc41
mov eax, dword [ebp + 0x10]
xorps xmm2, xmm2
movss xmm1, dword [0x10271024]
movss xmm0, dword [eax]
comiss xmm0, xmm2
mov eax, dword [ebp + 0xc]
jbe 0x1009dccc
movaps xmm3, xmm1
subss xmm3, xmm0
movss xmm0, dword [eax]
comiss xmm3, xmm2
jbe 0x1009dcd0
mulss xmm3, xmm0
movss dword [ebp - 0x34], xmm3
jmp 0x1009dcd8
movss xmm0, dword [eax]
movaps xmm3, xmm0
movss dword [ebp - 0x34], xmm0
movss xmm0, dword [ebp - 0x50]
mulss xmm0, dword [0x102711d4]
movss dword [ebp - 0x4c], xmm2
call fcn.1000d440
comiss xmm0, dword [0x10271214]
jb 0x1009dd1a
movss xmm1, dword [0x10271224]
comiss xmm1, xmm0
movss xmm1, dword [0x10271024]
jb 0x1009dd1a
movss xmm0, dword [0x102713a8]
movss dword [ebp - 0x4c], xmm0
mov eax, dword [ebp - 0x30]
lea ecx, [ebp - 0x44]
movzx eax, al
mov dword [ebp - 0x50], 0xff
mov dword [ebp - 0x44], 0
movd xmm0, eax
lea eax, [ebp - 0x40]
cvtdq2ps xmm0, xmm0
mulss xmm0, xmm3
cvttss2si edx, xmm0
movss xmm0, dword [0x10270ecc]
test edx, edx
mov dword [ebp - 0x40], edx
cmovns ecx, eax
cmp edx, 0xff
lea eax, [ebp - 0x50]
cmovle eax, ecx
add esi, 0x803b3c07
xor esi, 0xc7a4cce5
mov cl, byte [eax]
mov eax, dword [ebp - 0x7c]
movzx eax, al
movd xmm5, eax
mov eax, dword [ebp - 0x64]
movzx eax, al
cvtdq2ps xmm5, xmm5
movd xmm3, eax
movzx eax, cl
cvtdq2ps xmm3, xmm3
movd xmm7, eax
mov eax, dword [ebp - 0x58]
movzx eax, al
cvtdq2ps xmm7, xmm7
movd xmm6, eax
cvtdq2ps xmm6, xmm6
mulss xmm5, xmm0
mulss xmm6, xmm0
mulss xmm3, xmm0
comiss xmm2, xmm6
mulss xmm7, xmm0
jbe 0x1009ddb8
xorps xmm6, xmm6
jmp 0x1009ddbc
minss xmm6, xmm1
movss xmm0, dword [0x102712b0]
mulss xmm6, xmm0
addss xmm6, xmm4
cvttss2si ecx, xmm6
shl ecx, 0x10
comiss xmm2, xmm5
jbe 0x1009dddd
xorps xmm5, xmm5
jmp 0x1009dde1
minss xmm5, xmm1
mulss xmm5, xmm0
addss xmm5, xmm4
cvttss2si eax, xmm5
shl eax, 8
or ecx, eax
comiss xmm2, xmm3
jbe 0x1009ddfc
xorps xmm3, xmm3
jmp 0x1009de00
minss xmm3, xmm1
mulss xmm3, xmm0
addss xmm3, xmm4
cvttss2si eax, xmm3
or ecx, eax
comiss xmm2, xmm7
jbe 0x1009de18
xorps xmm7, xmm7
jmp 0x1009de1c
minss xmm7, xmm1
movss xmm1, dword [ebp - 0x1c]
mulss xmm7, xmm0
movss dword [ebp - 0x5c], xmm1
movss xmm1, dword [ebp - 0x18]
addss xmm7, xmm4
movss dword [ebp - 0x58], xmm1
movss xmm1, dword [ebp - 0x24]
movss dword [ebp - 0x68], xmm1
movss xmm1, dword [ebp - 0x20]
movss dword [ebp - 0x64], xmm1
movss xmm1, dword [ebp - 0x2c]
cvttss2si eax, xmm7
movss dword [ebp - 0x80], xmm1
movss xmm1, dword [ebp - 0x28]
shl eax, 0x18
or eax, ecx
movss dword [ebp - 0x7c], xmm1
mov ecx, dword [esi + 0xc]
push eax
lea eax, [ebp - 0x5c]
push eax
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp - 0x80]
push eax
call fcn.100bfdd0
mov ecx, dword [ebp - 0x54]
movzx eax, cl
lea ecx, [ebp - 0x54]
mov dword [ebp - 0x64], 0xff
mov dword [ebp - 0x54], 0
movss xmm1, dword [0x10271024]
movd xmm0, eax
lea eax, [ebp - 0x58]
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [ebp - 0x34]
cvttss2si edx, xmm0
movss xmm0, dword [0x10270ecc]
test edx, edx
mov dword [ebp - 0x58], edx
cmovns ecx, eax
cmp edx, 0xff
lea eax, [ebp - 0x64]
cmovle eax, ecx
mov cl, byte [eax]
mov eax, dword [0x103351b4]
add eax, 0x803b3c07
xor eax, 0xc7a4cce5
mov edx, dword [eax + 0xc]
mov eax, dword [ebp - 0x6c]
movzx eax, al
movd xmm5, eax
mov eax, dword [ebp - 0x74]
movzx eax, al
cvtdq2ps xmm5, xmm5
movd xmm4, eax
movzx eax, cl
cvtdq2ps xmm4, xmm4
movd xmm7, eax
mov eax, dword [ebp - 0x38]
movzx eax, al
cvtdq2ps xmm7, xmm7
movd xmm6, eax
cvtdq2ps xmm6, xmm6
mulss xmm5, xmm0
mulss xmm6, xmm0
mulss xmm4, xmm0
mulss xmm7, xmm0
xorps xmm0, xmm0
comiss xmm0, xmm6
jbe 0x1009df2e
xorps xmm6, xmm6
jmp 0x1009df32
minss xmm6, xmm1
movss xmm3, dword [0x102712b0]
movss xmm2, dword [0x10270fb4]
mulss xmm6, xmm3
addss xmm6, xmm2
cvttss2si ecx, xmm6
shl ecx, 0x10
comiss xmm0, xmm5
jbe 0x1009df5b
xorps xmm5, xmm5
jmp 0x1009df5f
minss xmm5, xmm1
mulss xmm5, xmm3
addss xmm5, xmm2
cvttss2si eax, xmm5
shl eax, 8
or ecx, eax
comiss xmm0, xmm4
jbe 0x1009df7a
xorps xmm4, xmm4
jmp 0x1009df7e
minss xmm4, xmm1
mulss xmm4, xmm3
addss xmm4, xmm2
cvttss2si eax, xmm4
or ecx, eax
comiss xmm0, xmm7
jbe 0x1009df96
xorps xmm7, xmm7
jmp 0x1009df9a
minss xmm7, xmm1
movss xmm0, dword [ebp - 0x1c]
mulss xmm7, xmm3
push ecx
movss dword [ebp - 0x3c], xmm0
movss xmm0, dword [ebp - 0x18]
addss xmm7, xmm2
movss dword [ebp - 0x38], xmm0
movss xmm0, dword [ebp - 0x24]
mov dword [esp], 0x3f800000
movss dword [ebp - 0x78], xmm0
movss xmm0, dword [ebp - 0x20]
cvttss2si eax, xmm7
movss dword [ebp - 0x74], xmm0
movss xmm0, dword [ebp - 0x2c]
shl eax, 0x18
or eax, ecx
movss dword [ebp - 0x70], xmm0
movss xmm0, dword [ebp - 0x28]
mov ecx, edx
push eax
lea eax, [ebp - 0x3c]
movss dword [ebp - 0x6c], xmm0
push eax
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp - 0x70]
push eax
call fcn.100bfcb0
movss xmm0, dword [ebp - 0x24]
addss xmm0, dword [ebp - 0x2c]
mov edi, dword [0x103351b4]
mov ecx, dword [ebp - 0x60]
add edi, 0x803b3c07
xor edi, 0xc7a4cce5
add ecx, 0x50
addss xmm0, dword [ebp - 0x1c]
mov ebx, dword [edi + 0xb8]
mulss xmm0, dword [0x10270f80]
movss dword [ebp - 0x6c], xmm0
movss xmm0, dword [ebp - 0x34]
mulss xmm0, dword [0x102712b0]
cvttss2si eax, xmm0
movss xmm0, dword [edi + 0xbc]
mov dword [ebp - 0x40], eax
movss dword [ebp - 0x30], xmm0
call fcn.10029890
mov edx, dword [ebx + 0x38]
mov esi, dword [edi + 0xc]
mov dword [ebp - 0x54], eax
lea eax, [ebp - 0x38]
push eax
mov edx, dword [edx + 8]
lea ecx, [esi + 0x4c]
mov dword [ebp - 0x38], edx
call fcn.100c4880
mov ecx, esi
call fcn.100bd750
movss xmm3, dword [ebp - 0x20]
addss xmm3, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x60]
movss xmm5, dword [edi + 0xbc]
add ecx, 0x50
mov esi, dword [edi + 0xb8]
movss dword [ebp - 0x38], xmm5
addss xmm3, dword [ebp - 0x18]
cmp dword [ecx + 0x10], 0
mulss xmm3, dword [0x10270f80]
addss xmm3, dword [ebp - 0x4c]
movss dword [ebp - 0x74], xmm3
je 0x1009e113
call fcn.10029890
movss xmm3, dword [0x10271350]
movss xmm2, dword [ebp - 0x38]
push 0
push 0
push eax
push ecx
lea eax, [ebp - 0x5c]
mov dword [esp], 0xbf800000
push eax
mov ecx, esi
call fcn.100c38a0
movss xmm0, dword [ebp - 0x5c]
addss xmm0, dword [0x10271020]
movss xmm5, dword [ebp - 0x58]
movss xmm3, dword [ebp - 0x74]
cvttss2si eax, xmm0
movd xmm1, eax
cvtdq2ps xmm1, xmm1
jmp 0x1009e116
xorps xmm1, xmm1
mov eax, dword [ebp - 0x40]
movss xmm2, dword [0x10270fb4]
movzx eax, al
movss xmm4, dword [ebp - 0x6c]
mulss xmm1, xmm2
movd xmm0, eax
cvtdq2ps xmm0, xmm0
subss xmm4, xmm1
mulss xmm5, xmm2
mulss xmm0, dword [0x10270f70]
subss xmm3, xmm5
movss dword [ebp - 0x48], xmm4
cvttss2si eax, xmm0
xorps xmm0, xmm0
movss dword [ebp - 0x44], xmm3
mov dword [ebp - 0x4c], eax
movzx eax, al
movd xmm1, eax
cvtdq2ps xmm1, xmm1
mulss xmm1, dword [0x10270ecc]
comiss xmm0, xmm1
movss xmm0, dword [0x10271024]
movss dword [ebp - 0x34], xmm1
jbe 0x1009e185
xorps xmm1, xmm1
jmp 0x1009e189
minss xmm1, xmm0
mulss xmm1, dword [0x102712b0]
addss xmm4, xmm0
mov esi, dword [ebp - 0x54]
subss xmm3, xmm0
push 0
addss xmm1, xmm2
movss xmm2, dword [ebp - 0x30]
push ecx
mov ecx, dword [edi + 0xc]
mov dword [esp], 0
push 0
cvttss2si eax, xmm1
push esi
movss dword [ebp - 0x3c], xmm4
shl eax, 0x18
push eax
lea eax, [ebp - 0x3c]
movss dword [ebp - 0x38], xmm3
push eax
push ebx
call fcn.100bfee0
movss xmm1, dword [ebp - 0x34]
xorps xmm0, xmm0
comiss xmm0, xmm1
jbe 0x1009e1eb
movss xmm1, dword [0x10271024]
xorps xmm2, xmm2
jmp 0x1009e1fa
movaps xmm2, xmm1
movss xmm1, dword [0x10271024]
minss xmm2, xmm1
mulss xmm2, dword [0x102712b0]
push 0
movss xmm0, dword [ebp - 0x48]
push ecx
addss xmm2, dword [0x10270fb4]
mov ecx, dword [edi + 0xc]
subss xmm0, xmm1
mov dword [esp], 0
push 0
push esi
cvttss2si eax, xmm2
movss xmm2, dword [ebp - 0x30]
movss dword [ebp - 0x3c], xmm0
movss xmm0, dword [ebp - 0x44]
shl eax, 0x18
addss xmm0, xmm1
push eax
lea eax, [ebp - 0x3c]
push eax
push ebx
movss dword [ebp - 0x38], xmm0
call fcn.100bfee0
movss xmm1, dword [ebp - 0x34]
xorps xmm0, xmm0
comiss xmm0, xmm1
jbe 0x1009e267
movss xmm1, dword [0x10271024]
xorps xmm2, xmm2
jmp 0x1009e276
movaps xmm2, xmm1
movss xmm1, dword [0x10271024]
minss xmm2, xmm1
mulss xmm2, dword [0x102712b0]
push 0
movss xmm0, dword [ebp - 0x48]
push ecx
addss xmm2, dword [0x10270fb4]
mov ecx, dword [edi + 0xc]
subss xmm0, xmm1
mov dword [esp], 0
push 0
push esi
cvttss2si eax, xmm2
movss xmm2, dword [ebp - 0x30]
movss dword [ebp - 0x3c], xmm0
movss xmm0, dword [ebp - 0x44]
shl eax, 0x18
subss xmm0, xmm1
push eax
lea eax, [ebp - 0x3c]
push eax
push ebx
movss dword [ebp - 0x38], xmm0
call fcn.100bfee0
movss xmm1, dword [ebp - 0x34]
xorps xmm0, xmm0
comiss xmm0, xmm1
jbe 0x1009e2e3
movss xmm1, dword [0x10271024]
xorps xmm2, xmm2
jmp 0x1009e2f2
movaps xmm2, xmm1
movss xmm1, dword [0x10271024]
minss xmm2, xmm1
mulss xmm2, dword [0x102712b0]
push 0
movss xmm0, dword [ebp - 0x48]
push ecx
addss xmm2, dword [0x10270fb4]
mov ecx, dword [edi + 0xc]
addss xmm0, xmm1
mov dword [esp], 0
push 0
push esi
cvttss2si eax, xmm2
movss xmm2, dword [ebp - 0x30]
movss dword [ebp - 0x3c], xmm0
movss xmm0, dword [ebp - 0x44]
shl eax, 0x18
addss xmm0, xmm1
push eax
lea eax, [ebp - 0x3c]
push eax
push ebx
movss dword [ebp - 0x38], xmm0
call fcn.100bfee0
movss xmm1, dword [ebp - 0x34]
xorps xmm0, xmm0
comiss xmm0, xmm1
jbe 0x1009e357
xorps xmm1, xmm1
jmp 0x1009e35f
minss xmm1, dword [0x10271024]
mulss xmm1, dword [0x102712b0]
push 0
movss xmm0, dword [ebp - 0x48]
movss xmm2, dword [ebp - 0x30]
addss xmm1, dword [0x10270fb4]
push ecx
mov ecx, dword [edi + 0xc]
mov dword [esp], 0
push 0
cvttss2si eax, xmm1
push esi
movss dword [ebp - 0x3c], xmm0
movss xmm0, dword [ebp - 0x44]
addss xmm0, dword [0x10271024]
shl eax, 0x18
push eax
lea eax, [ebp - 0x3c]
push eax
push ebx
movss dword [ebp - 0x38], xmm0
call fcn.100bfee0
movss xmm1, dword [ebp - 0x34]
xorps xmm0, xmm0
comiss xmm0, xmm1
jbe 0x1009e3c4
xorps xmm1, xmm1
jmp 0x1009e3cc
minss xmm1, dword [0x10271024]
mulss xmm1, dword [0x102712b0]
push 0
movss xmm0, dword [ebp - 0x48]
movss xmm2, dword [ebp - 0x30]
addss xmm1, dword [0x10270fb4]
push ecx
mov ecx, dword [edi + 0xc]
mov dword [esp], 0
push 0
cvttss2si eax, xmm1
push esi
movss dword [ebp - 0x3c], xmm0
movss xmm0, dword [ebp - 0x44]
subss xmm0, dword [0x10271024]
shl eax, 0x18
push eax
lea eax, [ebp - 0x3c]
push eax
push ebx
movss dword [ebp - 0x38], xmm0
call fcn.100bfee0
mov eax, dword [ebp - 0x4c]
xorps xmm0, xmm0
movzx eax, al
movd xmm1, eax
cvtdq2ps xmm1, xmm1
mulss xmm1, dword [0x10270ecc]
comiss xmm0, xmm1
jbe 0x1009e441
xorps xmm1, xmm1
jmp 0x1009e449
minss xmm1, dword [0x10271024]
mulss xmm1, dword [0x102712b0]
push 0
movss xmm0, dword [ebp - 0x48]
addss xmm0, dword [0x10271024]
addss xmm1, dword [0x10270fb4]
movss xmm2, dword [ebp - 0x30]
push ecx
mov ecx, dword [edi + 0xc]
mov dword [esp], 0
cvttss2si eax, xmm1
push 0
push esi
movss dword [ebp - 0x3c], xmm0
movss xmm0, dword [ebp - 0x44]
shl eax, 0x18
push eax
lea eax, [ebp - 0x3c]
movss dword [ebp - 0x38], xmm0
push eax
push ebx
call fcn.100bfee0
mov eax, dword [ebp - 0x4c]
xorps xmm0, xmm0
movzx eax, al
movd xmm1, eax
cvtdq2ps xmm1, xmm1
mulss xmm1, dword [0x10270ecc]
comiss xmm0, xmm1
jbe 0x1009e4be
xorps xmm1, xmm1
jmp 0x1009e4c6
minss xmm1, dword [0x10271024]
mulss xmm1, dword [0x102712b0]
push 0
movss xmm0, dword [ebp - 0x48]
subss xmm0, dword [0x10271024]
addss xmm1, dword [0x10270fb4]
movss xmm2, dword [ebp - 0x30]
push ecx
mov ecx, dword [edi + 0xc]
mov dword [esp], 0
cvttss2si eax, xmm1
push 0
push esi
movss dword [ebp - 0x3c], xmm0
movss xmm0, dword [ebp - 0x44]
shl eax, 0x18
push eax
lea eax, [ebp - 0x3c]
movss dword [ebp - 0x38], xmm0
push eax
push ebx
call fcn.100bfee0
mov eax, dword [ebp - 0x40]
xorps xmm0, xmm0
movzx eax, al
movd xmm1, eax
cvtdq2ps xmm1, xmm1
mulss xmm1, dword [0x10270ecc]
comiss xmm0, xmm1
ja 0x1009e541
movaps xmm0, xmm1
minss xmm0, dword [0x10271024]
mulss xmm0, dword [0x102712b0]
push 0
movss xmm2, dword [ebp - 0x30]
push ecx
addss xmm0, dword [0x10270fb4]
mov ecx, dword [edi + 0xc]
mov dword [esp], 0
push 0
push esi
cvttss2si eax, xmm0
shl eax, 0x18
or eax, 0xffffff
push eax
lea eax, [ebp - 0x48]
push eax
push ebx
call fcn.100bfee0
mov ecx, dword [edi + 0xc]
dec dword [ecx + 0x4c]
call fcn.100bd750
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.101e0e46
mov esp, ebp
pop ebp
ret 0xc