Function at 0x10009210
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, 0x88
mov eax, dword [ebx + 8]
mov dword [ebp - 0x40], edx
mov edx, ecx
push esi
push edi
mov edi, dword [0x1003d7b8]
test byte [edx + 8], 0x42
mov dword [ebp - 0x48], eax
mov eax, dword [ebx + 0x10]
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x38], edi
jne 0x10009e28
cmp dword [edx + 0x90], 0
jg 0x10009e28
cmp dword [edx + 0x94], 0
jg 0x10009e28
cmp byte [edx + 0x7b], 0
je 0x10009e28
movss xmm2, dword [edi + 0x18bc]
xor eax, eax
movss xmm0, dword [edx + 0x44]
movaps xmm1, xmm2
addss xmm0, dword [0x10039b38]
mulss xmm2, dword [0x10039af4]
mov esi, 4
mov cl, byte [edi + 0xaf]
mulss xmm1, dword [0x10039b3c]
test cl, cl
addss xmm0, xmm2
cmovne eax, esi
mov dword [ebp - 0x58], eax
maxss xmm1, xmm0
cvttss2si eax, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [0x10039b24]
cvttss2si esi, xmm0
mov dword [ebp - 0x54], esi
je 0x100092e4
movss xmm2, dword [0x10039b64]
jmp 0x100092e7
xorps xmm2, xmm2
mov edi, dword [edi + 0x199c]
mov ecx, str.RESIZE
movss xmm0, dword [0x10039bc8]
movss dword [ebp - 0x18], xmm2
movss dword [ebp - 0x20], xmm0
mov edx, dword [edi + 0x1c4]
mov eax, dword [edi + 0x1cc]
movss dword [ebp - 0x24], xmm0
movss dword [ebp - 0x3c], xmm0
movss dword [ebp - 0x10], xmm0
push dword [eax + edx*4 - 4]
xor edx, edx
call fcn.10002660
add esp, 4
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
lea ecx, [edi + 0x1c4]
push eax
call fcn.10013260
xor ecx, ecx
mov dword [ebp - 0x14], ecx
cmp dword [ebx + 0xc], ecx
jle 0x1000980e
nop dword [eax]
mov eax, dword [ebp - 0x1c]
lea edx, [ecx + ecx*2]
xorps xmm6, xmm6
mov dword [ebp - 8], edx
cvtsi2ss xmm6, esi
movss xmm0, dword [eax + 0xc]
movss xmm1, dword [eax + 0x10]
movaps xmm3, xmm0
addss xmm3, dword [eax + 0x14]
movss xmm2, dword [eax + 0x18]
addss xmm2, xmm1
subss xmm3, xmm0
subss xmm2, xmm1
mulss xmm3, dword [edx*8 + 0x1003d048]
mulss xmm2, dword [edx*8 + 0x1003d04c]
addss xmm3, xmm0
movss xmm0, dword [edx*8 + 0x1003d050]
movaps xmm5, xmm0
mulss xmm0, dword [ebp - 0x18]
addss xmm2, xmm1
mulss xmm5, xmm6
movss xmm1, dword [edx*8 + 0x1003d054]
movaps xmm4, xmm1
mulss xmm1, dword [ebp - 0x18]
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 0x100093fa
movss dword [ebp - 0x6c], xmm5
movss dword [ebp - 0x64], xmm3
comiss xmm2, xmm4
jbe 0x10009409
movss dword [ebp - 0x68], xmm4
movss dword [ebp - 0x60], xmm2
mov dword [ebp - 4], ecx
lea esi, [ebp - 4]
mov ecx, dword [eax + 0x1c4]
mov edi, 4
mov eax, dword [eax + 0x1cc]
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 + 0x100357d8]
sub edi, 1
jne 0x10009426
mov edi, dword [0x1003d7b8]
not edx
mov esi, dword [ebp - 0x54]
cmp dword [edi + 0x19bc], edx
jne 0x10009459
mov dword [edi + 0x19c4], edx
cmp dword [edi + 0x19c0], edx
jne 0x10009468
mov byte [edi + 0x19d0], 1
push 0x2020
lea eax, [ebp - 0xa]
push eax
lea eax, [ebp - 9]
push eax
lea ecx, [ebp - 0x6c]
call fcn.10023030
mov dl, byte [ebp - 9]
add esp, 0xc
test dl, dl
jne 0x10009492
mov al, byte [ebp - 0xa]
test al, al
je 0x100096ff
mov edx, dword [ebp - 0x14]
mov eax, edx
mov ecx, dword [ebp - 0x38]
not eax
and eax, 1
add eax, 5
mov dword [ecx + 0x1d04], eax
mov al, byte [ebp - 0xa]
test al, al
je 0x10009704
cmp byte [ecx + 0x3dd], 0
je 0x10009568
test edx, edx
jne 0x10009568
mov eax, dword [ebp - 0x40]
lea ecx, [ebp - 0x84]
mov edx, dword [ebp - 0x1c]
push dword [eax + 4]
push dword [eax]
call fcn.10008e10
mov edi, dword [0x1003d7b8]
add esp, 8
movss xmm3, dword [eax]
mov ecx, dword [edi + 0x19bc]
test ecx, ecx
movss xmm2, dword [eax + 4]
setne al
movss dword [ebp - 0x3c], xmm3
movss dword [ebp - 0x10], xmm2
mov byte [edi + 0x19cc], al
test ecx, ecx
je 0x10009522
mov dword [edi + 0x19c8], 0
mov word [edi + 0x19ce], 0
mov ecx, dword [ebp - 0x14]
mov dword [edi + 0x19bc], 0
mov dword [edi + 0x19d4], 0
mov dword [edi + 0x19d8], 0
mov byte [edi + 0x19cd], 0
mov dword [edi + 0x19e4], 0
cmp byte [ebp - 0xa], 0
je 0x10009727
mov eax, 0x20
jmp 0x10009734
mov edi, dword [ebp - 8]
movss xmm0, dword [ebp - 0x18]
movd xmm4, esi
cvtdq2ps xmm4, xmm4
mov eax, dword [ebp - 0x1c]
mov edx, eax
movss xmm1, dword [edi*8 + 0x1003d050]
xorps xmm4, xmmword [0x10039f40]
movss xmm3, dword [edi*8 + 0x1003d054]
movaps xmm7, xmm4
movss xmm5, dword [edi*8 + 0x1003d048]
movaps xmm2, xmm3
mulss xmm2, dword [ebp - 0x18]
mulss xmm0, xmm1
movss xmm6, dword [edi*8 + 0x1003d04c]
mulss xmm7, xmm1
mulss xmm4, xmm3
subss xmm7, xmm0
movss xmm3, dword [eax + 0xc]
subss xmm4, xmm2
mulss xmm7, xmm5
mulss xmm4, xmm6
addss xmm7, xmm0
movss xmm0, dword [ecx + 0xe0]
subss xmm0, dword [ecx + 0x19dc]
addss xmm4, xmm2
movss xmm2, dword [eax + 0x18]
addss xmm2, dword [eax + 0x10]
addss xmm7, xmm0
movss xmm0, dword [ecx + 0xe4]
subss xmm0, dword [ecx + 0x19e0]
lea ecx, [ebp - 0x50]
subss xmm3, xmm7
addss xmm0, xmm4
movss xmm4, dword [eax + 0x10]
mulss xmm3, xmm5
subss xmm4, xmm0
movss dword [ebp - 4], xmm0
addss xmm3, xmm7
mulss xmm4, xmm6
movss dword [ebp - 0x20], xmm3
addss xmm4, xmm0
movss xmm0, dword [eax + 0x14]
addss xmm0, dword [eax + 0xc]
movss dword [ebp - 0x24], xmm4
subss xmm7, xmm0
mulss xmm7, xmm5
addss xmm7, xmm0
movss xmm0, dword [ebp - 4]
subss xmm0, xmm2
subss xmm7, xmm3
mulss xmm0, xmm6
addss xmm0, xmm2
movss dword [ebp - 0x2c], xmm7
movss dword [ebp - 8], xmm7
subss xmm0, xmm4
movss dword [ebp - 0x28], xmm0
push dword [ebp - 0x28]
movss dword [ebp - 4], xmm0
push dword [ebp - 0x2c]
call fcn.10008e10
movss xmm0, dword [edi*8 + 0x1003d048]
add esp, 8
movss xmm3, dword [ebp - 0x50]
xorps xmm5, xmm5
ucomiss xmm0, xmm5
movss dword [ebp - 0x3c], xmm3
lahf
test ah, 0x44
jp 0x100096c2
movss xmm1, dword [ebp - 0x20]
movaps xmm0, xmm3
subss xmm0, dword [ebp - 8]
subss xmm1, xmm0
movss dword [ebp - 0x20], xmm1
movss xmm0, dword [edi*8 + 0x1003d04c]
movss xmm2, dword [ebp - 0x4c]
ucomiss xmm0, xmm5
movss dword [ebp - 0x10], xmm2
lahf
test ah, 0x44
jp 0x100096f4
movss xmm1, dword [ebp - 0x24]
movaps xmm0, xmm2
subss xmm0, dword [ebp - 4]
subss xmm1, xmm0
movss dword [ebp - 0x24], xmm1
mov edi, dword [0x1003d7b8]
mov al, byte [ebp - 0xa]
jmp 0x10009707
xorps xmm5, xmm5
jmp 0x1000970a
xorps xmm5, xmm5
mov dl, byte [ebp - 9]
mov ecx, dword [ebp - 0x14]
test ecx, ecx
je 0x10009554
test al, al
jne 0x1000955e
test dl, dl
je 0x100097ff
jmp 0x1000972a
mov dl, byte [ebp - 9]
xor eax, eax
test dl, dl
setne al
add eax, 0x1e
movss xmm3, dword [0x10039b38]
add eax, eax
xorps xmm5, xmm5
movups xmm2, xmmword [edi + eax*8 + 0x15b8]
comiss xmm5, xmm2
movaps xmm1, xmm2
shufps xmm1, xmm2, 0xff
mulss xmm1, dword [edi + 0x1510]
movups xmmword [ebp - 0x7c], xmm2
jbe 0x10009766
xorps xmm0, xmm0
jmp 0x1000976d
movaps xmm0, xmm3
minss xmm0, xmm2
movss xmm4, dword [0x10039ba4]
movss xmm6, dword [0x10039b0c]
movss xmm2, dword [ebp - 0x78]
comiss xmm5, xmm2
mulss xmm0, xmm4
addss xmm0, xmm6
cvttss2si edx, xmm0
jbe 0x10009798
xorps xmm0, xmm0
jmp 0x1000979f
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 0x100097bf
xorps xmm0, xmm0
jmp 0x100097c6
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 0x100097e1
xorps xmm0, xmm0
jmp 0x100097e8
movaps xmm0, xmm3
minss xmm0, xmm1
mulss xmm0, xmm4
addss xmm0, xmm6
cvttss2si eax, xmm0
shl eax, 0x18
or eax, edx
mov edx, dword [ebp - 0x5c]
mov dword [edx + ecx*4], eax
inc ecx
mov dword [ebp - 0x14], ecx
cmp ecx, dword [ebx + 0xc]
jl 0x10009350
jmp 0x10009817
mov edi, dword [0x1003d7b8]
xorps xmm5, xmm5
xor ecx, ecx
mov dword [ebp - 0x18], ecx
cmp dword [ebp - 0x58], ecx
jbe 0x10009b7c
nop word [eax + eax]
mov edx, dword [ebp - 0x1c]
movss xmm4, dword [edx + 0xc]
movss xmm3, dword [edx + 0x10]
movss xmm1, dword [edx + 0x14]
movss xmm2, dword [edx + 0x18]
addss xmm1, xmm4
addss xmm2, xmm3
test ecx, ecx
jne 0x1000988e
movd xmm6, esi
movaps xmm0, xmm3
subss xmm0, dword [0x10039b64]
addss xmm3, dword [0x10039b64]
cvtdq2ps xmm6, xmm6
movss dword [ebp - 0x30], xmm0
addss xmm4, xmm6
movss dword [ebp - 0x28], xmm3
subss xmm1, xmm6
movss dword [ebp - 0x34], xmm4
movss dword [ebp - 0x2c], xmm1
jmp 0x10009953
cmp ecx, 1
jne 0x100098ce
movd xmm6, esi
movaps xmm0, xmm1
subss xmm0, dword [0x10039b64]
addss xmm1, dword [0x10039b64]
cvtdq2ps xmm6, xmm6
movss dword [ebp - 0x34], xmm0
addss xmm3, xmm6
movss dword [ebp - 0x2c], xmm1
subss xmm2, xmm6
movss dword [ebp - 0x30], xmm3
movss dword [ebp - 0x28], xmm2
jmp 0x10009953
cmp ecx, 2
jne 0x1000990b
movd xmm6, esi
movaps xmm0, xmm2
subss xmm0, dword [0x10039b64]
addss xmm2, dword [0x10039b64]
cvtdq2ps xmm6, xmm6
movss dword [ebp - 0x30], xmm0
addss xmm4, xmm6
movss dword [ebp - 0x28], xmm2
subss xmm1, xmm6
movss dword [ebp - 0x34], xmm4
movss dword [ebp - 0x2c], xmm1
jmp 0x10009953
cmp ecx, 3
jne 0x10009948
movaps xmm0, xmm4
subss xmm0, dword [0x10039b64]
addss xmm4, dword [0x10039b64]
movss dword [ebp - 0x34], xmm0
movd xmm0, esi
cvtdq2ps xmm0, xmm0
movss dword [ebp - 0x2c], xmm4
addss xmm3, xmm0
subss xmm2, xmm0
movss dword [ebp - 0x30], xmm3
movss dword [ebp - 0x28], xmm2
jmp 0x10009953
movaps xmm0, xmmword [0x10039f80]
movups xmmword [ebp - 0x34], xmm0
lea eax, [ecx + 4]
mov esi, 4
mov ecx, dword [edx + 0x1c4]
lea edi, [ebp - 8]
mov dword [ebp - 8], eax
mov eax, dword [edx + 0x1cc]
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 + 0x100357d8]
sub esi, 1
jne 0x10009973
mov edi, dword [0x1003d7b8]
not edx
mov esi, dword [ebp - 0x54]
cmp dword [edi + 0x19bc], edx
jne 0x100099a6
mov dword [edi + 0x19c4], edx
cmp dword [edi + 0x19c0], edx
jne 0x100099b5
mov byte [edi + 0x19d0], 1
push 0x20
lea eax, [ebp - 9]
push eax
lea eax, [ebp - 0xa]
push eax
lea ecx, [ebp - 0x34]
call fcn.10023030
mov edx, dword [ebp - 0x38]
add esp, 0xc
cmp byte [ebp - 0xa], 0
je 0x100099e4
movss xmm0, dword [edx + 0x19b4]
comiss xmm0, dword [0x10039ae4]
ja 0x100099ee
cmp byte [ebp - 9], 0
je 0x10009b69
mov ecx, dword [ebp - 0x18]
xorps xmm5, xmm5
mov eax, ecx
and eax, 1
add eax, 3
cmp byte [ebp - 9], 0
mov dword [edx + 0x1d04], eax
je 0x10009b6f
mov eax, dword [ebp - 0x48]
xorps xmm6, xmm6
movss dword [ebp - 0x14], xmm5
movss dword [ebp - 0x10], xmm6
mov dword [eax], ecx
mov eax, dword [ebp - 0x1c]
movss xmm7, dword [eax + 0xc]
movss xmm0, dword [eax + 0x10]
movaps xmm1, xmm7
movaps xmm3, xmm0
test ecx, ecx
jne 0x10009a4f
movss xmm3, dword [edx + 0xe4]
subss xmm3, dword [edx + 0x19e0]
addss xmm3, dword [0x10039b64]
jmp 0x10009a8a
cmp ecx, 1
jne 0x10009a5e
movss xmm6, dword [0x10039b38]
jmp 0x10009a72
cmp ecx, 2
jne 0x10009a6d
movss xmm5, dword [0x10039b38]
jmp 0x10009a35
cmp ecx, 3
jne 0x10009a94
movss xmm1, dword [edx + 0xe0]
subss xmm1, dword [edx + 0x19dc]
addss xmm1, dword [0x10039b64]
movss dword [ebp - 0x14], xmm5
movss dword [ebp - 0x10], xmm6
movaps xmm4, xmm0
lea ecx, [ebp - 0x50]
movss xmm0, dword [eax + 0x18]
subss xmm4, xmm3
addss xmm0, dword [eax + 0x10]
movaps xmm2, xmm7
mov edx, eax
addss xmm7, dword [eax + 0x14]
subss xmm2, xmm1
mulss xmm4, xmm5
addss xmm4, xmm3
mulss xmm2, xmm6
subss xmm3, xmm0
addss xmm2, xmm1
subss xmm1, xmm7
movss dword [ebp - 0x24], xmm4
mulss xmm3, xmm5
movss dword [ebp - 0x20], xmm2
mulss xmm1, xmm6
addss xmm3, xmm0
addss xmm1, xmm7
subss xmm3, xmm4
subss xmm1, xmm2
movss dword [ebp - 0x40], xmm3
push dword [ebp - 0x40]
movss dword [ebp - 0x44], xmm1
push dword [ebp - 0x44]
call fcn.10008e10
movss xmm0, dword [ebp - 0x10]
add esp, 8
xorps xmm5, xmm5
ucomiss xmm0, xmm5
movss xmm0, dword [ebp - 0x50]
movss dword [ebp - 0x3c], xmm0
lahf
test ah, 0x44
jp 0x10009b36
subss xmm0, dword [ebp - 0x44]
movss xmm1, dword [ebp - 0x20]
subss xmm1, xmm0
movss dword [ebp - 0x20], xmm1
movss xmm0, dword [ebp - 0x14]
ucomiss xmm0, xmm5
movss xmm0, dword [ebp - 0x4c]
movss dword [ebp - 0x10], xmm0
lahf
test ah, 0x44
jp 0x10009b61
subss xmm0, dword [ebp - 0x40]
movss xmm1, dword [ebp - 0x24]
subss xmm1, xmm0
movss dword [ebp - 0x24], xmm1
mov edi, dword [0x1003d7b8]
jmp 0x10009b6c
xorps xmm5, xmm5
mov ecx, dword [ebp - 0x18]
inc ecx
mov dword [ebp - 0x18], ecx
cmp ecx, dword [ebp - 0x58]
jl 0x10009830
mov eax, dword [edi + 0x199c]
mov esi, dword [ebp - 0x1c]
dec dword [eax + 0x1c4]
mov eax, dword [ebp - 0x38]
mov ecx, dword [eax + 0x1aec]
test ecx, ecx
je 0x10009d8f
cmp dword [ecx + 0x2e8], esi
jne 0x10009d8f
mov ecx, dword [eax + 0x1ad4]
cmp ecx, 3
jne 0x10009be6
cmp byte [eax + 0xf9], 0
je 0x10009d8f
xor edx, edx
lea ecx, [edx + 0x15]
call fcn.1000fca0
lea ecx, [edx + 0x14]
movaps xmm6, xmm0
call fcn.1000fca0
lea ecx, [edx + 0x13]
subss xmm6, xmm0
call fcn.1000fca0
lea ecx, [edx + 0x12]
jmp 0x10009c13
cmp ecx, 4
jne 0x10009d8f
xor edx, edx
lea ecx, [edx + 7]
call fcn.1000fca0
lea ecx, [edx + 6]
movaps xmm6, xmm0
call fcn.1000fca0
lea ecx, [edx + 5]
subss xmm6, xmm0
call fcn.1000fca0
lea ecx, [edx + 4]
xor edx, edx
movaps xmm7, xmm0
call fcn.1000fca0
subss xmm7, xmm0
addss xmm6, xmm5
addss xmm7, xmm5
ucomiss xmm7, xmm5
lahf
test ah, 0x44
jp 0x10009c3f
ucomiss xmm6, xmm5
lahf
test ah, 0x44
jnp 0x10009d8f
mov ecx, dword [ebp - 0x38]
movss xmm1, dword [ecx + 0xa4]
movss xmm0, dword [ecx + 0x18]
mulss xmm0, dword [0x10039ba8]
mov byte [ecx + 0x1b00], 0
minss xmm1, dword [ecx + 0xa8]
mov byte [ecx + 0x1b0f], 1
movups xmm3, xmmword [edi + 0x17b8]
comiss xmm5, xmm3
mulss xmm1, xmm0
movaps xmm2, xmm3
shufps xmm2, xmm3, 0xff
mulss xmm2, dword [edi + 0x1510]
cvttss2si eax, xmm1
movups xmmword [ebp - 0x7c], xmm3
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movaps xmm4, xmm0
mulss xmm0, xmm6
mulss xmm4, xmm7
movss dword [ebp - 0x48], xmm0
movss xmm0, dword [0x10039b38]
jbe 0x10009cb8
xorps xmm1, xmm1
jmp 0x10009cbf
movaps xmm1, xmm0
minss xmm1, xmm3
movss xmm6, dword [0x10039ba4]
movss xmm7, dword [0x10039b0c]
movss xmm3, dword [ebp - 0x78]
comiss xmm5, xmm3
mulss xmm1, xmm6
addss xmm1, xmm7
cvttss2si ecx, xmm1
jbe 0x10009cea
xorps xmm1, xmm1
jmp 0x10009cf1
movaps xmm1, xmm0
minss xmm1, xmm3
movss xmm3, dword [ebp - 0x74]
mulss xmm1, xmm6
addss xmm1, xmm7
cvttss2si eax, xmm1
shl eax, 8
or ecx, eax
comiss xmm5, xmm3
jbe 0x10009d11
xorps xmm1, xmm1
jmp 0x10009d18
movaps xmm1, xmm0
minss xmm1, xmm3
mulss xmm1, xmm6
addss xmm1, xmm7
cvttss2si eax, xmm1
shl eax, 0x10
or ecx, eax
comiss xmm5, xmm2
jbe 0x10009d33
xorps xmm0, xmm0
jmp 0x10009d37
minss xmm0, xmm2
mulss xmm0, xmm6
mov edx, esi
addss xmm0, xmm7
cvttss2si eax, xmm0
shl eax, 0x18
or eax, ecx
mov ecx, dword [ebp - 0x5c]
mov dword [ecx], eax
lea ecx, [ebp - 0x50]
movss xmm0, dword [esi + 0x20]
addss xmm0, dword [ebp - 0x48]
addss xmm4, dword [esi + 0x1c]
movss dword [ebp - 0x28], xmm0
push dword [ebp - 0x28]
movss dword [ebp - 0x2c], xmm4
push dword [ebp - 0x2c]
call fcn.10008e10
mov edi, dword [0x1003d7b8]
add esp, 8
movss xmm0, dword [eax]
movss dword [ebp - 0x3c], xmm0
movss xmm0, dword [eax + 4]
jmp 0x10009d94
movss xmm0, dword [ebp - 0x10]
movss xmm1, dword [ebp - 0x3c]
xorps xmm2, xmm2
movss xmm3, dword [0x10039bc8]
ucomiss xmm1, xmm3
lahf
test ah, 0x44
jnp 0x10009dd2
test dword [esi + 8], 0x100
movss dword [esi + 0x1c], xmm1
movss dword [esi + 0x20], xmm0
jne 0x10009dd2
comiss xmm2, dword [edi + 0x2ce4]
jb 0x10009dd2
mov eax, dword [edi + 0x1c]
mov dword [edi + 0x2ce4], eax
movss xmm0, dword [ebp - 0x20]
ucomiss xmm0, xmm3
lahf
test ah, 0x44
jnp 0x10009e1c
test dword [esi + 8], 0x100
cvttss2si eax, xmm0
movd xmm1, eax
cvttss2si eax, dword [ebp - 0x24]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [esi + 0xc], xmm1
movss dword [esi + 0x10], xmm0
jne 0x10009e1c
comiss xmm2, dword [edi + 0x2ce4]
jb 0x10009e1c
mov eax, dword [edi + 0x1c]
mov dword [edi + 0x2ce4], eax
mov eax, dword [esi + 0x1c]
mov dword [esi + 0x14], eax
mov eax, dword [esi + 0x20]
mov dword [esi + 0x18], eax
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret