Function at 0x10009d90
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 [0x1003a00c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebx + 8]
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x88], eax
mov eax, dword [ebx + 0x10]
mov dword [ebp - 0x74], eax
mov eax, dword [0x1003a5f8]
test byte [edi + 8], 0x42
mov dword [ebp - 0x38], edx
mov dword [ebp - 0x58], edi
mov dword [ebp - 0x48], eax
jne 0x1000ab8c
cmp byte [edi + 0xc0], 0
jg 0x1000ab8c
cmp byte [edi + 0xc1], 0
jg 0x1000ab8c
cmp byte [edi + 0xa7], 0
je 0x1000ab8c
movss xmm2, dword [eax + 0x3bb4]
xor edx, edx
movss xmm0, dword [edi + 0x48]
movaps xmm1, xmm2
addss xmm0, dword [0x100378e4]
mulss xmm2, dword [0x10037894]
mov esi, 4
mov cl, byte [eax + 0x66]
mulss xmm1, dword [0x100378ec]
test cl, cl
mov byte [ebp - 0x3d], 0
addss xmm0, xmm2
cmovne edx, esi
mov dword [ebp - 0x70], edx
maxss xmm1, xmm0
cvttss2si eax, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [0x100378c8]
cvttss2si esi, xmm0
mov dword [ebp - 0x64], esi
je 0x10009e74
movss xmm2, dword [0x1003790c]
jmp 0x10009e77
xorps xmm2, xmm2
movss xmm1, dword [0x10037974]
movaps xmm0, xmm1
movss dword [ebp - 0x5c], xmm2
movss dword [ebp - 0x50], xmm1
movss dword [ebp - 0x54], xmm1
movss dword [ebp - 0x4c], xmm0
movss dword [ebp - 0x44], xmm1
mov dword [edi + 0x144], 1
call fcn.1000f050
xor eax, eax
mov dword [ebp - 0x3c], eax
cmp dword [ebx + 0xc], eax
jle 0x1000a3ca
nop dword [eax + eax]
movss xmm0, dword [edi + 0x10]
lea ecx, [eax + eax*2]
movss xmm1, dword [edi + 0x14]
movaps xmm4, xmm0
addss xmm4, dword [edi + 0x18]
movaps xmm2, xmm1
mov dword [ebp - 0x60], ecx
addss xmm2, dword [edi + 0x1c]
xorps xmm6, xmm6
cvtsi2ss xmm6, esi
subss xmm4, xmm0
subss xmm2, xmm1
mulss xmm4, dword [ecx*8 + 0x10033088]
mulss xmm2, dword [ecx*8 + 0x1003308c]
addss xmm4, xmm0
movss xmm0, dword [ecx*8 + 0x10033090]
movaps xmm5, xmm0
mulss xmm0, dword [ebp - 0x5c]
addss xmm2, xmm1
mulss xmm5, xmm6
movss xmm1, dword [ecx*8 + 0x10033094]
movaps xmm3, xmm1
mulss xmm1, dword [ebp - 0x5c]
mulss xmm3, xmm6
addss xmm5, xmm4
subss xmm4, xmm0
addss xmm3, xmm2
subss xmm2, xmm1
movss dword [ebp - 0x28], xmm5
comiss xmm4, xmm5
movss dword [ebp - 0x30], xmm4
movss dword [ebp - 0x2c], xmm2
movss dword [ebp - 0x24], xmm3
jbe 0x10009f66
movss dword [ebp - 0x30], xmm5
movss dword [ebp - 0x28], xmm4
comiss xmm2, xmm3
jbe 0x10009f75
movss dword [ebp - 0x2c], xmm3
movss dword [ebp - 0x24], xmm2
mov ecx, dword [edi + 0xe0]
lea esi, [ebp - 0x34]
mov dword [ebp - 0x34], eax
mov eax, dword [edi + 0xe8]
mov edi, 4
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 + 0x100330e8]
sub edi, 1
jne 0x10009f92
mov eax, dword [0x1003a5f8]
not edx
mov esi, dword [ebp - 0x64]
mov edi, dword [ebp - 0x58]
mov dword [ebp - 0x34], edx
cmp dword [eax + 0x3e5c], edx
jne 0x10009fdc
push ecx
mov ecx, dword [ebp - 0x3c]
mov edx, 4
push ecx
mov ecx, dword [ebp - 0x34]
call fcn.10017b50
mov edx, dword [ebp - 0x34]
add esp, 8
push 8
push ecx
lea ecx, [ebp - 0x30]
call fcn.10011140
mov edx, dword [ebp - 0x34]
lea eax, [ebp - 5]
push 0x40800
push eax
lea eax, [ebp - 6]
push eax
lea ecx, [ebp - 0x30]
call fcn.1002b920
mov dl, byte [ebp - 6]
add esp, 0x14
mov cl, byte [ebp - 5]
test dl, dl
jne 0x1000a014
test cl, cl
je 0x1000a2bd
mov eax, dword [ebp - 0x3c]
mov esi, dword [ebp - 0x48]
not eax
and eax, 1
add eax, 5
mov dword [esi + 0x492c], eax
mov esi, dword [ebp - 0x64]
test cl, cl
je 0x1000a2bd
mov edx, dword [ebp - 0x48]
cmp word [edx + 0x3702], 2
jne 0x1000a08a
cmp dword [ebp - 0x3c], 0
jne 0x1000a08a
push dword [ebp - 0x38]
mov edx, edi
lea ecx, [ebp - 0x7c]
call fcn.10009830
add esp, 4
mov byte [ebp - 0x3d], 1
movss xmm0, dword [eax]
movss dword [ebp - 0x4c], xmm0
movss xmm0, dword [eax + 4]
movss dword [ebp - 0x44], xmm0
call fcn.100060b0
mov cl, byte [ebp - 5]
mov dl, byte [ebp - 6]
test cl, cl
je 0x1000a2db
mov eax, 0x20
jmp 0x1000a2e5
mov ecx, dword [ebp - 0x60]
movss xmm0, dword [0x100378e4]
movss xmm3, dword [0x10037990]
movss xmm1, dword [ecx*8 + 0x1003308c]
ucomiss xmm1, xmm0
lahf
test ah, 0x44
jp 0x1000a0b9
mov eax, dword [ebx + 0x14]
movss xmm7, dword [eax + 4]
jmp 0x1000a0bc
movaps xmm7, xmm3
movss xmm2, dword [ecx*8 + 0x10033088]
ucomiss xmm2, xmm0
lahf
test ah, 0x44
jp 0x1000a0d7
mov eax, dword [ebx + 0x14]
movss xmm5, dword [eax]
jmp 0x1000a0da
movaps xmm5, xmm3
xorps xmm0, xmm0
ucomiss xmm1, xmm0
lahf
test ah, 0x44
jp 0x1000a0fd
mov eax, dword [ebx + 0x14]
movss xmm1, dword [eax + 0xc]
movss dword [ebp - 0x34], xmm1
movss xmm1, dword [0x10037974]
jmp 0x1000a10a
movss xmm1, dword [0x10037974]
movss dword [ebp - 0x34], xmm1
ucomiss xmm2, xmm0
lahf
test ah, 0x44
jp 0x1000a122
mov eax, dword [ebx + 0x14]
movss xmm0, dword [eax + 8]
movss dword [ebp - 0x4c], xmm0
jmp 0x1000a127
movss dword [ebp - 0x4c], xmm1
movss xmm1, dword [ecx*8 + 0x10033090]
xorps xmm4, xmm4
movss xmm3, dword [ecx*8 + 0x10033094]
movaps xmm0, xmm1
mulss xmm0, dword [ebp - 0x5c]
movaps xmm2, xmm3
mulss xmm2, dword [ebp - 0x5c]
cvtsi2ss xmm4, esi
xorps xmm4, xmmword [0x10037a70]
movaps xmm6, xmm4
mulss xmm4, xmm3
mulss xmm6, xmm1
movss xmm1, dword [ecx*8 + 0x10033088]
subss xmm4, xmm2
subss xmm6, xmm0
mulss xmm4, dword [ecx*8 + 0x1003308c]
mulss xmm6, xmm1
addss xmm4, xmm2
addss xmm6, xmm0
movss xmm0, dword [edx + 0xdb8]
subss xmm0, dword [edx + 0x3e88]
addss xmm6, xmm0
movss xmm0, dword [edx + 0xdbc]
subss xmm0, dword [edx + 0x3e8c]
addss xmm0, xmm4
comiss xmm7, xmm0
ja 0x1000a1be
movss xmm7, dword [ebp - 0x34]
minss xmm7, xmm0
comiss xmm5, xmm6
ja 0x1000a1cc
movss xmm5, dword [ebp - 0x4c]
minss xmm5, xmm6
movss xmm0, dword [edi + 0x10]
lea eax, [ebp - 0x20]
movss xmm4, dword [ecx*8 + 0x1003308c]
movaps xmm2, xmm0
addss xmm0, dword [edi + 0x18]
subss xmm2, xmm5
mov edx, edi
push eax
mulss xmm2, xmm1
movss xmm1, dword [edi + 0x14]
movaps xmm3, xmm1
addss xmm1, dword [edi + 0x1c]
subss xmm3, xmm7
addss xmm2, xmm5
subss xmm5, xmm0
mulss xmm3, xmm4
mulss xmm5, dword [ecx*8 + 0x10033088]
lea ecx, [ebp - 0x6c]
addss xmm3, xmm7
movss dword [ebp - 0x50], xmm2
subss xmm7, xmm1
addss xmm5, xmm0
movss dword [ebp - 0x54], xmm3
mulss xmm7, xmm4
subss xmm5, xmm2
addss xmm7, xmm1
movss dword [ebp - 0x20], xmm5
subss xmm7, xmm3
movss dword [ebp - 0x1c], xmm7
call fcn.10009830
mov ecx, dword [ebp - 0x60]
add esp, 4
xorps xmm3, xmm3
movss xmm0, dword [ecx*8 + 0x10033088]
ucomiss xmm0, xmm3
movss xmm0, dword [ebp - 0x6c]
movss dword [ebp - 0x4c], xmm0
lahf
test ah, 0x44
jp 0x1000a286
subss xmm0, dword [ebp - 0x20]
movss xmm1, dword [ebp - 0x50]
subss xmm1, xmm0
movss dword [ebp - 0x50], xmm1
movss xmm0, dword [ecx*8 + 0x1003308c]
ucomiss xmm0, xmm3
movss xmm0, dword [ebp - 0x68]
movss dword [ebp - 0x44], xmm0
lahf
test ah, 0x44
jp 0x1000a2b5
subss xmm0, dword [ebp - 0x1c]
movss xmm1, dword [ebp - 0x54]
subss xmm1, xmm0
movss dword [ebp - 0x54], xmm1
mov cl, byte [ebp - 5]
mov dl, byte [ebp - 6]
jmp 0x1000a2c0
xorps xmm3, xmm3
mov eax, dword [ebp - 0x3c]
test eax, eax
je 0x1000a078
test cl, cl
jne 0x1000a080
test dl, dl
je 0x1000a3bb
xor eax, eax
test dl, dl
setne al
add eax, 0x1e
mov ecx, dword [0x1003a5f8]
add eax, eax
movss xmm4, dword [0x100378e4]
xorps xmm3, xmm3
movups xmm2, xmmword [ecx + eax*8 + 0x3860]
comiss xmm3, xmm2
movaps xmm1, xmm2
shufps xmm1, xmm2, 0xff
mulss xmm1, dword [ecx + 0x3798]
movups xmmword [ebp - 0x18], xmm2
jbe 0x1000a31d
xorps xmm0, xmm0
jmp 0x1000a324
movaps xmm0, xmm4
minss xmm0, xmm2
movss xmm5, dword [0x10037954]
movss xmm6, dword [0x100378ac]
movss xmm2, dword [ebp - 0x14]
comiss xmm3, xmm2
mulss xmm0, xmm5
addss xmm0, xmm6
cvttss2si ecx, xmm0
jbe 0x1000a34f
xorps xmm0, xmm0
jmp 0x1000a356
movaps xmm0, xmm4
minss xmm0, xmm2
movss xmm2, dword [ebp - 0x10]
mulss xmm0, xmm5
addss xmm0, xmm6
cvttss2si eax, xmm0
shl eax, 8
or ecx, eax
comiss xmm3, xmm2
jbe 0x1000a376
xorps xmm0, xmm0
jmp 0x1000a37d
movaps xmm0, xmm4
minss xmm0, xmm2
mulss xmm0, xmm5
addss xmm0, xmm6
cvttss2si eax, xmm0
shl eax, 0x10
or ecx, eax
comiss xmm3, xmm1
jbe 0x1000a398
xorps xmm0, xmm0
jmp 0x1000a39f
movaps xmm0, xmm4
minss xmm0, xmm1
mov edx, dword [ebp - 0x74]
mulss xmm0, xmm5
addss xmm0, xmm6
cvttss2si eax, xmm0
shl eax, 0x18
or eax, ecx
mov ecx, dword [ebp - 0x3c]
mov dword [edx + ecx*4], eax
mov eax, ecx
inc eax
mov dword [ebp - 0x3c], eax
cmp eax, dword [ebx + 0xc]
jl 0x10009ec0
jmp 0x1000a3cd
xorps xmm3, xmm3
xor edi, edi
mov dword [ebp - 0x60], edi
cmp dword [ebp - 0x70], edi
jbe 0x1000a814
nop dword [eax + eax]
lea eax, [edi*8]
sub eax, edi
shl eax, 2
mov dword [ebp - 0x34], eax
test edi, edi
je 0x1000a460
cmp edi, 1
je 0x1000a460
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x3c], 1
movss xmm4, dword [eax + 0x10]
movss xmm3, dword [eax + 0x14]
movaps xmm1, xmm4
addss xmm1, dword [eax + 0x18]
movaps xmm2, xmm3
addss xmm2, dword [eax + 0x1c]
cmp edi, 2
jne 0x1000a507
movd xmm5, esi
movaps xmm0, xmm3
subss xmm0, dword [0x1003790c]
addss xmm3, dword [0x1003790c]
cvtdq2ps xmm5, xmm5
movss dword [ebp - 0x14], xmm0
addss xmm4, xmm5
movss dword [ebp - 0xc], xmm3
subss xmm1, xmm5
movss dword [ebp - 0x18], xmm4
movss dword [ebp - 0x10], xmm1
jmp 0x1000a54b
mov eax, dword [ebp - 0x58]
xor ecx, ecx
mov dword [ebp - 0x3c], ecx
movss xmm4, dword [eax + 0x10]
movss xmm3, dword [eax + 0x14]
movaps xmm1, xmm4
movaps xmm2, xmm3
addss xmm1, dword [eax + 0x18]
addss xmm2, dword [eax + 0x1c]
test edi, edi
jne 0x1000a4c1
movd xmm6, esi
movaps xmm0, xmm4
subss xmm0, dword [0x1003790c]
addss xmm4, dword [0x1003790c]
cvtdq2ps xmm6, xmm6
movss dword [ebp - 0x18], xmm0
addss xmm3, xmm6
movss dword [ebp - 0x10], xmm4
subss xmm2, xmm6
movss dword [ebp - 0x14], xmm3
movss dword [ebp - 0xc], xmm2
jmp 0x1000a54b
cmp edi, 1
jne 0x1000a41c
movd xmm5, esi
movaps xmm0, xmm1
subss xmm0, dword [0x1003790c]
addss xmm1, dword [0x1003790c]
cvtdq2ps xmm5, xmm5
xor ecx, ecx
mov dword [ebp - 0x3c], ecx
movss dword [ebp - 0x18], xmm0
addss xmm3, xmm5
movss dword [ebp - 0x10], xmm1
subss xmm2, xmm5
movss dword [ebp - 0x14], xmm3
movss dword [ebp - 0xc], xmm2
jmp 0x1000a54b
cmp edi, 3
jne 0x1000a544
movd xmm5, esi
movaps xmm0, xmm2
subss xmm0, dword [0x1003790c]
addss xmm2, dword [0x1003790c]
cvtdq2ps xmm5, xmm5
movss dword [ebp - 0x14], xmm0
addss xmm4, xmm5
movss dword [ebp - 0xc], xmm2
subss xmm1, xmm5
movss dword [ebp - 0x18], xmm4
movss dword [ebp - 0x10], xmm1
jmp 0x1000a54b
xorps xmm0, xmm0
movups xmmword [ebp - 0x18], xmm0
lea ecx, [edi + 4]
mov edi, 4
mov dword [ebp - 0x38], ecx
lea esi, [ebp - 0x38]
mov ecx, dword [eax + 0xe0]
mov eax, dword [eax + 0xe8]
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 + 0x100330e8]
sub edi, 1
jne 0x1000a570
mov eax, dword [0x1003a5f8]
not edx
mov esi, dword [ebp - 0x64]
mov edi, dword [ebp - 0x60]
mov dword [ebp - 0x5c], edx
cmp dword [eax + 0x3e5c], edx
jne 0x1000a5ba
push ecx
mov ecx, dword [ebp - 0x5c]
lea eax, [edi + 4]
push eax
mov edx, 4
call fcn.10017b50
mov edx, dword [ebp - 0x5c]
add esp, 8
push 8
push ecx
lea ecx, [ebp - 0x18]
call fcn.10011140
mov edx, dword [ebp - 0x5c]
lea eax, [ebp - 8]
push 0x40800
push eax
lea eax, [ebp - 7]
push eax
lea ecx, [ebp - 0x18]
call fcn.1002b920
mov dl, byte [ebp - 8]
add esp, 0x14
cmp byte [ebp - 7], 0
je 0x1000a5fd
mov eax, dword [ebp - 0x48]
movss xmm0, dword [eax + 0x3e6c]
comiss xmm0, dword [0x10037880]
ja 0x1000a605
test dl, dl
je 0x1000a804
mov ecx, dword [ebp - 0x3c]
mov eax, ecx
mov esi, dword [ebp - 0x48]
xor eax, 1
add eax, 3
mov dword [esi + 0x492c], eax
mov esi, dword [ebp - 0x64]
test dl, dl
je 0x1000a804
mov eax, dword [ebp - 0x88]
mov dword [eax], edi
cmp edi, 3
jne 0x1000a7b0
mov eax, dword [ebx + 0x14]
movss xmm4, dword [0x10037990]
movss xmm3, dword [eax + 4]
movss xmm1, dword [0x10037974]
movss xmm5, dword [0x10037974]
mov eax, dword [ebp - 0x58]
mov edx, dword [ebp - 0x48]
movss xmm0, dword [eax + 0x10]
movss dword [ebp - 0x20], xmm0
movss xmm0, dword [eax + 0x14]
movss dword [ebp - 0x1c], xmm0
movss xmm0, dword [edx + ecx*4 + 0xdb8]
subss xmm0, dword [edx + ecx*4 + 0x3e88]
addss xmm0, dword [0x1003790c]
movss dword [ebp + ecx*4 - 0x20], xmm0
movss xmm0, dword [ebp - 0x1c]
comiss xmm3, xmm0
ja 0x1000a6a0
movaps xmm3, xmm1
minss xmm3, xmm0
movss xmm0, dword [ebp - 0x20]
comiss xmm4, xmm0
ja 0x1000a6b1
movaps xmm4, xmm5
minss xmm4, xmm0
mov ecx, dword [ebp - 0x34]
mov edx, eax
movss xmm0, dword [eax + 0x10]
movss xmm1, dword [eax + 0x14]
movaps xmm5, xmm0
addss xmm0, dword [eax + 0x18]
movss xmm7, dword [ecx + 0x10032ef4]
subss xmm5, xmm4
minss xmm7, dword [ecx + 0x10032efc]
movss xmm2, dword [ecx + 0x10032ef0]
movaps xmm6, xmm1
minss xmm2, dword [ecx + 0x10032ef8]
addss xmm1, dword [eax + 0x1c]
subss xmm6, xmm3
lea ecx, [ebp - 0x6c]
movss dword [ebp - 0x60], xmm7
push ecx
mulss xmm5, xmm2
lea ecx, [ebp - 0x7c]
mulss xmm6, xmm7
addss xmm5, xmm4
movss dword [ebp - 0x38], xmm2
subss xmm4, xmm0
addss xmm6, xmm3
subss xmm3, xmm1
movss dword [ebp - 0x50], xmm5
mulss xmm4, xmm2
mulss xmm3, xmm7
addss xmm4, xmm0
movss dword [ebp - 0x54], xmm6
addss xmm3, xmm1
subss xmm4, xmm5
subss xmm3, xmm6
movss dword [ebp - 0x6c], xmm4
movss dword [ebp - 0x68], xmm3
call fcn.10009830
movss xmm0, dword [ebp - 0x38]
add esp, 4
xorps xmm3, xmm3
ucomiss xmm0, xmm3
movss xmm0, dword [ebp - 0x7c]
movss dword [ebp - 0x4c], xmm0
lahf
test ah, 0x44
jp 0x1000a783
subss xmm0, dword [ebp - 0x6c]
movss xmm1, dword [ebp - 0x50]
subss xmm1, xmm0
movss dword [ebp - 0x50], xmm1
movss xmm0, dword [ebp - 0x60]
ucomiss xmm0, xmm3
movss xmm0, dword [ebp - 0x78]
movss dword [ebp - 0x44], xmm0
lahf
test ah, 0x44
jp 0x1000a807
subss xmm0, dword [ebp - 0x68]
movss xmm1, dword [ebp - 0x54]
subss xmm1, xmm0
movss dword [ebp - 0x54], xmm1
jmp 0x1000a807
movss xmm1, dword [0x10037990]
movaps xmm3, xmm1
movaps xmm0, xmm3
cmp edi, 1
jne 0x1000a7cf
mov eax, dword [ebx + 0x14]
movss xmm4, dword [eax]
jmp 0x1000a645
movaps xmm4, xmm1
movaps xmm2, xmm4
cmp edi, 2
jne 0x1000a7e7
mov eax, dword [ebx + 0x14]
movss xmm1, dword [eax + 0xc]
jmp 0x1000a64d
movss xmm1, dword [0x10037974]
test edi, edi
jne 0x1000a64d
mov eax, dword [ebx + 0x14]
movss xmm5, dword [eax + 8]
jmp 0x1000a655
xorps xmm3, xmm3
inc edi
mov dword [ebp - 0x60], edi
cmp edi, dword [ebp - 0x70]
jl 0x1000a3e0
mov esi, dword [0x1003a5f8]
mov edx, dword [ebp - 0x58]
mov ecx, dword [ebp - 0x48]
mov eax, dword [esi + 0x3e28]
dec dword [eax + 0xe0]
mov dword [edx + 0x144], 0
mov eax, dword [ecx + 0x4900]
test eax, eax
je 0x1000aac8
cmp dword [eax + 0x2fc], edx
jne 0x1000aac8
mov eax, dword [ecx + 0x47dc]
cmp eax, 2
jne 0x1000a88e
cmp byte [ecx + 0xdd1], 0
je 0x1000aac8
movss xmm4, dword [esi + 0x2e24]
mov ecx, esi
movss xmm5, dword [esi + 0x2e04]
mov edi, esi
subss xmm4, dword [esi + 0x2e14]
subss xmm5, dword [esi + 0x2df4]
jmp 0x1000a8bb
cmp eax, 3
jne 0x1000aac8
mov ecx, esi
mov edi, ecx
movss xmm4, dword [ecx + 0x3504]
movss xmm5, dword [ecx + 0x34e4]
subss xmm4, dword [ecx + 0x34f4]
subss xmm5, dword [ecx + 0x34d4]
ucomiss xmm5, xmm3
lahf
test ah, 0x44
jp 0x1000a8d3
ucomiss xmm4, xmm3
mov ecx, edi
lahf
test ah, 0x44
jnp 0x1000aac8
mov edi, dword [ebp - 0x48]
mov eax, dword [ebx + 0x14]
movss xmm2, dword [edi + 0x58]
minss xmm2, dword [edi + 0x5c]
movss xmm0, dword [edi + 0x18]
mulss xmm0, dword [0x10037958]
mulss xmm2, xmm0
movaps xmm1, xmm2
mulss xmm2, xmm4
mulss xmm1, xmm5
addss xmm2, dword [edi + 0x4924]
movss xmm4, dword [0x100378e4]
addss xmm1, dword [edi + 0x4920]
movss dword [edi + 0x4924], xmm2
movss dword [edi + 0x4920], xmm1
movss xmm0, dword [eax]
subss xmm0, dword [edx + 0x10]
subss xmm0, dword [edx + 0x18]
maxss xmm1, xmm0
movss xmm0, dword [eax + 4]
subss xmm0, dword [edx + 0x14]
subss xmm0, dword [edx + 0x1c]
movss dword [edi + 0x4920], xmm1
mov byte [edi + 0x4914], 0
mov byte [edi + 0x47e7], 1
maxss xmm2, xmm0
movss dword [edi + 0x4924], xmm2
movups xmm2, xmmword [ecx + 0x3a60]
comiss xmm3, xmm2
movaps xmm1, xmm2
shufps xmm1, xmm2, 0xff
mulss xmm1, dword [ecx + 0x3798]
movups xmmword [ebp - 0x84], xmm2
jbe 0x1000a991
xorps xmm0, xmm0
jmp 0x1000a998
movaps xmm0, xmm4
minss xmm0, xmm2
movss xmm5, dword [0x10037954]
movss xmm6, dword [0x100378ac]
movss xmm2, dword [ebp - 0x80]
comiss xmm3, xmm2
mulss xmm0, xmm5
addss xmm0, xmm6
cvttss2si ecx, xmm0
jbe 0x1000a9c3
xorps xmm0, xmm0
jmp 0x1000a9ca
movaps xmm0, xmm4
minss xmm0, xmm2
movss xmm2, dword [ebp - 0x7c]
mulss xmm0, xmm5
addss xmm0, xmm6
cvttss2si eax, xmm0
shl eax, 8
or ecx, eax
comiss xmm3, xmm2
jbe 0x1000a9ea
xorps xmm0, xmm0
jmp 0x1000a9f1
movaps xmm0, xmm4
minss xmm0, xmm2
mulss xmm0, xmm5
addss xmm0, xmm6
cvttss2si eax, xmm0
shl eax, 0x10
or ecx, eax
comiss xmm3, xmm1
jbe 0x1000aa0c
xorps xmm4, xmm4
jmp 0x1000aa10
minss xmm4, xmm1
mulss xmm4, xmm5
addss xmm4, xmm6
cvttss2si eax, xmm4
shl eax, 0x18
or eax, ecx
mov ecx, dword [ebp - 0x74]
mov dword [ecx], eax
cvttss2si esi, dword [edi + 0x4920]
cvttss2si edi, dword [edi + 0x4924]
movd xmm0, esi
cvtdq2ps xmm0, xmm0
movd xmm1, edi
ucomiss xmm0, xmm3
cvtdq2ps xmm1, xmm1
lahf
test ah, 0x44
jp 0x1000aa56
ucomiss xmm1, xmm3
lahf
test ah, 0x44
jnp 0x1000aacf
addss xmm0, dword [edx + 0x20]
lea eax, [ebp - 0x7c]
push eax
lea ecx, [ebp - 0x6c]
movss dword [ebp - 0x7c], xmm0
movaps xmm0, xmm1
addss xmm0, dword [edx + 0x24]
movss dword [ebp - 0x78], xmm0
call fcn.10009830
mov edx, dword [ebp - 0x58]
add esp, 4
movd xmm1, esi
cvtdq2ps xmm1, xmm1
movss xmm0, dword [eax]
movss xmm2, dword [eax + 4]
mov eax, dword [ebp - 0x48]
movss dword [ebp - 0x4c], xmm0
movss xmm0, dword [eax + 0x4920]
subss xmm0, xmm1
movd xmm1, edi
cvtdq2ps xmm1, xmm1
movss dword [eax + 0x4920], xmm0
movss xmm0, dword [eax + 0x4924]
subss xmm0, xmm1
movss dword [eax + 0x4924], xmm0
jmp 0x1000aad4
movss xmm2, dword [ebp - 0x44]
jmp 0x1000aada
movss xmm2, dword [ebp - 0x44]
mov esi, dword [0x1003a5f8]
movss xmm0, dword [ebp - 0x4c]
movss xmm1, dword [0x10037974]
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jnp 0x1000ab1a
test dword [edx + 8], 0x100
movss dword [edx + 0x24], xmm2
xorps xmm2, xmm2
movss dword [edx + 0x20], xmm0
jne 0x1000ab1d
comiss xmm2, dword [esi + 0x59f0]
jb 0x1000ab1d
mov eax, dword [esi + 0x1c]
mov dword [esi + 0x59f0], eax
jmp 0x1000ab1d
xorps xmm2, xmm2
movss xmm0, dword [ebp - 0x50]
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jnp 0x1000ab67
test dword [edx + 8], 0x100
cvttss2si eax, xmm0
movd xmm1, eax
cvttss2si eax, dword [ebp - 0x54]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [edx + 0x10], xmm1
movss dword [edx + 0x14], xmm0
jne 0x1000ab67
comiss xmm2, dword [esi + 0x59f0]
jb 0x1000ab67
mov ecx, dword [esi + 0x1c]
mov dword [esi + 0x59f0], ecx
mov esi, dword [ebp - 0x58]
mov ecx, dword [edx + 0x20]
mov edx, dword [edx + 0x24]
mov al, byte [ebp - 0x3d]
mov dword [esi + 0x18], ecx
mov dword [esi + 0x1c], edx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1002fb8b
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.1002fb8b
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret