Function at 0x1001e4ef
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xb8
mov eax, dword [0x10050040]
xor eax, esp
mov dword [esp + 0xb4], eax
mov eax, dword [ebp + 8]
push esi
mov esi, dword [0x100c68c8]
push edi
mov dword [esp + 0x8c], ecx
mov dword [esp + 0xc], eax
mov dword [esp + 0x18], esi
call fcn.1001d5b2
mov dword [esp + 0x78], eax
mov edi, eax
mov dword [esp + 0x50], edi
mov ecx, eax
mov dword [esp + 0x4c], edi
mov dword [esp + 0x48], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x14], eax
test eax, eax
jne 0x1001e5b6
mov edx, dword [esi + 0x1ab4]
test edx, edx
je 0x1001e56c
mov eax, dword [esi + 0x1adc]
mov ecx, dword [esi + 0x1ae0]
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], ecx
jmp 0x1001e576
and dword [esp + 0x40], 0
and dword [esp + 0x44], 0
test edx, edx
lea ecx, [esp + 0x34]
mov edx, dword [esp + 0xc]
lea eax, [esp + 0x40]
cmovne eax, ecx
mov ecx, dword [esp + 0x8c]
push dword [eax + 4]
push dword [eax]
call fcn.1001d5f5
pop ecx
mov edi, eax
pop ecx
mov ecx, edi
mov dword [esp + 0x50], edi
mov dword [esp + 0x4c], edi
mov dword [esp + 0x48], ecx
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], ecx
mov dword [esp + 0x14], ecx
mov edx, dword [esp + 0xc]
mov dword [esp + 0x10], edx
and dword [esp + 0x10], 0x200
je 0x1001e5cf
or edx, 6
mov dword [esp + 0xc], edx
cmp dword [esp + 0x10], 0
mov edi, dword [esp + 0x14]
cmove edi, dword [esp + 0x20]
cmove eax, ecx
mov dword [esp + 0x14], edi
mov edi, dword [esp + 0x1c]
cmove edi, dword [esp + 0x48]
add eax, 0x224
mov dword [esp + 0x1c], edi
mov edi, dword [esi + 0x19e0]
mov dword [esp + 0x10], eax
mov eax, dword [eax]
mov dword [esp + 0x54], edi
mov dword [esp + 0x48], eax
cmp eax, edi
je 0x1001e617
mov eax, dword [esp + 0x1c]
mov dword [eax + 8], edx
jmp 0x1001e622
mov edx, dword [esp + 0x14]
mov edx, dword [edx + 8]
mov dword [esp + 0xc], edx
mov edi, dword [esi + 0x1a04]
xor ecx, ecx
test edi, edi
jne 0x1001e632
mov eax, ecx
jmp 0x1001e63c
mov eax, dword [esi + 0x1a0c]
mov eax, dword [eax + edi*4 - 4]
mov esi, dword [esp + 0x48]
mov edi, dword [esp + 0x50]
cmp esi, dword [esp + 0x54]
je 0x1001e65e
mov esi, edx
and esi, 0x5000000
neg esi
sbb esi, esi
and esi, eax
mov dword [esp + 0x3c], esi
jmp 0x1001e668
mov eax, dword [edi + 0x324]
mov dword [esp + 0x3c], eax
mov esi, dword [esp + 0x10]
mov eax, dword [esp + 0x54]
dec eax
mov byte [edi + 0x7e], cl
cmp dword [esi], eax
mov eax, dword [edi + 0xa8]
mov esi, dword [esp + 0x18]
setl byte [esp + 0xb]
mov dword [esp + 0x10], eax
mov eax, edx
and eax, 0x4000000
mov dword [esp + 0x60], eax
je 0x1001e6c4
imul edx, dword [esi + 0x1aa4], 0x24
mov eax, dword [edi + 0x8c]
add edx, dword [esi + 0x1aa0]
cmp edi, dword [edx + 4]
setne cl
cmp eax, dword [edx]
setne al
or cl, al
mov al, byte [esp + 0xb]
or al, cl
xor ecx, ecx
mov byte [esp + 0xb], al
jmp 0x1001e6c8
mov al, byte [esp + 0xb]
test al, al
jne 0x1001e6d3
cmp dword [esp + 0x10], 0
jle 0x1001e6d5
mov cl, 1
mov byte [edi + 0x7c], cl
test cl, cl
je 0x1001e6e9
push 1
push 8
pop edx
mov ecx, edi
call fcn.1001d554
pop ecx
lea eax, [esp + 0x4c]
push eax
lea ecx, [esi + 0x1a04]
call fcn.1002db5c
mov ecx, edi
call fcn.10016c61
mov dl, 1
call fcn.1001cf95
cmp dword [esp + 0x60], 0
je 0x1001e736
mov edx, dword [esp + 0x18]
lea ecx, [esi + 0x1aa4]
imul esi, dword [ecx], 0x24
add esi, dword [edx + 0x1aa0]
push esi
mov dword [esi + 4], edi
call fcn.1002d9e6
mov eax, dword [esi]
mov esi, dword [esp + 0x18]
mov dword [edi + 0x8c], eax
xor eax, eax
cmp dword [esp + 0x10], eax
jle 0x1001e74e
test dword [esp + 0xc], 0x1000000
jne 0x1001e74e
mov dword [edi + 0x338], eax
mov ecx, dword [esi + 0x1ab0]
mov byte [esp + 9], al
mov byte [esp + 8], al
mov byte [esp + 0xa], al
test ecx, ecx
je 0x1001e7ec
test dword [edi + 0xac], ecx
setne byte [esp + 9]
test dword [edi + 0xac], ecx
je 0x1001e7d9
movss xmm1, dword [esi + 0x1ad8]
movss xmm0, dword [esi + 0x1ad4]
mulss xmm0, xmm0
mulss xmm1, xmm1
addss xmm0, xmm1
comiss xmm0, dword [0x1004c65c]
jbe 0x1001e7d9
mov eax, dword [esi + 0x1acc]
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
and dword [edi + 0xac], 0xfffffff1
jmp 0x1001e7ea
push ecx
lea edx, [esi + 0x1acc]
mov ecx, edi
call fcn.10021503
add esp, 4
xor eax, eax
mov edx, dword [esi + 0x1ab4]
test edx, edx
je 0x1001e846
mov ecx, dword [edi + 0xb0]
xorps xmm1, xmm1
and ecx, edx
je 0x1001e817
movss xmm0, dword [esi + 0x1adc]
comiss xmm0, xmm1
jbe 0x1001e817
mov byte [esp + 8], 1
jmp 0x1001e81f
mov byte [esp + 8], al
test ecx, ecx
je 0x1001e831
movss xmm0, dword [esi + 0x1ae0]
comiss xmm0, xmm1
mov byte [esp + 0xa], 1
ja 0x1001e835
mov byte [esp + 0xa], al
push edx
lea edx, [esi + 0x1adc]
mov ecx, edi
call fcn.100215c7
add esp, 4
cmp dword [esi + 0x1ab8], 0
je 0x1001e891
mov eax, dword [esi + 0x1ae4]
mov ecx, dword [esi + 0x1ae8]
mov dword [edi + 0x34], eax
mov dword [edi + 0x38], ecx
movss xmm3, dword [edi + 0x38]
ucomiss xmm3, dword [0x1004c640]
lahf
test ah, 0x44
jnp 0x1001e8a8
mov ecx, edi
call fcn.10015426
movaps xmm2, xmm0
call fcn.100153f6
addss xmm2, xmm0
addss xmm2, xmm3
movss dword [edi + 0x38], xmm2
jmp 0x1001e8a8
mov eax, dword [esp + 0x48]
cmp eax, dword [esp + 0x54]
je 0x1001e8a8
xorps xmm0, xmm0
movss dword [edi + 0x34], xmm0
movss dword [edi + 0x38], xmm0
mov eax, dword [esi + 0x1abc]
test eax, eax
je 0x1001e8c3
mov dl, byte [esi + 0x1aec]
mov ecx, edi
push eax
call fcn.10021632
add esp, 4
cmp dword [esi + 0x1ac4], 0
je 0x1001e8d3
mov ecx, edi
call fcn.10020cd6
cmp byte [edi + 0x7c], 0
je 0x1001e8e6
push 0
push 8
pop edx
mov ecx, edi
call fcn.1001d554
pop ecx
mov eax, dword [esp + 0x48]
cmp eax, dword [esp + 0x54]
je 0x1002050c
mov ecx, dword [esp + 0xc]
push dword [esp + 0x3c]
mov edx, dword [esp + 0x10]
and ecx, 0x3000000
mov dword [esp + 0x24], ecx
mov ecx, edi
call fcn.1001e479
mov byte [edi + 0x76], 1
xor edx, edx
mov dword [edi + 0x80], edx
pop ecx
mov ecx, dword [esi + 0x1a1c]
lea eax, [ecx + 1]
mov dword [esi + 0x1a1c], eax
mov eax, dword [esp + 0x54]
mov dword [edi + 0x84], ecx
mov dword [edi + 0x88], edx
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]
mov dword [esp + 0x60], eax
cmp eax, 1
jge 0x1001e9a2
test eax, eax
je 0x1001e98b
cdq
sub eax, edx
mov ecx, eax
sar ecx, 1
add ecx, dword [esp + 0x60]
jmp 0x1001e98e
push 8
pop ecx
xor eax, eax
inc eax
cmp ecx, eax
cmovg eax, ecx
lea ecx, [edi + 0x1c8]
push eax
call fcn.1002db8c
mov edx, edi
mov dword [edi + 0x1c8], 1
lea ecx, [esp + 0x24]
call fcn.1001d977
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [edi + 0x2c], ecx
mov dword [edi + 0x30], eax
mov eax, dword [edi + 0xa4]
test eax, eax
jle 0x1001e9d3
dec eax
mov dword [edi + 0xa4], eax
mov eax, dword [edi + 0xa8]
test eax, eax
jle 0x1001e9e4
dec eax
mov dword [edi + 0xa8], eax
cmp dword [esp + 0x78], 0
mov al, byte [esp + 8]
mov cl, byte [esp + 0xa]
jne 0x1001ea05
test al, al
je 0x1001e9fb
test cl, cl
jne 0x1001ea05
mov dword [edi + 0xa8], 1
cmp byte [esp + 0xb], 0
mov edx, dword [esp + 0xc]
je 0x1001ea4e
test edx, 0x6000000
je 0x1001ea4e
mov dword [edi + 0xa8], 1
test dl, 0x40
je 0x1001ea4e
test al, al
jne 0x1001ea33
and dword [edi + 0x1c], 0
and dword [edi + 0x14], 0
test cl, cl
jne 0x1001ea3f
and dword [edi + 0x20], 0
and dword [edi + 0x18], 0
xorps xmm1, xmm1
movss dword [edi + 0x2c], xmm1
movss dword [edi + 0x30], xmm1
jmp 0x1001ea51
xorps xmm1, xmm1
mov ecx, edi
call fcn.10016c61
test edx, 0x1000000
je 0x1001ea6a
movss xmm0, dword [esi + 0x1538]
jmp 0x1001ea8c
test edx, 0x6000000
je 0x1001ea84
test edx, 0x8000000
jne 0x1001ea84
movss xmm0, dword [esi + 0x1540]
jmp 0x1001ea8c
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 eax, edx
and eax, 0x5010000
mov dword [edi + 0x40], ecx
cmp eax, 0x1000000
jne 0x1001ead9
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jp 0x1001ead9
test edx, 0x400
je 0x1001eacc
movss xmm0, dword [esi + 0x1514]
jmp 0x1001eacf
xorps xmm0, xmm0
movss dword [edi + 0x3c], xmm1
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 dl, 0x21
jne 0x1001eb94
movss xmm2, dword [edi + 0x1c]
mov ecx, edi
addss xmm2, dword [edi + 0xc]
call fcn.100153f6
addss xmm0, dword [edi + 0x10]
mov eax, dword [edi + 0xc]
mov ecx, dword [edi + 0x10]
mov dword [esp + 0x64], eax
mov dword [esp + 0x68], ecx
movss dword [esp + 0x6c], xmm2
movss dword [esp + 0x70], xmm0
cmp dword [esi + 0x1a24], edi
jne 0x1001eb76
xor eax, eax
cmp dword [esi + 0x1a2c], eax
jne 0x1001eb76
cmp dword [esi + 0x1a34], eax
jne 0x1001eb76
push 1
lea edx, [esp + 0x70]
lea ecx, [esp + 0x68]
call fcn.1001c293
pop ecx
test al, al
je 0x1001eb76
cmp byte [esi + 0x3ed], 0
je 0x1001eb76
mov byte [edi + 0x7a], 1
cmp byte [edi + 0x7a], 0
je 0x1001eb98
cmp byte [edi + 0x79], 0
mov ecx, edi
sete al
mov byte [edi + 0x79], al
call fcn.1001ac8b
call fcn.10020cd6
jmp 0x1001eb98
mov byte [edi + 0x79], 0
lea eax, [edi + 0x2c]
mov byte [edi + 0x7a], 0
push eax
mov edx, edi
lea ecx, [esp + 0x38]
call fcn.1001d9e6
test byte [esp + 0x10], 0x40
movss xmm0, dword [0x1004c84c]
pop ecx
movss dword [esp + 0x1c], xmm0
movss dword [esp + 0x14], xmm0
je 0x1001ec06
cmp byte [edi + 0x79], 0
jne 0x1001ec06
cmp byte [esp + 8], 0
jne 0x1001ebe5
movss xmm0, dword [esp + 0x34]
movss dword [esp + 0x1c], xmm0
movss dword [edi + 0x1c], xmm0
cmp byte [esp + 0xa], 0
jne 0x1001ec8f
movss xmm0, dword [esp + 0x38]
movss dword [esp + 0x14], xmm0
movss dword [edi + 0x20], xmm0
jmp 0x1001ec8f
mov eax, dword [edi + 0x90]
test eax, eax
jg 0x1001ec19
cmp dword [edi + 0x94], 0
jle 0x1001ec8f
cmp byte [esp + 8], 0
jne 0x1001ec4b
test eax, eax
jle 0x1001ec4b
cmp byte [edi + 0x98], 0
je 0x1001ec3a
movss xmm0, dword [edi + 0x1c]
maxss xmm0, dword [esp + 0x34]
jmp 0x1001ec40
movss xmm0, dword [esp + 0x34]
movss dword [esp + 0x1c], xmm0
movss dword [edi + 0x1c], xmm0
cmp byte [esp + 0xa], 0
jne 0x1001ec82
cmp dword [edi + 0x94], 0
jle 0x1001ec82
cmp byte [edi + 0x98], 0
je 0x1001ec71
movss xmm0, dword [edi + 0x20]
maxss xmm0, dword [esp + 0x38]
jmp 0x1001ec77
movss xmm0, dword [esp + 0x38]
movss dword [esp + 0x14], xmm0
movss dword [edi + 0x20], xmm0
cmp byte [edi + 0x79], 0
jne 0x1001ec8f
mov ecx, edi
call fcn.1001ac8b
push dword [edi + 0x20]
mov edx, edi
lea ecx, [esp + 0x28]
push dword [edi + 0x1c]
call fcn.1001d80e
mov edx, dword [esp + 0x14]
pop ecx
pop ecx
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [edi + 0x1c], ecx
mov dword [edi + 0x20], eax
cmp byte [edi + 0x79], 0
je 0x1001ecfd
test edx, 0x1000000
jne 0x1001ecfd
movss xmm0, dword [edi + 0xc]
addss xmm0, dword [edi + 0x1c]
mov eax, dword [edi + 0xc]
mov ecx, dword [edi + 0x10]
mov dword [esp + 0x64], eax
mov dword [esp + 0x68], ecx
mov ecx, edi
subss xmm0, dword [esp + 0x64]
movss dword [esp + 0x40], xmm0
call fcn.100153f6
addss xmm0, dword [edi + 0x10]
subss xmm0, dword [esp + 0x68]
movss dword [esp + 0x44], xmm0
jmp 0x1001ed05
mov dword [esp + 0x40], ecx
mov dword [esp + 0x44], eax
lea ecx, [esp + 0x40]
mov eax, dword [ecx]
mov ecx, dword [ecx + 4]
mov dword [edi + 0x14], eax
mov dword [edi + 0x18], ecx
cmp byte [edi + 0x79], 0
jne 0x1001ee10
movss xmm0, dword [esp + 0x1c]
movss xmm1, dword [0x1004c84c]
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jnp 0x1001ed3c
movss xmm2, dword [edi + 0x1c]
jmp 0x1001ed41
movss xmm2, dword [edi + 0x24]
movss xmm0, dword [esp + 0x14]
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jnp 0x1001ed57
movss xmm1, dword [edi + 0x20]
jmp 0x1001ed5c
movss xmm1, dword [edi + 0x28]
test edx, 0x4000
jne 0x1001ed79
movss xmm0, dword [edi + 0x30]
comiss xmm0, xmm1
jbe 0x1001ed73
test dl, 8
je 0x1001ed79
xor ecx, ecx
mov al, cl
jmp 0x1001ed7d
mov al, 1
xor ecx, ecx
mov byte [edi + 0x75], al
test edx, 0x8000
jne 0x1001edb9
test al, al
je 0x1001ed96
movss xmm0, dword [esi + 0x157c]
jmp 0x1001ed99
xorps xmm0, xmm0
subss xmm2, xmm0
movss xmm0, dword [edi + 0x2c]
comiss xmm0, xmm2
jbe 0x1001edb5
mov eax, edx
and eax, 0x808
cmp eax, 0x800
je 0x1001edb9
mov al, cl
jmp 0x1001edbb
mov al, 1
mov byte [edi + 0x74], al
test al, al
je 0x1001edf2
cmp byte [edi + 0x75], 0
jne 0x1001ede4
subss xmm1, dword [esi + 0x157c]
movss xmm0, dword [edi + 0x30]
comiss xmm0, xmm1
jbe 0x1001ede1
test dl, 8
jne 0x1001ede1
mov cl, 1
mov byte [edi + 0x75], cl
test al, al
je 0x1001edf2
movss xmm1, dword [esi + 0x157c]
jmp 0x1001edf5
xorps xmm1, xmm1
cmp byte [edi + 0x75], 0
xorps xmm0, xmm0
je 0x1001ee06
movss xmm0, dword [esi + 0x157c]
movss dword [edi + 0x6c], xmm0
movss dword [edi + 0x70], xmm1
cmp byte [esp + 0xb], 0
je 0x1001ee48
or dword [edi + 0xa0], 0xffffffff
test edx, 0x4000000
je 0x1001ee48
cmp byte [esp + 9], 0
jne 0x1001ee48
imul ecx, dword [esi + 0x1aa4], 0x24
mov eax, dword [esi + 0x1aac]
mov edx, dword [eax + ecx - 0x10]
mov eax, dword [eax + ecx - 0xc]
mov dword [edi + 0xc], edx
mov dword [edi + 0x10], eax
mov ecx, dword [esp + 0xc]
test ecx, 0x1000000
je 0x1001eeaa
mov ecx, dword [esp + 0x3c]
add ecx, 0x14c
mov eax, dword [ecx]
mov dword [edi + 0x80], eax
lea eax, [esp + 0x4c]
push eax
call fcn.1002db5c
mov ecx, dword [esp + 0xc]
mov dl, byte [esp + 9]
test ecx, 0x4000000
jne 0x1001eeae
test dl, dl
jne 0x1001eeae
cmp dword [esp + 0x20], 0x3000000
je 0x1001eeae
mov ecx, dword [esp + 0x3c]
mov eax, dword [ecx + 0xc8]
mov ecx, dword [ecx + 0xcc]
mov dword [edi + 0xc], eax
mov dword [edi + 0x10], ecx
mov ecx, dword [esp + 0xc]
jmp 0x1001eeae
mov dl, byte [esp + 9]
movss xmm1, dword [edi + 0xb8]
ucomiss xmm1, dword [0x1004c84c]
lahf
test ah, 0x44
jnp 0x1001ef2c
xor eax, eax
cmp dword [edi + 0xa8], eax
jne 0x1001ef2c
movss xmm0, dword [edi + 0xc0]
lea edx, [esp + 0x40]
mulss xmm0, dword [edi + 0x1c]
mov ecx, edi
push eax
subss xmm1, xmm0
movss xmm0, dword [esi + 0x15cc]
maxss xmm0, xmm1
movss xmm1, dword [edi + 0xbc]
movss dword [esp + 0x44], xmm0
movss xmm0, dword [edi + 0x20]
mulss xmm0, dword [edi + 0xc4]
subss xmm1, xmm0
movss xmm0, dword [esi + 0x15d0]
maxss xmm0, xmm1
movss dword [esp + 0x48], xmm0
call fcn.10021503
add esp, 4
jmp 0x1001ef73
test ecx, 0x10000000
jne 0x1001ef5d
test ecx, 0x4000000
je 0x1001ef47
test dl, dl
jne 0x1001ef47
cmp dword [esp + 0x10], 0
jg 0x1001ef5d
test ecx, 0x2000000
je 0x1001ef77
test dl, dl
jne 0x1001ef77
cmp dword [esp + 0x20], 0x3000000
je 0x1001ef77
mov edx, edi
lea ecx, [esp + 0x24]
call fcn.1001d30e
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [edi + 0xc], ecx
mov dword [edi + 0x10], eax
mov ecx, dword [esp + 0xc]
bt ecx, 0x18
jb 0x1001f03f
cmp byte [esp + 9], 0
jne 0x1001f03f
xor eax, eax
cmp dword [edi + 0x90], eax
jg 0x1001f03f
cmp dword [edi + 0x94], eax
jg 0x1001f03f
movss xmm0, dword [esi + 0x10]
xorps xmm1, xmm1
comiss xmm0, xmm1
jbe 0x1001f03f
movss xmm0, dword [esi + 0x14]
comiss xmm0, xmm1
jbe 0x1001f03f
movss xmm2, dword [esi + 0x15c4]
maxss xmm2, dword [esi + 0x15cc]
movss xmm1, dword [edi + 0x14]
addss xmm1, dword [edi + 0xc]
movss xmm0, dword [edi + 0x18]
addss xmm0, dword [edi + 0x10]
movss xmm3, dword [esi + 0x15c8]
maxss xmm3, dword [esi + 0x15d0]
maxss xmm1, xmm2
maxss xmm0, xmm3
subss xmm1, dword [edi + 0x14]
subss xmm0, dword [edi + 0x18]
movss dword [edi + 0xc], xmm1
movss dword [edi + 0x10], xmm0
movss xmm0, dword [esi + 0x10]
movss xmm1, dword [edi + 0x10]
subss xmm0, xmm2
movss xmm2, dword [edi + 0xc]
minss xmm2, xmm0
movss xmm0, dword [esi + 0x14]
subss xmm0, xmm3
movss dword [edi + 0xc], xmm2
minss xmm1, xmm0
movss dword [edi + 0x10], xmm1
bt ecx, 0x18
cvttss2si eax, dword [edi + 0xc]
movd xmm1, eax
cvttss2si eax, dword [edi + 0x10]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [edi + 0xc], xmm1
movss dword [edi + 0x10], xmm0
jae 0x1001f071
movss xmm0, dword [esi + 0x1534]
jmp 0x1001f091
mov eax, ecx
and eax, 0xc000000
cmp eax, 0x4000000
jne 0x1001f089
movss xmm0, dword [esi + 0x153c]
jmp 0x1001f091
movss xmm0, dword [esi + 0x1518]
movss dword [edi + 0x44], xmm0
mov eax, dword [edi + 0x370]
cmp eax, 0x7fffffff
je 0x1001f0b7
mov ecx, dword [edi + 0x360]
cmp ecx, 0xffffffff
je 0x1001f0b7
inc eax
add eax, ecx
inc ecx
cdq
idiv ecx
jmp 0x1001f0bc
mov edx, 0x7fffffff
mov dword [edi + 0x368], edx
mov eax, dword [edi + 0x374]
cmp eax, 0x7fffffff
je 0x1001f0e3
mov ecx, dword [edi + 0x364]
cmp ecx, 0xffffffff
je 0x1001f0e3
inc eax
add eax, ecx
inc ecx
cdq
idiv ecx
jmp 0x1001f0e8
mov edx, 0x7fffffff
mov dword [edi + 0x36c], edx
lea ecx, [esp + 0x24]
or dword [edi + 0x364], 0xffffffff
mov edx, edi
or dword [edi + 0x360], 0xffffffff
mov dword [edi + 0x374], 0x7fffffff
push 1
mov dword [edi + 0x370], 0x7fffffff
call fcn.1001db21
cmp byte [esp + 0xf], 0
movss xmm0, dword [0x1004c84c]
pop ecx
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [edi + 0x54], ecx
mov dword [edi + 0x58], eax
movss dword [edi + 0x5c], xmm0
movss dword [edi + 0x60], xmm0
mov byte [esp + 9], 0
je 0x1001f165
mov eax, dword [esp + 0xc]
test eax, 0x1000
jne 0x1001f165
test eax, 0x3000000
je 0x1001f160
test eax, 0x4000000
je 0x1001f165
mov byte [esp + 9], 1
movss xmm2, dword [esi + 0x1938]
lea edi, [esp + 0xac]
xor eax, eax
or dword [esp + 0x74], 0xffffffff
stosd dword es:[edi], eax
movaps xmm1, xmm2
mulss xmm2, dword [0x1004c69c]
mulss xmm1, dword [0x1004c6e4]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor eax, eax
mov edi, dword [esp + 0x50]
cmp byte [esi + 0xbe], al
setne al
movss xmm0, dword [edi + 0x44]
inc eax
cmp byte [edi + 0x79], 0
addss xmm0, dword [0x1004c6e0]
mov dword [esp + 0x40], eax
addss xmm0, xmm2
maxss xmm1, xmm0
cvttss2si esi, xmm1
jne 0x1001f1e1
lea ecx, [esp + 0xac]
push ecx
push eax
lea eax, [esp + 0x7c]
mov ecx, edi
push eax
lea edx, [esp + 0x40]
call fcn.1001dd3b
add esp, 0xc
movss xmm0, dword [edi + 0x14]
comiss xmm0, dword [0x1004c640]
jbe 0x1001f203
test dword [esp + 0xc], 0x2000040
jne 0x1001f203
mulss xmm0, dword [0x1004c6c0]
jmp 0x1001f217
mov edx, dword [esp + 0x18]
movss xmm0, dword [edx + 0x1938]
mulss xmm0, dword [0x1004c78c]
mov ecx, dword [edi + 0x27c]
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [edi + 0x228], xmm0
call fcn.1003c649
mov edx, dword [esp + 0x18]
xor ecx, ecx
push 2
pop eax
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]
mov eax, dword [eax + 0x44]
push dword [eax + 8]
call fcn.1003ca12
lea ecx, [esp + 0x7c]
call fcn.1001c555
mov eax, dword [esp + 0xc]
and eax, 0x5000000
cmp eax, 0x1000000
jne 0x1001f2a9
cmp dword [esp + 0x20], 0x3000000
je 0x1001f2a9
mov eax, dword [esp + 0x3c]
lea edx, [eax + 0x1dc]
lea ecx, [eax + 0x1d4]
jmp 0x1001f2b4
lea edx, [esp + 0x84]
lea ecx, [esp + 0x7c]
push 1
call fcn.1001ae3a
test dword [esp + 0x10], 0x8000000
pop ecx
je 0x1001f2dc
call fcn.1001c88c
cmp edi, eax
jne 0x1001f2dc
cmp dword [edi + 0xa8], 0
jg 0x1001f2dc
mov dl, 1
jmp 0x1001f2de
xor dl, dl
mov eax, dword [esp + 0x18]
mov ecx, dword [eax + 0x1b5c]
test ecx, ecx
je 0x1001f2f8
cmp edi, dword [ecx + 0x328]
jne 0x1001f2f8
mov cl, 1
jmp 0x1001f2fa
xor cl, cl
mov byte [esp + 8], cl
test dl, dl
jne 0x1001f30a
test cl, cl
je 0x1001f418
movss xmm1, dword [eax + 0x1c54]
movzx ecx, dl
add ecx, 0x33
call fcn.10016113
push 0xf
push ecx
and dword [esp], 0
mov ecx, dword [edi + 0x27c]
push eax
lea eax, [esp + 0x90]
push eax
lea eax, [esp + 0x8c]
push eax
call fcn.1003e266
cmp byte [esp + 8], 0
mov eax, dword [esp + 0x18]
je 0x1001f418
cmp edi, dword [eax + 0x1b5c]
jne 0x1001f418
movss xmm2, dword [edi + 0xc]
movss xmm3, dword [edi + 0x10]
movaps xmm1, xmm2
movss xmm0, dword [eax + 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 + 0x7c]
comiss xmm0, xmm1
movss dword [esp + 0x64], xmm1
movss dword [esp + 0x68], xmm4
movss dword [esp + 0x6c], xmm2
movss dword [esp + 0x70], xmm3
jb 0x1001f3d2
movss xmm0, dword [esp + 0x80]
comiss xmm0, xmm4
jb 0x1001f3d2
comiss xmm2, dword [esp + 0x84]
jb 0x1001f3d2
comiss xmm3, dword [esp + 0x88]
jae 0x1001f418
movss xmm1, dword [eax + 0x1b68]
mulss xmm1, dword [0x1004c6a0]
push 0x32
pop ecx
call fcn.10016113
mov edx, dword [esp + 0x18]
push 0xf
push ecx
mov ecx, dword [edi + 0x27c]
movss xmm0, dword [edx + 0x1518]
movss dword [esp], xmm0
push eax
lea eax, [esp + 0x78]
push eax
lea eax, [esp + 0x74]
push eax
call fcn.1003e266
mov eax, dword [esp + 0x18]
movss xmm6, dword [edi + 0x44]
movss xmm2, dword [edi + 0x48]
mov ecx, dword [eax + 0x1b58]
movss dword [esp + 0x1c], xmm6
movss dword [esp + 0x10], xmm2
test ecx, ecx
jne 0x1001f43e
mov ecx, dword [eax + 0x1b1c]
cmp byte [esp + 9], 0
jne 0x1001f45b
test ecx, ecx
je 0x1001f457
mov eax, dword [edi + 0x32c]
cmp eax, dword [ecx + 0x32c]
je 0x1001f45b
xor dl, dl
jmp 0x1001f45d
mov dl, 1
movss xmm3, dword [edi + 0x1c]
mov ecx, edi
addss xmm3, dword [edi + 0xc]
mov byte [esp + 8], dl
movss dword [esp + 0x60], xmm3
movss dword [esp + 0x34], xmm3
call fcn.100153f6
cmp byte [edi + 0x79], 0
addss xmm0, dword [edi + 0x10]
mov eax, dword [edi + 0xc]
mov ecx, dword [edi + 0x10]
movss xmm7, dword [0x1004c6b4]
mov dword [esp + 0x64], eax
movss dword [esp + 0x78], xmm0
movss dword [esp + 0x38], xmm0
movss dword [esp + 0x70], xmm0
movss xmm0, dword [esp + 0x64]
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x68], ecx
movss dword [esp + 0x6c], xmm3
movss dword [esp + 0x4c], xmm0
je 0x1001f53b
mov esi, dword [esp + 0x18]
movss xmm0, dword [esi + 0x1550]
movss dword [esp + 0x74], xmm0
movss dword [esi + 0x1550], xmm2
test dl, dl
je 0x1001f4f6
cmp byte [esi + 0x1b7a], 0
jne 0x1001f4f6
push 0xb
jmp 0x1001f4f8
push 0xc
movss xmm1, dword [0x1004c6e0]
pop ecx
call fcn.10016113
push dword [esp + 0x38]
movaps xmm2, xmm6
mov dl, 1
push dword [esp + 0x38]
mov ecx, eax
push dword [esp + 0x64]
push dword [esp + 0x64]
call fcn.1001ba40
movss xmm0, dword [esp + 0x84]
add esp, 0x10
movss dword [esi + 0x1550], xmm0
jmp 0x1001fbc8
mov eax, dword [esp + 0xc]
test eax, 0x6000000
je 0x1001f54b
push 4
pop eax
jmp 0x1001f558
and eax, 0x1000000
or eax, 0x2000000
shr eax, 0x18
movss xmm5, dword [0x1004c6e0]
mov ecx, eax
movaps xmm1, xmm5
call fcn.10016113
mov ecx, dword [esp + 0x18]
xor edx, edx
mov dword [esp + 0x14], eax
cmp dword [ecx + 0x1ac8], edx
je 0x1001f5b8
movss xmm1, dword [ecx + 0x1b08]
xorps xmm0, xmm0
comiss xmm0, xmm1
ja 0x1001f593
movaps xmm0, xmm5
minss xmm0, xmm1
mulss xmm0, dword [0x1004c7f4]
and dword [esp + 0x14], 0xffffff
mov dword [ecx + 0x1ac8], edx
addss xmm0, xmm7
cvttss2si eax, xmm0
shl eax, 0x18
or dword [esp + 0x14], eax
movss xmm1, dword [edi + 0xc]
mov ecx, edi
movaps xmm0, xmm1
addss xmm0, dword [edi + 0x14]
addss xmm1, dword [0x1004c640]
movss dword [esp + 0x34], xmm0
movss xmm0, dword [edi + 0x10]
addss xmm0, dword [edi + 0x18]
movss dword [esp + 0x90], xmm1
movss dword [esp + 0x38], xmm0
call fcn.100153f6
mov eax, dword [esp + 0xc]
addss xmm0, dword [edi + 0x10]
push 0xc
and eax, 1
mov dword [esp + 0x24], eax
pop eax
push 0xf
pop ecx
cmovne eax, ecx
movss dword [esp + 0x94], xmm0
push eax
push ecx
mov ecx, dword [edi + 0x27c]
lea eax, [esp + 0x3c]
movss dword [esp], xmm6
push dword [esp + 0x1c]
push eax
lea eax, [esp + 0xa0]
push eax
call fcn.1003e266
movzx ecx, byte [esp + 8]
movss xmm1, dword [0x1004c6e0]
add ecx, 0xa
cmp byte [edi + 0x79], 0
push 0xc
pop eax
cmovne ecx, eax
call fcn.10016113
mov edx, dword [esp + 0x20]
test edx, edx
jne 0x1001f687
movss xmm0, dword [esp + 0x1c]
push 3
push ecx
mov ecx, dword [edi + 0x27c]
movss dword [esp], xmm0
push eax
lea eax, [esp + 0x78]
push eax
lea eax, [esp + 0x74]
push eax
call fcn.1003e266
mov edx, dword [esp + 0x20]
test dword [esp + 0xc], 0x400
je 0x1001f7c8
movss xmm3, dword [edi + 0x10]
mov ecx, edi
call fcn.100153f6
movss xmm1, dword [edi + 0xc]
movaps xmm2, xmm0
movaps xmm4, xmm1
addss xmm2, xmm3
maxss xmm4, xmm1
movaps xmm0, xmm2
movss dword [esp + 0x20], xmm4
maxss xmm0, xmm3
movss dword [esp + 0x24], xmm4
movaps xmm4, xmm1
addss xmm1, dword [edi + 0x14]
addss xmm4, dword [edi + 0x1c]
movss dword [esp + 0x28], xmm0
minss xmm4, xmm1
movss dword [esp + 0x58], xmm4
call fcn.10015426
movss dword [esp + 0x2c], xmm4
addss xmm0, xmm2
addss xmm3, dword [edi + 0x18]
minss xmm0, xmm3
movss dword [esp + 0x5c], xmm0
movss dword [esp + 0x30], xmm0
test edx, edx
je 0x1001f714
movss xmm5, dword [esp + 0x1c]
jmp 0x1001f717
xorps xmm5, xmm5
movss xmm1, dword [0x1004c6e0]
push 0xd
pop ecx
call fcn.10016113
push 3
push ecx
mov ecx, dword [edi + 0x27c]
movss dword [esp], xmm5
push eax
lea eax, [esp + 0x38]
push eax
lea eax, [esp + 0x34]
push eax
call fcn.1003e266
mov edx, dword [esp + 0x18]
movss xmm6, dword [edx + 0x1550]
comiss xmm6, dword [0x1004c640]
jbe 0x1001f7c8
movss xmm0, dword [edi + 0x10]
addss xmm0, dword [edi + 0x18]
movss xmm5, dword [esp + 0x5c]
comiss xmm0, xmm5
jbe 0x1001f7c8
movss xmm1, dword [0x1004c6e0]
push 5
pop ecx
call fcn.10016113
movss xmm0, dword [esp + 0x58]
push ecx
mov ecx, dword [edi + 0x27c]
movss dword [esp], xmm6
push eax
lea eax, [esp + 0x3c]
movss dword [esp + 0x3c], xmm0
movss xmm0, dword [esp + 0x28]
push eax
lea eax, [esp + 0x9c]
movss dword [esp + 0x44], xmm5
push eax
movss dword [esp + 0xa0], xmm0
movss dword [esp + 0xa4], xmm5
call fcn.1003e0fe
cmp byte [edi + 0x74], 0
je 0x1001f7d6
xor ecx, ecx
inc ecx
call fcn.100206a3
cmp byte [edi + 0x75], 0
je 0x1001f7e3
xor ecx, ecx
call fcn.100206a3
test byte [esp + 0xc], 2
jne 0x1001f997
movss xmm4, dword [esp + 0x10]
xor ecx, ecx
movaps xmm0, xmm4
mov dword [esp + 0x20], ecx
addss xmm0, dword [esp + 0x1c]
mov eax, 0x10050c60
mov dword [esp + 0x14], eax
movss dword [esp + 0x34], xmm0
jmp 0x1001f81a
movss xmm4, dword [esp + 0x10]
movss xmm0, dword [edi + 0xc]
and ecx, 1
addss xmm0, dword [edi + 0x14]
movss xmm1, dword [edi + 0x10]
addss xmm1, dword [edi + 0x18]
mov edx, dword [edi + 0x27c]
mov dword [esp + 0x90], ecx
subss xmm0, dword [edi + 0xc]
movd xmm3, esi
subss xmm1, dword [edi + 0x10]
mulss xmm0, dword [eax - 8]
mulss xmm1, dword [eax - 4]
addss xmm0, dword [edi + 0xc]
addss xmm1, dword [edi + 0x10]
movss dword [esp + 0x58], xmm0
movss dword [esp + 0x5c], xmm1
je 0x1001f876
movaps xmm2, xmm4
cvtdq2ps xmm3, xmm3
jmp 0x1001f87c
cvtdq2ps xmm2, xmm3
movaps xmm3, xmm4
mulss xmm2, dword [eax]
lea ecx, [edx + 0x54]
mulss xmm3, dword [eax + 4]
lea eax, [esp + 0x98]
push eax
addss xmm2, xmm0
addss xmm3, xmm1
movss dword [esp + 0x9c], xmm2
movss dword [esp + 0xa0], xmm3
call fcn.1002dc8b
cmp dword [esp + 0x90], 0
mov ecx, dword [edi + 0x27c]
je 0x1001f8ce
movss xmm1, dword [esp + 0x10]
movd xmm0, esi
cvtdq2ps xmm0, xmm0
jmp 0x1001f8db
movss xmm0, dword [esp + 0x10]
movd xmm1, esi
cvtdq2ps xmm1, xmm1
mov eax, dword [esp + 0x14]
add ecx, 0x54
mulss xmm0, dword [eax]
mulss xmm1, dword [eax + 4]
lea eax, [esp + 0xa0]
push eax
addss xmm0, dword [esp + 0x5c]
addss xmm1, dword [esp + 0x60]
movss dword [esp + 0xa4], xmm0
movss dword [esp + 0xa8], xmm1
call fcn.1002dc8b
mov eax, dword [esp + 0x14]
movss xmm0, dword [esp + 0x34]
movss xmm2, dword [esp + 0x1c]
mov ecx, dword [edi + 0x27c]
mulss xmm0, dword [eax]
push dword [eax + 0xc]
addss xmm0, dword [esp + 0x5c]
push dword [eax + 8]
movss dword [esp + 0x2c], xmm0
movss xmm0, dword [esp + 0x3c]
mulss xmm0, dword [eax + 4]
lea eax, [esp + 0x2c]
push eax
addss xmm0, dword [esp + 0x68]
movss dword [esp + 0x34], xmm0
call fcn.1003dd4f
mov eax, dword [esp + 0x20]
mov ecx, dword [edi + 0x27c]
push dword [esp + eax*4 + 0xac]
call fcn.10014999
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x14]
inc ecx
add eax, 0x18
mov dword [esp + 0x20], ecx
mov dword [esp + 0x14], eax
cmp ecx, dword [esp + 0x40]
jl 0x1001f814
movss xmm5, dword [esp + 0x10]
xorps xmm4, xmm4
comiss xmm5, xmm4
jbe 0x1001fa03
movss xmm1, dword [0x1004c6e0]
push 5
pop ecx
call fcn.10016113
movss xmm0, dword [edi + 0x14]
addss xmm0, dword [edi + 0xc]
push ecx
movss dword [esp], xmm5
push 0xf
pop ecx
movss dword [esp + 0x28], xmm0
movss xmm0, dword [edi + 0x18]
addss xmm0, dword [edi + 0x10]
push ecx
push ecx
mov ecx, dword [edi + 0x27c]
movss dword [esp + 0x34], xmm0
movss xmm0, dword [esp + 0x28]
movss dword [esp], xmm0
push eax
lea eax, [esp + 0x34]
push eax
lea eax, [edi + 0xc]
push eax
call fcn.1003e18b
xorps xmm4, xmm4
mov eax, dword [esp + 0x74]
cmp eax, 0xffffffff
je 0x1001fb39
movss xmm0, dword [edi + 0xc]
movss xmm1, dword [edi + 0x10]
movaps xmm2, xmm0
movss xmm5, dword [0x1004c6e0]
movaps xmm3, xmm1
addss xmm2, dword [edi + 0x14]
addss xmm3, dword [edi + 0x18]
subss xmm2, xmm5
subss xmm3, xmm5
test eax, eax
jne 0x1001fa6e
movd xmm3, esi
cvtdq2ps xmm3, xmm3
movss dword [esp + 0x28], xmm1
addss xmm1, xmm4
addss xmm0, xmm3
subss xmm2, xmm3
movss dword [esp + 0x30], xmm1
movss dword [esp + 0x24], xmm0
movss dword [esp + 0x2c], xmm2
jmp 0x1001fb09
cmp eax, 1
jne 0x1001faa3
movaps xmm0, xmm2
subss xmm0, xmm4
movss dword [esp + 0x24], xmm0
movd xmm0, esi
cvtdq2ps xmm0, xmm0
addss xmm1, xmm0
subss xmm3, xmm0
movss dword [esp + 0x28], xmm1
movss dword [esp + 0x2c], xmm2
movss dword [esp + 0x30], xmm3
jmp 0x1001fb09
cmp eax, 2
jne 0x1001facc
movd xmm1, esi
cvtdq2ps xmm1, xmm1
addss xmm0, xmm1
subss xmm2, xmm1
movss dword [esp + 0x24], xmm0
movaps xmm0, xmm3
subss xmm0, xmm4
movss dword [esp + 0x28], xmm0
jmp 0x1001fa95
cmp eax, 3
jne 0x1001faf8
movd xmm2, esi
cvtdq2ps xmm2, xmm2
movss dword [esp + 0x24], xmm0
addss xmm0, xmm4
addss xmm1, xmm2
subss xmm3, xmm2
movss dword [esp + 0x2c], xmm0
movss dword [esp + 0x28], xmm1
jmp 0x1001fa9b
lea ecx, [esp + 0x24]
call fcn.10014a44
movss xmm5, dword [0x1004c6e0]
push 0x1d
movaps xmm1, xmm5
pop ecx
call fcn.10016113
movaps xmm0, xmm5
maxss xmm0, dword [esp + 0x10]
push ecx
mov ecx, dword [edi + 0x27c]
movss dword [esp], xmm0
push eax
lea eax, [esp + 0x34]
push eax
lea eax, [esp + 0x30]
push eax
call fcn.1003e0fe
mov esi, dword [esp + 0x18]
movss xmm5, dword [esi + 0x1550]
comiss xmm5, dword [0x1004c640]
jbe 0x1001fbc8
test byte [esp + 0xc], 1
jne 0x1001fbc8
movss xmm1, dword [0x1004c6e0]
push 5
pop ecx
call fcn.10016113
movss xmm1, dword [esi + 0x151c]
movss xmm0, dword [esp + 0x60]
subss xmm0, xmm1
addss xmm1, dword [esp + 0x4c]
push ecx
mov ecx, dword [edi + 0x27c]
movss dword [esp], xmm5
movss dword [esp + 0x28], xmm0
movss xmm0, dword [esp + 0x7c]
subss xmm0, dword [0x1004c6e0]
push eax
lea eax, [esp + 0x2c]
movss dword [esp + 0xa8], xmm1
push eax
lea eax, [esp + 0xac]
push eax
movss dword [esp + 0x38], xmm0
movss dword [esp + 0xb4], xmm0
call fcn.1003e0fe
cmp dword [esi + 0x1b5c], edi
jne 0x1001fccd
movss xmm3, dword [edi + 0xc]
movss xmm2, dword [edi + 0x10]
movaps xmm4, xmm3
movss xmm1, dword [esi + 0x1938]
movaps xmm0, xmm2
addss xmm3, dword [edi + 0x14]
addss xmm2, dword [edi + 0x18]
movss xmm6, dword [esp + 0x7c]
subss xmm4, xmm1
movss xmm5, dword [edi + 0x44]
subss xmm0, xmm1
maxss xmm5, dword [esi + 0x1518]
addss xmm3, xmm1
addss xmm2, xmm1
comiss xmm6, xmm4
movss dword [esp + 0x24], xmm4
movss dword [esp + 0x28], xmm0
movss dword [esp + 0x2c], xmm3
movss dword [esp + 0x30], xmm2
jb 0x1001fc97
movss xmm6, dword [esp + 0x80]
comiss xmm6, xmm0
jb 0x1001fc97
comiss xmm3, dword [esp + 0x84]
jb 0x1001fc97
comiss xmm2, dword [esp + 0x88]
jb 0x1001fc97
xorps xmm1, xmmword [0x1004ce30]
subss xmm1, dword [0x1004c6e0]
movss xmm5, dword [edi + 0x44]
subss xmm0, xmm1
subss xmm4, xmm1
movss dword [esp + 0x28], xmm0
movaps xmm0, xmm1
addss xmm0, xmm3
movss dword [esp + 0x24], xmm4
addss xmm1, xmm2
movss dword [esp + 0x2c], xmm0
movss dword [esp + 0x30], xmm1
movss xmm1, dword [esi + 0x1b68]
push 0x32
pop ecx
call fcn.10016113
push ecx
mov dword [esp], 0x40400000
push 0xffffffffffffffff
push ecx
mov ecx, dword [edi + 0x27c]
movss dword [esp], xmm5
push eax
lea eax, [esp + 0x3c]
push eax
lea eax, [esp + 0x38]
push eax
call fcn.1003e18b
mov eax, dword [edi + 0x1c]
mov ecx, dword [edi + 0x20]
mov dword [edi + 0x24], eax
mov dword [edi + 0x28], ecx
mov ecx, edi
movss xmm0, dword [edi + 0xc]
subss xmm0, dword [edi + 0x54]
addss xmm0, dword [edi + 0x3c]
movss dword [edi + 0x214], xmm0
call fcn.100153f6
movss xmm1, dword [edi + 0x10]
movaps xmm2, xmm0
subss xmm1, dword [edi + 0x58]
addss xmm1, dword [edi + 0x40]
addss xmm2, xmm1
call fcn.10015426
addss xmm2, xmm0
xorps xmm4, xmm4
movss dword [edi + 0x218], xmm2
movss xmm1, dword [edi + 0x34]
ucomiss xmm1, xmm4
lahf
test ah, 0x44
jp 0x1001fd39
movss xmm1, dword [edi + 0x14]
subss xmm1, dword [edi + 0x6c]
movss xmm0, dword [edi + 0xc]
subss xmm0, dword [edi + 0x54]
subss xmm0, dword [edi + 0x3c]
addss xmm0, xmm1
movss dword [edi + 0x21c], xmm0
movss xmm1, dword [edi + 0x38]
ucomiss xmm1, xmm4
lahf
test ah, 0x44
jp 0x1001fd6c
movss xmm1, dword [edi + 0x18]
subss xmm1, dword [edi + 0x70]
movss xmm0, dword [edi + 0x10]
subss xmm0, dword [edi + 0x58]
subss xmm0, dword [edi + 0x40]
addss xmm0, xmm1
movss dword [edi + 0x220], xmm0
movss xmm0, dword [edi + 0x3c]
addss xmm0, xmm4
subss xmm0, dword [edi + 0x54]
movaps xmm3, xmm0
movss dword [edi + 0x1b8], xmm0
and dword [edi + 0x1bc], 0
addss xmm3, xmm4
and dword [edi + 0x1c0], 0
addss xmm3, dword [edi + 0xc]
call fcn.10015426
movaps xmm2, xmm0
call fcn.100153f6
addss xmm2, xmm0
addss xmm2, dword [edi + 0x40]
subss xmm2, dword [edi + 0x58]
addss xmm2, dword [edi + 0x10]
movss dword [edi + 0xd8], xmm3
movss dword [edi + 0xdc], xmm2
movss dword [edi + 0xc8], xmm3
movss dword [edi + 0xcc], xmm2
movss dword [edi + 0xd0], xmm3
movss dword [edi + 0xd4], xmm2
mov eax, dword [edi + 0xd8]
mov ecx, dword [edi + 0xdc]
mov dword [edi + 0xe0], eax
mov eax, dword [0x100c68c8]
mov dword [edi + 0xe4], ecx
xor ecx, ecx
and dword [edi + 0xf0], 0
and dword [edi + 0xe8], 0
and dword [edi + 0xf4], 0
and dword [edi + 0xec], 0
mov byte [edi + 0x12c], cl
mov eax, dword [eax + 0x1a20]
push ecx
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, xmm4
seta al
mov byte [edi + 0x12d], al
mov eax, dword [edi + 0x13c]
mov dword [edi + 0x138], eax
mov dword [edi + 0x13c], ecx
mov byte [edi + 0x140], cl
lea ecx, [edi + 0x14c]
movss xmm0, dword [edi + 0xcc]
subss xmm0, dword [0x1004c830]
movss dword [edi + 0xf8], xmm0
call fcn.1002dbe3
mov edx, dword [esp + 0x3c]
xor ecx, ecx
mov dword [edi + 0x15c], ecx
test edx, edx
je 0x1001fec8
mov eax, dword [edx + 0x15c]
jmp 0x1001feca
mov eax, ecx
mov dword [edi + 0x160], eax
test edx, edx
je 0x1001fedc
mov eax, dword [edx + 0x164]
jmp 0x1001fedf
xor eax, eax
inc eax
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 edx, dword [eax + 4]
mov dword [esp + 0x40], edx
test edx, edx
jns 0x1001ff32
mov eax, edx
xor ecx, ecx
cdq
sub eax, edx
sar eax, 1
add eax, dword [esp + 0x40]
test eax, eax
cmovg ecx, eax
push ecx
lea ecx, [edi + 0x170]
call fcn.1002db8c
xor ecx, ecx
lea eax, [edi + 0x170]
mov dword [eax], ecx
lea eax, [edi + 0x17c]
cmp dword [eax + 4], ecx
jge 0x1001ff5b
push ecx
mov ecx, eax
call fcn.1002e04a
push eax
lea ecx, [edi + 0x17c]
call fcn.1002db8c
xor ecx, ecx
lea eax, [edi + 0x17c]
mov dword [eax], ecx
lea eax, [edi + 0x188]
cmp dword [eax + 4], ecx
jge 0x1001ff84
push ecx
mov ecx, eax
call fcn.1002e04a
push eax
lea ecx, [edi + 0x188]
call fcn.1002db8c
xor ecx, ecx
lea eax, [edi + 0x188]
mov dword [eax], ecx
lea eax, [edi + 0x25c]
mov dword [edi + 0x1c4], ecx
mov dword [edi + 0xfc], ecx
mov dword [edi + 0x100], ecx
push ecx
lea ecx, [edi + 0x194]
mov dword [edi + 0x158], eax
call fcn.1002d928
movss xmm0, dword [esi + 0x1554]
lea ecx, [edi + 0x24c]
and dword [edi + 0x238], 0
and dword [edi + 0x234], 0
cmp byte [esp + 0xb], 0
mov dword [edi + 0x22c], 3
movss dword [edi + 0x230], xmm0
je 0x1001fff1
mov edi, ecx
xor eax, eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov edi, dword [esp + 0x50]
xor eax, eax
mov edx, eax
cmp dword [edi + 0x22c], eax
jle 0x1002005d
test edx, edx
jle 0x10020026
movss xmm0, dword [ecx]
comiss xmm0, dword [0x1004c640]
jbe 0x10020026
movss xmm0, dword [edi + 0x230]
addss xmm0, dword [edi + 0x234]
movss dword [edi + 0x234], xmm0
cvttss2si eax, dword [edi + 0x234]
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
and dword [ecx], 0
inc edx
add ecx, 4
cmp edx, dword [edi + 0x22c]
jl 0x1001fffd
test dword [esp + 0xc], 0x1000000
je 0x10020091
mov eax, dword [esp + 0x3c]
mov eax, dword [eax + 0x164]
cmp dword [edi + 0x164], eax
je 0x10020091
mov dword [edi + 0x164], eax
lea ecx, [edi + 0x170]
lea eax, [edi + 0x164]
push eax
call fcn.1002d8e3
mov eax, dword [edi + 0x90]
test eax, eax
jle 0x100200a2
dec eax
mov dword [edi + 0x90], eax
mov eax, dword [edi + 0x94]
test eax, eax
jle 0x100200b3
dec eax
mov dword [edi + 0x94], eax
cmp byte [esp + 9], 0
je 0x100200ca
mov ecx, edi
call fcn.10020cd6
xor dl, dl
mov ecx, edi
call fcn.10017bc8
mov ecx, dword [esp + 0xc]
test cl, 1
jne 0x1002029e
mov eax, dword [edi + 0x164]
mov dword [esp + 0x40], eax
or eax, 0x10
mov dword [edi + 0x164], eax
inc dword [edi + 0x130]
mov eax, dword [edi + 0x134]
add eax, eax
mov dword [edi + 0x134], eax
mov eax, ecx
and eax, 0x20
mov dword [esp + 0x34], eax
jne 0x1002017f
movss xmm0, dword [edi + 0xc]
lea ecx, [esp + 0xa0]
addss xmm0, dword [esi + 0x1544]
movss dword [esp + 0x24], xmm0
movss xmm0, dword [edi + 0x10]
addss xmm0, dword [esi + 0x1548]
mov dword [esp + 0xa0], 0x888c81e2
mov dword [esp + 0xa4], 0x9b978789
mov word [esp + 0xa8], 0x8c
mov byte [esp + 0xaa], 1
movss dword [esp + 0x28], xmm0
call fcn.1000156e
push ecx
push eax
mov ecx, edi
call fcn.10016b5d
lea edx, [esp + 0x24]
mov ecx, eax
call fcn.1002260f
test al, al
je 0x1002017f
mov byte [edi + 0x7a], 1
dec dword [edi + 0x130]
sar dword [edi + 0x134], 1
mov eax, dword [esp + 0x40]
mov edx, dword [esp + 0x8c]
push ecx
mov dword [esp], 0xbf800000
lea ecx, [esp + 0x28]
push 1
push 0
mov dword [edi + 0x164], eax
call fcn.1001c032
mov eax, dword [esp + 0x24]
lea esi, [esp + 0x70]
lea edi, [esp + 0x88]
add esp, 0xc
cmp dword [esp + 0x34], 0
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
je 0x100201db
movss xmm0, dword [eax + 0x1544]
movaps xmm2, xmm0
jmp 0x100201f6
movss xmm2, dword [eax + 0x1544]
movaps xmm0, xmm2
addss xmm0, dword [eax + 0x1938]
addss xmm0, dword [eax + 0x155c]
add eax, 0x1528
movaps xmm1, xmm2
movss xmm3, dword [eax]
comiss xmm3, dword [0x1004c640]
jbe 0x1002021a
movaps xmm1, xmm0
subss xmm1, xmm2
mulss xmm1, xmm3
addss xmm1, xmm2
addss xmm0, dword [esp + 0x4c]
lea esi, [esp + 0x7c]
lea edi, [esp + 0xac]
lea ecx, [esp + 0xac]
push ecx
movss dword [esp + 0x80], xmm0
lea edx, [esp + 0x88]
movss xmm0, dword [esp + 0x88]
lea ecx, [esp + 0x80]
subss xmm0, xmm1
push eax
lea eax, [esp + 0x2c]
push eax
push 0
movss dword [esp + 0x94], xmm0
movsd dword es:[edi], dword [esi]
push dword [esp + 0x9c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov edi, dword [esp + 0x64]
movss xmm0, dword [edi + 0x14]
addss xmm0, dword [edi + 0xc]
subss xmm0, xmm2
movss dword [esp + 0xc8], xmm0
call fcn.1001b865
mov esi, dword [esp + 0x2c]
add esp, 0x14
mov ecx, dword [esp + 0xc]
movss xmm0, dword [edi + 0x14]
and ecx, 0x401
movss xmm2, dword [edi + 0xc]
movss xmm1, dword [edi + 0x18]
addss xmm0, xmm2
movss xmm3, dword [edi + 0x10]
movss dword [edi + 0x1e4], xmm2
addss xmm1, xmm3
movss dword [edi + 0x1e8], xmm3
movss dword [edi + 0x1ec], xmm0
movss dword [edi + 0x1f0], xmm1
movss xmm1, dword [edi + 0x1e4]
movss xmm0, dword [edi + 0x1e8]
movss xmm6, dword [esp + 0x4c]
maxss xmm0, dword [edi + 0x1d8]
maxss xmm1, dword [edi + 0x1d4]
movss dword [edi + 0x1e8], xmm0
movss dword [edi + 0x1e4], xmm1
movss xmm0, dword [edi + 0x1f0]
movss xmm1, dword [edi + 0x1ec]
minss xmm0, dword [edi + 0x1e0]
minss xmm1, dword [edi + 0x1dc]
movss dword [edi + 0x1f0], xmm0
movaps xmm0, xmm6
movss dword [edi + 0x1ec], xmm1
addss xmm0, dword [edi + 0x48]
movss dword [edi + 0x1f4], xmm0
cmp ecx, 1
jne 0x10020362
movss xmm2, dword [edi + 0x48]
jmp 0x1002036a
movss xmm2, dword [esi + 0x1550]
mov ecx, edi
call fcn.10015426
addss xmm0, dword [esp + 0x78]
movss xmm5, dword [0x1004c6b4]
xorps xmm1, xmm1
addss xmm0, xmm2
movss dword [edi + 0x1f8], xmm0
movss xmm0, dword [edi + 0x14]
addss xmm0, dword [edi + 0xc]
subss xmm0, dword [edi + 0x6c]
subss xmm0, dword [edi + 0x48]
movss dword [edi + 0x1fc], xmm0
movss xmm0, dword [edi + 0x18]
addss xmm0, xmm3
movss xmm3, dword [esp + 0x68]
subss xmm0, dword [edi + 0x70]
subss xmm0, dword [edi + 0x48]
movss dword [edi + 0x200], xmm0
movss xmm0, dword [edi + 0x3c]
mulss xmm0, xmm5
subss xmm0, dword [edi + 0x48]
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
maxss xmm1, xmm0
movss xmm0, dword [edi + 0x1f4]
addss xmm0, xmm5
addss xmm1, xmm0
cvttss2si eax, xmm1
xorps xmm1, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [edi + 0x204], xmm0
movss xmm0, dword [edi + 0x1f8]
addss xmm0, xmm5
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [edi + 0x208], xmm0
movss xmm0, dword [edi + 0x3c]
mulss xmm0, xmm5
movss xmm2, dword [edi + 0x1fc]
addss xmm2, xmm5
subss xmm0, dword [edi + 0x48]
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
maxss xmm1, xmm0
subss xmm2, xmm1
cvttss2si eax, xmm2
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [edi + 0x20c], xmm0
movss xmm0, dword [edi + 0x200]
addss xmm0, xmm5
movss xmm5, dword [esp + 0x60]
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [edi + 0x210], xmm0
mov eax, dword [edi + 0x4c]
mov dword [edi + 0x104], eax
mov eax, dword [0x100c68c8]
movss xmm1, dword [eax + 0x156c]
movss xmm0, dword [eax + 0x1570]
subss xmm6, xmm1
movss xmm4, dword [eax + 0xd8]
addss xmm5, xmm1
movaps xmm2, xmm0
subss xmm3, xmm0
addss xmm2, dword [esp + 0x78]
comiss xmm4, xmm6
jb 0x100204ee
movss xmm0, dword [eax + 0xdc]
comiss xmm0, xmm3
jb 0x100204ee
comiss xmm5, xmm4
jbe 0x100204ee
comiss xmm2, xmm0
jbe 0x100204ee
xor eax, eax
inc eax
jmp 0x100204f0
xor eax, eax
mov dword [edi + 0x108], eax
lea esi, [esp + 0x64]
add edi, 0x10c
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov edi, dword [esp + 0x50]
mov esi, dword [esp + 0x18]
push 1
lea edx, [edi + 0x20c]
lea ecx, [edi + 0x204]
call fcn.1001ae3a
mov eax, dword [esp + 0x4c]
pop ecx
cmp eax, dword [esp + 0x54]
je 0x10020531
xor eax, eax
mov byte [edi + 0x78], al
jmp 0x10020533
xor eax, eax
inc dword [edi + 0x88]
mov ecx, dword [esp + 0xc]
mov dword [esi + 0x1ac8], eax
mov dword [esi + 0x1ac4], eax
mov dword [esi + 0x1ac0], eax
mov dword [esi + 0x1abc], eax
mov dword [esi + 0x1ab8], eax
mov dword [esi + 0x1ab4], eax
mov dword [esi + 0x1ab0], eax
test ecx, 0x1000000
je 0x100205ce
test cl, 0x40
jne 0x100205b0
cmp dword [edi + 0x90], eax
jg 0x100205b0
cmp dword [edi + 0x94], eax
jg 0x100205b0
movss xmm0, dword [edi + 0x1e4]
comiss xmm0, dword [edi + 0x1ec]
jae 0x100205a6
movss xmm0, dword [edi + 0x1e8]
comiss xmm0, dword [edi + 0x1f0]
jb 0x100205b0
mov dword [edi + 0xa4], 1
mov ecx, dword [esp + 0x3c]
test ecx, ecx
je 0x100205ce
cmp byte [ecx + 0x79], 0
jne 0x100205c4
cmp byte [ecx + 0x7d], 0
je 0x100205ce
mov dword [edi + 0xa4], 1
xorps xmm0, xmm0
comiss xmm0, dword [esi + 0x1508]
jb 0x100205e4
mov dword [edi + 0xa4], 1
cmp dword [edi + 0xa4], eax
jg 0x100205f6
mov cl, al
cmp dword [edi + 0xa8], eax
je 0x100205f8
mov cl, 1
mov byte [edi + 0x7d], cl
cmp byte [edi + 0x79], 0
jne 0x1002060b
cmp byte [edi + 0x76], 0
je 0x1002060b
test cl, cl
je 0x10020625
cmp dword [edi + 0x90], eax
jg 0x10020625
cmp dword [edi + 0x94], eax
jg 0x10020625
cmp dword [edi + 0xa8], eax
jg 0x10020625
mov al, 1
mov ecx, dword [esp + 0xbc]
mov byte [edi + 0x7b], al
xor al, 1
pop edi
pop esi
xor ecx, esp
call fcn.1004111d
mov esp, ebp
pop ebp
ret