Function at 0x1002f040
Capabilities:
Encode data using xor
Hash data with crc32

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
sub esp, 0x80
mov eax, dword [0x100c7bb8]
mov dword [ebp - 0x34], edx
mov edx, ecx
push esi
push edi
mov dword [ebp - 8], edx
test byte [edx + 8], 0x42
mov dword [ebp - 0x14], eax
jne 0x1002fbf2
cmp dword [edx + 0x90], 0
jg 0x1002fbf2
cmp dword [edx + 0x94], 0
jg 0x1002fbf2
cmp byte [edx + 0x7b], 0
je 0x1002fbf2
movss xmm2, dword [eax + 0x18ac]
xor esi, esi
movss xmm0, dword [edx + 0x44]
movaps xmm1, xmm2
addss xmm0, dword [0x100b5820]
mulss xmm2, dword [0x100b57cc]
mov edi, 4
mov cl, byte [eax + 0xaf]
mulss xmm1, dword [0x100b5834]
test cl, cl
addss xmm0, xmm2
cmovne esi, edi
mov dword [ebp - 0x2c], esi
maxss xmm1, xmm0
cvttss2si eax, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [0x100b57fc]
cvttss2si esi, xmm0
mov dword [ebp - 0x28], esi
je 0x1002f107
movss xmm2, dword [0x100b590c]
jmp 0x1002f10a
xorps xmm2, xmm2
movss xmm0, dword [0x100b59bc]
movss dword [ebp - 0x24], xmm2
movss dword [ebp - 0xc], xmm0
movss dword [ebp - 0x10], xmm0
movss dword [ebp - 0x20], xmm0
movss dword [ebp - 0x18], xmm0
call fcn.10033f70
xor ecx, ecx
mov dword [ebp - 0x1c], ecx
cmp dword [ebx + 0xc], ecx
jle 0x1002f5e8
nop
mov eax, dword [ebp - 8]
lea edx, [ecx + ecx*2]
xorps xmm6, xmm6
mov dword [ebp - 0x3c], edx
cvtsi2ss xmm6, esi
movss xmm0, dword [eax + 0xc]
movss xmm1, dword [eax + 0x10]
movaps xmm3, xmm0
addss xmm3, dword [eax + 0x14]
movaps xmm2, xmm1
addss xmm2, dword [eax + 0x18]
subss xmm3, xmm0
subss xmm2, xmm1
mulss xmm3, dword [edx*8 + 0x100c50e0]
mulss xmm2, dword [edx*8 + 0x100c50e4]
addss xmm3, xmm0
movss xmm0, dword [edx*8 + 0x100c50e8]
movaps xmm5, xmm0
mulss xmm0, dword [ebp - 0x24]
addss xmm2, xmm1
mulss xmm5, xmm6
movss xmm1, dword [edx*8 + 0x100c50ec]
movaps xmm4, xmm1
mulss xmm1, dword [ebp - 0x24]
mulss xmm4, xmm6
addss xmm5, xmm3
subss xmm3, xmm0
addss xmm4, xmm2
subss xmm2, xmm1
movss dword [ebp - 0x64], xmm5
comiss xmm3, xmm5
movss dword [ebp - 0x6c], xmm3
movss dword [ebp - 0x68], xmm2
movss dword [ebp - 0x60], xmm4
jbe 0x1002f1e9
movss dword [ebp - 0x6c], xmm5
movss dword [ebp - 0x64], xmm3
comiss xmm2, xmm4
jbe 0x1002f1f8
movss dword [ebp - 0x68], xmm4
movss dword [ebp - 0x60], xmm2
mov dword [ebp - 0x30], ecx
lea esi, [ebp - 0x30]
mov ecx, dword [eax + 0x1c0]
mov edi, 4
mov eax, dword [eax + 0x1c8]
mov edx, dword [eax + ecx*4 - 4]
not edx
movzx eax, byte [esi]
lea esi, [esi + 1]
movzx ecx, dl
xor ecx, eax
shr edx, 8
xor edx, dword [ecx*4 + 0x100ace68]
sub edi, 1
jne 0x1002f215
mov edi, dword [0x100c7bb8]
not edx
mov esi, dword [ebp - 0x28]
cmp dword [edi + 0x19ac], edx
jne 0x1002f248
mov dword [edi + 0x19b4], edx
cmp dword [edi + 0x19b0], edx
jne 0x1002f257
mov byte [edi + 0x19c0], 1
push 0x2020
lea eax, [ebp - 1]
push eax
lea eax, [ebp - 2]
push eax
lea ecx, [ebp - 0x6c]
call fcn.10046690
mov dl, byte [ebp - 2]
add esp, 0xc
test dl, dl
jne 0x1002f281
mov al, byte [ebp - 1]
test al, al
je 0x1002f4d9
mov edx, dword [ebp - 0x1c]
mov eax, edx
mov ecx, dword [ebp - 0x14]
not eax
and eax, 1
or eax, 4
mov dword [ecx + 0x1c64], eax
mov al, byte [ebp - 1]
test al, al
je 0x1002f4de
cmp byte [ecx + 0x3d5], 0
je 0x1002f354
test edx, edx
jne 0x1002f354
mov eax, dword [ebp - 0x34]
lea ecx, [ebp - 0x5c]
mov edx, dword [ebp - 8]
push dword [eax + 4]
push dword [eax]
call fcn.1002ed20
mov edi, dword [0x100c7bb8]
add esp, 8
movss xmm3, dword [eax]
mov ecx, dword [edi + 0x19ac]
test ecx, ecx
movss xmm2, dword [eax + 4]
setne al
movss dword [ebp - 0x20], xmm3
movss dword [ebp - 0x18], xmm2
mov byte [edi + 0x19bc], al
test ecx, ecx
je 0x1002f30e
mov dword [edi + 0x19b8], 0
mov word [edi + 0x19be], 0
mov ecx, dword [ebp - 0x1c]
mov dword [edi + 0x19ac], 0
mov dword [edi + 0x19c4], 0
mov dword [edi + 0x19c8], 0
mov byte [edi + 0x19bd], 0
mov dword [edi + 0x19d4], 0
cmp byte [ebp - 1], 0
je 0x1002f501
mov eax, 0x20
jmp 0x1002f50e
mov edi, dword [ebp - 0x3c]
movss xmm7, dword [ecx + 0xe4]
subss xmm7, dword [ecx + 0x19d0]
mov eax, dword [ebp - 8]
mov edx, eax
movss xmm2, dword [edi*8 + 0x100c50ec]
movss xmm6, dword [edi*8 + 0x100c50e8]
movaps xmm1, xmm2
mulss xmm1, dword [ebp - 0x24]
movaps xmm0, xmm6
mulss xmm0, dword [ebp - 0x24]
movss xmm4, dword [edi*8 + 0x100c50e0]
movss xmm5, dword [edi*8 + 0x100c50e4]
movd xmm3, esi
cvtdq2ps xmm3, xmm3
xorps xmm3, xmmword [0x100b5b50]
mulss xmm6, xmm3
mulss xmm2, xmm3
subss xmm6, xmm0
subss xmm2, xmm1
mulss xmm6, xmm4
mulss xmm2, xmm5
addss xmm6, xmm0
movss xmm0, dword [ecx + 0xe0]
subss xmm0, dword [ecx + 0x19cc]
addss xmm2, xmm1
movss xmm1, dword [eax + 0x10]
movaps xmm3, xmm1
lea ecx, [ebp - 0x54]
addss xmm1, dword [eax + 0x18]
addss xmm6, xmm0
movss xmm0, dword [eax + 0xc]
addss xmm7, xmm2
movaps xmm2, xmm0
addss xmm0, dword [eax + 0x14]
subss xmm2, xmm6
subss xmm3, xmm7
mulss xmm2, xmm4
mulss xmm3, xmm5
addss xmm2, xmm6
subss xmm6, xmm0
addss xmm3, xmm7
subss xmm7, xmm1
movss dword [ebp - 0xc], xmm2
mulss xmm6, xmm4
mulss xmm7, xmm5
addss xmm6, xmm0
movss dword [ebp - 0x10], xmm3
addss xmm7, xmm1
subss xmm6, xmm2
subss xmm7, xmm3
movss dword [ebp - 0x44], xmm6
movss dword [ebp - 0x3c], xmm6
movss dword [ebp - 0x40], xmm7
push dword [ebp - 0x40]
movss dword [ebp - 0x30], xmm7
push dword [ebp - 0x44]
call fcn.1002ed20
movss xmm0, dword [edi*8 + 0x100c50e0]
add esp, 8
movss xmm3, dword [ebp - 0x54]
xorps xmm5, xmm5
ucomiss xmm0, xmm5
movss dword [ebp - 0x20], xmm3
lahf
test ah, 0x44
jp 0x1002f49c
movss xmm1, dword [ebp - 0xc]
movaps xmm0, xmm3
subss xmm0, dword [ebp - 0x3c]
subss xmm1, xmm0
movss dword [ebp - 0xc], xmm1
movss xmm0, dword [edi*8 + 0x100c50e4]
movss xmm2, dword [ebp - 0x50]
ucomiss xmm0, xmm5
movss dword [ebp - 0x18], xmm2
lahf
test ah, 0x44
jp 0x1002f4ce
movss xmm1, dword [ebp - 0x10]
movaps xmm0, xmm2
subss xmm0, dword [ebp - 0x30]
subss xmm1, xmm0
movss dword [ebp - 0x10], xmm1
mov edi, dword [0x100c7bb8]
mov al, byte [ebp - 1]
jmp 0x1002f4e1
xorps xmm5, xmm5
jmp 0x1002f4e4
xorps xmm5, xmm5
mov dl, byte [ebp - 2]
mov ecx, dword [ebp - 0x1c]
test ecx, ecx
je 0x1002f340
test al, al
jne 0x1002f34a
test dl, dl
je 0x1002f5d9
jmp 0x1002f504
mov dl, byte [ebp - 2]
xor eax, eax
test dl, dl
setne al
add eax, 0x1e
movss xmm3, dword [0x100b5820]
add eax, eax
xorps xmm5, xmm5
movups xmm2, xmmword [edi + eax*8 + 0x15a8]
comiss xmm5, xmm2
movaps xmm1, xmm2
shufps xmm1, xmm2, 0xff
mulss xmm1, dword [edi + 0x1500]
movups xmmword [ebp - 0x7c], xmm2
jbe 0x1002f540
xorps xmm0, xmm0
jmp 0x1002f547
movaps xmm0, xmm3
minss xmm0, xmm2
movss xmm4, dword [0x100b597c]
movss xmm6, dword [0x100b57e8]
movss xmm2, dword [ebp - 0x78]
comiss xmm5, xmm2
mulss xmm0, xmm4
addss xmm0, xmm6
cvttss2si edx, xmm0
jbe 0x1002f572
xorps xmm0, xmm0
jmp 0x1002f579
movaps xmm0, xmm3
minss xmm0, xmm2
movss xmm2, dword [ebp - 0x74]
mulss xmm0, xmm4
addss xmm0, xmm6
cvttss2si eax, xmm0
shl eax, 8
or edx, eax
comiss xmm5, xmm2
jbe 0x1002f599
xorps xmm0, xmm0
jmp 0x1002f5a0
movaps xmm0, xmm3
minss xmm0, xmm2
mulss xmm0, xmm4
addss xmm0, xmm6
cvttss2si eax, xmm0
shl eax, 0x10
or edx, eax
comiss xmm5, xmm1
jbe 0x1002f5bb
xorps xmm0, xmm0
jmp 0x1002f5c2
movaps xmm0, xmm3
minss xmm0, xmm1
mulss xmm0, xmm4
addss xmm0, xmm6
cvttss2si eax, xmm0
shl eax, 0x18
or eax, edx
mov edx, dword [ebx + 0x10]
mov dword [edx + ecx*4], eax
inc ecx
mov dword [ebp - 0x1c], ecx
cmp ecx, dword [ebx + 0xc]
jl 0x1002f140
jmp 0x1002f5f1
mov edi, dword [0x100c7bb8]
xorps xmm5, xmm5
xor ecx, ecx
mov dword [ebp - 0x24], ecx
cmp dword [ebp - 0x2c], ecx
jbe 0x1002f945
nop
mov edx, dword [ebp - 8]
movss xmm4, dword [edx + 0xc]
movss xmm3, dword [edx + 0x10]
movaps xmm1, xmm4
movaps xmm2, xmm3
addss xmm1, dword [edx + 0x14]
addss xmm2, dword [edx + 0x18]
test ecx, ecx
jne 0x1002f65c
movd xmm6, esi
movaps xmm0, xmm3
subss xmm0, dword [0x100b590c]
addss xmm3, dword [0x100b590c]
cvtdq2ps xmm6, xmm6
movss dword [ebp - 0x48], xmm0
addss xmm4, xmm6
movss dword [ebp - 0x40], xmm3
subss xmm1, xmm6
movss dword [ebp - 0x4c], xmm4
movss dword [ebp - 0x44], xmm1
jmp 0x1002f721
cmp ecx, 1
jne 0x1002f69c
movd xmm6, esi
movaps xmm0, xmm1
subss xmm0, dword [0x100b590c]
addss xmm1, dword [0x100b590c]
cvtdq2ps xmm6, xmm6
movss dword [ebp - 0x4c], xmm0
addss xmm3, xmm6
movss dword [ebp - 0x44], xmm1
subss xmm2, xmm6
movss dword [ebp - 0x48], xmm3
movss dword [ebp - 0x40], xmm2
jmp 0x1002f721
cmp ecx, 2
jne 0x1002f6d9
movd xmm6, esi
movaps xmm0, xmm2
subss xmm0, dword [0x100b590c]
addss xmm2, dword [0x100b590c]
cvtdq2ps xmm6, xmm6
movss dword [ebp - 0x48], xmm0
addss xmm4, xmm6
movss dword [ebp - 0x40], xmm2
subss xmm1, xmm6
movss dword [ebp - 0x4c], xmm4
movss dword [ebp - 0x44], xmm1
jmp 0x1002f721
cmp ecx, 3
jne 0x1002f716
movaps xmm0, xmm4
subss xmm0, dword [0x100b590c]
addss xmm4, dword [0x100b590c]
movss dword [ebp - 0x4c], xmm0
movd xmm0, esi
cvtdq2ps xmm0, xmm0
movss dword [ebp - 0x44], xmm4
addss xmm3, xmm0
subss xmm2, xmm0
movss dword [ebp - 0x48], xmm3
movss dword [ebp - 0x40], xmm2
jmp 0x1002f721
movaps xmm0, xmmword [0x100b5b90]
movups xmmword [ebp - 0x4c], xmm0
lea eax, [ecx + 4]
mov esi, 4
mov ecx, dword [edx + 0x1c0]
lea edi, [ebp - 0x3c]
mov dword [ebp - 0x3c], eax
mov eax, dword [edx + 0x1c8]
mov edx, dword [eax + ecx*4 - 4]
not edx
movzx eax, byte [edi]
lea edi, [edi + 1]
movzx ecx, dl
xor ecx, eax
shr edx, 8
xor edx, dword [ecx*4 + 0x100ace68]
sub esi, 1
jne 0x1002f741
mov edi, dword [0x100c7bb8]
not edx
mov esi, dword [ebp - 0x28]
cmp dword [edi + 0x19ac], edx
jne 0x1002f774
mov dword [edi + 0x19b4], edx
cmp dword [edi + 0x19b0], edx
jne 0x1002f783
mov byte [edi + 0x19c0], 1
push 0x20
lea eax, [ebp - 2]
push eax
lea eax, [ebp - 1]
push eax
lea ecx, [ebp - 0x4c]
call fcn.10046690
mov edx, dword [ebp - 0x14]
add esp, 0xc
cmp byte [ebp - 1], 0
je 0x1002f7b2
movss xmm0, dword [edx + 0x19a4]
comiss xmm0, dword [0x100b57ac]
ja 0x1002f7bc
cmp byte [ebp - 2], 0
je 0x1002f932
mov ecx, dword [ebp - 0x24]
xorps xmm5, xmm5
mov eax, ecx
and eax, 1
or eax, 2
cmp byte [ebp - 2], 0
mov dword [edx + 0x1c64], eax
je 0x1002f938
mov eax, dword [ebx + 8]
xorps xmm4, xmm4
movss dword [ebp - 0x1c], xmm4
movss dword [ebp - 0x18], xmm5
mov dword [eax], ecx
mov eax, dword [ebp - 8]
movss xmm6, dword [eax + 0xc]
movss xmm7, dword [eax + 0x10]
movaps xmm0, xmm6
movaps xmm1, xmm7
test ecx, ecx
jne 0x1002f81d
movss xmm1, dword [edx + 0xe4]
subss xmm1, dword [edx + 0x19d0]
addss xmm1, dword [0x100b590c]
jmp 0x1002f858
cmp ecx, 1
jne 0x1002f82c
movss xmm5, dword [0x100b5820]
jmp 0x1002f840
cmp ecx, 2
jne 0x1002f83b
movss xmm4, dword [0x100b5820]
jmp 0x1002f803
cmp ecx, 3
jne 0x1002f862
movss xmm0, dword [edx + 0xe0]
subss xmm0, dword [edx + 0x19cc]
addss xmm0, dword [0x100b590c]
movss dword [ebp - 0x1c], xmm4
movss dword [ebp - 0x18], xmm5
movaps xmm3, xmm7
lea ecx, [ebp - 0x54]
addss xmm7, dword [eax + 0x18]
subss xmm3, xmm1
movaps xmm2, xmm6
addss xmm6, dword [eax + 0x14]
subss xmm2, xmm0
mov edx, eax
mulss xmm3, xmm4
mulss xmm2, xmm5
addss xmm3, xmm1
subss xmm1, xmm7
addss xmm2, xmm0
subss xmm0, xmm6
movss dword [ebp - 0x10], xmm3
mulss xmm1, xmm4
mulss xmm0, xmm5
addss xmm1, xmm7
movss dword [ebp - 0xc], xmm2
addss xmm0, xmm6
subss xmm1, xmm3
subss xmm0, xmm2
movss dword [ebp - 0x34], xmm1
push dword [ebp - 0x34]
movss dword [ebp - 0x38], xmm0
push dword [ebp - 0x38]
call fcn.1002ed20
movss xmm0, dword [ebp - 0x18]
add esp, 8
xorps xmm5, xmm5
ucomiss xmm0, xmm5
movss xmm0, dword [ebp - 0x54]
movss dword [ebp - 0x20], xmm0
lahf
test ah, 0x44
jp 0x1002f8ff
subss xmm0, dword [ebp - 0x38]
movss xmm1, dword [ebp - 0xc]
subss xmm1, xmm0
movss dword [ebp - 0xc], xmm1
movss xmm0, dword [ebp - 0x1c]
ucomiss xmm0, xmm5
movss xmm0, dword [ebp - 0x50]
movss dword [ebp - 0x18], xmm0
lahf
test ah, 0x44
jp 0x1002f92a
subss xmm0, dword [ebp - 0x34]
movss xmm1, dword [ebp - 0x10]
subss xmm1, xmm0
movss dword [ebp - 0x10], xmm1
mov edi, dword [0x100c7bb8]
jmp 0x1002f935
xorps xmm5, xmm5
mov ecx, dword [ebp - 0x24]
inc ecx
mov dword [ebp - 0x24], ecx
cmp ecx, dword [ebp - 0x2c]
jl 0x1002f600
mov eax, dword [edi + 0x198c]
mov ecx, dword [ebp - 0x14]
mov esi, dword [ebp - 8]
dec dword [eax + 0x1c0]
mov eax, dword [ecx + 0x1adc]
test eax, eax
je 0x1002fb59
cmp dword [eax + 0x2f0], esi
jne 0x1002fb59
mov eax, dword [ecx + 0x1ac4]
xorps xmm7, xmm7
xorps xmm6, xmm6
cmp eax, 3
jne 0x1002f9b9
cmp byte [ecx + 0xf9], 0
je 0x1002f9fb
xor edx, edx
lea ecx, [eax + 0xf]
call fcn.100351f0
lea ecx, [edx + 0x11]
movaps xmm6, xmm0
call fcn.100351f0
subss xmm6, xmm0
lea ecx, [edx + 0x14]
addss xmm6, xmm5
call fcn.100351f0
lea ecx, [edx + 0x13]
jmp 0x1002f9e6
cmp eax, 4
jne 0x1002f9fb
xor edx, edx
lea ecx, [eax + 1]
call fcn.100351f0
lea ecx, [edx + 4]
movaps xmm6, xmm0
call fcn.100351f0
subss xmm6, xmm0
lea ecx, [edx + 7]
addss xmm6, xmm5
call fcn.100351f0
lea ecx, [edx + 6]
xor edx, edx
movaps xmm7, xmm0
call fcn.100351f0
mov ecx, dword [ebp - 0x14]
subss xmm7, xmm0
addss xmm7, xmm5
ucomiss xmm6, xmm5
lahf
test ah, 0x44
jp 0x1002fa11
ucomiss xmm7, xmm5
lahf
test ah, 0x44
jnp 0x1002fb59
movss xmm1, dword [ecx + 0xa4]
movss xmm0, dword [ecx + 0x18]
mulss xmm0, dword [0x100b5998]
mov byte [ecx + 0x1af0], 0
minss xmm1, dword [ecx + 0xa8]
mov byte [ecx + 0x1aff], 1
movups xmm3, xmmword [edi + 0x17a8]
comiss xmm5, xmm3
mulss xmm1, xmm0
movaps xmm2, xmm3
shufps xmm2, xmm3, 0xff
mulss xmm2, dword [edi + 0x1500]
cvttss2si eax, xmm1
movups xmmword [ebp - 0x7c], xmm3
movd xmm0, eax
cvtdq2ps xmm0, xmm0
mulss xmm6, xmm0
mulss xmm7, xmm0
movss xmm0, dword [0x100b5820]
jbe 0x1002fa7f
xorps xmm1, xmm1
jmp 0x1002fa86
movaps xmm1, xmm0
minss xmm1, xmm3
movss xmm4, dword [0x100b597c]
movss xmm3, dword [ebp - 0x78]
comiss xmm5, xmm3
mulss xmm1, xmm4
addss xmm1, dword [0x100b57e8]
cvttss2si ecx, xmm1
jbe 0x1002faad
xorps xmm1, xmm1
jmp 0x1002fab4
movaps xmm1, xmm0
minss xmm1, xmm3
movss xmm3, dword [ebp - 0x74]
mulss xmm1, xmm4
addss xmm1, dword [0x100b57e8]
cvttss2si eax, xmm1
shl eax, 8
or ecx, eax
comiss xmm5, xmm3
jbe 0x1002fad8
xorps xmm1, xmm1
jmp 0x1002fadf
movaps xmm1, xmm0
minss xmm1, xmm3
movss xmm3, dword [0x100b57e8]
mulss xmm1, xmm4
addss xmm1, xmm3
cvttss2si eax, xmm1
shl eax, 0x10
or ecx, eax
comiss xmm5, xmm2
jbe 0x1002fb02
xorps xmm0, xmm0
jmp 0x1002fb06
minss xmm0, xmm2
mulss xmm0, xmm4
mov edx, esi
addss xmm0, xmm3
cvttss2si eax, xmm0
shl eax, 0x18
or eax, ecx
mov ecx, dword [ebx + 0x10]
mov dword [ecx], eax
lea ecx, [ebp - 0x54]
addss xmm7, dword [esi + 0x20]
addss xmm6, dword [esi + 0x1c]
movss dword [ebp - 0x40], xmm7
push dword [ebp - 0x40]
movss dword [ebp - 0x44], xmm6
push dword [ebp - 0x44]
call fcn.1002ed20
mov edi, dword [0x100c7bb8]
add esp, 8
movss xmm0, dword [eax]
movss dword [ebp - 0x20], xmm0
movss xmm0, dword [eax + 4]
jmp 0x1002fb5e
movss xmm0, dword [ebp - 0x18]
movss xmm1, dword [ebp - 0x20]
xorps xmm2, xmm2
movss xmm3, dword [0x100b59bc]
ucomiss xmm1, xmm3
lahf
test ah, 0x44
jnp 0x1002fb9c
test dword [esi + 8], 0x100
movss dword [esi + 0x1c], xmm1
movss dword [esi + 0x20], xmm0
jne 0x1002fb9c
comiss xmm2, dword [edi + 0x2c40]
jb 0x1002fb9c
mov eax, dword [edi + 0x1c]
mov dword [edi + 0x2c40], eax
movss xmm0, dword [ebp - 0xc]
ucomiss xmm0, xmm3
lahf
test ah, 0x44
jnp 0x1002fbe6
test dword [esi + 8], 0x100
cvttss2si eax, xmm0
movd xmm1, eax
cvttss2si eax, dword [ebp - 0x10]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [esi + 0xc], xmm1
movss dword [esi + 0x10], xmm0
jne 0x1002fbe6
comiss xmm2, dword [edi + 0x2c40]
jb 0x1002fbe6
mov eax, dword [edi + 0x1c]
mov dword [edi + 0x2c40], eax
mov eax, dword [esi + 0x1c]
mov ecx, dword [esi + 0x20]
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], ecx
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret