Function at 0x10009810
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 [0x10039040]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebx + 8]
push esi
push edi
mov edi, ecx
mov dword [ebp - 0xc], edx
mov edx, dword [0x10039928]
mov dword [ebp - 0x78], eax
mov eax, dword [ebx + 0x10]
test byte [edi + 8], 0x42
mov dword [ebp - 0x48], edi
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x34], edx
jne 0x1000a596
cmp byte [edi + 0xa4], 0
jg 0x1000a596
cmp byte [edi + 0xa5], 0
jg 0x1000a596
cmp byte [edi + 0x8b], 0
je 0x1000a596
movss xmm2, dword [edx + 0x1930]
xor eax, eax
movss xmm0, dword [edi + 0x44]
movaps xmm1, xmm2
addss xmm0, dword [0x10036c50]
mulss xmm2, dword [0x10036c00]
mov esi, 4
mov cl, byte [edx + 0xb4]
mulss xmm1, dword [0x10036c5c]
test cl, cl
mov byte [ebp - 0x27], 0
addss xmm0, xmm2
cmovne eax, esi
mov dword [ebp - 0x60], eax
maxss xmm1, xmm0
cvttss2si eax, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [0x10036c34]
cvttss2si esi, xmm0
mov dword [ebp - 0x4c], esi
je 0x100098f5
movss xmm2, dword [0x10036cb4]
jmp 0x100098f8
xorps xmm2, xmm2
movss xmm0, dword [0x10036d0c]
mov ecx, str.RESIZE
mov dword [edi + 0x144], 1
mov edi, dword [edx + 0x1b9c]
movss dword [ebp - 0x50], xmm2
movss dword [ebp - 0x40], xmm0
movss dword [ebp - 0x2c], xmm0
mov edx, dword [edi + 0xc4]
mov eax, dword [edi + 0xcc]
movss dword [ebp - 0x3c], xmm0
movss dword [ebp - 0x38], xmm0
push dword [eax + edx*4 - 4]
xor edx, edx
call fcn.10003760
add esp, 4
mov dword [ebp - 0x44], eax
lea eax, [ebp - 0x44]
lea ecx, [edi + 0xc4]
push eax
call fcn.100141a0
xor edx, edx
mov dword [ebp - 0x30], edx
cmp dword [ebx + 0xc], edx
jle 0x10009e66
mov edi, dword [ebp - 0x48]
nop dword [eax + eax]
movss xmm0, dword [edi + 0xc]
lea ecx, [edx + edx*2]
movss xmm1, dword [edi + 0x10]
movaps xmm3, xmm0
addss xmm3, dword [edi + 0x14]
movaps xmm2, xmm1
mov dword [ebp - 0x44], ecx
addss xmm2, dword [edi + 0x18]
xorps xmm6, xmm6
cvtsi2ss xmm6, esi
subss xmm3, xmm0
subss xmm2, xmm1
mulss xmm3, dword [ecx*8 + 0x10039368]
mulss xmm2, dword [ecx*8 + 0x1003936c]
addss xmm3, xmm0
movss xmm0, dword [ecx*8 + 0x10039370]
movaps xmm5, xmm0
mulss xmm0, dword [ebp - 0x50]
addss xmm2, xmm1
mulss xmm5, xmm6
movss xmm1, dword [ecx*8 + 0x10039374]
movaps xmm4, xmm1
mulss xmm1, dword [ebp - 0x50]
mulss xmm4, xmm6
addss xmm5, xmm3
subss xmm3, xmm0
addss xmm4, xmm2
subss xmm2, xmm1
movss dword [ebp - 0x6c], xmm5
comiss xmm3, xmm5
movss dword [ebp - 0x74], xmm3
movss dword [ebp - 0x70], xmm2
movss dword [ebp - 0x68], xmm4
jbe 0x10009a16
movss dword [ebp - 0x74], xmm5
movss dword [ebp - 0x6c], xmm3
comiss xmm2, xmm4
jbe 0x10009a25
movss dword [ebp - 0x70], xmm4
movss dword [ebp - 0x68], xmm2
mov ecx, dword [edi + 0xc4]
lea esi, [ebp - 8]
mov eax, dword [edi + 0xcc]
mov edi, 4
mov dword [ebp - 8], edx
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 + 0x100326b0]
sub edi, 1
jne 0x10009a42
mov eax, dword [0x10039928]
not edx
mov esi, dword [ebp - 0x4c]
mov edi, dword [ebp - 0x48]
cmp dword [eax + 0x1bd4], edx
jne 0x10009a77
mov dword [eax + 0x1bd8], edx
cmp dword [eax + 0x1c0c], edx
jne 0x10009a86
mov byte [eax + 0x1c10], 1
push 0x40800
lea eax, [ebp - 0x25]
push eax
lea eax, [ebp - 0x26]
push eax
lea ecx, [ebp - 0x74]
call fcn.10026340
mov cl, byte [ebp - 0x26]
add esp, 0xc
test cl, cl
jne 0x10009ab0
mov al, byte [ebp - 0x25]
test al, al
je 0x10009d58
mov edx, dword [ebp - 0x30]
mov eax, edx
mov esi, dword [ebp - 0x34]
not eax
and eax, 1
add eax, 5
mov dword [esi + 0x1e40], eax
mov al, byte [ebp - 0x25]
mov esi, dword [ebp - 0x4c]
test al, al
je 0x10009d5b
mov eax, dword [ebp - 0x34]
cmp byte [eax + 0x3dd], 0
je 0x10009b27
test edx, edx
jne 0x10009b27
push dword [ebp - 0xc]
mov edx, edi
lea ecx, [ebp - 0x1c]
call fcn.10009250
add esp, 4
mov byte [ebp - 0x27], 1
movss xmm3, dword [eax]
movss xmm2, dword [eax + 4]
movss dword [ebp - 0x3c], xmm3
movss dword [ebp - 0x38], xmm2
call fcn.100058d0
mov edx, dword [ebp - 0x30]
cmp byte [ebp - 0x25], 0
je 0x10009d76
mov ecx, 0x20
jmp 0x10009d81
mov ecx, dword [ebp - 0x44]
movss xmm0, dword [0x10036c50]
mov edx, dword [ebx + 0x14]
movss xmm3, dword [0x10036d2c]
movss xmm1, dword [ecx*8 + 0x1003936c]
ucomiss xmm1, xmm0
lahf
test ah, 0x44
jp 0x10009b56
movss xmm7, dword [edx + 4]
jmp 0x10009b59
movaps xmm7, xmm3
movss xmm2, dword [ecx*8 + 0x10039368]
ucomiss xmm2, xmm0
lahf
test ah, 0x44
jp 0x10009b71
movss xmm5, dword [edx]
jmp 0x10009b74
movaps xmm5, xmm3
xorps xmm0, xmm0
ucomiss xmm1, xmm0
lahf
test ah, 0x44
jp 0x10009b94
movss xmm1, dword [edx + 0xc]
movss dword [ebp - 0x3c], xmm1
movss xmm1, dword [0x10036d0c]
jmp 0x10009ba1
movss xmm1, dword [0x10036d0c]
movss dword [ebp - 0x3c], xmm1
ucomiss xmm2, xmm0
lahf
test ah, 0x44
jp 0x10009bb6
movss xmm0, dword [edx + 8]
movss dword [ebp - 0x2c], xmm0
jmp 0x10009bbb
movss dword [ebp - 0x2c], xmm1
movss xmm1, dword [ecx*8 + 0x10039370]
xorps xmm4, xmm4
movss xmm3, dword [ecx*8 + 0x10039374]
movaps xmm0, xmm1
mulss xmm0, dword [ebp - 0x50]
movaps xmm2, xmm3
mov eax, dword [ebp - 0x34]
mulss xmm2, dword [ebp - 0x50]
cvtsi2ss xmm4, esi
xorps xmm4, xmmword [0x10036e90]
movaps xmm6, xmm4
mulss xmm4, xmm3
movss xmm3, dword [ecx*8 + 0x1003936c]
mulss xmm6, xmm1
movss xmm1, dword [ecx*8 + 0x10039368]
subss xmm4, xmm2
subss xmm6, xmm0
mulss xmm4, xmm3
mulss xmm6, xmm1
addss xmm4, xmm2
addss xmm6, xmm0
movss xmm0, dword [eax + 0xe4]
subss xmm0, dword [eax + 0x1bf8]
addss xmm6, xmm0
movss xmm0, dword [eax + 0xe8]
subss xmm0, dword [eax + 0x1bfc]
addss xmm0, xmm4
comiss xmm7, xmm0
ja 0x10009c59
movss xmm7, dword [ebp - 0x3c]
minss xmm7, xmm0
comiss xmm5, xmm6
ja 0x10009c67
movss xmm5, dword [ebp - 0x2c]
minss xmm5, xmm6
movss xmm0, dword [edi + 0xc]
lea eax, [ebp - 0x14]
movaps xmm2, xmm0
mov edx, edi
addss xmm0, dword [edi + 0x14]
subss xmm2, xmm5
push eax
mulss xmm2, xmm1
movss xmm1, dword [edi + 0x10]
movaps xmm4, xmm1
addss xmm1, dword [edi + 0x18]
subss xmm4, xmm7
addss xmm2, xmm5
subss xmm5, xmm0
mulss xmm4, xmm3
mulss xmm5, dword [ecx*8 + 0x10039368]
lea ecx, [ebp - 0x5c]
addss xmm4, xmm7
movss dword [ebp - 0x40], xmm2
subss xmm7, xmm1
addss xmm5, xmm0
movss dword [ebp - 0x2c], xmm4
mulss xmm7, xmm3
subss xmm5, xmm2
addss xmm7, xmm1
movss dword [ebp - 0x14], xmm5
subss xmm7, xmm4
movss dword [ebp - 0x10], xmm7
call fcn.10009250
mov ecx, dword [ebp - 0x44]
add esp, 4
movss xmm3, dword [ebp - 0x5c]
xorps xmm5, xmm5
movss dword [ebp - 0x3c], xmm3
movss xmm0, dword [ecx*8 + 0x10039368]
ucomiss xmm0, xmm5
lahf
test ah, 0x44
jp 0x10009d1b
movss xmm1, dword [ebp - 0x40]
movaps xmm0, xmm3
subss xmm0, dword [ebp - 0x14]
subss xmm1, xmm0
movss dword [ebp - 0x40], xmm1
movss xmm0, dword [ecx*8 + 0x1003936c]
movss xmm2, dword [ebp - 0x58]
ucomiss xmm0, xmm5
movss dword [ebp - 0x38], xmm2
lahf
test ah, 0x44
jp 0x10009d4d
movss xmm1, dword [ebp - 0x2c]
movaps xmm0, xmm2
subss xmm0, dword [ebp - 0x10]
subss xmm1, xmm0
movss dword [ebp - 0x2c], xmm1
mov al, byte [ebp - 0x25]
mov edx, dword [ebp - 0x30]
mov cl, byte [ebp - 0x26]
jmp 0x10009d5e
mov edx, dword [ebp - 0x30]
xorps xmm5, xmm5
test edx, edx
je 0x10009b13
test al, al
jne 0x10009b1d
test cl, cl
je 0x10009e57
xor ecx, ecx
cmp byte [ebp - 0x26], cl
setne cl
add ecx, 0x1e
mov eax, dword [0x10039928]
add ecx, ecx
movss xmm3, dword [0x10036c50]
xorps xmm5, xmm5
movups xmm1, xmmword [eax + ecx*8 + 0x15dc]
comiss xmm5, xmm1
movaps xmm2, xmm1
shufps xmm2, xmm1, 0xff
mulss xmm2, dword [eax + 0x1518]
movups xmmword [ebp - 0x88], xmm1
jbe 0x10009dbb
xorps xmm0, xmm0
jmp 0x10009dc2
movaps xmm0, xmm3
minss xmm0, xmm1
movss xmm4, dword [0x10036cec]
movss xmm6, dword [0x10036c18]
movss xmm1, dword [ebp - 0x84]
comiss xmm5, xmm1
mulss xmm0, xmm4
addss xmm0, xmm6
cvttss2si ecx, xmm0
jbe 0x10009df0
xorps xmm0, xmm0
jmp 0x10009df7
movaps xmm0, xmm3
minss xmm0, xmm1
movss xmm1, dword [ebp - 0x80]
mulss xmm0, xmm4
addss xmm0, xmm6
cvttss2si eax, xmm0
shl eax, 8
or ecx, eax
comiss xmm5, xmm1
jbe 0x10009e17
xorps xmm0, xmm0
jmp 0x10009e1e
movaps xmm0, xmm3
minss xmm0, xmm1
mulss xmm0, xmm4
addss xmm0, xmm6
cvttss2si eax, xmm0
shl eax, 0x10
or ecx, eax
comiss xmm5, xmm2
jbe 0x10009e39
xorps xmm0, xmm0
jmp 0x10009e40
movaps xmm0, xmm3
minss xmm0, xmm2
mulss xmm0, xmm4
addss xmm0, xmm6
cvttss2si eax, xmm0
shl eax, 0x18
or eax, ecx
mov ecx, dword [ebp - 0x64]
mov dword [ecx + edx*4], eax
inc edx
mov dword [ebp - 0x30], edx
cmp edx, dword [ebx + 0xc]
jl 0x10009970
jmp 0x10009e69
xorps xmm5, xmm5
xor edi, edi
mov dword [ebp - 0x44], edi
cmp dword [ebp - 0x60], edi
jbe 0x1000a29d
nop word [eax + eax]
lea eax, [edi*8]
sub eax, edi
shl eax, 2
mov dword [ebp - 8], eax
test edi, edi
je 0x10009f00
cmp edi, 1
je 0x10009f00
mov edx, dword [ebp - 0x48]
mov dword [ebp - 0x30], 1
movss xmm4, dword [edx + 0xc]
movss xmm3, dword [edx + 0x10]
movaps xmm1, xmm4
addss xmm1, dword [edx + 0x14]
movaps xmm2, xmm3
addss xmm2, dword [edx + 0x18]
cmp edi, 2
jne 0x10009fa7
movd xmm5, esi
movaps xmm0, xmm3
subss xmm0, dword [0x10036cb4]
addss xmm3, dword [0x10036cb4]
cvtdq2ps xmm5, xmm5
movss dword [ebp - 0x20], xmm0
addss xmm4, xmm5
movss dword [ebp - 0x18], xmm3
subss xmm1, xmm5
movss dword [ebp - 0x24], xmm4
movss dword [ebp - 0x1c], xmm1
jmp 0x10009feb
mov edx, dword [ebp - 0x48]
xor eax, eax
mov dword [ebp - 0x30], eax
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 edi, edi
jne 0x10009f61
movd xmm6, esi
movaps xmm0, xmm4
subss xmm0, dword [0x10036cb4]
addss xmm4, dword [0x10036cb4]
cvtdq2ps xmm6, xmm6
movss dword [ebp - 0x24], xmm0
addss xmm3, xmm6
movss dword [ebp - 0x1c], xmm4
subss xmm2, xmm6
movss dword [ebp - 0x20], xmm3
movss dword [ebp - 0x18], xmm2
jmp 0x10009feb
cmp edi, 1
jne 0x10009ebc
movd xmm5, esi
movaps xmm0, xmm1
subss xmm0, dword [0x10036cb4]
addss xmm1, dword [0x10036cb4]
cvtdq2ps xmm5, xmm5
xor eax, eax
mov dword [ebp - 0x30], eax
movss dword [ebp - 0x24], xmm0
addss xmm3, xmm5
movss dword [ebp - 0x1c], xmm1
subss xmm2, xmm5
movss dword [ebp - 0x20], xmm3
movss dword [ebp - 0x18], xmm2
jmp 0x10009feb
cmp edi, 3
jne 0x10009fe4
movd xmm5, esi
movaps xmm0, xmm2
subss xmm0, dword [0x10036cb4]
addss xmm2, dword [0x10036cb4]
cvtdq2ps xmm5, xmm5
movss dword [ebp - 0x20], xmm0
addss xmm4, xmm5
movss dword [ebp - 0x18], xmm2
subss xmm1, xmm5
movss dword [ebp - 0x24], xmm4
movss dword [ebp - 0x1c], xmm1
jmp 0x10009feb
xorps xmm0, xmm0
movups xmmword [ebp - 0x24], xmm0
mov ecx, dword [edx + 0xc4]
lea eax, [edi + 4]
mov dword [ebp - 0xc], eax
lea esi, [ebp - 0xc]
mov eax, dword [edx + 0xcc]
mov edi, 4
mov edx, dword [eax + ecx*4 - 4]
not edx
nop dword [eax + eax]
movzx eax, byte [esi]
lea esi, [esi + 1]
movzx ecx, dl
xor ecx, eax
shr edx, 8
xor edx, dword [ecx*4 + 0x100326b0]
sub edi, 1
jne 0x1000a010
mov eax, dword [0x10039928]
not edx
mov esi, dword [ebp - 0x4c]
mov edi, dword [ebp - 0x44]
cmp dword [eax + 0x1bd4], edx
jne 0x1000a045
mov dword [eax + 0x1bd8], edx
cmp dword [eax + 0x1c0c], edx
jne 0x1000a054
mov byte [eax + 0x1c10], 1
push 0x800
lea eax, [ebp - 0x25]
push eax
lea eax, [ebp - 0x26]
push eax
lea ecx, [ebp - 0x24]
call fcn.10026340
mov dl, byte [ebp - 0x25]
add esp, 0xc
cmp byte [ebp - 0x26], 0
je 0x1000a089
mov eax, dword [ebp - 0x34]
movss xmm0, dword [eax + 0x1bcc]
comiss xmm0, dword [0x10036bf0]
ja 0x1000a091
test dl, dl
je 0x1000a28d
mov ecx, dword [ebp - 0x30]
mov eax, ecx
mov esi, dword [ebp - 0x34]
xor eax, 1
add eax, 3
mov dword [esi + 0x1e40], eax
mov esi, dword [ebp - 0x4c]
test dl, dl
je 0x1000a28d
mov eax, dword [ebp - 0x78]
mov dword [eax], edi
cmp edi, 3
jne 0x1000a239
mov eax, dword [ebx + 0x14]
movss xmm4, dword [0x10036d2c]
movss xmm3, dword [eax + 4]
movss xmm1, dword [0x10036d0c]
movss xmm5, dword [0x10036d0c]
mov eax, dword [ebp - 0x48]
mov edx, dword [ebp - 0x34]
movss xmm0, dword [eax + 0xc]
movss dword [ebp - 0x14], xmm0
movss xmm0, dword [eax + 0x10]
movss dword [ebp - 0x10], xmm0
movss xmm0, dword [edx + ecx*4 + 0xe4]
subss xmm0, dword [edx + ecx*4 + 0x1bf8]
addss xmm0, dword [0x10036cb4]
movss dword [ebp + ecx*4 - 0x14], xmm0
movss xmm0, dword [ebp - 0x10]
comiss xmm3, xmm0
ja 0x1000a129
movaps xmm3, xmm1
minss xmm3, xmm0
movss xmm0, dword [ebp - 0x14]
comiss xmm4, xmm0
ja 0x1000a13a
movaps xmm4, xmm5
minss xmm4, xmm0
mov ecx, dword [ebp - 8]
mov edx, eax
movss xmm0, dword [eax + 0xc]
movss xmm1, dword [eax + 0x10]
movaps xmm6, xmm0
addss xmm0, dword [eax + 0x14]
movss xmm5, dword [ecx + 0x100393d4]
subss xmm6, xmm4
minss xmm5, dword [ecx + 0x100393dc]
movss xmm2, dword [ecx + 0x100393d0]
movaps xmm7, xmm1
minss xmm2, dword [ecx + 0x100393d8]
addss xmm1, dword [eax + 0x18]
subss xmm7, xmm3
lea ecx, [ebp - 0x54]
movss dword [ebp - 8], xmm5
push ecx
mulss xmm6, xmm2
lea ecx, [ebp - 0x5c]
mulss xmm7, xmm5
addss xmm6, xmm4
movss dword [ebp - 0xc], xmm2
subss xmm4, xmm0
addss xmm7, xmm3
subss xmm3, xmm1
movss dword [ebp - 0x40], xmm6
mulss xmm4, xmm2
mulss xmm3, xmm5
addss xmm4, xmm0
movss dword [ebp - 0x2c], xmm7
addss xmm3, xmm1
subss xmm4, xmm6
subss xmm3, xmm7
movss dword [ebp - 0x54], xmm4
movss dword [ebp - 0x50], xmm3
call fcn.10009250
movss xmm0, dword [ebp - 0xc]
add esp, 4
xorps xmm5, xmm5
ucomiss xmm0, xmm5
movss xmm0, dword [ebp - 0x5c]
movss dword [ebp - 0x3c], xmm0
lahf
test ah, 0x44
jp 0x1000a20c
subss xmm0, dword [ebp - 0x54]
movss xmm1, dword [ebp - 0x40]
subss xmm1, xmm0
movss dword [ebp - 0x40], xmm1
movss xmm0, dword [ebp - 8]
ucomiss xmm0, xmm5
movss xmm0, dword [ebp - 0x58]
movss dword [ebp - 0x38], xmm0
lahf
test ah, 0x44
jp 0x1000a290
subss xmm0, dword [ebp - 0x50]
movss xmm1, dword [ebp - 0x2c]
subss xmm1, xmm0
movss dword [ebp - 0x2c], xmm1
jmp 0x1000a290
movss xmm1, dword [0x10036d2c]
movaps xmm3, xmm1
movaps xmm0, xmm3
cmp edi, 1
jne 0x1000a258
mov eax, dword [ebx + 0x14]
movss xmm4, dword [eax]
jmp 0x1000a0ce
movaps xmm4, xmm1
movaps xmm2, xmm4
cmp edi, 2
jne 0x1000a270
mov eax, dword [ebx + 0x14]
movss xmm1, dword [eax + 0xc]
jmp 0x1000a0d6
movss xmm1, dword [0x10036d0c]
test edi, edi
jne 0x1000a0d6
mov eax, dword [ebx + 0x14]
movss xmm5, dword [eax + 8]
jmp 0x1000a0de
xorps xmm5, xmm5
inc edi
mov dword [ebp - 0x44], edi
cmp edi, dword [ebp - 0x60]
jl 0x10009e80
mov edi, dword [0x10039928]
mov esi, dword [ebp - 0x48]
mov ecx, dword [ebp - 0x34]
mov eax, dword [edi + 0x1b9c]
dec dword [eax + 0xc4]
mov dword [esi + 0x144], 0
mov eax, dword [ecx + 0x1e08]
test eax, eax
je 0x1000a4e7
cmp dword [eax + 0x31c], esi
jne 0x1000a4e7
mov eax, dword [ecx + 0x1d30]
cmp eax, 2
jne 0x1000a317
cmp byte [ecx + 0xfd], 0
je 0x1000a4e7
xor edx, edx
lea ecx, [eax + 0x12]
call fcn.10010a40
lea ecx, [edx + 0x13]
movaps xmm6, xmm0
call fcn.10010a40
lea ecx, [edx + 0x12]
subss xmm6, xmm0
call fcn.10010a40
lea ecx, [edx + 0x11]
jmp 0x1000a344
cmp eax, 3
jne 0x1000a4e7
xor edx, edx
lea ecx, [eax + 4]
call fcn.10010a40
lea ecx, [edx + 6]
movaps xmm6, xmm0
call fcn.10010a40
lea ecx, [edx + 5]
subss xmm6, xmm0
call fcn.10010a40
lea ecx, [edx + 4]
xor edx, edx
movaps xmm7, xmm0
call fcn.10010a40
subss xmm7, xmm0
addss xmm6, xmm5
addss xmm7, xmm5
ucomiss xmm7, xmm5
lahf
test ah, 0x44
jp 0x1000a370
ucomiss xmm6, xmm5
lahf
test ah, 0x44
jnp 0x1000a4e7
mov ecx, dword [ebp - 0x34]
movss xmm3, dword [0x10036c50]
movss xmm1, dword [ecx + 0xa8]
minss xmm1, dword [ecx + 0xac]
movss xmm0, dword [ecx + 0x18]
mulss xmm0, dword [0x10036cf0]
mulss xmm1, xmm0
cvttss2si eax, xmm1
xorps xmm1, xmm1
cvtsi2ss xmm1, eax
mov eax, dword [ebx + 0x14]
movss xmm0, dword [eax]
subss xmm0, dword [esi + 0xc]
mulss xmm7, xmm1
mulss xmm6, xmm1
subss xmm0, dword [esi + 0x14]
maxss xmm7, xmm0
movss xmm0, dword [eax + 4]
subss xmm0, dword [esi + 0x10]
subss xmm0, dword [esi + 0x18]
mov byte [ecx + 0x1e1c], 0
mov byte [ecx + 0x1d53], 1
movups xmm2, xmmword [edi + 0x17dc]
maxss xmm6, xmm0
comiss xmm5, xmm2
movaps xmm1, xmm2
shufps xmm1, xmm2, 0xff
mulss xmm1, dword [edi + 0x1518]
movups xmmword [ebp - 0x88], xmm2
jbe 0x1000a40c
xorps xmm0, xmm0
jmp 0x1000a413
movaps xmm0, xmm3
minss xmm0, xmm2
movss xmm4, dword [0x10036cec]
movss xmm2, dword [ebp - 0x84]
comiss xmm5, xmm2
mulss xmm0, xmm4
addss xmm0, dword [0x10036c18]
cvttss2si ecx, xmm0
jbe 0x1000a43d
xorps xmm0, xmm0
jmp 0x1000a444
movaps xmm0, xmm3
minss xmm0, xmm2
movss xmm2, dword [ebp - 0x80]
mulss xmm0, xmm4
addss xmm0, dword [0x10036c18]
cvttss2si eax, xmm0
shl eax, 8
or ecx, eax
comiss xmm5, xmm2
jbe 0x1000a468
xorps xmm0, xmm0
jmp 0x1000a46f
movaps xmm0, xmm3
minss xmm0, xmm2
movss xmm2, dword [0x10036c18]
mulss xmm0, xmm4
addss xmm0, xmm2
cvttss2si eax, xmm0
shl eax, 0x10
or ecx, eax
comiss xmm5, xmm1
jbe 0x1000a492
xorps xmm3, xmm3
jmp 0x1000a496
minss xmm3, xmm1
mulss xmm3, xmm4
mov edx, esi
addss xmm3, xmm2
cvttss2si eax, xmm3
shl eax, 0x18
or eax, ecx
mov ecx, dword [ebp - 0x64]
mov dword [ecx], eax
lea eax, [ebp - 0x5c]
addss xmm7, dword [esi + 0x1c]
addss xmm6, dword [esi + 0x20]
push eax
lea ecx, [ebp - 0x1c]
movss dword [ebp - 0x5c], xmm7
movss dword [ebp - 0x58], xmm6
call fcn.10009250
mov edi, dword [0x10039928]
add esp, 4
movss xmm0, dword [eax]
movss dword [ebp - 0x3c], xmm0
movss xmm0, dword [eax + 4]
jmp 0x1000a4ec
movss xmm0, dword [ebp - 0x38]
movss xmm1, dword [ebp - 0x3c]
xorps xmm2, xmm2
movss xmm3, dword [0x10036d0c]
ucomiss xmm1, xmm3
lahf
test ah, 0x44
jnp 0x1000a52a
test dword [esi + 8], 0x100
movss dword [esi + 0x1c], xmm1
movss dword [esi + 0x20], xmm0
jne 0x1000a52a
comiss xmm2, dword [edi + 0x2ea0]
jb 0x1000a52a
mov eax, dword [edi + 0x1c]
mov dword [edi + 0x2ea0], eax
movss xmm0, dword [ebp - 0x40]
ucomiss xmm0, xmm3
lahf
test ah, 0x44
jnp 0x1000a574
test dword [esi + 8], 0x100
cvttss2si eax, xmm0
movd xmm1, eax
cvttss2si eax, dword [ebp - 0x2c]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [esi + 0xc], xmm1
movss dword [esi + 0x10], xmm0
jne 0x1000a574
comiss xmm2, dword [edi + 0x2ea0]
jb 0x1000a574
mov ecx, dword [edi + 0x1c]
mov dword [edi + 0x2ea0], ecx
mov ecx, dword [esi + 0x1c]
mov edx, dword [esi + 0x20]
mov al, byte [ebp - 0x27]
mov dword [esi + 0x14], ecx
mov dword [esi + 0x18], edx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1002f40a
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
mov ecx, dword [ebp - 4]
xor al, al
pop edi
xor ecx, ebp
pop esi
call fcn.1002f40a
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret