Function at 0x1001cfd0
Capabilities:
Encode data using xor
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0xd8
mov eax, dword [0x10063040]
xor eax, esp
mov dword [esp + 0xd4], eax
mov eax, dword [ebp + 8]
mov dword [esp + 4], eax
mov eax, dword [0x100daf00]
push esi
mov esi, eax
mov dword [esp + 0x70], ecx
push edi
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], esi
call fcn.1001bf40
mov dword [esp + 0x30], eax
mov edi, eax
mov dword [esp + 0x3c], edi
test eax, eax
jne 0x1001d092
mov edx, dword [esi + 0x1ab4]
test edx, edx
je 0x1001d039
mov eax, dword [esi + 0x1adc]
mov ecx, dword [esi + 0x1ae0]
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], ecx
jmp 0x1001d049
mov dword [esp + 0x50], 0
mov dword [esp + 0x54], 0
test edx, edx
lea ecx, [esp + 0x68]
mov edx, dword [esp + 0xc]
lea eax, [esp + 0x50]
cmovne eax, ecx
mov ecx, dword [esp + 0x74]
movss xmm0, dword [eax]
movss dword [esp + 0x78], xmm0
movss xmm0, dword [eax + 4]
movss dword [esp + 0x7c], xmm0
push dword [esp + 0x7c]
push dword [esp + 0x7c]
call fcn.1001bfb0
mov edi, eax
add esp, 8
mov eax, dword [0x100daf00]
mov dword [esp + 0x3c], edi
mov dword [esp + 0x10], eax
mov ecx, dword [esp + 0xc]
test ecx, 0x200
je 0x1001d0a5
or ecx, 6
mov dword [esp + 0xc], ecx
mov eax, dword [esi + 0x19e0]
mov edx, dword [edi + 0x224]
mov dword [esp + 0x44], eax
mov dword [esp + 0x70], edx
cmp edx, eax
je 0x1001d0c2
mov dword [edi + 8], ecx
jmp 0x1001d0c9
mov ecx, dword [edi + 8]
mov dword [esp + 0xc], ecx
cmp dword [esi + 0x1a04], 0
lea edx, [esi + 0x1a04]
mov dword [esp + 0x18], edx
jne 0x1001d0e0
xor eax, eax
jmp 0x1001d0f0
mov eax, dword [esi + 0x1a0c]
mov esi, dword [edx]
mov eax, dword [eax + esi*4 - 4]
mov esi, dword [esp + 0x14]
mov edi, dword [esp + 0x70]
cmp edi, dword [esp + 0x44]
mov edi, dword [esp + 0x3c]
je 0x1001d116
mov esi, ecx
and esi, 0x5000000
neg esi
sbb esi, esi
and esi, eax
mov dword [esp + 0x20], esi
mov esi, dword [esp + 0x14]
jmp 0x1001d120
mov eax, dword [edi + 0x324]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x44]
dec eax
mov byte [edi + 0x7e], 0
cmp dword [esp + 0x70], eax
mov eax, dword [edi + 0xa8]
mov dword [esp + 0x40], eax
setl byte [esp + 0xb]
mov eax, ecx
and eax, 0x4000000
mov dword [esp + 0x1c], eax
je 0x1001d185
mov eax, dword [esi + 0x1aa4]
lea esi, [eax + eax*8]
mov eax, dword [esp + 0x14]
mov edx, dword [eax + 0x1aa0]
mov eax, dword [edi + 0x8c]
cmp edi, dword [edx + esi*4 + 4]
setne cl
cmp eax, dword [edx + esi*4]
mov esi, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
setne al
or cl, al
mov al, byte [esp + 0xb]
or al, cl
mov byte [esp + 0xb], al
jmp 0x1001d189
mov al, byte [esp + 0xb]
test al, al
jne 0x1001d199
cmp dword [esp + 0x40], 0
jg 0x1001d199
mov byte [edi + 0x7c], al
jmp 0x1001d1b2
or dword [edi + 0xac], 8
or dword [edi + 0xb0], 8
or dword [edi + 0xb4], 8
mov byte [edi + 0x7c], 1
mov ecx, dword [edx + 4]
cmp dword [edx], ecx
jne 0x1001d1f3
test ecx, ecx
je 0x1001d1ce
mov eax, ecx
cdq
sub eax, edx
lea edx, [esi + 0x1a04]
sar eax, 1
add eax, ecx
jmp 0x1001d1d3
mov eax, 8
mov ecx, dword [edx]
inc ecx
cmp eax, ecx
cmovg ecx, eax
push ecx
mov ecx, edx
call fcn.10032760
mov edx, dword [0x100daf00]
mov edi, dword [esp + 0x3c]
mov dword [esp + 0x10], edx
jmp 0x1001d1f7
mov edx, dword [esp + 0x10]
mov ecx, dword [esi + 0x1a04]
mov eax, dword [esi + 0x1a0c]
mov dword [eax + ecx*4], edi
lea ecx, [edi + 0x1a0]
inc dword [esi + 0x1a04]
cmp dword [esp + 0x1c], 0
movss xmm0, dword [edx + 0x193c]
mov dword [edx + 0x1a20], edi
mulss xmm0, dword [edi + 0x274]
movss dword [edx + 0x194c], xmm0
movss dword [edx + 0x1938], xmm0
mov eax, dword [edi + 0x1c8]
mov dword [ecx], eax
mov eax, dword [edi + 0x194]
mov dword [ecx + 4], eax
mov eax, dword [edx + 0x1aa4]
mov dword [ecx + 8], eax
mov eax, dword [edx + 0x1a74]
mov dword [ecx + 0xc], eax
mov eax, dword [edx + 0x1a80]
mov dword [ecx + 0x10], eax
mov eax, dword [edx + 0x1a8c]
mov dword [ecx + 0x14], eax
je 0x1001d31b
mov eax, dword [esi + 0x1aa4]
lea ecx, [esi + 0x1aa4]
mov edx, dword [esi + 0x1aa0]
mov dword [esp + 0x2c], edx
lea eax, [eax + eax*8]
mov dword [edx + eax*4 + 4], edi
mov edx, dword [ecx]
mov dword [esp + 0x38], eax
mov eax, dword [ecx + 4]
cmp edx, eax
jne 0x1001d2d8
inc edx
mov dword [esp + 0x18], edx
test eax, eax
je 0x1001d2b9
cdq
sub eax, edx
mov edx, dword [esp + 0x18]
sar eax, 1
add eax, dword [ecx + 4]
jmp 0x1001d2be
mov eax, 8
cmp eax, edx
cmovg edx, eax
push edx
call fcn.10032d00
mov eax, dword [0x100daf00]
lea ecx, [esi + 0x1aa4]
mov dword [esp + 0x10], eax
mov eax, dword [ecx]
mov edi, dword [esp + 0x2c]
mov ecx, dword [ecx + 8]
lea edx, [eax + eax*8]
mov eax, dword [esp + 0x38]
movups xmm0, xmmword [edi + eax*4]
movups xmmword [ecx + edx*4], xmm0
movups xmm0, xmmword [edi + eax*4 + 0x10]
movups xmmword [ecx + edx*4 + 0x10], xmm0
mov eax, dword [edi + eax*4 + 0x20]
mov dword [ecx + edx*4 + 0x20], eax
mov ecx, edi
mov eax, dword [esp + 0x38]
mov edi, dword [esp + 0x3c]
inc dword [esi + 0x1aa4]
mov eax, dword [ecx + eax*4]
mov dword [edi + 0x8c], eax
cmp dword [esp + 0x40], 0
jle 0x1001d336
test dword [esp + 0xc], 0x1000000
jne 0x1001d336
mov dword [edi + 0x338], 0
mov ecx, dword [esi + 0x1ab0]
mov byte [esp + 9], 0
mov byte [esp + 8], 0
mov byte [esp + 0xa], 0
test ecx, ecx
je 0x1001d3d7
mov edx, dword [edi + 0xac]
test ecx, edx
mov eax, edx
setne byte [esp + 9]
test ecx, eax
je 0x1001d3c6
movss xmm1, dword [esi + 0x1ad8]
movss xmm0, dword [esi + 0x1ad4]
mulss xmm0, xmm0
mulss xmm1, xmm1
addss xmm0, xmm1
comiss xmm0, dword [0x1005ea54]
jbe 0x1001d3c6
mov eax, dword [esi + 0x1acc]
and edx, 0xfffffff1
mov ecx, dword [esi + 0x1ad0]
mov dword [edi + 0xb8], eax
mov dword [edi + 0xbc], ecx
mov eax, dword [esi + 0x1ad4]
mov ecx, dword [esi + 0x1ad8]
mov dword [edi + 0xc0], eax
mov dword [edi + 0xc4], ecx
mov dword [edi + 0xac], edx
jmp 0x1001d3d7
push ecx
lea edx, [esi + 0x1acc]
mov ecx, edi
call fcn.10020fc0
add esp, 4
mov ecx, dword [esi + 0x1ab4]
test ecx, ecx
je 0x1001d434
mov eax, dword [edi + 0xb0]
xorps xmm1, xmm1
and eax, ecx
je 0x1001d402
movss xmm0, dword [esi + 0x1adc]
comiss xmm0, xmm1
jbe 0x1001d402
mov byte [esp + 8], 1
jmp 0x1001d40c
xor dl, dl
mov byte [esp + 8], dl
test eax, eax
je 0x1001d41e
movss xmm0, dword [esi + 0x1ae0]
comiss xmm0, xmm1
mov byte [esp + 0xa], 1
ja 0x1001d423
mov byte [esp + 0xa], 0
push ecx
lea edx, [esi + 0x1adc]
mov ecx, edi
call fcn.10021080
add esp, 4
cmp dword [esi + 0x1ab8], 0
je 0x1001d4ea
mov eax, dword [esi + 0x1ae4]
xorps xmm0, xmm0
mov ecx, dword [esi + 0x1ae8]
mov dword [edi + 0x38], ecx
movss xmm3, dword [edi + 0x38]
ucomiss xmm3, xmm0
mov dword [edi + 0x34], eax
lahf
test ah, 0x44
jnp 0x1001d502
mov ecx, dword [edi + 8]
mov eax, dword [esp + 0x10]
test cl, 1
je 0x1001d479
xorps xmm2, xmm2
jmp 0x1001d499
movss xmm0, dword [eax + 0x1548]
movss xmm2, dword [eax + 0x193c]
addss xmm0, xmm0
mulss xmm2, dword [edi + 0x274]
addss xmm2, xmm0
test ecx, 0x400
je 0x1001d4d8
movss xmm1, dword [eax + 0x193c]
mulss xmm1, dword [edi + 0x274]
movss xmm0, dword [eax + 0x1548]
addss xmm0, xmm0
addss xmm1, dword [edi + 0x148]
addss xmm1, xmm0
addss xmm1, xmm2
addss xmm1, xmm3
movss dword [edi + 0x38], xmm1
jmp 0x1001d502
xorps xmm1, xmm1
addss xmm1, xmm2
addss xmm1, xmm3
movss dword [edi + 0x38], xmm1
jmp 0x1001d502
mov eax, dword [esp + 0x70]
cmp eax, dword [esp + 0x44]
je 0x1001d502
mov dword [edi + 0x34], 0
mov dword [edi + 0x38], 0
mov ecx, dword [esi + 0x1abc]
test ecx, ecx
je 0x1001d528
mov eax, dword [edi + 0xb4]
mov dl, byte [esi + 0x1aec]
test ecx, eax
je 0x1001d528
and eax, 0xfffffff1
mov byte [edi + 0x79], dl
mov dword [edi + 0xb4], eax
cmp dword [esi + 0x1ac4], 0
je 0x1001d540
mov ecx, edi
call fcn.100206a0
mov edx, dword [0x100daf00]
jmp 0x1001d544
mov edx, dword [esp + 0x10]
cmp byte [edi + 0x7c], 0
je 0x1001d55f
and dword [edi + 0xac], 0xfffffff7
and dword [edi + 0xb0], 0xfffffff7
and dword [edi + 0xb4], 0xfffffff7
mov eax, dword [esp + 0x70]
cmp eax, dword [esp + 0x44]
je 0x1001fd57
mov ecx, dword [esp + 0xc]
mov eax, ecx
mov esi, dword [esp + 0x20]
and eax, 0x3000000
mov dword [edi + 0x324], esi
test esi, esi
mov esi, dword [esp + 0x14]
mov dword [esp + 0x10], eax
mov dword [edi + 0x330], edi
mov dword [edi + 0x32c], edi
mov dword [edi + 0x328], edi
je 0x1001d5d7
cmp eax, 0x1000000
jne 0x1001d5b7
mov eax, dword [esp + 0x20]
mov eax, dword [eax + 0x328]
mov dword [edi + 0x328], eax
test ecx, 0x8000000
jne 0x1001d5d7
test ecx, 0x5000000
je 0x1001d5d7
mov eax, dword [esp + 0x20]
mov eax, dword [eax + 0x32c]
mov dword [edi + 0x32c], eax
test dword [edi + 8], 0x800000
je 0x1001d5f9
mov ecx, edi
mov eax, dword [ecx + 0x324]
mov ecx, eax
mov dword [edi + 0x330], eax
test dword [ecx + 8], 0x800000
jne 0x1001d5e2
mov byte [edi + 0x76], 1
mov dword [edi + 0x80], 0
mov ecx, dword [esi + 0x1a1c]
lea eax, [ecx + 1]
mov dword [esi + 0x1a1c], eax
mov eax, dword [esp + 0x44]
mov dword [edi + 0x84], ecx
mov dword [edi + 0x88], 0
mov dword [edi + 0x1d4], 0xff7fffff
mov dword [edi + 0x1d8], 0xff7fffff
mov dword [edi + 0x1dc], 0x7f7fffff
mov dword [edi + 0x1e0], 0x7f7fffff
mov dword [edi + 0x224], eax
mov eax, dword [edi + 0x1cc]
cmp eax, 1
jge 0x1001d69c
test eax, eax
je 0x1001d679
cdq
sub eax, edx
lea edx, [edi + 0x1c8]
mov ecx, eax
sar ecx, 1
add ecx, dword [edx + 4]
jmp 0x1001d684
mov ecx, 8
lea edx, [edi + 0x1c8]
mov eax, 1
cmp ecx, eax
cmovg eax, ecx
mov ecx, edx
push eax
call fcn.10032760
mov edx, dword [0x100daf00]
mov dword [edi + 0x1c8], 1
xorps xmm1, xmm1
movss xmm0, dword [edi + 0x34]
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jp 0x1001d6c9
movss xmm0, dword [edi + 0xe0]
subss xmm0, dword [edi + 0xc]
addss xmm0, dword [edi + 0x54]
cvttss2si eax, xmm0
movss xmm0, dword [edi + 0x38]
ucomiss xmm0, xmm1
movd xmm2, eax
cvtdq2ps xmm2, xmm2
lahf
test ah, 0x44
jp 0x1001d6f4
movss xmm0, dword [edi + 0xe4]
subss xmm0, dword [edi + 0x10]
addss xmm0, dword [edi + 0x58]
addss xmm2, dword [edi + 0x3c]
cvttss2si eax, xmm0
movd xmm0, eax
mov eax, dword [edi + 0xa4]
cvtdq2ps xmm0, xmm0
addss xmm0, dword [edi + 0x40]
movss dword [edi + 0x2c], xmm2
movss dword [edi + 0x30], xmm0
test eax, eax
jle 0x1001d724
dec eax
mov dword [edi + 0xa4], eax
mov eax, dword [edi + 0xa8]
test eax, eax
jle 0x1001d735
dec eax
mov dword [edi + 0xa8], eax
cmp dword [esp + 0x30], 0
mov cl, byte [esp + 8]
mov ch, byte [esp + 0xa]
jne 0x1001d756
test cl, cl
je 0x1001d74c
test ch, ch
jne 0x1001d756
mov dword [edi + 0xa8], 1
cmp byte [esp + 0xb], 0
mov eax, dword [esp + 0xc]
je 0x1001d7a8
test eax, 0x6000000
je 0x1001d7a8
mov dword [edi + 0xa8], 1
test al, 0x40
je 0x1001d7a8
test cl, cl
jne 0x1001d788
mov dword [edi + 0x1c], 0
mov dword [edi + 0x14], 0
test ch, ch
jne 0x1001d79a
mov dword [edi + 0x20], 0
mov dword [edi + 0x18], 0
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 0
movss xmm0, dword [edx + 0x193c]
mov dword [edx + 0x1a20], edi
mulss xmm0, dword [edi + 0x274]
movss dword [edx + 0x194c], xmm0
movss dword [edx + 0x1938], xmm0
test eax, 0x1000000
je 0x1001d7df
movss xmm0, dword [esi + 0x1538]
jmp 0x1001d7ff
test eax, 0x6000000
je 0x1001d7f7
test eax, 0x8000000
jne 0x1001d7f7
movss xmm0, dword [esi + 0x1540]
jmp 0x1001d7ff
movss xmm0, dword [esi + 0x151c]
movss dword [edi + 0x48], xmm0
mov eax, dword [esi + 0x1510]
mov ecx, dword [esi + 0x1514]
mov dword [edi + 0x3c], eax
mov dword [edi + 0x40], ecx
mov ecx, dword [esp + 0xc]
mov eax, ecx
and eax, 0x5010000
cmp eax, 0x1000000
jne 0x1001d852
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jp 0x1001d852
test ecx, 0x400
je 0x1001d843
movss xmm0, dword [esi + 0x1514]
jmp 0x1001d846
xorps xmm0, xmm0
mov dword [edi + 0x3c], 0
movss dword [edi + 0x40], xmm0
movss xmm0, dword [edi + 0x3c]
maxss xmm0, dword [esi + 0x1554]
maxss xmm0, dword [esi + 0x1b0c]
movss dword [edi + 0x144], xmm0
mov eax, dword [esi + 0x1b10]
mov dword [edi + 0x148], eax
test cl, 0x21
jne 0x1001d9a5
test byte [edi + 8], 1
je 0x1001d88f
xorps xmm2, xmm2
jmp 0x1001d8af
movss xmm0, dword [edx + 0x1548]
movss xmm2, dword [edx + 0x193c]
addss xmm0, xmm0
mulss xmm2, dword [edi + 0x274]
addss xmm2, xmm0
movss xmm3, dword [edi + 0xc]
movaps xmm0, xmm3
movss xmm4, dword [edi + 0x10]
addss xmm0, dword [edi + 0x1c]
addss xmm2, dword [edi + 0x10]
cmp dword [esi + 0x1a24], edi
jne 0x1001d971
cmp dword [esi + 0x1a2c], 0
jne 0x1001d971
cmp dword [esi + 0x1a34], 0
jne 0x1001d971
mov eax, dword [edx + 0x1a20]
movss xmm1, dword [edx + 0x156c]
movaps xmm5, xmm1
maxss xmm3, dword [eax + 0x1d4]
minss xmm0, dword [eax + 0x1dc]
maxss xmm4, dword [eax + 0x1d8]
minss xmm2, dword [eax + 0x1e0]
subss xmm3, xmm1
movss xmm1, dword [edx + 0xd8]
addss xmm5, xmm0
movss xmm0, dword [edx + 0x1570]
movaps xmm6, xmm0
subss xmm4, xmm0
addss xmm6, xmm2
comiss xmm1, xmm3
jb 0x1001d96e
movss xmm0, dword [edx + 0xdc]
comiss xmm0, xmm4
jb 0x1001d96e
comiss xmm5, xmm1
jbe 0x1001d96e
comiss xmm6, xmm0
jbe 0x1001d96e
cmp byte [esi + 0x3ed], 0
xorps xmm1, xmm1
je 0x1001d971
mov byte [edi + 0x7a], 1
jmp 0x1001d971
xorps xmm1, xmm1
cmp byte [edi + 0x7a], 0
je 0x1001d9a9
cmp byte [edi + 0x79], 0
sete al
test dword [edi + 8], 0x100
mov byte [edi + 0x79], al
jne 0x1001d99c
comiss xmm1, dword [edx + 0x2c8c]
jb 0x1001d99c
mov eax, dword [edx + 0x1c]
mov dword [edx + 0x2c8c], eax
mov ecx, edi
call fcn.100206a0
jmp 0x1001d9a9
mov byte [edi + 0x79], 0
lea eax, [edi + 0x2c]
mov byte [edi + 0x7a], 0
push eax
mov edx, edi
lea ecx, [esp + 0x4c]
call fcn.1001c500
movss xmm0, dword [0x1005ec10]
add esp, 4
test byte [esp + 0xc], 0x40
movss dword [esp + 0x28], xmm0
movss dword [esp + 0x34], xmm0
je 0x1001da19
cmp byte [edi + 0x79], 0
jne 0x1001da19
cmp byte [esp + 8], 0
jne 0x1001d9f8
movss xmm0, dword [esp + 0x48]
movss dword [esp + 0x28], xmm0
movss dword [edi + 0x1c], xmm0
cmp byte [esp + 0xa], 0
jne 0x1001dac3
movss xmm0, dword [esp + 0x4c]
movss dword [esp + 0x34], xmm0
movss dword [edi + 0x20], xmm0
jmp 0x1001dac3
mov eax, dword [edi + 0x90]
test eax, eax
jg 0x1001da30
cmp dword [edi + 0x94], 0
jle 0x1001dac3
cmp byte [esp + 8], 0
jne 0x1001da62
test eax, eax
jle 0x1001da62
cmp byte [edi + 0x98], 0
je 0x1001da51
movss xmm0, dword [edi + 0x1c]
maxss xmm0, dword [esp + 0x48]
jmp 0x1001da57
movss xmm0, dword [esp + 0x48]
movss dword [esp + 0x28], xmm0
movss dword [edi + 0x1c], xmm0
cmp byte [esp + 0xa], 0
jne 0x1001da99
cmp dword [edi + 0x94], 0
jle 0x1001da99
cmp byte [edi + 0x98], 0
je 0x1001da88
movss xmm0, dword [edi + 0x20]
maxss xmm0, dword [esp + 0x4c]
jmp 0x1001da8e
movss xmm0, dword [esp + 0x4c]
movss dword [esp + 0x34], xmm0
movss dword [edi + 0x20], xmm0
cmp byte [edi + 0x79], 0
jne 0x1001dac3
test dword [edi + 8], 0x100
mov ecx, dword [0x100daf00]
jne 0x1001dac3
xorps xmm0, xmm0
comiss xmm0, dword [ecx + 0x2c8c]
jb 0x1001dac3
mov eax, dword [ecx + 0x1c]
mov dword [ecx + 0x2c8c], eax
push dword [edi + 0x20]
mov edx, edi
lea ecx, [esp + 0xb4]
push dword [edi + 0x1c]
call fcn.1001c330
mov edx, dword [esp + 0x14]
add esp, 8
movss xmm3, dword [eax]
movss xmm0, dword [eax + 4]
mov al, byte [edi + 0x79]
movss dword [edi + 0x1c], xmm3
movss dword [edi + 0x20], xmm0
mov byte [esp + 8], al
test al, al
je 0x1001db5a
test edx, 0x1000000
jne 0x1001db5a
test byte [edi + 8], 1
je 0x1001db0f
xorps xmm2, xmm2
jmp 0x1001db34
mov eax, dword [0x100daf00]
movss xmm0, dword [eax + 0x1548]
movss xmm2, dword [eax + 0x193c]
addss xmm0, xmm0
mulss xmm2, dword [edi + 0x274]
addss xmm2, xmm0
movss xmm0, dword [edi + 0xc]
addss xmm2, dword [edi + 0x10]
addss xmm0, xmm3
subss xmm2, dword [edi + 0x10]
subss xmm0, dword [edi + 0xc]
movss dword [esp + 0x54], xmm2
movss dword [esp + 0x50], xmm0
jmp 0x1001db68
mov eax, dword [edi + 0x1c]
mov ecx, dword [edi + 0x20]
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], ecx
cmp byte [esp + 8], 0
lea ecx, [esp + 0x50]
mov eax, dword [ecx]
mov ecx, dword [ecx + 4]
mov dword [edi + 0x14], eax
mov dword [edi + 0x18], ecx
jne 0x1001dc63
movss xmm0, dword [esp + 0x28]
movss xmm1, dword [0x1005ec10]
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jp 0x1001db9e
movss xmm3, dword [edi + 0x24]
movss xmm0, dword [esp + 0x34]
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jnp 0x1001dbb4
movss xmm2, dword [edi + 0x20]
jmp 0x1001dbb9
movss xmm2, dword [edi + 0x28]
test edx, 0x4000
jne 0x1001dbd4
movss xmm0, dword [edi + 0x30]
comiss xmm0, xmm2
jbe 0x1001dbd0
test dl, 8
je 0x1001dbd4
xor cl, cl
jmp 0x1001dbd6
mov cl, 1
mov byte [edi + 0x75], cl
test edx, 0x8000
jne 0x1001dc1a
xorps xmm1, xmm1
test cl, cl
je 0x1001dbf2
movss xmm0, dword [esi + 0x157c]
jmp 0x1001dbf5
xorps xmm0, xmm0
subss xmm3, xmm0
movss xmm0, dword [edi + 0x2c]
comiss xmm0, xmm3
jbe 0x1001dc11
mov eax, edx
and eax, 0x808
cmp eax, 0x800
je 0x1001dc1a
mov byte [edi + 0x74], 0
xorps xmm0, xmm0
jmp 0x1001dc4d
mov byte [edi + 0x74], 1
test cl, cl
jne 0x1001dc42
subss xmm2, dword [esi + 0x157c]
movss xmm0, dword [edi + 0x30]
comiss xmm0, xmm2
jbe 0x1001dc3d
test dl, 8
jne 0x1001dc3d
mov cl, 1
jmp 0x1001dc3f
xor cl, cl
mov byte [edi + 0x75], cl
movss xmm0, dword [esi + 0x157c]
xorps xmm1, xmm1
test cl, cl
je 0x1001dc59
movss xmm1, dword [esi + 0x157c]
movss dword [edi + 0x6c], xmm1
movss dword [edi + 0x70], xmm0
cmp byte [esp + 0xb], 0
je 0x1001dca8
mov dword [edi + 0xa0], 0xffffffff
test edx, 0x4000000
je 0x1001dca8
cmp byte [esp + 9], 0
jne 0x1001dca8
mov eax, dword [esi + 0x1aa4]
lea ecx, [eax + eax*8]
mov eax, dword [esi + 0x1aac]
movss xmm0, dword [eax + ecx*4 - 0x10]
movss xmm1, dword [eax + ecx*4 - 0xc]
movss dword [edi + 0xc], xmm0
movss dword [edi + 0x10], xmm1
test edx, 0x1000000
je 0x1001dd4d
mov ecx, dword [esp + 0x20]
add ecx, 0x14c
mov dword [esp + 0x1c], ecx
mov eax, dword [ecx]
mov dword [edi + 0x80], eax
mov eax, dword [ecx + 4]
cmp dword [ecx], eax
jne 0x1001dd02
mov edx, dword [ecx]
inc edx
mov dword [esp + 0x18], edx
test eax, eax
je 0x1001dcea
cdq
sub eax, edx
mov edx, dword [esp + 0x18]
sar eax, 1
add eax, dword [ecx + 4]
jmp 0x1001dcef
mov eax, 8
cmp eax, edx
cmovg edx, eax
push edx
call fcn.10032760
mov edx, dword [esp + 0xc]
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x20]
mov ecx, dword [ecx]
mov eax, dword [eax + 0x154]
mov dword [eax + ecx*4], edi
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x10]
inc dword [eax + 0x14c]
mov al, byte [esp + 9]
test edx, 0x4000000
jne 0x1001dd55
test al, al
jne 0x1001dd55
cmp ecx, 0x3000000
je 0x1001dd55
mov ecx, dword [esp + 0x20]
mov eax, dword [ecx + 0xc8]
mov ecx, dword [ecx + 0xcc]
mov dword [edi + 0xc], eax
mov dword [edi + 0x10], ecx
mov ecx, dword [esp + 0x10]
mov al, byte [esp + 9]
movss xmm0, dword [edi + 0xb8]
movss xmm7, dword [0x1005ec10]
ucomiss xmm0, xmm7
movss dword [esp + 0x18], xmm0
lahf
test ah, 0x44
jnp 0x1001de84
cmp dword [edi + 0xa8], 0
jne 0x1001de84
movss xmm6, dword [edi + 0xc4]
movss xmm0, dword [esi + 0x15cc]
movss xmm2, dword [edi + 0xc0]
movss xmm5, dword [edi + 0xbc]
movss xmm3, dword [esi + 0x15d0]
and dword [edi + 0xac], 0xfffffff1
movss xmm1, dword [esp + 0x18]
mov dword [edi + 0xb8], 0x7f7fffff
mov dword [edi + 0xbc], 0x7f7fffff
mulss xmm2, dword [edi + 0x1c]
movss dword [esp + 0x1c], xmm6
movss xmm6, dword [edi + 0x10]
subss xmm1, xmm2
movss dword [esp + 0x30], xmm6
movss xmm6, dword [esp + 0x1c]
mulss xmm6, dword [edi + 0x20]
movss xmm7, dword [edi + 0xc]
maxss xmm0, xmm1
subss xmm5, xmm6
cvttss2si eax, xmm0
maxss xmm3, xmm5
movd xmm1, eax
cvttss2si eax, xmm3
cvtdq2ps xmm1, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [edi + 0xc], xmm1
subss xmm1, xmm7
movss dword [edi + 0x10], xmm0
subss xmm0, dword [esp + 0x30]
addss xmm1, dword [edi + 0xc8]
addss xmm0, dword [edi + 0xcc]
movss dword [edi + 0xc8], xmm1
movss dword [edi + 0xcc], xmm0
movss xmm1, dword [edi + 0x10]
movss xmm0, dword [edi + 0xc]
subss xmm1, dword [esp + 0x30]
subss xmm0, xmm7
addss xmm1, dword [edi + 0xe4]
addss xmm0, dword [edi + 0xe0]
movss dword [edi + 0xe4], xmm1
movss dword [edi + 0xe0], xmm0
jmp 0x1001ded5
test edx, 0x10000000
jne 0x1001deb3
test edx, 0x4000000
je 0x1001de9f
test al, al
jne 0x1001de9f
cmp dword [esp + 0x40], 0
jg 0x1001deb3
test edx, 0x2000000
je 0x1001dedd
test al, al
jne 0x1001dedd
cmp ecx, 0x3000000
je 0x1001dedd
mov edx, edi
lea ecx, [esp + 0x50]
call fcn.1001bc30
mov edx, dword [esp + 0xc]
movss xmm1, dword [eax + 4]
movss xmm0, dword [eax]
movss dword [edi + 0xc], xmm0
movss dword [edi + 0x10], xmm1
movss xmm7, dword [0x1005ec10]
test edx, 0x1000000
jne 0x1001df9d
cmp byte [esp + 9], 0
jne 0x1001df9d
cmp dword [edi + 0x90], 0
jg 0x1001df9d
cmp dword [edi + 0x94], 0
xorps xmm2, xmm2
jg 0x1001dfa0
movss xmm0, dword [esi + 0x10]
comiss xmm0, xmm2
jbe 0x1001dfa0
movss xmm0, dword [esi + 0x14]
comiss xmm0, xmm2
jbe 0x1001dfa0
movss xmm5, dword [esi + 0x15c8]
movss xmm4, dword [esi + 0x15c4]
movss xmm3, dword [edi + 0x14]
addss xmm3, dword [edi + 0xc]
movss xmm2, dword [edi + 0x18]
addss xmm2, dword [edi + 0x10]
maxss xmm5, dword [esi + 0x15d0]
maxss xmm4, dword [esi + 0x15cc]
maxss xmm2, xmm5
maxss xmm3, xmm4
subss xmm2, dword [edi + 0x18]
subss xmm3, dword [edi + 0x14]
movss dword [edi + 0x10], xmm2
movss dword [edi + 0xc], xmm3
movss xmm0, dword [esi + 0x10]
subss xmm0, xmm4
minss xmm3, xmm0
movss xmm0, dword [esi + 0x14]
subss xmm0, xmm5
movss dword [edi + 0xc], xmm3
minss xmm2, xmm0
movss dword [edi + 0x10], xmm2
xorps xmm2, xmm2
cvttss2si eax, dword [edi + 0xc]
movd xmm1, eax
cvttss2si eax, dword [edi + 0x10]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
movss dword [edi + 0xc], xmm1
cvtdq2ps xmm0, xmm0
movss dword [edi + 0x10], xmm0
test edx, 0x1000000
je 0x1001dfd4
movss xmm6, dword [esi + 0x1534]
jmp 0x1001dff4
mov eax, edx
and eax, 0xc000000
cmp eax, 0x4000000
jne 0x1001dfec
movss xmm6, dword [esi + 0x153c]
jmp 0x1001dff4
movss xmm6, dword [esi + 0x1518]
mov eax, dword [edi + 0x370]
movss dword [edi + 0x44], xmm6
cmp eax, 0x7fffffff
je 0x1001e01a
mov ecx, dword [edi + 0x360]
cmp ecx, 0xffffffff
je 0x1001e01a
inc eax
add eax, ecx
inc ecx
cdq
idiv ecx
jmp 0x1001e01f
mov edx, 0x7fffffff
mov eax, dword [edi + 0x374]
mov dword [edi + 0x368], edx
cmp eax, 0x7fffffff
je 0x1001e046
mov ecx, dword [edi + 0x364]
cmp ecx, 0xffffffff
je 0x1001e046
inc eax
add eax, ecx
inc ecx
cdq
idiv ecx
jmp 0x1001e04b
mov edx, 0x7fffffff
movss xmm1, dword [edi + 0x5c]
comiss xmm7, xmm1
mov dword [edi + 0x36c], edx
mov dword [edi + 0x364], 0xffffffff
mov dword [edi + 0x360], 0xffffffff
mov dword [edi + 0x374], 0x7fffffff
mov dword [edi + 0x370], 0x7fffffff
movss xmm4, dword [edi + 0x54]
movss xmm3, dword [edi + 0x58]
jbe 0x1001e0a3
movss xmm0, dword [edi + 0x1c]
movaps xmm4, xmm1
subss xmm0, dword [edi + 0x6c]
mulss xmm0, dword [edi + 0x64]
subss xmm4, xmm0
movss xmm0, dword [edi + 0x60]
comiss xmm7, xmm0
movss xmm5, dword [0x1005ead4]
jbe 0x1001e189
movss xmm7, dword [edi + 0x68]
movaps xmm3, xmm0
comiss xmm2, xmm7
jb 0x1001e0d3
movss xmm0, dword [edi + 0x40]
comiss xmm0, xmm3
jb 0x1001e0d3
xorps xmm3, xmm3
comiss xmm7, xmm5
mov eax, dword [0x100daf00]
jb 0x1001e0fa
movss xmm1, dword [edi + 0x30]
movaps xmm0, xmm1
subss xmm0, dword [edi + 0x40]
addss xmm0, dword [eax + 0x1558]
comiss xmm3, xmm0
jb 0x1001e0fa
movaps xmm3, xmm1
mov ecx, dword [edi + 8]
test cl, 1
je 0x1001e107
xorps xmm5, xmm5
jmp 0x1001e127
movss xmm0, dword [eax + 0x1548]
movss xmm5, dword [eax + 0x193c]
addss xmm0, xmm0
mulss xmm5, dword [edi + 0x274]
addss xmm5, xmm0
test ecx, 0x400
je 0x1001e159
movss xmm1, dword [eax + 0x193c]
mulss xmm1, dword [edi + 0x274]
movss xmm0, dword [eax + 0x1548]
addss xmm0, xmm0
addss xmm1, dword [edi + 0x148]
addss xmm1, xmm0
jmp 0x1001e15c
xorps xmm1, xmm1
addss xmm1, xmm5
movss xmm5, dword [0x1005ead4]
movaps xmm0, xmm5
subss xmm0, xmm7
mulss xmm1, xmm0
movss xmm0, dword [edi + 0x20]
subss xmm0, dword [edi + 0x70]
subss xmm3, xmm1
mulss xmm0, xmm7
subss xmm3, xmm0
cmp byte [edi + 0x79], 0
maxss xmm4, xmm2
maxss xmm3, xmm2
jne 0x1001e1e1
cmp byte [edi + 0x7b], 0
jne 0x1001e1e1
movss xmm0, dword [edi + 0x1c]
subss xmm0, dword [edi + 0x6c]
movss xmm1, dword [edi + 0x2c]
subss xmm1, xmm0
xorps xmm0, xmm0
maxss xmm0, xmm1
comiss xmm0, xmm4
ja 0x1001e1bf
movaps xmm4, xmm0
movss xmm0, dword [edi + 0x20]
subss xmm0, dword [edi + 0x70]
movss xmm1, dword [edi + 0x30]
subss xmm1, xmm0
xorps xmm0, xmm0
maxss xmm0, xmm1
comiss xmm0, xmm3
ja 0x1001e1e1
movaps xmm3, xmm0
cmp byte [esp + 0xb], 0
movss dword [edi + 0x54], xmm4
movss dword [edi + 0x58], xmm3
mov dword [edi + 0x5c], 0x7f7fffff
mov dword [edi + 0x60], 0x7f7fffff
mov byte [esp + 8], 0
je 0x1001e223
mov eax, dword [esp + 0xc]
test eax, 0x1000
jne 0x1001e223
test eax, 0x3000000
je 0x1001e21e
test eax, 0x4000000
je 0x1001e223
mov byte [esp + 8], 1
movss xmm1, dword [esi + 0x1938]
addss xmm6, xmm5
xorps xmm0, xmm0
or eax, 0xffffffff
movaps xmmword [esp + 0xc0], xmm0
movaps xmm0, xmm1
mulss xmm1, dword [0x1005ea90]
mov dword [esp + 0x18], eax
mulss xmm0, dword [0x1005ead8]
mov dword [esp + 0x38], eax
xor eax, eax
cmp byte [esi + 0xbe], al
addss xmm6, xmm1
setne al
inc eax
cmp byte [edi + 0x79], 0
mov dword [esp + 0x60], eax
maxss xmm0, xmm6
cvttss2si esi, xmm0
jne 0x1001e2a1
lea ecx, [esp + 0xc0]
push ecx
push eax
lea eax, [esp + 0x40]
mov ecx, edi
push eax
lea edx, [esp + 0x54]
call fcn.1001c650
mov eax, dword [esp + 0x44]
add esp, 0xc
mov dword [esp + 0x18], eax
xorps xmm2, xmm2
movss xmm0, dword [edi + 0x14]
comiss xmm0, xmm2
jbe 0x1001e2bf
test dword [esp + 0xc], 0x2000040
jne 0x1001e2bf
mulss xmm0, dword [0x1005eab4]
jmp 0x1001e2d3
mov eax, dword [esp + 0x14]
movss xmm0, dword [eax + 0x1938]
mulss xmm0, dword [0x1005eb78]
cvttss2si eax, xmm0
mov ecx, edi
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [ecx + 0x228], xmm0
mov ecx, dword [edi + 0x27c]
call fcn.10045340
mov edx, dword [esp + 0x14]
xor ecx, ecx
mov eax, 2
cmp byte [edx + 0x15da], cl
cmovne ecx, eax
xor eax, eax
cmp byte [edx + 0x15d8], al
setne al
or ecx, eax
mov eax, dword [edi + 0x27c]
mov dword [eax + 0x24], ecx
mov eax, dword [edx + 0x1934]
mov ecx, dword [edi + 0x27c]
lea edi, [ecx + 0x48]
mov dword [esp + 0x30], ecx
mov ecx, dword [edi]
mov eax, dword [eax + 0x44]
mov eax, dword [eax + 8]
mov dword [esp + 0x1c], eax
mov eax, dword [edi + 4]
cmp ecx, eax
jne 0x1001e364
inc ecx
test eax, eax
je 0x1001e352
cdq
sub eax, edx
sar eax, 1
add eax, dword [edi + 4]
jmp 0x1001e357
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
push ecx
mov ecx, edi
call fcn.10032760
mov edx, dword [edi]
mov eax, dword [edi + 8]
mov ecx, dword [esp + 0x1c]
mov dword [eax + edx*4], ecx
mov ecx, dword [esp + 0x30]
inc dword [edi]
call fcn.10045770
mov edi, dword [0x100daf00]
movss xmm2, dword [edi + 0xac]
movss xmm1, dword [edi + 0xb4]
ucomiss xmm2, xmm1
movss dword [esp + 0x8c], xmm2
movss dword [esp + 0x84], xmm1
lahf
test ah, 0x44
jnp 0x1001e3f2
movss xmm0, dword [edi + 0xb0]
ucomiss xmm0, dword [edi + 0xb8]
lahf
test ah, 0x44
jnp 0x1001e3f2
movss dword [esp + 0xb0], xmm2
movaps xmm2, xmm0
movss xmm0, dword [edi + 0xb8]
movss dword [esp + 0x80], xmm2
movss dword [esp + 0xb4], xmm2
movss dword [esp + 0xb8], xmm1
jmp 0x1001e438
xorps xmm0, xmm0
xorps xmm1, xmm1
movss dword [esp + 0x80], xmm0
movss dword [esp + 0xb4], xmm0
movss xmm0, dword [edi + 0x10]
movss dword [esp + 0x84], xmm0
movss dword [esp + 0xb8], xmm0
movss xmm0, dword [edi + 0x14]
movss dword [esp + 0x8c], xmm1
movss dword [esp + 0xb0], xmm1
mov eax, dword [esp + 0xc]
and eax, 0x5000000
movss dword [esp + 0xbc], xmm0
movss dword [esp + 0x2c], xmm0
cmp eax, 0x1000000
jne 0x1001e4c1
cmp dword [esp + 0x10], 0x3000000
je 0x1001e4c1
mov eax, dword [edi + 0x1a20]
push 1
mov byte [eax + 0x78], 1
mov eax, dword [esp + 0x24]
mov edi, dword [edi + 0x1a20]
push dword [eax + 0x1e0]
mov ecx, dword [edi + 0x27c]
push dword [eax + 0x1dc]
push dword [eax + 0x1d8]
push dword [eax + 0x1d4]
call fcn.10045840
mov eax, dword [edi + 0x27c]
mov ecx, dword [eax + 0x3c]
mov eax, dword [eax + 0x44]
shl ecx, 4
movss xmm0, dword [eax + ecx - 0xc]
movss xmm1, dword [eax + ecx - 8]
movss xmm2, dword [eax + ecx - 4]
mov eax, dword [eax + ecx - 0x10]
jmp 0x1001e51f
mov eax, dword [edi + 0x1a20]
push 1
push dword [esp + 0xc0]
push dword [esp + 0xc0]
mov byte [eax + 0x78], 1
mov edi, dword [edi + 0x1a20]
push dword [esp + 0xc0]
push dword [esp + 0xc0]
mov ecx, dword [edi + 0x27c]
call fcn.10045840
mov eax, dword [edi + 0x27c]
mov ecx, dword [eax + 0x3c]
mov eax, dword [eax + 0x44]
shl ecx, 4
movss xmm0, dword [ecx + eax - 0xc]
movss xmm1, dword [ecx + eax - 8]
movss xmm2, dword [ecx + eax - 4]
mov eax, dword [ecx + eax - 0x10]
test dword [esp + 0xc], 0x8000000
mov dword [edi + 0x1d4], eax
movss dword [edi + 0x1d8], xmm0
movss dword [edi + 0x1dc], xmm1
movss dword [edi + 0x1e0], xmm2
je 0x1001e561
call fcn.1001ae20
mov edi, dword [esp + 0x3c]
cmp edi, eax
jne 0x1001e565
cmp dword [edi + 0xa8], 0
jg 0x1001e565
mov cl, 1
jmp 0x1001e567
mov edi, dword [esp + 0x3c]
xor cl, cl
mov edx, dword [esp + 0x14]
mov eax, dword [edx + 0x1b5c]
test eax, eax
je 0x1001e581
cmp edi, dword [eax + 0x328]
jne 0x1001e581
mov al, 1
jmp 0x1001e583
xor al, al
mov byte [esp + 9], al
test cl, cl
jne 0x1001e593
test al, al
je 0x1001e6b4
movss xmm1, dword [edx + 0x1c54]
push 0xf
push ecx
movzx ecx, cl
add ecx, 0x33
mov dword [esp], 0
call fcn.100124b0
mov ecx, dword [edi + 0x27c]
push eax
lea eax, [esp + 0xc4]
push eax
lea eax, [esp + 0xc0]
push eax
call fcn.10047540
cmp byte [esp + 9], 0
mov edx, dword [esp + 0x14]
je 0x1001e6b4
cmp edi, dword [edx + 0x1b5c]
jne 0x1001e6b4
movss xmm2, dword [edi + 0xc]
movss xmm3, dword [edi + 0x10]
movaps xmm1, xmm2
movss xmm0, dword [edx + 0x1938]
movaps xmm4, xmm3
addss xmm2, dword [edi + 0x14]
addss xmm3, dword [edi + 0x18]
subss xmm1, xmm0
subss xmm4, xmm0
addss xmm2, xmm0
addss xmm3, xmm0
movss xmm0, dword [esp + 0x8c]
comiss xmm0, xmm1
movss dword [esp + 0x90], xmm1
movss dword [esp + 0x94], xmm4
movss dword [esp + 0x98], xmm2
movss dword [esp + 0x9c], xmm3
jb 0x1001e66a
movss xmm0, dword [esp + 0x80]
comiss xmm0, xmm4
jb 0x1001e66a
comiss xmm2, dword [esp + 0x84]
jb 0x1001e66a
comiss xmm3, dword [esp + 0x2c]
jae 0x1001e6b4
movss xmm1, dword [edx + 0x1b68]
mulss xmm1, dword [0x1005ea94]
push 0xf
movss xmm0, dword [edx + 0x1518]
push ecx
mov ecx, 0x32
movss dword [esp], xmm0
call fcn.100124b0
mov ecx, dword [edi + 0x27c]
push eax
lea eax, [esp + 0xa4]
push eax
lea eax, [esp + 0xa0]
push eax
call fcn.10047540
mov edx, dword [esp + 0x14]
movss xmm0, dword [edi + 0x44]
movss xmm1, dword [edi + 0x48]
mov ecx, dword [edx + 0x1b58]
movss dword [esp + 0x10], xmm0
movss dword [esp + 0x28], xmm1
test ecx, ecx
jne 0x1001e6da
mov ecx, dword [edx + 0x1b1c]
cmp byte [esp + 8], 0
jne 0x1001e6f7
test ecx, ecx
je 0x1001e6f3
mov eax, dword [edi + 0x32c]
cmp eax, dword [ecx + 0x32c]
je 0x1001e6f7
xor cl, cl
jmp 0x1001e6f9
mov cl, 1
test byte [edi + 8], 1
xorps xmm7, xmm7
mov byte [esp + 9], cl
je 0x1001e70b
xorps xmm2, xmm2
jmp 0x1001e730
mov eax, dword [0x100daf00]
movss xmm0, dword [eax + 0x1548]
movss xmm2, dword [eax + 0x193c]
addss xmm0, xmm0
mulss xmm2, dword [edi + 0x274]
addss xmm2, xmm0
cmp byte [edi + 0x79], 0
movss xmm3, dword [edi + 0xc]
addss xmm2, dword [edi + 0x10]
movaps xmm0, xmm3
movss dword [esp + 0x40], xmm3
addss xmm0, dword [edi + 0x1c]
movss dword [esp + 0x90], xmm3
movss xmm3, dword [edi + 0x10]
movss dword [esp + 0x38], xmm2
movss dword [esp + 0x7c], xmm2
movss dword [esp + 0x78], xmm0
movss dword [esp + 0x94], xmm3
movss dword [esp + 0x98], xmm0
movss dword [esp + 0x9c], xmm2
je 0x1001e802
mov esi, dword [esp + 0x14]
movss xmm0, dword [esi + 0x1550]
movss dword [esp + 0x18], xmm0
movss dword [esi + 0x1550], xmm1
test cl, cl
je 0x1001e7b5
cmp byte [esi + 0x1b7a], 0
mov ecx, 0xb
je 0x1001e7ba
mov ecx, 0xc
push dword [esp + 0x7c]
movss xmm1, dword [0x1005ead4]
push dword [esp + 0x7c]
push dword [esp + 0x9c]
push dword [esp + 0x9c]
call fcn.100124b0
movss xmm2, dword [esp + 0x20]
mov dl, 1
mov ecx, eax
call fcn.1001a0a0
movss xmm0, dword [esp + 0x28]
add esp, 0x10
movss dword [esi + 0x1550], xmm0
jmp 0x1001f087
mov eax, dword [esp + 0xc]
test eax, 0x6000000
je 0x1001e814
mov eax, 4
jmp 0x1001e821
and eax, 0x1000000
or eax, 0x2000000
shr eax, 0x18
movss xmm1, dword [0x1005ead4]
mov ecx, eax
call fcn.100124b0
cmp dword [edx + 0x1ac8], 0
mov ecx, eax
je 0x1001e882
movss xmm1, dword [edx + 0x1b08]
comiss xmm7, xmm1
jbe 0x1001e84d
xorps xmm0, xmm0
jmp 0x1001e859
movss xmm0, dword [0x1005ead4]
minss xmm0, xmm1
mulss xmm0, dword [0x1005ebcc]
and ecx, 0xffffff
mov dword [edx + 0x1ac8], 0
addss xmm0, dword [0x1005eaa8]
cvttss2si eax, xmm0
shl eax, 0x18
or ecx, eax
test byte [edi + 8], 1
movss xmm2, dword [edi + 0xc]
movss xmm3, dword [edi + 0x10]
movaps xmm0, xmm2
addss xmm0, dword [edi + 0x14]
movss dword [esp + 0x50], xmm0
movaps xmm0, xmm3
addss xmm0, dword [edi + 0x18]
movss dword [esp + 0x54], xmm0
je 0x1001e8b3
xorps xmm1, xmm1
jmp 0x1001e8d8
mov eax, dword [0x100daf00]
movss xmm0, dword [eax + 0x1548]
movss xmm1, dword [eax + 0x193c]
addss xmm0, xmm0
mulss xmm1, dword [edi + 0x274]
addss xmm1, xmm0
mov eax, dword [esp + 0xc]
addss xmm2, xmm7
movss xmm0, dword [esp + 0x10]
addss xmm1, xmm3
and eax, 1
mov edx, 0xf
mov dword [esp + 0x1c], eax
mov eax, 0xc
cmovne eax, edx
push eax
push ecx
movss dword [esp], xmm0
lea eax, [esp + 0x58]
push ecx
mov ecx, dword [edi + 0x27c]
push eax
lea eax, [esp + 0x78]
movss dword [esp + 0x78], xmm2
push eax
movss dword [esp + 0x80], xmm1
call fcn.10047540
cmp byte [edi + 0x79], 0
je 0x1001e937
mov ecx, 0xc
jmp 0x1001e93f
movzx ecx, byte [esp + 9]
add ecx, 0xa
cmp dword [esp + 0x1c], 0
jne 0x1001e97d
movss xmm0, dword [esp + 0x10]
movss xmm1, dword [0x1005ead4]
push 3
push ecx
movss dword [esp], xmm0
call fcn.100124b0
mov ecx, dword [edi + 0x27c]
push eax
lea eax, [esp + 0xa4]
push eax
lea eax, [esp + 0xa0]
push eax
call fcn.10047540
mov eax, dword [esp + 0xc]
test eax, 0x400
je 0x1001eb2a
mov edx, dword [edi + 8]
xorps xmm2, xmm2
mov ecx, dword [0x100daf00]
test dl, 1
je 0x1001e9a2
xorps xmm1, xmm1
jmp 0x1001e9c2
movss xmm0, dword [ecx + 0x1548]
movss xmm1, dword [ecx + 0x193c]
addss xmm0, xmm0
mulss xmm1, dword [edi + 0x274]
addss xmm1, xmm0
movss xmm4, dword [edi + 0x10]
movaps xmm5, xmm4
addss xmm5, xmm1
test edx, 0x400
je 0x1001ea00
movss xmm3, dword [ecx + 0x193c]
mulss xmm3, dword [edi + 0x274]
movss xmm0, dword [ecx + 0x1548]
addss xmm0, xmm0
addss xmm3, dword [edi + 0x148]
addss xmm3, xmm0
jmp 0x1001ea03
xorps xmm3, xmm3
movss xmm1, dword [edi + 0xc]
movaps xmm0, xmm5
maxss xmm0, xmm4
movaps xmm6, xmm1
maxss xmm6, xmm1
addss xmm3, xmm5
addss xmm4, dword [edi + 0x18]
movss dword [esp + 0xb4], xmm0
movaps xmm0, xmm1
movss dword [esp + 0x30], xmm6
movss dword [esp + 0xb0], xmm6
minss xmm3, xmm4
addss xmm0, dword [edi + 0x1c]
addss xmm1, dword [edi + 0x14]
movss dword [esp + 0x1c], xmm3
movss dword [esp + 0xbc], xmm3
minss xmm0, xmm1
movss dword [esp + 0xb8], xmm0
test al, 1
je 0x1001ea6e
movss xmm2, dword [esp + 0x10]
movss xmm1, dword [0x1005ead4]
push 3
push ecx
mov ecx, 0xd
movss dword [esp], xmm2
call fcn.100124b0
mov ecx, dword [edi + 0x27c]
push eax
lea eax, [esp + 0xc4]
push eax
lea eax, [esp + 0xc0]
push eax
call fcn.10047540
mov eax, dword [esp + 0x14]
movss xmm2, dword [eax + 0x1550]
comiss xmm2, dword [0x1005ea38]
jbe 0x1001eb2a
movss xmm0, dword [edi + 0x10]
addss xmm0, dword [edi + 0x18]
movss xmm1, dword [esp + 0x1c]
comiss xmm0, xmm1
jbe 0x1001eb2a
mov ecx, dword [esp + 0xbc]
sub esp, 8
movss xmm0, dword [esp + 0x38]
mov eax, dword [esp + 0xc0]
mov dword [esp + 0x5c], ecx
mov ecx, 5
movss dword [esp + 0x74], xmm1
movss xmm1, dword [0x1005ead4]
mov dword [esp + 0x58], eax
movss dword [esp + 0x70], xmm0
movss dword [esp + 4], xmm2
call fcn.100124b0
mov ecx, dword [edi + 0x27c]
add esp, 4
push eax
lea eax, [esp + 0x58]
push eax
lea eax, [esp + 0x74]
push eax
call fcn.100472f0
cmp byte [edi + 0x74], 0
je 0x1001eb3a
mov ecx, 1
call fcn.10020030
cmp byte [edi + 0x75], 0
je 0x1001eb47
xor ecx, ecx
call fcn.10020030
test byte [esp + 0xc], 2
jne 0x1001ede3
movss xmm4, dword [esp + 0x28]
xor ecx, ecx
movaps xmm0, xmm4
mov dword [esp + 0x88], ecx
addss xmm0, dword [esp + 0x10]
mov eax, 0x10065230
mov dword [esp + 0x34], eax
movss dword [esp + 0x48], xmm0
nop dword [eax]
movss xmm0, dword [edi + 0xc]
and ecx, 1
movss xmm1, dword [edi + 0x10]
movaps xmm2, xmm0
addss xmm2, dword [edi + 0x14]
mov edx, dword [edi + 0x27c]
mov dword [esp + 0xac], ecx
subss xmm2, xmm0
mulss xmm2, dword [eax - 8]
addss xmm2, xmm0
movaps xmm0, xmm1
addss xmm0, dword [edi + 0x18]
movss dword [esp + 0x30], xmm2
subss xmm0, xmm1
mulss xmm0, dword [eax - 4]
addss xmm0, xmm1
movss dword [esp + 0x1c], xmm0
je 0x1001ebde
movd xmm3, esi
movaps xmm1, xmm4
cvtdq2ps xmm3, xmm3
jmp 0x1001ebe8
movd xmm1, esi
movaps xmm3, xmm4
cvtdq2ps xmm1, xmm1
mulss xmm1, dword [eax]
mov edi, dword [edx + 0x58]
mulss xmm3, dword [eax + 4]
lea eax, [edx + 0x54]
mov ecx, dword [eax]
mov dword [esp + 0x24], eax
addss xmm1, xmm2
addss xmm3, xmm0
movss dword [esp + 0x68], xmm1
movss dword [esp + 0x6c], xmm3
cmp ecx, edi
jne 0x1001ec4f
inc ecx
test edi, edi
je 0x1001ec25
mov eax, edi
cdq
sub eax, edx
sar eax, 1
add eax, edi
jmp 0x1001ec2a
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
push ecx
mov ecx, dword [esp + 0x28]
call fcn.10032d70
movss xmm2, dword [esp + 0x30]
movss xmm0, dword [esp + 0x1c]
movss xmm4, dword [esp + 0x28]
mov eax, dword [esp + 0x24]
mov ecx, dword [eax + 8]
mov eax, dword [eax]
mov edx, dword [esp + 0x68]
mov edi, dword [esp + 0x6c]
mov dword [ecx + eax*8], edx
mov dword [ecx + eax*8 + 4], edi
mov eax, dword [esp + 0x24]
inc dword [eax]
cmp dword [esp + 0xac], 0
mov eax, dword [esp + 0x3c]
mov ecx, dword [eax + 0x27c]
je 0x1001ec89
movd xmm1, esi
movaps xmm3, xmm4
cvtdq2ps xmm1, xmm1
jmp 0x1001ec93
movd xmm3, esi
movaps xmm1, xmm4
cvtdq2ps xmm3, xmm3
mov eax, dword [esp + 0x34]
mov edi, dword [ecx + 0x54]
mulss xmm1, dword [eax]
mulss xmm3, dword [eax + 4]
lea eax, [ecx + 0x54]
mov ecx, dword [eax + 4]
mov dword [esp + 0x24], eax
addss xmm1, xmm2
addss xmm3, xmm0
movss dword [esp + 0x50], xmm1
movss dword [esp + 0x54], xmm3
cmp edi, ecx
jne 0x1001ecf3
inc edi
test ecx, ecx
je 0x1001ecd5
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x1001ecda
mov eax, 8
mov ecx, dword [esp + 0x24]
cmp eax, edi
cmovg edi, eax
push edi
call fcn.10032d70
movss xmm2, dword [esp + 0x30]
mov eax, dword [esp + 0x24]
mov ecx, dword [eax + 8]
mov eax, dword [eax]
mov edx, dword [esp + 0x50]
mov edi, dword [esp + 0x54]
movss xmm0, dword [esp + 0x48]
mov dword [ecx + eax*8], edx
mov dword [ecx + eax*8 + 4], edi
mov eax, dword [esp + 0x24]
mov edi, dword [esp + 0x3c]
inc dword [eax]
mov eax, dword [esp + 0x34]
mov ecx, dword [edi + 0x27c]
mulss xmm0, dword [eax]
push dword [eax + 0xc]
push dword [eax + 8]
addss xmm0, xmm2
movss xmm2, dword [esp + 0x18]
movss dword [esp + 0xb8], xmm0
movss xmm0, dword [esp + 0x50]
mulss xmm0, dword [eax + 4]
lea eax, [esp + 0xb8]
push eax
addss xmm0, dword [esp + 0x28]
movss dword [esp + 0xc0], xmm0
call fcn.10046d10
mov ecx, dword [edi + 0x27c]
mov edx, dword [esp + 0x88]
lea eax, [ecx + 0x54]
mov dword [esp + 0x24], eax
push dword [esp + edx*4 + 0xc0]
push dword [eax]
push dword [ecx + 0x5c]
call fcn.100468d0
mov eax, dword [esp + 0x24]
mov ecx, dword [eax + 4]
test ecx, ecx
jns 0x1001edb3
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
xor ecx, ecx
test eax, eax
cmovg ecx, eax
push ecx
mov ecx, dword [esp + 0x28]
call fcn.10032d70
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x88]
movss xmm4, dword [esp + 0x28]
inc ecx
mov dword [eax], 0
mov eax, dword [esp + 0x34]
add eax, 0x18
mov dword [esp + 0x88], ecx
mov dword [esp + 0x34], eax
cmp ecx, dword [esp + 0x60]
jl 0x1001eb80
movss xmm5, dword [esp + 0x28]
xorps xmm1, xmm1
comiss xmm5, xmm1
jbe 0x1001ee64
movss xmm0, dword [edi + 0x14]
addss xmm0, dword [edi + 0xc]
movss xmm1, dword [0x1005ead4]
push ecx
movss dword [esp], xmm5
mov ecx, 5
push 0xf
movss dword [esp + 0xb8], xmm0
sub esp, 8
movss xmm0, dword [edi + 0x18]
addss xmm0, dword [edi + 0x10]
movss dword [esp + 0xc4], xmm0
movss xmm0, dword [esp + 0x20]
movss dword [esp + 4], xmm0
call fcn.100124b0
mov ecx, dword [edi + 0x27c]
add esp, 4
push eax
lea eax, [esp + 0xc0]
push eax
lea eax, [edi + 0xc]
push eax
call fcn.10047430
movss xmm5, dword [esp + 0x28]
xorps xmm1, xmm1
mov eax, dword [esp + 0x18]
cmp eax, 0xffffffff
je 0x1001efe9
movss xmm0, dword [edi + 0xc]
movss xmm2, dword [edi + 0x10]
movaps xmm3, xmm0
movss xmm6, dword [0x1005ead4]
movaps xmm4, xmm2
addss xmm3, dword [edi + 0x14]
addss xmm4, dword [edi + 0x18]
subss xmm3, xmm6
subss xmm4, xmm6
test eax, eax
jne 0x1001eedb
movd xmm4, esi
cvtdq2ps xmm4, xmm4
movss dword [esp + 0xb4], xmm2
addss xmm2, xmm1
addss xmm0, xmm4
subss xmm3, xmm4
movss dword [esp + 0xbc], xmm2
movss dword [esp + 0xb0], xmm0
movss dword [esp + 0xb8], xmm3
jmp 0x1001efad
cmp eax, 1
jne 0x1001ef1f
movaps xmm0, xmm3
movss dword [esp + 0xb8], xmm3
subss xmm0, xmm1
movss dword [esp + 0xb0], xmm0
movd xmm0, esi
cvtdq2ps xmm0, xmm0
addss xmm2, xmm0
subss xmm4, xmm0
movss dword [esp + 0xb4], xmm2
movss dword [esp + 0xbc], xmm4
jmp 0x1001efad
cmp eax, 2
jne 0x1001ef60
movd xmm2, esi
cvtdq2ps xmm2, xmm2
movss dword [esp + 0xbc], xmm4
addss xmm0, xmm2
subss xmm3, xmm2
movss dword [esp + 0xb0], xmm0
movaps xmm0, xmm4
subss xmm0, xmm1
movss dword [esp + 0xb8], xmm3
movss dword [esp + 0xb4], xmm0
jmp 0x1001efad
cmp eax, 3
jne 0x1001ef9e
movd xmm3, esi
cvtdq2ps xmm3, xmm3
movss dword [esp + 0xb0], xmm0
addss xmm0, xmm1
addss xmm2, xmm3
subss xmm4, xmm3
movss dword [esp + 0xb8], xmm0
movss dword [esp + 0xb4], xmm2
movss dword [esp + 0xbc], xmm4
jmp 0x1001efad
movaps xmm0, xmmword [0x1005f7b0]
movups xmmword [esp + 0xb0], xmm0
movaps xmm0, xmm6
sub esp, 8
maxss xmm0, xmm5
movaps xmm1, xmm6
mov ecx, 0x1d
movss dword [esp + 4], xmm0
call fcn.100124b0
mov ecx, dword [edi + 0x27c]
add esp, 4
push eax
lea eax, [esp + 0xc0]
push eax
lea eax, [esp + 0xbc]
push eax
call fcn.100472f0
mov esi, dword [esp + 0x14]
movss xmm2, dword [esi + 0x1550]
comiss xmm2, dword [0x1005ea38]
jbe 0x1001f087
test byte [esp + 0xc], 1
jne 0x1001f087
movss xmm1, dword [esi + 0x151c]
sub esp, 8
movss xmm0, dword [esp + 0x80]
mov ecx, 5
subss xmm0, xmm1
addss xmm1, dword [esp + 0x48]
movss dword [esp + 4], xmm2
movss dword [esp + 0xb8], xmm0
movss xmm0, dword [esp + 0x40]
subss xmm0, dword [0x1005ead4]
movss dword [esp + 0x58], xmm1
movss xmm1, dword [0x1005ead4]
movss dword [esp + 0xbc], xmm0
movss dword [esp + 0x5c], xmm0
call fcn.100124b0
mov ecx, dword [edi + 0x27c]
add esp, 4
push eax
lea eax, [esp + 0xb8]
push eax
lea eax, [esp + 0x5c]
push eax
call fcn.100472f0
cmp dword [esi + 0x1b5c], edi
jne 0x1001f1b0
movss xmm2, dword [edi + 0xc]
movss xmm1, dword [edi + 0x10]
movaps xmm4, xmm2
movss xmm0, dword [esi + 0x1938]
movaps xmm3, xmm1
addss xmm2, dword [edi + 0x14]
addss xmm1, dword [edi + 0x18]
movss xmm6, dword [edi + 0x44]
subss xmm4, xmm0
movss xmm7, dword [esp + 0x8c]
subss xmm3, xmm0
movaps xmm5, xmm6
maxss xmm5, dword [esi + 0x1518]
addss xmm2, xmm0
comiss xmm7, xmm4
addss xmm1, xmm0
movss dword [esp + 0xb0], xmm4
movss dword [esp + 0xb4], xmm3
movss dword [esp + 0xb8], xmm2
movss dword [esp + 0xbc], xmm1
jb 0x1001f16c
movss xmm7, dword [esp + 0x80]
comiss xmm7, xmm3
jb 0x1001f16c
comiss xmm2, dword [esp + 0x84]
jb 0x1001f16c
comiss xmm1, dword [esp + 0x2c]
jb 0x1001f16c
xorps xmm0, xmmword [0x1005f5d0]
movaps xmm5, xmm6
subss xmm0, dword [0x1005ead4]
subss xmm4, xmm0
subss xmm3, xmm0
addss xmm2, xmm0
addss xmm1, xmm0
movss dword [esp + 0xb0], xmm4
movss dword [esp + 0xb4], xmm3
movss dword [esp + 0xb8], xmm2
movss dword [esp + 0xbc], xmm1
movss xmm1, dword [esi + 0x1b68]
push ecx
mov dword [esp], 0x40400000
mov ecx, 0x32
push 0xffffffffffffffff
sub esp, 8
movss dword [esp + 4], xmm5
call fcn.100124b0
mov ecx, dword [edi + 0x27c]
add esp, 4
push eax
lea eax, [esp + 0xc8]
push eax
lea eax, [esp + 0xc4]
push eax
call fcn.10047430
movss xmm4, dword [edi + 0xc]
xorps xmm2, xmm2
subss xmm4, dword [edi + 0x54]
movss xmm3, dword [edi + 0x3c]
mov ecx, dword [edi + 0x20]
movaps xmm0, xmm3
mov edx, dword [edi + 8]
mov eax, dword [edi + 0x1c]
mov dword [edi + 0x28], ecx
addss xmm0, xmm4
mov ecx, dword [0x100daf00]
mov dword [edi + 0x24], eax
movss dword [edi + 0x214], xmm0
test edx, 0x400
je 0x1001f218
movss xmm1, dword [ecx + 0x193c]
mulss xmm1, dword [edi + 0x274]
movss xmm0, dword [ecx + 0x1548]
addss xmm0, xmm0
addss xmm1, dword [edi + 0x148]
addss xmm1, xmm0
jmp 0x1001f21b
xorps xmm1, xmm1
test dl, 1
je 0x1001f225
xorps xmm6, xmm6
jmp 0x1001f245
movss xmm0, dword [ecx + 0x1548]
movss xmm6, dword [ecx + 0x193c]
addss xmm0, xmm0
mulss xmm6, dword [edi + 0x274]
addss xmm6, xmm0
movss xmm5, dword [edi + 0x10]
subss xmm5, dword [edi + 0x58]
movss xmm7, dword [edi + 0x40]
movaps xmm0, xmm7
addss xmm0, xmm5
addss xmm0, xmm6
addss xmm0, xmm1
movss dword [edi + 0x218], xmm0
movss xmm0, dword [edi + 0x34]
ucomiss xmm0, xmm2
lahf
test ah, 0x44
jp 0x1001f283
movss xmm0, dword [edi + 0x14]
subss xmm0, dword [edi + 0x6c]
subss xmm4, xmm3
addss xmm4, xmm0
movss xmm0, dword [edi + 0x38]
ucomiss xmm0, xmm2
movss dword [edi + 0x21c], xmm4
lahf
test ah, 0x44
jp 0x1001f2ab
movss xmm0, dword [edi + 0x18]
subss xmm0, dword [edi + 0x70]
mov dword [edi + 0x1bc], 0
subss xmm5, xmm7
mov dword [edi + 0x1c0], 0
addss xmm3, xmm2
addss xmm5, xmm0
subss xmm3, dword [edi + 0x54]
movss dword [edi + 0x220], xmm5
movss dword [edi + 0x1b8], xmm3
test edx, 0x400
je 0x1001f312
movss xmm4, dword [ecx + 0x193c]
mulss xmm4, dword [edi + 0x274]
movss xmm0, dword [ecx + 0x1548]
addss xmm0, xmm0
addss xmm4, dword [edi + 0x148]
addss xmm4, xmm0
jmp 0x1001f315
xorps xmm4, xmm4
test dl, 1
je 0x1001f31f
xorps xmm1, xmm1
jmp 0x1001f33f
movss xmm0, dword [ecx + 0x1548]
movss xmm1, dword [ecx + 0x193c]
addss xmm0, xmm0
mulss xmm1, dword [edi + 0x274]
addss xmm1, xmm0
addss xmm1, xmm4
mov dword [edi + 0xf0], 0
addss xmm3, xmm2
mov dword [edi + 0xe8], 0
mov dword [edi + 0xf4], 0
mov dword [edi + 0xec], 0
addss xmm1, xmm7
addss xmm3, dword [edi + 0xc]
subss xmm1, dword [edi + 0x58]
movss dword [edi + 0xd8], xmm3
movss dword [edi + 0xc8], xmm3
movss dword [edi + 0xd0], xmm3
movss dword [edi + 0xe0], xmm3
addss xmm1, dword [edi + 0x10]
movss dword [edi + 0xdc], xmm1
movss dword [edi + 0xcc], xmm1
movss dword [edi + 0xd4], xmm1
movss dword [edi + 0xe4], xmm1
mov byte [edi + 0x12c], 0
mov eax, dword [ecx + 0x1a20]
movss xmm0, dword [eax + 0x20]
subss xmm0, dword [eax + 0x70]
movss xmm1, dword [eax + 0x30]
subss xmm1, xmm0
xorps xmm0, xmm0
maxss xmm0, xmm1
comiss xmm0, xmm2
seta al
mov byte [edi + 0x12d], al
mov eax, dword [edi + 0x13c]
mov dword [edi + 0x138], eax
lea eax, [edi + 0x14c]
mov dword [edi + 0x13c], 0
mov byte [edi + 0x140], 0
movss xmm0, dword [edi + 0xcc]
subss xmm0, dword [0x1005ebf8]
movss dword [edi + 0xf8], xmm0
mov ecx, dword [eax + 4]
test ecx, ecx
jns 0x1001f459
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
xor ecx, ecx
test eax, eax
cmovg ecx, eax
push ecx
lea ecx, [edi + 0x14c]
call fcn.10032760
lea eax, [edi + 0x14c]
mov ecx, dword [esp + 0x20]
mov dword [eax], 0
mov dword [edi + 0x15c], 0
test ecx, ecx
je 0x1001f485
mov eax, dword [ecx + 0x15c]
mov dword [edi + 0x160], eax
mov eax, dword [ecx + 0x164]
jmp 0x1001f494
mov dword [edi + 0x160], 0
mov eax, 1
mov dword [edi + 0x164], eax
mov eax, dword [edi + 0x228]
mov dword [edi + 0x168], eax
lea eax, [edi + 0x170]
mov dword [edi + 0x16c], 0xbf800000
mov ecx, dword [eax + 4]
test ecx, ecx
jns 0x1001f4df
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
xor ecx, ecx
test eax, eax
cmovg ecx, eax
push ecx
lea ecx, [edi + 0x170]
call fcn.10032760
lea eax, [edi + 0x170]
mov dword [eax], 0
lea eax, [edi + 0x17c]
mov ecx, dword [eax + 4]
test ecx, ecx
jns 0x1001f514
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
xor ecx, ecx
test eax, eax
cmovg ecx, eax
push ecx
lea ecx, [edi + 0x17c]
call fcn.10032760
lea eax, [edi + 0x17c]
mov dword [eax], 0
lea eax, [edi + 0x188]
mov ecx, dword [eax + 4]
test ecx, ecx
jns 0x1001f549
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
xor ecx, ecx
test eax, eax
cmovg ecx, eax
push ecx
lea ecx, [edi + 0x188]
call fcn.10032760
lea eax, [edi + 0x188]
mov dword [eax], 0
lea ecx, [edi + 0x194]
mov dword [edi + 0x1c4], 0
lea eax, [edi + 0x25c]
mov dword [edi + 0xfc], 0
mov dword [edi + 0x100], 0
push 0
mov dword [edi + 0x158], eax
call fcn.10032560
cmp byte [esp + 0xb], 0
lea ecx, [edi + 0x24c]
movss xmm0, dword [esi + 0x1554]
mov dword [edi + 0x22c], 3
mov dword [edi + 0x238], 0
mov dword [edi + 0x234], 0
movss dword [edi + 0x230], xmm0
je 0x1001f5c7
xorps xmm0, xmm0
movups xmmword [ecx], xmm0
xor edx, edx
cmp dword [edi + 0x22c], edx
jle 0x1001f633
xorps xmm1, xmm1
test edx, edx
jle 0x1001f5f9
movss xmm0, dword [ecx]
comiss xmm0, xmm1
jbe 0x1001f5f9
movss xmm0, dword [edi + 0x230]
addss xmm0, dword [edi + 0x234]
movss dword [edi + 0x234], xmm0
cvttss2si eax, dword [edi + 0x234]
inc edx
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [ecx - 0x10], xmm0
movss xmm0, dword [ecx]
addss xmm0, dword [edi + 0x234]
movss dword [edi + 0x234], xmm0
mov dword [ecx], 0
add ecx, 4
cmp edx, dword [edi + 0x22c]
jl 0x1001f5d4
test dword [esp + 0xc], 0x1000000
je 0x1001f6a5
mov eax, dword [esp + 0x20]
mov eax, dword [eax + 0x164]
cmp dword [edi + 0x164], eax
je 0x1001f6a5
lea ecx, [edi + 0x170]
mov dword [edi + 0x164], eax
mov eax, dword [ecx + 4]
mov edx, dword [ecx]
cmp edx, eax
jne 0x1001f691
inc edx
mov dword [esp + 0x60], edx
test eax, eax
je 0x1001f67b
cdq
sub eax, edx
mov edx, dword [esp + 0x60]
sar eax, 1
add eax, dword [ecx + 4]
jmp 0x1001f680
mov eax, 8
cmp eax, edx
cmovg edx, eax
push edx
call fcn.10032760
lea ecx, [edi + 0x170]
mov edx, dword [ecx]
mov ecx, dword [ecx + 8]
mov eax, dword [edi + 0x164]
mov dword [ecx + edx*4], eax
inc dword [edi + 0x170]
mov eax, dword [edi + 0x90]
test eax, eax
jle 0x1001f6b6
dec eax
mov dword [edi + 0x90], eax
mov eax, dword [edi + 0x94]
test eax, eax
jle 0x1001f6c7
dec eax
mov dword [edi + 0x94], eax
cmp byte [esp + 8], 0
je 0x1001f6de
mov ecx, edi
call fcn.100206a0
xor dl, dl
mov ecx, edi
call fcn.100149f0
mov ecx, dword [esp + 0xc]
movaps xmm7, xmmword [esp + 0x90]
movaps xmmword [esp + 0x50], xmm7
test cl, 1
jne 0x1001fb0a
mov eax, dword [edi + 0x164]
mov dword [esp + 0x48], eax
or eax, 0x10
mov dword [edi + 0x164], eax
inc dword [edi + 0x130]
shl dword [edi + 0x134], 1
test cl, 0x20
jne 0x1001f945
movss xmm3, dword [edi + 0xc]
xor ecx, ecx
movss xmm4, dword [edi + 0x10]
addss xmm3, dword [esi + 0x1544]
addss xmm4, dword [esi + 0x1548]
mov dword [esp + 0xb0], 0xb2b2bfd8
mov dword [esp + 0xb4], 0x515141b3
mov word [esp + 0xb8], 0x46
mov byte [esp + 0xba], 1
mov al, cl
sub al, 5
xor byte [esp + ecx + 0xb0], al
inc ecx
cmp ecx, 9
jb 0x1001f764
mov ecx, dword [edi + 0x1c8]
xor edx, edx
mov eax, dword [edi + 0x1d0]
mov byte [esp + 0xba], 0
push dword [eax + ecx*4 - 4]
lea ecx, [esp + 0xb4]
call fcn.10011f30
mov ecx, dword [0x100daf00]
mov edx, eax
add esp, 4
mov dword [esp + 0x18], edx
cmp dword [ecx + 0x1a3c], edx
jne 0x1001f7b9
mov byte [ecx + 0x1a48], 1
cmp dword [ecx + 0x1a40], edx
jne 0x1001f7c8
mov byte [ecx + 0x1a4c], 1
movss xmm0, dword [ecx + 0x1938]
movaps xmm2, xmm3
mov eax, dword [ecx + 0x1a20]
addss xmm2, xmm0
movaps xmm1, xmm4
mov dword [esp + 0x2c], eax
addss xmm1, xmm0
movss dword [esp + 0xb0], xmm3
push 0
lea ecx, [esp + 0xb4]
movss dword [esp + 0xb8], xmm4
movss dword [esp + 0xbc], xmm2
movss dword [esp + 0xc0], xmm1
call fcn.100143b0
mov edx, dword [esp + 0x1c]
lea ecx, [esp + 0xb4]
add esp, 4
push 0
push 0
push 0
call fcn.10021ab0
mov edx, dword [esp + 0x24]
lea ecx, [esp + 0xbc]
add esp, 0xc
mov byte [esp + 8], al
push 1
call fcn.1001a440
mov eax, dword [esp + 0x30]
xor ecx, ecx
movss xmm1, dword [0x1005ead4]
add esp, 4
cmp byte [eax + 0x79], cl
push dword [esp + 0xb4]
sete cl
push dword [esp + 0xb4]
lea ecx, [ecx*2 + 1]
call fcn.1001a2b0
mov ecx, dword [0x100daf00]
add esp, 8
mov dword [esp + 0x60], ecx
mov edx, dword [ecx + 0x1a3c]
test edx, edx
je 0x1001f93a
mov eax, dword [ecx + 0x1a20]
cmp edx, dword [eax + 0x104]
jne 0x1001f93a
cmp byte [ecx + 0xe0], 0
je 0x1001f93a
movss xmm1, dword [ecx + 0x30]
movss xmm0, dword [ecx + 0x44c]
mulss xmm1, xmm1
comiss xmm0, xmm1
setae al
test al, al
je 0x1001f93a
mov ecx, dword [esp + 0x2c]
call fcn.100206a0
mov edx, dword [esp + 0x2c]
mov ecx, dword [edx + 0x4c]
call fcn.10013940
mov ecx, dword [esp + 0x60]
mov byte [ecx + 0x1b7a], 1
mov eax, dword [edx + 0x328]
movss xmm1, dword [ecx + 0xd8]
movss xmm0, dword [ecx + 0xdc]
subss xmm1, dword [eax + 0xc]
subss xmm0, dword [eax + 0x10]
movss dword [ecx + 0x1a54], xmm1
movss dword [ecx + 0x1a58], xmm0
test byte [edx + 8], 4
jne 0x1001f93a
mov eax, dword [edx + 0x328]
test byte [eax + 8], 4
jne 0x1001f93a
mov dword [ecx + 0x1a70], edx
cmp byte [esp + 8], 0
je 0x1001f945
mov byte [edi + 0x7a], 1
dec dword [edi + 0x130]
mov eax, dword [edi + 0x134]
mov ecx, dword [esp + 0x74]
sar eax, 1
mov dword [edi + 0x134], eax
mov eax, dword [esp + 0x48]
mov dword [edi + 0x164], eax
cmp ecx, 0xffffffff
jae 0x1001f986
nop dword [eax]
mov dl, byte [ecx]
test dl, dl
je 0x1001f986
cmp dl, 0x23
jne 0x1001f980
cmp byte [ecx + 1], dl
je 0x1001f986
inc ecx
cmp ecx, 0xffffffff
jb 0x1001f970
mov edx, dword [0x100daf00]
mov eax, dword [edx + 0x1934]
movss xmm0, dword [edx + 0x1938]
mov edx, dword [esp + 0x74]
mov dword [esp + 0x48], eax
movss dword [esp + 0x60], xmm0
cmp edx, ecx
jne 0x1001f9b9
mov dword [esp + 0x60], 0
xorps xmm1, xmm1
jmp 0x1001fa27
movss xmm3, dword [0x1005ec10]
movaps xmm2, xmm0
push ecx
push ecx
push edx
push ecx
lea ecx, [esp + 0xc0]
mov dword [esp], 0xbf800000
push ecx
mov ecx, eax
call fcn.10049e70
movss xmm0, dword [esp + 0xb0]
xorps xmm1, xmm1
comiss xmm0, xmm1
jbe 0x1001fa01
mov eax, dword [esp + 0x48]
movss xmm2, dword [esp + 0x60]
divss xmm2, dword [eax]
subss xmm0, xmm2
addss xmm0, dword [0x1005ead0]
mov edx, dword [esp + 0x74]
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [esp + 0x60], xmm0
movss xmm0, dword [esp + 0xb4]
test byte [esp + 0xc], 0x20
movss dword [esp + 0x64], xmm0
movaps xmm0, xmmword [esp + 0x50]
movaps xmmword [esp + 0xb0], xmm0
je 0x1001fa4e
movss xmm0, dword [esi + 0x1544]
movaps xmm3, xmm0
jmp 0x1001fa69
movss xmm3, dword [esi + 0x1544]
movaps xmm0, xmm3
addss xmm0, dword [esi + 0x1938]
addss xmm0, dword [esi + 0x155c]
movss xmm4, dword [esi + 0x1528]
lea eax, [esi + 0x1528]
comiss xmm4, xmm1
movaps xmm2, xmm3
jbe 0x1001fa8e
movaps xmm2, xmm0
subss xmm2, xmm3
mulss xmm2, xmm4
addss xmm2, xmm3
addss xmm0, dword [esp + 0x40]
lea ecx, [esp + 0xc0]
push ecx
push eax
lea eax, [esp + 0x68]
movss dword [esp + 0xb8], xmm0
lea ecx, [esp + 0xb8]
movss xmm0, dword [esp + 0xc0]
subss xmm0, xmm2
push eax
push 0
push edx
lea edx, [esp + 0xcc]
movss dword [esp + 0xcc], xmm0
movaps xmm0, xmmword [esp + 0xc4]
movaps xmmword [esp + 0xd4], xmm0
movss xmm0, dword [edi + 0x14]
addss xmm0, dword [edi + 0xc]
subss xmm0, xmm3
movss dword [esp + 0xdc], xmm0
call fcn.10019cd0
movaps xmm7, xmmword [esp + 0x64]
add esp, 0x14
mov ecx, dword [esp + 0xc]
movss xmm2, dword [edi + 0xc]
and ecx, 0x401
movss xmm3, dword [edi + 0x10]
movss dword [edi + 0x1e4], xmm2
movaps xmm0, xmm3
movss dword [edi + 0x1e8], xmm3
addss xmm2, dword [edi + 0x14]
movss dword [edi + 0x1ec], xmm2
addss xmm0, dword [edi + 0x18]
movss dword [edi + 0x1f0], xmm0
movss xmm0, dword [edi + 0x1e4]
maxss xmm0, dword [edi + 0x1d4]
maxss xmm3, dword [edi + 0x1d8]
movss dword [edi + 0x1e4], xmm0
movss dword [edi + 0x1e8], xmm3
movss xmm1, dword [edi + 0x1ec]
movss xmm0, dword [edi + 0x1f0]
minss xmm1, dword [edi + 0x1dc]
minss xmm0, dword [edi + 0x1e0]
movss dword [edi + 0x1ec], xmm1
movss dword [edi + 0x1f0], xmm0
movss xmm5, dword [edi + 0x48]
movaps xmm6, xmm5
addss xmm6, dword [esp + 0x40]
movss dword [edi + 0x1f4], xmm6
cmp ecx, 1
jne 0x1001fbbf
movaps xmm1, xmm5
jmp 0x1001fbc7
movss xmm1, dword [esi + 0x1550]
test dword [edi + 8], 0x400
mov edx, dword [0x100daf00]
je 0x1001fc00
movss xmm4, dword [edx + 0x193c]
mulss xmm4, dword [edi + 0x274]
movss xmm0, dword [edx + 0x1548]
addss xmm0, xmm0
addss xmm4, dword [edi + 0x148]
addss xmm4, xmm0
jmp 0x1001fc03
xorps xmm4, xmm4
addss xmm4, dword [esp + 0x38]
addss xmm4, xmm1
xorps xmm1, xmm1
movss dword [edi + 0x1f8], xmm4
movss xmm3, dword [edi + 0x14]
addss xmm3, dword [edi + 0xc]
subss xmm3, dword [edi + 0x6c]
subss xmm3, xmm5
movss dword [edi + 0x1fc], xmm3
movss xmm2, dword [edi + 0x10]
addss xmm2, dword [edi + 0x18]
subss xmm2, dword [edi + 0x70]
subss xmm2, xmm5
movss dword [edi + 0x200], xmm2
movss xmm0, dword [edi + 0x3c]
mulss xmm0, dword [0x1005eaa8]
subss xmm0, xmm5
movss xmm5, dword [0x1005eaa8]
addss xmm6, xmm5
addss xmm4, xmm5
addss xmm3, xmm5
addss xmm2, xmm5
movss xmm5, dword [esp + 0x94]
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
maxss xmm1, xmm0
addss xmm6, xmm1
subss xmm3, xmm1
cvttss2si eax, xmm6
movd xmm0, eax
cvtdq2ps xmm0, xmm0
cvttss2si eax, xmm4
movss dword [edi + 0x204], xmm0
movss xmm4, dword [esp + 0x40]
movd xmm0, eax
cvttss2si eax, xmm3
cvtdq2ps xmm0, xmm0
movss xmm3, dword [esp + 0x78]
movss dword [edi + 0x208], xmm0
movd xmm0, eax
cvttss2si eax, xmm2
cvtdq2ps xmm0, xmm0
movss dword [edi + 0x20c], xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [edi + 0x210], xmm0
mov eax, dword [edi + 0x4c]
mov dword [edi + 0x104], eax
movss xmm1, dword [edx + 0x156c]
movss xmm0, dword [edx + 0x1570]
subss xmm4, xmm1
addss xmm3, xmm1
movaps xmm2, xmm0
movss xmm1, dword [edx + 0xd8]
subss xmm5, xmm0
addss xmm2, dword [esp + 0x38]
comiss xmm1, xmm4
jb 0x1001fd48
movss xmm0, dword [edx + 0xdc]
comiss xmm0, xmm5
jb 0x1001fd48
comiss xmm3, xmm1
jbe 0x1001fd48
comiss xmm2, xmm0
jbe 0x1001fd48
mov eax, 1
jmp 0x1001fd4a
xor eax, eax
mov dword [edi + 0x108], eax
movups xmmword [edi + 0x10c], xmm7
mov eax, dword [edx + 0x1a20]
push 1
mov byte [eax + 0x78], 1
push dword [edi + 0x210]
mov esi, dword [edx + 0x1a20]
push dword [edi + 0x20c]
push dword [edi + 0x208]
mov ecx, dword [esi + 0x27c]
push dword [edi + 0x204]
call fcn.10045840
mov eax, dword [esi + 0x27c]
mov ecx, dword [eax + 0x3c]
mov eax, dword [eax + 0x44]
add ecx, ecx
movss xmm0, dword [eax + ecx*8 - 0xc]
movss xmm1, dword [eax + ecx*8 - 8]
movss xmm2, dword [eax + ecx*8 - 4]
mov eax, dword [eax + ecx*8 - 0x10]
mov dword [esi + 0x1d4], eax
mov eax, dword [esp + 0x70]
movss dword [esi + 0x1d8], xmm0
movss dword [esi + 0x1dc], xmm1
movss dword [esi + 0x1e0], xmm2
cmp eax, dword [esp + 0x44]
je 0x1001fddc
mov byte [edi + 0x78], 0
mov eax, dword [esp + 0x14]
inc dword [edi + 0x88]
mov ecx, dword [esp + 0xc]
mov dword [eax + 0x1ac8], 0
mov dword [eax + 0x1ac4], 0
mov dword [eax + 0x1ac0], 0
mov dword [eax + 0x1abc], 0
mov dword [eax + 0x1ab8], 0
mov dword [eax + 0x1ab4], 0
mov dword [eax + 0x1ab0], 0
test ecx, 0x1000000
je 0x1001fe99
test cl, 0x40
jne 0x1001fe7b
cmp dword [edi + 0x90], 0
jg 0x1001fe7b
cmp dword [edi + 0x94], 0
jg 0x1001fe7b
movss xmm0, dword [edi + 0x1e4]
comiss xmm0, dword [edi + 0x1ec]
jae 0x1001fe71
movss xmm0, dword [edi + 0x1e8]
comiss xmm0, dword [edi + 0x1f0]
jb 0x1001fe7b
mov dword [edi + 0xa4], 1
mov ecx, dword [esp + 0x20]
test ecx, ecx
je 0x1001fe99
cmp byte [ecx + 0x79], 0
jne 0x1001fe8f
cmp byte [ecx + 0x7d], 0
je 0x1001fe99
mov dword [edi + 0xa4], 1
xorps xmm0, xmm0
comiss xmm0, dword [eax + 0x1508]
jb 0x1001feaf
mov dword [edi + 0xa4], 1
cmp dword [edi + 0xa4], 0
jg 0x1001fec5
cmp dword [edi + 0xa8], 0
jne 0x1001fec5
xor al, al
jmp 0x1001fec7
mov al, 1
mov byte [edi + 0x7d], al
cmp byte [edi + 0x79], 0
jne 0x1001feda
cmp byte [edi + 0x76], 0
je 0x1001feda
test al, al
je 0x1001fef9
cmp dword [edi + 0x90], 0
jg 0x1001fef9
cmp dword [edi + 0x94], 0
jg 0x1001fef9
cmp dword [edi + 0xa8], 0
jg 0x1001fef9
mov al, 1
jmp 0x1001fefb
xor al, al
mov ecx, dword [esp + 0xdc]
mov byte [edi + 0x7b], al
xor al, 1
pop edi
pop esi
xor ecx, esp
call fcn.1004ad76
mov esp, ebp
pop ebp
ret