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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x108
mov eax, dword [0x1004900c]
xor eax, esp
mov dword [esp + 0x104], eax
mov eax, dword [ebp + 8]
push esi
mov esi, dword [0x1004995c]
push edi
mov dword [esp + 0x64], edx
mov dword [esp + 0x60], ecx
mov dword [esp + 0x4c], eax
mov dword [esp + 0x20], esi
call fcn.100150e0
mov edi, eax
mov dword [esp + 0x10], eax
test edi, edi
xorps xmm0, xmm0
movss dword [esp + 0x28], xmm0
sete cl
mov byte [esp + 0x16], cl
test eax, eax
jne 0x10017523
mov edx, dword [esi + 0x1a2c]
and edx, 2
je 0x100174d7
mov eax, dword [esi + 0x1a4c]
mov ecx, dword [esi + 0x1a50]
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], ecx
jmp 0x100174e7
mov dword [esp + 0x30], 0
mov dword [esp + 0x34], 0
test edx, edx
lea ecx, [esp + 0x50]
mov edx, dword [esp + 0x4c]
lea eax, [esp + 0x30]
cmovne eax, ecx
mov ecx, dword [esp + 0x60]
movss xmm0, dword [eax]
movss dword [esp + 0x38], xmm0
movss xmm0, dword [eax + 4]
movss dword [esp + 0x3c], xmm0
push dword [esp + 0x3c]
push dword [esp + 0x3c]
call fcn.10015180
add esp, 8
mov edi, eax
mov eax, dword [esp + 0x4c]
mov ecx, eax
and ecx, 0xc0200
mov edx, eax
or edx, 6
cmp ecx, 0xc0200
mov ecx, dword [edi + 0x224]
cmovne edx, eax
mov dword [esp + 0x68], ecx
mov eax, dword [esi + 0x1960]
mov dword [esp + 0x6c], eax
dec eax
cmp ecx, eax
mov dword [esp + 0x1c], edx
mov eax, dword [edi + 0x9c]
setl ch
mov dword [esp + 0x4c], eax
mov byte [esp + 0x17], ch
test edx, 0x4000000
je 0x100175ab
mov eax, dword [esi + 0x1ac4]
lea esi, [eax + eax*8]
mov eax, dword [esp + 0x20]
mov edx, dword [eax + 0x1ac0]
mov eax, dword [edi + 0x8c]
cmp edi, dword [edx + esi*4 + 4]
setne cl
cmp eax, dword [edx + esi*4]
mov esi, dword [esp + 0x20]
mov edx, dword [esp + 0x1c]
setne al
or cl, al
mov eax, dword [esp + 0x4c]
or ch, cl
mov byte [esp + 0x17], ch
test ch, ch
jne 0x100175bb
test eax, eax
jg 0x100175bb
mov byte [edi + 0x80], ch
jmp 0x100175d7
or dword [edi + 0xa0], 8
or dword [edi + 0xa4], 8
or dword [edi + 0xa8], 8
mov byte [edi + 0x80], 1
mov eax, dword [esp + 0x6c]
cmp dword [esp + 0x68], eax
je 0x1001761d
mov dword [edi + 0x224], eax
xor eax, eax
mov dword [edi + 8], edx
movsd xmm0, qword [esi + 0x1958]
cvtpd2ps xmm0, xmm0
mov word [edi + 0x86], ax
movss dword [edi + 0x228], xmm0
movzx eax, word [esi + 0x19ac]
inc dword [esi + 0x19ac]
mov word [edi + 0x88], ax
jmp 0x10017624
mov edx, dword [edi + 8]
mov dword [esp + 0x1c], edx
cmp dword [esi + 0x1994], 0
lea ecx, [esi + 0x1994]
jne 0x10017637
xor eax, eax
jmp 0x10017643
mov eax, dword [esi + 0x199c]
mov esi, dword [ecx]
mov eax, dword [eax + esi*4 - 4]
mov esi, dword [esp + 0x68]
cmp esi, dword [esp + 0x6c]
je 0x1001765f
and edx, 0x5000000
neg edx
sbb edx, edx
and edx, eax
mov dword [esp + 0x58], edx
jmp 0x10017669
mov eax, dword [edi + 0x2f0]
mov dword [esp + 0x58], eax
cmp dword [edi + 0xbc], 0
lea eax, [edi + 0xbc]
mov esi, dword [esp + 0x20]
jne 0x100176a8
cmp dword [eax + 4], 0
jne 0x10017691
push 8
mov ecx, eax
call fcn.1001faf0
lea eax, [edi + 0xbc]
mov edx, dword [eax]
mov ecx, dword [eax + 8]
mov eax, dword [edi + 4]
mov dword [ecx + edx*4], eax
lea ecx, [esi + 0x1994]
inc dword [edi + 0xbc]
mov edx, dword [ecx]
mov eax, dword [ecx + 4]
cmp edx, eax
jne 0x100176de
inc edx
mov dword [esp + 0x50], edx
test eax, eax
je 0x100176c8
cdq
sub eax, edx
mov edx, dword [esp + 0x50]
sar eax, 1
add eax, dword [ecx + 4]
jmp 0x100176cd
mov eax, 8
cmp eax, edx
cmovg edx, eax
push edx
call fcn.1001faf0
lea ecx, [esi + 0x1994]
mov ecx, dword [ecx]
lea edx, [edi + 0x1a8]
mov eax, dword [esi + 0x199c]
mov dword [eax + ecx*4], edi
inc dword [esi + 0x1994]
mov ecx, dword [0x1004995c]
mov dword [esi + 0x19b0], 0
movzx eax, word [edi + 0xbc]
mov word [edx], ax
movzx eax, word [edi + 0x19c]
mov word [edx + 2], ax
movzx eax, word [ecx + 0x1ac4]
mov word [edx + 4], ax
movzx eax, word [ecx + 0x1a94]
mov word [edx + 6], ax
movzx eax, word [ecx + 0x1aa0]
mov word [edx + 8], ax
movzx eax, word [ecx + 0x1aac]
mov word [edx + 0xa], ax
mov eax, dword [esp + 0x1c]
mov ecx, eax
and ecx, 0x4000000
mov dword [esp + 0x2c], ecx
je 0x100177fc
mov eax, dword [esi + 0x1ac4]
lea ecx, [esi + 0x1ac4]
mov edx, dword [esi + 0x1ac0]
mov dword [esp + 0x44], edx
lea eax, [eax + eax*8]
mov dword [edx + eax*4 + 4], edi
mov edx, dword [ecx]
mov dword [esp + 0x48], eax
mov eax, dword [ecx + 4]
cmp edx, eax
jne 0x100177b3
inc edx
mov dword [esp + 0x50], edx
test eax, eax
je 0x1001779d
cdq
sub eax, edx
mov edx, dword [esp + 0x50]
sar eax, 1
add eax, dword [ecx + 4]
jmp 0x100177a2
mov eax, 8
cmp eax, edx
cmovg edx, eax
push edx
call fcn.1001ff60
lea ecx, [esi + 0x1ac4]
mov eax, dword [ecx]
mov esi, dword [esp + 0x44]
mov ecx, dword [ecx + 8]
lea edx, [eax + eax*8]
mov eax, dword [esp + 0x48]
movups xmm0, xmmword [esi + eax*4]
movups xmmword [ecx + edx*4], xmm0
movups xmm0, xmmword [esi + eax*4 + 0x10]
movups xmmword [ecx + edx*4 + 0x10], xmm0
mov eax, dword [esi + eax*4 + 0x20]
mov esi, dword [esp + 0x20]
mov dword [ecx + edx*4 + 0x20], eax
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x44]
inc dword [esi + 0x1ac4]
mov eax, dword [ecx + eax*4]
mov dword [edi + 0x8c], eax
mov eax, dword [esp + 0x1c]
cmp dword [esp + 0x4c], 0
jle 0x10017814
test eax, 0x1000000
jne 0x10017814
mov dword [edi + 0x304], 0
test byte [esi + 0x1a2c], 1
mov byte [esp + 0xe], 0
mov byte [esp + 0xf], 0
mov byte [esp + 0xd], 0
je 0x100178ba
mov ecx, dword [esi + 0x1a30]
mov edx, dword [edi + 0xa0]
test ecx, edx
mov eax, edx
setne byte [esp + 0xe]
test ecx, eax
je 0x100178a9
movss xmm1, dword [esi + 0x1a48]
movss xmm0, dword [esi + 0x1a44]
mulss xmm0, xmm0
mulss xmm1, xmm1
addss xmm0, xmm1
comiss xmm0, dword [0x10045b14]
jbe 0x100178a9
mov eax, dword [esi + 0x1a3c]
and edx, 0xfffffff1
mov ecx, dword [esi + 0x1a40]
mov dword [edi + 0xac], eax
mov dword [edi + 0xb0], ecx
mov eax, dword [esi + 0x1a44]
mov ecx, dword [esi + 0x1a48]
mov dword [edi + 0xb4], eax
mov dword [edi + 0xb8], ecx
mov dword [edi + 0xa0], edx
jmp 0x100178ba
push ecx
lea edx, [esi + 0x1a3c]
mov ecx, edi
call fcn.1001a330
add esp, 4
test byte [esi + 0x1a2c], 2
je 0x1001791a
mov eax, dword [edi + 0xa4]
lea edx, [esi + 0x1a4c]
mov ecx, dword [esi + 0x1a34]
movss xmm1, dword [esp + 0x28]
and eax, ecx
je 0x100178ef
movss xmm0, dword [edx]
comiss xmm0, xmm1
jbe 0x100178ef
mov byte [esp + 0xf], 1
jmp 0x100178f8
mov byte [esp + 0xf], 0
test eax, eax
je 0x1001790a
movss xmm0, dword [esi + 0x1a50]
comiss xmm0, xmm1
mov byte [esp + 0xd], 1
ja 0x1001790f
mov byte [esp + 0xd], 0
push ecx
mov ecx, edi
call fcn.1001a410
add esp, 4
test byte [esi + 0x1a2c], 4
je 0x10017937
mov eax, dword [esi + 0x1a54]
mov ecx, dword [esi + 0x1a58]
mov dword [edi + 0x2c], eax
mov dword [edi + 0x30], ecx
jmp 0x1001794f
mov eax, dword [esp + 0x68]
cmp eax, dword [esp + 0x6c]
je 0x1001794f
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 0
test byte [esi + 0x1a2c], 8
je 0x1001797a
mov eax, dword [esi + 0x1a38]
mov cl, byte [esi + 0x1a5c]
test eax, eax
je 0x10017970
test dword [edi + 0xa8], eax
je 0x1001797a
and dword [edi + 0xa8], 0xfffffff1
mov byte [edi + 0x7d], cl
test byte [esi + 0x1a2c], 0x20
je 0x1001798a
mov ecx, edi
call fcn.10019d30
cmp byte [edi + 0x80], 0
je 0x100179a8
and dword [edi + 0xa0], 0xfffffff7
and dword [edi + 0xa4], 0xfffffff7
and dword [edi + 0xa8], 0xfffffff7
mov eax, dword [esp + 0x68]
cmp eax, dword [esp + 0x6c]
je 0x100198f1
mov ecx, dword [esp + 0x1c]
mov edx, ecx
mov eax, dword [esp + 0x58]
and edx, 0x3000000
mov dword [esp + 0x44], edx
mov dword [edi + 0x2f0], eax
mov dword [edi + 0x2fc], edi
mov dword [edi + 0x2f8], edi
mov dword [edi + 0x2f4], edi
test eax, eax
je 0x10017a1a
cmp edx, 0x1000000
jne 0x100179fe
mov eax, dword [eax + 0x2f4]
mov dword [edi + 0x2f4], eax
mov eax, dword [esp + 0x58]
test ecx, 0x8000000
jne 0x10017a1a
test ecx, 0x5000000
je 0x10017a1a
mov eax, dword [eax + 0x2f8]
mov dword [edi + 0x2f8], eax
test dword [edi + 8], 0x800000
je 0x10017a47
mov ecx, edi
nop word [eax + eax]
mov eax, dword [ecx + 0x2f0]
mov ecx, eax
mov dword [edi + 0x2fc], eax
test dword [ecx + 8], 0x800000
jne 0x10017a30
cmp dword [esp + 0x64], 0
lea ecx, [edi + 0xbc]
mov byte [edi + 0x7a], 1
setne al
mov byte [edi + 0x82], al
mov dword [edi + 0x204], 0xff7fffff
mov dword [edi + 0x208], 0xff7fffff
mov dword [edi + 0x20c], 0x7f7fffff
mov dword [edi + 0x210], 0x7f7fffff
mov eax, dword [ecx + 4]
mov dword [esp + 0x50], eax
cmp eax, 1
jge 0x10017abf
test eax, eax
je 0x10017aa4
cdq
sub eax, edx
mov edx, eax
sar edx, 1
add edx, dword [esp + 0x50]
jmp 0x10017aa9
mov edx, 8
mov eax, 1
cmp edx, eax
cmovg eax, edx
push eax
call fcn.1001faf0
lea ecx, [edi + 0xbc]
mov dword [ecx], 1
cmp byte [edi + 0x32c], 0
je 0x10017b11
mov ecx, dword [edi + 0x274]
push dword [edi + 0x330]
add ecx, 0xc
mov byte [edi + 0x32c], 0
call fcn.1001fee0
mov ecx, dword [edi + 0x274]
push dword [edi + 0x334]
add ecx, 0x18
call fcn.1001fcf0
mov dword [edi + 0x334], 0
mov dword [edi + 0x330], 0
cmp dword [esi + 0x1b18], 0
je 0x10017bf5
test dword [edi + 8], 0x80000
jne 0x10017bf5
cmp dword [esp + 0x10], 0
je 0x10017bf5
mov eax, dword [edi]
mov ecx, eax
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x60]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x10017b62
test dl, dl
je 0x10017b5e
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x10017b62
add eax, 2
add ecx, 2
test dl, dl
jne 0x10017b42
xor eax, eax
jmp 0x10017b67
sbb eax, eax
or eax, 1
test eax, eax
je 0x10017bf5
mov ecx, dword [esp + 0x60]
mov edx, dword [edi + 0x44]
mov dword [esp + 0x24], edx
lea eax, [ecx + 1]
mov dword [esp + 0x50], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10017b81
sub ecx, dword [esp + 0x50]
lea eax, [ecx + 1]
mov ecx, dword [esp + 0x40]
mov dword [esp + 0x48], eax
cmp edx, eax
jae 0x10017bde
test ecx, ecx
je 0x10017bae
mov eax, dword [0x1004995c]
test eax, eax
je 0x10017bae
dec dword [eax + 0x374]
push ecx
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov eax, dword [0x1004995c]
add esp, 4
test eax, eax
je 0x10017bc7
inc dword [eax + 0x374]
push dword [esp + 0x48]
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov ecx, eax
add esp, 4
mov eax, dword [esp + 0x48]
mov dword [esp + 0x24], eax
push eax
push dword [esp + 0x64]
push ecx
call sub.VCRUNTIME140.dll_memcpy
mov dword [edi], eax
add esp, 0xc
mov eax, dword [esp + 0x24]
mov dword [edi + 0x44], eax
mov edx, edi
lea ecx, [esp + 0x38]
call fcn.10015730
movss xmm0, dword [eax]
movss xmm1, dword [eax + 4]
mov eax, dword [edi + 0x98]
movss dword [edi + 0x24], xmm0
movss dword [edi + 0x28], xmm1
test eax, eax
jle 0x10017c24
dec eax
mov dword [edi + 0x98], eax
mov eax, dword [edi + 0x9c]
test eax, eax
jle 0x10017c35
dec eax
mov dword [edi + 0x9c], eax
cmp dword [esp + 0x10], 0
mov al, byte [esp + 0xf]
mov cl, byte [esp + 0xd]
jne 0x10017c56
test al, al
je 0x10017c4c
test cl, cl
jne 0x10017c56
mov dword [edi + 0x9c], 1
cmp byte [esp + 0x17], 0
mov edx, dword [esp + 0x1c]
je 0x10017caa
test edx, 0x6000000
je 0x10017caa
mov dword [edi + 0x9c], 1
test dl, 0x40
je 0x10017caa
test al, al
jne 0x10017c8a
mov dword [edi + 0x1c], 0
mov dword [edi + 0x14], 0
test cl, cl
jne 0x10017c9c
mov dword [edi + 0x20], 0
mov dword [edi + 0x18], 0
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 0
mov eax, dword [0x1004995c]
mov dword [esp + 0x40], eax
mov dword [eax + 0x19b0], edi
movss xmm0, dword [edi + 0x26c]
mov ecx, dword [edi + 0x2f0]
mulss xmm0, dword [eax + 0x18c8]
test ecx, ecx
je 0x10017cdb
mulss xmm0, dword [ecx + 0x26c]
movss dword [eax + 0x18d8], xmm0
movss dword [eax + 0x18c4], xmm0
mov eax, edx
and eax, 0x1000000
mov dword [esp + 0x48], eax
je 0x10017d02
movss xmm0, dword [esi + 0x153c]
jmp 0x10017d24
test edx, 0x6000000
je 0x10017d1c
test edx, 0x8000000
jne 0x10017d1c
movss xmm0, dword [esi + 0x1544]
jmp 0x10017d24
movss xmm0, dword [esi + 0x1520]
movss dword [edi + 0x40], xmm0
mov eax, dword [esi + 0x1514]
mov ecx, dword [esi + 0x1518]
movss xmm2, dword [esp + 0x28]
mov dword [edi + 0x34], eax
mov eax, edx
and eax, 0x5010000
mov dword [edi + 0x38], ecx
cmp eax, 0x1000000
jne 0x10017d79
ucomiss xmm0, xmm2
lahf
test ah, 0x44
jp 0x10017d79
test edx, 0x400
je 0x10017d6a
movss xmm0, dword [esi + 0x1518]
jmp 0x10017d6d
movaps xmm0, xmm2
mov dword [edi + 0x34], 0
movss dword [edi + 0x38], xmm0
movss xmm0, dword [edi + 0x34]
maxss xmm0, dword [esi + 0x1558]
maxss xmm0, dword [esi + 0x1a7c]
movss dword [edi + 0x144], xmm0
mov eax, dword [esi + 0x1a80]
mov dword [edi + 0x148], eax
test dl, 0x21
jne 0x10017ee6
mov edx, dword [edi + 8]
mov ecx, dword [0x1004995c]
mov eax, dword [esp + 0x40]
test dl, 1
je 0x10017dc2
movaps xmm3, xmm2
jmp 0x10017df7
movss xmm0, dword [edi + 0x26c]
mov edx, dword [edi + 0x2f0]
mulss xmm0, dword [eax + 0x18c8]
test edx, edx
je 0x10017de4
mulss xmm0, dword [edx + 0x26c]
movss xmm3, dword [ecx + 0x154c]
mov edx, dword [edi + 8]
addss xmm3, xmm3
addss xmm3, xmm0
movss xmm4, dword [edi + 0xc]
movaps xmm0, xmm4
movss xmm5, dword [edi + 0x10]
addss xmm0, dword [edi + 0x1c]
addss xmm3, dword [edi + 0x10]
cmp dword [esi + 0x19b4], edi
jne 0x10017ead
cmp dword [esi + 0x19d0], 0
jne 0x10017ead
cmp dword [esi + 0x19d8], 0
jne 0x10017ead
mov eax, dword [eax + 0x19b0]
movss xmm1, dword [ecx + 0x1568]
movaps xmm6, xmm1
maxss xmm4, dword [eax + 0x204]
minss xmm0, dword [eax + 0x20c]
maxss xmm5, dword [eax + 0x208]
minss xmm3, dword [eax + 0x210]
subss xmm4, xmm1
movss xmm1, dword [ecx + 0xe8]
addss xmm6, xmm0
movss xmm0, dword [ecx + 0x156c]
movaps xmm7, xmm0
subss xmm5, xmm0
addss xmm7, xmm3
comiss xmm1, xmm4
jb 0x10017ead
movss xmm0, dword [ecx + 0xec]
comiss xmm0, xmm5
jb 0x10017ead
comiss xmm6, xmm1
jbe 0x10017ead
comiss xmm7, xmm0
jbe 0x10017ead
cmp byte [esi + 0x3dd], 0
je 0x10017ead
mov byte [edi + 0x7e], 1
cmp byte [edi + 0x7e], 0
je 0x10017eea
cmp byte [edi + 0x7d], 0
mov ecx, dword [0x1004995c]
sete al
mov byte [edi + 0x7d], al
test edx, 0x100
jne 0x10017edd
comiss xmm2, dword [ecx + 0x2d30]
jb 0x10017edd
mov eax, dword [ecx + 0x1c]
mov dword [ecx + 0x2d30], eax
mov ecx, edi
call fcn.10019d30
jmp 0x10017eea
mov byte [edi + 0x7d], 0
lea eax, [edi + 0x24]
mov byte [edi + 0x7e], 0
push eax
mov edx, edi
lea ecx, [esp + 0x34]
call fcn.100157e0
mov cl, byte [esp + 0x1a]
add esp, 4
test byte [esp + 0x1c], 0x40
mov byte [esp + 0xc], cl
je 0x10017f4c
cmp byte [edi + 0x7d], 0
jne 0x10017f4c
cmp byte [esp + 0xf], 0
jne 0x10017f2c
movss xmm0, dword [esp + 0x30]
movss dword [edi + 0x1c], xmm0
mov byte [esp + 0x16], 1
cmp byte [esp + 0xd], 0
jne 0x10017ff7
movss xmm0, dword [esp + 0x34]
movss dword [edi + 0x20], xmm0
mov byte [esp + 0xc], 1
jmp 0x10017ff7
mov al, byte [edi + 0x90]
test al, al
jg 0x10017f63
cmp byte [edi + 0x91], 0
jle 0x10017ff7
cmp byte [esp + 0xf], 0
jne 0x10017f94
test al, al
jle 0x10017f94
cmp byte [edi + 0x93], 0
je 0x10017f84
movss xmm0, dword [edi + 0x1c]
maxss xmm0, dword [esp + 0x30]
jmp 0x10017f8a
movss xmm0, dword [esp + 0x30]
movss dword [edi + 0x1c], xmm0
mov byte [esp + 0x16], 1
cmp byte [esp + 0xd], 0
jne 0x10017fca
cmp byte [edi + 0x91], 0
jle 0x10017fca
cmp byte [edi + 0x93], 0
je 0x10017fba
movss xmm0, dword [edi + 0x20]
maxss xmm0, dword [esp + 0x34]
jmp 0x10017fc0
movss xmm0, dword [esp + 0x34]
movss dword [edi + 0x20], xmm0
mov byte [esp + 0xc], 1
cmp byte [edi + 0x7d], 0
jne 0x10017ff7
test dword [edi + 8], 0x100
mov ecx, dword [0x1004995c]
jne 0x10017ff7
movss xmm1, dword [esp + 0x28]
comiss xmm1, dword [ecx + 0x2d30]
jb 0x10017ff7
mov eax, dword [ecx + 0x1c]
mov dword [ecx + 0x2d30], eax
push dword [edi + 0x20]
mov edx, edi
lea ecx, [esp + 0xdc]
push dword [edi + 0x1c]
call fcn.10015520
mov edx, dword [0x1004995c]
add esp, 8
cmp byte [edi + 0x7d], 0
mov dword [esp + 0x24], edx
movss xmm3, dword [eax]
movss xmm0, dword [eax + 4]
movss dword [edi + 0x1c], xmm3
movss dword [edi + 0x20], xmm0
je 0x1001809e
cmp dword [esp + 0x48], 0
jne 0x1001809e
test byte [edi + 8], 1
je 0x10018046
movss xmm2, dword [esp + 0x28]
jmp 0x10018078
movss xmm0, dword [edx + 0x18c8]
mov eax, dword [edi + 0x2f0]
mulss xmm0, dword [edi + 0x26c]
test eax, eax
je 0x10018068
mulss xmm0, dword [eax + 0x26c]
movss xmm2, dword [edx + 0x154c]
addss xmm2, xmm2
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 + 0x3c], xmm2
movss dword [esp + 0x38], xmm0
jmp 0x100180ac
mov eax, dword [edi + 0x1c]
mov ecx, dword [edi + 0x20]
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], ecx
lea ecx, [esp + 0x38]
mov eax, dword [ecx]
mov ecx, dword [ecx + 4]
mov dword [edi + 0x18], ecx
mov ecx, dword [edi + 8]
mov dword [edi + 0x14], eax
test cl, 1
je 0x100180ce
movss xmm0, dword [esp + 0x28]
movaps xmm1, xmm0
jmp 0x10018106
movss xmm0, dword [edx + 0x18c8]
mov eax, dword [edi + 0x2f0]
mulss xmm0, dword [edi + 0x26c]
test eax, eax
je 0x100180f0
mulss xmm0, dword [eax + 0x26c]
movss xmm1, dword [edx + 0x154c]
addss xmm1, xmm1
addss xmm1, xmm0
movss xmm0, dword [esp + 0x28]
test ecx, 0x400
je 0x1001814a
movss xmm0, dword [edx + 0x18c8]
mov eax, dword [edi + 0x2f0]
mulss xmm0, dword [edi + 0x26c]
test eax, eax
je 0x10018130
mulss xmm0, dword [eax + 0x26c]
movss xmm2, dword [edx + 0x154c]
addss xmm0, dword [edi + 0x148]
addss xmm2, xmm2
addss xmm2, xmm0
jmp 0x1001814d
movaps xmm2, xmm0
cmp byte [esp + 0x17], 0
addss xmm2, xmm1
movss dword [esp + 0x40], xmm2
je 0x1001819b
cmp dword [esp + 0x2c], 0
mov dword [edi + 0x94], 0xffffffff
je 0x1001819b
cmp byte [esp + 0xe], 0
jne 0x1001819b
mov eax, dword [esi + 0x1ac4]
lea ecx, [eax + eax*8]
mov eax, dword [esi + 0x1acc]
movss xmm0, dword [eax + ecx*4 - 0x10]
movss xmm1, dword [eax + ecx*4 - 0xc]
movss dword [edi + 0xc], xmm0
movss dword [edi + 0x10], xmm1
cmp dword [esp + 0x48], 0
je 0x10018238
mov edx, dword [esp + 0x58]
add edx, 0x14c
mov dword [esp + 0x18], edx
mov ax, word [edx]
mov word [edi + 0x86], ax
mov ecx, dword [edx + 4]
cmp dword [edx], ecx
jne 0x100181fe
test ecx, ecx
je 0x100181d8
mov eax, ecx
cdq
sub eax, edx
mov edx, dword [esp + 0x18]
sar eax, 1
add eax, ecx
jmp 0x100181dd
mov eax, 8
mov ecx, dword [edx]
inc ecx
cmp eax, ecx
cmovg ecx, eax
push ecx
mov ecx, edx
call fcn.1001faf0
mov eax, dword [0x1004995c]
mov esi, dword [esp + 0x20]
mov edx, dword [esp + 0x18]
mov dword [esp + 0x24], eax
mov ecx, dword [edx]
mov eax, dword [edx + 8]
mov dword [eax + ecx*4], edi
inc dword [edx]
mov ecx, dword [esp + 0x2c]
mov al, byte [esp + 0xe]
test ecx, ecx
jne 0x10018240
test al, al
jne 0x10018240
cmp dword [esp + 0x44], 0x3000000
je 0x10018240
mov ecx, dword [esp + 0x58]
mov eax, dword [ecx + 0xc8]
mov ecx, dword [ecx + 0xcc]
mov dword [edi + 0xc], eax
mov dword [edi + 0x10], ecx
mov ecx, dword [esp + 0x2c]
mov al, byte [esp + 0xe]
movss xmm7, dword [edi + 0xac]
ucomiss xmm7, dword [0x10045c30]
lahf
test ah, 0x44
jnp 0x1001834b
cmp dword [edi + 0x9c], 0
jne 0x1001834b
movss xmm1, dword [edi + 0xb4]
movss xmm5, dword [edi + 0xb8]
movss xmm2, dword [edi + 0xb0]
and dword [edi + 0xa0], 0xfffffff1
mov dword [edi + 0xac], 0x7f7fffff
mov dword [edi + 0xb0], 0x7f7fffff
mulss xmm1, dword [edi + 0x1c]
mulss xmm5, dword [edi + 0x20]
movss xmm4, dword [edi + 0xc]
subss xmm7, xmm1
movss xmm6, dword [edi + 0x10]
subss xmm2, xmm5
cvttss2si eax, xmm7
movd xmm7, eax
cvttss2si eax, xmm2
cvtdq2ps xmm7, xmm7
movd xmm1, eax
movss dword [edi + 0xc], xmm7
subss xmm7, xmm4
cvtdq2ps xmm1, xmm1
movaps xmm0, xmm7
movss dword [edi + 0x10], xmm1
subss xmm1, xmm6
addss xmm0, dword [edi + 0xc8]
movss dword [edi + 0xc8], xmm0
movaps xmm0, xmm1
addss xmm0, dword [edi + 0xcc]
movss dword [edi + 0xcc], xmm0
movaps xmm0, xmm7
addss xmm0, dword [edi + 0xe0]
addss xmm7, dword [edi + 0xd8]
movss dword [edi + 0xe0], xmm0
movaps xmm0, xmm1
addss xmm0, dword [edi + 0xe4]
addss xmm1, dword [edi + 0xdc]
movss dword [edi + 0xd8], xmm7
movss dword [edi + 0xe4], xmm0
movss dword [edi + 0xdc], xmm1
jmp 0x1001839d
mov edx, dword [esp + 0x1c]
test edx, 0x10000000
jne 0x1001837c
test ecx, ecx
je 0x10018366
test al, al
jne 0x10018366
cmp dword [esp + 0x4c], 0
jg 0x1001837c
test edx, 0x2000000
je 0x100183a1
test al, al
jne 0x100183a1
cmp dword [esp + 0x44], 0x3000000
je 0x100183a1
mov edx, edi
lea ecx, [esp + 0xa8]
call fcn.1001b9d0
movss xmm1, dword [eax + 4]
movss xmm0, dword [eax]
movss dword [edi + 0xc], xmm0
movss dword [edi + 0x10], xmm1
mov edx, dword [esp + 0x1c]
cmp byte [esp + 0xe], 0
mov eax, dword [esp + 0x24]
movss xmm4, dword [esp + 0x28]
movss dword [esp + 0xe0], xmm4
movss dword [esp + 0xe4], xmm4
movss xmm2, dword [eax + 0x10]
movss xmm7, dword [eax + 0x14]
movss dword [esp + 0x5c], xmm2
movss dword [esp + 0xe8], xmm2
movss dword [esp + 0x50], xmm7
movss dword [esp + 0xec], xmm7
jne 0x10018500
cmp dword [esp + 0x48], 0
jne 0x10018500
cmp byte [edi + 0x90], 0
jg 0x10018500
cmp byte [edi + 0x91], 0
jg 0x10018500
movss xmm0, dword [esi + 0x10]
comiss xmm0, xmm4
jbe 0x10018500
movss xmm0, dword [esi + 0x14]
comiss xmm0, xmm4
jbe 0x10018500
cmp byte [eax + 0xb4], 0
movss xmm6, dword [esi + 0x15a8]
movss xmm5, dword [esi + 0x15a4]
maxss xmm6, dword [esi + 0x15b0]
maxss xmm5, dword [esi + 0x15ac]
je 0x100184a5
test byte [edi + 8], 1
jne 0x100184a5
movss xmm0, dword [eax + 0x18c8]
mov ecx, dword [edi + 0x2f0]
mulss xmm0, dword [edi + 0x26c]
test ecx, ecx
je 0x10018482
mulss xmm0, dword [ecx + 0x26c]
movss xmm1, dword [eax + 0x154c]
addss xmm1, xmm1
addss xmm1, xmm0
movss xmm0, dword [edi + 0x14]
movss dword [esp + 0x38], xmm0
movss dword [esp + 0x3c], xmm1
jmp 0x100184b3
mov eax, dword [edi + 0x14]
mov ecx, dword [edi + 0x18]
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], ecx
lea eax, [esp + 0x38]
movaps xmm1, xmm7
movss xmm0, dword [eax]
subss xmm2, xmm5
addss xmm0, dword [edi + 0xc]
addss xmm5, xmm4
subss xmm1, xmm6
addss xmm6, xmm4
maxss xmm0, xmm5
subss xmm0, dword [eax]
minss xmm2, xmm0
movss xmm0, dword [eax + 4]
addss xmm0, dword [edi + 0x10]
movss dword [edi + 0xc], xmm2
maxss xmm0, xmm6
subss xmm0, dword [eax + 4]
minss xmm1, xmm0
movss dword [edi + 0x10], xmm1
cmp dword [esp + 0x48], 0
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
je 0x10018533
movss xmm2, dword [esi + 0x1538]
jmp 0x10018553
mov eax, edx
and eax, 0xc000000
cmp eax, 0x4000000
jne 0x1001854b
movss xmm2, dword [esi + 0x1540]
jmp 0x10018553
movss xmm2, dword [esi + 0x151c]
xor cl, cl
movss dword [edi + 0x3c], xmm2
mov dword [esp + 0x4c], ecx
cmp byte [esp + 0x17], cl
je 0x1001858e
test edx, 0x1000
jne 0x1001858e
cmp dword [esp + 0x2c], 0
je 0x1001857a
mov byte [esp + 0x4c], 1
jmp 0x1001858e
cmp dword [esp + 0x44], 0
mov eax, 1
movzx ecx, cl
cmove ecx, eax
mov dword [esp + 0x4c], ecx
movss xmm1, dword [esi + 0x18c4]
xorps xmm0, xmm0
addss xmm2, dword [0x10045b88]
movaps xmmword [esp + 0xf0], xmm0
xor eax, eax
cmp byte [esi + 0xb3], al
movaps xmm0, xmm1
mulss xmm1, dword [0x10045b3c]
setne al
mov dword [esp + 0x18], 0xffffffff
mulss xmm0, dword [0x10045b90]
inc eax
cmp byte [edi + 0x7d], 0
addss xmm2, xmm1
mov dword [esp + 0x38], eax
maxss xmm0, xmm2
cvttss2si esi, xmm0
jne 0x10018625
lea ecx, [esp + 0xf0]
push ecx
push eax
lea eax, [esp + 0x20]
mov ecx, edi
push eax
lea edx, [esp + 0x3c]
call fcn.10015b70
movss xmm4, dword [esp + 0x34]
add esp, 0xc
test al, al
je 0x1001861c
mov ecx, dword [0x1004995c]
mov dl, 1
mov dh, dl
mov dword [esp + 0x24], ecx
jmp 0x1001862d
mov eax, dword [0x1004995c]
mov dword [esp + 0x24], eax
mov dh, byte [esp + 0x16]
mov dl, byte [esp + 0xc]
cmp byte [edi + 0x7d], 0
mov al, byte [esp + 0x18]
mov byte [edi + 0x83], al
jne 0x10018782
cmp dword [esp + 0x10], 0
lea eax, [esp + 0x30]
movss xmm2, dword [edi + 0x1dc]
movss xmm3, dword [edi + 0x1e0]
subss xmm2, dword [edi + 0x1d4]
subss xmm3, dword [edi + 0x1d8]
movss xmm5, dword [edi + 0x20]
movss xmm6, dword [edi + 0x1c]
subss xmm5, dword [esp + 0x40]
addss xmm2, dword [edi + 0x70]
addss xmm3, dword [edi + 0x74]
jne 0x10018698
mov dword [esp + 0x30], 0
mov dword [esp + 0x34], 0
jmp 0x100186c0
movss xmm0, dword [edi + 0x34]
movss xmm1, dword [edi + 0x38]
addss xmm0, xmm0
addss xmm1, xmm1
addss xmm0, dword [edi + 0x24]
addss xmm1, dword [edi + 0x28]
movss dword [esp + 0x30], xmm0
movss dword [esp + 0x34], xmm1
movss xmm7, dword [eax]
movss xmm1, dword [eax + 4]
test dh, dh
jne 0x100186d0
movaps xmm6, xmm2
test dl, dl
jne 0x100186d7
movaps xmm5, xmm3
mov edx, dword [esp + 0x1c]
test edx, 0x4000
jne 0x100186f1
comiss xmm1, xmm5
jbe 0x100186ed
test dl, 8
je 0x100186f1
xor cl, cl
jmp 0x100186f3
mov cl, 1
mov eax, dword [esp + 0x20]
add eax, 0x1578
mov byte [edi + 0x79], cl
test edx, 0x8000
jne 0x10018740
mov dword [esp + 0x10], eax
test cl, cl
je 0x10018715
movss xmm0, dword [eax]
jmp 0x10018718
movaps xmm0, xmm4
subss xmm6, xmm0
comiss xmm7, xmm6
jbe 0x1001872f
mov eax, edx
and eax, 0x808
cmp eax, 0x800
je 0x1001873c
mov eax, dword [esp + 0x10]
movaps xmm1, xmm4
mov byte [edi + 0x78], 0
jmp 0x1001875f
mov eax, dword [esp + 0x10]
mov byte [edi + 0x78], 1
test cl, cl
jne 0x1001875b
comiss xmm1, xmm5
jbe 0x10018756
test dl, 8
jne 0x10018756
mov cl, 1
jmp 0x10018758
xor cl, cl
mov byte [edi + 0x79], cl
movss xmm1, dword [eax]
test cl, cl
je 0x10018773
movss xmm0, dword [eax]
movss dword [edi + 0x70], xmm0
movss dword [edi + 0x74], xmm1
jmp 0x10018786
movaps xmm0, xmm4
movss dword [edi + 0x74], xmm1
movss dword [edi + 0x70], xmm0
jmp 0x10018786
mov edx, dword [esp + 0x1c]
mov eax, edx
and eax, 0x5000000
mov dword [esp + 0x30], eax
cmp eax, 0x1000000
jne 0x100187ad
cmp dword [esp + 0x44], 0x3000000
je 0x100187ad
mov eax, dword [esp + 0x58]
add eax, 0x204
jmp 0x100187b4
lea eax, [esp + 0xe0]
test byte [edi + 8], 1
movups xmm0, xmmword [eax]
movss xmm7, dword [edi + 0x10]
movaps xmmword [esp + 0x80], xmm0
movaps xmm6, xmm7
movss xmm0, dword [edi + 0xc]
addss xmm6, dword [edi + 0x18]
movaps xmm5, xmm0
movss dword [esp + 0x18], xmm0
addss xmm5, dword [edi + 0x14]
je 0x100187ea
movaps xmm3, xmm4
jmp 0x10018826
mov eax, dword [esp + 0x24]
mov ecx, dword [edi + 0x2f0]
movss xmm0, dword [eax + 0x18c8]
mulss xmm0, dword [edi + 0x26c]
test ecx, ecx
je 0x10018810
mulss xmm0, dword [ecx + 0x26c]
movss xmm3, dword [eax + 0x154c]
addss xmm3, xmm3
addss xmm3, xmm0
movss xmm0, dword [esp + 0x18]
movaps xmm2, xmm0
movss dword [esp + 0x70], xmm0
addss xmm2, dword [edi + 0x1c]
movss xmm0, dword [edi + 0x10]
movaps xmm1, xmm7
addss xmm1, xmm3
movss dword [esp + 0x74], xmm0
movss xmm0, dword [esp + 0x18]
mov eax, edx
mov ecx, dword [esp + 0x20]
and eax, 0x401
movss dword [esp + 0x78], xmm2
movss dword [esp + 0x7c], xmm1
movss dword [edi + 0x1c4], xmm0
movss dword [edi + 0x1c8], xmm7
movss dword [edi + 0x1cc], xmm5
movss dword [edi + 0x1d0], xmm6
movss xmm0, dword [edi + 0x1c4]
movaps xmm2, xmmword [esp + 0x80]
maxss xmm0, xmm2
movaps xmm1, xmm2
shufps xmm1, xmm2, 0x55
movaps xmm3, xmm2
shufps xmm3, xmm2, 0xff
maxss xmm7, xmm1
movups xmmword [esp + 0xc0], xmm1
movss dword [edi + 0x1c4], xmm0
movaps xmm0, xmm2
shufps xmm0, xmm2, 0xaa
movss dword [edi + 0x1c8], xmm7
movss xmm1, dword [edi + 0x1cc]
minss xmm1, xmm0
movups xmmword [esp + 0xb0], xmm0
movss xmm0, dword [edi + 0x1d0]
minss xmm0, xmm3
movss dword [edi + 0x1cc], xmm1
movups xmmword [esp + 0x90], xmm3
movss dword [edi + 0x1d0], xmm0
movss xmm6, dword [edi + 0xc]
movss xmm3, dword [edi + 0x10]
movaps xmm5, xmm6
movss dword [edi + 0x1d4], xmm6
movaps xmm7, xmm3
addss xmm5, dword [edi + 0x14]
addss xmm3, dword [edi + 0x18]
addss xmm7, dword [esp + 0x40]
subss xmm5, dword [edi + 0x70]
subss xmm3, dword [edi + 0x74]
movss dword [edi + 0x1d8], xmm7
movss dword [edi + 0x1dc], xmm5
movss dword [edi + 0x1e0], xmm3
cmp eax, 1
jne 0x10018956
movss xmm0, dword [edi + 0x40]
jmp 0x1001895e
movss xmm0, dword [ecx + 0x1554]
movss dword [esp + 0x18], xmm0
movss xmm0, dword [edi + 0x34]
mulss xmm0, dword [0x10045b58]
addss xmm6, dword [0x10045b58]
addss xmm7, dword [0x10045b58]
cvttss2si eax, xmm0
addss xmm7, dword [esp + 0x18]
addss xmm5, dword [0x10045b58]
addss xmm3, dword [0x10045b58]
movups xmm2, xmmword [esp + 0xc0]
movd xmm1, eax
cvtdq2ps xmm1, xmm1
subss xmm3, dword [edi + 0x40]
maxss xmm1, dword [edi + 0x40]
addss xmm6, xmm1
subss xmm5, xmm1
cvttss2si eax, xmm6
movd xmm6, eax
cvttss2si eax, xmm7
movups xmm7, xmmword [esp + 0x90]
cvtdq2ps xmm6, xmm6
movd xmm0, eax
cvtdq2ps xmm0, xmm0
cvttss2si eax, xmm5
movss dword [edi + 0x1e8], xmm0
movss dword [edi + 0x1e4], xmm6
movd xmm0, eax
cvttss2si eax, xmm3
cvtdq2ps xmm0, xmm0
movss dword [edi + 0x1ec], xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [edi + 0x1f0], xmm0
movss xmm0, dword [edi + 0x1e8]
comiss xmm2, xmm0
jbe 0x10018a22
movaps xmm1, xmm2
jmp 0x10018a29
movaps xmm1, xmm7
minss xmm1, xmm0
movaps xmm3, xmmword [esp + 0x80]
comiss xmm3, xmm6
movups xmm5, xmmword [esp + 0xb0]
jbe 0x10018a43
movaps xmm0, xmm3
jmp 0x10018a4a
movaps xmm0, xmm5
minss xmm0, xmm6
movss dword [edi + 0x1e4], xmm0
movss dword [edi + 0x1e8], xmm1
movss xmm0, dword [edi + 0x1f0]
comiss xmm2, xmm0
jbe 0x10018a6c
movaps xmm1, xmm2
jmp 0x10018a73
movaps xmm1, xmm7
minss xmm1, xmm0
movss xmm2, dword [edi + 0x1ec]
comiss xmm3, xmm2
jbe 0x10018a85
movaps xmm0, xmm3
jmp 0x10018a8c
movaps xmm0, xmm5
minss xmm0, xmm2
movss dword [edi + 0x1ec], xmm0
movss dword [edi + 0x1f0], xmm1
movss xmm0, dword [edi + 0x14]
comiss xmm0, xmm4
jbe 0x10018ab8
test edx, 0x2000040
jne 0x10018ab8
mulss xmm0, dword [0x10045b60]
jmp 0x10018ac8
movss xmm0, dword [ecx + 0x18c4]
mulss xmm0, dword [0x10045bec]
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [edi + 0x22c], xmm0
movss xmm3, dword [edi + 0x34]
movss xmm0, dword [edi + 0x1dc]
movaps xmm6, xmm3
subss xmm0, dword [edi + 0x1d4]
addss xmm6, xmm3
movss xmm7, dword [edi + 0x28]
movss xmm5, dword [0x10045c30]
movss xmm2, dword [edi + 0x50]
addss xmm6, dword [edi + 0x24]
movaps xmm1, xmm6
subss xmm1, xmm0
movaps xmm0, xmm4
maxss xmm0, xmm1
movss dword [edi + 0x58], xmm0
movss xmm0, dword [edi + 0x38]
movaps xmm1, xmm0
movss dword [esp + 0x18], xmm0
addss xmm1, xmm0
movss xmm0, dword [edi + 0x1e0]
subss xmm0, dword [edi + 0x1d8]
addss xmm1, xmm7
movss dword [esp + 0x10], xmm1
subss xmm1, xmm0
movaps xmm0, xmm4
maxss xmm0, xmm1
movss xmm1, dword [edi + 0x54]
movss dword [esp + 0x2c], xmm0
movss dword [edi + 0x5c], xmm0
movss xmm0, dword [edi + 0x60]
comiss xmm5, xmm0
jbe 0x10018bbd
movss xmm5, dword [edi + 0x68]
movaps xmm2, xmm0
comiss xmm4, xmm5
jb 0x10018b89
comiss xmm3, xmm2
jb 0x10018b89
movaps xmm2, xmm4
jmp 0x10018bab
comiss xmm5, dword [0x10045b88]
jb 0x10018bab
addss xmm3, dword [edi + 0x24]
mov eax, dword [esp + 0x24]
addss xmm3, dword [eax + 0x1558]
comiss xmm2, xmm3
jb 0x10018bab
movaps xmm2, xmm6
movss xmm0, dword [edi + 0x1c]
subss xmm0, dword [edi + 0x70]
mulss xmm0, xmm5
subss xmm2, xmm0
movss xmm6, dword [edi + 0x64]
movss xmm0, dword [0x10045c30]
comiss xmm0, xmm6
jbe 0x10018cb9
mov edx, dword [edi + 8]
mov eax, dword [esp + 0x24]
test dl, 1
je 0x10018be4
movaps xmm1, xmm4
jmp 0x10018c16
movss xmm0, dword [eax + 0x18c8]
mov ecx, dword [edi + 0x2f0]
mulss xmm0, dword [edi + 0x26c]
test ecx, ecx
je 0x10018c06
mulss xmm0, dword [ecx + 0x26c]
movss xmm1, dword [eax + 0x154c]
addss xmm1, xmm1
addss xmm1, xmm0
test edx, 0x400
je 0x10018c5a
movss xmm0, dword [eax + 0x18c8]
mov ecx, dword [edi + 0x2f0]
mulss xmm0, dword [edi + 0x26c]
test ecx, ecx
je 0x10018c40
mulss xmm0, dword [ecx + 0x26c]
movss xmm3, dword [eax + 0x154c]
addss xmm0, dword [edi + 0x148]
addss xmm3, xmm3
addss xmm3, xmm0
jmp 0x10018c5d
movaps xmm3, xmm4
movss xmm5, dword [edi + 0x6c]
addss xmm3, xmm1
comiss xmm4, xmm5
movaps xmm1, xmm6
jb 0x10018c7d
movss xmm0, dword [edi + 0x38]
comiss xmm0, xmm1
jb 0x10018c83
movaps xmm1, xmm4
jmp 0x10018c83
movss xmm0, dword [esp + 0x18]
comiss xmm5, dword [0x10045b88]
jb 0x10018ca3
addss xmm7, xmm0
addss xmm7, dword [eax + 0x155c]
comiss xmm1, xmm7
jb 0x10018ca3
movss xmm1, dword [esp + 0x10]
movss xmm0, dword [edi + 0x20]
subss xmm0, dword [edi + 0x74]
subss xmm0, xmm3
mulss xmm0, xmm5
subss xmm1, xmm0
cmp byte [edi + 0x7d], 0
maxss xmm2, xmm4
maxss xmm1, xmm4
jne 0x10018ce8
cmp byte [edi + 0x7f], 0
jne 0x10018ce8
movss xmm0, dword [edi + 0x58]
comiss xmm0, xmm2
ja 0x10018cda
movaps xmm2, xmm0
movss xmm0, dword [esp + 0x2c]
comiss xmm0, xmm1
ja 0x10018ce8
movaps xmm1, xmm0
mov ecx, dword [edi + 0x274]
movss dword [edi + 0x50], xmm2
movss dword [edi + 0x54], xmm1
mov dword [edi + 0x60], 0x7f7fffff
mov dword [edi + 0x64], 0x7f7fffff
call fcn.100272d0
mov eax, dword [esp + 0x20]
mov ecx, dword [edi + 0x274]
mov dword [esp + 0x24], ecx
add ecx, 0x4c
mov dword [esp + 0x18], ecx
mov eax, dword [eax + 0x18c0]
mov edx, dword [ecx]
mov eax, dword [eax + 0x38]
mov eax, dword [eax + 8]
mov dword [esp + 0x2c], eax
mov eax, dword [ecx + 4]
cmp edx, eax
jne 0x10018d64
inc edx
mov dword [esp + 0x10], edx
test eax, eax
je 0x10018d50
cdq
sub eax, edx
mov edx, dword [esp + 0x10]
sar eax, 1
add eax, dword [ecx + 4]
jmp 0x10018d55
mov eax, 8
cmp eax, edx
cmovg edx, eax
push edx
call fcn.1001faf0
mov ecx, dword [esp + 0x18]
mov edx, dword [ecx]
mov eax, dword [ecx + 8]
mov ecx, dword [esp + 0x2c]
mov dword [eax + edx*4], ecx
mov ecx, dword [esp + 0x18]
inc dword [ecx]
mov ecx, dword [esp + 0x24]
call fcn.10027770
mov ecx, dword [0x1004995c]
movaps xmm0, xmmword [esp + 0x80]
comiss xmm0, dword [esp + 0xb0]
mov eax, dword [ecx + 0x19b0]
mov byte [eax + 0x7c], 1
mov eax, dword [ecx + 0x19b0]
mov dword [esp + 0x24], eax
movaps xmmword [esp + 0x80], xmm0
mov eax, dword [eax + 0x274]
mov dword [esp + 0x2c], eax
jb 0x10018dc6
movss dword [esp + 0x88], xmm0
movups xmm0, xmmword [esp + 0xc0]
comiss xmm0, dword [esp + 0x90]
jb 0x10018de1
movss dword [esp + 0x8c], xmm0
mov edx, dword [eax + 0x40]
lea ecx, [eax + 0x40]
mov eax, dword [ecx + 4]
mov dword [esp + 0x10], ecx
cmp edx, eax
jne 0x10018e1d
inc edx
mov dword [esp + 0x18], edx
test eax, eax
je 0x10018e09
cdq
sub eax, edx
mov edx, dword [esp + 0x18]
sar eax, 1
add eax, dword [ecx + 4]
jmp 0x10018e0e
mov eax, 8
cmp eax, edx
cmovg edx, eax
push edx
call fcn.1002d360
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx]
mov edx, dword [ecx + 8]
add eax, eax
movups xmm0, xmmword [esp + 0x80]
movups xmmword [edx + eax*8], xmm0
inc dword [ecx]
mov ecx, dword [esp + 0x2c]
call fcn.10027610
mov edx, dword [esp + 0x24]
mov eax, dword [edx + 0x274]
mov ecx, dword [eax + 0x40]
mov eax, dword [eax + 0x48]
add ecx, ecx
test dword [esp + 0x1c], 0x8000000
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 [edx + 0x204], eax
movss dword [edx + 0x208], xmm0
movss dword [edx + 0x20c], xmm1
movss dword [edx + 0x210], xmm2
je 0x10018ea1
call fcn.1001b270
cmp edi, eax
jne 0x10018ea1
cmp dword [edi + 0x9c], 0
jg 0x10018ea1
mov dl, 1
jmp 0x10018ea3
xor dl, dl
mov eax, dword [esp + 0x20]
mov ecx, dword [eax + 0x1b14]
test ecx, ecx
je 0x10018ebd
cmp edi, dword [ecx + 0x2f4]
jne 0x10018ebd
mov cl, 1
jmp 0x10018ebf
xor cl, cl
mov byte [esp + 0xc], cl
test dl, dl
jne 0x10018ecf
test cl, cl
je 0x10018fdd
movss xmm1, dword [eax + 0x1c3c]
push 0xf
push ecx
movzx ecx, dl
add ecx, 0x2e
mov dword [esp], 0
call fcn.100102d0
mov ecx, dword [edi + 0x274]
push eax
lea eax, [esp + 0xf4]
push eax
lea eax, [esp + 0xf0]
push eax
call fcn.10029150
cmp byte [esp + 0xc], 0
mov eax, dword [esp + 0x20]
je 0x10018fdd
cmp edi, dword [eax + 0x1b14]
jne 0x10018fdd
movss xmm2, dword [edi + 0xc]
movss xmm3, dword [edi + 0x10]
movaps xmm1, xmm2
movss xmm0, dword [eax + 0x18c4]
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 + 0x28]
comiss xmm0, xmm1
movss dword [esp + 0xe0], xmm1
movss dword [esp + 0xe4], xmm4
movss dword [esp + 0xe8], xmm2
movss dword [esp + 0xec], xmm3
jb 0x10018f97
comiss xmm0, xmm4
jb 0x10018f97
comiss xmm2, dword [esp + 0x5c]
jb 0x10018f97
comiss xmm3, dword [esp + 0x50]
jae 0x10018fdd
movss xmm1, dword [eax + 0x1b20]
mulss xmm1, dword [0x10045b40]
push 0xf
movss xmm0, dword [eax + 0x151c]
push ecx
mov ecx, 0x2d
movss dword [esp], xmm0
call fcn.100102d0
mov ecx, dword [edi + 0x274]
push eax
lea eax, [esp + 0xf4]
push eax
lea eax, [esp + 0xf0]
push eax
call fcn.10029150
cmp dword [esp + 0x30], 0x1000000
mov byte [esp + 0xc], 0
jne 0x10019026
cmp dword [esp + 0x44], 0x3000000
je 0x10019026
mov edx, dword [edi + 0x274]
mov eax, dword [edx]
lea ecx, [eax + eax*4]
mov eax, dword [edx + 8]
cmp dword [eax + ecx*8 - 0x28], 0
jne 0x10019026
mov eax, dword [esp + 0x58]
mov eax, dword [eax + 0x274]
cmp dword [eax + 0x18], 0
jle 0x10019026
mov byte [esp + 0xc], 1
mov dword [edi + 0x274], eax
mov eax, dword [esp + 0x20]
mov ecx, dword [eax + 0x1b10]
test ecx, ecx
jne 0x1001903a
mov ecx, dword [eax + 0x1ad0]
cmp byte [esp + 0x4c], 0
jne 0x1001905a
test ecx, ecx
je 0x10019053
mov eax, dword [edi + 0x2f8]
cmp eax, dword [ecx + 0x2f8]
je 0x1001905a
mov byte [esp + 0x18], 0
jmp 0x1001905f
mov byte [esp + 0x18], 1
movd xmm0, esi
lea eax, [esp + 0xf0]
cvtdq2ps xmm0, xmm0
push ecx
lea edx, [esp + 0x74]
mov ecx, edi
movss dword [esp], xmm0
push eax
push dword [esp + 0x40]
push dword [esp + 0x24]
call fcn.10016880
add esp, 0x10
cmp byte [esp + 0xc], 0
je 0x1001909d
lea eax, [edi + 0x278]
mov dword [edi + 0x274], eax
mov esi, dword [esp + 0x20]
cmp dword [esi + 0x1b14], edi
jne 0x10019247
movss xmm1, dword [edi + 0xc]
movss xmm5, dword [edi + 0x3c]
movaps xmm4, xmm1
movss xmm2, dword [esi + 0x18c4]
movaps xmm0, xmm5
addss xmm1, dword [edi + 0x14]
maxss xmm0, dword [esi + 0x151c]
movss xmm7, dword [edi + 0x10]
subss xmm4, xmm2
movaps xmm3, xmm7
addss xmm7, dword [edi + 0x18]
subss xmm3, xmm2
addss xmm1, xmm2
movss dword [esp + 0x24], xmm0
movss xmm0, dword [esp + 0x28]
comiss xmm0, xmm4
movss dword [esp + 0x44], xmm4
addss xmm7, xmm2
movss dword [esp + 0x2c], xmm3
movss dword [esp + 0x10], xmm1
jb 0x1001915f
comiss xmm0, xmm3
jb 0x1001915f
comiss xmm1, dword [esp + 0x5c]
jb 0x1001915f
comiss xmm7, dword [esp + 0x50]
jb 0x1001915f
xorps xmm2, xmmword [0x10045fe0]
subss xmm2, dword [0x10045b88]
movss dword [esp + 0x24], xmm5
movaps xmm0, xmm2
subss xmm4, xmm2
subss xmm3, xmm2
addss xmm0, xmm1
addss xmm7, xmm2
movss dword [esp + 0x44], xmm4
movss dword [esp + 0x2c], xmm3
movss dword [esp + 0x10], xmm0
mov eax, dword [edi + 0x274]
mov ecx, 0x2d
movss xmm1, dword [esi + 0x1b20]
mov dword [esp + 0x20], eax
call fcn.100102d0
mov dword [esp + 0x38], eax
test eax, 0xff000000
je 0x10019247
mov eax, dword [esp + 0x20]
lea ecx, [esp + 0x30]
movss xmm1, dword [esp + 0x10]
movss xmm0, dword [esp + 0x44]
movss xmm3, dword [esp + 0x24]
test byte [eax + 0x24], 1
push 0xffffffffffffffff
push ecx
lea ecx, [esp + 0x58]
push ecx
mov ecx, eax
je 0x100191da
movss xmm2, dword [0x10045b58]
addss xmm0, xmm2
subss xmm1, xmm2
subss xmm7, xmm2
movss dword [esp + 0x5c], xmm0
movss xmm0, dword [esp + 0x38]
addss xmm0, xmm2
jmp 0x10019206
addss xmm0, dword [0x10045b58]
subss xmm1, dword [0x10045b50]
subss xmm7, dword [0x10045b50]
movss dword [esp + 0x5c], xmm0
movss xmm0, dword [esp + 0x38]
addss xmm0, dword [0x10045b58]
movss dword [esp + 0x3c], xmm1
movss dword [esp + 0x40], xmm7
movss dword [esp + 0x60], xmm0
call fcn.10028c40
mov eax, dword [esp + 0x20]
push ecx
mov dword [esp], 0x40400000
mov ecx, eax
push 1
push dword [esp + 0x40]
push dword [eax + 0x58]
push dword [eax + 0x60]
call fcn.10027a40
mov eax, dword [esp + 0x20]
mov dword [eax + 0x58], 0
mov ecx, dword [esp + 0x1c]
mov edx, ecx
movss xmm0, dword [edi + 0x2c]
movss xmm5, dword [esp + 0x28]
shr edx, 3
not dl
and dl, 1
ucomiss xmm0, xmm5
lahf
test ah, 0x44
jp 0x1001929c
movss xmm0, dword [edi + 0x34]
mov eax, ecx
movss xmm1, dword [edi + 0x14]
addss xmm0, xmm0
and eax, 0x808
subss xmm1, xmm0
subss xmm1, dword [edi + 0x70]
cmp eax, 0x800
jne 0x10019295
movss xmm0, dword [edi + 0x24]
jmp 0x10019298
movaps xmm0, xmm5
maxss xmm0, xmm1
movss xmm6, dword [edi + 0x30]
ucomiss xmm6, xmm5
movss dword [esp + 0x50], xmm0
lahf
test ah, 0x44
jnp 0x100192b8
movss dword [esp + 0x5c], xmm6
jmp 0x100192ed
movss xmm0, dword [edi + 0x38]
movss xmm1, dword [edi + 0x18]
addss xmm0, xmm0
subss xmm1, xmm0
subss xmm1, dword [esp + 0x40]
subss xmm1, dword [edi + 0x74]
test dl, dl
je 0x100192e0
movss xmm0, dword [edi + 0x28]
jmp 0x100192e3
movaps xmm0, xmm5
maxss xmm0, xmm1
movss dword [esp + 0x5c], xmm0
movss xmm4, dword [edi + 0x34]
movss xmm0, dword [edi + 0x1d4]
movaps xmm1, xmm4
subss xmm0, dword [edi + 0x50]
maxss xmm1, dword [edi + 0x40]
movss xmm7, dword [edi + 0x38]
movss xmm2, dword [edi + 0x10]
addss xmm1, xmm0
movss xmm0, dword [edi + 0x54]
movss dword [esp + 0x10], xmm0
movss xmm0, dword [edi + 0x1d8]
subss xmm0, dword [esp + 0x10]
subss xmm2, dword [esp + 0x10]
cvttss2si eax, xmm1
movaps xmm1, xmm7
addss xmm2, xmm7
maxss xmm1, dword [edi + 0x40]
movd xmm3, eax
cvtdq2ps xmm3, xmm3
addss xmm1, xmm0
movss dword [edi + 0x1f4], xmm3
addss xmm3, dword [esp + 0x50]
cvttss2si eax, xmm1
movss xmm1, dword [edi + 0x2c]
movss dword [edi + 0x1fc], xmm3
ucomiss xmm1, xmm5
movd xmm0, eax
cvtdq2ps xmm0, xmm0
lahf
movss dword [edi + 0x1f8], xmm0
addss xmm0, dword [esp + 0x5c]
movss dword [edi + 0x200], xmm0
movss xmm0, dword [edi + 0xc]
movss dword [esp + 0x38], xmm0
movaps xmm3, xmm0
movss xmm0, dword [esp + 0x40]
addss xmm2, xmm0
subss xmm3, dword [edi + 0x50]
movss dword [edi + 0x218], xmm2
addss xmm3, xmm4
movss dword [edi + 0x214], xmm3
test ah, 0x44
jp 0x100193e0
movss xmm1, dword [edi + 0x14]
movaps xmm0, xmm4
addss xmm0, xmm4
subss xmm1, xmm0
movss xmm0, dword [esp + 0x40]
subss xmm1, dword [edi + 0x70]
ucomiss xmm6, xmm5
addss xmm3, xmm1
lahf
movss dword [edi + 0x21c], xmm3
test ah, 0x44
jp 0x10019414
movss xmm6, dword [edi + 0x18]
movaps xmm0, xmm7
addss xmm0, xmm7
subss xmm6, xmm0
movss xmm0, dword [esp + 0x40]
subss xmm6, xmm0
subss xmm6, dword [edi + 0x74]
addss xmm4, xmm5
addss xmm7, xmm0
addss xmm2, xmm6
subss xmm4, dword [edi + 0x50]
subss xmm7, dword [esp + 0x10]
movss dword [edi + 0x220], xmm2
movss dword [edi + 0x1b4], xmm4
addss xmm4, xmm5
mov dword [edi + 0x1b8], 0
mov dword [edi + 0x1bc], 0
addss xmm7, dword [edi + 0x10]
addss xmm4, dword [esp + 0x38]
movss dword [edi + 0xd8], xmm4
movss dword [edi + 0xdc], xmm7
movss dword [edi + 0xc8], xmm4
movss dword [edi + 0xcc], xmm7
movss dword [edi + 0xd0], xmm4
movss dword [edi + 0xd4], xmm7
movss dword [edi + 0xe0], xmm4
movss dword [edi + 0xe4], xmm7
mov dword [edi + 0xf0], 0
mov dword [edi + 0xf4], 0
mov dword [edi + 0xe8], 0
mov dword [edi + 0xec], 0
mov dword [edi + 0xfc], 0
mov dword [edi + 0xf8], 0
mov byte [edi + 0x140], 0
movss xmm0, dword [edi + 0x5c]
comiss xmm0, xmm5
seta al
mov byte [edi + 0x141], al
mov eax, dword [edi + 0x13c]
mov dword [edi + 0x138], eax
lea eax, [edi + 0x14c]
mov dword [edi + 0x13c], 0
mov byte [edi + 0x142], 0
mov ecx, dword [eax + 4]
test ecx, ecx
jns 0x1001953e
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.1001faf0
lea eax, [edi + 0x14c]
mov ecx, dword [esp + 0x58]
mov dword [eax], 0
mov dword [edi + 0x15c], 1
test ecx, ecx
je 0x1001957e
mov eax, dword [ecx + 0x15c]
mov dword [edi + 0x160], eax
mov dword [edi + 0x168], 0xffffffff
mov dword [edi + 0x164], 0xffffffff
mov eax, dword [ecx + 0x16c]
jmp 0x1001959e
mov dword [edi + 0x160], 1
xor eax, eax
mov dword [edi + 0x168], 0xffffffff
mov dword [edi + 0x164], 0xffffffff
mov dword [edi + 0x16c], eax
mov eax, dword [edi + 0x22c]
mov dword [edi + 0x170], eax
lea eax, [edi + 0x178]
mov dword [edi + 0x174], 0xbf800000
mov ecx, dword [eax + 4]
test ecx, ecx
jns 0x100195e9
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 + 0x178]
call fcn.1001faf0
lea eax, [edi + 0x178]
mov dword [eax], 0
lea eax, [edi + 0x184]
mov ecx, dword [eax + 4]
test ecx, ecx
jns 0x1001961e
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 + 0x184]
call fcn.1001faf0
lea eax, [edi + 0x184]
mov dword [eax], 0
lea eax, [edi + 0x190]
mov ecx, dword [eax + 4]
test ecx, ecx
jns 0x10019653
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 + 0x190]
call fcn.1001faf0
lea eax, [edi + 0x190]
mov dword [eax], 0
lea ecx, [edi + 0x19c]
mov dword [edi + 0x1c0], 0
lea eax, [edi + 0x254]
mov dword [edi + 0x100], 0
mov dword [edi + 0x104], 0
push 0
mov dword [edi + 0x158], eax
call fcn.1001f720
cmp byte [esp + 0x17], 0
lea ecx, [edi + 0x248]
movss xmm0, dword [esi + 0x1558]
mov dword [edi + 0x238], 0
mov dword [edi + 0x234], 0
movss dword [edi + 0x230], xmm0
je 0x100196cf
xorps xmm0, xmm0
movq qword [ecx], xmm0
mov dword [ecx + 8], 0
movss xmm1, dword [esp + 0x28]
xor edx, edx
test edx, edx
je 0x100196fc
movss xmm0, dword [ecx]
comiss xmm0, xmm1
jbe 0x100196fc
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 - 0xc], xmm0
movss xmm0, dword [ecx]
addss xmm0, dword [edi + 0x234]
movss dword [edi + 0x234], xmm0
mov dword [ecx], 0
add ecx, 4
cmp edx, 3
jl 0x100196d7
cmp dword [esp + 0x48], 0
je 0x100197a2
mov eax, dword [esp + 0x58]
mov eax, dword [eax + 0x16c]
cmp dword [edi + 0x16c], eax
je 0x100197a2
lea ecx, [edi + 0x178]
mov dword [edi + 0x16c], eax
mov edx, dword [ecx]
mov eax, dword [ecx + 4]
cmp edx, eax
jne 0x1001978e
inc edx
mov dword [esp + 0x38], edx
test eax, eax
je 0x10019778
cdq
sub eax, edx
mov edx, dword [esp + 0x38]
sar eax, 1
add eax, dword [ecx + 4]
jmp 0x1001977d
mov eax, 8
cmp eax, edx
cmovg edx, eax
push edx
call fcn.1001faf0
lea ecx, [edi + 0x178]
mov edx, dword [ecx]
mov ecx, dword [ecx + 8]
mov eax, dword [edi + 0x16c]
mov dword [ecx + edx*4], eax
inc dword [edi + 0x178]
mov al, byte [edi + 0x90]
test al, al
jle 0x100197b4
dec al
mov byte [edi + 0x90], al
mov al, byte [edi + 0x91]
test al, al
jle 0x100197c6
dec al
mov byte [edi + 0x91], al
cmp byte [esp + 0x4c], 0
je 0x1001984c
mov ecx, edi
call fcn.10019d30
mov eax, dword [edi + 8]
mov edx, dword [0x1004995c]
test eax, 0x40000
jne 0x10019840
and eax, 0x5000000
cmp eax, 0x1000000
jne 0x100197f9
cmp dword [edi + 0x304], 0
jne 0x10019840
mov ecx, dword [edx + 0x1b28]
xorps xmm0, xmm0
mov eax, dword [edx + 0x1ad0]
mov dword [edx + 0x1ad4], 0
mov dword [eax + ecx*4 + 0x304], 0
mov word [edx + 0x1b35], 1
mov dword [edx + 0x1b38], 0
movups xmmword [edx + 0x1b3c], xmm0
mov byte [edx + 0x1b34], 1
jmp 0x1001984c
mov eax, dword [edi + 0x304]
mov dword [edx + 0x1ad4], eax
test byte [esp + 0x1c], 1
jne 0x10019869
push dword [esp + 0x64]
lea edx, [esp + 0x74]
mov ecx, edi
push dword [esp + 0x64]
call fcn.10016e30
add esp, 8
mov ecx, dword [0x1004995c]
mov eax, dword [edi + 0x48]
movss xmm2, dword [esp + 0x70]
movss xmm3, dword [esp + 0x78]
movss xmm4, dword [esp + 0x7c]
mov dword [edi + 0x108], eax
movss xmm1, dword [ecx + 0x1568]
movss xmm0, dword [ecx + 0x156c]
subss xmm2, xmm1
movss xmm5, dword [ecx + 0xe8]
addss xmm3, xmm1
movss xmm1, dword [esp + 0x74]
addss xmm4, xmm0
subss xmm1, xmm0
comiss xmm5, xmm2
jb 0x100198db
movss xmm0, dword [ecx + 0xec]
comiss xmm0, xmm1
jb 0x100198db
comiss xmm3, xmm5
jbe 0x100198db
comiss xmm4, xmm0
jbe 0x100198db
mov eax, 1
jmp 0x100198dd
xor eax, eax
movups xmm0, xmmword [esp + 0x70]
mov dword [edi + 0x10c], eax
movups xmmword [edi + 0x110], xmm0
jmp 0x1001992f
mov ecx, dword [0x1004995c]
movss xmm0, dword [ecx + 0x18c8]
mov dword [ecx + 0x19b0], edi
mov eax, dword [edi + 0x2f0]
mulss xmm0, dword [edi + 0x26c]
test eax, eax
je 0x1001991f
mulss xmm0, dword [eax + 0x26c]
movss dword [ecx + 0x18d8], xmm0
movss dword [ecx + 0x18c4], xmm0
mov eax, dword [ecx + 0x19b0]
mov byte [eax + 0x7c], 1
mov eax, dword [ecx + 0x19b0]
movss xmm3, dword [edi + 0x1ec]
movss xmm2, dword [edi + 0x1f0]
movss xmm1, dword [edi + 0x1e4]
movss xmm0, dword [edi + 0x1e8]
mov dword [esp + 0x30], eax
mov eax, dword [eax + 0x274]
mov edx, dword [eax + 0x40]
lea ecx, [eax + 0x40]
mov dword [esp + 0x64], eax
movss dword [esp + 0x70], xmm1
movss dword [esp + 0x74], xmm0
movss dword [esp + 0x78], xmm3
movss dword [esp + 0x7c], xmm2
mov dword [esp + 0x10], ecx
test edx, edx
je 0x10019a0d
mov eax, dword [eax + 0x48]
mov ecx, edx
add ecx, ecx
movups xmm4, xmmword [eax + ecx*8 - 0x10]
mov ecx, edx
comiss xmm4, xmm1
movaps xmmword [esp + 0x90], xmm4
jbe 0x100199be
mov eax, dword [esp + 0x64]
movaps xmm1, xmm4
movss dword [esp + 0x70], xmm1
mov ecx, dword [eax + 0x40]
movss xmm4, dword [esp + 0x94]
mov eax, edx
comiss xmm4, xmm0
jbe 0x100199d9
movaps xmm0, xmm4
mov eax, ecx
movss dword [esp + 0x74], xmm0
movss xmm4, dword [esp + 0x98]
comiss xmm3, xmm4
jbe 0x100199f2
movaps xmm3, xmm4
mov edx, eax
movss dword [esp + 0x78], xmm3
movss xmm4, dword [esp + 0x9c]
comiss xmm2, xmm4
mov ecx, dword [esp + 0x10]
jbe 0x10019a0d
movaps xmm2, xmm4
movss dword [esp + 0x7c], xmm2
comiss xmm1, xmm3
jb 0x10019a18
movss dword [esp + 0x78], xmm1
comiss xmm0, xmm2
jb 0x10019a23
movss dword [esp + 0x7c], xmm0
mov eax, dword [ecx + 4]
cmp edx, eax
jne 0x10019a55
inc edx
mov dword [esp + 0x38], edx
test eax, eax
je 0x10019a41
cdq
sub eax, edx
mov edx, dword [esp + 0x38]
sar eax, 1
add eax, dword [ecx + 4]
jmp 0x10019a46
mov eax, 8
cmp eax, edx
cmovg edx, eax
push edx
call fcn.1002d360
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx]
mov edx, dword [ecx + 8]
add eax, eax
movups xmm0, xmmword [esp + 0x70]
movups xmmword [edx + eax*8], xmm0
inc dword [ecx]
mov ecx, dword [esp + 0x64]
call fcn.10027610
mov edx, dword [esp + 0x30]
mov eax, dword [edx + 0x274]
mov ecx, dword [eax + 0x40]
mov eax, dword [eax + 0x48]
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]
mov dword [edx + 0x204], eax
mov eax, dword [esp + 0x68]
movss dword [edx + 0x208], xmm0
movss dword [edx + 0x20c], xmm1
movss dword [edx + 0x210], xmm2
cmp eax, dword [esp + 0x6c]
je 0x10019ac5
mov byte [edi + 0x7c], 0
inc word [edi + 0x84]
mov eax, dword [esp + 0x1c]
mov dword [esi + 0x1a2c], 0
test eax, 0x1000000
je 0x10019b5d
test al, 0x40
jne 0x10019b23
cmp byte [edi + 0x90], 0
jg 0x10019b23
cmp byte [edi + 0x91], 0
jg 0x10019b23
movss xmm0, dword [edi + 0x1c4]
comiss xmm0, dword [edi + 0x1cc]
jae 0x10019b19
movss xmm0, dword [edi + 0x1c8]
comiss xmm0, dword [edi + 0x1d0]
jb 0x10019b23
mov dword [edi + 0x98], 1
mov eax, dword [esp + 0x58]
test eax, eax
je 0x10019b5d
cmp byte [eax + 0x7d], 0
jne 0x10019b3a
cmp dword [eax + 0x98], 0
jle 0x10019b44
mov dword [edi + 0x98], 1
cmp byte [eax + 0x7d], 0
jne 0x10019b53
cmp dword [eax + 0x9c], 0
jle 0x10019b5d
mov dword [edi + 0x9c], 1
movss xmm0, dword [esp + 0x28]
comiss xmm0, dword [esi + 0x1510]
jb 0x10019b76
mov dword [edi + 0x98], 1
cmp dword [edi + 0x98], 0
jg 0x10019b8c
cmp dword [edi + 0x9c], 0
jg 0x10019b8c
xor cl, cl
jmp 0x10019b8e
mov cl, 1
xor al, al
mov byte [edi + 0x81], cl
cmp byte [edi + 0x7d], al
jne 0x10019ba4
cmp byte [edi + 0x7a], al
je 0x10019ba4
test cl, cl
je 0x10019bc8
cmp byte [edi + 0x90], 0
jg 0x10019bc8
cmp byte [edi + 0x91], 0
jg 0x10019bc8
cmp dword [edi + 0x9c], 0
mov ecx, 1
movzx eax, al
cmovle eax, ecx
mov ecx, dword [esp + 0x10c]
mov byte [edi + 0x7f], al
xor al, 1
pop edi
pop esi
xor ecx, esp
call fcn.1003b65b
mov esp, ebp
pop ebp
ret