Function at 0x1017b690
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 esi, ecx
mov dword [esp + 0xa8], edx
mov dword [esp + 0xc4], esi
mov dword [esp + 0x14], edi
mov eax, dword [edi + 0x1cdc]
mov byte [eax + 0x8c], 1
mov edx, dword [edi + 0x1cdc]
mov dword [esp + 0xc0], edx
cmp byte [edx + 0x8f], 0
jne 0x1017e00b
mov eax, dword [ebp + 0x14]
mov ecx, dword [edx + 0xc4]
shr eax, 9
and eax, 0xffffff01
mov dword [esp + 0x4c], eax
mov eax, dword [ebp + 0x14]
shr eax, 0xa
and eax, 0xffffff01
mov dword [esp + 0xf8], eax
mov eax, dword [edx + 0xcc]
xor edx, edx
push dword [eax + ecx*4 - 4]
mov ecx, esi
call fcn.10155da0
mov esi, eax
add esp, 4
mov dword [esp + 0x30], esi
cmp dword [edi + 0x1d14], esi
jne 0x1017b730
mov dword [edi + 0x1d18], esi
cmp dword [edi + 0x1d4c], esi
jne 0x1017b73f
mov byte [edi + 0x1d50], 1
mov eax, dword [esp + 0xc4]
mov ecx, eax
mov dword [esp + 0x18], esi
cmp eax, 0xffffffff
jae 0x1017b767
mov dl, byte [ecx]
test dl, dl
je 0x1017b767
cmp dl, 0x23
jne 0x1017b761
cmp byte [ecx + 1], dl
je 0x1017b767
inc ecx
cmp ecx, 0xffffffff
jb 0x1017b751
movss xmm0, dword [edi + 0x1a70]
xorps xmm1, xmm1
movss xmm2, dword [0x102cd604]
cmp eax, ecx
jne 0x1017b789
movss dword [esp + 0xcc], xmm1
jmp 0x1017b7d3
push 0
push ecx
push eax
push ecx
mov ecx, dword [edi + 0x1a6c]
lea eax, [esp + 0x70]
mov dword [esp], 0xbf800000
movaps xmm3, xmm2
push eax
movaps xmm2, xmm0
call fcn.1016fbe0
movss xmm0, dword [esp + 0x60]
addss xmm0, dword [0x102cd2f4]
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [esp + 0xcc], xmm0
movss xmm0, dword [esp + 0x64]
movss xmm2, dword [edi + 0x1554]
mulss xmm2, dword [0x102cd360]
addss xmm2, xmm0
call fcn.1014a790
mov eax, dword [ebp + 0x10]
lea ecx, [esp + 0x60]
movaps xmm1, xmm0
push dword [eax + 4]
push dword [eax]
call fcn.1014a6c0
movss xmm1, dword [esp + 0xd4]
xorps xmm0, xmm0
add esp, 8
comiss xmm1, xmm0
jbe 0x1017b81e
addss xmm1, dword [edi + 0x1568]
jmp 0x1017b821
xorps xmm1, xmm1
mov eax, dword [esp + 0xc0]
lea ecx, [esp + 0x60]
movss xmm3, dword [esp + 0x60]
movss xmm2, dword [esp + 0x64]
addss xmm1, xmm3
movss dword [esp + 0xbc], xmm3
movss xmm4, dword [eax + 0xd0]
movss xmm6, dword [eax + 0xd4]
movaps xmm0, xmm4
addss xmm0, xmm3
movss dword [esp + 0x7c], xmm4
addss xmm1, xmm4
movss dword [esp + 0x88], xmm6
movaps xmm5, xmm6
movss dword [esp + 0xa4], xmm2
addss xmm5, xmm2
movss dword [esp + 0x90], xmm4
movss dword [esp + 0x94], xmm6
movss dword [esp + 0x98], xmm0
movaps xmm0, xmm6
addss xmm0, xmm2
movss dword [esp + 0xd8], xmm1
subss xmm1, xmm4
movss dword [esp + 0xd0], xmm4
movss dword [esp + 0xc8], xmm5
movss dword [esp + 0x9c], xmm5
movss dword [esp + 0xd4], xmm6
movss dword [esp + 0xdc], xmm0
subss xmm0, xmm6
movss dword [esp + 0x60], xmm1
movss xmm1, dword [edi + 0x1554]
movss dword [esp + 0x64], xmm0
call fcn.1014ae20
test dword [ebp + 0x14], 0x10000000
jne 0x1017b956
push ecx
lea eax, [esp + 0x94]
mov edx, esi
push eax
lea ecx, [esp + 0xd8]
call fcn.1014ac20
add esp, 8
test al, al
je 0x1017e00b
movss xmm0, dword [esp + 0x9c]
movss dword [esp + 0xc8], xmm0
movss xmm0, dword [esp + 0x94]
movss dword [esp + 0x88], xmm0
movss xmm0, dword [esp + 0x90]
movss dword [esp + 0x7c], xmm0
mov edx, esi
lea ecx, [esp + 0x90]
call fcn.10151d00
mov dl, al
mov byte [esp + 0x2f], dl
test dl, dl
je 0x1017b978
mov dword [edi + 0x1f80], 1
mov eax, dword [0x1032bb20]
xor ecx, ecx
add eax, 0x201c
cmp dword [eax], esi
cmovne eax, ecx
mov ecx, dword [esp + 0xc0]
mov dword [esp + 0x70], eax
mov dword [esp + 0x20], eax
mov ecx, dword [ecx + 0x120]
shr ecx, 8
and ecx, 0xffffff01
mov dword [esp + 0x80], ecx
test dl, dl
je 0x1017b9bf
cmp byte [edi + 0x3d8], 0
je 0x1017b9bf
mov dl, 1
jmp 0x1017b9c1
xor dl, dl
mov eax, dword [edi + 0x1d14]
mov esi, dword [esp + 0x20]
mov byte [esp + 0x3b], dl
cmp eax, dword [esp + 0x30]
je 0x1017ba0b
mov esi, dword [esp + 0x30]
cmp dword [edi + 0x1e58], esi
mov esi, dword [esp + 0x20]
je 0x1017b9fe
mov esi, dword [esp + 0x30]
cmp dword [edi + 0x1e4c], esi
mov esi, dword [esp + 0x20]
jne 0x1017ba0b
cmp dword [edi + 0x1e70], 2
jne 0x1017ba0b
mov dh, 1
mov byte [esp + 0x5c], 0
mov byte [esp + 0x27], dh
jmp 0x1017ba1c
xor dh, dh
mov byte [esp + 0x5c], 0
mov byte [esp + 0x27], dh
cmp eax, dword [esp + 0x30]
je 0x1017ba2d
test byte [ebp + 0x14], 0x10
jne 0x1017ba26
test dh, dh
je 0x1017ba2d
mov byte [esp + 0x34], 1
jmp 0x1017ba32
mov byte [esp + 0x34], 0
test dl, dl
jne 0x1017ba42
test dh, dh
jne 0x1017ba42
mov byte [esp + 0x1f], dh
test cl, cl
je 0x1017ba47
mov byte [esp + 0x1f], 1
mov eax, dword fs:[0x2c]
mov ecx, dword [0x10329638]
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x10336d2c]
cmp eax, dword [ecx + 4]
jg 0x1017e013
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0xb4]
push eax
call fcn.1004d3e0
mov edi, dword [esp + 0xb8]
mov eax, dword [0x10336d30]
mov dword [esp + 0x40], edi
mov dword [esp + 0x28], eax
cmp byte [edi + 0xd], 0
jne 0x1017ba9c
mov ecx, dword [esp + 0x30]
cmp ecx, dword [edi + 0x10]
jae 0x1017baa2
mov edi, eax
mov dword [esp + 0x40], eax
cmp edi, eax
jne 0x1017bb68
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0x64]
push eax
call fcn.1004d3e0
mov edi, dword [esp + 0x30]
movq xmm0, qword [eax]
mov eax, dword [eax + 8]
movq qword [esp + 0xb0], xmm0
cmp byte [eax + 0xd], 0
jne 0x1017bad8
cmp edi, dword [eax + 0x10]
jae 0x1017bb34
cmp dword [0x10336d34], 0x71c71c7
je 0x1017e069
push 0x24
call fcn.100bbd3c
mov ecx, dword [esp + 0x2c]
add esp, 4
movaps xmm0, xmmword [0x102cd680]
mov dword [eax + 0x10], edi
movups xmmword [eax + 0x14], xmm0
push eax
push dword [esp + 0xb8]
mov dword [eax], ecx
push dword [esp + 0xb8]
mov dword [eax + 4], ecx
mov dword [eax + 8], ecx
mov ecx, 0x10336d30
mov word [eax + 0xc], 0
call fcn.101742f0
mov eax, dword [0x10336d30]
mov dword [esp + 0x28], eax
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0xb4]
push eax
call fcn.1004d3e0
mov edi, dword [esp + 0xb8]
mov dword [esp + 0x40], edi
cmp byte [edi + 0xd], 0
jne 0x1017bb60
mov eax, dword [esp + 0x30]
cmp eax, dword [edi + 0x10]
jae 0x1017bb68
mov edi, dword [esp + 0x28]
mov dword [esp + 0x40], edi
mov al, byte [esp + 0x1f]
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x60], 1
test al, al
je 0x1017bce8
cmp dword [edx + 0x1d14], ecx
je 0x1017bd54
mov esi, dword [ebp + 8]
lea ecx, [edx + 0x201c]
mov dword [ecx + 0x1630], 0xbdcccccd
mov dword [esp + 0x20], ecx
mov dword [edi + 0x20], 0
mov dword [edi + 0x1c], 0x3f800000
lea edx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x1017bbb8
sub esi, edx
add ecx, 0x24
inc esi
push esi
call fcn.1003c4f0
push esi
mov esi, dword [esp + 0x24]
push dword [ebp + 8]
push dword [esi + 0x2c]
call fcn.100bddb0
mov eax, dword [ebp + 0xc]
lea ecx, [esi + 0xc]
add esp, 0xc
mov dword [esp + 0x18], 0
inc eax
push eax
call fcn.1003c740
lea ecx, [esi + 0x18]
push 0
call fcn.1003c4f0
mov edx, dword [ebp + 0xc]
lea eax, [esp + 0x18]
mov ecx, dword [esi + 0x14]
push eax
push 0
push dword [ebp + 8]
mov byte [esi + 0x30], 0
call fcn.101557c0
mov dword [esi + 4], eax
add esp, 0xc
mov eax, dword [esp + 0x18]
sub eax, dword [ebp + 8]
mov dword [esi + 8], eax
mov eax, dword [esp + 0x30]
cmp dword [esi], eax
jne 0x1017bc47
cmp dword [esp + 0x70], 0
jne 0x1017bc47
mov ecx, esi
call fcn.10040cc0
mov eax, dword [esp + 0x34]
mov ecx, 1
jmp 0x1017bcb7
cmp byte [esp + 0x80], 0
mov ecx, 1
mov dword [esi], eax
mov eax, dword [esp + 0x34]
movzx eax, al
cmovne eax, ecx
mov dword [esi + 0x1624], 0x630000
mov dword [esi + 0x1628], 0
mov dword [esi + 0x162c], 0x3e7
mov dword [esi + 0x3c], 0
mov dword [esi + 0x40], 0
mov dword [esi + 0x38], 0
mov word [esi + 0x4d], 1
mov dword [esi + 0x54], 0
mov byte [esi + 0x4c], 0
mov byte [esi + 0x4f], 1
mov byte [esi + 0x44], 0
mov dword [esi + 0x48], 0
mov dword [esp + 0x34], eax
test dword [ebp + 0x14], 0x100
je 0x1017bcc4
mov byte [esi + 0x44], 1
cmp byte [esp + 0x3b], 0
mov edx, dword [esp + 0x14]
je 0x1017bce0
cmp byte [edx + 0xfc], 0
movzx eax, al
cmovne eax, ecx
mov byte [esp + 0x34], al
mov ecx, dword [esp + 0x30]
mov al, byte [esp + 0x1f]
cmp dword [edx + 0x1d14], ecx
je 0x1017bd54
test al, al
je 0x1017bd54
mov edx, dword [esp + 0xc0]
mov ecx, dword [esp + 0x30]
call fcn.10152090
call fcn.10148660
mov ecx, edx
call fcn.1014c980
mov edx, dword [esp + 0x14]
mov eax, dword [edx + 0x1d30]
or dword [edx + 0x1d28], 3
or eax, 0x180
or dword [edx + 0x1d2c], 2
test byte [ebp + 0x14], 0x40
mov ecx, dword [edx + 0x1d34]
mov dword [edx + 0x1d30], eax
mov dword [edx + 0x1d34], ecx
je 0x1017bd54
or eax, 1
mov dword [edx + 0x1d34], ecx
mov dword [edx + 0x1d30], eax
mov eax, dword [esp + 0x30]
cmp dword [edx + 0x1d14], eax
jne 0x1017bd71
test esi, esi
jne 0x1017bd71
call fcn.10152000
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x30]
mov ecx, dword [edx + 0x1d14]
mov dword [esp + 0x8c], ecx
cmp ecx, eax
jne 0x1017bdaa
cmp byte [edx + 0x3d8], 0
je 0x1017bdaa
mov ecx, dword [esp + 0x5c]
mov eax, 1
cmp byte [esp + 0x1f], 0
movzx ecx, cl
cmove ecx, eax
mov dword [esp + 0x5c], ecx
mov ecx, dword [esp + 0x8c]
test esi, esi
je 0x1017bdc2
mov eax, dword [esi + 0x3c]
cmp eax, dword [esi + 0x40]
mov eax, dword [esp + 0x30]
je 0x1017bdc6
cmp ecx, eax
jne 0x1017bdc6
mov cl, 1
jmp 0x1017bdc8
mov eax, dword [esp + 0x30]
xor cl, cl
cmp byte [esp + 0x4c], 0
mov dword [esp + 0x78], ecx
mov byte [esp + 0x47], cl
mov byte [esp + 0x53], 0
mov byte [esp + 0x3b], 0
je 0x1017be61
test esi, esi
je 0x1017be61
cmp dword [esp + 0x8c], eax
je 0x1017bdf6
test cl, cl
je 0x1017be6e
mov eax, dword [ebp + 0xc]
lea ecx, [esi + 0xc]
inc eax
mov dword [esp + 0x18], 0
push eax
call fcn.1003c740
mov edx, dword [esi + 0xc]
lea eax, [esp + 0x18]
mov esi, dword [esp + 0x20]
push eax
push 0
push dword [ebp + 8]
mov ecx, dword [esi + 0x14]
call fcn.101557c0
mov dword [esi + 4], eax
add esp, 0xc
mov eax, dword [esp + 0x18]
mov ecx, esi
sub eax, dword [ebp + 8]
mov dword [esi + 8], eax
call fcn.10040cc0
mov ecx, dword [esi + 0x3c]
cmp ecx, dword [esi + 0x40]
movzx eax, byte [esp + 0x47]
mov edx, dword [esp + 0x14]
mov dword [esp + 0x78], 0
mov ecx, dword [esp + 0x78]
cmovne ecx, eax
mov eax, dword [esp + 0x30]
mov dword [esp + 0x78], ecx
cmp dword [esp + 0x8c], eax
je 0x1017be76
test cl, cl
jne 0x1017be76
cmp dword [edx + 0x1d14], eax
jne 0x1017be8b
cmp byte [esp + 0x4c], 0
jne 0x1017be8b
test esi, esi
je 0x1017be8b
cmp byte [esi + 0x30], 0
je 0x1017be8b
mov al, 1
jmp 0x1017be8d
xor al, al
cmp dword [esp + 0xa8], 0
mov byte [esp + 0x47], al
je 0x1017beb0
test al, al
je 0x1017bea4
mov eax, dword [esi + 0x20]
jmp 0x1017bea7
mov eax, dword [ebp + 8]
cmp byte [eax], 0
jne 0x1017beb0
mov al, 1
jmp 0x1017beb2
xor al, al
cmp byte [esp + 0xf8], 0
mov byte [esp + 0x52], al
je 0x1017bf53
test al, al
jne 0x1017bf53
mov edx, dword [edx + 0x1a6c]
cmp dword [edx + 0x14], 0x2a
ja 0x1017bedd
mov eax, dword [edx + 0x2c]
jmp 0x1017bef9
mov eax, dword [edx + 0x1c]
mov eax, dword [eax + 0xa8]
cmp eax, 0xffffffff
jne 0x1017bef0
mov eax, dword [edx + 0x2c]
jmp 0x1017bef9
lea ecx, [eax + eax*4]
mov eax, dword [edx + 0x28]
lea eax, [eax + ecx*8]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x18], eax
add ecx, 0x3658
mov eax, dword [edx + 0x10]
mov edx, dword [esp + 0x14]
mov dword [ecx + 0x10], eax
mov eax, dword [edx + 0x1a6c]
mov eax, dword [eax + 0x48]
mov dword [ecx + 0x48], eax
mov eax, dword [edx + 0x1a6c]
mov eax, dword [eax + 0x4c]
mov dword [ecx + 0x4c], eax
mov eax, dword [edx + 0x1a6c]
mov eax, dword [eax + 0x50]
mov dword [ecx + 0x50], eax
mov eax, dword [edx + 0x1a6c]
mov eax, dword [eax + 0x30]
mov dword [ecx + 0x30], eax
mov eax, dword [esp + 0x18]
mov dword [ecx + 0x2c], eax
mov eax, dword [eax + 4]
mov dword [ecx + 0xc], eax
call fcn.1015c700
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x30]
movss xmm0, dword [0x102cd2ac]
cmp dword [edx + 0x1d14], eax
jne 0x1017c276
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x14]
mov dword [esi + 0x34], eax
mov byte [esi + 0x1636], 0
mov dword [esi + 0x1638], ecx
cmp byte [edx + 0xec], 0
movss xmm2, dword [edx + 0x1a70]
sete al
mov dword [edx + 0x39c0], 1
cmp byte [esp + 0x34], 0
mov byte [edx + 0x1d21], al
movss xmm7, dword [edx + 0xe4]
subss xmm7, dword [esp + 0x7c]
mulss xmm2, xmm0
subss xmm7, dword [edx + 0x1550]
jne 0x1017c0e3
mov al, byte [esp + 0x2f]
test al, al
je 0x1017bfe1
cmp byte [edx + 0x3dd], 0
jne 0x1017c0e3
cmp byte [edx + 0x3d8], 0
je 0x1017c04a
cmp byte [esi + 0x1635], 0
jne 0x1017c04a
test al, al
je 0x1017c0fe
cmp byte [esi + 0x4f], 0
je 0x1017c01d
push 0
mov edx, esi
lea ecx, [esp + 0xd4]
call fcn.101804d0
movss xmm2, dword [esp + 0xe0]
add esp, 4
movaps xmm1, xmm7
mov ecx, esi
call fcn.10180030
mov edx, dword [esp + 0x14]
mov ecx, dword [ebp + 0x14]
mov dword [esi + 0x38], eax
mov dword [esi + 0x3c], eax
mov dword [esi + 0x40], eax
mov byte [esi + 0x4e], 0
mov dword [esi + 0x1630], 0xbdcccccd
jmp 0x1017c0fe
cmp byte [edx + 0xec], 0
je 0x1017c0fe
cmp byte [esi + 0x1635], 0
jne 0x1017c107
movss xmm0, dword [edx + 0x374]
xorps xmm3, xmm3
ucomiss xmm0, xmm3
lahf
test ah, 0x44
jp 0x1017c089
movss xmm0, dword [edx + 0x378]
ucomiss xmm0, xmm3
lahf
test ah, 0x44
jnp 0x1017c0fe
cmp byte [esi + 0x4f], 0
je 0x1017c0ab
push 0
mov edx, esi
lea ecx, [esp + 0xd4]
call fcn.101804d0
movss xmm2, dword [esp + 0xe0]
add esp, 4
mov eax, dword [esi + 0x3c]
cmp eax, dword [esi + 0x40]
jne 0x1017c0b9
mov eax, dword [esi + 0x38]
mov dword [esi + 0x3c], eax
movaps xmm1, xmm7
mov ecx, esi
call fcn.10180030
mov edx, dword [esp + 0x14]
mov ecx, dword [ebp + 0x14]
mov dword [esi + 0x40], eax
mov dword [esi + 0x38], eax
mov dword [esi + 0x1630], 0xbdcccccd
mov byte [esi + 0x1634], 1
jmp 0x1017c0fe
mov eax, dword [esi + 4]
mov dword [esi + 0x3c], 0
mov dword [esi + 0x40], eax
mov dword [esi + 0x38], eax
mov byte [esi + 0x4e], 0
mov byte [esi + 0x1635], 1
cmp byte [esi + 0x1635], 0
je 0x1017c117
cmp byte [edx + 0xec], 0
jne 0x1017c117
mov byte [esi + 0x1635], 0
cmp byte [edx + 0xfc], 0
je 0x1017c12e
cmp byte [edx + 0xfe], 0
mov byte [esp + 0x13], 1
je 0x1017c133
mov byte [esp + 0x13], 0
test cl, 0x40
je 0x1017c1b8
mov eax, dword [0x1032bb20]
mov ecx, dword [eax + 0x34]
test ecx, ecx
js 0x1017c1b8
call fcn.1014f580
mov edx, dword [esp + 0x14]
test al, al
mov al, byte [esp + 0x13]
mov ecx, dword [esp + 0x4c]
je 0x1017c1c0
test al, al
jne 0x1017c1c0
cmp byte [edx + 0xfd], al
jne 0x1017c1c0
test cl, cl
jne 0x1017c1c0
lea eax, [esp + 0x70]
mov dword [esp + 0x70], 9
push eax
lea ecx, [edx + 0x1508]
call fcn.100422b0
test al, al
jne 0x1017c1b4
mov edx, dword [ebp + 0x14]
lea ecx, [esp + 0x18]
push 2
sub esp, 8
mov dword [esp + 0x24], 9
call fcn.1017e0d0
add esp, 0xc
test al, al
je 0x1017c1b4
push dword [esp + 0x18]
mov ecx, esi
call fcn.1017e3a0
mov edx, dword [esp + 0x14]
mov al, byte [esp + 0x13]
mov ecx, dword [esp + 0x4c]
cmp dword [edx + 0x1508], 0
jle 0x1017c272
test al, al
jne 0x1017c261
test cl, cl
jne 0x1017c261
cmp byte [esp + 0x27], cl
jne 0x1017c261
xor edi, edi
xor ecx, ecx
mov dword [esp + 0x18], ecx
nop
mov eax, dword [edx + 0x1510]
mov eax, dword [ecx + eax]
mov dword [esp + 0x28], eax
cmp eax, 9
jne 0x1017c20b
cmp byte [edx + 0xfd], 0
jne 0x1017c24d
mov edx, dword [ebp + 0x14]
lea ecx, [esp + 0x28]
push 2
sub esp, 8
call fcn.1017e0d0
add esp, 0xc
test al, al
je 0x1017c245
push dword [esp + 0x28]
lea edx, [esi + 0x38]
mov ecx, esi
call fcn.1017ed60
add esp, 4
mov byte [esi + 0x1634], 1
mov dword [esi + 0x1630], 0xbdcccccd
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
inc edi
add ecx, 4
mov dword [esp + 0x18], ecx
cmp edi, dword [edx + 0x1508]
jl 0x1017c1f0
mov edi, dword [esp + 0x40]
push 0
lea ecx, [edx + 0x1508]
call fcn.1003c740
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x30]
xor cl, cl
mov byte [esp + 0x13], cl
cmp dword [edx + 0x1d14], eax
jne 0x1017cfb6
cmp byte [edx + 0x1d20], cl
jne 0x1017cd74
cmp byte [esp + 0x5c], cl
jne 0x1017cd74
movss xmm0, dword [esp + 0xa4]
mov ecx, 1
subss xmm0, dword [edx + 0x1554]
divss xmm0, dword [edx + 0x1a70]
cvttss2si eax, xmm0
cmp eax, ecx
cmovge ecx, eax
mov eax, 0x400000
mov dword [esi + 0x48], ecx
xor esi, esi
cmp byte [edx + 0xfd], 0
cmovne esi, eax
cmp dword [edx + 0x37c], 1
mov al, byte [edx + 0xfc]
mov byte [esp + 0x27], al
jne 0x1017c30f
mov eax, dword [0x1032bb20]
mov ecx, dword [eax + 0x80]
test ecx, ecx
js 0x1017c30f
call fcn.1014f580
test al, al
je 0x1017c30b
mov byte [esp + 0x1f], 1
jmp 0x1017c31e
mov edx, dword [esp + 0x14]
xor al, al
cmp dword [edx + 0x37c], 1
mov byte [esp + 0x1f], al
jne 0x1017c33a
mov eax, dword [0x1032bb20]
mov ecx, dword [eax + 0x78]
test ecx, ecx
js 0x1017c33a
call fcn.1014f580
test al, al
je 0x1017c33a
mov byte [esp + 0x6f], 1
jmp 0x1017c34c
mov eax, dword [esp + 0x14]
mov byte [esp + 0x6f], 0
cmp dword [eax + 0x37c], 1
jne 0x1017c366
mov eax, dword [0x1032bb20]
mov ecx, dword [eax + 0x7c]
test ecx, ecx
js 0x1017c366
call fcn.1014f580
mov byte [esp + 0x2f], 1
test al, al
jne 0x1017c36b
mov byte [esp + 0x2f], 0
mov eax, dword [0x1032bb20]
mov ecx, dword [eax + 0x38]
test ecx, ecx
js 0x1017c3cc
call fcn.1014f580
test al, al
je 0x1017c3cc
mov eax, 0x200000
mov ecx, 0x20000c
cmp byte [esp + 0x27], 0
cmovne eax, ecx
or eax, esi
push eax
mov esi, dword [esp + 0x24]
mov ecx, esi
call fcn.1017e3a0
mov edx, dword [esp + 0x14]
mov cl, byte [esp + 0x13]
mov eax, dword [esi + 0x3c]
cmp eax, dword [esi + 0x40]
je 0x1017cd6a
mov eax, dword [esp + 0x8c]
cmp eax, dword [esp + 0x30]
jne 0x1017cd6a
mov al, 1
jmp 0x1017cd6c
mov eax, dword [0x1032bb20]
mov ecx, dword [eax + 0x3c]
test ecx, ecx
js 0x1017c3eb
call fcn.1014f580
test al, al
je 0x1017c3eb
mov eax, 0x200001
lea ecx, [eax + 0xc]
jmp 0x1017c38a
mov eax, dword [0x1032bb20]
mov ecx, dword [eax + 0x50]
test ecx, ecx
js 0x1017c421
call fcn.1014f580
test al, al
je 0x1017c421
mov ecx, dword [esp + 0x14]
mov eax, esi
or eax, 0x200006
or esi, 0x200004
cmp byte [ecx + 0xfc], 0
cmovne esi, eax
push esi
jmp 0x1017c395
mov eax, dword [0x1032bb20]
mov ecx, dword [eax + 0x54]
test ecx, ecx
js 0x1017c457
call fcn.1014f580
test al, al
je 0x1017c457
mov ecx, dword [esp + 0x14]
mov eax, esi
or eax, 0x200007
or esi, 0x200005
cmp byte [ecx + 0xfc], 0
cmovne esi, eax
push esi
jmp 0x1017c395
mov eax, dword [0x1032bb20]
mov ecx, dword [eax + 0x5c]
test ecx, ecx
js 0x1017c47f
call fcn.1014f580
test al, al
je 0x1017c47f
cmp byte [esp + 0x4c], 0
jne 0x1017c47f
or esi, 0x200008
push esi
jmp 0x1017c395
mov eax, dword [0x1032bb20]
mov ecx, dword [eax + 0x60]
test ecx, ecx
js 0x1017c4c4
call fcn.1014f580
test al, al
je 0x1017c4c4
cmp byte [esp + 0x4c], 0
jne 0x1017c4c4
mov ecx, dword [esp + 0x20]
mov eax, dword [ecx + 0x3c]
cmp eax, dword [ecx + 0x40]
jne 0x1017c4b8
cmp byte [esp + 0x27], 0
je 0x1017c4b8
push 0x60000c
call fcn.1017e3a0
or esi, 0x200009
push esi
jmp 0x1017c395
mov eax, dword [0x1032bb20]
mov ecx, dword [eax + 0x68]
test ecx, ecx
js 0x1017c4d9
call fcn.1014f580
test al, al
jne 0x1017c4ee
mov eax, dword [0x1032bb20]
mov ecx, dword [eax + 0x70]
test ecx, ecx
js 0x1017c526
call fcn.1014f580
test al, al
je 0x1017c526
mov eax, dword [ebp + 0x14]
mov edx, dword [esp + 0x14]
shr eax, 7
test al, 1
mov al, byte [edx + 0xfc]
je 0x1017c50f
test al, al
je 0x1017c513
mov esi, dword [esp + 0x20]
jmp 0x1017c3a4
test al, al
je 0x1017c506
mov esi, dword [esp + 0x20]
mov byte [esp + 0x5c], 1
mov byte [esp + 0x3b], 1
jmp 0x1017c3a4
mov eax, dword [0x1032bb20]
mov ecx, dword [eax + 0x6c]
test ecx, ecx
js 0x1017c54e
call fcn.1014f580
test al, al
je 0x1017c54e
mov esi, dword [esp + 0x20]
mov cl, 1
mov edx, dword [esp + 0x14]
mov byte [esp + 0x5c], cl
jmp 0x1017c3a8
mov eax, dword [esp + 0x14]
cmp dword [eax + 0x37c], 1
jne 0x1017c598
mov eax, dword [0x1032bb20]
mov ecx, dword [eax + 0x74]
test ecx, ecx
js 0x1017c594
call fcn.1014f580
test al, al
je 0x1017c594
mov esi, dword [esp + 0x20]
mov eax, dword [esi + 4]
mov dword [esi + 0x3c], 0
mov dword [esi + 0x40], eax
mov dword [esi + 0x38], eax
mov byte [esi + 0x4e], 0
mov byte [esi + 0x1634], 1
jmp 0x1017c3a0
mov eax, dword [esp + 0x14]
mov dl, byte [esp + 0x1f]
test dl, dl
jne 0x1017c962
cmp byte [esp + 0x6f], dl
jne 0x1017c962
cmp byte [esp + 0x2f], dl
je 0x1017c5d4
mov eax, dword [0x1032bb20]
mov ecx, dword [eax + 0xd0]
test ecx, ecx
je 0x1017c5dd
push dword [eax + 0xd8]
call ecx
mov esi, eax
add esp, 4
test esi, esi
jne 0x1017c5e2
mov esi, dword [esp + 0x20]
jmp 0x1017c3a0
mov esi, 0x102c5494
mov ecx, esi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1017c5e7
sub ecx, edx
lea ecx, [ecx*4 + 4]
call fcn.10157aa0
mov ecx, eax
xor eax, eax
mov dword [esp + 0x18], ecx
mov dword [esp + 0x48], eax
cmp byte [esi], al
je 0x1017c662
xor edi, edi
nop
push 0
mov edx, esi
lea ecx, [esp + 0x2c]
call fcn.10155990
add esp, 4
add esi, eax
cmp dword [esp + 0x28], 0
je 0x1017c652
mov edx, dword [ebp + 0x14]
lea ecx, [esp + 0x28]
push 5
sub esp, 8
call fcn.1017e0d0
add esp, 0xc
test al, al
je 0x1017c64d
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x28]
mov dword [ecx + edi*4], eax
inc edi
cmp byte [esi], 0
jne 0x1017c610
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x48], edi
mov edi, dword [esp + 0x40]
mov eax, dword [esp + 0x48]
mov dword [ecx + eax*4], 0
test eax, eax
jle 0x1017c936
mov ecx, dword [esp + 0x20]
mov esi, dword [ecx + 0x40]
lea eax, [ecx + 0x38]
mov edx, dword [ecx + 4]
mov dword [esp + 0x3c], edx
mov edx, dword [eax + 4]
mov dword [esp + 0x34], edx
cmp edx, esi
je 0x1017c6d7
cmp edx, dword [esp + 0x3c]
mov dword [esp + 0x54], edx
mov edx, dword [esp + 0x3c]
jle 0x1017c6a2
mov dword [eax + 4], edx
mov dword [esp + 0x54], edx
mov dword [esp + 0x58], esi
cmp esi, edx
jle 0x1017c6b3
mov dword [eax + 8], edx
mov dword [esp + 0x58], edx
jmp 0x1017c6b7
mov edx, dword [esp + 0x58]
mov ecx, dword [esp + 0x58]
mov esi, edx
mov edx, dword [esp + 0x54]
cmp edx, ecx
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x34], edx
jne 0x1017c6d7
mov esi, dword [esp + 0x58]
mov dword [eax], edx
mov dword [esp + 0x34], edx
mov edi, dword [eax]
mov dword [esp + 0x54], edi
cmp edi, dword [esp + 0x3c]
jle 0x1017c6ed
mov edi, dword [esp + 0x3c]
mov dword [eax], edi
mov dword [esp + 0x54], edi
mov edi, dword [ecx + 4]
mov dword [esp + 0x3c], edi
cmp edx, esi
je 0x1017c740
mov dword [esp + 0x58], edx
cmp edx, edi
mov edx, edi
jle 0x1017c709
mov dword [eax + 4], edx
mov dword [esp + 0x58], edx
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x28], esi
cmp esi, edx
jle 0x1017c71c
mov dword [eax + 8], edx
mov dword [esp + 0x28], edx
mov edx, dword [esp + 0x54]
mov esi, dword [esp + 0x28]
mov edi, esi
mov dword [esp + 0x54], edx
mov edx, dword [esp + 0x58]
mov dword [esp + 0x34], edx
cmp edx, edi
jne 0x1017c740
mov dword [eax], edx
mov dword [esp + 0x54], edx
mov dword [esp + 0x34], edx
mov edi, dword [esp + 0x54]
cmp edi, dword [esp + 0x3c]
mov edi, dword [esp + 0x40]
jle 0x1017c758
mov ecx, dword [esp + 0x3c]
mov dword [eax], ecx
mov ecx, dword [esp + 0x20]
cmp edx, esi
je 0x1017c8cd
jge 0x1017c8ac
lea ecx, [eax + 0x20]
mov eax, 0x63
sub esi, edx
mov dword [ecx + 0x15d4], 0x3e7
mov dword [esp + 0x28], ecx
mov word [ecx + 0x15ce], ax
cmp word [ecx + 0x15cc], ax
jne 0x1017c797
call fcn.1017ec90
mov ecx, dword [esp + 0x28]
cmp esi, 0x3e7
jle 0x1017c7b3
xor eax, eax
mov word [ecx + 0x15cc], ax
mov dword [ecx + 0x15d0], eax
jmp 0x1017c88e
mov eax, dword [ecx + 0x15d0]
add eax, esi
cmp eax, 0x3e7
jle 0x1017c7e4
mov edi, dword [esp + 0x28]
mov ecx, edi
call fcn.1017ec90
mov eax, dword [edi + 0x15d0]
add eax, esi
cmp eax, 0x3e7
jg 0x1017c7c6
mov edi, dword [esp + 0x40]
mov ecx, dword [esp + 0x28]
movzx eax, word [ecx + 0x15cc]
movsx edx, ax
inc eax
shl edx, 4
add edx, ecx
mov word [ecx + 0x15cc], ax
mov dword [esp + 0x28], edx
test edx, edx
je 0x1017c88e
mov eax, dword [esp + 0x28]
mov edx, dword [esp + 0x34]
mov dword [eax], edx
mov dword [eax + 4], esi
mov dword [eax + 8], 0
test esi, esi
jne 0x1017c828
mov dword [eax + 0xc], 0xffffffff
jmp 0x1017c892
mov edi, dword [esp + 0x28]
mov eax, dword [ecx + 0x15d0]
mov dword [edi + 0xc], eax
mov eax, edi
add dword [ecx + 0x15d0], esi
mov edi, dword [esp + 0x40]
mov eax, dword [eax + 0xc]
add eax, 0x18c
lea eax, [ecx + eax*4]
mov dword [esp + 0x70], eax
test eax, eax
je 0x1017c892
xor ecx, ecx
test esi, esi
jle 0x1017c892
mov eax, dword [esp + 0x34]
mov edx, dword [esp + 0x20]
lea edi, [eax*4]
nop dword [eax]
mov eax, dword [edx + 0x14]
lea edi, [edi + 4]
mov edx, dword [esp + 0x70]
mov eax, dword [edi + eax - 4]
mov dword [edx + ecx*4], eax
inc ecx
mov edx, dword [esp + 0x20]
cmp ecx, esi
jl 0x1017c870
mov edi, dword [esp + 0x40]
mov edx, dword [esp + 0x34]
push esi
mov esi, dword [esp + 0x24]
mov ecx, esi
call fcn.10180310
mov ecx, dword [esi + 0x3c]
lea eax, [esi + 0x38]
add esp, 4
mov dword [eax + 8], ecx
jmp 0x1017c8c7
sub edx, esi
push edx
push esi
mov edx, eax
call fcn.1017fd80
mov eax, dword [esp + 0x28]
add esp, 8
add eax, 0x38
mov ecx, dword [eax + 8]
mov dword [eax + 4], ecx
mov dword [eax], ecx
mov byte [eax + 0x16], 0
push dword [esp + 0x48]
mov esi, dword [esp + 0x24]
mov ecx, esi
push dword [esp + 0x1c]
mov edx, dword [eax]
call fcn.101801b0
add esp, 8
test al, al
je 0x1017c915
push dword [esp + 0x48]
mov edx, dword [esi + 0x38]
lea ecx, [esi + 0x58]
push 0
call fcn.1017e9c0
mov eax, dword [esp + 0x50]
add esp, 8
add dword [esi + 0x38], eax
mov ecx, dword [esp + 0x18]
mov byte [esi + 0x4e], 0
mov byte [esi + 0x1634], 1
jmp 0x1017c93a
movzx eax, word [esi + 0x1624]
test ax, ax
je 0x1017c929
dec eax
mov word [esi + 0x1624], ax
mov ecx, dword [esp + 0x18]
mov byte [esi + 0x1634], 1
jmp 0x1017c93a
mov esi, dword [esp + 0x20]
test ecx, ecx
je 0x1017c94d
mov eax, dword [0x1032bb20]
test eax, eax
je 0x1017c94d
dec dword [eax + 0x370]
push dword [0x1032bb4c]
push ecx
call dword [0x10327d38]
add esp, 8
jmp 0x1017c3a0
cmp dword [eax + 0xd4], 0
je 0x1017ca21
mov esi, dword [esp + 0x20]
mov ecx, dword [esi + 0x40]
mov eax, dword [esi + 0x3c]
cmp eax, ecx
je 0x1017c993
mov edx, ecx
cmovge ecx, eax
cmovl edx, eax
mov al, byte [esp + 0x1f]
mov dword [esp + 0x18], edx
mov byte [esp + 0x1f], al
jmp 0x1017c9a2
mov ecx, dword [esi + 4]
mov dword [esp + 0x18], 0
mov byte [esp + 0x1f], dl
mov eax, dword [esi + 0x14]
mov dword [esp + 0x28], ecx
lea edx, [eax + ecx*4]
mov ecx, dword [esp + 0x18]
lea ecx, [eax + ecx*4]
call fcn.10155370
inc eax
mov ecx, eax
mov dword [esp + 0x70], eax
call fcn.10157aa0
mov esi, dword [esi + 0x14]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x70]
mov dword [esp + 0x80], eax
mov eax, dword [esp + 0x18]
lea ecx, [esi + ecx*4]
push ecx
lea ecx, [esi + eax*4]
mov esi, dword [esp + 0x84]
push ecx
mov ecx, esi
call fcn.101553e0
add esp, 8
mov ecx, esi
call fcn.10151c20
test esi, esi
je 0x1017ca0d
mov eax, dword [0x1032bb20]
test eax, eax
je 0x1017ca0d
dec dword [eax + 0x370]
push dword [0x1032bb4c]
push esi
call dword [0x10327d38]
mov dl, byte [esp + 0x27]
add esp, 8
mov esi, dword [esp + 0x20]
test dl, dl
je 0x1017c3a0
mov eax, dword [esi + 0x3c]
cmp eax, dword [esi + 0x40]
jne 0x1017ca49
mov eax, dword [esi + 4]
mov dword [esi + 0x3c], 0
mov dword [esi + 0x40], eax
mov dword [esi + 0x38], eax
mov byte [esi + 0x4e], 0
lea ecx, [esi + 0x38]
mov byte [esi + 0x1634], 1
mov eax, dword [ecx + 8]
mov dword [esp + 0x70], ecx
mov ecx, dword [ecx + 4]
mov dword [esp + 0x34], eax
mov dword [esp + 0x3c], ecx
cmp ecx, eax
je 0x1017c3a0
mov edx, dword [esi + 4]
cmp ecx, edx
jle 0x1017ca7d
mov dword [esi + 0x3c], edx
mov ecx, edx
mov dword [esp + 0x3c], edx
cmp eax, edx
jle 0x1017ca8a
mov dword [esi + 0x40], edx
mov eax, edx
mov dword [esp + 0x34], edx
cmp ecx, eax
jne 0x1017ca91
mov dword [esi + 0x38], ecx
cmp dword [esi + 0x38], edx
jle 0x1017ca99
mov dword [esi + 0x38], edx
cmp ecx, eax
je 0x1017cd5e
mov esi, dword [esp + 0x70]
add esi, 0x20
mov dword [esi + 0x15d4], 0x3e7
cmp ecx, eax
jge 0x1017cc0e
sub eax, ecx
mov dword [esp + 0x34], eax
mov eax, 0x63
mov word [esi + 0x15ce], ax
cmp word [esi + 0x15cc], ax
jne 0x1017cadc
mov ecx, esi
call fcn.1017ec90
mov ecx, dword [esp + 0x34]
cmp ecx, 0x3e7
jle 0x1017cafc
xor eax, eax
mov word [esi + 0x15cc], ax
mov dword [esi + 0x15d0], eax
jmp 0x1017cbe1
mov eax, dword [esi + 0x15d0]
add eax, ecx
cmp eax, 0x3e7
jle 0x1017cb2e
mov edi, dword [esp + 0x34]
nop
mov ecx, esi
call fcn.1017ec90
mov eax, dword [esi + 0x15d0]
add eax, edi
cmp eax, 0x3e7
jg 0x1017cb10
mov edi, dword [esp + 0x40]
mov ecx, dword [esp + 0x34]
movzx eax, word [esi + 0x15cc]
movsx edx, ax
inc eax
shl edx, 4
add edx, esi
mov word [esi + 0x15cc], ax
mov dword [esp + 0x18], edx
test edx, edx
je 0x1017cbe1
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x3c]
mov dword [eax], edx
mov dword [eax + 4], ecx
mov dword [eax + 8], 0
test ecx, ecx
jne 0x1017cb72
mov dword [eax + 0xc], 0xffffffff
jmp 0x1017cbe5
mov edi, dword [esp + 0x18]
mov eax, dword [esi + 0x15d0]
mov dword [edi + 0xc], eax
mov eax, edi
add dword [esi + 0x15d0], ecx
mov edi, dword [esp + 0x40]
mov eax, dword [eax + 0xc]
add eax, 0x18c
lea eax, [esi + eax*4]
mov dword [esp + 0x80], eax
test eax, eax
je 0x1017cbe5
xor esi, esi
test ecx, ecx
jle 0x1017cbe5
mov edi, dword [esp + 0x20]
lea eax, [edx*4]
mov dword [esp + 0x70], eax
mov edx, eax
nop dword [eax + eax]
mov eax, dword [edi + 0x14]
lea edx, [edx + 4]
mov ecx, dword [esp + 0x80]
mov eax, dword [edx + eax - 4]
mov dword [ecx + esi*4], eax
inc esi
mov ecx, dword [esp + 0x34]
cmp esi, ecx
jl 0x1017cbc0
mov edi, dword [esp + 0x40]
mov edx, dword [esp + 0x3c]
mov esi, dword [esp + 0x20]
push ecx
mov ecx, esi
call fcn.10180310
mov ecx, dword [esi + 0x3c]
lea eax, [esi + 0x38]
mov edx, eax
mov dword [eax + 8], ecx
add esp, 4
mov byte [edx + 0x16], 0
mov dword [eax], ecx
mov byte [eax + 0x16], 0
jmp 0x1017c3a0
sub ecx, eax
mov eax, 0x63
mov dword [esp + 0x3c], ecx
mov word [esi + 0x15ce], ax
cmp word [esi + 0x15cc], ax
jne 0x1017cc34
mov ecx, esi
call fcn.1017ec90
mov ecx, dword [esp + 0x3c]
cmp ecx, 0x3e7
jle 0x1017cc50
xor eax, eax
mov word [esi + 0x15cc], ax
mov dword [esi + 0x15d0], eax
jmp 0x1017cd31
mov eax, dword [esi + 0x15d0]
add eax, ecx
cmp eax, 0x3e7
jle 0x1017cc81
mov edi, dword [esp + 0x3c]
mov ecx, esi
call fcn.1017ec90
mov eax, dword [esi + 0x15d0]
add eax, edi
cmp eax, 0x3e7
jg 0x1017cc63
mov edi, dword [esp + 0x40]
mov ecx, dword [esp + 0x3c]
movzx eax, word [esi + 0x15cc]
movsx edx, ax
inc eax
shl edx, 4
add edx, esi
mov word [esi + 0x15cc], ax
mov dword [esp + 0x18], edx
test edx, edx
je 0x1017cd31
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x34]
mov dword [eax], edx
mov dword [eax + 4], ecx
mov dword [eax + 8], 0
test ecx, ecx
jne 0x1017ccc5
mov dword [eax + 0xc], 0xffffffff
jmp 0x1017cd35
mov edi, dword [esp + 0x18]
mov eax, dword [esi + 0x15d0]
mov dword [edi + 0xc], eax
mov eax, edi
add dword [esi + 0x15d0], ecx
mov edi, dword [esp + 0x40]
mov eax, dword [eax + 0xc]
add eax, 0x18c
lea eax, [esi + eax*4]
mov dword [esp + 0x80], eax
test eax, eax
je 0x1017cd35
xor esi, esi
test ecx, ecx
jle 0x1017cd35
mov edi, dword [esp + 0x20]
lea eax, [edx*4]
mov dword [esp + 0x70], eax
mov edx, eax
nop dword [eax + eax]
mov eax, dword [edi + 0x14]
lea edx, [edx + 4]
mov ecx, dword [esp + 0x80]
mov eax, dword [edx + eax - 4]
mov dword [ecx + esi*4], eax
inc esi
mov ecx, dword [esp + 0x3c]
cmp esi, ecx
jl 0x1017cd10
mov edi, dword [esp + 0x40]
mov edx, dword [esp + 0x34]
mov esi, dword [esp + 0x20]
push ecx
mov ecx, esi
call fcn.10180310
mov ecx, dword [esi + 0x40]
lea eax, [esi + 0x38]
mov edx, eax
mov dword [eax + 4], ecx
add esp, 4
mov byte [edx + 0x16], 0
mov dword [eax], ecx
mov byte [eax + 0x16], 0
jmp 0x1017c3a0
lea eax, [esi + 0x38]
mov byte [eax + 0x16], 0
jmp 0x1017c3a0
xor al, al
or byte [esp + 0x78], al
mov eax, dword [esp + 0x30]
cmp dword [edx + 0x1d14], eax
jne 0x1017cfb6
mov dword [esp + 0x18], 0
mov dword [esp + 0x48], 0
test cl, cl
je 0x1017ceed
cmp byte [esp + 0x4c], 0
jne 0x1017cedc
mov ecx, dword [esi + 0x2c]
mov eax, dword [ebp + 8]
nop dword [eax]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x1017cdd0
test dl, dl
je 0x1017cdcc
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x1017cdd0
add eax, 2
add ecx, 2
test dl, dl
jne 0x1017cdb0
xor eax, eax
jmp 0x1017cdd5
sbb eax, eax
or eax, 1
test eax, eax
je 0x1017cedc
mov eax, dword [esi + 0x24]
mov ecx, dword [esi + 0x2c]
dec eax
mov dword [esp + 0x18], ecx
mov dword [esp + 0x48], eax
mov dword [esp + 0xb4], 0
mov dword [esp + 0xb0], 0
mov dword [esp + 0xb8], 0
test eax, eax
jle 0x1017ce51
lea esi, [eax + ecx]
mov edx, esi
call fcn.10155610
inc eax
lea ecx, [esp + 0xb0]
push eax
call fcn.1003c740
mov ecx, dword [esp + 0xb8]
push 0
push esi
push dword [esp + 0x20]
mov esi, dword [esp + 0xbc]
mov edx, esi
call fcn.101557c0
lea ecx, [esi - 1]
add esp, 0xc
mov esi, dword [esp + 0x20]
jmp 0x1017ce53
xor ecx, ecx
mov eax, dword [esi + 4]
xor edx, edx
push ecx
mov dword [esp + 0x2c], ecx
lea ecx, [esi + 0x58]
push eax
mov dword [esp + 0x78], eax
call fcn.1017e9c0
add esp, 8
mov dword [esp + 0x80], eax
test eax, eax
je 0x1017ce96
mov edx, dword [esp + 0x70]
xor ecx, ecx
test edx, edx
jle 0x1017ce96
mov edi, eax
mov eax, dword [esi + 0x14]
mov eax, dword [eax + ecx*4]
mov dword [edi + ecx*4], eax
inc ecx
cmp ecx, edx
jl 0x1017ce84
mov edi, dword [esp + 0x40]
push dword [esi + 4]
xor edx, edx
mov ecx, esi
call fcn.10180310
mov eax, dword [esp + 0x2c]
add esp, 4
test eax, eax
jle 0x1017ced0
push eax
push dword [esp + 0xbc]
xor edx, edx
mov ecx, esi
call fcn.101801b0
add esp, 8
test al, al
je 0x1017ced0
mov eax, dword [esp + 0x28]
mov dword [esi + 0x38], eax
mov byte [esi + 0x4e], 0
lea ecx, [esp + 0xb0]
call fcn.1003c7e0
cmp byte [esp + 0x3b], 0
je 0x1017cf65
test byte [ebp + 0x14], 0x20
je 0x1017cf65
cmp byte [esp + 0x4c], 0
jne 0x1017cf65
mov eax, dword [esp + 0x20]
lea ecx, [esi + 0x18]
mov byte [esi + 0x30], 1
mov eax, dword [eax + 0xc]
lea eax, [eax*4 + 1]
push eax
call fcn.1003c4f0
mov eax, dword [esp + 0x20]
mov edx, dword [esi + 0x18]
mov esi, eax
push 0
push dword [eax + 0x14]
mov ecx, dword [esi + 0x20]
call fcn.101553e0
mov ecx, dword [ebp + 8]
add esp, 8
mov eax, dword [esi + 0x20]
nop
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x1017cf50
test dl, dl
je 0x1017cf4c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x1017cf50
add eax, 2
add ecx, 2
test dl, dl
jne 0x1017cf30
xor eax, eax
jmp 0x1017cf55
sbb eax, eax
or eax, 1
test eax, eax
je 0x1017cf65
mov eax, dword [esi + 0x20]
mov dword [esp + 0x18], eax
mov eax, dword [esi + 8]
jmp 0x1017cf69
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x18]
test ecx, ecx
je 0x1017cfa4
mov edx, dword [ebp + 0xc]
inc eax
cmp eax, edx
cmovl edx, eax
mov dword [ebp + 0xc], edx
cmp edx, 1
jb 0x1017cf9f
jbe 0x1017cf97
lea eax, [edx - 1]
push eax
push ecx
push dword [ebp + 8]
call fcn.100e8170
mov edx, dword [ebp + 0xc]
add esp, 0xc
mov eax, dword [ebp + 8]
mov byte [edx + eax - 1], 0
mov byte [esp + 0x53], 1
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x30]
mov dword [esi + 0x1638], 0
cmp byte [esp + 0x5c], 0
je 0x1017cfca
cmp dword [edx + 0x1d14], eax
jne 0x1017cfca
call fcn.10152000
mov eax, dword [esp + 0x14]
mov ecx, 0x2f
movss xmm1, dword [0x102cd2fc]
movss xmm7, dword [eax + 0x1558]
call fcn.10157eb0
mov ecx, dword [esp + 0x98]
mov esi, eax
mov edx, dword [esp + 0x9c]
mov dword [esp + 0x70], ecx
mov ecx, dword [esp + 0x90]
mov dword [esp + 0x80], ecx
mov ecx, dword [0x1032bb20]
push 0
push ecx
movss dword [esp], xmm7
mov eax, dword [ecx + 0x1cdc]
lea ecx, [esp + 0x78]
push esi
push ecx
lea ecx, [esp + 0x90]
mov dword [esp + 0x84], edx
mov edx, dword [esp + 0xa4]
push ecx
mov ecx, dword [eax + 0x284]
mov dword [esp + 0x98], edx
call fcn.1016fef0
cmp byte [esp + 0x47], 0
movss xmm3, dword [esp + 0x88]
mov eax, dword [esp + 0x14]
movaps xmm0, xmm3
addss xmm0, dword [esp + 0xa4]
movss xmm1, dword [esp + 0xbc]
movss xmm2, dword [esp + 0x7c]
movss xmm4, dword [0x102cd360]
addss xmm1, xmm2
mov esi, dword [esp + 0x20]
movss dword [esp + 0x34], xmm0
movss dword [esp + 0xdc], xmm0
movss xmm0, dword [eax + 0x1550]
mulss xmm0, xmm4
movss dword [esp + 0xbc], xmm1
movss dword [esp + 0xd8], xmm1
movss xmm1, dword [esp + 0xc8]
addss xmm0, xmm2
addss xmm1, xmm3
movss dword [esp + 0xd0], xmm2
movss dword [esp + 0xd4], xmm3
movss dword [esp + 0x54], xmm0
movss xmm0, dword [eax + 0x1a70]
divss xmm1, xmm4
divss xmm0, xmm4
subss xmm1, xmm0
movss dword [esp + 0x80], xmm1
je 0x1017d106
mov ecx, dword [esi + 0x20]
mov dword [ebp + 8], ecx
jmp 0x1017d109
mov ecx, dword [ebp + 8]
xor eax, eax
mov dword [esp + 0x3c], eax
cmp byte [esp + 0x52], al
je 0x1017d136
mov eax, dword [esp + 0xa8]
mov ecx, eax
mov dword [ebp + 8], eax
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1017d124
mov eax, dword [esp + 0xa8]
sub ecx, edx
jmp 0x1017d13d
test esi, esi
je 0x1017d143
mov eax, dword [esi + 8]
add eax, ecx
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x8c]
xorps xmm4, xmm4
movss dword [esp + 0x70], xmm4
cmp eax, dword [esp + 0x30]
je 0x1017d164
cmp byte [esp + 0x78], 0
je 0x1017d8cf
mov ecx, dword [esi + 0x14]
xor eax, eax
xor edx, edx
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x8c]
xorps xmm0, xmm0
xorps xmm3, xmm3
movss dword [esp + 0x48], xmm0
movss dword [esp + 0x58], xmm3
mov dword [esp + 0x5c], ecx
mov dword [esp + 0xa8], edx
mov dword [esp + 0x18], 0xfffffc18
cmp eax, dword [esp + 0x30]
jne 0x1017d1b5
mov eax, dword [esi + 0x38]
lea edx, [ecx + eax*4]
or eax, 0xffffffff
mov dword [esp + 0xa8], edx
mov dword [esp + 0x18], eax
cmp byte [esp + 0x78], 0
je 0x1017d1d6
mov ecx, dword [esi + 0x40]
cmp dword [esi + 0x3c], ecx
mov eax, dword [esp + 0x5c]
cmovl ecx, dword [esi + 0x3c]
lea eax, [eax + ecx*4]
or ecx, 0xffffffff
mov dword [esp + 0x28], eax
jmp 0x1017d1db
mov ecx, 0xfffffc18
mov eax, dword [esp + 0x18]
cmp eax, 0xffffffff
cmove eax, dword [esp + 0x60]
cmp ecx, 0xffffffff
mov dword [esp + 0x18], eax
mov eax, 1
cmove ecx, eax
mov dword [esp + 0xa4], ecx
mov ecx, edx
cmp edx, dword [esp + 0x5c]
jbe 0x1017d221
mov edi, dword [esp + 0x5c]
nop dword [eax]
cmp dword [ecx - 4], 0xa
je 0x1017d21d
add ecx, 0xfffffffc
cmp ecx, edi
ja 0x1017d210
mov edi, dword [esp + 0x40]
mov eax, dword [0x1032bb20]
movaps xmm1, xmm4
movaps xmm2, xmm4
mov edx, dword [eax + 0x1a6c]
movss xmm3, dword [eax + 0x1a70]
mov eax, dword [esp + 0xa8]
divss xmm3, dword [edx + 0x10]
cmp ecx, eax
jae 0x1017d29a
mov edi, edx
nop dword [eax]
mov edx, dword [ecx]
add ecx, 4
cmp edx, 0xa
jne 0x1017d263
maxss xmm1, xmm2
movaps xmm2, xmm4
jmp 0x1017d28a
cmp edx, 0xd
je 0x1017d28a
cmp edx, dword [edi]
jge 0x1017d27d
mov eax, dword [edi + 8]
movss xmm0, dword [eax + edx*4]
mov eax, dword [esp + 0xa8]
jmp 0x1017d282
movss xmm0, dword [edi + 0xc]
mulss xmm0, xmm3
addss xmm2, xmm0
cmp ecx, eax
jb 0x1017d250
comiss xmm2, xmm1
mov edi, dword [esp + 0x40]
jbe 0x1017d29a
movaps xmm1, xmm2
addss xmm1, dword [0x102cd2fc]
movss xmm0, dword [edi + 0x1c]
sub esp, 8
subss xmm0, xmm1
movss dword [edi + 0x18], xmm1
cvtps2pd xmm0, xmm0
movsd qword [esp], xmm0
call fcn.100e5a1a
movss xmm3, dword [0x102cd2fc]
add esp, 8
fstp dword [esp + 0x60]
comiss xmm3, dword [esp + 0x60]
jbe 0x1017d2dc
mov eax, dword [edi + 0x18]
mov dword [edi + 0x1c], eax
movss xmm2, dword [edi + 0x18]
movss xmm1, dword [edi + 0x1c]
comiss xmm1, xmm2
mov ecx, dword [esp + 0x14]
jbe 0x1017d312
movaps xmm0, xmm1
subss xmm0, xmm2
mulss xmm0, dword [ecx + 0x18]
mulss xmm0, dword [0x102cd4a0]
subss xmm1, xmm0
maxss xmm1, xmm2
movss dword [edi + 0x1c], xmm1
jmp 0x1017d338
comiss xmm2, xmm1
jbe 0x1017d338
movaps xmm0, xmm2
subss xmm0, xmm1
mulss xmm0, dword [ecx + 0x18]
mulss xmm0, dword [0x102cd484]
addss xmm0, xmm1
minss xmm0, xmm2
movss dword [edi + 0x1c], xmm0
cmp dword [esp + 0xa4], 0
movd xmm0, dword [esp + 0x18]
movss xmm7, dword [ecx + 0x1a70]
cvtdq2ps xmm0, xmm0
mulss xmm0, xmm7
movss dword [esp + 0xa8], xmm0
jl 0x1017d42d
mov eax, dword [esp + 0x28]
mov ecx, eax
mov edx, dword [esp + 0x5c]
cmp eax, edx
jbe 0x1017d37f
cmp dword [ecx - 4], 0xa
je 0x1017d37f
add ecx, 0xfffffffc
cmp ecx, edx
ja 0x1017d372
mov eax, dword [0x1032bb20]
xorps xmm3, xmm3
xorps xmm0, xmm0
movss dword [esp + 0x58], xmm3
xorps xmm1, xmm1
mov edx, dword [eax + 0x1a6c]
movss xmm2, dword [eax + 0x1a70]
mov eax, dword [esp + 0x28]
divss xmm2, dword [edx + 0x10]
cmp ecx, eax
jae 0x1017d403
mov edi, edx
mov edx, dword [ecx]
add ecx, 4
cmp edx, 0xa
jne 0x1017d3c3
maxss xmm3, xmm1
movaps xmm1, xmm0
jmp 0x1017d3ea
cmp edx, 0xd
je 0x1017d3ea
cmp edx, dword [edi]
jge 0x1017d3da
mov eax, dword [edi + 8]
movss xmm0, dword [eax + edx*4]
mov eax, dword [esp + 0x28]
jmp 0x1017d3df
movss xmm0, dword [edi + 0xc]
mulss xmm0, xmm2
addss xmm1, xmm0
xorps xmm0, xmm0
cmp ecx, eax
jb 0x1017d3b0
comiss xmm1, xmm3
mov edi, dword [esp + 0x40]
movss dword [esp + 0x58], xmm3
jbe 0x1017d403
movss dword [esp + 0x58], xmm1
movd xmm0, dword [esp + 0xa4]
mov eax, dword [esp + 0x14]
movss xmm3, dword [0x102cd2fc]
cvtdq2ps xmm0, xmm0
movss xmm7, dword [eax + 0x1a70]
mulss xmm0, xmm7
movss dword [esp + 0x48], xmm0
cmp byte [esp + 0x78], 0
je 0x1017d674
mov ecx, dword [esi + 0x3c]
movaps xmm1, xmm3
mov edx, dword [esi + 0x40]
cmp ecx, edx
mov esi, dword [esp + 0x5c]
mov eax, edx
cmovl eax, ecx
cmovge edx, ecx
mov ecx, 0x31
lea esi, [esi + eax*4]
mov eax, dword [esp + 0x5c]
lea eax, [eax + edx*4]
mov dword [esp + 0x18], eax
call fcn.10157eb0
movss xmm5, dword [esp + 0x48]
addss xmm5, dword [esp + 0x80]
movss xmm4, dword [esp + 0x58]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x60], eax
addss xmm4, dword [esp + 0x54]
movss dword [esp + 0x48], xmm5
cmp esi, ecx
jae 0x1017d670
movss xmm6, dword [esp + 0x34]
mov edi, dword [esp + 0x14]
addss xmm7, xmm6
comiss xmm5, xmm7
ja 0x1017d66c
movss xmm0, dword [esp + 0x88]
comiss xmm0, xmm5
jbe 0x1017d4dc
cmp esi, ecx
jae 0x1017d64c
mov eax, dword [esi]
add esi, 4
cmp eax, 0xa
je 0x1017d64c
cmp esi, ecx
jb 0x1017d4c5
jmp 0x1017d66c
mov eax, dword [0x1032bb20]
xorps xmm7, xmm7
xorps xmm3, xmm3
xorps xmm1, xmm1
mov edx, dword [eax + 0x1a6c]
movss xmm2, dword [eax + 0x1a70]
divss xmm2, dword [edx + 0x10]
cmp esi, ecx
jae 0x1017d543
mov ecx, dword [esi]
add esi, 4
cmp ecx, 0xa
je 0x1017d535
cmp ecx, 0xd
je 0x1017d52b
cmp ecx, dword [edx]
jge 0x1017d51e
mov eax, dword [edx + 8]
movss xmm0, dword [eax + ecx*4]
jmp 0x1017d523
movss xmm0, dword [edx + 0xc]
mulss xmm0, xmm2
addss xmm1, xmm0
mov ecx, dword [esp + 0x18]
cmp esi, ecx
jb 0x1017d501
jmp 0x1017d543
mov ecx, dword [esp + 0x18]
movaps xmm3, xmm7
maxss xmm3, xmm1
movaps xmm1, xmm7
maxss xmm1, xmm3
comiss xmm7, xmm1
jb 0x1017d57c
mov eax, dword [edi + 0x1a6c]
cmp dword [eax], 0x20
jle 0x1017d564
mov eax, dword [eax + 8]
movss xmm0, dword [eax + 0x80]
jmp 0x1017d569
movss xmm0, dword [eax + 0xc]
mulss xmm0, dword [0x102cd2ac]
cvttss2si eax, xmm0
movd xmm1, eax
cvtdq2ps xmm1, xmm1
addss xmm1, dword [0x102cd2ac]
movss xmm2, dword [0x102cd628]
movaps xmm0, xmm5
subss xmm2, dword [edi + 0x1a70]
addss xmm0, dword [0x102cd360]
movss xmm3, dword [esp + 0xbc]
addss xmm1, xmm4
addss xmm4, xmm7
movss xmm7, dword [esp + 0x7c]
addss xmm2, xmm5
minss xmm0, xmm6
minss xmm1, xmm3
maxss xmm4, xmm7
maxss xmm2, dword [esp + 0x88]
comiss xmm0, dword [esp + 0x88]
movss dword [esp + 0x90], xmm4
movss dword [esp + 0x94], xmm2
movss dword [esp + 0x98], xmm1
movss dword [esp + 0x9c], xmm0
jbe 0x1017d64c
comiss xmm6, xmm2
jbe 0x1017d64c
comiss xmm1, xmm7
jbe 0x1017d64c
comiss xmm3, xmm4
jbe 0x1017d64c
push 0
push ecx
mov dword [esp], 0
lea eax, [esp + 0xa0]
push dword [esp + 0x68]
push eax
lea eax, [esp + 0xa0]
push eax
mov eax, dword [esp + 0xd4]
mov ecx, dword [eax + 0x284]
call fcn.1016fef0
movss xmm5, dword [esp + 0x48]
movss xmm6, dword [esp + 0x34]
mov ecx, dword [esp + 0x18]
movss xmm7, dword [edi + 0x1a70]
movss xmm4, dword [esp + 0x54]
addss xmm5, xmm7
movss dword [esp + 0x48], xmm5
cmp esi, ecx
jb 0x1017d4a2
mov edi, dword [esp + 0x40]
mov esi, dword [esp + 0x20]
mov eax, dword [esp + 0x8c]
cmp eax, dword [esp + 0x30]
jne 0x1017d8cc
mov eax, dword [esp + 0x14]
movss xmm1, dword [eax + 0x18]
addss xmm1, dword [esi + 0x1630]
movss dword [esi + 0x1630], xmm1
mov esi, eax
cmp byte [esi + 0xb2], 0
je 0x1017d6ec
xorps xmm3, xmm3
comiss xmm3, xmm1
jae 0x1017d6ec
movss xmm0, dword [0x102cd33c]
sub esp, 0x10
cvtps2pd xmm0, xmm0
movsd qword [esp + 8], xmm0
cvtps2pd xmm0, xmm1
movsd qword [esp], xmm0
call fcn.100e5b60
movss xmm0, dword [0x102cd2cc]
add esp, 0x10
fstp dword [esp + 0x60]
comiss xmm0, dword [esp + 0x60]
jae 0x1017d6ec
xor cl, cl
jmp 0x1017d6ee
mov cl, 1
movss xmm1, dword [esp + 0x54]
addss xmm1, dword [edi + 0x1c]
movss xmm0, dword [esp + 0xa8]
addss xmm0, dword [esp + 0x80]
cvttss2si eax, xmm1
movd xmm7, eax
cvttss2si eax, xmm0
movss xmm0, dword [esp + 0xbc]
cvtdq2ps xmm7, xmm7
movd xmm5, eax
comiss xmm7, xmm0
cvtdq2ps xmm5, xmm5
movss dword [esp + 0x80], xmm7
movss dword [esp + 0xa4], xmm5
jbe 0x1017d760
subss xmm0, xmm7
addss xmm0, dword [0x102cd40c]
subss xmm7, xmm0
movss dword [esp + 0x70], xmm0
movss dword [esp + 0x80], xmm7
movss xmm3, dword [esi + 0x1a70]
movaps xmm6, xmm7
movss xmm0, dword [0x102cd2fc]
movaps xmm1, xmm3
movss dword [esp + 0x90], xmm7
addss xmm6, xmm0
movaps xmm4, xmm5
divss xmm1, dword [0x102cd360]
movss dword [esp + 0x98], xmm6
addss xmm1, xmm0
subss xmm0, dword [edi + 0x20]
subss xmm4, dword [0x102cd360]
mulss xmm1, xmm0
movss xmm0, dword [0x102cd2fc]
subss xmm4, xmm1
movaps xmm1, xmm3
divss xmm1, dword [0x102cd360]
movss dword [esp + 0x60], xmm4
movss dword [esp + 0x9c], xmm4
addss xmm1, xmm0
subss xmm0, dword [edi + 0x20]
mulss xmm1, xmm0
movaps xmm0, xmm5
subss xmm0, xmm3
addss xmm0, dword [0x102cd394]
addss xmm1, xmm0
movss dword [esp + 0x94], xmm1
test cl, cl
je 0x1017d89c
comiss xmm4, dword [esp + 0x88]
jbe 0x1017d89c
movss xmm0, dword [esp + 0x34]
comiss xmm0, xmm1
jbe 0x1017d89c
comiss xmm6, dword [esp + 0x7c]
jbe 0x1017d89c
movss xmm0, dword [esp + 0xbc]
comiss xmm0, xmm7
jbe 0x1017d89c
movss xmm1, dword [0x102cd2fc]
mov ecx, 0x30
call fcn.10157eb0
movss xmm0, dword [esp + 0x60]
push ecx
mov dword [esp], 0x3f800000
push eax
lea eax, [esp + 0xb0]
movss dword [esp + 0xb0], xmm7
push eax
lea eax, [esp + 0x9c]
movss dword [esp + 0xb8], xmm0
push eax
mov eax, dword [esp + 0xd0]
mov ecx, dword [eax + 0x284]
call fcn.10171770
movss xmm7, dword [esp + 0x80]
movss xmm5, dword [esp + 0xa4]
cmp byte [esp + 0x4c], 0
xorps xmm4, xmm4
movss xmm6, dword [0x102cd2fc]
jne 0x1017d8db
subss xmm5, dword [esi + 0x1a70]
subss xmm7, xmm6
movss dword [esi + 0x3738], xmm5
movss dword [esi + 0x3734], xmm7
jmp 0x1017d8db
xorps xmm4, xmm4
mov esi, dword [esp + 0x14]
movss xmm6, dword [0x102cd2fc]
mov eax, dword [esp + 0x3c]
mov ecx, dword [ebp + 8]
sub eax, ecx
cmp eax, 0x200000
jge 0x1017d8ff
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1017d8f0
sub ecx, edx
je 0x1017d8ff
mov al, 1
jmp 0x1017d901
xor al, al
movss xmm3, dword [0x102cd430]
movaps xmm1, xmm6
subss xmm1, dword [edi + 0x20]
movss xmm0, dword [0x102cd2e4]
mov byte [esp + 0x27], al
mulss xmm1, dword [esi + 0x18]
mulss xmm1, xmm3
addss xmm1, dword [edi + 0x20]
minss xmm1, xmm6
comiss xmm1, xmm0
movss dword [edi + 0x20], xmm1
jbe 0x1017d940
mov dword [edi + 0x20], 0x3f800000
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x8c]
cmp edx, ecx
jne 0x1017d961
test al, al
jne 0x1017d961
movsd xmm1, qword [0x102cd340]
cvtpd2ps xmm1, xmm1
jmp 0x1017d975
movsd xmm1, qword [0x102cd358]
cvtpd2ps xmm1, xmm1
cmp edx, ecx
jne 0x1017d975
test al, al
jne 0x1017d9b9
movss xmm2, dword [edi + 0x14]
ucomiss xmm2, xmm1
lahf
test ah, 0x44
jnp 0x1017d9b1
comiss xmm2, xmm0
jbe 0x1017d992
mov dword [edi + 0x14], 0x3f800000
movaps xmm2, xmm6
movaps xmm0, xmm1
subss xmm0, xmm2
mulss xmm0, dword [esi + 0x18]
mulss xmm0, xmm3
addss xmm0, xmm2
minss xmm0, xmm1
movss dword [edi + 0x14], xmm0
jmp 0x1017d9f3
cmp edx, ecx
jne 0x1017d9f3
test al, al
je 0x1017d9f3
movss xmm1, dword [edi + 0x14]
comiss xmm1, xmm4
jbe 0x1017d9f3
movss xmm0, dword [0x102cd244]
comiss xmm0, xmm1
jbe 0x1017d9da
mov dword [edi + 0x14], 0
movaps xmm1, xmm4
movaps xmm0, xmm1
mulss xmm0, dword [esi + 0x18]
mulss xmm0, xmm3
subss xmm1, xmm0
maxss xmm1, xmm4
movss dword [edi + 0x14], xmm1
mov eax, dword fs:[0x2c]
mov ecx, dword [0x10329638]
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x10336d38]
cmp eax, dword [ecx + 4]
jg 0x1017e06e
movups xmm0, xmmword [esi + 0x15dc]
mov esi, dword [0x1032bb20]
xor edx, edx
movups xmmword [esp + 0x90], xmm0
mov eax, dword [esi + 0x1cdc]
mov ecx, dword [eax + 0xc4]
mov eax, dword [eax + 0xcc]
push dword [eax + ecx*4 - 4]
mov ecx, dword [esp + 0xc8]
call fcn.10155da0
add esp, 4
mov dword [esp + 0x60], eax
cmp dword [esi + 0x1d14], eax
jne 0x1017da61
mov dword [esi + 0x1d18], eax
cmp dword [esi + 0x1d4c], eax
jne 0x1017da70
mov byte [esi + 0x1d50], 1
mov dword [esp + 0x18], eax
mov ecx, 0x10336d3c
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0xb4]
push eax
call fcn.1004d8c0
mov esi, dword [esp + 0xb8]
mov ecx, dword [0x10336d3c]
cmp byte [esi + 0xd], 0
jne 0x1017daa7
mov eax, dword [esp + 0x60]
cmp eax, dword [esi + 0x10]
jae 0x1017daa9
mov esi, ecx
cmp esi, ecx
jne 0x1017dafc
lea eax, [esp + 0x90]
mov ecx, 0x10336d3c
push eax
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x68]
push eax
call fcn.100428a0
lea eax, [esp + 0x18]
mov ecx, 0x10336d3c
push eax
lea eax, [esp + 0xb4]
push eax
call fcn.1004d8c0
mov esi, dword [esp + 0xb8]
cmp byte [esi + 0xd], 0
jne 0x1017daf6
mov eax, dword [esp + 0x18]
cmp eax, dword [esi + 0x10]
jae 0x1017dafc
mov esi, dword [0x10336d3c]
mov eax, dword [esp + 0x14]
sub esp, 8
movss xmm1, dword [esp + 0x9c]
addss xmm1, dword [esp + 0x98]
movss xmm0, dword [eax + 0x18d0]
addss xmm0, dword [eax + 0x18cc]
addss xmm1, dword [esp + 0xa0]
addss xmm0, dword [eax + 0x18d4]
divss xmm1, dword [0x102cd394]
divss xmm0, dword [0x102cd394]
subss xmm1, xmm0
cvtps2pd xmm0, xmm1
movsd qword [esp], xmm0
call fcn.100e5a1a
movss xmm0, dword [0x102cd284]
add esp, 8
movss xmm7, dword [0x102cd2fc]
fstp dword [esp + 0x60]
comiss xmm0, dword [esp + 0x60]
jbe 0x1017db9b
movaps xmm3, xmm7
movaps xmm4, xmm7
subss xmm3, dword [esp + 0x90]
subss xmm4, dword [esp + 0x94]
movaps xmm5, xmm7
subss xmm5, dword [esp + 0x98]
jmp 0x1017dbb6
movss xmm3, dword [esp + 0x90]
movss xmm4, dword [esp + 0x94]
movss xmm5, dword [esp + 0x98]
mov eax, dword [esp + 0x14]
movss xmm1, dword [esi + 0x14]
comiss xmm3, xmm1
movss xmm2, dword [eax + 0x18]
movss xmm6, dword [0x102cd3d8]
jbe 0x1017dbe7
movaps xmm0, xmm2
mulss xmm0, xmm6
addss xmm0, xmm1
minss xmm0, xmm3
movss dword [esi + 0x14], xmm0
jmp 0x1017dc00
comiss xmm1, xmm3
jbe 0x1017dc00
movaps xmm0, xmm2
mulss xmm0, xmm6
subss xmm1, xmm0
maxss xmm1, xmm3
movss dword [esi + 0x14], xmm1
movss xmm3, dword [esi + 0x18]
comiss xmm4, xmm3
jbe 0x1017dc1b
movaps xmm1, xmm2
mulss xmm1, xmm6
addss xmm1, xmm3
minss xmm1, xmm4
jmp 0x1017dc32
comiss xmm3, xmm4
movaps xmm1, xmm3
jbe 0x1017dc37
movaps xmm0, xmm2
mulss xmm0, xmm6
subss xmm1, xmm0
maxss xmm1, xmm4
movss dword [esi + 0x18], xmm1
movss xmm0, dword [esi + 0x1c]
comiss xmm5, xmm0
jbe 0x1017dc57
mulss xmm2, xmm6
addss xmm2, xmm0
minss xmm2, xmm5
movss dword [esi + 0x1c], xmm2
movaps xmm0, xmm2
jmp 0x1017dc6d
comiss xmm0, xmm5
jbe 0x1017dc6d
mulss xmm2, xmm6
subss xmm0, xmm2
maxss xmm0, xmm5
movss dword [esi + 0x1c], xmm0
movss xmm3, dword [esi + 0x14]
xorps xmm4, xmm4
comiss xmm4, xmm3
jbe 0x1017dc7f
xorps xmm2, xmm2
jmp 0x1017dc86
movaps xmm2, xmm7
minss xmm2, xmm3
comiss xmm4, xmm1
movss xmm3, dword [0x102cd588]
movss xmm5, dword [0x102cd2ac]
mulss xmm2, xmm3
addss xmm2, xmm5
cvttss2si ecx, xmm2
jbe 0x1017dcac
xorps xmm2, xmm2
jmp 0x1017dcb3
movaps xmm2, xmm7
minss xmm2, xmm1
mulss xmm2, xmm3
addss xmm2, xmm5
cvttss2si eax, xmm2
shl eax, 8
or ecx, eax
comiss xmm4, xmm0
jbe 0x1017dcce
xorps xmm1, xmm1
jmp 0x1017dcd5
movaps xmm1, xmm7
minss xmm1, xmm0
mulss xmm1, xmm3
addss xmm1, xmm5
cvttss2si eax, xmm1
movss xmm1, dword [esi + 0x20]
shl eax, 0x10
or ecx, eax
comiss xmm4, xmm1
jbe 0x1017dcf5
xorps xmm0, xmm0
jmp 0x1017dcfc
movaps xmm0, xmm7
minss xmm0, xmm1
mulss xmm0, xmm3
addss xmm0, xmm5
cvttss2si edx, xmm0
shl edx, 0x18
or edx, ecx
xor ecx, ecx
call fcn.10158050
cmp byte [esp + 0x27], 0
mov esi, dword [esp + 0xc4]
je 0x1017ddcb
mov ecx, dword [0x1032bb20]
movss xmm2, dword [ecx + 0x1a70]
test esi, esi
je 0x1017dd63
movss xmm3, dword [0x102cd604]
lea eax, [esp + 0x60]
push 0
push 0
push esi
push ecx
mov ecx, dword [ecx + 0x1a6c]
mov dword [esp], 0xbf800000
push eax
call fcn.1016fbe0
movss xmm2, dword [esp + 0x64]
movss xmm0, dword [esp + 0xc8]
lea eax, [esp + 0xd8]
addss xmm0, dword [esp + 0x88]
divss xmm2, dword [0x102cd360]
lea edx, [esp + 0xd0]
push ecx
lea ecx, [esp + 0x64]
movss xmm1, dword [esp + 0x80]
divss xmm0, dword [0x102cd360]
addss xmm1, dword [0x102cd3e8]
push dword [ebp + 8]
subss xmm0, xmm2
push eax
addss xmm1, dword [esp + 0x7c]
movss dword [esp + 0x70], xmm0
movss dword [esp + 0x6c], xmm1
call fcn.101533e0
add esp, 0xc
cmp byte [esp + 0xf8], 0
je 0x1017dde1
cmp byte [esp + 0x52], 0
jne 0x1017dde1
call fcn.1015c870
cmp byte [ebp + 0x18], 0
je 0x1017dfc6
cmp byte [esp + 0x27], 0
jne 0x1017dfc6
movss xmm1, dword [edi + 0x14]
xorps xmm4, xmm4
comiss xmm1, xmm4
jbe 0x1017dfc6
mov eax, dword [0x1032bb20]
movss xmm5, dword [0x102cd2fc]
movups xmm2, xmmword [eax + 0x15dc]
mulss xmm1, dword [eax + 0x1518]
comiss xmm4, xmm2
movaps xmm0, xmm2
movaps xmmword [esp + 0xd0], xmm2
shufps xmm0, xmm2, 0xff
mulss xmm1, xmm0
jbe 0x1017de40
xorps xmm0, xmm0
jmp 0x1017de47
movaps xmm0, xmm5
minss xmm0, xmm2
movss xmm2, dword [0x102cd588]
movss xmm6, dword [0x102cd2ac]
movss xmm3, dword [esp + 0xd4]
comiss xmm4, xmm3
mulss xmm0, xmm2
addss xmm0, xmm6
cvttss2si ecx, xmm0
jbe 0x1017de76
xorps xmm0, xmm0
jmp 0x1017de7d
movaps xmm0, xmm5
minss xmm0, xmm3
movss xmm3, dword [esp + 0xd8]
mulss xmm0, xmm2
addss xmm0, xmm6
cvttss2si eax, xmm0
shl eax, 8
or ecx, eax
comiss xmm4, xmm3
jbe 0x1017dea1
xorps xmm0, xmm0
jmp 0x1017dea8
movaps xmm0, xmm5
minss xmm0, xmm3
mulss xmm0, xmm2
addss xmm0, xmm6
cvttss2si eax, xmm0
shl eax, 0x10
or ecx, eax
comiss xmm4, xmm1
jbe 0x1017dec3
xorps xmm5, xmm5
jmp 0x1017dec7
minss xmm5, xmm1
mulss xmm5, xmm2
addss xmm5, xmm6
cvttss2si edx, xmm5
shl edx, 0x18
or edx, ecx
xor ecx, ecx
call fcn.10158050
movss xmm1, dword [esp + 0xcc]
xorps xmm3, xmm3
comiss xmm1, xmm3
jbe 0x1017df96
movss xmm0, dword [esp + 0x7c]
mov ecx, dword [0x1032bb20]
addss xmm0, dword [0x102cd3e8]
movss dword [esp + 0x7c], xmm0
movss xmm0, dword [ecx + 0x1a70]
test esi, esi
je 0x1017df48
movss xmm3, dword [0x102cd604]
lea eax, [esp + 0x60]
push 0
push 0
push esi
push ecx
mov ecx, dword [ecx + 0x1a6c]
movaps xmm2, xmm0
mov dword [esp], 0xbf800000
push eax
call fcn.1016fbe0
movss xmm0, dword [esp + 0x64]
movss xmm1, dword [esp + 0xc8]
xor edx, edx
addss xmm1, dword [esp + 0x88]
divss xmm0, dword [0x102cd360]
mov ecx, esi
divss xmm1, dword [0x102cd360]
subss xmm1, xmm0
movss xmm0, dword [esp + 0x7c]
movss dword [esp + 0x60], xmm0
movss dword [esp + 0x64], xmm1
push dword [esp + 0x64]
push dword [esp + 0x64]
push 1
call fcn.10153980
add esp, 0xc
mov esi, dword [0x1032bb20]
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]
jmp 0x1017dfcc
mov esi, dword [0x1032bb20]
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]
movzx ecx, byte [esp + 0x3b]
add eax, eax
movups xmmword [esi + eax*8 + 0x15dc], xmm0
dec dword [esi + 0x1dd4]
test byte [ebp + 0x14], 0x20
movzx eax, byte [esp + 0x53]
cmovne eax, ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
pop edi
xor al, al
pop esi
mov esp, ebp
pop ebp
ret
push 0x10336d2c
call fcn.100bbde8
add esp, 4
cmp dword [0x10336d2c], 0xffffffff
jne 0x1017ba67
push 0x24
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 0x101c11b0
mov dword [0x10336d30], eax
call fcn.100bbd22
add esp, 4
push 0x10336d2c
call fcn.100bbd97
add esp, 4
jmp 0x1017ba67
call fcn.100073f0
push 0x10336d38
call fcn.100bbde8
add esp, 4
cmp dword [0x10336d38], 0xffffffff
jne 0x1017da13
push 0x24
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 0x101c1160
mov dword [0x10336d3c], eax
call fcn.100bbd22
add esp, 4
push 0x10336d38
call fcn.100bbd97
add esp, 4
jmp 0x1017da13