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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101d84c1
mov eax, dword fs:[0]
push eax
sub esp, 0x80
mov eax, dword [0x1021b380]
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 [0x107001f0]
add eax, 0xd5bd03c9
xor eax, 0xde9a561b
mov ecx, dword [eax + 0x14c]
mov dword [ebp - 0x4c], ecx
test ecx, ecx
je 0x1009dab0
mov eax, dword [0x102b5764]
test al, 1
jne 0x1009cd52
or eax, 1
mov dword [0x102b5764], eax
mov dword [ebp - 4], 0
mov ebx, dword [0x102b3e88]
cmp ebx, dword [0x102b3e8c]
je 0x1009cc74
nop
mov eax, dword [ebx]
mov dword [ebp - 0x34], eax
test eax, eax
je 0x1009cc69
mov edi, dword [eax + 0xc]
mov esi, 0x811c9dc5
xor ecx, ecx
inc ecx
cmp byte [edi + ecx], 0
jne 0x1009cc43
xor edx, edx
test ecx, ecx
je 0x1009cc69
movsx eax, byte [edi + edx]
inc edx
xor eax, esi
imul esi, eax, 0x1000193
cmp edx, ecx
jb 0x1009cc50
cmp esi, 0x4e9f1122
je 0x1009cc8a
add ebx, 4
cmp ebx, dword [0x102b3e8c]
jne 0x1009cc30
mov ecx, dword [ebp - 0x4c]
xor eax, eax
mov dword [0x102b5768], eax
mov dword [ebp - 4], 0xffffffff
jmp 0x1009cd57
mov eax, dword [ebp - 0x34]
xor esi, esi
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x50], esi
cmp dword [eax + 4], esi
jle 0x1009cd28
xor ecx, ecx
mov dword [ebp - 0x40], ecx
mov ebx, dword [eax]
add ebx, ecx
mov ecx, dword [ebx + 0x28]
test ecx, ecx
je 0x1009ccd4
cmp dword [ecx + 4], 0
jle 0x1009ccd4
push 0
mov edx, 0x1c93bcf0
call fcn.1012aec0
add esp, 4
test eax, eax
je 0x1009ccd1
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 0x1009cce0
xor edx, edx
test ecx, ecx
je 0x1009cd0c
nop dword [eax]
movsx eax, byte [edi + edx]
inc edx
xor eax, esi
imul esi, eax, 0x1000193
cmp edx, ecx
jb 0x1009ccf0
cmp esi, 0x1c93bcf0
je 0x1009cd3b
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 0x1009cca3
mov ecx, dword [ebp - 0x4c]
mov eax, esi
mov dword [0x102b5768], eax
mov dword [ebp - 4], 0xffffffff
jmp 0x1009cd57
mov eax, dword [ebx + 0x2c]
add eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x4c]
mov dword [0x102b5768], eax
mov dword [ebp - 4], 0xffffffff
jmp 0x1009cd57
mov eax, dword [0x102b5768]
mov eax, dword [ecx + eax]
mov dword [ebp - 0x44], eax
mov eax, dword [0x102b707c]
test al, 1
jne 0x1009ceb2
or eax, 1
mov dword [0x102b707c], eax
mov dword [ebp - 4], 1
mov ebx, dword [0x102b3e88]
cmp ebx, dword [0x102b3e8c]
je 0x1009cdd4
mov eax, dword [ebx]
mov dword [ebp - 0x34], eax
test eax, eax
je 0x1009cdc9
mov edi, dword [eax + 0xc]
mov esi, 0x811c9dc5
xor ecx, ecx
nop word [eax + eax]
inc ecx
cmp byte [ecx + edi], 0
jne 0x1009cda0
xor edx, edx
test ecx, ecx
je 0x1009cdc9
nop dword [eax]
movsx eax, byte [edx + edi]
inc edx
xor eax, esi
imul esi, eax, 0x1000193
cmp edx, ecx
jb 0x1009cdb0
cmp esi, 0x72e242a1
je 0x1009cdea
add ebx, 4
cmp ebx, dword [0x102b3e8c]
jne 0x1009cd87
mov ecx, dword [ebp - 0x4c]
xor eax, eax
mov dword [0x102b703c], eax
mov dword [ebp - 4], 0xffffffff
jmp 0x1009ceb7
mov eax, dword [ebp - 0x34]
xor esi, esi
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x40], esi
cmp dword [eax + 4], esi
jle 0x1009ce88
xor ecx, ecx
mov dword [ebp - 0x50], ecx
mov ebx, dword [eax]
add ebx, ecx
mov ecx, dword [ebx + 0x28]
test ecx, ecx
je 0x1009ce34
cmp dword [ecx + 4], 0
jle 0x1009ce34
push 0
mov edx, 0x84cdad2
call fcn.1012aec0
add esp, 4
test eax, eax
je 0x1009ce31
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 0x1009ce40
xor edx, edx
test ecx, ecx
je 0x1009ce6c
nop dword [eax]
movsx eax, byte [edi + edx]
inc edx
xor eax, esi
imul esi, eax, 0x1000193
cmp edx, ecx
jb 0x1009ce50
cmp esi, 0x84cdad2
je 0x1009ce9b
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 0x1009ce03
mov ecx, dword [ebp - 0x4c]
mov eax, esi
mov dword [0x102b703c], eax
mov dword [ebp - 4], 0xffffffff
jmp 0x1009ceb7
mov eax, dword [ebx + 0x2c]
add eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x4c]
mov dword [0x102b703c], eax
mov dword [ebp - 4], 0xffffffff
jmp 0x1009ceb7
mov eax, dword [0x102b703c]
cmp dword [ebp - 0x44], 2
je 0x1009dab0
cmp dword [ecx + eax], 0
jle 0x1009dab0
cmp byte [0x1029d075], 0
je 0x1009dab0
mov eax, dword [0x107001f0]
lea edx, [ebp - 0x8c]
add eax, 0xd5bd03c9
mov dword [ebp - 0x8c], 0
xor eax, 0xde9a561b
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 [0x10207ae0]
movss xmm0, dword [0x1029d0e0]
mulss xmm0, xmm1
cvttss2si eax, xmm0
movss xmm0, dword [0x1029d0dc]
mulss xmm0, xmm1
mov dword [ebp - 0x30], eax
cvttss2si eax, xmm0
movss xmm0, dword [0x1029d0d8]
mulss xmm0, xmm1
mov dword [ebp - 0x64], eax
cvttss2si eax, xmm0
movss xmm0, dword [0x1029d0d4]
mulss xmm0, xmm1
mov dword [ebp - 0x7c], eax
cvttss2si eax, xmm0
movss xmm0, dword [0x1029d0f0]
mulss xmm0, xmm1
mov dword [ebp - 0x58], eax
cvttss2si eax, xmm0
movss xmm0, dword [0x1029d0ec]
mulss xmm0, xmm1
mov dword [ebp - 0x54], eax
cvttss2si eax, xmm0
movss xmm0, dword [0x1029d0e8]
mulss xmm0, xmm1
mov dword [ebp - 0x74], eax
cvttss2si eax, xmm0
movss xmm0, dword [0x1029d0e4]
mov dword [ebp - 0x6c], eax
mulss xmm0, xmm1
cvttss2si eax, xmm0
mov dword [ebp - 0x38], eax
mov eax, dword [0x107001f0]
add eax, 0xd5bd03c9
xor eax, 0xde9a561b
mov ecx, dword [eax + 0x14c]
mov eax, dword [ecx]
call dword [eax + 0x28]
movd xmm0, dword [0x1029d07c]
mov ecx, dword [ebp - 0x60]
cvtdq2ps xmm0, xmm0
mov ecx, dword [ecx + 0x48]
movss xmm1, dword [eax]
addss xmm0, dword [0x10207920]
subss xmm1, dword [ecx - 0x10]
cvttss2si ebx, xmm0
movd xmm0, dword [0x1029d080]
cvtdq2ps xmm0, xmm0
movss dword [ebp - 0x44], xmm1
addss xmm0, dword [0x10207948]
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 [0x102076b4]
mulss xmm2, dword [0x10207a0c]
movss xmm3, dword [0x10207ab0]
jb 0x1009d055
addss xmm2, xmm3
movss xmm0, dword [ebp - 0x88]
movss xmm1, dword [0x10207afc]
subss xmm0, xmm2
movss xmm2, dword [0x10207c1c]
subss xmm0, dword [0x10207a4c]
comiss xmm2, xmm0
jbe 0x1009d089
nop
addss xmm0, xmm1
comiss xmm2, xmm0
ja 0x1009d080
comiss xmm0, xmm3
jbe 0x1009d099
nop
subss xmm0, xmm1
comiss xmm0, xmm3
ja 0x1009d090
mov esi, dword [0x102cc030]
mulss xmm0, dword [0x1020772c]
lea edi, [esi + 0x781833fb]
movss dword [ebp - 0x50], xmm0
xor edi, 0x567bbcf7
call fcn.1002d510
movss xmm1, dword [edi + 0x50]
mulss xmm1, dword [0x102077ec]
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.1002d530
movss xmm1, dword [edi + 0x54]
movaps xmm5, xmm0
mulss xmm5, dword [ebp - 0x4c]
xor eax, eax
movss xmm4, dword [0x102077ec]
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 [0x102077bc]
mulss xmm5, dword [0x102077bc]
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 0x1009d171
mov eax, dword [ebp + 0x10]
xorps xmm2, xmm2
movss xmm1, dword [0x1020785c]
movss xmm3, dword [eax]
comiss xmm3, xmm2
mov eax, dword [ebp + 0xc]
jbe 0x1009d1f7
movaps xmm0, xmm1
subss xmm0, xmm3
movss xmm3, dword [eax]
comiss xmm0, xmm2
jbe 0x1009d1fb
mulss xmm3, xmm0
jmp 0x1009d1fb
movss xmm3, dword [eax]
movss xmm0, dword [ebp - 0x50]
mulss xmm0, dword [0x10207a0c]
movss dword [ebp - 0x34], xmm3
movss dword [ebp - 0x4c], xmm2
call fcn.1000d5e0
comiss xmm0, dword [0x10207a4c]
jb 0x1009d242
movss xmm1, dword [0x10207a5c]
comiss xmm1, xmm0
movss xmm1, dword [0x1020785c]
jb 0x1009d242
movss xmm0, dword [0x10207bd0]
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 [0x1020770c]
test edx, edx
mov dword [ebp - 0x40], edx
cmovns ecx, eax
cmp edx, 0xff
lea eax, [ebp - 0x50]
cmovle eax, ecx
add esi, 0x781833fb
xor esi, 0x567bbcf7
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 0x1009d2e0
xorps xmm6, xmm6
jmp 0x1009d2e4
minss xmm6, xmm1
movss xmm0, dword [0x10207ae0]
mulss xmm6, xmm0
addss xmm6, xmm4
cvttss2si ecx, xmm6
shl ecx, 0x10
comiss xmm2, xmm5
jbe 0x1009d305
xorps xmm5, xmm5
jmp 0x1009d309
minss xmm5, xmm1
mulss xmm5, xmm0
addss xmm5, xmm4
cvttss2si eax, xmm5
shl eax, 8
or ecx, eax
comiss xmm2, xmm3
jbe 0x1009d324
xorps xmm3, xmm3
jmp 0x1009d328
minss xmm3, xmm1
mulss xmm3, xmm0
addss xmm3, xmm4
cvttss2si eax, xmm3
or ecx, eax
comiss xmm2, xmm7
jbe 0x1009d340
xorps xmm7, xmm7
jmp 0x1009d344
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.100bf300
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 [0x1020785c]
movd xmm0, eax
lea eax, [ebp - 0x58]
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [ebp - 0x34]
cvttss2si edx, xmm0
movss xmm0, dword [0x1020770c]
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 [0x102cc030]
add eax, 0x781833fb
xor eax, 0x567bbcf7
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 0x1009d456
xorps xmm6, xmm6
jmp 0x1009d45a
minss xmm6, xmm1
movss xmm3, dword [0x10207ae0]
movss xmm2, dword [0x102077ec]
mulss xmm6, xmm3
addss xmm6, xmm2
cvttss2si ecx, xmm6
shl ecx, 0x10
comiss xmm0, xmm5
jbe 0x1009d483
xorps xmm5, xmm5
jmp 0x1009d487
minss xmm5, xmm1
mulss xmm5, xmm3
addss xmm5, xmm2
cvttss2si eax, xmm5
shl eax, 8
or ecx, eax
comiss xmm0, xmm4
jbe 0x1009d4a2
xorps xmm4, xmm4
jmp 0x1009d4a6
minss xmm4, xmm1
mulss xmm4, xmm3
addss xmm4, xmm2
cvttss2si eax, xmm4
or ecx, eax
comiss xmm0, xmm7
jbe 0x1009d4be
xorps xmm7, xmm7
jmp 0x1009d4c2
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.100bf1e0
movss xmm0, dword [ebp - 0x24]
addss xmm0, dword [ebp - 0x2c]
mov edi, dword [0x102cc030]
mov ecx, dword [ebp - 0x60]
add edi, 0x781833fb
xor edi, 0x567bbcf7
add ecx, 0x50
addss xmm0, dword [ebp - 0x1c]
mov ebx, dword [edi + 0xb8]
mulss xmm0, dword [0x102077bc]
movss dword [ebp - 0x6c], xmm0
movss xmm0, dword [ebp - 0x34]
mulss xmm0, dword [0x10207ae0]
cvttss2si eax, xmm0
movss xmm0, dword [edi + 0xbc]
mov dword [ebp - 0x40], eax
movss dword [ebp - 0x30], xmm0
call fcn.10029870
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.100c3de0
mov ecx, esi
call fcn.100bcc60
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 [0x102077bc]
addss xmm3, dword [ebp - 0x4c]
movss dword [ebp - 0x74], xmm3
je 0x1009d63b
call fcn.10029870
movss xmm3, dword [0x10207b78]
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.100c2e00
movss xmm0, dword [ebp - 0x5c]
addss xmm0, dword [0x10207858]
movss xmm5, dword [ebp - 0x58]
movss xmm3, dword [ebp - 0x74]
cvttss2si eax, xmm0
movd xmm1, eax
cvtdq2ps xmm1, xmm1
jmp 0x1009d63e
xorps xmm1, xmm1
mov eax, dword [ebp - 0x40]
movss xmm2, dword [0x102077ec]
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 [0x102077b0]
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 [0x1020770c]
comiss xmm0, xmm1
movss xmm0, dword [0x1020785c]
movss dword [ebp - 0x34], xmm1
jbe 0x1009d6ad
xorps xmm1, xmm1
jmp 0x1009d6b1
minss xmm1, xmm0
mulss xmm1, dword [0x10207ae0]
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.100bf410
movss xmm1, dword [ebp - 0x34]
xorps xmm0, xmm0
comiss xmm0, xmm1
jbe 0x1009d713
movss xmm1, dword [0x1020785c]
xorps xmm2, xmm2
jmp 0x1009d722
movaps xmm2, xmm1
movss xmm1, dword [0x1020785c]
minss xmm2, xmm1
mulss xmm2, dword [0x10207ae0]
push 0
movss xmm0, dword [ebp - 0x48]
push ecx
addss xmm2, dword [0x102077ec]
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.100bf410
movss xmm1, dword [ebp - 0x34]
xorps xmm0, xmm0
comiss xmm0, xmm1
jbe 0x1009d78f
movss xmm1, dword [0x1020785c]
xorps xmm2, xmm2
jmp 0x1009d79e
movaps xmm2, xmm1
movss xmm1, dword [0x1020785c]
minss xmm2, xmm1
mulss xmm2, dword [0x10207ae0]
push 0
movss xmm0, dword [ebp - 0x48]
push ecx
addss xmm2, dword [0x102077ec]
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.100bf410
movss xmm1, dword [ebp - 0x34]
xorps xmm0, xmm0
comiss xmm0, xmm1
jbe 0x1009d80b
movss xmm1, dword [0x1020785c]
xorps xmm2, xmm2
jmp 0x1009d81a
movaps xmm2, xmm1
movss xmm1, dword [0x1020785c]
minss xmm2, xmm1
mulss xmm2, dword [0x10207ae0]
push 0
movss xmm0, dword [ebp - 0x48]
push ecx
addss xmm2, dword [0x102077ec]
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.100bf410
movss xmm1, dword [ebp - 0x34]
xorps xmm0, xmm0
comiss xmm0, xmm1
jbe 0x1009d87f
xorps xmm1, xmm1
jmp 0x1009d887
minss xmm1, dword [0x1020785c]
mulss xmm1, dword [0x10207ae0]
push 0
movss xmm0, dword [ebp - 0x48]
movss xmm2, dword [ebp - 0x30]
addss xmm1, dword [0x102077ec]
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 [0x1020785c]
shl eax, 0x18
push eax
lea eax, [ebp - 0x3c]
push eax
push ebx
movss dword [ebp - 0x38], xmm0
call fcn.100bf410
movss xmm1, dword [ebp - 0x34]
xorps xmm0, xmm0
comiss xmm0, xmm1
jbe 0x1009d8ec
xorps xmm1, xmm1
jmp 0x1009d8f4
minss xmm1, dword [0x1020785c]
mulss xmm1, dword [0x10207ae0]
push 0
movss xmm0, dword [ebp - 0x48]
movss xmm2, dword [ebp - 0x30]
addss xmm1, dword [0x102077ec]
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 [0x1020785c]
shl eax, 0x18
push eax
lea eax, [ebp - 0x3c]
push eax
push ebx
movss dword [ebp - 0x38], xmm0
call fcn.100bf410
mov eax, dword [ebp - 0x4c]
xorps xmm0, xmm0
movzx eax, al
movd xmm1, eax
cvtdq2ps xmm1, xmm1
mulss xmm1, dword [0x1020770c]
comiss xmm0, xmm1
jbe 0x1009d969
xorps xmm1, xmm1
jmp 0x1009d971
minss xmm1, dword [0x1020785c]
mulss xmm1, dword [0x10207ae0]
push 0
movss xmm0, dword [ebp - 0x48]
addss xmm0, dword [0x1020785c]
addss xmm1, dword [0x102077ec]
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.100bf410
mov eax, dword [ebp - 0x4c]
xorps xmm0, xmm0
movzx eax, al
movd xmm1, eax
cvtdq2ps xmm1, xmm1
mulss xmm1, dword [0x1020770c]
comiss xmm0, xmm1
jbe 0x1009d9e6
xorps xmm1, xmm1
jmp 0x1009d9ee
minss xmm1, dword [0x1020785c]
mulss xmm1, dword [0x10207ae0]
push 0
movss xmm0, dword [ebp - 0x48]
subss xmm0, dword [0x1020785c]
addss xmm1, dword [0x102077ec]
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.100bf410
mov eax, dword [ebp - 0x40]
xorps xmm0, xmm0
movzx eax, al
movd xmm1, eax
cvtdq2ps xmm1, xmm1
mulss xmm1, dword [0x1020770c]
comiss xmm0, xmm1
ja 0x1009da69
movaps xmm0, xmm1
minss xmm0, dword [0x1020785c]
mulss xmm0, dword [0x10207ae0]
push 0
movss xmm2, dword [ebp - 0x30]
push ecx
addss xmm0, dword [0x102077ec]
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.100bf410
mov ecx, dword [edi + 0xc]
dec dword [ecx + 0x4c]
call fcn.100bcc60
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.101d03f8
mov esp, ebp
pop ebp
ret 0xc