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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0xf8
push esi
push edi
mov edi, dword [0x10350170]
mov eax, edx
mov dword [esp + 0x60], eax
mov dword [esp + 0x84], edi
mov eax, dword [edi + 0x1cdc]
mov byte [eax + 0x8c], 1
mov eax, dword [edi + 0x1cdc]
mov dword [esp + 0x54], eax
cmp byte [eax + 0x8f], 0
je 0x1016b02a
xor al, al
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov esi, dword [eax + 0x284]
mov eax, dword [eax + 4]
mov dword [esp + 0x74], esi
mov dword [esp + 0x80], eax
mov dword [esp + 0x34], eax
mov dword [edi + 0x1dc0], 0
call fcn.1013aba0
mov edx, dword [ebp + 8]
lea eax, [edi + 0x36d8]
or edx, 0x10000
mov ecx, 0xa900000
mov dword [ebp + 8], edx
test edx, 0x6000000
jne 0x1016b08f
test dword [eax], 0x6000000
cmovne ecx, dword [eax]
lea eax, [edi + 0x36d8]
and ecx, 0x6000000
or edx, ecx
mov ecx, 0xa900000
mov dword [ebp + 8], edx
test edx, 0x18000000
jne 0x1016b0ab
test dword [eax], 0x18000000
cmovne ecx, dword [eax]
and ecx, 0x18000000
or edx, ecx
mov dword [ebp + 8], edx
mov eax, dword [esp + 0x54]
mov ecx, edx
and ecx, 2
and edx, 0x10002
mov dword [esp + 0xec], ecx
mov dword [esp + 0x8c], edx
movss xmm1, dword [eax + 0xd0]
movss xmm0, dword [eax + 0xd4]
xor eax, eax
movss dword [esp + 0x48], xmm1
test ecx, ecx
addss xmm1, dword [0x102fdfb0]
movss dword [esp + 0x4c], xmm0
sete al
movss xmm0, dword [edi + 0x1568]
addss xmm1, xmm0
lea eax, [eax*4 + 0xc]
push eax
lea eax, [esp + 0x64]
push eax
movss dword [esp + 0x78], xmm1
lea eax, [esp + 0xf8]
addss xmm1, dword [0x102fdecc]
push eax
addss xmm1, xmm0
movss dword [esp + 0x88], xmm1
call fcn.100afbe0
mov eax, dword [esp + 0x6c]
add esp, 0xc
movss xmm1, dword [eax + 4]
movss xmm3, dword [eax]
movaps xmm4, xmm1
movss xmm2, dword [eax + 8]
movaps xmm5, xmm3
mov eax, dword [ebp + 8]
movss dword [esp + 0x78], xmm4
movss dword [esp + 0x38], xmm4
movaps xmm4, xmm2
movss dword [esp + 0x18], xmm3
movss dword [esp + 0x28], xmm1
movss dword [esp + 0x2c], xmm2
movss dword [esp + 0x88], xmm5
movss dword [esp + 0x50], xmm5
movss dword [esp + 0x68], xmm4
movss dword [esp + 0x30], xmm4
test eax, 0x8000000
je 0x1016b2bb
comiss xmm2, xmm1
xorps xmm5, xmm5
movaps xmm4, xmm1
movaps xmm6, xmm2
jbe 0x1016b1b5
movss xmm5, dword [0x102fe0ac]
movaps xmm6, xmm1
movaps xmm4, xmm2
comiss xmm4, xmm3
movaps xmm1, xmm3
movss dword [esp + 0x2c], xmm1
jbe 0x1016b1e6
movss xmm0, dword [0x102fe0b8]
movaps xmm1, xmm4
divss xmm0, dword [0x102fdec8]
movss dword [esp + 0x2c], xmm1
movaps xmm4, xmm3
subss xmm0, xmm5
movaps xmm5, xmm0
movaps xmm0, xmm4
sub esp, 8
minss xmm0, xmm6
subss xmm4, xmm6
subss xmm1, xmm0
movaps xmm0, xmm1
movss dword [esp + 0x30], xmm1
mulss xmm0, dword [0x102fdec8]
addss xmm0, dword [0x102fdcd4]
divss xmm4, xmm0
addss xmm4, xmm5
cvtps2pd xmm0, xmm4
movsd qword [esp], xmm0
call fcn.100d7177
movss xmm2, dword [esp + 0x34]
lea ecx, [esp + 0x68]
movss xmm1, dword [esp + 0x30]
movaps xmm0, xmm2
addss xmm0, dword [0x102fdcd4]
mov eax, dword [edi + 0x36e4]
add esp, 8
fstp dword [esp + 0x18]
divss xmm1, xmm0
movss dword [esp + 0x28], xmm1
cmp eax, dword [ecx]
jne 0x1016b2ad
mov eax, dword [edi + 0x36e8]
cmp eax, dword [ecx + 4]
jne 0x1016b2ad
mov eax, dword [edi + 0x36ec]
cmp eax, dword [ecx + 8]
jne 0x1016b2ad
xorps xmm0, xmm0
ucomiss xmm1, xmm0
lahf
test ah, 0x44
jp 0x1016b288
movss xmm1, dword [edi + 0x36dc]
jmp 0x1016b28e
movss xmm1, dword [esp + 0x18]
ucomiss xmm2, xmm0
movss dword [esp + 0x18], xmm1
lahf
test ah, 0x44
jp 0x1016b306
movss xmm0, dword [edi + 0x36e0]
movss dword [esp + 0x28], xmm0
jmp 0x1016b306
movss xmm0, dword [esp + 0x18]
movss dword [esp + 0x18], xmm0
jmp 0x1016b306
nop dword [eax + eax]
test eax, 0x10000000
je 0x1016b306
lea eax, [esp + 0x30]
movaps xmm0, xmm3
push eax
lea edx, [esp + 0x3c]
lea ecx, [esp + 0x54]
call fcn.10144a60
movss xmm0, dword [esp + 0x54]
add esp, 4
movss dword [esp + 0x88], xmm0
movss xmm0, dword [esp + 0x38]
movss dword [esp + 0x78], xmm0
movss xmm0, dword [esp + 0x30]
movss dword [esp + 0x68], xmm0
mov edx, dword [0x10350170]
mov byte ds:[esp + 0x17], 0
mov byte [esp + 0x47], 0
mov byte [esp + 0x27], 0
mov eax, dword [edx + 0x1cfc]
or eax, 8
mov dword [edx + 0x1cfc], eax
mov ecx, dword [edx + 0x1e08]
mov dword [esp + 0x6c], eax
lea eax, [edx + 0x1e04]
mov dword [esp + 0x58], eax
cmp dword [eax], ecx
jne 0x1016b37c
mov edx, dword [eax]
inc edx
mov dword [esp + 0x54], edx
test ecx, ecx
je 0x1016b35e
mov eax, ecx
cdq
sub eax, edx
mov edx, dword [esp + 0x54]
sar eax, 1
add eax, ecx
jmp 0x1016b363
mov eax, 8
mov ecx, dword [esp + 0x58]
cmp eax, edx
cmovg edx, eax
push edx
call fcn.10040000
mov edx, dword [0x10350170]
mov eax, dword [esp + 0x58]
mov ecx, dword [eax]
mov eax, dword [eax + 8]
mov esi, dword [esp + 0x6c]
mov dword [eax + ecx*4], esi
mov eax, dword [esp + 0x58]
mov esi, dword [esp + 0x74]
inc dword [eax]
test dword [ebp + 8], 0x2000000
je 0x1016b555
push ecx
lea edx, [esp + 0x20]
mov dword [esp + 0x20], 0x42e20000
mov ecx, 0x102fc01c
mov dword [esp + 0x24], 0x42e20000
call fcn.1017ad60
mov eax, dword [0x10350170]
add esp, 4
mov ecx, dword [eax + 0x1d14]
test ecx, ecx
je 0x1016b46c
mov eax, dword ds:[eax + 0x1cdc]
cmp ecx, dword [eax + 0x11c]
jne 0x1016b46c
movss xmm5, dword [0x102fdfb0]
xorps xmm1, xmm1
movss xmm4, dword [edi + 0xe4]
movaps xmm0, xmm5
movss xmm2, dword [0x102fdde4]
subss xmm4, dword [esp + 0x48]
subss xmm0, xmm2
divss xmm4, xmm0
comiss xmm1, xmm4
jbe 0x1016b425
movss dword [esp + 0x28], xmm1
jmp 0x1016b432
movaps xmm3, xmm2
minss xmm3, xmm4
movss dword [esp + 0x28], xmm3
movss xmm3, dword [edi + 0xe8]
movaps xmm0, xmm5
subss xmm3, dword [esp + 0x4c]
subss xmm0, xmm2
divss xmm3, xmm0
comiss xmm1, xmm3
ja 0x1016b457
movaps xmm1, xmm2
minss xmm1, xmm3
movaps xmm0, xmm2
mov al, 1
subss xmm0, xmm1
mov byte [esp + 0x17], al
movss dword [esp + 0x2c], xmm0
jmp 0x1016b470
mov al, byte [esp + 0x17]
test byte [ebp + 8], 8
mov byte [esp + 0x27], al
mov byte [esp + 0x5f], al
jne 0x1016b488
mov ecx, str.context
call fcn.10137f00
movss xmm0, dword [esp + 0x4c]
lea ecx, [esp + 0x1c]
movss xmm5, dword [esp + 0x70]
movss dword [esp + 0x1c], xmm5
movss dword [esp + 0x20], xmm0
call fcn.10139ac0
push ecx
lea edx, [esp + 0x20]
mov dword [esp + 0x20], 0x40e00000
mov ecx, 0x102fc028
mov dword [esp + 0x24], 0x42e20000
call fcn.1017ad60
mov edx, dword [0x10350170]
add esp, 4
movss xmm2, dword [esp + 0x4c]
mov ecx, dword [edx + 0x1d14]
test ecx, ecx
je 0x1016b55b
mov eax, dword ds:[edx + 0x1cdc]
mov dl, byte [esp + 0x17]
mov byte [esp + 0x27], dl
mov edx, dword [0x10350170]
cmp ecx, dword [eax + 0x11c]
jne 0x1016b55b
movss xmm0, dword [0x102fdfb0]
movss xmm3, dword [edi + 0xe8]
movss xmm1, dword [0x102fdde4]
subss xmm3, xmm2
subss xmm0, xmm1
divss xmm3, xmm0
xorps xmm0, xmm0
comiss xmm0, xmm3
ja 0x1016b53b
movaps xmm0, xmm1
minss xmm0, xmm3
mov al, byte [esp + 0x5f]
movss dword [esp + 0x18], xmm0
mov byte [esp + 0x47], 1
mov byte [esp + 0x17], 1
mov byte [esp + 0x27], al
jmp 0x1016b55b
movss xmm2, dword [esp + 0x4c]
cmp dword [esp + 0x8c], 0x10000
jne 0x1016b618
movss xmm1, dword [esp + 0x7c]
lea ecx, [esp + 0x1c]
movss dword [esp + 0x1c], xmm1
movss dword [esp + 0x20], xmm2
call fcn.10139ac0
push ecx
lea edx, [esp + 0x20]
mov dword [esp + 0x20], 0x40e00000
mov ecx, 0x102fc02c
mov dword [esp + 0x24], 0x42e20000
call fcn.1017ad60
mov edx, dword [0x10350170]
add esp, 4
movss xmm2, dword [0x102fdde4]
xorps xmm1, xmm1
mov ecx, dword [edx + 0x1d14]
test ecx, ecx
je 0x1016b623
mov eax, dword [edx + 0x1cdc]
cmp ecx, dword [eax + 0x11c]
jne 0x1016b623
movss xmm3, dword [edi + 0xe8]
movss xmm0, dword [0x102fdfb0]
subss xmm3, dword [esp + 0x4c]
subss xmm0, xmm2
divss xmm3, xmm0
comiss xmm1, xmm3
jbe 0x1016b5fa
xorps xmm4, xmm4
jmp 0x1016b601
movaps xmm4, xmm2
minss xmm4, xmm3
mov eax, dword [esp + 0x60]
movaps xmm0, xmm2
subss xmm0, xmm4
mov byte [esp + 0x17], 1
movss dword [eax + 0xc], xmm0
jmp 0x1016b623
movss xmm2, dword [0x102fdde4]
xorps xmm1, xmm1
dec dword [edx + 0x1e04]
cmp byte [esp + 0x47], 0
mov eax, dword [edx + 0x1e0c]
mov ecx, dword [edx + 0x1e04]
movss xmm5, dword [0x102fdedc]
movss dword [esp + 0x58], xmm5
mov eax, dword [eax + ecx*4 - 4]
mov dword [edx + 0x1cfc], eax
jne 0x1016b65f
cmp byte [esp + 0x27], 0
je 0x1016b718
mov eax, dword [ebp + 8]
test eax, 0x8000000
je 0x1016b869
mov eax, dword [esp + 0x60]
movss xmm0, dword [esp + 0x2c]
comiss xmm0, xmm1
lea ecx, [eax + 8]
lea edx, [eax + 4]
movss xmm3, dword [0x102fdcdc]
jbe 0x1016b68f
movaps xmm6, xmm0
jmp 0x1016b692
movaps xmm6, xmm3
movss xmm0, dword [esp + 0x28]
comiss xmm0, xmm1
jbe 0x1016b6a2
movaps xmm4, xmm0
jmp 0x1016b6a9
movaps xmm4, xmm5
mulss xmm4, xmm3
movss xmm1, dword [esp + 0x18]
comiss xmm1, xmm2
jb 0x1016b6c4
movaps xmm0, xmm5
mulss xmm0, xmm3
movaps xmm3, xmm1
subss xmm3, xmm0
jmp 0x1016b6c7
movaps xmm3, xmm1
push ecx
mov ecx, eax
movaps xmm2, xmm6
movaps xmm1, xmm4
movaps xmm0, xmm3
call fcn.10144a60
movss xmm0, dword ds:[esp + 0x1c]
lea ecx, [edi + 0x36e4]
movss xmm1, dword [esp + 0x2c]
add esp, 4
movss dword [edi + 0x36dc], xmm0
movss dword [edi + 0x36e0], xmm1
test ecx, ecx
jne 0x1016b853
call fcn.100bce6c
mov dword [eax], 0x16
call fcn.100bcca8
mov eax, dword [ebp + 8]
mov ecx, dword [esp + 0x60]
cmp byte [esp + 0x17], 0
je 0x1016b94f
test eax, 0x8000000
je 0x1016b8da
movss xmm0, dword [ecx + 4]
xorps xmm3, xmm3
movss xmm5, dword [ecx + 8]
movaps xmm2, xmm0
comiss xmm5, xmm0
movss xmm1, dword [ecx]
movaps xmm4, xmm5
movss dword [esp + 0x2c], xmm1
movss dword [esp + 0x88], xmm1
movss dword [esp + 0x78], xmm0
movss dword [esp + 0x68], xmm5
jbe 0x1016b77a
movss xmm3, dword [0x102fe0ac]
movaps xmm4, xmm0
movaps xmm2, xmm5
comiss xmm2, xmm1
jbe 0x1016b7a5
movaps xmm0, xmm1
movss dword [esp + 0x2c], xmm2
movaps xmm1, xmm2
movaps xmm2, xmm0
movss xmm0, dword [0x102fe0b8]
divss xmm0, dword [0x102fdec8]
subss xmm0, xmm3
movaps xmm3, xmm0
movaps xmm0, xmm2
sub esp, 8
minss xmm0, xmm4
subss xmm2, xmm4
subss xmm1, xmm0
movaps xmm0, xmm1
movss dword [esp + 0x30], xmm1
mulss xmm0, dword [0x102fdec8]
addss xmm0, dword [0x102fdcd4]
divss xmm2, xmm0
addss xmm2, xmm3
cvtps2pd xmm0, xmm2
movsd qword [esp], xmm0
call fcn.100d7177
movss xmm2, dword [esp + 0x34]
lea ecx, [esp + 0x68]
movss xmm1, dword [esp + 0x30]
movaps xmm0, xmm2
addss xmm0, dword [0x102fdcd4]
mov eax, dword [edi + 0x36e4]
add esp, 8
fstp dword [esp + 0x18]
divss xmm1, xmm0
movss dword [esp + 0x28], xmm1
cmp eax, dword [ecx]
jne 0x1016b8cc
mov eax, dword [edi + 0x36e8]
cmp eax, dword [ecx + 4]
jne 0x1016b8cc
mov eax, dword [edi + 0x36ec]
cmp eax, dword [ecx + 8]
jne 0x1016b8cc
xorps xmm0, xmm0
ucomiss xmm1, xmm0
lahf
test ah, 0x44
jp 0x1016b89d
movss xmm1, dword [edi + 0x36dc]
jmp 0x1016b8a3
movq xmm0, qword [esp + 0x60]
mov eax, dword [esp + 0x68]
movq qword [ecx], xmm0
mov dword [ecx + 8], eax
jmp 0x1016b718
test eax, 0x10000000
je 0x1016b71b
mov ecx, dword [esp + 0x60]
movss xmm0, dword [esp + 0x18]
movss xmm1, dword [esp + 0x28]
movss dword [ecx], xmm0
movss xmm0, dword [esp + 0x2c]
movss dword [ecx + 4], xmm1
movss dword [ecx + 8], xmm0
jmp 0x1016b71f
movss xmm1, dword [esp + 0x18]
ucomiss xmm2, xmm0
movss dword [esp + 0x18], xmm1
movaps xmm3, xmm1
lahf
test ah, 0x44
jp 0x1016b958
movss xmm1, dword [edi + 0x36e0]
movss dword [esp + 0x28], xmm1
jmp 0x1016b958
movss xmm3, dword [esp + 0x18]
movss dword [esp + 0x18], xmm3
jmp 0x1016b955
nop word [eax + eax]
test eax, 0x10000000
je 0x1016b94f
movss xmm1, dword ds:[ecx + 8]
lea eax, [esp + 0x30]
movss xmm0, dword [ecx + 4]
lea edx, [esp + 0x38]
movss xmm3, dword [ecx]
movaps xmm2, xmm1
movss dword [esp + 0x2c], xmm1
lea ecx, [esp + 0x50]
movss dword [esp + 0x28], xmm0
movaps xmm1, xmm0
push eax
movaps xmm0, xmm3
movss dword [esp + 0x1c], xmm3
call fcn.10144a60
movss xmm0, dword [esp + 0x54]
add esp, 4
movss dword [esp + 0x88], xmm0
movss xmm0, dword [esp + 0x38]
movss dword [esp + 0x78], xmm0
movss xmm0, dword [esp + 0x30]
movss dword [esp + 0x68], xmm0
movss xmm3, dword [esp + 0x18]
xorps xmm0, xmm0
movss xmm2, dword [edi + 0x1518]
comiss xmm0, xmm2
movss xmm0, dword [0x102fdde4]
jbe 0x1016b972
xorps xmm1, xmm1
jmp 0x1016b979
movaps xmm1, xmm0
minss xmm1, xmm2
mulss xmm1, dword [0x102fe02c]
mov dword [esp + 0xd8], 0x3f800000
movss dword [esp + 0xe4], xmm2
movaps xmm2, xmm0
mov dword [esp + 0xdc], 0x3f800000
addss xmm1, dword [0x102fdd94]
mov dword [esp + 0xe0], 0x3f800000
cvttss2si edx, xmm1
movaps xmm1, xmm0
movaps xmm0, xmm3
shl edx, 0x18
mov eax, edx
mov dword [esp + 0x6c], edx
or eax, 0xffff
mov ecx, edx
mov dword [esp + 0xb4], eax
or ecx, 0xff
mov eax, edx
mov dword [esp + 0xb0], ecx
or eax, 0xff00
mov dword [esp + 0xc8], ecx
mov dword [esp + 0xb8], eax
lea ecx, [esp + 0xd8]
mov eax, edx
mov edi, edx
or eax, 0xffff00
or edi, 0xffffff
mov dword [esp + 0xbc], eax
mov eax, edx
or eax, 0xff0000
mov dword [esp + 0x50], edi
mov dword [esp + 0xc0], eax
mov eax, edx
or eax, 0xff00ff
lea edx, [esp + 0xdc]
mov dword [esp + 0xc4], eax
lea eax, [esp + 0xe0]
push eax
call fcn.10144a60
add esp, 4
lea ecx, [esp + 0xd8]
call fcn.10144cc0
movss xmm1, dword [esp + 0x48]
mov ecx, esi
movss xmm0, dword [esp + 0x4c]
addss xmm1, dword [0x102fdfb0]
addss xmm0, dword [0x102fdfb0]
push edi
push eax
push eax
push edi
lea eax, [esp + 0x2c]
movss dword [esp + 0x2c], xmm1
push eax
lea eax, [esp + 0x5c]
movss dword [esp + 0x34], xmm0
push eax
call fcn.10162580
mov eax, dword [esp + 0x6c]
mov ecx, esi
movss xmm1, dword [esp + 0x48]
movss xmm0, dword [esp + 0x4c]
addss xmm1, dword [0x102fdfb0]
addss xmm0, dword [0x102fdfb0]
push eax
push eax
push 0
push 0
lea eax, [esp + 0x2c]
movss dword [esp + 0x2c], xmm1
push eax
lea eax, [esp + 0x5c]
movss dword [esp + 0x34], xmm0
push eax
call fcn.10162580
movss xmm1, dword [0x102fdde4]
mov ecx, 5
call fcn.10147dc0
movss xmm1, dword [esp + 0x48]
addss xmm1, dword [0x102fdfb0]
movss xmm0, dword [esp + 0x4c]
addss xmm0, dword [0x102fdfb0]
movss xmm3, dword [0x102fde30]
sub esp, 0xc
addss xmm1, xmm3
mov ecx, esi
addss xmm0, xmm3
mov dword [esp + 8], 0x40000000
mov dword [esp], 0x40a00000
movss dword [esp + 0x28], xmm1
movss xmm1, dword [esp + 0x54]
push eax
movss dword [esp + 0x30], xmm0
subss xmm1, xmm3
movss xmm0, dword [esp + 0x5c]
lea eax, [esp + 0x2c]
subss xmm0, xmm3
push eax
lea eax, [esp + 0x50]
push eax
movss dword [esp + 0x54], xmm1
movss dword [esp + 0x58], xmm0
call fcn.10160080
movss xmm1, dword [esp + 0x70]
xor edi, edi
movaps xmm0, xmm1
movss xmm2, dword [esp + 0x4c]
addss xmm0, dword [0x102fdecc]
movaps xmm4, xmm2
movss dword [esp + 0x3c], xmm1
subss xmm4, dword [0x102fde30]
movss dword [esp + 0x1c], xmm0
movss xmm0, dword [0x102fdfb0]
divss xmm0, dword [0x102fdec8]
movss dword [esp + 0x38], xmm4
movaps xmm3, xmm0
movss dword [esp + 0x54], xmm0
addss xmm3, dword [0x102fdde4]
movss dword [esp + 0x30], xmm3
xor eax, eax
mov ecx, dword [esp + edi*4 + 0xb4]
cmp edi, 5
mov edx, dword [esp + edi*4 + 0xb0]
lea esi, [edi + 1]
setne al
push ecx
push ecx
mov ecx, dword [esp + 0x7c]
movd xmm1, eax
lea eax, [esp + 0x24]
cvtdq2ps xmm1, xmm1
push edx
push edx
push eax
lea eax, [esp + 0x50]
push eax
addss xmm1, xmm0
movd xmm0, esi
cvtdq2ps xmm0, xmm0
mulss xmm1, xmm0
movd xmm0, edi
cvtdq2ps xmm0, xmm0
addss xmm1, xmm2
mulss xmm0, xmm3
addss xmm0, xmm4
movss dword [esp + 0x38], xmm1
movss dword [esp + 0x58], xmm0
call fcn.10162580
movss xmm2, dword [esp + 0x4c]
mov edi, esi
movss xmm0, dword [esp + 0x54]
movss xmm3, dword [esp + 0x30]
movss xmm4, dword [esp + 0x38]
cmp edi, 6
jl 0x1016bbc4
mov eax, dword [0x10350170]
xorps xmm1, xmm1
movss xmm2, dword [0x102fdde4]
movups xmm3, xmmword [eax + 0x162c]
comiss xmm1, xmm3
movaps xmm4, xmm3
movaps xmmword [esp + 0x90], xmm3
shufps xmm4, xmm3, 0xff
mulss xmm4, dword [eax + 0x1518]
jbe 0x1016bc84
xorps xmm0, xmm0
jmp 0x1016bc8b
movaps xmm0, xmm2
minss xmm0, xmm3
movss xmm5, dword [0x102fe02c]
movss xmm3, dword [0x102fdd94]
movss xmm6, dword [esp + 0x94]
comiss xmm1, xmm6
mulss xmm0, xmm5
addss xmm0, xmm3
cvttss2si ecx, xmm0
jbe 0x1016bcba
xorps xmm0, xmm0
jmp 0x1016bcc1
movaps xmm0, xmm2
minss xmm0, xmm6
movss xmm6, dword ds:[esp + 0x98]
mulss xmm0, xmm5
addss xmm0, xmm3
cvttss2si eax, xmm0
shl eax, 8
or ecx, eax
comiss xmm1, xmm6
jbe 0x1016bce7
xorps xmm0, xmm0
jmp 0x1016bcee
movaps xmm0, xmm2
minss xmm0, xmm6
mulss xmm0, xmm5
addss xmm0, xmm3
cvttss2si eax, xmm0
shl eax, 0x10
or ecx, eax
comiss xmm1, xmm4
jbe 0x1016bd09
xorps xmm0, xmm0
jmp 0x1016bd10
movaps xmm0, xmm2
minss xmm0, xmm4
movss xmm4, dword [esp + 0x4c]
mulss xmm0, xmm5
movaps xmm6, xmm4
movss xmm5, dword [esp + 0x70]
addss xmm6, xmm2
addss xmm5, dword [0x102fdecc]
movss xmm7, dword [0x102fdfb0]
addss xmm0, xmm3
addss xmm6, xmm7
addss xmm5, xmm2
cvttss2si edi, xmm0
movaps xmm0, xmm4
subss xmm0, dword [0x102fde30]
shl edi, 0x18
or edi, ecx
movss dword [esp + 0x38], xmm0
movss xmm0, dword [esp + 0x70]
subss xmm0, xmm2
movss dword [esp + 0x30], xmm0
test edi, 0xff000000
je 0x1016be1e
movss xmm1, dword [esp + 0x38]
lea eax, [esp + 0x1c]
mov esi, dword [esp + 0x74]
addss xmm0, xmm3
push 0
addss xmm1, xmm3
mov ecx, esi
push eax
test byte [esi + 0x24], 1
lea eax, [esp + 0x44]
movss dword [esp + 0x44], xmm0
push eax
movss dword [esp + 0x4c], xmm1
je 0x1016bdb5
subss xmm5, xmm3
subss xmm6, xmm3
jmp 0x1016bdc5
subss xmm5, dword [0x102fdd90]
subss xmm6, dword [0x102fdd90]
movss xmm3, dword [0x102fdeb8]
movss dword [esp + 0x28], xmm5
movss dword [esp + 0x2c], xmm6
call fcn.10153d40
push ecx
mov dword [esp], 0x40200000
mov ecx, esi
push 1
push edi
push dword [esi + 0x54]
push dword [esi + 0x5c]
call fcn.10155140
movss xmm2, dword [0x102fdde4]
xorps xmm1, xmm1
movss xmm3, dword [0x102fdd94]
movss xmm4, dword [esp + 0x4c]
movss xmm7, dword [0x102fdfb0]
mov dword [esi + 0x54], 0
cmp byte [esp + 0x27], 0
jne 0x1016be33
movss xmm0, dword [0x102fdec8]
movss dword [esp + 0x58], xmm0
mov eax, dword ds:[esp + 0x60]
movss xmm0, dword [eax + 0xc]
comiss xmm1, xmm0
jbe 0x1016be47
xorps xmm5, xmm5
jmp 0x1016be4e
movaps xmm5, xmm2
minss xmm5, xmm0
movaps xmm0, xmm4
movss xmm6, dword [esp + 0x7c]
addss xmm0, xmm7
movss dword [esp + 0x90], xmm6
addss xmm6, dword [0x102fdecc]
movss dword [esp + 0x94], xmm4
movss dword [esp + 0xe8], xmm0
movss dword [esp + 0x9c], xmm0
movss xmm0, dword [esp + 0x18]
mulss xmm0, xmm7
movss dword [esp + 0x54], xmm6
movss dword [esp + 0x98], xmm6
addss xmm0, xmm4
addss xmm0, xmm3
cvttss2si edi, xmm0
movd xmm0, edi
cvtdq2ps xmm0, xmm0
movss dword [esp + 0x3c], xmm0
movaps xmm0, xmm2
subss xmm0, xmm5
mulss xmm0, xmm7
addss xmm0, xmm4
addss xmm0, xmm3
cvttss2si eax, xmm0
mov dword [esp + 0x18], eax
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [esp + 0x40], xmm0
movss xmm0, dword [esp + 0x28]
comiss xmm1, xmm0
jbe 0x1016bef1
xorps xmm5, xmm5
jmp 0x1016bef8
movaps xmm5, xmm2
minss xmm5, xmm0
movss xmm0, dword [esp + 0x48]
mulss xmm5, xmm7
addss xmm5, xmm0
addss xmm5, xmm3
cvttss2si eax, xmm5
movaps xmm5, xmm0
addss xmm0, xmm7
addss xmm5, dword [0x102fde30]
movd xmm6, eax
subss xmm0, dword [0x102fde30]
cvtdq2ps xmm6, xmm6
movss dword [esp + 0x38], xmm5
comiss xmm5, xmm6
ja 0x1016bf44
movaps xmm5, xmm0
minss xmm5, xmm6
movss dword [esp + 0x38], xmm5
movaps xmm0, xmm2
subss xmm0, dword [esp + 0x2c]
comiss xmm1, xmm0
jbe 0x1016bf57
xorps xmm2, xmm2
jmp 0x1016bf5b
minss xmm2, xmm0
mulss xmm2, xmm7
movaps xmm0, xmm4
addss xmm0, dword [0x102fde30]
addss xmm2, xmm4
addss xmm4, xmm7
movss dword [esp + 0x30], xmm0
addss xmm2, xmm3
subss xmm4, dword [0x102fde30]
cvttss2si eax, xmm2
movd xmm1, eax
cvtdq2ps xmm1, xmm1
comiss xmm0, xmm1
ja 0x1016bfa1
movaps xmm0, xmm4
minss xmm0, xmm1
movss dword [esp + 0x30], xmm0
mov eax, dword fs:[0x2c]
mov ecx, dword [0x1034dcac]
movss dword [esp + 0x1c], xmm5
movss dword [esp + 0x20], xmm0
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x1035b384]
cmp eax, dword [ecx + 4]
jg 0x1016c7bc
jmp 0x1016bfdb
movss xmm5, dword [esp + 0x38]
movss xmm0, dword [esp + 0x30]
lea eax, [esp + 0x34]
push eax
lea eax, [esp + 0xa8]
push eax
call fcn.10051040
mov esi, dword [esp + 0xac]
mov eax, dword [0x1035b388]
mov dword [esp + 0x28], esi
mov dword [esp + 0x30], eax
cmp byte [esi + 0xd], 0
jne 0x1016c013
mov ecx, dword [esp + 0x80]
cmp ecx, dword [esi + 0x10]
jae 0x1016c019
mov esi, eax
mov dword [esp + 0x28], eax
nop dword [eax]
cmp esi, eax
jne 0x1016c140
movss xmm1, dword [esp + 0x58]
lea eax, [esp + 0x34]
movss dword [esp + 0xb0], xmm1
movd xmm1, edi
cvtdq2ps xmm1, xmm1
push eax
lea eax, [esp + 0xdc]
push eax
movss dword [esp + 0xc4], xmm5
movss dword [esp + 0xbc], xmm1
movd xmm1, dword [esp + 0x20]
cvtdq2ps xmm1, xmm1
movss dword [esp + 0xc8], xmm0
movss dword [esp + 0xc0], xmm1
call fcn.10051040
mov esi, dword [esp + 0x80]
movq xmm0, qword [eax]
mov eax, dword [eax + 8]
movq qword [esp + 0xa4], xmm0
cmp byte [eax + 0xd], 0
jne 0x1016c09f
cmp esi, dword [eax + 0x10]
jae 0x1016c107
cmp dword [0x1035b38c], 0x6666666
je 0x1016c812
push 0x28
call fcn.1009af98
movups xmm0, xmmword [esp + 0xb4]
mov edi, dword [esp + 0x34]
mov ecx, eax
mov eax, dword [esp + 0xc4]
add esp, 4
movups xmmword [ecx + 0x14], xmm0
mov dword [ecx + 0x10], esi
mov dword [ecx + 0x24], eax
push ecx
push dword [esp + 0xac]
mov dword [ecx], edi
push dword [esp + 0xac]
mov dword [ecx + 4], edi
mov dword [ecx + 8], edi
mov word [ecx + 0xc], 0
mov ecx, 0x1035b388
call fcn.101657e0
mov edi, dword [0x1035b388]
jmp 0x1016c10b
mov edi, dword [esp + 0x30]
lea eax, [esp + 0x34]
push eax
lea eax, [esp + 0xa8]
push eax
call fcn.10051040
mov esi, dword [esp + 0xac]
mov dword [esp + 0x28], esi
cmp byte [esi + 0xd], 0
jne 0x1016c13a
mov ecx, dword [esp + 0x80]
cmp ecx, dword [esi + 0x10]
jae 0x1016c140
mov esi, edi
mov dword [esp + 0x28], esi
mov eax, dword [esp + 0x84]
lea edi, [esi + 0x18]
xor esi, esi
movss xmm0, dword [eax + 0x18]
movss dword [esp + 0x2c], xmm0
nop word [eax + eax]
movss xmm0, dword [edi]
sub esp, 8
subss xmm0, dword [esp + esi*4 + 0x44]
cvtps2pd xmm0, xmm0
movsd qword [esp], xmm0
call fcn.100d7177
movss xmm1, dword [edi]
add esp, 8
movss xmm2, dword [esp + esi*4 + 0x3c]
comiss xmm2, xmm1
fstp dword [esp + 0x34]
jbe 0x1016c1b2
movss xmm0, dword [esp + 0x34]
divss xmm0, dword [0x102fdd20]
mulss xmm0, dword [esp + 0x2c]
addss xmm0, xmm1
minss xmm0, xmm2
movss dword [edi], xmm0
jmp 0x1016c1d7
comiss xmm1, xmm2
jbe 0x1016c1d7
movss xmm0, dword [esp + 0x34]
divss xmm0, dword [0x102fdd20]
mulss xmm0, dword [esp + 0x2c]
subss xmm1, xmm0
maxss xmm1, xmm2
movss dword [edi], xmm1
inc esi
add edi, 4
cmp esi, 2
jl 0x1016c160
mov esi, dword [esp + 0x28]
sub esp, 8
movss xmm0, dword [esp + 0x60]
subss xmm0, dword [esi + 0x14]
cvtps2pd xmm0, xmm0
movsd qword [esp], xmm0
call fcn.100d7177
movss xmm1, dword [esi + 0x14]
add esp, 8
movss xmm2, dword [esp + 0x58]
comiss xmm1, xmm2
fstp dword [esp + 0x34]
jbe 0x1016c242
movss xmm0, dword [esp + 0x34]
divss xmm0, dword [0x102fdd20]
mulss xmm0, dword [esp + 0x2c]
subss xmm1, xmm0
maxss xmm1, xmm2
movss dword [esi + 0x14], xmm1
jmp 0x1016c268
comiss xmm2, xmm1
jbe 0x1016c268
movss xmm0, dword [esp + 0x34]
divss xmm0, dword [0x102fdd20]
mulss xmm0, dword [esp + 0x2c]
addss xmm0, xmm1
minss xmm0, xmm2
movss dword [esi + 0x14], xmm0
lea edi, [esi + 0x20]
xor esi, esi
nop dword [eax]
movss xmm0, dword [edi]
sub esp, 8
subss xmm0, dword [esp + esi*4 + 0x24]
cvtps2pd xmm0, xmm0
movsd qword [esp], xmm0
call fcn.100d7177
movss xmm1, dword ds:[edi]
add esp, 8
movss xmm2, dword [esp + esi*4 + 0x1c]
comiss xmm2, xmm1
fstp dword [esp + 0x34]
jbe 0x1016c2c4
movss xmm0, dword [esp + 0x34]
divss xmm0, dword [0x102fdd14]
mulss xmm0, dword [esp + 0x2c]
addss xmm0, xmm1
minss xmm0, xmm2
movss dword [edi], xmm0
jmp 0x1016c2e9
comiss xmm1, xmm2
jbe 0x1016c2e9
movss xmm0, dword [esp + 0x34]
divss xmm0, dword [0x102fdd14]
mulss xmm0, dword [esp + 0x2c]
subss xmm1, xmm0
maxss xmm1, xmm2
movss dword [edi], xmm1
inc esi
add edi, 4
cmp esi, 2
jl 0x1016c270
movss xmm2, dword [esp + 0x70]
lea eax, [esp + 0x1c]
mov esi, dword [esp + 0x28]
movaps xmm0, xmm2
addss xmm0, dword [0x102fdecc]
mov edi, dword [esp + 0x74]
push ecx
movss xmm1, dword [esi + 0x18]
mov ecx, edi
mov dword [esp], 0x40000000
push dword [esp + 0x54]
movss dword [esp + 0x24], xmm0
push eax
lea eax, [esp + 0x48]
movss dword [esp + 0x2c], xmm1
push eax
movss dword [esp + 0x4c], xmm2
movss dword [esp + 0x50], xmm1
call fcn.10162280
mov eax, dword [esp + 0x84]
xorps xmm1, xmm1
movss xmm3, dword [esp + 0x88]
comiss xmm1, xmm3
movss xmm5, dword [eax + 0x1518]
movss xmm2, dword [0x102fdde4]
jbe 0x1016c376
xorps xmm0, xmm0
jmp 0x1016c37d
movaps xmm0, xmm2
minss xmm0, xmm3
movss xmm4, dword [0x102fe02c]
movss xmm3, dword [0x102fdd94]
movss xmm6, dword [esp + 0x78]
comiss xmm1, xmm6
mulss xmm0, xmm4
addss xmm0, xmm3
cvttss2si ecx, xmm0
jbe 0x1016c3a9
xorps xmm0, xmm0
jmp 0x1016c3b0
movaps xmm0, xmm2
minss xmm0, xmm6
movss xmm6, dword [esp + 0x68]
mulss xmm0, xmm4
addss xmm0, xmm3
cvttss2si eax, xmm0
shl eax, 8
or ecx, eax
comiss xmm1, xmm6
jbe 0x1016c3d1
xorps xmm0, xmm0
jmp 0x1016c3d8
movaps xmm0, xmm2
minss xmm0, xmm6
mulss xmm0, xmm4
addss xmm0, xmm3
cvttss2si eax, xmm0
shl eax, 0x10
or ecx, eax
comiss xmm1, xmm5
jbe 0x1016c3f3
xorps xmm0, xmm0
jmp 0x1016c3fa
movaps xmm0, xmm2
minss xmm0, xmm5
movss xmm5, dword [esi + 0x14]
movss xmm6, dword [0x102fdf0c]
mulss xmm0, xmm4
movss xmm4, dword [0x102fde74]
addss xmm0, xmm3
cvttss2si eax, xmm0
shl eax, 0x18
or eax, ecx
lea ecx, [esi + 0x20]
mov dword [esp + 0x68], eax
test eax, 0xff000000
je 0x1016c498
comiss xmm1, xmm5
jae 0x1016c498
movaps xmm3, xmm4
movaps xmm0, xmm6
mulss xmm3, dword [0x102fde30]
subss xmm0, xmm2
push 0x17
push ecx
movaps xmm2, xmm5
mulss xmm3, xmm0
divss xmm3, xmm6
movss dword [esp], xmm3
xorps xmm3, xmm3
push ecx
mov ecx, edi
call fcn.10154920
push dword [esp + 0x68]
mov ecx, edi
push dword [edi + 0x54]
push dword [edi + 0x5c]
call fcn.10154d40
movss xmm3, dword [0x102fdd94]
xorps xmm1, xmm1
movss xmm4, dword [0x102fde74]
movss xmm6, dword [0x102fdf0c]
mov dword [edi + 0x54], 0
mov ecx, dword [esp + 0x50]
lea eax, [esi + 0x20]
movss xmm5, dword [esi + 0x14]
test ecx, 0xff000000
je 0x1016c510
comiss xmm1, xmm5
jae 0x1016c510
mulss xmm4, dword [0x102fde30]
subss xmm5, xmm3
push 0x17
movaps xmm0, xmm6
xorps xmm3, xmm3
subss xmm0, dword [0x102fdde4]
push ecx
movaps xmm2, xmm5
mov ecx, edi
mulss xmm4, xmm0
divss xmm4, xmm6
movss dword [esp], xmm4
push eax
call fcn.10161620
push ecx
mov dword [esp], 0x3f800000
mov ecx, edi
push 1
push dword [esp + 0x58]
push dword [edi + 0x54]
push dword [edi + 0x5c]
call fcn.10155140
mov ecx, dword [esp + 0x50]
mov dword [edi + 0x54], 0
cmp dword ds:[esp + 0x8c], 0x10000
nop
jne 0x1016c71b
mov eax, dword [esp + 0x6c]
push eax
push eax
push ecx
push ecx
lea eax, [esp + 0xa8]
mov ecx, edi
push eax
lea eax, [esp + 0xa4]
push eax
call fcn.10162580
mov eax, dword [0x10350170]
xorps xmm0, xmm0
movss xmm1, dword [0x102fdde4]
movups xmm2, xmmword [eax + 0x162c]
comiss xmm0, xmm2
movaps xmm4, xmm2
movaps xmmword [esp + 0x90], xmm2
shufps xmm4, xmm2, 0xff
mulss xmm4, dword [eax + 0x1518]
jbe 0x1016c57d
xorps xmm3, xmm3
jmp 0x1016c584
movaps xmm3, xmm1
minss xmm3, xmm2
movss xmm5, dword [0x102fe02c]
movss xmm2, dword [0x102fdd94]
movss xmm6, dword [esp + 0x94]
comiss xmm0, xmm6
mulss xmm3, xmm5
addss xmm3, xmm2
cvttss2si ecx, xmm3
jbe 0x1016c5b3
xorps xmm3, xmm3
jmp 0x1016c5ba
movaps xmm3, xmm1
minss xmm3, xmm6
movss xmm6, dword [esp + 0x98]
mulss xmm3, xmm5
addss xmm3, xmm2
cvttss2si eax, xmm3
shl eax, 8
or ecx, eax
comiss xmm0, xmm6
jbe 0x1016c5de
xorps xmm3, xmm3
jmp 0x1016c5e5
movaps xmm3, xmm1
minss xmm3, xmm6
mulss xmm3, xmm5
addss xmm3, xmm2
cvttss2si eax, xmm3
shl eax, 0x10
or ecx, eax
comiss xmm0, xmm4
ja 0x1016c602
movaps xmm0, xmm1
minss xmm0, xmm4
movss xmm3, dword [esp + 0x54]
movss xmm4, dword [esp + 0x7c]
addss xmm3, xmm1
mulss xmm0, xmm5
subss xmm4, xmm1
movss xmm5, dword [esp + 0xe8]
addss xmm5, dword [0x102fde30]
addss xmm0, xmm2
cvttss2si eax, xmm0
movss xmm0, dword [esp + 0x4c]
subss xmm0, dword [0x102fde30]
shl eax, 0x18
or eax, ecx
mov dword [esp + 0x6c], eax
test eax, 0xff000000
je 0x1016c6d2
test byte [edi + 0x24], 1
addss xmm4, xmm2
addss xmm0, xmm2
mov ecx, edi
push 0
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x44]
movss dword [esp + 0x44], xmm4
movss dword [esp + 0x48], xmm0
push eax
je 0x1016c687
subss xmm3, xmm2
subss xmm5, xmm2
jmp 0x1016c697
subss xmm3, dword [0x102fdd90]
subss xmm5, dword [0x102fdd90]
movss dword [esp + 0x28], xmm3
movss xmm3, dword [0x102fdeb8]
movss dword [esp + 0x2c], xmm5
call fcn.10153d40
push ecx
mov dword [esp], 0x40200000
mov ecx, edi
push 1
push dword [esp + 0x74]
push dword [edi + 0x54]
push dword [edi + 0x5c]
call fcn.10155140
mov dword [edi + 0x54], 0
movss xmm1, dword [esp + 0x54]
lea eax, [esp + 0x1c]
movss xmm0, dword [esi + 0x1c]
push ecx
mov dword [esp], 0x40000000
mov ecx, edi
push dword [esp + 0x54]
movss dword [esp + 0x24], xmm1
movss xmm1, dword [esp + 0x84]
push eax
lea eax, [esp + 0x48]
movss dword [esp + 0x2c], xmm0
push eax
movss dword [esp + 0x4c], xmm1
movss dword [esp + 0x50], xmm0
call fcn.10162280
mov al, byte ds:[esp + 0x17]
test al, al
je 0x1016c7a4
xor ecx, ecx
lea edx, [esp + 0xf0]
cmp dword [esp + 0xec], ecx
lea esi, [esp + 0x60]
sete cl
lea ecx, [ecx*4 + 0xc]
sub ecx, 4
jb 0x1016c765
nop dword [eax + eax]
mov eax, dword [edx]
cmp eax, dword [esi]
jne 0x1016c76a
add edx, 4
add esi, 4
sub ecx, 4
jae 0x1016c750
cmp ecx, 0xfffffffc
je 0x1016c7a2
mov al, byte [edx]
cmp al, byte [esi]
jne 0x1016c79a
cmp ecx, 0xfffffffd
je 0x1016c7a2
mov al, byte [edx + 1]
cmp al, byte [esi + 1]
jne 0x1016c79a
nop dword [eax]
cmp ecx, 0xfffffffe
je 0x1016c7a2
mov al, byte [edx + 2]
cmp al, byte [esi + 2]
jne 0x1016c79a
cmp ecx, 0xffffffff
je 0x1016c7a2
mov al, byte [edx + 3]
cmp al, byte [esi + 3]
je 0x1016c7a2
mov al, byte ds:[esp + 0x17]
jmp 0x1016c7a4
xor al, al
mov ecx, dword [0x10350170]
pop edi
pop esi
mov ecx, dword [ecx + 0x1cdc]
dec dword [ecx + 0xc4]
mov esp, ebp
pop ebp
ret
push 0x1035b384
call fcn.1009af0b
add esp, 4
cmp dword [0x1035b384], 0xffffffff
jne 0x1016bfcf
push 0x28
call fcn.1009af98
add esp, 4
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
push 0x101aeb00
mov dword [0x1035b388], eax
call fcn.1009ae7a
add esp, 4
push 0x1035b384
call fcn.1009aeba
add esp, 4
jmp 0x1016bfcf
call fcn.10007510
int3