Function at 0x10009950
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, 0x70
mov eax, dword [0x1005d040]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebx + 8]
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x24], edx
mov edx, dword [0x1005eab0]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebx + 0x10]
test byte [edi + 8], 0x42
mov dword [ebp - 0x48], edi
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x3c], edx
jne 0x1000a612
cmp byte [edi + 0xc0], 0
jg 0x1000a612
cmp byte [edi + 0xc1], 0
jg 0x1000a612
cmp byte [edi + 0xa7], 0
je 0x1000a612
movss xmm2, dword [edx + 0x3bb4]
xor eax, eax
movss xmm0, dword [edi + 0x48]
movaps xmm1, xmm2
addss xmm0, dword [0x10055c84]
mulss xmm2, dword [0x10055c34]
mov esi, 4
mov cl, byte [edx + 0x66]
mulss xmm1, dword [0x10055c8c]
test cl, cl
mov byte [ebp - 0x27], 0
addss xmm0, xmm2
cmovne eax, esi
mov dword [ebp - 0x64], eax
maxss xmm1, xmm0
cvttss2si eax, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [0x10055c68]
cvttss2si esi, xmm0
mov dword [ebp - 0x58], esi
je 0x10009a2f
movss xmm0, dword [0x10055cb8]
jmp 0x10009a32
xorps xmm0, xmm0
movss xmm1, dword [0x10055d50]
mov dword [edi + 0x144], 1
mov eax, dword [edx + 0x3e28]
xor edx, edx
add eax, 0xe0
movss dword [ebp - 0x4c], xmm0
mov dword [ebp - 0x20], eax
movaps xmm0, xmm1
movss dword [ebp - 0x40], xmm1
movss dword [ebp - 0x44], xmm1
mov ecx, dword [eax]
mov eax, dword [eax + 8]
movss dword [ebp - 0x38], xmm0
movss dword [ebp - 0x34], xmm1
push dword [eax + ecx*4 - 4]
mov ecx, str.RESIZE
call fcn.10004300
mov ecx, eax
add esp, 4
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x30], ecx
cmp dword [eax + 0x3e5c], ecx
jne 0x10009aac
push ecx
push str.RESIZE
mov edx, 0xb
call fcn.10017450
mov ecx, dword [ebp - 0x30]
add esp, 8
lea eax, [ebp - 0x30]
mov dword [ebp - 0x30], ecx
mov ecx, dword [ebp - 0x20]
push eax
call fcn.10017d80
xor edx, edx
mov dword [ebp - 0x2c], edx
cmp dword [ebx + 0xc], edx
jle 0x10009f06
nop dword [eax]
movss xmm0, dword [edi + 0x10]
lea ecx, [edx + edx*2]
movss xmm1, dword [edi + 0x14]
movaps xmm3, xmm0
addss xmm3, dword [edi + 0x18]
movaps xmm2, xmm1
mov dword [ebp - 0x30], ecx
addss xmm2, dword [edi + 0x1c]
xorps xmm6, xmm6
cvtsi2ss xmm6, esi
subss xmm3, xmm0
subss xmm2, xmm1
mulss xmm3, dword [ecx*8 + 0x1004f548]
mulss xmm2, dword [ecx*8 + 0x1004f54c]
addss xmm3, xmm0
movss xmm0, dword [ecx*8 + 0x1004f550]
movaps xmm5, xmm0
mulss xmm0, dword [ebp - 0x4c]
addss xmm2, xmm1
mulss xmm5, xmm6
movss xmm1, dword [ecx*8 + 0x1004f554]
movaps xmm4, xmm1
mulss xmm1, dword [ebp - 0x4c]
mulss xmm4, xmm6
addss xmm5, xmm3
subss xmm3, xmm0
addss xmm4, xmm2
subss xmm2, xmm1
movss dword [ebp - 0xc], xmm5
comiss xmm3, xmm5
movss dword [ebp - 0x14], xmm3
movss dword [ebp - 0x10], xmm2
movss dword [ebp - 8], xmm4
jbe 0x10009b76
movss dword [ebp - 0x14], xmm5
movss dword [ebp - 0xc], xmm3
comiss xmm2, xmm4
jbe 0x10009b85
movss dword [ebp - 0x10], xmm4
movss dword [ebp - 8], xmm2
mov ecx, dword [edi + 0xe0]
lea esi, [ebp - 0x20]
mov eax, dword [edi + 0xe8]
mov edi, 4
mov dword [ebp - 0x20], 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 + 0x1004f5a8]
sub edi, 1
jne 0x10009ba2
mov eax, dword [0x1005eab0]
not edx
mov esi, dword [ebp - 0x58]
mov edi, dword [ebp - 0x48]
mov dword [ebp - 0x20], edx
cmp dword [eax + 0x3e5c], edx
jne 0x10009beb
push ecx
push dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x20]
mov edx, 4
call fcn.10017450
mov edx, dword [ebp - 0x20]
add esp, 8
push 8
push 0
lea ecx, [ebp - 0x14]
call fcn.10010720
mov edx, dword [ebp - 0x20]
lea eax, [ebp - 0x25]
push 0x40800
push eax
lea eax, [ebp - 0x26]
push eax
lea ecx, [ebp - 0x14]
call fcn.10029af0
mov cl, byte [ebp - 0x26]
add esp, 0x14
test cl, cl
jne 0x10009c24
mov al, byte [ebp - 0x25]
test al, al
je 0x10009f94
mov edx, dword [ebp - 0x2c]
mov eax, edx
mov ecx, dword [ebp - 0x3c]
not eax
and eax, 1
add eax, 5
mov dword [ecx + 0x492c], eax
mov al, byte [ebp - 0x25]
test al, al
je 0x10009ec4
cmp word [ecx + 0x3702], 2
jne 0x10009c9a
test edx, edx
jne 0x10009c9a
push dword [ebp - 0x24]
mov edx, edi
lea ecx, [ebp - 0x60]
call fcn.100093f0
add esp, 4
mov byte [ebp - 0x27], 1
xor edx, edx
xor ecx, ecx
movss xmm0, dword [eax]
movss dword [ebp - 0x38], xmm0
movss xmm0, dword [eax + 4]
movss dword [ebp - 0x34], xmm0
call fcn.10005e00
mov edx, dword [ebp - 0x2c]
cmp byte [ebp - 0x25], 0
je 0x10009edb
mov ecx, 0x20
jmp 0x10009ee6
mov edx, dword [ebp - 0x30]
movss xmm3, dword [0x10055c84]
movss xmm2, dword [0x10055d7c]
movss xmm0, dword [edx*8 + 0x1004f54c]
ucomiss xmm0, xmm3
lahf
test ah, 0x44
jp 0x10009cc9
mov eax, dword [ebx + 0x14]
movss xmm7, dword [eax + 4]
jmp 0x10009ccc
movaps xmm7, xmm2
movss xmm1, dword [edx*8 + 0x1004f548]
ucomiss xmm1, xmm3
lahf
test ah, 0x44
jp 0x10009ce7
mov eax, dword [ebx + 0x14]
movss xmm5, dword [eax]
jmp 0x10009cea
movaps xmm5, xmm2
xorps xmm2, xmm2
ucomiss xmm0, xmm2
lahf
test ah, 0x44
jp 0x10009d0d
mov eax, dword [ebx + 0x14]
movss xmm0, dword [eax + 0xc]
movss dword [ebp - 0x20], xmm0
movss xmm0, dword [0x10055d50]
jmp 0x10009d1a
movss xmm0, dword [0x10055d50]
movss dword [ebp - 0x20], xmm0
ucomiss xmm1, xmm2
lahf
test ah, 0x44
jp 0x10009d2b
mov eax, dword [ebx + 0x14]
movss xmm0, dword [eax + 8]
movss xmm1, dword [edx*8 + 0x1004f550]
xorps xmm4, xmm4
movss xmm3, dword [edx*8 + 0x1004f554]
cvtsi2ss xmm4, esi
movss dword [ebp - 0x38], xmm0
movaps xmm2, xmm3
xorps xmm4, xmmword [0x10056080]
movaps xmm0, xmm1
mulss xmm0, dword [ebp - 0x4c]
movaps xmm6, xmm4
mulss xmm2, dword [ebp - 0x4c]
mulss xmm6, xmm1
movss xmm1, dword [edx*8 + 0x1004f548]
mulss xmm4, xmm3
subss xmm6, xmm0
subss xmm4, xmm2
mulss xmm6, xmm1
mulss xmm4, dword [edx*8 + 0x1004f54c]
addss xmm6, xmm0
movss xmm0, dword [ecx + 0xdb8]
subss xmm0, dword [ecx + 0x3e88]
addss xmm4, xmm2
addss xmm6, xmm0
movss xmm0, dword [ecx + 0xdbc]
subss xmm0, dword [ecx + 0x3e8c]
addss xmm0, xmm4
comiss xmm7, xmm0
ja 0x10009dc7
movss xmm7, dword [ebp - 0x20]
minss xmm7, xmm0
comiss xmm5, xmm6
ja 0x10009dd5
movss xmm5, dword [ebp - 0x38]
minss xmm5, xmm6
movss xmm0, dword [edi + 0x10]
lea eax, [ebp - 0x1c]
movss xmm4, dword [edx*8 + 0x1004f54c]
lea ecx, [ebp - 0x54]
movaps xmm2, xmm0
addss xmm0, dword [edi + 0x18]
subss xmm2, xmm5
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 [edx*8 + 0x1004f548]
mov edx, edi
addss xmm3, xmm7
movss dword [ebp - 0x40], xmm2
subss xmm7, xmm1
addss xmm5, xmm0
movss dword [ebp - 0x44], xmm3
mulss xmm7, xmm4
subss xmm5, xmm2
addss xmm7, xmm1
movss dword [ebp - 0x1c], xmm5
subss xmm7, xmm3
movss dword [ebp - 0x18], xmm7
call fcn.100093f0
mov ecx, dword [ebp - 0x30]
add esp, 4
xorps xmm2, xmm2
movss xmm0, dword [ecx*8 + 0x1004f548]
ucomiss xmm0, xmm2
movss xmm0, dword [ebp - 0x54]
movss dword [ebp - 0x38], xmm0
lahf
test ah, 0x44
jp 0x10009e8f
subss xmm0, dword [ebp - 0x1c]
movss xmm1, dword [ebp - 0x40]
subss xmm1, xmm0
movss dword [ebp - 0x40], xmm1
movss xmm0, dword [ecx*8 + 0x1004f54c]
ucomiss xmm0, xmm2
movss xmm0, dword [ebp - 0x50]
movss dword [ebp - 0x34], xmm0
lahf
test ah, 0x44
jp 0x10009ebe
subss xmm0, dword [ebp - 0x18]
movss xmm1, dword [ebp - 0x44]
subss xmm1, xmm0
movss dword [ebp - 0x44], xmm1
mov edx, dword [ebp - 0x2c]
mov al, byte [ebp - 0x25]
mov cl, byte [ebp - 0x26]
test edx, edx
je 0x10009c86
test al, al
jne 0x10009c90
test cl, cl
je 0x10009ef9
xor ecx, ecx
cmp byte [ebp - 0x26], cl
setne cl
add ecx, 0x1e
movss xmm1, dword [0x10055c84]
call fcn.10004970
mov ecx, dword [ebp - 0x68]
mov dword [ecx + edx*4], eax
inc edx
mov dword [ebp - 0x2c], edx
cmp edx, dword [ebx + 0xc]
jl 0x10009ad0
xor edi, edi
mov dword [ebp - 0x30], edi
cmp dword [ebp - 0x64], edi
jbe 0x1000a2f0
lea eax, [edi*8]
sub eax, edi
shl eax, 2
mov dword [ebp - 0x20], eax
test edi, edi
je 0x10009f9c
cmp edi, 1
je 0x10009f9c
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x2c], 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 0x1000a043
movd xmm5, esi
movaps xmm0, xmm3
subss xmm0, dword [0x10055cb8]
addss xmm3, dword [0x10055cb8]
cvtdq2ps xmm5, xmm5
movss dword [ebp - 0x10], xmm0
addss xmm4, xmm5
movss dword [ebp - 8], xmm3
subss xmm1, xmm5
movss dword [ebp - 0x14], xmm4
movss dword [ebp - 0xc], xmm1
jmp 0x1000a087
mov edx, dword [ebp - 0x2c]
jmp 0x10009ec7
mov eax, dword [ebp - 0x48]
xor ecx, ecx
mov dword [ebp - 0x2c], 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 0x10009ffd
movd xmm6, esi
movaps xmm0, xmm4
subss xmm0, dword [0x10055cb8]
addss xmm4, dword [0x10055cb8]
cvtdq2ps xmm6, xmm6
movss dword [ebp - 0x14], xmm0
addss xmm3, xmm6
movss dword [ebp - 0xc], xmm4
subss xmm2, xmm6
movss dword [ebp - 0x10], xmm3
movss dword [ebp - 8], xmm2
jmp 0x1000a087
cmp edi, 1
jne 0x10009f50
movd xmm5, esi
movaps xmm0, xmm1
subss xmm0, dword [0x10055cb8]
addss xmm1, dword [0x10055cb8]
cvtdq2ps xmm5, xmm5
xor ecx, ecx
mov dword [ebp - 0x2c], ecx
movss dword [ebp - 0x14], xmm0
addss xmm3, xmm5
movss dword [ebp - 0xc], xmm1
subss xmm2, xmm5
movss dword [ebp - 0x10], xmm3
movss dword [ebp - 8], xmm2
jmp 0x1000a087
cmp edi, 3
jne 0x1000a080
movd xmm5, esi
movaps xmm0, xmm2
subss xmm0, dword [0x10055cb8]
addss xmm2, dword [0x10055cb8]
cvtdq2ps xmm5, xmm5
movss dword [ebp - 0x10], xmm0
addss xmm4, xmm5
movss dword [ebp - 8], xmm2
subss xmm1, xmm5
movss dword [ebp - 0x14], xmm4
movss dword [ebp - 0xc], xmm1
jmp 0x1000a087
xorps xmm0, xmm0
movups xmmword [ebp - 0x14], xmm0
lea ecx, [edi + 4]
mov edi, 4
mov dword [ebp - 0x24], ecx
lea esi, [ebp - 0x24]
mov ecx, dword [eax + 0xe0]
mov eax, dword [eax + 0xe8]
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 + 0x1004f5a8]
sub edi, 1
jne 0x1000a0a7
mov eax, dword [0x1005eab0]
not edx
mov esi, dword [ebp - 0x58]
mov edi, dword [ebp - 0x30]
mov dword [ebp - 0x4c], edx
cmp dword [eax + 0x3e5c], edx
jne 0x1000a0f1
push ecx
mov ecx, dword [ebp - 0x4c]
lea eax, [edi + 4]
push eax
mov edx, 4
call fcn.10017450
mov edx, dword [ebp - 0x4c]
add esp, 8
push 8
push 0
lea ecx, [ebp - 0x14]
call fcn.10010720
mov edx, dword [ebp - 0x4c]
lea eax, [ebp - 0x25]
push 0x40800
push eax
lea eax, [ebp - 0x26]
push eax
lea ecx, [ebp - 0x14]
call fcn.10029af0
mov dl, byte [ebp - 0x25]
add esp, 0x14
cmp byte [ebp - 0x26], 0
je 0x1000a135
mov eax, dword [ebp - 0x3c]
movss xmm0, dword [eax + 0x3e6c]
comiss xmm0, dword [0x10055c18]
ja 0x1000a13d
test dl, dl
je 0x1000a2e3
mov ecx, dword [ebp - 0x2c]
mov eax, ecx
mov esi, dword [ebp - 0x3c]
xor eax, 1
add eax, 3
mov dword [esi + 0x492c], eax
mov esi, dword [ebp - 0x58]
test dl, dl
je 0x1000a2e3
mov eax, dword [ebp - 0x6c]
mov dword [eax], edi
cmp edi, 3
jne 0x1000a36a
mov eax, dword [ebx + 0x14]
movss xmm4, dword [0x10055d7c]
movss xmm3, dword [eax + 4]
movss xmm1, dword [0x10055d50]
movss xmm5, dword [0x10055d50]
mov eax, dword [ebp - 0x48]
mov edx, dword [ebp - 0x3c]
movss xmm0, dword [eax + 0x10]
movss dword [ebp - 0x1c], xmm0
movss xmm0, dword [eax + 0x14]
movss dword [ebp - 0x18], xmm0
movss xmm0, dword [edx + ecx*4 + 0xdb8]
subss xmm0, dword [edx + ecx*4 + 0x3e88]
addss xmm0, dword [0x10055cb8]
movss dword [ebp + ecx*4 - 0x1c], xmm0
movss xmm0, dword [ebp - 0x18]
comiss xmm3, xmm0
ja 0x1000a1d5
movaps xmm3, xmm1
minss xmm3, xmm0
movss xmm0, dword [ebp - 0x1c]
comiss xmm4, xmm0
ja 0x1000a1e6
movaps xmm4, xmm5
minss xmm4, xmm0
mov ecx, dword [ebp - 0x20]
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 + 0x1004f3b4]
subss xmm5, xmm4
minss xmm7, dword [ecx + 0x1004f3bc]
movss xmm2, dword [ecx + 0x1004f3b0]
movaps xmm6, xmm1
minss xmm2, dword [ecx + 0x1004f3b8]
addss xmm1, dword [eax + 0x1c]
subss xmm6, xmm3
lea ecx, [ebp - 0x54]
movss dword [ebp - 0x30], xmm7
push ecx
mulss xmm5, xmm2
lea ecx, [ebp - 0x60]
mulss xmm6, xmm7
addss xmm5, xmm4
movss dword [ebp - 0x24], xmm2
subss xmm4, xmm0
addss xmm6, xmm3
subss xmm3, xmm1
movss dword [ebp - 0x40], xmm5
mulss xmm4, xmm2
mulss xmm3, xmm7
addss xmm4, xmm0
movss dword [ebp - 0x44], xmm6
addss xmm3, xmm1
subss xmm4, xmm5
subss xmm3, xmm6
movss dword [ebp - 0x54], xmm4
movss dword [ebp - 0x50], xmm3
call fcn.100093f0
movss xmm0, dword [ebp - 0x24]
add esp, 4
xorps xmm2, xmm2
ucomiss xmm0, xmm2
movss xmm0, dword [ebp - 0x60]
movss dword [ebp - 0x38], xmm0
lahf
test ah, 0x44
jp 0x1000a2b8
subss xmm0, dword [ebp - 0x54]
movss xmm1, dword [ebp - 0x40]
subss xmm1, xmm0
movss dword [ebp - 0x40], xmm1
movss xmm0, dword [ebp - 0x30]
ucomiss xmm0, xmm2
movss xmm0, dword [ebp - 0x5c]
movss dword [ebp - 0x34], xmm0
lahf
test ah, 0x44
jp 0x1000a2e3
subss xmm0, dword [ebp - 0x50]
movss xmm1, dword [ebp - 0x44]
subss xmm1, xmm0
movss dword [ebp - 0x44], xmm1
inc edi
mov dword [ebp - 0x30], edi
cmp edi, dword [ebp - 0x64]
jl 0x10009f14
mov esi, dword [0x1005eab0]
mov edx, dword [ebp - 0x48]
mov edi, dword [ebp - 0x3c]
mov eax, dword [esi + 0x3e28]
dec dword [eax + 0xe0]
mov dword [edx + 0x144], 0
mov eax, dword [edi + 0x4900]
test eax, eax
je 0x1000a54c
cmp dword [eax + 0x2fc], edx
jne 0x1000a54c
mov eax, dword [edi + 0x47dc]
cmp eax, 2
jne 0x1000a3be
cmp byte [edi + 0xdd1], 0
je 0x1000a54c
movss xmm4, dword [esi + 0x2e24]
movss xmm1, dword [esi + 0x2e04]
subss xmm4, dword [esi + 0x2e14]
subss xmm1, dword [esi + 0x2df4]
jmp 0x1000a3e7
movss xmm1, dword [0x10055d7c]
movaps xmm3, xmm1
movaps xmm0, xmm3
cmp edi, 1
jne 0x1000a389
mov eax, dword [ebx + 0x14]
movss xmm4, dword [eax]
jmp 0x1000a17a
movaps xmm4, xmm1
movaps xmm2, xmm4
cmp edi, 2
jne 0x1000a3a1
mov eax, dword [ebx + 0x14]
movss xmm1, dword [eax + 0xc]
jmp 0x1000a182
movss xmm1, dword [0x10055d50]
test edi, edi
jne 0x1000a182
mov eax, dword [ebx + 0x14]
movss xmm5, dword [eax + 8]
jmp 0x1000a18a
cmp eax, 3
jne 0x1000a54c
movss xmm4, dword [esi + 0x3504]
movss xmm1, dword [esi + 0x34e4]
subss xmm4, dword [esi + 0x34f4]
subss xmm1, dword [esi + 0x34d4]
xorps xmm7, xmm7
ucomiss xmm1, xmm7
lahf
test ah, 0x44
jp 0x1000a400
ucomiss xmm4, xmm7
lahf
test ah, 0x44
jnp 0x1000a556
movss xmm3, dword [edi + 0x58]
mov ecx, 0x20
minss xmm3, dword [edi + 0x5c]
movss xmm0, dword [edi + 0x18]
mulss xmm0, dword [0x10055d2c]
mov eax, dword [ebx + 0x14]
mulss xmm3, xmm0
movaps xmm2, xmm3
mulss xmm3, xmm4
mulss xmm2, xmm1
addss xmm3, dword [edi + 0x4924]
movss xmm1, dword [0x10055c84]
addss xmm2, dword [edi + 0x4920]
movss dword [edi + 0x4924], xmm3
movss dword [edi + 0x4920], xmm2
movss xmm0, dword [eax]
subss xmm0, dword [edx + 0x10]
subss xmm0, dword [edx + 0x18]
maxss xmm2, xmm0
movss xmm0, dword [eax + 4]
subss xmm0, dword [edx + 0x14]
subss xmm0, dword [edx + 0x1c]
movss dword [edi + 0x4920], xmm2
mov byte [edi + 0x4914], 0
mov byte [edi + 0x47e7], 1
maxss xmm3, xmm0
movss dword [edi + 0x4924], xmm3
call fcn.10004970
mov ecx, dword [ebp - 0x68]
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, xmm7
cvtdq2ps xmm1, xmm1
lahf
test ah, 0x44
jp 0x1000a4d7
ucomiss xmm1, xmm7
lahf
test ah, 0x44
jnp 0x1000a55d
addss xmm0, dword [edx + 0x20]
lea eax, [ebp - 0x60]
push eax
lea ecx, [ebp - 0x54]
movss dword [ebp - 0x60], xmm0
movaps xmm0, xmm1
addss xmm0, dword [edx + 0x24]
movss dword [ebp - 0x5c], xmm0
call fcn.100093f0
mov edx, dword [ebp - 0x48]
add esp, 4
movd xmm1, esi
xorps xmm7, xmm7
cvtdq2ps xmm1, xmm1
movss xmm0, dword [eax]
movss xmm2, dword [eax + 4]
mov eax, dword [ebp - 0x3c]
movss dword [ebp - 0x38], 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 0x1000a562
movss xmm2, dword [ebp - 0x34]
xorps xmm7, xmm7
jmp 0x1000a568
movss xmm2, dword [ebp - 0x34]
jmp 0x1000a568
movss xmm2, dword [ebp - 0x34]
mov esi, dword [0x1005eab0]
movss xmm0, dword [ebp - 0x38]
movss xmm1, dword [0x10055d50]
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jnp 0x1000a5a3
test dword [edx + 8], 0x100
movss dword [edx + 0x20], xmm0
movss dword [edx + 0x24], xmm2
jne 0x1000a5a3
comiss xmm7, dword [esi + 0x59f8]
jb 0x1000a5a3
mov eax, dword [esi + 0x1c]
mov dword [esi + 0x59f8], eax
movss xmm0, dword [ebp - 0x40]
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jnp 0x1000a5ed
test dword [edx + 8], 0x100
cvttss2si eax, xmm0
movd xmm1, eax
cvttss2si eax, dword [ebp - 0x44]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [edx + 0x10], xmm1
movss dword [edx + 0x14], xmm0
jne 0x1000a5ed
comiss xmm7, dword [esi + 0x59f8]
jb 0x1000a5ed
mov ecx, dword [esi + 0x1c]
mov dword [esi + 0x59f8], ecx
mov esi, dword [ebp - 0x48]
mov ecx, dword [edx + 0x20]
mov edx, dword [edx + 0x24]
mov al, byte [ebp - 0x27]
mov dword [esi + 0x18], ecx
mov dword [esi + 0x1c], edx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10049dfd
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.10049dfd
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret