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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0xd8
push esi
push edi
mov edi, dword [0x10350170]
mov esi, ecx
mov dword [esp + 0x6c], edx
mov dword [esp + 0xa0], esi
mov dword [esp + 0x10], edi
mov eax, dword [edi + 0x1cdc]
mov byte [eax + 0x8c], 1
mov edx, dword [edi + 0x1cdc]
mov dword [esp + 0x9c], edx
cmp byte [edx + 0x8f], 0
jne 0x1016f85d
mov eax, dword [ebp + 0x14]
mov ecx, dword [edx + 0xc4]
shr eax, 9
and eax, 0xffffff01
mov dword [esp + 0x50], eax
mov eax, dword [ebp + 0x14]
shr eax, 0xa
and eax, 0xffffff01
mov dword [esp + 0xd8], eax
mov eax, dword [edx + 0xcc]
xor edx, edx
push dword [eax + ecx*4 - 4]
mov ecx, esi
call fcn.101459e0
mov esi, eax
add esp, 4
mov dword [esp + 0x20], esi
cmp dword [edi + 0x1d14], esi
jne 0x1016d15d
mov dword [edi + 0x1d18], esi
nop dword [eax]
cmp dword [edi + 0x1d4c], esi
jne 0x1016d16f
mov byte [edi + 0x1d50], 1
mov eax, dword ds:[esp + 0xa0]
mov ecx, eax
mov dword [esp + 0x1c], esi
cmp eax, 0xffffffff
jae 0x1016d19b
mov dl, byte [ecx]
test dl, dl
je 0x1016d19b
cmp dl, 0x23
jne 0x1016d195
cmp byte [ecx + 1], dl
je 0x1016d19b
inc ecx
cmp ecx, 0xffffffff
jb 0x1016d185
movss xmm0, dword [edi + 0x1a70]
xorps xmm1, xmm1
movss xmm2, dword [0x102fe08c]
cmp eax, ecx
jne 0x1016d1bd
movss dword [esp + 0xbc], xmm1
jmp 0x1016d207
push 0
push ecx
push eax
push ecx
mov ecx, dword [edi + 0x1a6c]
lea eax, [esp + 0x50]
mov dword [esp], 0xbf800000
movaps xmm3, xmm2
push eax
movaps xmm2, xmm0
call fcn.101609e0
movss xmm0, dword [esp + 0x40]
addss xmm0, dword [0x102fdddc]
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [esp + 0xbc], xmm0
movss xmm0, dword [esp + 0x44]
movss xmm2, dword ds:[edi + 0x1554]
mulss xmm2, dword [0x102fde30]
addss xmm2, xmm0
call fcn.10139740
mov eax, dword [ebp + 0x10]
lea ecx, [esp + 0x40]
movaps xmm1, xmm0
push dword [eax + 4]
push dword [eax]
call fcn.10139660
movss xmm1, dword [esp + 0xc4]
xorps xmm0, xmm0
add esp, 8
comiss xmm1, xmm0
jbe 0x1016d257
addss xmm1, dword [edi + 0x1568]
jmp 0x1016d25a
xorps xmm1, xmm1
mov eax, dword [esp + 0x9c]
lea ecx, [esp + 0x40]
movss xmm3, dword [esp + 0x40]
movss xmm2, dword [esp + 0x44]
addss xmm1, xmm3
movss dword [esp + 0x98], xmm3
movss xmm4, dword [eax + 0xd0]
movss xmm6, dword [eax + 0xd4]
movaps xmm0, xmm4
addss xmm0, xmm3
movss dword [esp + 0x68], xmm4
addss xmm1, xmm4
movss dword [esp + 0x84], xmm6
movaps xmm5, xmm6
movss dword [esp + 0xb4], xmm2
addss xmm5, xmm2
movss dword [esp + 0x70], xmm4
movss dword [esp + 0x74], xmm6
movss dword [esp + 0x78], xmm0
movaps xmm0, xmm6
addss xmm0, xmm2
movss dword [esp + 0xc8], xmm1
subss xmm1, xmm4
movss dword [esp + 0xc0], xmm4
movss dword [esp + 0xb0], xmm5
movss dword [esp + 0x7c], xmm5
movss dword [esp + 0xc4], xmm6
movss dword [esp + 0xcc], xmm0
subss xmm0, xmm6
movss dword [esp + 0x40], xmm1
movss xmm1, dword [edi + 0x1554]
movss dword [esp + 0x44], xmm0
call fcn.10139e20
test dword [ebp + 0x14], 0x10000000
jne 0x1016d37a
push ecx
lea eax, [esp + 0x74]
mov edx, esi
push eax
lea ecx, [esp + 0xc8]
call fcn.10139c00
add esp, 8
test al, al
je 0x1016f85d
movss xmm0, dword [esp + 0x7c]
movss dword [esp + 0xb0], xmm0
movss xmm0, dword [esp + 0x74]
movss dword [esp + 0x84], xmm0
movss xmm0, dword [esp + 0x70]
movss dword [esp + 0x68], xmm0
mov edx, esi
lea ecx, [esp + 0x70]
call fcn.101414a0
mov dl, al
mov byte [esp + 0x26], dl
test dl, dl
je 0x1016d399
mov dword [edi + 0x1f80], 1
mov eax, dword [0x10350170]
xor ecx, ecx
add eax, 0x201c
cmp dword [eax], esi
cmovne eax, ecx
mov ecx, dword [esp + 0x9c]
mov dword [esp + 0x88], eax
mov dword [esp + 0x18], eax
mov ecx, dword [ecx + 0x120]
shr ecx, 8
and ecx, 0xffffff01
mov dword [esp + 0xa4], ecx
test dl, dl
je 0x1016d3e3
cmp byte [edi + 0x3d8], 0
je 0x1016d3e3
mov dl, 1
jmp 0x1016d3e5
xor dl, dl
mov eax, dword [edi + 0x1d14]
mov esi, dword [esp + 0x18]
mov byte [esp + 0x27], dl
cmp eax, dword [esp + 0x20]
je 0x1016d42f
mov esi, dword [esp + 0x20]
cmp dword [edi + 0x1e58], esi
mov esi, dword [esp + 0x18]
je 0x1016d422
mov esi, dword [esp + 0x20]
cmp dword [edi + 0x1e4c], esi
mov esi, dword [esp + 0x18]
jne 0x1016d42f
cmp dword [edi + 0x1e70], 2
jne 0x1016d42f
mov dh, 1
mov byte [esp + 0x60], 0
mov byte [esp + 0x17], dh
jmp 0x1016d446
xor dh, dh
mov byte [esp + 0x60], 0
mov byte [esp + 0x17], dh
cmp eax, dword [esp + 0x20]
je 0x1016d457
test byte [ebp + 0x14], 0x10
jne 0x1016d450
test dh, dh
je 0x1016d457
mov byte [esp + 0x2c], 1
jmp 0x1016d45c
mov byte [esp + 0x2c], 0
nop dword [eax]
test dl, dl
jne 0x1016d470
test dh, dh
jne 0x1016d470
mov byte [esp + 0x16], dh
test cl, cl
je 0x1016d475
mov byte [esp + 0x16], 1
mov eax, dword fs:[0x2c]
mov ecx, dword [0x1034dcac]
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x1035b34c]
cmp eax, dword [ecx + 4]
jg 0x1016f865
lea eax, ds:[esp + 0x1c]
push eax
lea eax, [esp + 0x44]
push eax
call fcn.10051140
mov edi, dword [esp + 0x48]
mov eax, dword [0x1035b350]
mov dword [esp + 0x3c], edi
mov dword [esp + 0x28], eax
cmp byte [edi + 0xd], 0
jne 0x1016d4c5
mov ecx, dword [esp + 0x20]
cmp ecx, dword [edi + 0x10]
jae 0x1016d4cb
mov edi, eax
mov dword [esp + 0x3c], eax
cmp edi, eax
jne 0x1016d58d
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0xc4]
push eax
call fcn.10051140
mov edi, dword [esp + 0x20]
movq xmm0, qword [eax]
mov eax, dword [eax + 8]
movq qword [esp + 0x40], xmm0
cmp byte [eax + 0xd], 0
jne 0x1016d505
nop dword [eax]
cmp edi, dword [eax + 0x10]
jae 0x1016d55b
cmp dword [0x1035b354], 0x71c71c7
je 0x1016f8bb
push 0x24
call fcn.1009af98
mov ecx, dword [esp + 0x2c]
add esp, 4
movaps xmm0, xmmword [0x102fe110]
mov dword [eax + 0x10], edi
movups xmmword [eax + 0x14], xmm0
push eax
push dword [esp + 0x48]
mov dword [eax], ecx
push dword [esp + 0x48]
mov dword [eax + 4], ecx
mov dword [eax + 8], ecx
mov ecx, 0x1035b350
mov word [eax + 0xc], 0
call fcn.10165540
mov eax, dword [0x1035b350]
mov dword [esp + 0x28], eax
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x44]
push eax
call fcn.10051140
mov edi, dword [esp + 0x48]
mov dword [esp + 0x3c], edi
cmp byte [edi + 0xd], 0
jne 0x1016d585
mov eax, dword ds:[esp + 0x20]
cmp eax, dword [edi + 0x10]
jae 0x1016d58d
mov edi, dword [esp + 0x28]
mov dword [esp + 0x3c], edi
mov al, byte [esp + 0x16]
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x94], 1
test al, al
je 0x1016d71b
cmp dword [edx + 0x1d14], ecx
je 0x1016d791
mov esi, dword [ebp + 8]
lea ecx, [edx + 0x201c]
mov dword [ecx + 0x1630], 0xbdcccccd
mov dword [esp + 0x18], 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 0x1016d5e0
sub esi, edx
add ecx, 0x24
inc esi
push esi
call fcn.1003f620
push esi
mov esi, dword [esp + 0x1c]
push dword [ebp + 8]
push dword [esi + 0x2c]
call fcn.100afbe0
mov eax, dword [ebp + 0xc]
lea ecx, [esi + 0xc]
add esp, 0xc
mov dword [esp + 0x34], 0
inc eax
push eax
call fcn.1003f8e0
lea ecx, [esi + 0x18]
push 0
call fcn.1003f620
mov edx, dword ds:[ebp + 0xc]
lea eax, [esp + 0x34]
mov ecx, dword [esi + 0x14]
push eax
push 0
push dword [ebp + 8]
mov byte [esi + 0x30], 0
call fcn.101453c0
mov dword [esi + 4], eax
add esp, 0xc
mov eax, dword [esp + 0x34]
sub eax, dword [ebp + 8]
mov dword [esi + 8], eax
mov eax, dword [esp + 0x20]
cmp dword [esi], eax
jne 0x1016d679
cmp dword [esp + 0x88], 0
jne 0x1016d679
mov ecx, esi
call fcn.10044500
mov eax, dword [esp + 0x2c]
mov ecx, 1
jmp 0x1016d6e9
cmp byte [esp + 0xa4], 0
mov ecx, 1
mov dword [esi], eax
mov eax, dword [esp + 0x2c]
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 + 0x2c], eax
test dword [ebp + 0x14], 0x100
je 0x1016d6f6
mov byte [esi + 0x44], 1
cmp byte ds:[esp + 0x27], 0
mov edx, dword [esp + 0x10]
je 0x1016d713
cmp byte [edx + 0xfc], 0
movzx eax, al
cmovne eax, ecx
mov byte [esp + 0x2c], al
mov ecx, dword [esp + 0x20]
mov al, byte [esp + 0x16]
nop dword [eax + eax]
cmp dword [edx + 0x1d14], ecx
je 0x1016d791
test al, al
je 0x1016d791
mov edx, dword [esp + 0x9c]
mov ecx, dword [esp + 0x20]
call fcn.10141880
nop dword [eax]
call fcn.101374e0
mov ecx, edx
call fcn.1013bc80
mov edx, dword ds:[esp + 0x10]
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 0x1016d791
or eax, 1
mov dword [edx + 0x1d34], ecx
mov dword [edx + 0x1d30], eax
mov eax, dword [esp + 0x20]
cmp dword [edx + 0x1d14], eax
jne 0x1016d7b1
nop dword [eax]
test esi, esi
jne 0x1016d7b1
call fcn.101417e0
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x20]
mov ecx, dword ds:[edx + 0x1d14]
mov dword [esp + 0x80], ecx
cmp ecx, eax
jne 0x1016d7ec
cmp byte [edx + 0x3d8], 0
je 0x1016d7ec
mov ecx, dword [esp + 0x60]
mov eax, 1
cmp byte [esp + 0x16], 0
movzx ecx, cl
cmove ecx, eax
mov dword [esp + 0x60], ecx
mov ecx, dword [esp + 0x80]
test esi, esi
je 0x1016d808
mov eax, dword [esi + 0x3c]
cmp eax, dword [esi + 0x40]
mov eax, dword [esp + 0x20]
je 0x1016d80c
nop dword [eax]
cmp ecx, eax
jne 0x1016d80c
mov cl, 1
jmp 0x1016d80e
mov eax, dword [esp + 0x20]
xor cl, cl
cmp byte [esp + 0x50], 0
mov dword [esp + 0x64], ecx
mov byte [esp + 0x3b], cl
mov byte [esp + 0x57], 0
mov byte [esp + 0x27], 0
je 0x1016d8ab
test esi, esi
je 0x1016d8ab
cmp dword [esp + 0x80], eax
je 0x1016d83c
test cl, cl
je 0x1016d8b8
mov eax, dword [ebp + 0xc]
lea ecx, [esi + 0xc]
inc eax
mov dword [esp + 0x34], 0
push eax
call fcn.1003f8e0
mov edx, dword [esi + 0xc]
lea eax, [esp + 0x34]
mov esi, dword [esp + 0x18]
push eax
push 0
push dword [ebp + 8]
mov ecx, dword [esi + 0x14]
call fcn.101453c0
mov dword ds:[esi + 4], eax
add esp, 0xc
mov eax, dword [esp + 0x34]
mov ecx, esi
sub eax, dword [ebp + 8]
mov dword [esi + 8], eax
call fcn.10044500
mov ecx, dword [esi + 0x3c]
cmp ecx, dword [esi + 0x40]
movzx eax, byte [esp + 0x3b]
mov edx, dword [esp + 0x10]
mov dword [esp + 0x64], 0
mov ecx, dword [esp + 0x64]
cmovne ecx, eax
mov eax, dword [esp + 0x20]
mov dword [esp + 0x64], ecx
cmp dword [esp + 0x80], eax
je 0x1016d8c8
test cl, cl
jne 0x1016d8c8
nop dword [eax + eax]
cmp dword [edx + 0x1d14], eax
jne 0x1016d8dd
cmp byte [esp + 0x50], 0
jne 0x1016d8dd
test esi, esi
je 0x1016d8dd
cmp byte [esi + 0x30], 0
je 0x1016d8dd
mov al, 1
jmp 0x1016d8df
xor al, al
cmp dword [esp + 0x6c], 0
mov byte [esp + 0x3b], al
je 0x1016d8ff
test al, al
je 0x1016d8f3
mov eax, dword [esi + 0x20]
jmp 0x1016d8f6
mov eax, dword [ebp + 8]
cmp byte [eax], 0
jne 0x1016d8ff
mov al, 1
jmp 0x1016d901
xor al, al
cmp byte [esp + 0xd8], 0
mov byte [esp + 0x56], al
je 0x1016d9a5
test al, al
jne 0x1016d9a5
mov edx, dword [edx + 0x1a6c]
cmp dword [edx + 0x14], 0x2a
ja 0x1016d92c
mov eax, dword [edx + 0x2c]
jmp 0x1016d948
mov eax, dword [edx + 0x1c]
mov eax, dword [eax + 0xa8]
cmp eax, 0xffffffff
jne 0x1016d93f
mov eax, dword [edx + 0x2c]
jmp 0x1016d948
lea ecx, [eax + eax*4]
mov eax, dword [edx + 0x28]
lea eax, [eax + ecx*8]
mov ecx, dword ds:[esp + 0x10]
mov dword [esp + 0x1c], eax
add ecx, 0x3658
mov eax, dword [edx + 0x10]
mov edx, dword [esp + 0x10]
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 + 0x1c]
mov dword [ecx + 0x2c], eax
mov eax, dword [eax + 4]
mov dword [ecx + 0xc], eax
call fcn.1014c800
mov edx, dword ds:[esp + 0x10]
mov eax, dword [esp + 0x20]
movss xmm0, dword [0x102fdd94]
cmp dword [edx + 0x1d14], eax
jne 0x1016dd01
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 + 0x2c], 0
mov byte [edx + 0x1d21], al
movss xmm7, dword [edx + 0xe4]
subss xmm7, dword [esp + 0x68]
mulss xmm2, xmm0
subss xmm7, dword [edx + 0x1550]
jne 0x1016db49
mov al, byte [esp + 0x26]
test al, al
je 0x1016da3e
cmp byte [edx + 0x3dd], 0
jne 0x1016db49
cmp byte [edx + 0x3d8], 0
je 0x1016daa8
cmp byte [esi + 0x1635], 0
jne 0x1016daa8
test al, al
je 0x1016db64
cmp byte [esi + 0x4f], 0
je 0x1016da7a
push 0
mov edx, esi
lea ecx, [esp + 0xc4]
call fcn.10171f20
movss xmm2, dword [esp + 0xd0]
add esp, 4
movaps xmm1, xmm7
mov ecx, esi
call fcn.10171a40
mov edx, dword [esp + 0x10]
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 0x1016db64
cmp byte [edx + 0xec], 0
je 0x1016db64
cmp byte ds:[esi + 0x1635], 0
jne 0x1016db6d
movss xmm0, dword [edx + 0x374]
xorps xmm3, xmm3
ucomiss xmm0, xmm3
lahf
test ah, 0x44
jp 0x1016daeb
movss xmm0, dword [edx + 0x378]
ucomiss xmm0, xmm3
lahf
test ah, 0x44
jnp 0x1016db64
cmp byte [esi + 0x4f], 0
je 0x1016db11
push 0
mov edx, esi
lea ecx, [esp + 0xc4]
call fcn.10171f20
movss xmm2, dword [esp + 0xd0]
add esp, 4
mov eax, dword [esi + 0x3c]
cmp eax, dword [esi + 0x40]
jne 0x1016db1f
mov eax, dword [esi + 0x38]
mov dword [esi + 0x3c], eax
movaps xmm1, xmm7
mov ecx, esi
call fcn.10171a40
mov edx, dword [esp + 0x10]
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 0x1016db64
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 0x1016db7d
cmp byte [edx + 0xec], 0
jne 0x1016db7d
mov byte [esi + 0x1635], 0
cmp byte [edx + 0xfc], 0
je 0x1016db94
cmp byte [edx + 0xfe], 0
mov byte [esp + 0xf], 1
je 0x1016db99
mov byte [esp + 0xf], 0
nop dword [eax]
test cl, 0x40
je 0x1016dc33
mov eax, dword [0x10350170]
mov ecx, dword [eax + 0x34]
test ecx, ecx
js 0x1016dc33
call fcn.1013eac0
mov edx, dword [esp + 0x10]
test al, al
mov al, byte [esp + 0xf]
mov ecx, dword [esp + 0x50]
je 0x1016dc3b
test al, al
jne 0x1016dc3b
cmp byte [edx + 0xfd], al
jne 0x1016dc3b
test cl, cl
jne 0x1016dc3b
lea eax, [esp + 0x88]
mov dword [esp + 0x88], 9
push eax
lea ecx, [edx + 0x1508]
call fcn.10045c00
nop dword [eax]
test al, al
jne 0x1016dc2f
mov edx, dword [ebp + 0x14]
lea ecx, [esp + 0x34]
push 2
sub esp, 8
mov dword [esp + 0x40], 9
call fcn.1016f920
add esp, 0xc
test al, al
je 0x1016dc2f
push dword [esp + 0x34]
mov ecx, esi
call fcn.1016fc20
mov edx, dword [esp + 0x10]
mov al, byte [esp + 0xf]
mov ecx, dword [esp + 0x50]
cmp dword [edx + 0x1508], 0
jle 0x1016dcfd
test al, al
jne 0x1016dcec
test cl, cl
jne 0x1016dcec
nop dword [eax + eax]
cmp byte [esp + 0x17], cl
jne 0x1016dcec
xor edi, edi
xor ecx, ecx
mov dword [esp + 0x1c], ecx
mov eax, dword ds:[edx + 0x1510]
mov eax, dword [ecx + eax]
mov dword [esp + 0x34], eax
cmp eax, 9
jne 0x1016dc8e
cmp byte [edx + 0xfd], 0
jne 0x1016dcd0
mov edx, dword [ebp + 0x14]
lea ecx, [esp + 0x34]
push 2
sub esp, 8
call fcn.1016f920
add esp, 0xc
test al, al
je 0x1016dcc8
push dword [esp + 0x34]
lea edx, [esi + 0x38]
mov ecx, esi
call fcn.10170660
add esp, 4
mov byte [esi + 0x1634], 1
mov dword [esi + 0x1630], 0xbdcccccd
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0x1c]
inc edi
add ecx, 4
mov dword [esp + 0x1c], ecx
cmp edi, dword [edx + 0x1508]
jl 0x1016dc72
mov edi, dword [esp + 0x3c]
push 0
lea ecx, [edx + 0x1508]
call fcn.1003f8e0
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x20]
xor cl, cl
mov byte [esp + 0xf], cl
cmp dword [edx + 0x1d14], eax
jne 0x1016e7b4
cmp byte [edx + 0x1d20], cl
jne 0x1016e558
nop
cmp byte [esp + 0x60], cl
jne 0x1016e558
movss xmm0, dword [esp + 0xb4]
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 + 0x17], al
jne 0x1016dd9b
mov eax, dword [0x10350170]
mov ecx, dword [eax + 0x80]
test ecx, ecx
js 0x1016dd9b
call fcn.1013eac0
test al, al
je 0x1016dd97
mov byte [esp + 0x16], 1
jmp 0x1016ddaa
mov edx, dword [esp + 0x10]
xor al, al
cmp dword [edx + 0x37c], 1
mov byte [esp + 0x16], al
jne 0x1016ddc6
mov eax, dword [0x10350170]
mov ecx, dword [eax + 0x78]
test ecx, ecx
js 0x1016ddc6
call fcn.1013eac0
test al, al
je 0x1016ddc6
mov byte [esp + 0x5f], 1
jmp 0x1016ddd8
mov eax, dword [esp + 0x10]
mov byte [esp + 0x5f], 0
cmp dword [eax + 0x37c], 1
jne 0x1016ddf2
mov eax, dword [0x10350170]
mov ecx, dword [eax + 0x7c]
test ecx, ecx
js 0x1016ddf2
call fcn.1013eac0
mov byte [esp + 0x26], 1
test al, al
jne 0x1016ddf7
mov byte [esp + 0x26], 0
mov eax, dword [0x10350170]
mov ecx, dword ds:[eax + 0x38]
test ecx, ecx
js 0x1016de36
call fcn.1013eac0
test al, al
je 0x1016de36
cmp byte [esp + 0x17], 0
mov ecx, 0x20000c
mov eax, 0x200000
cmovne eax, ecx
or eax, esi
mov esi, dword [esp + 0x18]
push eax
mov ecx, esi
call fcn.1016fc20
mov edx, dword [esp + 0x10]
jmp 0x1016e531
mov eax, dword [0x10350170]
mov ecx, dword ds:[eax + 0x3c]
test ecx, ecx
js 0x1016de76
call fcn.1013eac0
test al, al
je 0x1016de76
cmp byte [esp + 0x17], 0
mov ecx, 0x20000d
mov eax, 0x200001
cmovne eax, ecx
or eax, esi
mov esi, dword [esp + 0x18]
push eax
mov ecx, esi
call fcn.1016fc20
mov edx, dword [esp + 0x10]
jmp 0x1016e531
mov eax, dword [0x10350170]
mov ecx, dword ds:[eax + 0x50]
test ecx, ecx
js 0x1016debd
call fcn.1013eac0
test al, al
je 0x1016debd
mov eax, esi
or eax, 0x200006
or esi, 0x200004
mov ecx, dword [esp + 0x10]
cmp byte [ecx + 0xfc], 0
cmovne esi, eax
push esi
mov esi, dword [esp + 0x1c]
mov ecx, esi
call fcn.1016fc20
mov edx, dword [esp + 0x10]
jmp 0x1016e531
mov eax, dword [0x10350170]
mov ecx, dword [eax + 0x54]
test ecx, ecx
js 0x1016dee2
call fcn.1013eac0
test al, al
je 0x1016dee2
mov eax, esi
or eax, 0x200007
or esi, 0x200005
jmp 0x1016de9a
mov eax, dword [0x10350170]
mov ecx, dword [eax + 0x5c]
test ecx, ecx
js 0x1016df19
call fcn.1013eac0
test al, al
je 0x1016df19
cmp byte [esp + 0x50], 0
jne 0x1016df19
or esi, 0x200008
push esi
mov esi, dword [esp + 0x1c]
mov ecx, esi
call fcn.1016fc20
mov edx, dword [esp + 0x10]
jmp 0x1016e531
mov eax, dword [0x10350170]
mov ecx, dword [eax + 0x60]
test ecx, ecx
js 0x1016df71
call fcn.1013eac0
test al, al
je 0x1016df71
cmp byte [esp + 0x50], 0
jne 0x1016df71
mov ecx, dword ds:[esp + 0x18]
mov eax, dword [ecx + 0x3c]
cmp eax, dword [ecx + 0x40]
jne 0x1016df56
cmp byte [esp + 0x17], 0
je 0x1016df56
push 0x60000c
call fcn.1016fc20
or esi, 0x200009
push esi
mov esi, dword [esp + 0x1c]
mov ecx, esi
call fcn.1016fc20
mov edx, dword [esp + 0x10]
jmp 0x1016e531
mov eax, dword [0x10350170]
mov ecx, dword [eax + 0x68]
test ecx, ecx
js 0x1016df89
nop dword [eax]
call fcn.1013eac0
test al, al
jne 0x1016df9e
mov eax, dword [0x10350170]
mov ecx, dword [eax + 0x70]
test ecx, ecx
js 0x1016dfd7
call fcn.1013eac0
test al, al
je 0x1016dfd7
mov eax, dword [ebp + 0x14]
mov edx, dword [esp + 0x10]
shr eax, 7
test al, 1
mov al, byte [edx + 0xfc]
je 0x1016dfbb
test al, al
je 0x1016dfc8
jmp 0x1016e52d
nop dword [eax + eax]
test al, al
je 0x1016e52d
mov byte [esp + 0x60], 1
mov byte [esp + 0x27], 1
jmp 0x1016e52d
mov eax, dword [0x10350170]
mov ecx, dword ds:[eax + 0x6c]
test ecx, ecx
js 0x1016e005
call fcn.1013eac0
test al, al
je 0x1016e005
mov esi, dword ds:[esp + 0x18]
mov cl, 1
mov edx, dword [esp + 0x10]
mov byte [esp + 0x60], cl
jmp 0x1016e535
mov eax, dword [esp + 0x10]
cmp dword [eax + 0x37c], 1
jne 0x1016e055
mov eax, dword [0x10350170]
mov ecx, dword [eax + 0x74]
test ecx, ecx
js 0x1016e051
nop
call fcn.1013eac0
test al, al
je 0x1016e051
mov esi, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
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 0x1016e531
mov eax, dword [esp + 0x10]
mov dl, byte ds:[esp + 0x16]
test dl, dl
jne 0x1016e3b2
cmp byte [esp + 0x5f], dl
jne 0x1016e3b2
cmp byte [esp + 0x26], dl
je 0x1016e529
mov eax, dword [0x10350170]
mov ecx, dword [eax + 0xd0]
test ecx, ecx
je 0x1016e0a5
push dword [eax + 0xd8]
call ecx
mov esi, eax
add esp, 4
test esi, esi
jne 0x1016e0aa
nop dword [eax]
jmp 0x1016e529
mov esi, 0x102f6560
mov ecx, esi
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1016e0b0
sub ecx, edx
lea ecx, [ecx*4 + 4]
call fcn.10147920
mov ecx, eax
xor eax, eax
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x30], eax
cmp byte [esi], al
je 0x1016e132
xor edi, edi
nop dword [eax + eax]
push 0
mov edx, esi
lea ecx, [esp + 0x2c]
call fcn.101455a0
add esp, 4
add esi, eax
cmp dword [esp + 0x28], 0
je 0x1016e122
mov edx, dword [ebp + 0x14]
lea ecx, [esp + 0x28]
push 5
sub esp, 8
call fcn.1016f920
add esp, 0xc
test al, al
je 0x1016e11d
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x28]
mov dword [ecx + edi*4], eax
inc edi
cmp byte [esi], 0
jne 0x1016e0e0
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x30], edi
mov edi, dword [esp + 0x3c]
mov eax, dword [esp + 0x30]
mov dword ds:[ecx + eax*4], 0
test eax, eax
jle 0x1016e37e
mov edx, dword [esp + 0x18]
mov ecx, dword [edx + 0x40]
lea esi, [edx + 0x38]
mov dword [esp + 0x88], esi
mov eax, dword [edx + 4]
mov dword [esp + 0x2c], eax
mov eax, dword [esi + 4]
cmp eax, ecx
je 0x1016e1a9
cmp eax, dword [esp + 0x2c]
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x2c]
jle 0x1016e17c
mov dword [esi + 4], eax
mov dword [esp + 0x58], eax
mov dword [esp + 0x28], ecx
cmp ecx, eax
jle 0x1016e18d
mov dword [esi + 8], eax
mov dword [esp + 0x28], eax
jmp 0x1016e191
mov eax, dword [esp + 0x28]
mov edx, dword [esp + 0x28]
mov ecx, eax
mov eax, dword [esp + 0x58]
cmp eax, edx
mov edx, dword [esp + 0x18]
jne 0x1016e1a9
mov ecx, dword [esp + 0x28]
mov dword [esi], eax
mov edi, dword [esi]
cmp edi, dword [esp + 0x2c]
mov dword [esp + 0x58], edi
mov edi, dword [esp + 0x3c]
jle 0x1016e1c7
mov edi, dword [esp + 0x2c]
mov dword [esi], edi
mov dword [esp + 0x58], edi
mov edi, dword [esp + 0x3c]
mov edx, dword [edx + 4]
cmp eax, ecx
je 0x1016e21a
mov dword [esp + 0x28], eax
cmp eax, edx
jle 0x1016e1e5
mov eax, edx
mov dword [esi + 4], edx
mov dword [esp + 0x28], eax
jmp 0x1016e1e9
mov eax, dword [esp + 0x28]
mov dword [esp + 0x2c], ecx
cmp ecx, edx
jle 0x1016e1f8
mov dword [esi + 8], edx
mov dword [esp + 0x2c], edx
mov ecx, dword [esp + 0x58]
mov dword [esp + 0x58], ecx
mov ecx, dword [esp + 0x2c]
mov edi, ecx
cmp dword [esp + 0x28], edi
mov edi, dword [esp + 0x3c]
jne 0x1016e21a
mov eax, dword [esp + 0x28]
mov dword [esi], eax
mov dword [esp + 0x58], eax
nop word [eax + eax]
cmp dword [esp + 0x58], edx
jle 0x1016e228
mov dword [esi], edx
cmp eax, ecx
je 0x1016e261
mov edx, esi
jge 0x1016e245
sub ecx, eax
push ecx
mov ecx, dword [esp + 0x1c]
push eax
call fcn.10171740
mov eax, dword [esi + 4]
mov dword [esi + 8], eax
jmp 0x1016e258
sub eax, ecx
push eax
push ecx
mov ecx, dword [esp + 0x20]
call fcn.10171740
mov eax, dword [esi + 8]
mov dword [esi + 4], eax
mov dword [esi], eax
add esp, 8
mov byte [esi + 0x16], 0
push dword [esp + 0x30]
mov edx, dword [esi]
push dword [esp + 0x20]
mov ecx, dword [esp + 0x20]
call fcn.10171be0
add esp, 8
test al, al
je 0x1016e357
mov eax, dword [esi]
lea edx, [esi + 0x20]
mov dword [esp + 0xa4], eax
mov eax, 0x63
mov dword [esp + 0x34], edx
mov word [edx + 0x15ce], ax
mov dword [edx + 0x15d4], 0x3e7
cmp word [edx + 0x15cc], ax
jne 0x1016e2b8
mov ecx, edx
call fcn.10170580
lea edx, [esi + 0x20]
cmp dword [edx + 0x15d0], 0x3e7
jle 0x1016e2e6
mov esi, dword [esp + 0x34]
mov ecx, esi
call fcn.10170580
cmp dword [esi + 0x15d0], 0x3e7
jg 0x1016e2c8
mov esi, dword [esp + 0x88]
mov edx, dword [esp + 0x34]
movzx ecx, word ds:[edx + 0x15cc]
lea eax, [ecx + 1]
movsx ecx, cx
shl ecx, 4
mov word [edx + 0x15cc], ax
add ecx, edx
je 0x1016e33c
mov eax, dword [esp + 0xa4]
mov dword [ecx], eax
mov eax, dword [esp + 0x30]
mov dword [ecx + 4], 0
mov dword [ecx + 8], eax
mov dword [ecx + 0xc], 0xffffffff
add dword [esi], eax
mov ecx, dword [esp + 0x1c]
mov byte [esi + 0x16], 0
mov esi, dword [esp + 0x18]
mov byte [esi + 0x1634], 1
jmp 0x1016e382
mov eax, dword [esp + 0x30]
add dword [esi], eax
mov ecx, dword [esp + 0x1c]
mov byte [esi + 0x16], 0
mov esi, dword [esp + 0x18]
mov byte [esi + 0x1634], 1
jmp 0x1016e382
movzx eax, word ds:[esi + 0x15ec]
test ax, ax
je 0x1016e36d
dec eax
mov word [esi + 0x15ec], ax
mov esi, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov byte [esi + 0x1634], 1
jmp 0x1016e382
mov esi, dword [esp + 0x18]
test ecx, ecx
je 0x1016e395
mov eax, dword [0x10350170]
test eax, eax
je 0x1016e395
dec dword [eax + 0x370]
push dword [0x1035018c]
push ecx
call dword [0x1034c470]
mov edx, dword [esp + 0x18]
add esp, 8
jmp 0x1016e531
cmp dword [eax + 0xd4], 0
je 0x1016e477
mov esi, dword [esp + 0x18]
mov ecx, dword [esi + 0x40]
mov eax, dword [esi + 0x3c]
cmp eax, ecx
je 0x1016e3e3
mov edx, ecx
cmovge ecx, eax
cmovl edx, eax
mov al, byte [esp + 0x16]
mov dword [esp + 0x1c], edx
mov byte [esp + 0x16], al
jmp 0x1016e3f2
mov ecx, dword [esi + 4]
mov dword [esp + 0x1c], 0
mov byte [esp + 0x16], dl
mov eax, dword [esi + 0x14]
mov dword [esp + 0x34], ecx
lea edx, [eax + ecx*4]
mov ecx, dword [esp + 0x1c]
lea ecx, [eax + ecx*4]
call fcn.10144f00
inc eax
mov ecx, eax
mov dword [esp + 0x88], eax
call fcn.10147920
mov esi, dword [esi + 0x14]
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x88]
mov dword [esp + 0xa4], eax
mov eax, dword [esp + 0x1c]
lea ecx, [esi + ecx*4]
push ecx
lea ecx, [esi + eax*4]
mov esi, dword [esp + 0xa8]
push ecx
mov ecx, esi
call fcn.10144f80
add esp, 8
mov ecx, esi
call fcn.101413a0
test esi, esi
je 0x1016e463
mov eax, dword [0x10350170]
test eax, eax
je 0x1016e463
dec dword [eax + 0x370]
push dword [0x1035018c]
push esi
call dword [0x1034c470]
mov dl, byte [esp + 0x1e]
add esp, 8
test dl, dl
je 0x1016e529
mov ecx, dword [esp + 0x18]
mov eax, dword [ecx + 0x3c]
cmp eax, dword [ecx + 0x40]
jne 0x1016e49f
mov eax, dword [ecx + 4]
mov dword [ecx + 0x3c], 0
mov dword [ecx + 0x40], eax
mov dword [ecx + 0x38], eax
mov byte [ecx + 0x4e], 0
lea esi, [ecx + 0x38]
mov byte [ecx + 0x1634], 1
mov edx, dword [esi + 8]
mov eax, dword [esi + 4]
cmp eax, edx
je 0x1016e529
mov edi, dword ds:[ecx + 4]
mov dword [esp + 0x30], edi
cmp eax, edi
jle 0x1016e4c9
mov eax, edi
mov dword [esi + 4], eax
cmp edx, dword [esp + 0x30]
jle 0x1016e4d6
mov edx, dword [esp + 0x30]
mov dword [esi + 8], edx
cmp eax, edx
jne 0x1016e4dc
mov dword [esi], eax
mov edi, dword [esp + 0x30]
cmp dword [esi], edi
mov edi, dword [esp + 0x3c]
jle 0x1016e4f2
mov edi, dword [esp + 0x30]
mov dword [esi], edi
mov edi, dword [esp + 0x3c]
cmp eax, edx
je 0x1016e525
jge 0x1016e50f
sub edx, eax
push edx
push eax
mov edx, esi
call fcn.10171740
mov eax, dword [esi + 4]
mov dword [esi + 8], eax
jmp 0x1016e520
sub eax, edx
push eax
push edx
mov edx, esi
call fcn.10171740
mov eax, dword [esi + 8]
mov dword [esi + 4], eax
add esp, 8
mov dword [esi], eax
mov byte [esi + 0x16], 0
mov edx, dword [esp + 0x10]
mov esi, dword [esp + 0x18]
mov cl, byte [esp + 0xf]
mov eax, dword [esi + 0x3c]
cmp eax, dword [esi + 0x40]
je 0x1016e54e
mov eax, dword [esp + 0x80]
cmp eax, dword [esp + 0x20]
jne 0x1016e54e
mov al, 1
jmp 0x1016e550
xor al, al
or byte [esp + 0x64], al
mov eax, dword [esp + 0x20]
nop dword [eax + eax]
cmp dword [edx + 0x1d14], eax
jne 0x1016e7b4
mov dword ds:[esp + 0x1c], 0
mov dword [esp + 0x30], 0
test cl, cl
je 0x1016e6da
cmp byte [esp + 0x50], 0
jne 0x1016e6c5
mov ecx, dword [esi + 0x2c]
mov eax, dword [ebp + 8]
nop dword [eax]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x1016e5c2
test dl, dl
je 0x1016e5bc
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x1016e5c2
add eax, 2
add ecx, 2
test dl, dl
jne 0x1016e5a0
xor eax, eax
jmp 0x1016e5c7
sbb eax, eax
or eax, 1
test eax, eax
je 0x1016e6c5
mov eax, dword [esi + 0x24]
mov ecx, dword [esi + 0x2c]
dec eax
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x30], eax
mov dword [esp + 0x44], 0
mov dword [esp + 0x40], 0
mov dword [esp + 0x48], 0
test eax, eax
jle 0x1016e635
lea esi, [eax + ecx]
mov edx, esi
call fcn.10145200
inc eax
lea ecx, [esp + 0x40]
push eax
call fcn.1003f8e0
mov ecx, dword [esp + 0x48]
push 0
push esi
push dword [esp + 0x24]
mov esi, dword [esp + 0x4c]
mov edx, esi
call fcn.101453c0
lea ecx, [esi - 1]
add esp, 0xc
mov esi, dword [esp + 0x18]
jmp 0x1016e637
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 + 0x90], eax
call fcn.101702a0
add esp, 8
mov dword [esp + 0xa4], eax
test eax, eax
je 0x1016e682
mov edx, dword [esp + 0x88]
xor ecx, ecx
test edx, edx
jle 0x1016e682
mov edi, eax
nop
mov eax, dword [esi + 0x14]
mov eax, dword [eax + ecx*4]
mov dword [edi + ecx*4], eax
inc ecx
cmp ecx, edx
jl 0x1016e670
mov edi, dword [esp + 0x3c]
push dword [esi + 4]
xor edx, edx
mov ecx, esi
call fcn.10171d40
mov eax, dword [esp + 0x2c]
add esp, 4
test eax, eax
jle 0x1016e6b9
push eax
push dword [esp + 0x4c]
xor edx, edx
mov ecx, esi
call fcn.10171be0
add esp, 8
test al, al
je 0x1016e6b9
mov eax, dword [esp + 0x28]
mov dword [esi + 0x38], eax
mov byte [esi + 0x4e], 0
lea ecx, ds:[esp + 0x40]
call fcn.1003f9c0
cmp byte [esp + 0x27], 0
je 0x1016e75d
test byte [ebp + 0x14], 0x20
je 0x1016e75d
cmp byte ds:[esp + 0x50], 0
jne 0x1016e75d
mov eax, dword ds:[esp + 0x18]
lea ecx, [esi + 0x18]
mov byte [esi + 0x30], 1
mov eax, dword [eax + 0xc]
lea eax, [eax*4 + 1]
push eax
call fcn.1003f620
mov eax, dword [esp + 0x18]
mov edx, dword [esi + 0x18]
mov esi, eax
push 0
push dword [eax + 0x14]
mov ecx, dword [esi + 0x20]
call fcn.10144f80
mov ecx, dword [ebp + 8]
add esp, 8
mov eax, dword [esi + 0x20]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x1016e748
test dl, dl
je 0x1016e744
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x1016e748
add eax, 2
add ecx, 2
test dl, dl
jne 0x1016e724
xor eax, eax
jmp 0x1016e74d
sbb eax, eax
or eax, 1
test eax, eax
je 0x1016e75d
mov eax, dword [esi + 0x20]
mov dword [esp + 0x1c], eax
mov eax, dword [esi + 8]
jmp 0x1016e761
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x1c]
test ecx, ecx
je 0x1016e7a2
mov edx, dword [ebp + 0xc]
inc eax
cmp eax, edx
cmovl edx, eax
mov dword [ebp + 0xc], edx
cmp edx, 1
jb 0x1016e79d
nop
jbe 0x1016e795
lea eax, [edx - 1]
push eax
push ecx
push dword [ebp + 8]
call fcn.100dbc30
mov edx, dword [ebp + 0xc]
add esp, 0xc
mov eax, dword [ebp + 8]
mov byte [edx + eax - 1], 0
mov byte [esp + 0x57], 1
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x20]
mov dword [esi + 0x1638], 0
cmp byte [esp + 0x60], 0
je 0x1016e7cd
nop dword [eax + eax]
cmp dword [edx + 0x1d14], eax
jne 0x1016e7cd
call fcn.101417e0
mov eax, dword [esp + 0x10]
mov ecx, 0x2f
movss xmm1, dword [0x102fdde4]
movss xmm7, dword [eax + 0x1558]
call fcn.10147dc0
mov ecx, dword ds:[esp + 0x78]
mov esi, eax
mov edx, dword [esp + 0x7c]
mov dword [esp + 0x40], ecx
mov ecx, dword [esp + 0x70]
mov dword [esp + 0x88], ecx
mov ecx, dword [0x10350170]
push 0
push ecx
movss dword [esp], xmm7
mov eax, dword [ecx + 0x1cdc]
lea ecx, [esp + 0x48]
push esi
push ecx
lea ecx, [esp + 0x98]
mov dword [esp + 0x54], edx
mov edx, dword [esp + 0x84]
push ecx
mov ecx, dword [eax + 0x284]
mov dword [esp + 0xa0], edx
call fcn.10160d20
cmp byte [esp + 0x3b], 0
movss xmm3, dword [esp + 0x84]
mov eax, dword [esp + 0x10]
movaps xmm0, xmm3
addss xmm0, dword [esp + 0xb4]
movss xmm1, dword [esp + 0x98]
movss xmm2, dword [esp + 0x68]
movss xmm4, dword [0x102fde30]
addss xmm1, xmm2
mov esi, dword [esp + 0x18]
movss dword [esp + 0xb4], xmm0
movss dword [esp + 0xcc], xmm0
movss xmm0, dword [eax + 0x1550]
mulss xmm0, xmm4
movss dword [esp + 0x98], xmm1
movss dword [esp + 0xc8], xmm1
movss xmm1, dword [esp + 0xb0]
addss xmm0, xmm2
addss xmm1, xmm3
movss dword [esp + 0xc0], xmm2
movss dword [esp + 0xc4], xmm3
movss dword [esp + 0x60], xmm0
movss xmm0, dword [eax + 0x1a70]
divss xmm1, xmm4
divss xmm0, xmm4
subss xmm1, xmm0
movss dword [esp + 0xa4], xmm1
je 0x1016e902
mov ecx, dword [esi + 0x20]
mov dword [ebp + 8], ecx
jmp 0x1016e905
mov ecx, dword [ebp + 8]
xor eax, eax
mov dword [esp + 0x34], eax
cmp byte [esp + 0x56], al
je 0x1016e92f
mov eax, dword [esp + 0x6c]
mov ecx, eax
mov dword [ebp + 8], eax
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1016e920
mov eax, dword [esp + 0x6c]
sub ecx, edx
jmp 0x1016e936
test esi, esi
je 0x1016e93c
mov eax, dword [esi + 8]
add eax, ecx
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x80]
xorps xmm4, xmm4
movss dword [esp + 0x88], xmm4
cmp eax, dword [esp + 0x20]
je 0x1016e966
cmp byte ds:[esp + 0x64], 0
je 0x1016f10e
mov ecx, dword ds:[esi + 0x14]
xor eax, eax
xor edx, edx
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x80]
xorps xmm0, xmm0
xorps xmm3, xmm3
movss dword [esp + 0x30], xmm0
movss dword [esp + 0x58], xmm3
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x6c], edx
mov dword [esp + 0x1c], 0xfffffc18
cmp eax, dword [esp + 0x20]
jne 0x1016e9b7
mov eax, dword [esi + 0x38]
lea edx, [ecx + eax*4]
or eax, 0xffffffff
mov dword [esp + 0x6c], edx
mov dword [esp + 0x1c], eax
cmp byte [esp + 0x64], 0
je 0x1016e9d8
mov ecx, dword [esi + 0x40]
cmp dword [esi + 0x3c], ecx
mov eax, dword [esp + 0x2c]
cmovl ecx, dword [esi + 0x3c]
lea eax, [eax + ecx*4]
or ecx, 0xffffffff
mov dword [esp + 0x28], eax
jmp 0x1016e9dd
mov ecx, 0xfffffc18
mov eax, dword [esp + 0x1c]
cmp eax, 0xffffffff
cmove eax, dword [esp + 0x94]
cmp ecx, 0xffffffff
mov dword [esp + 0x1c], eax
mov eax, 1
cmove ecx, eax
mov dword [esp + 0x94], ecx
mov ecx, edx
cmp edx, dword [esp + 0x2c]
jbe 0x1016ea21
mov edi, dword [esp + 0x2c]
nop
cmp dword [ecx - 4], 0xa
je 0x1016ea1d
add ecx, 0xfffffffc
cmp ecx, edi
ja 0x1016ea10
mov edi, dword [esp + 0x3c]
mov eax, dword [0x10350170]
movaps xmm1, xmm4
movaps xmm2, xmm4
mov edx, dword [eax + 0x1a6c]
movss xmm3, dword [eax + 0x1a70]
mov eax, dword [esp + 0x6c]
divss xmm3, dword [edx + 0x10]
cmp ecx, eax
jae 0x1016ea97
mov edi, edx
nop dword [eax]
mov edx, dword [ecx]
add ecx, 4
cmp edx, 0xa
jne 0x1016ea63
maxss xmm1, xmm2
movaps xmm2, xmm4
jmp 0x1016ea87
cmp edx, 0xd
je 0x1016ea87
cmp edx, dword [edi]
jge 0x1016ea7a
mov eax, dword [edi + 8]
movss xmm0, dword [eax + edx*4]
mov eax, dword [esp + 0x6c]
jmp 0x1016ea7f
movss xmm0, dword [edi + 0xc]
mulss xmm0, xmm3
addss xmm2, xmm0
cmp ecx, eax
jb 0x1016ea50
comiss xmm2, xmm1
mov edi, dword [esp + 0x3c]
jbe 0x1016ea97
movaps xmm1, xmm2
addss xmm1, dword [0x102fdde4]
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.100d7177
movss xmm3, dword [0x102fdde4]
add esp, 8
fstp dword [esp + 0x40]
comiss xmm3, dword [esp + 0x40]
jbe 0x1016ead9
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 + 0x10]
jbe 0x1016eb0f
movaps xmm0, xmm1
subss xmm0, xmm2
mulss xmm0, dword [ecx + 0x18]
mulss xmm0, dword [0x102fdf68]
subss xmm1, xmm0
maxss xmm1, xmm2
movss dword [edi + 0x1c], xmm1
jmp 0x1016eb35
comiss xmm2, xmm1
jbe 0x1016eb35
movaps xmm0, xmm2
subss xmm0, xmm1
mulss xmm0, dword [ecx + 0x18]
mulss xmm0, dword [0x102fdf54]
addss xmm0, xmm1
minss xmm0, xmm2
movss dword [edi + 0x1c], xmm0
cmp dword [esp + 0x94], 0
movd xmm0, dword [esp + 0x1c]
movss xmm7, dword [ecx + 0x1a70]
cvtdq2ps xmm0, xmm0
mulss xmm0, xmm7
movss dword [esp + 0x6c], xmm0
jl 0x1016ec32
mov eax, dword [esp + 0x28]
mov ecx, eax
mov edx, dword [esp + 0x2c]
cmp eax, edx
jbe 0x1016eb7d
nop dword [eax]
cmp dword [ecx - 4], 0xa
je 0x1016eb7d
add ecx, 0xfffffffc
cmp ecx, edx
ja 0x1016eb70
mov eax, dword [0x10350170]
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 0x1016ec08
mov edi, edx
mov edx, dword [ecx]
add ecx, 4
cmp edx, 0xa
jne 0x1016ebc8
maxss xmm3, xmm1
movaps xmm1, xmm0
jmp 0x1016ebef
cmp edx, 0xd
je 0x1016ebef
cmp edx, dword [edi]
jge 0x1016ebdf
mov eax, dword [edi + 8]
movss xmm0, dword [eax + edx*4]
mov eax, dword [esp + 0x28]
jmp 0x1016ebe4
movss xmm0, dword [edi + 0xc]
mulss xmm0, xmm2
addss xmm1, xmm0
xorps xmm0, xmm0
cmp ecx, eax
jb 0x1016ebb2
comiss xmm1, xmm3
mov edi, dword [esp + 0x3c]
movss dword [esp + 0x58], xmm3
jbe 0x1016ec08
movss dword [esp + 0x58], xmm1
movd xmm0, dword [esp + 0x94]
mov eax, dword [esp + 0x10]
movss xmm3, dword [0x102fdde4]
cvtdq2ps xmm0, xmm0
movss xmm7, dword [eax + 0x1a70]
mulss xmm0, xmm7
movss dword [esp + 0x30], xmm0
cmp byte [esp + 0x64], 0
je 0x1016eea6
mov ecx, dword [esi + 0x3c]
movaps xmm1, xmm3
mov edx, dword [esi + 0x40]
cmp ecx, edx
mov esi, dword [esp + 0x2c]
mov eax, edx
cmovl eax, ecx
cmovge edx, ecx
mov ecx, 0x31
lea esi, [esi + eax*4]
mov eax, dword [esp + 0x2c]
lea eax, [eax + edx*4]
mov dword [esp + 0x1c], eax
call fcn.10147dc0
movss xmm5, dword [esp + 0x30]
addss xmm5, dword [esp + 0xa4]
movss xmm4, dword [esp + 0x58]
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x40], eax
addss xmm4, dword [esp + 0x60]
movss dword [esp + 0x30], xmm5
cmp esi, ecx
jae 0x1016eea2
movss xmm6, dword [esp + 0xb4]
mov edi, dword [esp + 0x10]
nop word [eax + eax]
addss xmm7, xmm6
comiss xmm5, xmm7
ja 0x1016ee9e
movss xmm0, dword [esp + 0x84]
comiss xmm0, xmm5
jbe 0x1016ecf2
cmp esi, ecx
jae 0x1016ee7b
mov eax, dword ds:[esi]
add esi, 4
cmp eax, 0xa
je 0x1016ee7b
cmp esi, ecx
jb 0x1016ecd3
jmp 0x1016ee9e
mov eax, dword [0x10350170]
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 0x1016ed67
nop dword [eax + eax]
mov ecx, dword [esi]
add esi, 4
cmp ecx, 0xa
je 0x1016ed59
cmp ecx, 0xd
je 0x1016ed4f
cmp ecx, dword [edx]
jge 0x1016ed42
mov eax, dword ds:[edx + 8]
movss xmm0, dword [eax + ecx*4]
jmp 0x1016ed47
movss xmm0, dword [edx + 0xc]
mulss xmm0, xmm2
addss xmm1, xmm0
mov ecx, dword [esp + 0x1c]
cmp esi, ecx
jb 0x1016ed20
jmp 0x1016ed67
mov ecx, dword [esp + 0x1c]
movaps xmm3, xmm7
maxss xmm3, xmm1
movaps xmm1, xmm7
maxss xmm1, xmm3
comiss xmm7, xmm1
jb 0x1016eda4
mov eax, dword [edi + 0x1a6c]
cmp dword [eax], 0x20
jle 0x1016ed8c
mov eax, dword [eax + 8]
movss xmm0, dword [eax + 0x80]
jmp 0x1016ed91
movss xmm0, dword [eax + 0xc]
mulss xmm0, dword [0x102fdd94]
cvttss2si eax, xmm0
movd xmm1, eax
cvtdq2ps xmm1, xmm1
addss xmm1, dword [0x102fdd94]
movss xmm2, dword [0x102fe0ac]
movaps xmm0, xmm5
subss xmm2, dword [edi + 0x1a70]
addss xmm0, dword [0x102fde30]
movss xmm3, dword [esp + 0x98]
addss xmm1, xmm4
addss xmm4, xmm7
movss xmm7, dword [esp + 0x68]
addss xmm2, xmm5
minss xmm0, xmm6
minss xmm1, xmm3
maxss xmm4, xmm7
maxss xmm2, dword [esp + 0x84]
comiss xmm0, dword [esp + 0x84]
movss dword [esp + 0x70], xmm4
movss dword [esp + 0x74], xmm2
movss dword [esp + 0x78], xmm1
movss dword [esp + 0x7c], xmm0
jbe 0x1016ee7b
comiss xmm6, xmm2
jbe 0x1016ee7b
comiss xmm1, xmm7
jbe 0x1016ee7b
comiss xmm3, xmm4
jbe 0x1016ee7b
push 0
push ecx
mov dword [esp], 0
lea eax, [esp + 0x80]
push dword [esp + 0x48]
push eax
lea eax, [esp + 0x80]
push eax
mov eax, dword [esp + 0xb0]
mov ecx, dword [eax + 0x284]
call fcn.10160d20
movss xmm5, dword [esp + 0x30]
movss xmm6, dword [esp + 0xb4]
mov ecx, dword [esp + 0x1c]
movss xmm7, dword [edi + 0x1a70]
movss xmm4, dword [esp + 0x60]
movaps xmm0, xmm7
addss xmm5, xmm0
movss dword [esp + 0x30], xmm5
cmp esi, ecx
jb 0x1016ecb0
mov edi, dword [esp + 0x3c]
mov esi, dword [esp + 0x18]
mov eax, dword [esp + 0x80]
cmp eax, dword [esp + 0x20]
jne 0x1016f10b
mov eax, dword [esp + 0x10]
movss xmm1, dword [eax + 0x18]
addss xmm1, dword [esi + 0x1630]
movss dword [esi + 0x1630], xmm1
mov esi, eax
cmp byte [esi + 0xb2], 0
je 0x1016ef26
xorps xmm3, xmm3
comiss xmm3, xmm1
jae 0x1016ef26
movss xmm0, dword [0x102fde10]
sub esp, 0x10
cvtps2pd xmm0, xmm0
movsd qword [esp + 8], xmm0
cvtps2pd xmm0, xmm1
movsd qword [esp], xmm0
call fcn.100d72c0
movss xmm0, dword [0x102fddb4]
add esp, 0x10
fstp dword [esp + 0x40]
comiss xmm0, dword [esp + 0x40]
jae 0x1016ef26
xor cl, cl
jmp 0x1016ef28
mov cl, 1
movss xmm1, dword [esp + 0x60]
addss xmm1, dword [edi + 0x1c]
movss xmm0, dword [esp + 0x6c]
addss xmm0, dword [esp + 0xa4]
cvttss2si eax, xmm1
movd xmm7, eax
cvttss2si eax, xmm0
movss xmm0, dword [esp + 0x98]
cvtdq2ps xmm7, xmm7
movd xmm5, eax
comiss xmm7, xmm0
cvtdq2ps xmm5, xmm5
movss dword [esp + 0xa4], xmm7
movss dword [esp + 0x94], xmm5
jbe 0x1016ef9a
subss xmm0, xmm7
addss xmm0, dword [0x102fdedc]
subss xmm7, xmm0
movss dword [esp + 0x88], xmm0
movss dword [esp + 0xa4], xmm7
movss xmm3, dword [esi + 0x1a70]
movaps xmm6, xmm7
movss xmm0, dword [0x102fdde4]
movaps xmm1, xmm3
movss dword [esp + 0x70], xmm7
addss xmm6, xmm0
movaps xmm4, xmm5
divss xmm1, dword [0x102fde30]
movss dword [esp + 0x78], xmm6
addss xmm1, xmm0
subss xmm0, dword [edi + 0x20]
subss xmm4, dword [0x102fde30]
mulss xmm1, xmm0
movss xmm0, dword [0x102fdde4]
subss xmm4, xmm1
movaps xmm1, xmm3
divss xmm1, dword [0x102fde30]
movss dword [esp + 0x40], xmm4
movss dword [esp + 0x7c], xmm4
addss xmm1, xmm0
subss xmm0, dword [edi + 0x20]
mulss xmm1, xmm0
movaps xmm0, xmm5
subss xmm0, xmm3
addss xmm0, dword [0x102fde5c]
addss xmm1, xmm0
movss dword [esp + 0x74], xmm1
test cl, cl
je 0x1016f0d7
comiss xmm4, dword [esp + 0x84]
jbe 0x1016f0d7
movss xmm0, dword [esp + 0xb4]
comiss xmm0, xmm1
jbe 0x1016f0d7
comiss xmm6, dword [esp + 0x68]
jbe 0x1016f0d7
movss xmm0, dword [esp + 0x98]
comiss xmm0, xmm7
jbe 0x1016f0d7
movss xmm1, dword [0x102fdde4]
mov ecx, 0x30
call fcn.10147dc0
movss xmm0, dword [esp + 0x40]
push ecx
mov dword [esp], 0x3f800000
push eax
lea eax, [esp + 0xbc]
movss dword [esp + 0xbc], xmm7
push eax
lea eax, [esp + 0x7c]
movss dword [esp + 0xc4], xmm0
push eax
mov eax, dword [esp + 0xac]
mov ecx, dword [eax + 0x284]
call fcn.10162280
movss xmm7, dword [esp + 0xa4]
movss xmm5, dword [esp + 0x94]
cmp byte [esp + 0x50], 0
xorps xmm4, xmm4
movss xmm6, dword [0x102fdde4]
jne 0x1016f11a
subss xmm5, dword [esi + 0x1a70]
subss xmm7, xmm6
movss dword [esi + 0x3738], xmm5
movss dword [esi + 0x3734], xmm7
jmp 0x1016f11a
xorps xmm4, xmm4
mov esi, dword [esp + 0x10]
movss xmm6, dword [0x102fdde4]
mov eax, dword [esp + 0x34]
mov ecx, dword [ebp + 8]
sub eax, ecx
cmp eax, 0x200000
jge 0x1016f13f
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1016f130
sub ecx, edx
je 0x1016f13f
mov al, 1
jmp 0x1016f141
xor al, al
movss xmm3, dword [0x102fdf00]
movaps xmm1, xmm6
subss xmm1, dword [edi + 0x20]
movss xmm0, dword [0x102fddcc]
mov byte [esp + 0x17], 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 0x1016f180
mov dword [edi + 0x20], 0x3f800000
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x80]
cmp edx, ecx
jne 0x1016f1a2
test al, al
jne 0x1016f1a2
movsd xmm1, qword [str.333333]
cvtpd2ps xmm1, xmm1
jmp 0x1016f1ba
movsd xmm1, qword [0x102fde28]
cvtpd2ps xmm1, xmm1
cmp edx, ecx
jne 0x1016f1ba
test al, al
jne 0x1016f210
movss xmm2, dword [edi + 0x14]
ucomiss xmm2, xmm1
lahf
test ah, 0x44
jnp 0x1016f1fd
comiss xmm2, xmm0
jbe 0x1016f1db
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 0x1016f24e
nop dword [eax]
cmp edx, ecx
jne 0x1016f24e
test al, al
je 0x1016f24e
movss xmm1, dword [edi + 0x14]
comiss xmm1, xmm4
jbe 0x1016f24e
movss xmm0, dword [0x102fdd30]
comiss xmm0, xmm1
jbe 0x1016f235
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 [0x1034dcac]
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x1035b358]
cmp eax, dword [ecx + 4]
jg 0x1016f8c5
movups xmm0, xmmword ds:[esi + 0x15dc]
mov esi, dword [0x10350170]
xor edx, edx
movups xmmword [esp + 0x70], 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 + 0xa4]
call fcn.101459e0
add esp, 4
mov dword [esp + 0x40], eax
cmp dword [esi + 0x1d14], eax
jne 0x1016f2ba
mov dword [esi + 0x1d18], eax
nop word [eax + eax]
cmp dword [esi + 0x1d4c], eax
jne 0x1016f2cf
mov byte [esi + 0x1d50], 1
mov dword [esp + 0x1c], eax
mov ecx, 0x1035b35c
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0xa8]
push eax
call fcn.10051740
mov esi, dword [esp + 0xac]
mov ecx, dword [0x1035b35c]
cmp byte [esi + 0xd], 0
jne 0x1016f306
mov eax, dword [esp + 0x40]
cmp eax, dword [esi + 0x10]
jae 0x1016f308
mov esi, ecx
cmp esi, ecx
jne 0x1016f356
lea eax, [esp + 0x70]
mov ecx, 0x1035b35c
push eax
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x48]
push eax
call fcn.10046220
lea eax, [esp + 0x1c]
mov ecx, 0x1035b35c
push eax
lea eax, [esp + 0x44]
push eax
call fcn.10051740
mov esi, dword [esp + 0x48]
cmp byte [esi + 0xd], 0
jne 0x1016f350
mov eax, dword [esp + 0x1c]
cmp eax, dword [esi + 0x10]
jae 0x1016f356
mov esi, dword [0x1035b35c]
mov eax, dword [esp + 0x10]
sub esp, 8
movss xmm1, dword [esp + 0x7c]
addss xmm1, dword [esp + 0x78]
movss xmm0, dword [eax + 0x18d0]
addss xmm0, dword [eax + 0x18cc]
addss xmm1, dword [esp + 0x80]
addss xmm0, dword [eax + 0x18d4]
divss xmm1, dword [0x102fde5c]
divss xmm0, dword [0x102fde5c]
subss xmm1, xmm0
cvtps2pd xmm0, xmm1
movsd qword [esp], xmm0
call fcn.100d7177
movss xmm0, dword [0x102fdd70]
add esp, 8
movss xmm7, dword [0x102fdde4]
fstp dword [esp + 0x40]
comiss xmm0, dword [esp + 0x40]
jbe 0x1016f3e6
movaps xmm3, xmm7
movaps xmm4, xmm7
subss xmm3, dword [esp + 0x70]
subss xmm4, dword [esp + 0x74]
movaps xmm5, xmm7
subss xmm5, dword [esp + 0x78]
jmp 0x1016f3f8
movss xmm3, dword [esp + 0x70]
movss xmm4, dword [esp + 0x74]
movss xmm5, dword [esp + 0x78]
mov eax, dword [esp + 0x10]
movss xmm1, dword [esi + 0x14]
comiss xmm3, xmm1
movss xmm2, dword [eax + 0x18]
movss xmm6, dword [0x102fdea8]
jbe 0x1016f429
movaps xmm0, xmm2
mulss xmm0, xmm6
addss xmm0, xmm1
minss xmm0, xmm3
movss dword [esi + 0x14], xmm0
jmp 0x1016f442
comiss xmm1, xmm3
jbe 0x1016f442
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 0x1016f45d
movaps xmm1, xmm2
mulss xmm1, xmm6
addss xmm1, xmm3
minss xmm1, xmm4
jmp 0x1016f474
comiss xmm3, xmm4
movaps xmm1, xmm3
jbe 0x1016f479
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 0x1016f499
mulss xmm2, xmm6
addss xmm2, xmm0
minss xmm2, xmm5
movss dword [esi + 0x1c], xmm2
movaps xmm0, xmm2
jmp 0x1016f4af
comiss xmm0, xmm5
jbe 0x1016f4af
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 0x1016f4c2
xorps xmm2, xmm2
jmp 0x1016f4c9
movaps xmm2, xmm7
minss xmm2, xmm3
comiss xmm4, xmm1
movss xmm3, dword [0x102fe02c]
movss xmm5, dword [0x102fdd94]
mulss xmm2, xmm3
addss xmm2, xmm5
cvttss2si ecx, xmm2
jbe 0x1016f4ef
xorps xmm2, xmm2
jmp 0x1016f4f6
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 0x1016f511
xorps xmm1, xmm1
jmp 0x1016f518
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 0x1016f538
xorps xmm0, xmm0
jmp 0x1016f53f
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.10147f80
cmp byte [esp + 0x17], 0
mov esi, dword [esp + 0xa0]
je 0x1016f613
mov ecx, dword [0x10350170]
movss xmm2, dword [ecx + 0x1a70]
test esi, esi
je 0x1016f5ab
movss xmm3, dword [0x102fe08c]
lea eax, ds:[esp + 0x40]
push 0
push 0
push esi
push ecx
mov ecx, dword [ecx + 0x1a6c]
mov dword [esp], 0xbf800000
push eax
call fcn.101609e0
movss xmm2, dword [esp + 0x44]
movss xmm0, dword [esp + 0xb0]
lea eax, [esp + 0xc8]
addss xmm0, dword [esp + 0x84]
divss xmm2, dword [0x102fde30]
lea edx, [esp + 0xc0]
push ecx
lea ecx, [esp + 0x44]
movss xmm1, dword [esp + 0x6c]
divss xmm0, dword [0x102fde30]
addss xmm1, dword [0x102fdeb8]
push dword [ebp + 8]
subss xmm0, xmm2
push eax
addss xmm1, dword [esp + 0x94]
movss dword [esp + 0x50], xmm0
movss dword [esp + 0x4c], xmm1
call fcn.10142ca0
add esp, 0xc
cmp byte [esp + 0xd8], 0
je 0x1016f629
cmp byte [esp + 0x56], 0
jne 0x1016f629
call fcn.1014c8c0
cmp byte [ebp + 0x18], 0
je 0x1016f818
cmp byte [esp + 0x17], 0
jne 0x1016f818
movss xmm1, dword [edi + 0x14]
xorps xmm4, xmm4
comiss xmm1, xmm4
jbe 0x1016f818
mov eax, dword [0x10350170]
movss xmm5, dword [0x102fdde4]
movups xmm2, xmmword ds:[eax + 0x15dc]
mulss xmm1, dword [eax + 0x1518]
comiss xmm4, xmm2
movaps xmm0, xmm2
movaps xmmword [esp + 0x70], xmm2
shufps xmm0, xmm2, 0xff
mulss xmm1, xmm0
jbe 0x1016f687
xorps xmm0, xmm0
jmp 0x1016f68e
movaps xmm0, xmm5
minss xmm0, xmm2
movss xmm2, dword [0x102fe02c]
movss xmm6, dword [0x102fdd94]
movss xmm3, dword [esp + 0x74]
comiss xmm4, xmm3
mulss xmm0, xmm2
addss xmm0, xmm6
cvttss2si ecx, xmm0
jbe 0x1016f6ba
xorps xmm0, xmm0
jmp 0x1016f6c1
movaps xmm0, xmm5
minss xmm0, xmm3
movss xmm3, dword [esp + 0x78]
mulss xmm0, xmm2
addss xmm0, xmm6
cvttss2si eax, xmm0
shl eax, 8
or ecx, eax
comiss xmm4, xmm3
jbe 0x1016f6e2
xorps xmm0, xmm0
jmp 0x1016f6e9
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 0x1016f704
xorps xmm5, xmm5
jmp 0x1016f708
minss xmm5, xmm1
mulss xmm5, xmm2
addss xmm5, xmm6
cvttss2si edx, xmm5
shl edx, 0x18
or edx, ecx
xor ecx, ecx
call fcn.10147f80
movss xmm1, dword [esp + 0xbc]
xorps xmm3, xmm3
comiss xmm1, xmm3
jbe 0x1016f7e8
movss xmm0, dword ds:[esp + 0x68]
mov ecx, dword [0x10350170]
addss xmm0, dword [0x102fdeb8]
movss dword [esp + 0x68], xmm0
movss xmm0, dword [ecx + 0x1a70]
test esi, esi
je 0x1016f796
movss xmm3, dword [0x102fe08c]
lea eax, [esp + 0x40]
push 0
push 0
push esi
push ecx
mov ecx, dword [ecx + 0x1a6c]
movaps xmm2, xmm0
mov dword [esp], 0xbf800000
push eax
call fcn.101609e0
movss xmm0, dword [esp + 0x44]
movss xmm1, dword ds:[esp + 0xb0]
xor edx, edx
addss xmm1, dword [esp + 0x84]
divss xmm0, dword [0x102fde30]
mov ecx, esi
divss xmm1, dword [0x102fde30]
subss xmm1, xmm0
movss xmm0, dword [esp + 0x68]
movss dword [esp + 0x40], xmm0
movss dword [esp + 0x44], xmm1
push dword [esp + 0x44]
push dword [esp + 0x44]
push 1
call fcn.101432a0
add esp, 0xc
mov esi, dword [0x10350170]
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 0x1016f81e
mov esi, dword [0x10350170]
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 + 0x27]
add eax, eax
movups xmmword [esi + eax*8 + 0x15dc], xmm0
dec dword [esi + 0x1dd4]
test byte [ebp + 0x14], 0x20
movzx eax, byte [esp + 0x57]
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 0x1035b34c
call fcn.1009af0b
add esp, 4
cmp dword [0x1035b34c], 0xffffffff
jne 0x1016d495
push 0x24
call fcn.1009af98
add esp, 4
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
push 0x101ae9e0
mov dword [0x1035b350], eax
call fcn.1009ae7a
add esp, 4
push 0x1035b34c
call fcn.1009aeba
add esp, 4
jmp 0x1016d495
nop dword [eax + eax]
call fcn.10007510
push 0x1035b358
call fcn.1009af0b
add esp, 4
cmp dword [0x1035b358], 0xffffffff
jne 0x1016f26e
push 0x24
call fcn.1009af98
add esp, 4
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
push 0x101ae980
mov dword [0x1035b35c], eax
call fcn.1009ae7a
add esp, 4
push 0x1035b358
call fcn.1009aeba
add esp, 4
jmp 0x1016f26e