Function at 0x10179630
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 [0x1032bb20]
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 0x10179679
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.1014baa0
mov edx, dword [ebp + 8]
lea eax, [edi + 0x36d8]
or edx, 0x10000
mov ecx, 0xa900000
mov dword [ebp + 8], edx
test edx, 0x6000000
jne 0x101796de
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 0x101796fa
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 [0x102cd4fc]
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 [0x102cd3fc]
push eax
addss xmm1, xmm0
movss dword [esp + 0x88], xmm1
call fcn.100bddb0
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 0x1017990a
comiss xmm2, xmm1
xorps xmm5, xmm5
movaps xmm4, xmm1
movaps xmm6, xmm2
jbe 0x10179804
movss xmm5, dword [0x102cd628]
movaps xmm6, xmm1
movaps xmm4, xmm2
comiss xmm4, xmm3
movaps xmm1, xmm3
movss dword [esp + 0x2c], xmm1
jbe 0x10179835
movss xmm0, dword [0x102cd638]
movaps xmm1, xmm4
divss xmm0, dword [0x102cd3f8]
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 [0x102cd3f8]
addss xmm0, dword [0x102cd1e4]
divss xmm4, xmm0
addss xmm4, xmm5
cvtps2pd xmm0, xmm4
movsd qword [esp], xmm0
call fcn.100e5a1a
movss xmm2, dword [esp + 0x34]
lea ecx, [esp + 0x68]
movss xmm1, dword [esp + 0x30]
movaps xmm0, xmm2
addss xmm0, dword [0x102cd1e4]
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 0x101798fc
mov eax, dword [edi + 0x36e8]
cmp eax, dword [ecx + 4]
jne 0x101798fc
mov eax, dword [edi + 0x36ec]
cmp eax, dword [ecx + 8]
jne 0x101798fc
xorps xmm0, xmm0
ucomiss xmm1, xmm0
lahf
test ah, 0x44
jp 0x101798d7
movss xmm1, dword [edi + 0x36dc]
jmp 0x101798dd
movss xmm1, dword [esp + 0x18]
ucomiss xmm2, xmm0
movss dword [esp + 0x18], xmm1
lahf
test ah, 0x44
jp 0x10179950
movss xmm0, dword [edi + 0x36e0]
movss dword [esp + 0x28], xmm0
jmp 0x10179950
movss xmm0, dword [esp + 0x18]
movss dword [esp + 0x18], xmm0
jmp 0x10179950
test eax, 0x10000000
je 0x10179950
lea eax, [esp + 0x30]
movaps xmm0, xmm3
push eax
lea edx, [esp + 0x3c]
lea ecx, [esp + 0x54]
call fcn.10154fa0
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 [0x1032bb20]
mov byte [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 0x101799c4
mov edx, dword [eax]
inc edx
mov dword [esp + 0x54], edx
test ecx, ecx
je 0x101799a6
mov eax, ecx
cdq
sub eax, edx
mov edx, dword [esp + 0x54]
sar eax, 1
add eax, ecx
jmp 0x101799ab
mov eax, 8
mov ecx, dword [esp + 0x58]
cmp eax, edx
cmovg edx, eax
push edx
call fcn.1003cdc0
mov edx, dword [0x1032bb20]
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 0x10179b8c
push ecx
lea edx, [esp + 0x20]
mov dword [esp + 0x20], 0x42e20000
mov ecx, 0x102cb17c
mov dword [esp + 0x24], 0x42e20000
call fcn.10188da0
mov eax, dword [0x1032bb20]
add esp, 4
mov ecx, dword [eax + 0x1d14]
test ecx, ecx
je 0x10179aae
mov eax, dword [eax + 0x1cdc]
cmp ecx, dword [eax + 0x11c]
jne 0x10179aae
movss xmm5, dword [0x102cd4fc]
xorps xmm1, xmm1
movss xmm4, dword [edi + 0xe4]
movaps xmm0, xmm5
movss xmm2, dword [0x102cd2fc]
subss xmm4, dword [esp + 0x48]
subss xmm0, xmm2
divss xmm4, xmm0
comiss xmm1, xmm4
jbe 0x10179a67
movss dword [esp + 0x28], xmm1
jmp 0x10179a74
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 0x10179a99
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 0x10179ab2
mov al, byte [esp + 0x17]
test byte [ebp + 8], 8
mov byte [esp + 0x27], al
mov byte [esp + 0x5f], al
jne 0x10179aca
mov ecx, str.context
call fcn.10149130
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.1014aaf0
push ecx
lea edx, [esp + 0x20]
mov dword [esp + 0x20], 0x40e00000
mov ecx, 0x102cb188
mov dword [esp + 0x24], 0x42e20000
call fcn.10188da0
mov edx, dword [0x1032bb20]
add esp, 4
movss xmm2, dword [esp + 0x4c]
mov ecx, dword [edx + 0x1d14]
test ecx, ecx
je 0x10179b92
mov eax, dword [edx + 0x1cdc]
mov dl, byte [esp + 0x17]
mov byte [esp + 0x27], dl
mov edx, dword [0x1032bb20]
cmp ecx, dword [eax + 0x11c]
jne 0x10179b92
movss xmm0, dword [0x102cd4fc]
movss xmm3, dword [edi + 0xe8]
movss xmm1, dword [0x102cd2fc]
subss xmm3, xmm2
subss xmm0, xmm1
divss xmm3, xmm0
xorps xmm0, xmm0
comiss xmm0, xmm3
ja 0x10179b72
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 0x10179b92
movss xmm2, dword [esp + 0x4c]
cmp dword [esp + 0x8c], 0x10000
jne 0x10179c4f
movss xmm1, dword [esp + 0x7c]
lea ecx, [esp + 0x1c]
movss dword [esp + 0x1c], xmm1
movss dword [esp + 0x20], xmm2
call fcn.1014aaf0
push ecx
lea edx, [esp + 0x20]
mov dword [esp + 0x20], 0x40e00000
mov ecx, 0x102cb18c
mov dword [esp + 0x24], 0x42e20000
call fcn.10188da0
mov edx, dword [0x1032bb20]
add esp, 4
movss xmm2, dword [0x102cd2fc]
xorps xmm1, xmm1
mov ecx, dword [edx + 0x1d14]
test ecx, ecx
je 0x10179c5a
mov eax, dword [edx + 0x1cdc]
cmp ecx, dword [eax + 0x11c]
jne 0x10179c5a
movss xmm3, dword [edi + 0xe8]
movss xmm0, dword [0x102cd4fc]
subss xmm3, dword [esp + 0x4c]
subss xmm0, xmm2
divss xmm3, xmm0
comiss xmm1, xmm3
jbe 0x10179c31
xorps xmm4, xmm4
jmp 0x10179c38
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 0x10179c5a
movss xmm2, dword [0x102cd2fc]
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 [0x102cd40c]
movss dword [esp + 0x58], xmm5
mov eax, dword [eax + ecx*4 - 4]
mov dword [edx + 0x1cfc], eax
jne 0x10179c96
cmp byte [esp + 0x27], 0
je 0x10179d4c
mov eax, dword [ebp + 8]
test eax, 0x8000000
je 0x10179e9d
mov eax, dword [esp + 0x60]
movss xmm0, dword [esp + 0x2c]
comiss xmm0, xmm1
lea ecx, [eax + 8]
lea edx, [eax + 4]
movss xmm3, dword [0x102cd1ec]
jbe 0x10179cc6
movaps xmm6, xmm0
jmp 0x10179cc9
movaps xmm6, xmm3
movss xmm0, dword [esp + 0x28]
comiss xmm0, xmm1
jbe 0x10179cd9
movaps xmm4, xmm0
jmp 0x10179ce0
movaps xmm4, xmm5
mulss xmm4, xmm3
movss xmm1, dword [esp + 0x18]
comiss xmm1, xmm2
jb 0x10179cfb
movaps xmm0, xmm5
mulss xmm0, xmm3
movaps xmm3, xmm1
subss xmm3, xmm0
jmp 0x10179cfe
movaps xmm3, xmm1
push ecx
mov ecx, eax
movaps xmm2, xmm6
movaps xmm1, xmm4
movaps xmm0, xmm3
call fcn.10154fa0
movss xmm0, dword [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 0x10179e87
call fcn.100cb6bc
mov dword [eax], 0x16
call fcn.100cb4f8
mov eax, dword [ebp + 8]
mov ecx, dword [esp + 0x60]
cmp byte [esp + 0x17], 0
je 0x10179f7a
test eax, 0x8000000
je 0x10179f0e
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 0x10179dae
movss xmm3, dword [0x102cd628]
movaps xmm4, xmm0
movaps xmm2, xmm5
comiss xmm2, xmm1
jbe 0x10179dd9
movaps xmm0, xmm1
movss dword [esp + 0x2c], xmm2
movaps xmm1, xmm2
movaps xmm2, xmm0
movss xmm0, dword [0x102cd638]
divss xmm0, dword [0x102cd3f8]
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 [0x102cd3f8]
addss xmm0, dword [0x102cd1e4]
divss xmm2, xmm0
addss xmm2, xmm3
cvtps2pd xmm0, xmm2
movsd qword [esp], xmm0
call fcn.100e5a1a
movss xmm2, dword [esp + 0x34]
lea ecx, [esp + 0x68]
movss xmm1, dword [esp + 0x30]
movaps xmm0, xmm2
addss xmm0, dword [0x102cd1e4]
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 0x10179f00
mov eax, dword [edi + 0x36e8]
cmp eax, dword [ecx + 4]
jne 0x10179f00
mov eax, dword [edi + 0x36ec]
cmp eax, dword [ecx + 8]
jne 0x10179f00
xorps xmm0, xmm0
ucomiss xmm1, xmm0
lahf
test ah, 0x44
jp 0x10179ed1
movss xmm1, dword [edi + 0x36dc]
jmp 0x10179ed7
movq xmm0, qword [esp + 0x60]
mov eax, dword [esp + 0x68]
movq qword [ecx], xmm0
mov dword [ecx + 8], eax
jmp 0x10179d4c
test eax, 0x10000000
je 0x10179d4f
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 0x10179d53
movss xmm1, dword [esp + 0x18]
ucomiss xmm2, xmm0
movss dword [esp + 0x18], xmm1
movaps xmm3, xmm1
lahf
test ah, 0x44
jp 0x10179f83
movss xmm1, dword [edi + 0x36e0]
movss dword [esp + 0x28], xmm1
jmp 0x10179f83
movss xmm3, dword [esp + 0x18]
movss dword [esp + 0x18], xmm3
jmp 0x10179f80
test eax, 0x10000000
je 0x10179f7a
movss xmm1, dword [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.10154fa0
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 [0x102cd2fc]
jbe 0x10179f9d
xorps xmm1, xmm1
jmp 0x10179fa4
movaps xmm1, xmm0
minss xmm1, xmm2
mulss xmm1, dword [0x102cd588]
mov dword [esp + 0xd8], 0x3f800000
movss dword [esp + 0xe4], xmm2
movaps xmm2, xmm0
mov dword [esp + 0xdc], 0x3f800000
addss xmm1, dword [0x102cd2ac]
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.10154fa0
add esp, 4
lea ecx, [esp + 0xd8]
call fcn.1015c630
movss xmm1, dword [esp + 0x48]
mov ecx, esi
movss xmm0, dword [esp + 0x4c]
addss xmm1, dword [0x102cd4fc]
addss xmm0, dword [0x102cd4fc]
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.10171580
mov eax, dword [esp + 0x6c]
mov ecx, esi
movss xmm1, dword [esp + 0x48]
movss xmm0, dword [esp + 0x4c]
addss xmm1, dword [0x102cd4fc]
addss xmm0, dword [0x102cd4fc]
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.10171580
movss xmm1, dword [0x102cd2fc]
mov ecx, 5
call fcn.10157eb0
movss xmm1, dword [esp + 0x48]
addss xmm1, dword [0x102cd4fc]
movss xmm0, dword [esp + 0x4c]
addss xmm0, dword [0x102cd4fc]
movss xmm3, dword [0x102cd360]
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.1016f2c0
movss xmm1, dword [esp + 0x70]
xor edi, edi
movaps xmm0, xmm1
movss xmm2, dword [esp + 0x4c]
addss xmm0, dword [0x102cd3fc]
movaps xmm4, xmm2
movss dword [esp + 0x3c], xmm1
subss xmm4, dword [0x102cd360]
movss dword [esp + 0x1c], xmm0
movss xmm0, dword [0x102cd4fc]
divss xmm0, dword [0x102cd3f8]
movss dword [esp + 0x38], xmm4
movaps xmm3, xmm0
movss dword [esp + 0x54], xmm0
addss xmm3, dword [0x102cd2fc]
movss dword [esp + 0x30], xmm3
nop
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.10171580
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 0x1017a1f0
mov eax, dword [0x1032bb20]
xorps xmm1, xmm1
movss xmm2, dword [0x102cd2fc]
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 0x1017a2b0
xorps xmm0, xmm0
jmp 0x1017a2b7
movaps xmm0, xmm2
minss xmm0, xmm3
movss xmm5, dword [0x102cd588]
movss xmm3, dword [0x102cd2ac]
movss xmm6, dword [esp + 0x94]
comiss xmm1, xmm6
mulss xmm0, xmm5
addss xmm0, xmm3
cvttss2si ecx, xmm0
jbe 0x1017a2e6
xorps xmm0, xmm0
jmp 0x1017a2ed
movaps xmm0, xmm2
minss xmm0, xmm6
movss xmm6, dword [esp + 0x98]
mulss xmm0, xmm5
addss xmm0, xmm3
cvttss2si eax, xmm0
shl eax, 8
or ecx, eax
comiss xmm1, xmm6
jbe 0x1017a311
xorps xmm0, xmm0
jmp 0x1017a318
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 0x1017a333
xorps xmm0, xmm0
jmp 0x1017a33a
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 [0x102cd3fc]
movss xmm7, dword [0x102cd4fc]
addss xmm0, xmm3
addss xmm6, xmm7
addss xmm5, xmm2
cvttss2si edi, xmm0
movaps xmm0, xmm4
subss xmm0, dword [0x102cd360]
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 0x1017a448
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 0x1017a3df
subss xmm5, xmm3
subss xmm6, xmm3
jmp 0x1017a3ef
subss xmm5, dword [0x102cd2a8]
subss xmm6, dword [0x102cd2a8]
movss xmm3, dword [0x102cd3e8]
movss dword [esp + 0x28], xmm5
movss dword [esp + 0x2c], xmm6
call fcn.101636e0
push ecx
mov dword [esp], 0x40200000
mov ecx, esi
push 1
push edi
push dword [esi + 0x54]
push dword [esi + 0x5c]
call fcn.10164a90
movss xmm2, dword [0x102cd2fc]
xorps xmm1, xmm1
movss xmm3, dword [0x102cd2ac]
movss xmm4, dword [esp + 0x4c]
movss xmm7, dword [0x102cd4fc]
mov dword [esi + 0x54], 0
cmp byte [esp + 0x27], 0
jne 0x1017a45d
movss xmm0, dword [0x102cd3f8]
movss dword [esp + 0x58], xmm0
mov eax, dword [esp + 0x60]
movss xmm0, dword [eax + 0xc]
comiss xmm1, xmm0
jbe 0x1017a470
xorps xmm5, xmm5
jmp 0x1017a477
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 [0x102cd3fc]
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 0x1017a51a
xorps xmm5, xmm5
jmp 0x1017a521
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 [0x102cd360]
movd xmm6, eax
subss xmm0, dword [0x102cd360]
cvtdq2ps xmm6, xmm6
movss dword [esp + 0x38], xmm5
comiss xmm5, xmm6
ja 0x1017a56d
movaps xmm5, xmm0
minss xmm5, xmm6
movss dword [esp + 0x38], xmm5
movaps xmm0, xmm2
subss xmm0, dword [esp + 0x2c]
comiss xmm1, xmm0
jbe 0x1017a580
xorps xmm2, xmm2
jmp 0x1017a584
minss xmm2, xmm0
mulss xmm2, xmm7
movaps xmm0, xmm4
addss xmm0, dword [0x102cd360]
addss xmm2, xmm4
addss xmm4, xmm7
movss dword [esp + 0x30], xmm0
addss xmm2, xmm3
subss xmm4, dword [0x102cd360]
cvttss2si eax, xmm2
movd xmm1, eax
cvtdq2ps xmm1, xmm1
comiss xmm0, xmm1
ja 0x1017a5ca
movaps xmm0, xmm4
minss xmm0, xmm1
movss dword [esp + 0x30], xmm0
mov eax, dword fs:[0x2c]
mov ecx, dword [0x10329638]
movss dword [esp + 0x1c], xmm5
movss dword [esp + 0x20], xmm0
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x10336d64]
cmp eax, dword [ecx + 4]
jg 0x1017adb8
jmp 0x1017a604
movss xmm5, dword [esp + 0x38]
movss xmm0, dword [esp + 0x30]
lea eax, [esp + 0x34]
push eax
lea eax, [esp + 0xa8]
push eax
call fcn.1004d310
mov esi, dword [esp + 0xac]
mov eax, dword [0x10336d68]
mov dword [esp + 0x28], esi
mov dword [esp + 0x30], eax
cmp byte [esi + 0xd], 0
jne 0x1017a63c
mov ecx, dword [esp + 0x80]
cmp ecx, dword [esi + 0x10]
jae 0x1017a642
mov esi, eax
mov dword [esp + 0x28], eax
cmp esi, eax
jne 0x1017a762
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.1004d310
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 0x1017a6c1
cmp esi, dword [eax + 0x10]
jae 0x1017a729
cmp dword [0x10336d6c], 0x6666666
je 0x1017ae0e
push 0x28
call fcn.100bbd3c
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, 0x10336d68
call fcn.10174550
mov edi, dword [0x10336d68]
jmp 0x1017a72d
mov edi, dword [esp + 0x30]
lea eax, [esp + 0x34]
push eax
lea eax, [esp + 0xa8]
push eax
call fcn.1004d310
mov esi, dword [esp + 0xac]
mov dword [esp + 0x28], esi
cmp byte [esi + 0xd], 0
jne 0x1017a75c
mov ecx, dword [esp + 0x80]
cmp ecx, dword [esi + 0x10]
jae 0x1017a762
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 dword [eax]
movss xmm0, dword [edi]
sub esp, 8
subss xmm0, dword [esp + esi*4 + 0x44]
cvtps2pd xmm0, xmm0
movsd qword [esp], xmm0
call fcn.100e5a1a
movss xmm1, dword [edi]
add esp, 8
movss xmm2, dword [esp + esi*4 + 0x3c]
comiss xmm2, xmm1
fstp dword [esp + 0x34]
jbe 0x1017a7d2
movss xmm0, dword [esp + 0x34]
divss xmm0, dword [0x102cd234]
mulss xmm0, dword [esp + 0x2c]
addss xmm0, xmm1
minss xmm0, xmm2
movss dword [edi], xmm0
jmp 0x1017a7f7
comiss xmm1, xmm2
jbe 0x1017a7f7
movss xmm0, dword [esp + 0x34]
divss xmm0, dword [0x102cd234]
mulss xmm0, dword [esp + 0x2c]
subss xmm1, xmm0
maxss xmm1, xmm2
movss dword [edi], xmm1
inc esi
add edi, 4
cmp esi, 2
jl 0x1017a780
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.100e5a1a
movss xmm1, dword [esi + 0x14]
add esp, 8
movss xmm2, dword [esp + 0x58]
comiss xmm1, xmm2
fstp dword [esp + 0x34]
jbe 0x1017a859
movss xmm0, dword [esp + 0x34]
divss xmm0, dword [0x102cd234]
mulss xmm0, dword [esp + 0x2c]
subss xmm1, xmm0
maxss xmm1, xmm2
movss dword [esi + 0x14], xmm1
jmp 0x1017a87f
comiss xmm2, xmm1
jbe 0x1017a87f
movss xmm0, dword [esp + 0x34]
divss xmm0, dword [0x102cd234]
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]
nop dword [eax + eax]
movss xmm0, dword [edi]
sub esp, 8
subss xmm0, dword [esp + esi*4 + 0x24]
cvtps2pd xmm0, xmm0
movsd qword [esp], xmm0
call fcn.100e5a1a
movss xmm1, dword [edi]
add esp, 8
movss xmm2, dword [esp + esi*4 + 0x1c]
comiss xmm2, xmm1
fstp dword [esp + 0x34]
jbe 0x1017a8e2
movss xmm0, dword [esp + 0x34]
divss xmm0, dword [0x102cd228]
mulss xmm0, dword [esp + 0x2c]
addss xmm0, xmm1
minss xmm0, xmm2
movss dword [edi], xmm0
jmp 0x1017a907
comiss xmm1, xmm2
jbe 0x1017a907
movss xmm0, dword [esp + 0x34]
divss xmm0, dword [0x102cd228]
mulss xmm0, dword [esp + 0x2c]
subss xmm1, xmm0
maxss xmm1, xmm2
movss dword [edi], xmm1
inc esi
add edi, 4
cmp esi, 2
jl 0x1017a890
movss xmm2, dword [esp + 0x70]
lea eax, [esp + 0x1c]
mov esi, dword [esp + 0x28]
movaps xmm0, xmm2
addss xmm0, dword [0x102cd3fc]
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.10171770
mov eax, dword [esp + 0x84]
xorps xmm1, xmm1
movss xmm3, dword [esp + 0x88]
comiss xmm1, xmm3
movss xmm5, dword [eax + 0x1518]
movss xmm2, dword [0x102cd2fc]
jbe 0x1017a990
xorps xmm0, xmm0
jmp 0x1017a997
movaps xmm0, xmm2
minss xmm0, xmm3
movss xmm4, dword [0x102cd588]
movss xmm3, dword [0x102cd2ac]
movss xmm6, dword [esp + 0x78]
comiss xmm1, xmm6
mulss xmm0, xmm4
addss xmm0, xmm3
cvttss2si ecx, xmm0
jbe 0x1017a9c3
xorps xmm0, xmm0
jmp 0x1017a9ca
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 0x1017a9eb
xorps xmm0, xmm0
jmp 0x1017a9f2
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 0x1017aa0d
xorps xmm0, xmm0
jmp 0x1017aa14
movaps xmm0, xmm2
minss xmm0, xmm5
movss xmm5, dword [esi + 0x14]
movss xmm6, dword [0x102cd43c]
mulss xmm0, xmm4
movss xmm4, dword [0x102cd3ac]
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 0x1017aab0
comiss xmm1, xmm5
jae 0x1017aab0
movaps xmm3, xmm4
movaps xmm0, xmm6
mulss xmm3, dword [0x102cd360]
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.10164280
push dword [esp + 0x68]
mov ecx, edi
push dword [edi + 0x54]
push dword [edi + 0x5c]
call fcn.101646a0
movss xmm3, dword [0x102cd2ac]
xorps xmm1, xmm1
movss xmm4, dword [0x102cd3ac]
movss xmm6, dword [0x102cd43c]
mov dword [edi + 0x54], 0
mov ecx, dword [esp + 0x50]
lea eax, [esi + 0x20]
movss xmm5, dword [esi + 0x14]
test ecx, 0xff000000
je 0x1017ab24
comiss xmm1, xmm5
jae 0x1017ab24
mulss xmm4, dword [0x102cd360]
subss xmm5, xmm3
push 0x17
movaps xmm0, xmm6
xorps xmm3, xmm3
subss xmm0, dword [0x102cd2fc]
push ecx
movaps xmm2, xmm5
mov ecx, edi
mulss xmm4, xmm0
divss xmm4, xmm6
movss dword [esp], xmm4
push eax
call fcn.101707d0
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.10164a90
mov ecx, dword [esp + 0x50]
mov dword [edi + 0x54], 0
cmp dword [esp + 0x8c], 0x10000
jne 0x1017ad2a
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.10171580
mov eax, dword [0x1032bb20]
xorps xmm0, xmm0
movss xmm1, dword [0x102cd2fc]
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 0x1017ab8c
xorps xmm3, xmm3
jmp 0x1017ab93
movaps xmm3, xmm1
minss xmm3, xmm2
movss xmm5, dword [0x102cd588]
movss xmm2, dword [0x102cd2ac]
movss xmm6, dword [esp + 0x94]
comiss xmm0, xmm6
mulss xmm3, xmm5
addss xmm3, xmm2
cvttss2si ecx, xmm3
jbe 0x1017abc2
xorps xmm3, xmm3
jmp 0x1017abc9
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 0x1017abed
xorps xmm3, xmm3
jmp 0x1017abf4
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 0x1017ac11
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 [0x102cd360]
addss xmm0, xmm2
cvttss2si eax, xmm0
movss xmm0, dword [esp + 0x4c]
subss xmm0, dword [0x102cd360]
shl eax, 0x18
or eax, ecx
mov dword [esp + 0x6c], eax
test eax, 0xff000000
je 0x1017ace1
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 0x1017ac96
subss xmm3, xmm2
subss xmm5, xmm2
jmp 0x1017aca6
subss xmm3, dword [0x102cd2a8]
subss xmm5, dword [0x102cd2a8]
movss dword [esp + 0x28], xmm3
movss xmm3, dword [0x102cd3e8]
movss dword [esp + 0x2c], xmm5
call fcn.101636e0
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.10164a90
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.10171770
mov al, byte [esp + 0x17]
test al, al
je 0x1017ada0
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 0x1017ad66
mov eax, dword [edx]
cmp eax, dword [esi]
jne 0x1017ad6b
add edx, 4
add esi, 4
sub ecx, 4
jae 0x1017ad55
cmp ecx, 0xfffffffc
je 0x1017ad9e
mov al, byte [edx]
cmp al, byte [esi]
jne 0x1017ad98
cmp ecx, 0xfffffffd
je 0x1017ad9e
mov al, byte [edx + 1]
cmp al, byte [esi + 1]
jne 0x1017ad98
cmp ecx, 0xfffffffe
je 0x1017ad9e
mov al, byte [edx + 2]
cmp al, byte [esi + 2]
jne 0x1017ad98
cmp ecx, 0xffffffff
je 0x1017ad9e
mov al, byte [edx + 3]
cmp al, byte [esi + 3]
je 0x1017ad9e
mov al, byte [esp + 0x17]
jmp 0x1017ada0
xor al, al
mov ecx, dword [0x1032bb20]
pop edi
pop esi
mov ecx, dword [ecx + 0x1cdc]
dec dword [ecx + 0xc4]
mov esp, ebp
pop ebp
ret
push 0x10336d64
call fcn.100bbde8
add esp, 4
cmp dword [0x10336d64], 0xffffffff
jne 0x1017a5f8
push 0x28
call fcn.100bbd3c
add esp, 4
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
push 0x101c12a0
mov dword [0x10336d68], eax
call fcn.100bbd22
add esp, 4
push 0x10336d64
call fcn.100bbd97
add esp, 4
jmp 0x1017a5f8
call fcn.100073f0
int3