Function at 0x1016fd60
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x58
mov ecx, dword [0x1027efb4]
push esi
push edi
mov byte [esp + 0xd], dl
mov eax, dword [ecx + 0x1cdc]
mov dword [esp + 0x10], ecx
mov byte [eax + 0x8c], 1
mov edi, dword [ecx + 0x1cdc]
cmp byte [edi + 0x8f], 0
jne 0x1017075e
mov ecx, dword [edi + 0xc4]
xor edx, edx
mov eax, dword [edi + 0xcc]
push dword [eax + ecx*4 - 4]
mov ecx, str.Create__Save
call fcn.1012f0e0
mov esi, eax
add esp, 4
mov eax, dword [esp + 0x10]
cmp dword [eax + 0x1d14], esi
jne 0x1016fdce
mov dword [eax + 0x1d18], esi
cmp dword [eax + 0x1d4c], esi
jne 0x1016fddd
mov byte [eax + 0x1d50], 1
mov ecx, str.Create__Save
mov edx, ecx
cmp edx, 0xffffffff
jae 0x1016fe0b
nop dword [eax]
mov dl, byte [ecx]
test dl, dl
je 0x1016fe0b
cmp dl, 0x23
jne 0x1016fe05
nop dword [eax + eax]
cmp byte [ecx + 1], dl
je 0x1016fe0b
inc ecx
cmp ecx, 0xffffffff
jb 0x1016fdf0
movss xmm4, dword ds:[eax + 0x1a70]
mov edx, dword [eax + 0x1a6c]
movss dword [esp + 0x1c], xmm4
cmp ecx, str.Create__Save
jne 0x1016fe2d
xorps xmm3, xmm3
jmp 0x1016fe7d
movss xmm3, dword [0x1022ce20]
lea eax, [esp + 0x30]
push 0
push ecx
push str.Create__Save
push ecx
mov dword [esp], 0xbf800000
movaps xmm2, xmm4
push eax
mov ecx, edx
call fcn.10149480
movss xmm0, dword [esp + 0x30]
addss xmm0, dword [0x1022cbac]
movss xmm4, dword [esp + 0x34]
movss dword [esp + 0x1c], xmm4
cvttss2si eax, xmm0
movd xmm3, eax
mov eax, dword [esp + 0x10]
cvtdq2ps xmm3, xmm3
movss xmm0, dword [edi + 0xd0]
lea ecx, [esp + 0x30]
subss xmm0, dword [edi + 0xc]
movss xmm1, dword [edi + 0x14]
movss xmm2, dword [eax + 0x1554]
mulss xmm2, dword [0x1022cbf0]
mov dword [esp + 0x34], 0x41f00000
push dword [esp + 0x34]
subss xmm1, xmm0
movss dword [esp + 0x1c], xmm3
addss xmm2, xmm4
subss xmm1, dword [0x1022cc70]
movss dword [esp + 0x34], xmm1
movss xmm1, dword [eax + 0x1550]
mulss xmm1, dword [0x1022cbf0]
push dword [esp + 0x34]
addss xmm1, xmm3
call fcn.10122b00
movss xmm1, dword [edi + 0xd4]
movss xmm3, dword [edi + 0xd0]
movaps xmm0, xmm1
addss xmm0, dword [esp + 0x3c]
mov eax, dword [esp + 0x18]
movaps xmm2, xmm3
addss xmm2, dword [esp + 0x38]
movss dword [esp + 0x4c], xmm1
movss dword [esp + 0x48], xmm3
movss xmm1, dword [eax + 0x1554]
movss dword [esp + 0x54], xmm0
movss dword [esp + 0x50], xmm2
call fcn.101232c0
add esp, 4
lea ecx, [esp + 0x44]
mov edx, esi
push 0
call fcn.101230a0
add esp, 8
test al, al
je 0x1017075e
push 0
lea eax, [esp + 0x12]
mov edx, esi
push eax
lea eax, [esp + 0x17]
push eax
lea ecx, [esp + 0x4c]
call fcn.10166f80
mov ecx, dword [0x1027efb4]
add esp, 0xc
mov byte [esp + 0xc], al
mov eax, dword fs:[0x2c]
movups xmm0, xmmword [ecx + 0x181c]
mov ecx, dword [0x1027db70]
movaps xmmword [esp + 0x30], xmm0
movaps xmmword [esp + 0x50], xmm0
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x1028a0e0]
cmp eax, dword [ecx + 4]
jg 0x10170764
cmp byte [esp + 0xc], 0
je 0x101701d6
cmp byte ds:[esp + 0xd], 0
je 0x101700df
mov ecx, dword [0x1027c640]
mov eax, dword [ecx]
mov eax, dword [eax + 8]
call eax
test al, al
je 0x10170203
mov esi, dword [0x1027c640]
call fcn.10077b85
sub eax, 0x989680
mov dword [esi + 0x1f8], eax
sbb edx, 0
mov dword [esi + 0x1fc], edx
mov esi, dword [0x1027c640]
mov edi, dword [esi + 0x200]
cmp edi, dword [esi + 0x204]
je 0x10170075
mov eax, dword [0x1027c628]
mov eax, dword [eax + 0x1c]
add eax, 0x60
mov dword [esp + 0x14], eax
nop dword [eax]
mov edx, dword [edi]
mov ecx, eax
add edx, 0x18
lea eax, [ecx + 1]
mov dword [esp + 0x20], eax
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10170030
sub ecx, dword [esp + 0x20]
cmp dword [edx + 0x14], 0xf
mov eax, dword [edx + 0x10]
jbe 0x10170046
mov edx, dword [edx]
push ecx
push dword [esp + 0x18]
push eax
push edx
call fcn.10003b00
add esp, 0x10
test al, al
jne 0x1017006a
mov eax, dword [esp + 0x14]
add edi, 4
cmp edi, dword [esi + 0x204]
jne 0x10170020
jmp 0x10170075
mov eax, dword [edi]
mov eax, dword [eax + 0x30]
mov dword [esi + 0x10c], eax
mov eax, dword [0x1027c628]
push 0x1021e148
mov eax, dword [eax + 0x1c]
add eax, 0x60
push eax
call fcn.10041c00
mov eax, dword [0x1027c628]
lea edx, [esp + 0x38]
sub esp, 0x10
mov dword [esp + 0x48], 0xb0000000
mov ecx, esp
sub esp, 8
mov esi, dword [eax + 0x1c]
lea eax, [esi + 0x60]
mov dword [esp + 0x54], eax
mov eax, esp
push 0x14
push str._created_and_saved
mov dword [eax], 1
mov dword [eax + 4], edx
call fcn.1001ebc0
add esp, 0xc
mov ecx, esi
call fcn.1010da00
mov ecx, dword [0x1027c640]
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x10170203
mov ecx, dword [0x1027c644]
mov eax, dword [ecx]
mov eax, dword [eax + 8]
call eax
test al, al
je 0x10170203
mov esi, dword [0x1027c644]
mov edi, dword [esi + 0x200]
cmp edi, dword [esi + 0x204]
je 0x1017016a
mov eax, dword [0x1027c628]
mov eax, dword [eax + 0x1c]
add eax, 0x40
mov dword [esp + 0x14], eax
mov edx, dword [edi]
mov ecx, eax
add edx, 0x18
lea eax, [ecx + 1]
mov dword [esp + 0x30], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10170125
sub ecx, dword [esp + 0x30]
cmp dword [edx + 0x14], 0xf
mov eax, dword [edx + 0x10]
jbe 0x1017013b
mov edx, dword [edx]
push ecx
push dword [esp + 0x18]
push eax
push edx
call fcn.10003b00
add esp, 0x10
test al, al
jne 0x1017015f
mov eax, dword [esp + 0x14]
add edi, 4
cmp edi, dword [esi + 0x204]
jne 0x10170117
jmp 0x1017016a
mov eax, dword [edi]
mov eax, dword [eax + 0x30]
mov dword [esi + 0x10c], eax
mov eax, dword [0x1027c628]
push 0x1021e148
mov eax, dword ds:[eax + 0x1c]
add eax, 0x40
push eax
call fcn.10041c00
mov eax, dword [0x1027c628]
lea edx, [esp + 0x38]
sub esp, 0x10
mov dword [esp + 0x48], 0xb0000000
mov ecx, esp
sub esp, 8
mov esi, dword [eax + 0x1c]
lea eax, [esi + 0x40]
mov dword [esp + 0x54], eax
mov eax, esp
push 0x14
push str._created_and_saved
mov dword [eax], 1
mov dword [eax + 4], edx
call fcn.1001ebc0
add esp, 0xc
mov ecx, esi
call fcn.1010da00
mov ecx, dword [0x1027c644]
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x10170203
cmp byte [esp + 0xe], 0
je 0x101701eb
mov eax, dword [0x1027efb4]
movups xmm0, xmmword [eax + 0x180c]
jmp 0x101701fe
cmp byte [esp + 0xf], 0
je 0x10170203
mov eax, dword [0x1027efb4]
movups xmm0, xmmword [eax + 0x17fc]
movups xmmword [esp + 0x50], xmm0
mov edi, dword [0x1027efb4]
xor esi, esi
nop dword [eax + eax]
movss xmm0, dword [esi + 0x1028a040]
sub esp, 8
subss xmm0, dword [esp + esi + 0x58]
cvtps2pd xmm0, xmm0
movsd qword [esp], xmm0
call fcn.100b0d5f
movss xmm1, dword [esi + 0x1028a040]
add esp, 8
movss xmm2, dword [esp + esi + 0x50]
comiss xmm2, xmm1
fstp dword [esp + 0x14]
jbe 0x1017026d
movss xmm0, dword [esp + 0x14]
mulss xmm0, dword [edi + 0x18]
mulss xmm0, dword [0x1022cc58]
addss xmm0, xmm1
minss xmm0, xmm2
movss dword [esi + 0x1028a040], xmm0
jmp 0x10170295
comiss xmm1, xmm2
jbe 0x10170295
movss xmm0, dword [esp + 0x14]
mulss xmm0, dword [edi + 0x18]
mulss xmm0, dword [0x1022cc68]
subss xmm1, xmm0
maxss xmm1, xmm2
movss dword [esi + 0x1028a040], xmm1
add esi, 4
cmp esi, 0xc
jl 0x10170210
mov eax, dword [esp + 0x10]
xorps xmm0, xmm0
mov esi, dword [0x1027efb4]
movss xmm3, dword [0x1028a040]
comiss xmm0, xmm3
movss xmm5, dword [0x1028a04c]
movss xmm7, dword [eax + 0x1558]
mulss xmm5, dword [esi + 0x1518]
movss xmm1, dword [0x1022cbb4]
jbe 0x101702e8
xorps xmm2, xmm2
jmp 0x101702ef
movaps xmm2, xmm1
minss xmm2, xmm3
movss xmm3, dword [0x1022cdac]
movss xmm4, dword [0x1022cb6c]
movss xmm6, dword [0x1028a044]
comiss xmm0, xmm6
mulss xmm2, xmm3
addss xmm2, xmm4
cvttss2si ecx, xmm2
jbe 0x1017031d
xorps xmm2, xmm2
jmp 0x10170324
movaps xmm2, xmm1
minss xmm2, xmm6
movss xmm6, dword [0x1028a048]
mulss xmm2, xmm3
addss xmm2, xmm4
cvttss2si eax, xmm2
shl eax, 8
or ecx, eax
comiss xmm0, xmm6
jbe 0x10170347
xorps xmm2, xmm2
jmp 0x1017034e
movaps xmm2, xmm1
minss xmm2, xmm6
mulss xmm2, xmm3
addss xmm2, xmm4
cvttss2si eax, xmm2
shl eax, 0x10
or ecx, eax
comiss xmm0, xmm5
jbe 0x10170369
xorps xmm1, xmm1
jmp 0x1017036d
minss xmm1, xmm5
mov eax, dword ds:[esp + 0x48]
mulss xmm1, xmm3
push 0
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x44]
addss xmm1, xmm4
mov dword [esp + 0x24], eax
mov eax, dword [esi + 0x1cdc]
cvttss2si edx, xmm1
shl edx, 0x18
or edx, ecx
mov ecx, dword [esp + 0x50]
mov dword [esp + 0x38], ecx
mov ecx, dword [esp + 0x48]
push ecx
mov dword [esp + 0x2c], ecx
lea ecx, [esp + 0x38]
movss dword [esp], xmm7
push edx
push ecx
lea ecx, [esp + 0x30]
push ecx
mov ecx, dword [eax + 0x284]
call fcn.1014a000
mov eax, dword fs:[0x2c]
mov ecx, dword [0x1027db70]
mov ecx, dword ds:[eax + ecx*4]
mov eax, dword [0x10289f24]
cmp eax, dword [ecx + 4]
jg 0x1017079c
mov esi, dword [0x1027efb4]
mov ecx, str.Create__Save
mov eax, dword [esi + 0x1cdc]
mov edx, dword [eax + 0xc4]
mov eax, dword [eax + 0xcc]
push dword [eax + edx*4 - 4]
xor edx, edx
call fcn.1012f0e0
add esp, 4
mov dword [esp + 0x30], eax
cmp dword [esi + 0x1d14], eax
jne 0x1017042e
mov dword [esi + 0x1d18], eax
cmp dword [esi + 0x1d4c], eax
jne 0x1017043d
mov byte [esi + 0x1d50], 1
mov dword [esp + 0x14], eax
mov ecx, 0x1028a058
mov eax, dword [esp + 0x10]
movups xmm0, xmmword [eax + 0x15dc]
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x24]
push eax
movups xmmword [esp + 0x58], xmm0
call fcn.1004cf40
mov esi, dword [esp + 0x28]
mov ecx, dword [0x1028a058]
cmp byte [esi + 0xd], 0
jne 0x1017047e
mov eax, dword [esp + 0x30]
cmp eax, dword [esi + 0x10]
jae 0x10170480
mov esi, ecx
cmp esi, ecx
jne 0x101704cb
lea eax, [esp + 0x50]
mov ecx, 0x1028a058
push eax
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0x38]
push eax
call fcn.10041740
lea eax, [esp + 0x14]
mov ecx, 0x1028a058
push eax
lea eax, [esp + 0x34]
push eax
call fcn.1004cf40
mov esi, dword [esp + 0x38]
cmp byte [esi + 0xd], 0
jne 0x101704c5
mov eax, dword ds:[esp + 0x14]
cmp eax, dword [esi + 0x10]
jae 0x101704cb
mov esi, dword [0x1028a058]
movss xmm2, dword [esp + 0x54]
sub esp, 8
addss xmm2, dword [esp + 0x58]
movss xmm1, dword [0x1028a040]
addss xmm1, dword [0x1028a044]
addss xmm2, dword [esp + 0x60]
addss xmm1, dword [0x1028a048]
divss xmm2, dword [0x1022cc14]
divss xmm1, dword [0x1022cc14]
subss xmm2, xmm1
cvtps2pd xmm0, xmm2
movsd qword [esp], xmm0
call fcn.100b0d5f
movss xmm0, dword [0x1022cb34]
add esp, 8
movss xmm3, dword [0x1022cbb4]
fstp dword [esp + 0x30]
comiss xmm0, dword [esp + 0x30]
jbe 0x10170554
movaps xmm2, xmm3
movaps xmm4, xmm3
subss xmm2, dword [esp + 0x50]
subss xmm4, dword [esp + 0x54]
movaps xmm5, xmm3
subss xmm5, dword [esp + 0x58]
jmp 0x10170566
movss xmm2, dword [esp + 0x50]
movss xmm4, dword [esp + 0x54]
movss xmm5, dword [esp + 0x58]
movss xmm1, dword [esi + 0x14]
comiss xmm2, xmm1
movss xmm6, dword [0x1022cc38]
jbe 0x10170590
movss xmm0, dword [edi + 0x18]
mulss xmm0, xmm6
addss xmm0, xmm1
minss xmm0, xmm2
movss dword [esi + 0x14], xmm0
jmp 0x101705ab
comiss xmm1, xmm2
jbe 0x101705ab
movss xmm0, dword [edi + 0x18]
mulss xmm0, xmm6
subss xmm1, xmm0
maxss xmm1, xmm2
movss dword [esi + 0x14], xmm1
movss xmm1, dword [esi + 0x18]
comiss xmm4, xmm1
jbe 0x101705c8
movss xmm2, dword [edi + 0x18]
mulss xmm2, xmm6
addss xmm2, xmm1
minss xmm2, xmm4
jmp 0x101705e1
comiss xmm1, xmm4
movaps xmm2, xmm1
jbe 0x101705e6
movss xmm0, dword [edi + 0x18]
mulss xmm0, xmm6
subss xmm2, xmm0
maxss xmm2, xmm4
movss dword [esi + 0x18], xmm2
movss xmm4, dword [esi + 0x1c]
comiss xmm5, xmm4
jbe 0x10170603
movss xmm1, dword [edi + 0x18]
mulss xmm1, xmm6
addss xmm1, xmm4
minss xmm1, xmm5
jmp 0x1017061c
comiss xmm4, xmm5
movaps xmm1, xmm4
jbe 0x10170621
movss xmm0, dword [edi + 0x18]
mulss xmm0, xmm6
subss xmm1, xmm0
maxss xmm1, xmm5
movss dword [esi + 0x1c], xmm1
movss xmm5, dword [esi + 0x14]
xorps xmm0, xmm0
comiss xmm0, xmm5
jbe 0x10170633
xorps xmm4, xmm4
jmp 0x1017063a
movaps xmm4, xmm3
minss xmm4, xmm5
comiss xmm0, xmm2
movss xmm5, dword [0x1022cdac]
movss xmm6, dword [0x1022cb6c]
mulss xmm4, xmm5
addss xmm4, xmm6
cvttss2si edx, xmm4
jbe 0x10170662
xorps xmm4, xmm4
jmp 0x10170669
movaps xmm4, xmm3
minss xmm4, xmm2
mulss xmm4, xmm5
addss xmm4, xmm6
cvttss2si eax, xmm4
shl eax, 8
or edx, eax
comiss xmm0, xmm1
jbe 0x10170684
xorps xmm2, xmm2
jmp 0x1017068b
movaps xmm2, xmm3
minss xmm2, xmm1
movss xmm1, dword [esi + 0x20]
mulss xmm2, xmm5
addss xmm2, xmm6
cvttss2si eax, xmm2
shl eax, 0x10
or edx, eax
comiss xmm0, xmm1
ja 0x101706ad
movaps xmm0, xmm3
minss xmm0, xmm1
mulss xmm0, xmm5
xor ecx, ecx
addss xmm0, xmm6
cvttss2si eax, xmm0
shl eax, 0x18
or edx, eax
call fcn.10131660
movss xmm1, dword [esp + 0x40]
lea eax, [esp + 0x48]
movss xmm0, dword [esp + 0x44]
lea edx, [esp + 0x40]
addss xmm1, dword [esp + 0x48]
addss xmm0, dword [esp + 0x4c]
movss xmm4, dword [0x1022cbf0]
movss xmm3, dword [esp + 0x18]
movss xmm2, dword [esp + 0x1c]
divss xmm3, xmm4
push ecx
push str.Create__Save
push eax
lea ecx, [esp + 0x3c]
divss xmm2, xmm4
divss xmm1, xmm4
divss xmm0, xmm4
subss xmm1, xmm3
subss xmm0, xmm2
movss dword [esp + 0x3c], xmm1
movss dword [esp + 0x40], xmm0
call fcn.1012c3e0
mov esi, dword [0x1027efb4]
add esp, 0xc
mov eax, dword [esi + 0x1dd4]
mov ecx, dword [esi + 0x1ddc]
lea edx, [eax + eax*4]
mov eax, dword [ecx + edx*4 - 0x14]
movups xmm0, xmmword [ecx + edx*4 - 0x10]
add eax, eax
movups xmmword [esi + eax*8 + 0x15dc], xmm0
dec dword [esi + 0x1dd4]
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push 0x1028a0e0
call fcn.1008f445
add esp, 4
cmp dword [0x1028a0e0], 0xffffffff
jne 0x1016ffac
movaps xmm0, xmmword [esp + 0x30]
push 0x1028a0e0
movaps xmmword [0x1028a040], xmm0
call fcn.1008f3f4
add esp, 4
jmp 0x1016ffac
push 0x10289f24
call fcn.1008f445
add esp, 4
cmp dword [0x10289f24], 0xffffffff
jne 0x101703ec
push 0x24
call fcn.1008f394
add esp, 4
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
push 0x10191b60
mov dword [0x1028a058], eax
call fcn.1008f371
add esp, 4
push 0x10289f24
call fcn.1008f3f4
add esp, 4
jmp 0x101703ec