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

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff0
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
sub esp, 0x38
mov edx, dword [0x1013be60]
push esi
push edi
mov edi, edx
mov dword [ebp - 0x10], edi
cmp byte [edi], 0
jne 0x10021986
call fcn.10022cc0
mov edx, dword [0x1013be60]
movss xmm0, dword [edi + 0xc]
addss xmm0, dword [edi + 0x17e0]
inc dword [edi + 0x17e4]
mov dword [edi + 0x2774], 0
mov dword [edi + 0x1820], 0
movss dword [edi + 0x17e0], xmm0
mov esi, dword [edx + 0x90]
test esi, esi
jne 0x100219ca
mov eax, dword [edx + 0x84]
mov eax, dword [eax + 0x34]
mov esi, dword [eax]
movss xmm0, dword [edx + 0x88]
mov eax, dword [edx + 0x1824]
mov dword [edx + 0x1750], esi
mulss xmm0, dword [esi]
mulss xmm0, dword [esi + 4]
movss dword [edx + 0x1758], xmm0
xorps xmm0, xmm0
test eax, eax
je 0x10021a06
movss xmm0, dword [edx + 0x1758]
mulss xmm0, dword [eax + 0x230]
movss dword [edx + 0x1754], xmm0
mov eax, dword [esi + 0x44]
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
mov ecx, dword [eax + 0x24]
mov eax, dword [eax + 0x28]
mov dword [edx + 0x175c], ecx
mov dword [edx + 0x1764], esi
lea esi, [edi + 0x1934]
movss dword [edx + 0x1768], xmm0
mov ecx, esi
mov dword [edx + 0x1760], eax
movss xmm0, dword [edi + 4]
mov eax, dword [edi + 0x147c]
movss dword [ebp - 0x28], xmm0
movss xmm0, dword [edi + 8]
movss dword [ebp - 0x24], xmm0
movups xmm0, xmmword [ebp - 0x30]
mov dword [edi + 0x176c], eax
movups xmmword [edi + 0x1770], xmm0
call fcn.10042950
mov eax, dword [edi + 0x84]
mov ecx, dword [esi + 0x48]
mov dword [ebp - 0x14], eax
mov eax, dword [esi + 0x4c]
cmp ecx, eax
jne 0x10021aac
inc ecx
test eax, eax
je 0x10021a99
cdq
sub eax, edx
sar eax, 1
add eax, dword [esi + 0x4c]
jmp 0x10021a9e
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
push ecx
lea ecx, [esi + 0x48]
call fcn.1003b150
mov edx, dword [esi + 0x48]
mov ecx, dword [esi + 0x50]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov dword [ecx + edx*4], eax
inc dword [esi + 0x48]
lea esi, [edi + 0x1934]
mov ecx, esi
call fcn.10042ea0
mov eax, dword [esi + 0x28]
movss xmm0, dword [eax + 0x1c]
movss xmm2, dword [eax + 0x14]
comiss xmm2, xmm0
movss xmm3, dword [eax + 0x20]
movss xmm1, dword [eax + 0x18]
movss dword [ebp - 0x30], xmm2
movss dword [ebp - 0x2c], xmm1
movss dword [ebp - 0x28], xmm0
movss dword [ebp - 0x24], xmm3
jb 0x10021aff
movss dword [ebp - 0x28], xmm2
comiss xmm1, xmm3
jb 0x10021b09
movss dword [ebp - 0x24], xmm1
mov edx, dword [esi + 0x3c]
mov ecx, dword [esi + 0x40]
cmp edx, ecx
jne 0x10021b3c
inc edx
mov dword [ebp - 0x14], edx
test ecx, ecx
je 0x10021b29
mov eax, ecx
cdq
sub eax, edx
mov edx, dword [ebp - 0x14]
sar eax, 1
add eax, ecx
jmp 0x10021b2e
mov eax, 8
cmp eax, edx
lea ecx, [esi + 0x3c]
cmovg edx, eax
push edx
call fcn.100489c0
mov eax, dword [esi + 0x3c]
lea ecx, [edi + 0x1934]
movups xmm0, xmmword [ebp - 0x30]
shl eax, 4
add eax, dword [esi + 0x44]
movups xmmword [eax], xmm0
inc dword [esi + 0x3c]
call fcn.10042d40
xor ecx, ecx
mov byte [edi + 0x1904], 0
cmp byte [edi + 0x1479], cl
mov eax, 2
mov dword [edi + 0x1908], 0
cmovne ecx, eax
mov dword [edi + 0x1914], 0
xor eax, eax
mov dword [edi + 0x1910], 0
cmp byte [edi + 0x1478], al
mov dword [edi + 0x190c], 0
setne al
or ecx, eax
cmp dword [edi + 0x183c], 0
mov dword [edi + 0x1958], ecx
jne 0x10021bbf
mov dword [edi + 0x1840], 0
cmp byte [edi + 0x1850], 0
mov eax, dword [edi + 0x1834]
mov edx, dword [0x1013be60]
mov dword [edi + 0x183c], eax
mov dword [edi + 0x1834], 0
mov byte [edi + 0x1838], 0
mov dword [ebp - 8], edx
jne 0x10021c3a
mov eax, dword [edi + 0x1844]
cmp dword [edi + 0x1848], eax
jne 0x10021c3a
test eax, eax
je 0x10021c3a
mov ecx, dword [edx + 0x1844]
test ecx, ecx
setne al
mov byte [edx + 0x1851], al
test ecx, ecx
je 0x10021c1f
mov dword [edx + 0x184c], 0
mov dword [edx + 0x1844], 0
mov byte [edx + 0x1852], 0
mov dword [edx + 0x185c], 0
mov eax, dword [edi + 0x1844]
test eax, eax
je 0x10021c59
movss xmm0, dword [edi + 0xc]
addss xmm0, dword [edi + 0x184c]
movss dword [edi + 0x184c], xmm0
mov ecx, dword [edi + 0x273c]
mov dword [edi + 0x1848], eax
mov word [edi + 0x1850], 0
test ecx, ecx
je 0x10021c80
cmp eax, ecx
je 0x10021c80
mov dword [edi + 0x273c], 0
cmp byte [edi + 0x19ac], 0
je 0x10021ceb
mov eax, dword [edi + 0x19c8]
inc eax
cmp eax, dword [edi + 0x17e4]
jge 0x10021ceb
call fcn.1003a790
mov eax, dword [edi + 0x1a08]
test eax, eax
je 0x10021ce0
mov dword [edi + 0x1a04], 0
mov dword [edi + 0x1a00], 0
dec dword [edx + 0x318]
push eax
mov eax, dword [edx + 0xc4]
call eax
mov edx, dword [0x1013be60]
add esp, 4
mov dword [edi + 0x1a08], 0
mov dword [ebp - 8], edx
xorps xmm0, xmm0
movq qword [edi + 0x1a0c], xmm0
mov eax, dword [edi + 0x19f4]
mov ecx, 0x200
movss xmm5, dword [0x1012d218]
mov dword [edi + 0x19f8], eax
lea eax, [edi + 0x3ec]
mov dword [edi + 0x19f4], 0
mov esi, eax
mov dword [edi + 0x19f0], 0x7f7fffff
add edi, 0xbec
rep movsd dword es:[edi], dword [esi]
mov esi, dword [ebp - 0x10]
xor ecx, ecx
nop dword [eax]
cmp byte [esi + ecx + 0xed], 0
xorps xmm4, xmm4
je 0x10021d52
movss xmm0, dword [eax]
comiss xmm4, xmm0
jbe 0x10021d4b
xorps xmm0, xmm0
jmp 0x10021d55
addss xmm0, dword [esi + 0xc]
jmp 0x10021d55
movaps xmm0, xmm5
movss dword [eax], xmm0
inc ecx
add eax, 4
cmp ecx, 0x200
jl 0x10021d30
mov edi, dword [ebp - 8]
lea eax, [esi + 0xd0]
test eax, eax
jne 0x10021d78
lea eax, [edi + 0xd0]
movss xmm0, dword [eax]
movss xmm1, dword [0x1012d260]
comiss xmm0, xmm1
jb 0x10021dd8
movss xmm0, dword [eax + 4]
comiss xmm0, xmm1
jb 0x10021dd8
lea eax, [esi + 0x330]
test eax, eax
jne 0x10021da3
lea eax, [edi + 0xd0]
movss xmm0, dword [eax]
comiss xmm0, xmm1
jb 0x10021dd8
movss xmm0, dword [eax + 4]
comiss xmm0, xmm1
jb 0x10021dd8
movss xmm0, dword [esi + 0xd0]
movss xmm1, dword [esi + 0xd4]
subss xmm0, dword [esi + 0x330]
subss xmm1, dword [esi + 0x334]
jmp 0x10021dde
xorps xmm0, xmm0
xorps xmm1, xmm1
movss dword [esi + 0x328], xmm0
lea edx, [esi + 0x374]
movss dword [esi + 0x32c], xmm1
lea edi, [esi + 0x388]
mov eax, dword [esi + 0xd0]
mov ecx, dword [esi + 0xd4]
movss xmm6, dword [0x1012eb60]
movss xmm7, dword [0x1012d264]
mov dword [esi + 0x330], eax
lea eax, [esi + 0x338]
mov dword [esi + 0x334], ecx
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x14], 5
mov cl, byte [edx - 0x29c]
test cl, cl
je 0x10021e65
comiss xmm4, dword [edi]
jbe 0x10021e65
mov byte [edx], 1
xor cl, cl
mov byte [edx + 0xa], cl
movss xmm0, dword [edi]
movss dword [edi + 0x14], xmm0
cmp byte [edx - 0x29c], 0
je 0x10021e80
comiss xmm4, xmm0
jbe 0x10021e79
movaps xmm0, xmm4
jmp 0x10021e83
mov byte [edx], 0
test cl, cl
jne 0x10021e44
movss xmm0, dword [edi]
comiss xmm0, xmm4
jb 0x10021e44
mov cl, 1
jmp 0x10021e46
addss xmm0, dword [esi + 0xc]
jmp 0x10021e83
movaps xmm0, xmm5
movss dword [edi], xmm0
cmp byte [edx], 0
mov byte [edx + 5], 0
je 0x10021f26
movss xmm2, dword [esi + 0x17e0]
movss xmm0, dword [esi + 0x1c]
movaps xmm1, xmm2
subss xmm1, dword [edi - 0x28]
comiss xmm0, xmm1
jbe 0x10021ef1
movss xmm2, dword [esi + 0xd4]
mov ecx, 1
subss xmm2, dword [eax + 4]
movss xmm1, dword [esi + 0xd0]
subss xmm1, dword [eax]
movss xmm0, dword [esi + 0x20]
movzx eax, byte [edx + 5]
mulss xmm2, xmm2
mulss xmm1, xmm1
mulss xmm0, xmm0
addss xmm2, xmm1
comiss xmm0, xmm2
movaps xmm2, xmm7
cmova eax, ecx
mov byte [edx + 5], al
movss dword [edi - 0x28], xmm2
mov eax, dword [esi + 0xd0]
mov ecx, dword [esi + 0xd4]
mov esi, dword [ebp - 0xc]
mov dword [esi], eax
mov eax, esi
mov esi, dword [ebp - 0x10]
mov dword [eax + 4], ecx
mov dword [eax + 0x78], 0
mov dword [eax + 0x7c], 0
mov dword [edi + 0x50], 0
jmp 0x10021f8a
cmp byte [edx - 0x29c], 0
je 0x10021f8a
movss xmm3, dword [esi + 0xd0]
subss xmm3, dword [eax]
movss xmm2, dword [esi + 0xd4]
subss xmm2, dword [eax + 4]
movss xmm0, dword [eax + 0x78]
movaps xmm1, xmm3
mulss xmm3, xmm3
andps xmm1, xmm6
maxss xmm0, xmm1
movaps xmm1, xmm2
andps xmm1, xmm6
mulss xmm2, xmm2
movss dword [eax + 0x78], xmm0
addss xmm3, xmm2
movss xmm0, dword [eax + 0x7c]
maxss xmm0, xmm1
movss dword [eax + 0x7c], xmm0
movss xmm0, dword [edi + 0x50]
maxss xmm0, xmm3
movss dword [edi + 0x50], xmm0
add eax, 8
add edi, 4
inc edx
mov dword [ebp - 0xc], eax
sub dword [ebp - 0x14], 1
jne 0x10021e32
mov eax, dword [esi + 0x29a4]
mov ecx, 0x78
movss xmm1, dword [esi + 0xc]
movaps xmm0, xmm1
mov edi, dword [ebp - 8]
subss xmm0, dword [esi + eax*4 + 0x27c4]
addss xmm0, dword [esi + 0x29a8]
movss dword [esi + 0x29a8], xmm0
movss dword [esi + eax*4 + 0x27c4], xmm1
movss xmm1, dword [esi + 0x29a8]
divss xmm1, dword [0x1012d0bc]
mov eax, dword [esi + 0x29a4]
inc eax
cdq
movss xmm0, dword [0x1012cd64]
idiv ecx
divss xmm0, xmm1
mov ecx, dword [esi + 0x1860]
mov eax, dword [esi + 0x1844]
mov dword [esi + 0x29a4], edx
movss dword [esi + 0x314], xmm0
test ecx, ecx
je 0x100220d3
cmp dword [ecx + 0x64], eax
jne 0x100220d3
mov edx, dword [edi + 0x1844]
lea ecx, [edi + 0x1850]
cmp edx, eax
jne 0x1002203a
mov byte [ecx], 1
cmp byte [esi + 0xd8], 0
je 0x100220ca
mov eax, dword [esi + 0x1860]
movss xmm2, dword [esi + 0xd0]
subss xmm2, dword [esi + 0x1854]
movss xmm1, dword [esi + 0xd4]
mov ecx, dword [eax + 0x23c]
subss xmm1, dword [esi + 0x1858]
movss xmm0, dword [ecx + 0xc]
ucomiss xmm0, xmm2
lahf
test ah, 0x44
jp 0x1002208f
movss xmm0, dword [ecx + 0x10]
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jnp 0x100220b4
test dword [ecx + 8], 0x100
jne 0x100220aa
comiss xmm4, dword [edi + 0x2794]
jb 0x100220aa
mov eax, dword [edi + 0x10]
mov dword [edi + 0x2794], eax
movss dword [ecx + 0xc], xmm2
movss dword [ecx + 0x10], xmm1
mov ecx, dword [esi + 0x1860]
call fcn.10029ec0
mov edi, dword [0x1013be60]
mov dword [ebp - 8], edi
jmp 0x1002213a
test edx, edx
setne al
test edx, edx
jmp 0x10022103
mov ecx, dword [esi + 0x185c]
test ecx, ecx
je 0x10022130
cmp dword [ecx + 0x64], eax
jne 0x10022130
mov ecx, dword [edi + 0x1844]
cmp ecx, eax
jne 0x100220f3
mov byte [edi + 0x1850], 1
cmp byte [esi + 0xd8], 0
jne 0x10022130
test ecx, ecx
setne al
test ecx, ecx
mov byte [edi + 0x1851], al
je 0x10022115
mov dword [edi + 0x184c], 0
mov dword [edi + 0x185c], 0
mov byte [edi + 0x1852], 0
mov dword [edi + 0x1844], 0
mov dword [esi + 0x1860], 0
movss xmm0, dword [esi + 0x2794]
xorps xmm6, xmm6
comiss xmm0, xmm6
jbe 0x10022170
subss xmm0, dword [esi + 0xc]
comiss xmm6, xmm0
movss dword [esi + 0x2794], xmm0
jb 0x10022170
mov ecx, dword [esi + 0x14]
call fcn.100237a0
mov edi, dword [0x1013be60]
xorps xmm6, xmm6
mov dword [ebp - 8], edi
mov eax, dword [esi + 0x1860]
test eax, eax
je 0x10022194
test dword [eax + 8], 0x200
jne 0x10022194
mov dword [esi + 0x182c], eax
mov eax, dword [eax + 0x23c]
jmp 0x1002223e
mov ecx, dword [edi + 0x17f0]
sub ecx, 1
movss xmm7, dword [esi + 0xd0]
movss xmm5, dword [esi + 0xd4]
js 0x10022232
mov eax, dword [edi + 0x17f8]
lea edx, [eax + ecx*4]
nop dword [eax]
mov eax, dword [edx]
cmp byte [eax + 0x8c], 0
je 0x1002222a
test dword [eax + 8], 0x200
jne 0x1002222a
movss xmm2, dword [edi + 0x1440]
movss xmm0, dword [eax + 0x1c0]
movaps xmm3, xmm2
movss xmm1, dword [edi + 0x1444]
subss xmm0, xmm2
movss xmm2, dword [eax + 0x1c4]
movaps xmm4, xmm1
addss xmm3, dword [eax + 0x1c8]
addss xmm4, dword [eax + 0x1cc]
subss xmm2, xmm1
comiss xmm7, xmm0
jb 0x1002222a
comiss xmm5, xmm2
jb 0x1002222a
comiss xmm3, xmm7
jbe 0x1002222a
comiss xmm4, xmm5
ja 0x100222ca
sub edx, 4
sub ecx, 1
jns 0x100221c0
mov dword [esi + 0x182c], 0
xor eax, eax
mov dword [ebp - 0x14], eax
mov dword [esi + 0x1830], eax
mov eax, dword [edi + 0x1888]
sub eax, 1
mov dword [ebp - 0x10], eax
js 0x10022281
lea ecx, [eax + eax*8]
mov eax, dword [edi + 0x1890]
lea ecx, [ecx + 1]
lea ecx, [eax + ecx*4]
mov eax, dword [ebp - 0x10]
mov edx, dword [ecx]
mov dword [ebp - 0xc], edx
test edx, edx
je 0x10022279
test dword [edx + 8], 0x8000000
jne 0x100222e3
sub ecx, 0x24
sub eax, 1
jns 0x10022267
xor edx, edx
mov dword [ebp - 0xc], edx
mov dword [esi + 0x1930], edx
xor al, al
lea ecx, [esi + 0x383]
mov byte [ebp - 1], al
or edi, 0xffffffff
mov eax, 0xfffffc7d
xor edx, edx
sub eax, esi
mov dword [ebp - 0x14], eax
cmp byte [ecx - 0xf], 0
je 0x10022349
cmp dword [esi + 0x182c], 0
jne 0x10022345
cmp dword [esi + 0x1888], 0
jne 0x10022345
xor al, al
jmp 0x10022347
mov dword [esi + 0x182c], eax
test eax, eax
je 0x1002223c
mov eax, dword [eax + 0x23c]
jmp 0x1002223e
movss xmm0, dword [esi + 0xc]
mulss xmm0, dword [0x1012cf80]
mov eax, dword [ebp - 0x14]
addss xmm0, dword [esi + 0x1930]
minss xmm0, dword [0x1012cd64]
movss dword [esi + 0x1930], xmm0
test eax, eax
je 0x1002228c
mov dword [ebp - 0xc], edx
cmp dword [eax + 0x23c], edx
je 0x1002228c
cmp eax, edx
je 0x1002228c
mov eax, dword [eax + 0x238]
test eax, eax
jne 0x10022322
mov dword [esi + 0x182c], eax
mov dword [esi + 0x1830], eax
jmp 0x1002228c
mov al, 1
mov byte [ecx], al
mov al, byte [ecx - 0x2ab]
or byte [ebp - 1], al
test al, al
je 0x10022373
cmp edi, 0xffffffff
je 0x1002236e
movss xmm0, dword [esi + edi*4 + 0x360]
comiss xmm0, dword [esi + edx + 0x360]
jbe 0x10022373
mov edi, dword [ebp - 0x14]
add edi, ecx
mov eax, dword [ebp - 0x14]
inc ecx
add eax, ecx
add edx, 4
cmp eax, 5
jl 0x100222a6
mov edx, dword [ebp - 0xc]
cmp edi, 0xffffffff
mov dword [ebp - 0x14], edi
mov edi, dword [ebp - 8]
je 0x100223a4
mov eax, dword [ebp - 0x14]
cmp byte [eax + esi + 0x383], 0
jne 0x100223a4
xor cl, cl
jmp 0x100223a6
mov cl, 1
mov eax, dword [esi + 0x29ac]
cmp eax, 0xffffffff
je 0x100223b8
test eax, eax
setne al
jmp 0x100223db
test cl, cl
je 0x100223cc
cmp dword [esi + 0x182c], 0
jne 0x100223d9
mov al, byte [ebp - 1]
test al, al
jne 0x100223d9
cmp dword [esi + 0x1888], 0
jne 0x100223d9
xor al, al
jmp 0x100223db
mov al, 1
mov byte [esi + 0x310], al
mov eax, dword [esi + 0x29b0]
cmp eax, 0xffffffff
je 0x100223f3
test eax, eax
setne al
jmp 0x10022406
cmp dword [esi + 0x1844], 0
jne 0x10022404
test edx, edx
jne 0x10022404
xor al, al
jmp 0x10022406
mov al, 1
mov byte [esi + 0x311], al
xor eax, eax
mov edx, dword [esi + 0x29b4]
cmp edx, 0xffffffff
je 0x1002241e
test edx, edx
setne al
cmp byte [esi + 0x19ac], 0
mov byte [esi + 0x312], al
mov dword [esi + 0x19a8], 0
mov dword [esi + 0x29b4], 0xffffffff
mov dword [esi + 0x29b0], 0xffffffff
mov dword [esi + 0x29ac], 0xffffffff
mov dword [esi + 0x2784], 0x3f800000
mov dword [esi + 0x2788], 0x3f800000
je 0x10022476
test byte [esi + 0x19b0], 0x10
je 0x10022476
mov al, 1
jmp 0x10022478
xor al, al
test cl, cl
jne 0x10022494
test al, al
jne 0x10022494
mov dword [esi + 0x1830], 0
mov dword [esi + 0x182c], 0
mov edx, dword [esi + 0x182c]
movss xmm5, dword [esi + 0xe0]
test edx, edx
je 0x100224dd
mov ecx, dword [edx + 4]
cmp dword [0x101dd954], ecx
je 0x100224dd
xor al, al
mov byte [0x101dd958], 0
movaps xmm4, xmm6
mov byte [0x101dd54c], al
movaps xmm3, xmm6
movss dword [0x101dd548], xmm4
movss dword [0x101dd950], xmm3
mov dword [0x101dd954], ecx
jmp 0x100224f6
mov al, byte [0x101dd54c]
movss xmm3, dword [0x101dd950]
movss xmm4, dword [0x101dd548]
test al, al
jne 0x10022532
ucomiss xmm5, xmm6
lahf
test ah, 0x44
jnp 0x10022532
test edx, edx
je 0x1002286a
cmp byte [edx + 0x8f], 0
jne 0x1002253a
mov eax, dword [0x1018b4c4]
movsd xmm7, qword [eax + 0x2af98]
mov al, 1
cvtpd2ps xmm7, xmm7
mov byte [0x101dd54c], al
movss dword [0x101dd95c], xmm7
jmp 0x10022542
test edx, edx
je 0x1002286a
movss xmm7, dword [0x101dd95c]
cmp byte [edx + 0x8f], 0
jne 0x1002286a
test al, al
je 0x1002286a
mov eax, dword [edx + 8]
mov ecx, edx
test eax, 0x1000000
je 0x10022583
and eax, 0x218
cmp eax, 0x10
jne 0x10022583
mov eax, dword [ecx + 0x238]
test eax, eax
je 0x10022583
mov ecx, eax
mov eax, dword [ecx + 8]
test eax, 0x1000000
jne 0x10022563
mov eax, dword [ecx + 8]
and eax, 0x210
cmp byte [esi + 0xe9], 0
mov dword [ebp - 0x14], eax
je 0x1002266b
cmp byte [esi + 0x8c], 0
je 0x1002280b
mulss xmm5, dword [0x1012ccb8]
movss xmm1, dword [edx + 0x230]
movss xmm0, dword [0x1012cd00]
addss xmm5, xmm1
comiss xmm0, xmm5
ja 0x100225d5
movss xmm0, dword [0x1012cf00]
minss xmm0, xmm5
movaps xmm5, xmm0
movss xmm7, dword [0x1012cd64]
divss xmm5, xmm1
movss dword [edx + 0x230], xmm0
movss xmm1, dword [esi + 0xd4]
subss xmm1, dword [edx + 0x18]
movss xmm4, dword [edx + 0x14]
movss xmm3, dword [esi + 0xd0]
shufps xmm5, xmm5, 0
subss xmm3, xmm4
subss xmm7, xmm5
movaps xmm0, xmm7
mulss xmm7, dword [edx + 0x20]
mulss xmm0, dword [edx + 0x1c]
mulss xmm1, xmm7
mulss xmm3, xmm0
divss xmm1, dword [edx + 0x20]
divss xmm3, dword [edx + 0x1c]
movaps xmm0, xmm1
addss xmm0, dword [edx + 0x18]
addss xmm1, dword [edx + 0x10]
addss xmm4, xmm3
addss xmm3, dword [edx + 0xc]
movss dword [edx + 0x18], xmm0
movups xmm0, xmmword [edx + 0x1c]
movss dword [edx + 0x14], xmm4
mulps xmm0, xmm5
movss dword [edx + 0xc], xmm3
movss dword [edx + 0x10], xmm1
movups xmmword [edx + 0x1c], xmm0
jmp 0x1002280b
test eax, eax
jne 0x1002280b
movss xmm0, dword [ecx + 0x50]
subss xmm0, dword [ecx + 0x48]
movss xmm1, dword [ecx + 0x58]
movss xmm2, dword [edi + 0x1758]
addss xmm1, xmm1
mulss xmm2, dword [ecx + 0x230]
ucomiss xmm5, xmm6
mulss xmm2, dword [0x1012cf7c]
addss xmm0, xmm1
mulss xmm0, dword [0x1012cd10]
minss xmm2, xmm0
xorps xmm0, xmm0
cvttss2si eax, xmm2
cvtsi2ss xmm0, eax
lahf
test ah, 0x44
mov eax, dword [0x1018b4c4]
jnp 0x10022712
cmp byte [0x101dd958], 0
mulss xmm0, xmm5
jne 0x100226e5
movss xmm4, dword [ecx + 0x6c]
movaps xmm3, xmm4
mov byte [0x101dd958], 1
jmp 0x100226fe
movsd xmm7, qword [eax + 0x2af98]
movss xmm3, dword [ecx + 0x6c]
cvtpd2ps xmm7, xmm7
movss dword [0x101dd95c], xmm7
subss xmm4, xmm0
movss dword [0x101dd950], xmm3
movss dword [0x101dd548], xmm4
movsd xmm1, qword [eax + 0x2af98]
movaps xmm2, xmm7
addss xmm2, dword [0x1012ccdc]
cvtpd2ps xmm1, xmm1
ucomiss xmm1, xmm7
lahf
test ah, 0x44
jnp 0x10022764
ucomiss xmm1, xmm2
lahf
test ah, 0x44
jp 0x10022740
movaps xmm3, xmm4
jmp 0x10022764
ucomiss xmm2, xmm7
lahf
test ah, 0x44
jnp 0x10022764
movaps xmm0, xmm2
subss xmm1, xmm7
subss xmm0, xmm7
subss xmm4, xmm3
divss xmm1, xmm0
mulss xmm1, xmm4
addss xmm3, xmm1
comiss xmm6, xmm3
jbe 0x1002276e
movaps xmm3, xmm6
jmp 0x10022793
movss xmm0, dword [ecx + 0x28]
subss xmm0, dword [ecx + 0x88]
movss xmm1, dword [ecx + 0x38]
subss xmm1, xmm0
movaps xmm0, xmm6
maxss xmm0, xmm1
comiss xmm3, xmm0
jbe 0x100227b5
movaps xmm3, xmm0
mov dword [0x101dd950], 0
mov dword [0x101dd548], 0
mov byte [0x101dd54c], 0
mov byte [0x101dd958], 0
movss xmm0, dword [ecx + 0x6c]
addss xmm0, dword [ecx + 0xf4]
mov eax, dword [0x1018b4c4]
movss dword [ecx + 0x6c], xmm3
subss xmm0, xmm3
movss dword [ecx + 0xf4], xmm0
movsd xmm0, qword [eax + 0x2af98]
cvtpd2ps xmm0, xmm0
comiss xmm0, xmm2
jbe 0x1002280b
mov byte [0x101dd958], 0
mov byte [0x101dd54c], 0
mov dword [0x101dd548], 0
mov dword [0x101dd950], 0
movss xmm1, dword [esi + 0xe4]
ucomiss xmm1, xmm6
lahf
test ah, 0x44
jnp 0x1002286a
cmp dword [ebp - 0x14], 0
jne 0x1002286a
cmp byte [esi + 0xe9], 0
jne 0x1002286a
test byte [edx + 8], 0x10
jne 0x1002286a
movss xmm0, dword [edi + 0x1758]
mulss xmm0, dword [ecx + 0x230]
movss xmm2, dword [edx + 0x68]
mulss xmm0, xmm1
movaps xmm1, xmm2
addss xmm2, dword [edx + 0xf0]
subss xmm1, xmm0
subss xmm2, xmm1
movss dword [edx + 0x68], xmm1
movss dword [edx + 0xf0], xmm2
cmp dword [esi + 0x1844], 0
jne 0x100228a9
mov ecx, dword [esi + 0x1828]
test ecx, ecx
je 0x100228a9
cmp byte [ecx + 0x8c], 0
je 0x100228a9
mov eax, dword [edi + 0x28]
test eax, eax
js 0x100228a9
movss xmm0, dword [edi + eax*4 + 0x3ec]
ucomiss xmm0, xmm6
lahf
test ah, 0x44
jp 0x100228a9
mov dword [ecx + 0x258], 0
xor edx, edx
cmp dword [esi + 0x17f0], edx
je 0x100228df
mov eax, dword [esi + 0x17f8]
mov ecx, dword [eax + edx*4]
inc edx
mov al, byte [ecx + 0x8c]
mov byte [ecx + 0x8d], al
mov byte [ecx + 0x8c], 0
mov byte [ecx + 0x8e], 0
cmp edx, dword [esi + 0x17f0]
jne 0x100228b3
mov eax, dword [esi + 0x1828]
test eax, eax
je 0x10022928
cmp byte [eax + 0x8d], 0
jne 0x10022928
mov eax, dword [edi + 0x17f0]
sub eax, 1
js 0x10022928
mov edx, dword [edi + 0x17f8]
mov ecx, dword [edx + eax*4]
test ecx, ecx
je 0x1002291c
cmp byte [ecx + 0x8d], 0
je 0x1002291c
test dword [ecx + 8], 0x1000000
je 0x10022923
sub eax, 1
jns 0x10022903
jmp 0x10022928
call fcn.10029ec0
mov ecx, dword [esi + 0x180c]
test ecx, ecx
jns 0x1002294e
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, [esi + 0x1808]
call fcn.1003b150
mov dword [esi + 0x1808], 0
mov ecx, dword [esi + 0x1898]
test ecx, ecx
jns 0x1002297e
mov eax, ecx
cdq
sub eax, edx
xor edx, edx
sar eax, 1
add eax, ecx
lea ecx, [esi + 0x1894]
test eax, eax
cmovg edx, eax
push edx
call fcn.1003b550
mov dword [esi + 0x1894], 0
mov ecx, dword [esi + 0x1828]
call fcn.100250c0
mov eax, dword [0x1013be60]
xor edx, edx
push 0
mov ecx, str.DebugDefault
mov dword [eax + 0x18cc], 0x43c80000
mov dword [eax + 0x18d0], 0x43c80000
mov dword [eax + 0x18a4], 4
call fcn.10026bb0
add esp, 4
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret