Function at 0x10169a40
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 [0x1034d164]
mov esi, ecx
mov dword [esp + 0xa8], edx
mov dword [esp + 0xc4], esi
mov dword [esp + 0x10], 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 0x1016c1de
mov eax, dword [ebp + 0x14]
mov ecx, dword [edx + 0xc4]
shr eax, 9
and eax, 0xffffff01
mov dword [esp + 0x44], 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.10142400
mov esi, eax
add esp, 4
mov dword [esp + 0x24], esi
cmp dword [edi + 0x1d14], esi
jne 0x10169ae0
mov dword [edi + 0x1d18], esi
cmp dword [edi + 0x1d4c], esi
jne 0x10169aef
mov byte [edi + 0x1d50], 1
mov eax, dword ds:[esp + 0xc4]
mov ecx, eax
mov dword [esp + 0x1c], esi
cmp eax, 0xffffffff
jae 0x10169b1b
mov dl, byte [ecx]
test dl, dl
je 0x10169b1b
cmp dl, 0x23
jne 0x10169b15
cmp byte [ecx + 1], dl
je 0x10169b1b
inc ecx
cmp ecx, 0xffffffff
jb 0x10169b05
movss xmm0, dword [edi + 0x1a70]
xorps xmm1, xmm1
movss xmm2, dword [0x102fa288]
cmp eax, ecx
jne 0x10169b3d
movss dword [esp + 0xcc], xmm1
jmp 0x10169b87
push 0
push ecx
push eax
push ecx
mov ecx, dword [edi + 0x1a6c]
lea eax, [esp + 0x64]
mov dword [esp], 0xbf800000
movaps xmm3, xmm2
push eax
movaps xmm2, xmm0
call fcn.1015d2e0
movss xmm0, dword [esp + 0x54]
addss xmm0, dword [0x102f9fdc]
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [esp + 0xcc], xmm0
movss xmm0, dword [esp + 0x58]
movss xmm2, dword ds:[edi + 0x1554]
mulss xmm2, dword [0x102fa030]
addss xmm2, xmm0
call fcn.10136180
mov eax, dword [ebp + 0x10]
lea ecx, [esp + 0x54]
movaps xmm1, xmm0
push dword [eax + 4]
push dword [eax]
call fcn.101360a0
movss xmm1, dword [esp + 0xd4]
xorps xmm0, xmm0
add esp, 8
comiss xmm1, xmm0
jbe 0x10169bd7
addss xmm1, dword [edi + 0x1568]
jmp 0x10169bda
xorps xmm1, xmm1
mov eax, dword [esp + 0xc0]
lea ecx, [esp + 0x54]
movss xmm3, dword [esp + 0x54]
movss xmm2, dword [esp + 0x58]
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 + 0x6c], xmm4
addss xmm1, xmm4
movss dword [esp + 0x70], xmm6
movaps xmm5, xmm6
movss dword [esp + 0x9c], xmm2
addss xmm5, xmm2
movss dword [esp + 0x80], xmm4
movss dword [esp + 0x84], xmm6
movss dword [esp + 0x88], 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 + 0x8c], xmm5
movss dword [esp + 0xd4], xmm6
movss dword [esp + 0xdc], xmm0
subss xmm0, xmm6
movss dword [esp + 0x54], xmm1
movss xmm1, dword [edi + 0x1554]
movss dword [esp + 0x58], xmm0
call fcn.10136860
test dword [ebp + 0x14], 0x10000000
jne 0x10169d09
push ecx
lea eax, [esp + 0x84]
mov edx, esi
push eax
lea ecx, [esp + 0xd8]
call fcn.10136640
add esp, 8
test al, al
je 0x1016c1de
movss xmm0, dword [esp + 0x8c]
movss dword [esp + 0xc8], xmm0
movss xmm0, dword [esp + 0x84]
movss dword [esp + 0x70], xmm0
movss xmm0, dword [esp + 0x80]
movss dword [esp + 0x6c], xmm0
mov edx, esi
lea ecx, [esp + 0x80]
call fcn.1013dee0
mov dl, al
mov byte [esp + 0x23], dl
test dl, dl
je 0x10169d2e
mov dword [edi + 0x1f80], 1
mov eax, dword [0x1034d164]
xor ecx, ecx
add eax, 0x201c
cmp dword [eax], esi
cmovne eax, ecx
mov ecx, dword [esp + 0xc0]
mov dword [esp + 0xa0], eax
mov dword [esp + 0x18], eax
mov ecx, dword [ecx + 0x120]
shr ecx, 8
and ecx, 0xffffff01
mov dword [esp + 0x78], ecx
test dl, dl
je 0x10169d75
cmp byte [edi + 0x3d8], 0
je 0x10169d75
mov dl, 1
jmp 0x10169d77
xor dl, dl
mov eax, dword [edi + 0x1d14]
mov esi, dword [esp + 0x18]
mov byte [esp + 0x2b], dl
cmp eax, dword [esp + 0x24]
je 0x10169dc2
mov esi, dword [esp + 0x24]
cmp dword [edi + 0x1e58], esi
mov esi, dword [esp + 0x18]
je 0x10169db4
mov esi, dword [esp + 0x24]
cmp dword [edi + 0x1e4c], esi
mov esi, dword [esp + 0x18]
jne 0x10169dc2
cmp dword [edi + 0x1e70], 2
jne 0x10169dc2
mov dh, 1
mov byte [esp + 0x64], 0
mov byte [esp + 0x17], dh
jmp 0x10169dd3
xor dh, dh
mov byte [esp + 0x64], 0
mov byte [esp + 0x17], dh
cmp eax, dword [esp + 0x24]
je 0x10169de4
test byte [ebp + 0x14], 0x10
jne 0x10169ddd
test dh, dh
je 0x10169de4
mov byte [esp + 0x2c], 1
jmp 0x10169de9
mov byte [esp + 0x2c], 0
test dl, dl
jne 0x10169df9
test dh, dh
jne 0x10169df9
mov byte [esp + 0x16], dh
test cl, cl
je 0x10169dfe
mov byte [esp + 0x16], 1
mov eax, dword fs:[0x2c]
mov ecx, dword [0x1034ac9c]
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x1035833c]
cmp eax, dword [ecx + 4]
jg 0x1016c1e6
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0xb4]
push eax
call fcn.10051800
mov edi, dword [esp + 0xb8]
mov eax, dword [0x10358340]
mov dword [esp + 0x3c], edi
mov dword [esp + 0x38], eax
cmp byte [edi + 0xd], 0
jne 0x10169e53
mov ecx, dword [esp + 0x24]
cmp ecx, dword [edi + 0x10]
jae 0x10169e59
mov edi, eax
mov dword [esp + 0x3c], eax
nop dword [eax]
cmp edi, eax
jne 0x10169f27
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x58]
push eax
call fcn.10051800
mov edi, dword [esp + 0x24]
movq xmm0, qword [eax]
mov eax, dword [eax + 8]
movq qword [esp + 0xb0], xmm0
cmp byte [eax + 0xd], 0
jne 0x10169e96
cmp edi, dword [eax + 0x10]
jae 0x10169ef2
cmp dword [0x10358344], 0x71c71c7
je 0x1016c245
push 0x24
call fcn.1009882d
mov ecx, dword [esp + 0x3c]
add esp, 4
movaps xmm0, xmmword [0x102fa300]
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, 0x10358340
mov word [eax + 0xc], 0
call fcn.10161ec0
mov eax, dword [0x10358340]
mov dword [esp + 0x38], eax
lea eax, ds:[esp + 0x1c]
push eax
lea eax, [esp + 0xb4]
push eax
call fcn.10051800
mov edi, dword [esp + 0xb8]
mov dword [esp + 0x3c], edi
cmp byte [edi + 0xd], 0
jne 0x10169f1f
mov eax, dword [esp + 0x24]
cmp eax, dword [edi + 0x10]
jae 0x10169f27
mov edi, dword [esp + 0x38]
mov dword [esp + 0x3c], edi
mov al, byte ds:[esp + 0x16]
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x54], 1
test al, al
je 0x1016a0b7
cmp dword [edx + 0x1d14], ecx
je 0x1016a129
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]
nop dword [eax]
mov al, byte [esi]
inc esi
test al, al
jne 0x10169f80
sub esi, edx
add ecx, 0x24
inc esi
push esi
call fcn.1003ecc0
push esi
mov esi, dword [esp + 0x1c]
push dword [ebp + 8]
push dword [esi + 0x2c]
call fcn.100ad3e0
mov eax, dword [ebp + 0xc]
lea ecx, [esi + 0xc]
add esp, 0xc
mov dword [esp + 0x34], 0
inc eax
push eax
call fcn.1003ef80
lea ecx, [esi + 0x18]
push 0
call fcn.1003ecc0
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.10141de0
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 + 0x24]
cmp dword [esi], eax
jne 0x1016a019
cmp dword [esp + 0xa0], 0
jne 0x1016a019
mov ecx, esi
call fcn.10043ba0
mov eax, dword [esp + 0x2c]
mov ecx, 1
jmp 0x1016a086
cmp byte [esp + 0x78], 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 0x1016a093
mov byte [esi + 0x44], 1
cmp byte [esp + 0x2b], 0
mov edx, dword [esp + 0x10]
je 0x1016a0af
cmp byte [edx + 0xfc], 0
movzx eax, al
cmovne eax, ecx
mov byte [esp + 0x2c], al
mov ecx, dword [esp + 0x24]
mov al, byte [esp + 0x16]
cmp dword [edx + 0x1d14], ecx
je 0x1016a129
nop
test al, al
je 0x1016a129
mov edx, dword [esp + 0xc0]
mov ecx, dword [esp + 0x24]
call fcn.1013e2c0
call fcn.10133f20
mov ecx, edx
call fcn.101386c0
mov edx, dword [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 0x1016a129
or eax, 1
mov dword [edx + 0x1d34], ecx
mov dword [edx + 0x1d30], eax
mov eax, dword [esp + 0x24]
cmp dword [edx + 0x1d14], eax
jne 0x1016a146
test esi, esi
jne 0x1016a146
call fcn.1013e220
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x24]
mov ecx, dword [edx + 0x1d14]
mov dword [esp + 0x74], ecx
cmp ecx, eax
jne 0x1016a179
cmp byte [edx + 0x3d8], 0
je 0x1016a179
mov ecx, dword [esp + 0x64]
mov eax, 1
cmp byte [esp + 0x16], 0
movzx ecx, cl
cmove ecx, eax
mov dword [esp + 0x64], ecx
mov ecx, dword [esp + 0x74]
test esi, esi
je 0x1016a191
mov eax, dword [esi + 0x3c]
cmp eax, dword [esi + 0x40]
mov eax, dword [esp + 0x24]
je 0x1016a195
cmp ecx, eax
jne 0x1016a195
mov cl, 1
jmp 0x1016a197
mov eax, dword [esp + 0x24]
xor cl, cl
cmp byte [esp + 0x44], 0
mov dword [esp + 0x68], ecx
mov byte [esp + 0x43], cl
mov byte [esp + 0x4b], 0
mov byte [esp + 0x2b], 0
je 0x1016a23b
test esi, esi
je 0x1016a23b
nop dword [eax]
cmp dword [esp + 0x74], eax
je 0x1016a1ce
test cl, cl
je 0x1016a24a
mov eax, dword ds:[ebp + 0xc]
lea ecx, [esi + 0xc]
inc eax
mov dword [esp + 0x34], 0
push eax
call fcn.1003ef80
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.10141de0
mov dword [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.10043ba0
mov ecx, dword [esi + 0x3c]
cmp ecx, dword [esi + 0x40]
movzx eax, byte [esp + 0x43]
mov edx, dword [esp + 0x10]
mov dword [esp + 0x68], 0
mov ecx, dword [esp + 0x68]
cmovne ecx, eax
mov eax, dword [esp + 0x24]
mov dword [esp + 0x68], ecx
nop dword [eax + eax]
cmp dword [esp + 0x74], eax
je 0x1016a252
test cl, cl
jne 0x1016a252
cmp dword [edx + 0x1d14], eax
jne 0x1016a267
cmp byte [esp + 0x44], 0
jne 0x1016a267
test esi, esi
je 0x1016a267
cmp byte [esi + 0x30], 0
je 0x1016a267
mov al, 1
jmp 0x1016a269
xor al, al
cmp dword [esp + 0xa8], 0
mov byte [esp + 0x43], al
je 0x1016a28e
test al, al
je 0x1016a282
mov eax, dword ds:[esi + 0x20]
jmp 0x1016a285
mov eax, dword [ebp + 8]
cmp byte [eax], 0
jne 0x1016a28e
mov al, 1
jmp 0x1016a290
xor al, al
cmp byte ds:[esp + 0xf8], 0
mov byte [esp + 0x4a], al
je 0x1016a335
test al, al
jne 0x1016a335
mov edx, dword [edx + 0x1a6c]
cmp dword [edx + 0x14], 0x2a
ja 0x1016a2bf
mov eax, dword [edx + 0x2c]
jmp 0x1016a2db
mov eax, dword [edx + 0x1c]
mov eax, dword [eax + 0xa8]
cmp eax, 0xffffffff
jne 0x1016a2d2
mov eax, dword [edx + 0x2c]
jmp 0x1016a2db
lea ecx, [eax + eax*4]
mov eax, dword [edx + 0x28]
lea eax, [eax + ecx*8]
mov ecx, dword [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.10149140
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x24]
movss xmm0, dword [0x102f9f94]
cmp dword [edx + 0x1d14], eax
jne 0x1016a685
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 + 0x6c]
mulss xmm2, xmm0
subss xmm7, dword [edx + 0x1550]
jne 0x1016a4d6
mov al, byte [esp + 0x23]
test al, al
je 0x1016a3c6
cmp byte ds:[edx + 0x3dd], 0
jne 0x1016a4d6
cmp byte [edx + 0x3d8], 0
je 0x1016a437
cmp byte [esi + 0x1635], 0
jne 0x1016a437
nop dword [eax + eax]
test al, al
je 0x1016a4f1
cmp byte [esi + 0x4f], 0
je 0x1016a40a
push 0
mov edx, esi
lea ecx, [esp + 0xd4]
call fcn.1016e8a0
movss xmm2, dword [esp + 0xe0]
add esp, 4
movaps xmm1, xmm7
mov ecx, esi
call fcn.1016e3e0
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 0x1016a4f1
cmp byte ds:[edx + 0xec], 0
je 0x1016a4f1
cmp byte [esi + 0x1635], 0
jne 0x1016a4fa
movss xmm0, dword [edx + 0x374]
xorps xmm3, xmm3
ucomiss xmm0, xmm3
lahf
test ah, 0x44
jp 0x1016a47c
movss xmm0, dword [edx + 0x378]
ucomiss xmm0, xmm3
lahf
test ah, 0x44
jnp 0x1016a4f1
cmp byte [esi + 0x4f], 0
je 0x1016a49e
push 0
mov edx, esi
lea ecx, [esp + 0xd4]
call fcn.1016e8a0
movss xmm2, dword [esp + 0xe0]
add esp, 4
mov eax, dword [esi + 0x3c]
cmp eax, dword [esi + 0x40]
jne 0x1016a4ac
mov eax, dword [esi + 0x38]
mov dword [esi + 0x3c], eax
movaps xmm1, xmm7
mov ecx, esi
call fcn.1016e3e0
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 0x1016a4f1
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 0x1016a50a
cmp byte [edx + 0xec], 0
jne 0x1016a50a
mov byte [esi + 0x1635], 0
cmp byte [edx + 0xfc], 0
je 0x1016a522
cmp byte ds:[edx + 0xfe], 0
mov byte [esp + 0xf], 1
je 0x1016a527
mov byte [esp + 0xf], 0
test cl, 0x40
je 0x1016a5c9
mov eax, dword [0x1034d164]
mov ecx, dword ds:[eax + 0x34]
test ecx, ecx
js 0x1016a5c9
call fcn.1013b500
mov edx, dword ds:[esp + 0x10]
test al, al
mov al, byte [esp + 0xf]
mov ecx, dword [esp + 0x44]
je 0x1016a5d1
test al, al
jne 0x1016a5d1
cmp byte [edx + 0xfd], al
jne 0x1016a5d1
test cl, cl
jne 0x1016a5d1
lea eax, [esp + 0xa0]
mov dword [esp + 0xa0], 9
push eax
lea ecx, [edx + 0x1508]
call fcn.100458c0
test al, al
jne 0x1016a5c5
mov edx, dword [ebp + 0x14]
lea ecx, [esp + 0x34]
push 2
sub esp, 8
mov dword [esp + 0x40], 9
call fcn.1016c2c0
add esp, 0xc
test al, al
je 0x1016a5c5
push dword ds:[esp + 0x34]
mov ecx, esi
call fcn.1016c5c0
mov edx, dword [esp + 0x10]
mov al, byte [esp + 0xf]
mov ecx, dword [esp + 0x44]
cmp dword [edx + 0x1508], 0
jle 0x1016a681
nop
test al, al
jne 0x1016a670
test cl, cl
jne 0x1016a670
cmp byte [esp + 0x17], cl
jne 0x1016a670
mov edi, dword [esp + 0x18]
xor esi, esi
mov eax, dword [edx + 0x1510]
mov eax, dword [eax + esi*4]
mov dword [esp + 0x34], eax
cmp eax, 9
jne 0x1016a61b
cmp byte [edx + 0xfd], 0
jne 0x1016a65d
mov edx, dword [ebp + 0x14]
lea ecx, [esp + 0x34]
push 2
sub esp, 8
call fcn.1016c2c0
add esp, 0xc
test al, al
je 0x1016a659
push dword ds:[esp + 0x34]
lea edx, [edi + 0x38]
mov ecx, edi
call fcn.1016d000
add esp, 4
mov byte [edi + 0x1634], 1
mov dword [edi + 0x1630], 0xbdcccccd
mov edx, dword [esp + 0x10]
inc esi
cmp esi, dword [edx + 0x1508]
jl 0x1016a600
mov edi, dword [esp + 0x3c]
mov esi, dword [esp + 0x18]
push 0
lea ecx, [edx + 0x1508]
call fcn.1003ef80
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x24]
xor cl, cl
mov byte [esp + 0xf], cl
cmp dword [edx + 0x1d14], eax
jne 0x1016b11b
nop word [eax + eax]
cmp byte [edx + 0x1d20], cl
jne 0x1016aeb4
cmp byte [esp + 0x64], cl
jne 0x1016aeb4
movss xmm0, dword [esp + 0x9c]
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 0x1016a727
mov eax, dword [0x1034d164]
mov ecx, dword [eax + 0x80]
test ecx, ecx
js 0x1016a727
call fcn.1013b500
test al, al
je 0x1016a723
mov byte [esp + 0x16], 1
jmp 0x1016a736
mov edx, dword [esp + 0x10]
xor al, al
cmp dword [edx + 0x37c], 1
mov byte [esp + 0x16], al
jne 0x1016a754
mov eax, dword [0x1034d164]
mov ecx, dword ds:[eax + 0x78]
test ecx, ecx
js 0x1016a754
call fcn.1013b500
test al, al
je 0x1016a754
mov byte [esp + 0x63], 1
jmp 0x1016a766
mov eax, dword [esp + 0x10]
mov byte [esp + 0x63], 0
cmp dword [eax + 0x37c], 1
jne 0x1016a784
mov eax, dword [0x1034d164]
mov ecx, dword [eax + 0x7c]
test ecx, ecx
js 0x1016a784
call fcn.1013b500
mov byte ds:[esp + 0x23], 1
test al, al
jne 0x1016a789
mov byte [esp + 0x23], 0
mov eax, dword [0x1034d164]
mov ecx, dword [eax + 0x38]
test ecx, ecx
js 0x1016a7c7
call fcn.1013b500
test al, al
je 0x1016a7c7
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.1016c5c0
mov edx, dword [esp + 0x10]
jmp 0x1016ae8f
mov eax, dword [0x1034d164]
mov ecx, dword [eax + 0x3c]
test ecx, ecx
js 0x1016a805
call fcn.1013b500
test al, al
je 0x1016a805
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.1016c5c0
mov edx, dword [esp + 0x10]
jmp 0x1016ae8f
mov eax, dword [0x1034d164]
mov ecx, dword [eax + 0x50]
test ecx, ecx
js 0x1016a84e
call fcn.1013b500
test al, al
je 0x1016a84e
mov eax, esi
or eax, 0x200006
or esi, 0x200004
mov ecx, dword ds:[esp + 0x10]
cmp byte [ecx + 0xfc], 0
cmovne esi, eax
push esi
mov esi, dword [esp + 0x1c]
mov ecx, esi
call fcn.1016c5c0
mov edx, dword [esp + 0x10]
jmp 0x1016ae8f
mov eax, dword [0x1034d164]
mov ecx, dword [eax + 0x54]
test ecx, ecx
js 0x1016a873
call fcn.1013b500
nop
test al, al
je 0x1016a873
mov eax, esi
or eax, 0x200007
or esi, 0x200005
jmp 0x1016a827
mov eax, dword [0x1034d164]
mov ecx, dword [eax + 0x5c]
test ecx, ecx
js 0x1016a8ae
nop
call fcn.1013b500
test al, al
je 0x1016a8ae
cmp byte [esp + 0x44], 0
jne 0x1016a8ae
or esi, 0x200008
push esi
mov esi, dword [esp + 0x1c]
mov ecx, esi
call fcn.1016c5c0
mov edx, dword [esp + 0x10]
jmp 0x1016ae8f
mov eax, dword [0x1034d164]
mov ecx, dword [eax + 0x60]
test ecx, ecx
js 0x1016a905
call fcn.1013b500
nop
test al, al
je 0x1016a905
cmp byte [esp + 0x44], 0
jne 0x1016a905
mov ecx, dword [esp + 0x18]
mov eax, dword [ecx + 0x3c]
cmp eax, dword [ecx + 0x40]
jne 0x1016a8e8
cmp byte [esp + 0x17], 0
je 0x1016a8e8
push 0x60000c
call fcn.1016c5c0
or esi, 0x200009
push esi
mov esi, dword [esp + 0x1c]
mov ecx, esi
call fcn.1016c5c0
mov edx, dword ds:[esp + 0x10]
jmp 0x1016ae8f
mov eax, dword [0x1034d164]
mov ecx, dword [eax + 0x68]
test ecx, ecx
js 0x1016a91a
call fcn.1013b500
test al, al
jne 0x1016a92f
mov eax, dword [0x1034d164]
mov ecx, dword [eax + 0x70]
test ecx, ecx
js 0x1016a965
call fcn.1013b500
test al, al
je 0x1016a965
mov eax, dword [ebp + 0x14]
mov edx, dword [esp + 0x10]
shr eax, 7
test al, 1
mov al, byte [edx + 0xfc]
je 0x1016a94c
test al, al
je 0x1016a954
jmp 0x1016ae8b
test al, al
je 0x1016ae8b
mov byte ds:[esp + 0x64], 1
mov byte [esp + 0x2b], 1
jmp 0x1016ae8b
mov eax, dword [0x1034d164]
mov ecx, dword [eax + 0x6c]
test ecx, ecx
js 0x1016a98d
call fcn.1013b500
test al, al
je 0x1016a98d
mov esi, dword [esp + 0x18]
mov cl, 1
mov edx, dword [esp + 0x10]
mov byte [esp + 0x64], cl
jmp 0x1016ae93
mov eax, dword [esp + 0x10]
cmp dword [eax + 0x37c], 1
jne 0x1016a9db
mov eax, dword [0x1034d164]
mov ecx, dword [eax + 0x74]
test ecx, ecx
js 0x1016a9d7
call fcn.1013b500
test al, al
je 0x1016a9d7
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 0x1016ae8f
mov eax, dword [esp + 0x10]
mov dl, byte ds:[esp + 0x16]
test dl, dl
jne 0x1016ad12
cmp byte [esp + 0x63], dl
jne 0x1016ad12
cmp byte [esp + 0x23], dl
je 0x1016ae87
mov eax, dword [0x1034d164]
mov ecx, dword [eax + 0xd0]
test ecx, ecx
je 0x1016aa25
push dword [eax + 0xd8]
call ecx
mov esi, eax
add esp, 4
test esi, esi
jne 0x1016aa2a
nop dword [eax]
jmp 0x1016ae87
mov esi, 0x102f2510
mov ecx, esi
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1016aa30
sub ecx, edx
lea ecx, [ecx*4 + 4]
call fcn.10144340
mov ecx, eax
xor eax, eax
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x30], eax
cmp byte [esi], al
je 0x1016aaad
xor edi, edi
push 0
mov edx, esi
lea ecx, [esp + 0x3c]
call fcn.10141fc0
add esp, 4
add esi, eax
cmp dword [esp + 0x38], 0
je 0x1016aa9d
mov edx, dword ds:[ebp + 0x14]
lea ecx, [esp + 0x38]
push 5
sub esp, 8
call fcn.1016c2c0
add esp, 0xc
test al, al
je 0x1016aa98
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x38]
mov dword [ecx + edi*4], eax
inc edi
cmp byte [esi], 0
jne 0x1016aa57
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x30], edi
mov edi, dword [esp + 0x3c]
mov eax, dword [esp + 0x30]
mov dword [ecx + eax*4], 0
test eax, eax
jle 0x1016acde
mov ecx, dword [esp + 0x18]
mov edx, dword [ecx + 0x40]
lea esi, [ecx + 0x38]
mov dword [esp + 0xa0], esi
mov eax, dword [ecx + 4]
mov dword [esp + 0x2c], eax
mov eax, dword [esi + 4]
cmp eax, edx
je 0x1016ab1e
cmp eax, dword [esp + 0x2c]
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x2c]
jle 0x1016aaf0
mov dword [esi + 4], eax
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], edx
cmp edx, eax
jle 0x1016ab02
mov dword ds:[esi + 8], eax
mov dword [esp + 0x50], eax
jmp 0x1016ab06
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x50]
mov edx, eax
mov eax, dword [esp + 0x4c]
cmp eax, ecx
mov ecx, dword [esp + 0x18]
jne 0x1016ab1e
mov edx, dword [esp + 0x50]
mov dword [esi], eax
mov edi, dword [esi]
mov dword [esp + 0x4c], edi
cmp edi, dword [esp + 0x2c]
jle 0x1016ab34
mov edi, dword [esp + 0x2c]
mov dword [esi], edi
mov dword [esp + 0x4c], edi
mov edi, dword [ecx + 4]
mov dword [esp + 0x2c], edi
cmp eax, edx
je 0x1016ab7f
mov dword [esp + 0x50], eax
cmp eax, edi
mov eax, edi
jle 0x1016ab50
mov dword [esi + 4], eax
mov dword [esp + 0x50], eax
mov dword [esp + 0x38], edx
cmp edx, eax
jle 0x1016ab5f
mov dword [esi + 8], eax
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x4c]
mov edx, dword [esp + 0x38]
mov ecx, edx
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x50]
cmp eax, ecx
mov ecx, dword [esp + 0x18]
jne 0x1016ab7f
mov dword [esi], eax
mov dword [esp + 0x4c], eax
mov edi, dword [esp + 0x4c]
cmp edi, dword [esp + 0x2c]
mov edi, dword [esp + 0x3c]
jle 0x1016ab97
mov edi, dword [esp + 0x2c]
mov dword [esi], edi
mov edi, dword [esp + 0x3c]
cmp eax, edx
je 0x1016abce
jge 0x1016abb0
sub edx, eax
push edx
push eax
mov edx, esi
call fcn.1016e0e0
mov eax, dword [esi + 4]
mov dword [esi + 8], eax
jmp 0x1016abc1
sub eax, edx
push eax
push edx
mov edx, esi
call fcn.1016e0e0
mov eax, dword [esi + 8]
mov dword [esi + 4], eax
mov ecx, dword [esp + 0x20]
add esp, 8
mov dword [esi], eax
mov byte [esi + 0x16], 0
push dword [esp + 0x30]
mov edx, dword [esi]
push dword [esp + 0x20]
call fcn.1016e560
add esp, 8
test al, al
je 0x1016acb6
mov eax, dword [esi]
lea edx, [esi + 0x20]
mov dword [esp + 0x78], 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 0x1016ac1e
mov ecx, edx
call fcn.1016cf20
lea edx, [esi + 0x20]
cmp dword [edx + 0x15d0], 0x3e7
jle 0x1016ac4e
mov esi, dword [esp + 0x34]
nop
mov ecx, esi
call fcn.1016cf20
cmp dword [esi + 0x15d0], 0x3e7
jg 0x1016ac30
mov esi, dword [esp + 0xa0]
mov edx, dword [esp + 0x34]
movzx ecx, word [edx + 0x15cc]
lea eax, [ecx + 1]
movsx ecx, cx
shl ecx, 4
mov word [edx + 0x15cc], ax
add ecx, edx
je 0x1016ac9b
mov eax, dword [esp + 0x78]
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 0x1016ace2
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 0x1016ace2
movzx eax, word ds:[esi + 0x15ec]
test ax, ax
je 0x1016accd
dec eax
mov word [esi + 0x15ec], ax
mov esi, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov byte [esi + 0x1634], 1
jmp 0x1016ace2
mov esi, dword [esp + 0x18]
test ecx, ecx
je 0x1016acf5
mov eax, dword [0x1034d164]
test eax, eax
je 0x1016acf5
dec dword [eax + 0x370]
push dword [0x1034d188]
push ecx
call dword [0x10349460]
mov edx, dword [esp + 0x18]
add esp, 8
jmp 0x1016ae8f
cmp dword [eax + 0xd4], 0
je 0x1016add6
mov esi, dword [esp + 0x18]
mov ecx, dword [esi + 0x40]
mov eax, dword [esi + 0x3c]
cmp eax, ecx
je 0x1016ad43
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 0x1016ad52
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.10141920
inc eax
mov ecx, eax
mov dword [esp + 0xa0], eax
call fcn.10144340
mov esi, dword ds:[esi + 0x14]
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0xa0]
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0x1c]
lea ecx, [esi + ecx*4]
push ecx
lea ecx, [esi + eax*4]
mov esi, dword [esp + 0x7c]
push ecx
mov ecx, esi
call fcn.101419a0
add esp, 8
mov ecx, esi
call fcn.1013dde0
test esi, esi
je 0x1016adc2
mov eax, dword [0x1034d164]
test eax, eax
je 0x1016adc2
dec dword [eax + 0x370]
push dword [0x1034d188]
push esi
call dword [0x10349460]
mov dl, byte [esp + 0x1e]
add esp, 8
test dl, dl
je 0x1016ae87
mov ecx, dword [esp + 0x18]
mov eax, dword [ecx + 0x3c]
cmp eax, dword [ecx + 0x40]
jne 0x1016adfe
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 0x1016ae87
mov edi, dword ds:[ecx + 4]
mov dword [esp + 0x30], edi
cmp eax, edi
jle 0x1016ae29
mov eax, edi
mov dword [esi + 4], eax
cmp edx, dword [esp + 0x30]
jle 0x1016ae36
mov edx, dword [esp + 0x30]
mov dword [esi + 8], edx
cmp eax, edx
jne 0x1016ae3c
mov dword [esi], eax
mov edi, dword [esp + 0x30]
cmp dword [esi], edi
mov edi, dword [esp + 0x3c]
jle 0x1016ae52
mov edi, dword [esp + 0x30]
mov dword [esi], edi
mov edi, dword [esp + 0x3c]
cmp eax, edx
je 0x1016ae83
jge 0x1016ae6d
sub edx, eax
push edx
push eax
mov edx, esi
call fcn.1016e0e0
mov eax, dword [esi + 4]
mov dword [esi + 8], eax
jmp 0x1016ae7e
sub eax, edx
push eax
push edx
mov edx, esi
call fcn.1016e0e0
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 0x1016aeaa
mov eax, dword ds:[esp + 0x74]
cmp eax, dword [esp + 0x24]
jne 0x1016aeaa
mov al, 1
jmp 0x1016aeac
xor al, al
or byte [esp + 0x68], al
mov eax, dword [esp + 0x24]
nop dword [eax]
nop dword [eax + eax]
cmp dword [edx + 0x1d14], eax
jne 0x1016b11b
mov dword ds:[esp + 0x1c], 0
mov dword [esp + 0x30], 0
test cl, cl
je 0x1016b050
cmp byte [esp + 0x44], 0
jne 0x1016b03b
mov ecx, dword [esi + 0x2c]
mov eax, dword [ebp + 8]
nop dword [eax]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x1016af22
test dl, dl
je 0x1016af1c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x1016af22
add eax, 2
add ecx, 2
test dl, dl
jne 0x1016af00
xor eax, eax
jmp 0x1016af27
sbb eax, eax
or eax, 1
test eax, eax
je 0x1016b03b
mov eax, dword ds:[esi + 0x24]
mov ecx, dword [esi + 0x2c]
dec eax
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x30], eax
mov dword [esp + 0xb4], 0
mov dword [esp + 0xb0], 0
mov dword [esp + 0xb8], 0
test eax, eax
jle 0x1016afa4
lea esi, [eax + ecx]
mov edx, esi
call fcn.10141c20
inc eax
lea ecx, [esp + 0xb0]
push eax
call fcn.1003ef80
mov ecx, dword [esp + 0xb8]
push 0
push esi
push dword [esp + 0x24]
mov esi, dword [esp + 0xbc]
mov edx, esi
call fcn.10141de0
lea ecx, [esi - 1]
add esp, 0xc
mov esi, dword [esp + 0x18]
jmp 0x1016afa6
xor ecx, ecx
mov eax, dword ds:[esi + 4]
xor edx, edx
push ecx
mov dword [esp + 0x3c], ecx
lea ecx, [esi + 0x58]
push eax
mov dword [esp + 0xa8], eax
call fcn.1016cc40
add esp, 8
mov dword [esp + 0x78], eax
test eax, eax
je 0x1016aff2
mov edx, dword [esp + 0xa0]
xor ecx, ecx
test edx, edx
jle 0x1016aff2
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 0x1016afe0
mov edi, dword [esp + 0x3c]
push dword [esi + 4]
xor edx, edx
mov ecx, esi
call fcn.1016e6c0
mov eax, dword [esp + 0x3c]
add esp, 4
test eax, eax
jle 0x1016b02f
push eax
push dword [esp + 0xbc]
xor edx, edx
mov ecx, esi
call fcn.1016e560
add esp, 8
test al, al
je 0x1016b02f
mov eax, dword [esp + 0x38]
mov dword [esi + 0x38], eax
mov byte [esi + 0x4e], 0
lea ecx, [esp + 0xb0]
call fcn.1003f060
cmp byte [esp + 0x2b], 0
je 0x1016b0ca
test byte [ebp + 0x14], 0x20
je 0x1016b0ca
cmp byte [esp + 0x44], 0
jne 0x1016b0ca
mov eax, dword [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.1003ecc0
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.101419a0
mov ecx, dword [ebp + 8]
add esp, 8
mov eax, dword [esi + 0x20]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x1016b0b5
test dl, dl
je 0x1016b0b1
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x1016b0b5
add eax, 2
add ecx, 2
test dl, dl
jne 0x1016b095
xor eax, eax
jmp 0x1016b0ba
sbb eax, eax
or eax, 1
test eax, eax
je 0x1016b0ca
mov eax, dword [esi + 0x20]
mov dword [esp + 0x1c], eax
mov eax, dword [esi + 8]
jmp 0x1016b0ce
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x1c]
test ecx, ecx
je 0x1016b109
mov edx, dword [ebp + 0xc]
inc eax
cmp eax, edx
cmovl edx, eax
mov dword [ebp + 0xc], edx
cmp edx, 1
jb 0x1016b104
jbe 0x1016b0fc
lea eax, [edx - 1]
push eax
push ecx
push dword [ebp + 8]
call fcn.100d94d0
mov edx, dword [ebp + 0xc]
add esp, 0xc
mov eax, dword [ebp + 8]
mov byte [edx + eax - 1], 0
mov byte [esp + 0x4b], 1
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x24]
mov dword [esi + 0x1638], 0
cmp byte [esp + 0x64], 0
je 0x1016b12f
cmp dword [edx + 0x1d14], eax
jne 0x1016b12f
call fcn.1013e220
mov eax, dword [esp + 0x10]
mov ecx, 0x2f
movss xmm1, dword [0x102f9fe4]
movss xmm7, dword [eax + 0x1558]
call fcn.101447e0
mov ecx, dword [esp + 0x88]
mov esi, eax
mov edx, dword [esp + 0x8c]
mov dword [esp + 0xa0], ecx
mov ecx, dword [esp + 0x80]
mov dword [esp + 0x78], ecx
mov ecx, dword [0x1034d164]
push 0
push ecx
movss dword [esp], xmm7
mov eax, dword [ecx + 0x1cdc]
lea ecx, [esp + 0xa8]
push esi
push ecx
lea ecx, [esp + 0x88]
mov dword [esp + 0xb4], edx
mov edx, dword [esp + 0x94]
push ecx
mov ecx, dword [eax + 0x284]
mov dword [esp + 0x90], edx
call fcn.1015d620
cmp byte ds:[esp + 0x43], 0
movss xmm3, dword [esp + 0x70]
mov eax, dword [esp + 0x10]
movaps xmm0, xmm3
addss xmm0, dword [esp + 0x9c]
movss xmm1, dword [esp + 0xbc]
movss xmm2, dword [esp + 0x6c]
movss xmm4, dword [0x102fa030]
addss xmm1, xmm2
mov esi, dword [esp + 0x18]
movss dword [esp + 0x64], 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 + 0x4c], xmm0
movss xmm0, dword [eax + 0x1a70]
divss xmm1, xmm4
divss xmm0, xmm4
subss xmm1, xmm0
movss dword [esp + 0x78], xmm1
je 0x1016b26a
mov ecx, dword [esi + 0x20]
mov dword [ebp + 8], ecx
jmp 0x1016b26d
mov ecx, dword [ebp + 8]
xor eax, eax
mov dword [esp + 0x34], eax
cmp byte [esp + 0x4a], al
je 0x1016b29a
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 0x1016b288
mov eax, dword [esp + 0xa8]
sub ecx, edx
jmp 0x1016b2a1
test esi, esi
je 0x1016b2a7
mov eax, dword [esi + 8]
add eax, ecx
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x74]
xorps xmm4, xmm4
movss dword [esp + 0xa0], xmm4
cmp eax, dword [esp + 0x24]
je 0x1016b2c8
cmp byte [esp + 0x68], 0
je 0x1016ba67
mov ecx, dword ds:[esi + 0x14]
xor eax, eax
xor edx, edx
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x74]
xorps xmm0, xmm0
xorps xmm3, xmm3
movss dword [esp + 0x30], xmm0
movss dword [esp + 0x50], xmm3
mov dword [esp + 0x2c], ecx
mov dword [esp + 0xa8], edx
mov dword [esp + 0x1c], 0xfffffc18
cmp eax, dword [esp + 0x24]
jne 0x1016b31a
mov eax, dword [esi + 0x38]
lea edx, [ecx + eax*4]
or eax, 0xffffffff
mov dword [esp + 0xa8], edx
mov dword [esp + 0x1c], eax
cmp byte ds:[esp + 0x68], 0
je 0x1016b33c
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 + 0x38], eax
jmp 0x1016b341
mov ecx, 0xfffffc18
mov eax, dword [esp + 0x1c]
cmp eax, 0xffffffff
cmove eax, dword [esp + 0x54]
cmp ecx, 0xffffffff
mov dword [esp + 0x1c], eax
mov eax, 1
cmove ecx, eax
mov dword [esp + 0x9c], ecx
mov ecx, edx
cmp edx, dword [esp + 0x2c]
jbe 0x1016b381
mov edi, dword [esp + 0x2c]
nop
cmp dword [ecx - 4], 0xa
je 0x1016b37d
add ecx, 0xfffffffc
cmp ecx, edi
ja 0x1016b370
mov edi, dword [esp + 0x3c]
mov eax, dword [0x1034d164]
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 0x1016b3fa
mov edi, edx
mov edx, dword [ecx]
add ecx, 4
cmp edx, 0xa
jne 0x1016b3c3
maxss xmm1, xmm2
movaps xmm2, xmm4
jmp 0x1016b3ea
cmp edx, 0xd
je 0x1016b3ea
cmp edx, dword [edi]
jge 0x1016b3dd
mov eax, dword [edi + 8]
movss xmm0, dword [eax + edx*4]
mov eax, dword [esp + 0xa8]
jmp 0x1016b3e2
movss xmm0, dword [edi + 0xc]
mulss xmm0, xmm3
addss xmm2, xmm0
cmp ecx, eax
jb 0x1016b3b0
comiss xmm2, xmm1
mov edi, dword [esp + 0x3c]
jbe 0x1016b3fa
movaps xmm1, xmm2
addss xmm1, dword [0x102f9fe4]
movss xmm0, dword ds:[edi + 0x1c]
sub esp, 8
subss xmm0, xmm1
movss dword [edi + 0x18], xmm1
cvtps2pd xmm0, xmm0
movsd qword [esp], xmm0
call fcn.100d4a17
movss xmm3, dword [0x102f9fe4]
add esp, 8
fstp dword [esp + 0x54]
comiss xmm3, dword [esp + 0x54]
jbe 0x1016b441
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 0x1016b477
movaps xmm0, xmm1
subss xmm0, xmm2
mulss xmm0, dword [ecx + 0x18]
mulss xmm0, dword [0x102fa158]
subss xmm1, xmm0
maxss xmm1, xmm2
movss dword [edi + 0x1c], xmm1
jmp 0x1016b49d
comiss xmm2, xmm1
jbe 0x1016b49d
movaps xmm0, xmm2
subss xmm0, xmm1
mulss xmm0, dword [ecx + 0x18]
mulss xmm0, dword [0x102fa144]
addss xmm0, xmm1
minss xmm0, xmm2
movss dword [edi + 0x1c], xmm0
cmp dword [esp + 0x9c], 0
movd xmm0, dword [esp + 0x1c]
movss xmm7, dword [ecx + 0x1a70]
cvtdq2ps xmm0, xmm0
mulss xmm0, xmm7
movss dword [esp + 0xa8], xmm0
jl 0x1016b59d
mov eax, dword [esp + 0x38]
mov ecx, eax
mov edx, dword [esp + 0x2c]
cmp eax, edx
jbe 0x1016b4e4
cmp dword [ecx - 4], 0xa
je 0x1016b4e4
add ecx, 0xfffffffc
cmp ecx, edx
ja 0x1016b4d7
mov eax, dword [0x1034d164]
xorps xmm3, xmm3
xorps xmm0, xmm0
movss dword [esp + 0x50], xmm3
xorps xmm1, xmm1
mov edx, dword [eax + 0x1a6c]
movss xmm2, dword [eax + 0x1a70]
mov eax, dword [esp + 0x38]
divss xmm2, dword [edx + 0x10]
cmp ecx, eax
jae 0x1016b573
mov edi, edx
nop dword [eax]
mov edx, dword [ecx]
add ecx, 4
cmp edx, 0xa
jne 0x1016b533
maxss xmm3, xmm1
movaps xmm1, xmm0
jmp 0x1016b55a
cmp edx, 0xd
je 0x1016b55a
cmp edx, dword [edi]
jge 0x1016b54a
mov eax, dword [edi + 8]
movss xmm0, dword [eax + edx*4]
mov eax, dword [esp + 0x38]
jmp 0x1016b54f
movss xmm0, dword [edi + 0xc]
mulss xmm0, xmm2
addss xmm1, xmm0
xorps xmm0, xmm0
cmp ecx, eax
jb 0x1016b520
comiss xmm1, xmm3
mov edi, dword [esp + 0x3c]
movss dword [esp + 0x50], xmm3
jbe 0x1016b573
movss dword [esp + 0x50], xmm1
movd xmm0, dword [esp + 0x9c]
mov eax, dword [esp + 0x10]
movss xmm3, dword [0x102f9fe4]
cvtdq2ps xmm0, xmm0
movss xmm7, dword [eax + 0x1a70]
mulss xmm0, xmm7
movss dword [esp + 0x30], xmm0
cmp byte [esp + 0x68], 0
je 0x1016b804
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.101447e0
movss xmm5, dword ds:[esp + 0x30]
addss xmm5, dword [esp + 0x78]
movss xmm4, dword [esp + 0x50]
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x54], eax
addss xmm4, dword [esp + 0x4c]
movss dword [esp + 0x30], xmm5
cmp esi, ecx
jae 0x1016b800
movss xmm6, dword [esp + 0x64]
mov edi, dword [esp + 0x10]
addss xmm7, xmm6
comiss xmm5, xmm7
ja 0x1016b7fc
movss xmm0, dword [esp + 0x70]
comiss xmm0, xmm5
jbe 0x1016b652
cmp esi, ecx
jae 0x1016b7d9
mov eax, dword ds:[esi]
add esi, 4
cmp eax, 0xa
je 0x1016b7d9
cmp esi, ecx
jb 0x1016b632
jmp 0x1016b7fc
mov eax, dword [0x1034d164]
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 0x1016b6c2
nop dword [eax + eax]
mov ecx, dword [esi]
add esi, 4
cmp ecx, 0xa
je 0x1016b6b4
cmp ecx, 0xd
je 0x1016b6aa
cmp ecx, dword [edx]
jge 0x1016b69d
mov eax, dword [edx + 8]
movss xmm0, dword [eax + ecx*4]
jmp 0x1016b6a2
movss xmm0, dword [edx + 0xc]
mulss xmm0, xmm2
addss xmm1, xmm0
mov ecx, dword [esp + 0x1c]
cmp esi, ecx
jb 0x1016b680
jmp 0x1016b6c2
mov ecx, dword [esp + 0x1c]
movaps xmm3, xmm7
maxss xmm3, xmm1
movaps xmm1, xmm7
maxss xmm1, xmm3
comiss xmm7, xmm1
jb 0x1016b6ff
mov eax, dword [edi + 0x1a6c]
cmp dword [eax], 0x20
jle 0x1016b6e7
mov eax, dword [eax + 8]
movss xmm0, dword [eax + 0x80]
jmp 0x1016b6ec
movss xmm0, dword [eax + 0xc]
mulss xmm0, dword [0x102f9f94]
cvttss2si eax, xmm0
movd xmm1, eax
cvtdq2ps xmm1, xmm1
addss xmm1, dword [0x102f9f94]
movss xmm2, dword [0x102fa2ac]
movaps xmm0, xmm5
subss xmm2, dword [edi + 0x1a70]
addss xmm0, dword [0x102fa030]
movss xmm3, dword [esp + 0xbc]
addss xmm1, xmm4
addss xmm4, xmm7
movss xmm7, dword [esp + 0x6c]
addss xmm2, xmm5
minss xmm0, xmm6
minss xmm1, xmm3
maxss xmm4, xmm7
maxss xmm2, dword [esp + 0x70]
comiss xmm0, dword [esp + 0x70]
movss dword [esp + 0x80], xmm4
movss dword [esp + 0x84], xmm2
movss dword [esp + 0x88], xmm1
movss dword [esp + 0x8c], xmm0
jbe 0x1016b7d9
comiss xmm6, xmm2
jbe 0x1016b7d9
comiss xmm1, xmm7
jbe 0x1016b7d9
comiss xmm3, xmm4
jbe 0x1016b7d9
push 0
push ecx
mov dword [esp], 0
lea eax, [esp + 0x90]
push dword [esp + 0x5c]
push eax
lea eax, [esp + 0x90]
push eax
mov eax, dword [esp + 0xd4]
mov ecx, dword [eax + 0x284]
call fcn.1015d620
movss xmm5, dword [esp + 0x30]
movss xmm6, dword [esp + 0x64]
mov ecx, dword [esp + 0x1c]
movss xmm7, dword [edi + 0x1a70]
movss xmm4, dword [esp + 0x4c]
movaps xmm0, xmm7
addss xmm5, xmm0
movss dword [esp + 0x30], xmm5
cmp esi, ecx
jb 0x1016b612
mov edi, dword [esp + 0x3c]
mov esi, dword [esp + 0x18]
mov eax, dword [esp + 0x74]
cmp eax, dword [esp + 0x24]
jne 0x1016ba64
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 0x1016b882
xorps xmm3, xmm3
comiss xmm3, xmm1
jae 0x1016b882
movss xmm0, dword [0x102fa010]
sub esp, 0x10
cvtps2pd xmm0, xmm0
movsd qword [esp + 8], xmm0
cvtps2pd xmm0, xmm1
movsd qword [esp], xmm0
call fcn.100d8f20
movss xmm0, dword [0x102f9fb4]
add esp, 0x10
fstp dword [esp + 0x54]
comiss xmm0, dword [esp + 0x54]
jae 0x1016b882
xor cl, cl
jmp 0x1016b884
mov cl, 1
movss xmm1, dword [esp + 0x4c]
addss xmm1, dword [edi + 0x1c]
movss xmm0, dword [esp + 0xa8]
addss xmm0, dword [esp + 0x78]
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 + 0x78], xmm7
movss dword [esp + 0x9c], xmm5
jbe 0x1016b8f0
subss xmm0, xmm7
addss xmm0, dword [0x102fa0cc]
subss xmm7, xmm0
movss dword [esp + 0xa0], xmm0
movss dword [esp + 0x78], xmm7
movss xmm3, dword [esi + 0x1a70]
movaps xmm6, xmm7
movss xmm0, dword [0x102f9fe4]
movaps xmm1, xmm3
movss dword [esp + 0x80], xmm7
addss xmm6, xmm0
movaps xmm4, xmm5
divss xmm1, dword [0x102fa030]
movss dword [esp + 0x88], xmm6
addss xmm1, xmm0
subss xmm0, dword [edi + 0x20]
subss xmm4, dword [0x102fa030]
mulss xmm1, xmm0
movss xmm0, dword [0x102f9fe4]
subss xmm4, xmm1
movaps xmm1, xmm3
divss xmm1, dword [0x102fa030]
movss dword [esp + 0x54], xmm4
movss dword [esp + 0x8c], xmm4
addss xmm1, xmm0
subss xmm0, dword [edi + 0x20]
mulss xmm1, xmm0
movaps xmm0, xmm5
subss xmm0, xmm3
addss xmm0, dword [0x102fa05c]
addss xmm1, xmm0
movss dword [esp + 0x84], xmm1
test cl, cl
je 0x1016ba2e
comiss xmm4, dword [esp + 0x70]
jbe 0x1016ba2e
movss xmm0, dword [esp + 0x64]
comiss xmm0, xmm1
jbe 0x1016ba2e
comiss xmm6, dword [esp + 0x6c]
jbe 0x1016ba2e
movss xmm0, dword [esp + 0xbc]
comiss xmm0, xmm7
jbe 0x1016ba2e
movss xmm1, dword [0x102f9fe4]
mov ecx, 0x30
call fcn.101447e0
movss xmm0, dword [esp + 0x54]
push ecx
mov dword [esp], 0x3f800000
push eax
lea eax, [esp + 0xb0]
movss dword [esp + 0xb0], xmm7
push eax
lea eax, [esp + 0x8c]
movss dword [esp + 0xb8], xmm0
push eax
mov eax, dword [esp + 0xd0]
mov ecx, dword [eax + 0x284]
call fcn.1015eb80
movss xmm7, dword [esp + 0x78]
movss xmm5, dword [esp + 0x9c]
cmp byte ds:[esp + 0x44], 0
xorps xmm4, xmm4
movss xmm6, dword [0x102f9fe4]
jne 0x1016ba73
subss xmm5, dword [esi + 0x1a70]
subss xmm7, xmm6
movss dword [esi + 0x3738], xmm5
movss dword [esi + 0x3734], xmm7
jmp 0x1016ba73
xorps xmm4, xmm4
mov esi, dword [esp + 0x10]
movss xmm6, dword [0x102f9fe4]
mov eax, dword ds:[esp + 0x34]
mov ecx, dword [ebp + 8]
sub eax, ecx
cmp eax, 0x200000
jge 0x1016ba9f
lea edx, [ecx + 1]
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1016ba90
sub ecx, edx
je 0x1016ba9f
mov al, 1
jmp 0x1016baa1
xor al, al
movss xmm3, dword [0x102fa0f0]
movaps xmm1, xmm6
subss xmm1, dword [edi + 0x20]
movss xmm0, dword [0x102f9fcc]
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 0x1016bae0
mov dword [edi + 0x20], 0x3f800000
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x74]
cmp edx, ecx
jne 0x1016bafe
test al, al
jne 0x1016bafe
movsd xmm1, qword [str.333333]
cvtpd2ps xmm1, xmm1
jmp 0x1016bb16
movsd xmm1, qword [0x102fa028]
cvtpd2ps xmm1, xmm1
cmp edx, ecx
jne 0x1016bb16
test al, al
jne 0x1016bb70
movss xmm2, dword ds:[edi + 0x14]
ucomiss xmm2, xmm1
lahf
test ah, 0x44
jnp 0x1016bb5a
comiss xmm2, xmm0
jbe 0x1016bb38
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 0x1016bbae
nop word [eax + eax]
cmp edx, ecx
jne 0x1016bbae
test al, al
je 0x1016bbae
movss xmm1, dword [edi + 0x14]
comiss xmm1, xmm4
jbe 0x1016bbae
movss xmm0, dword [0x102f9f30]
comiss xmm0, xmm1
jbe 0x1016bb95
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 [0x1034ac9c]
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x10358348]
cmp eax, dword [ecx + 4]
jg 0x1016c24a
movups xmm0, xmmword [esi + 0x15dc]
mov esi, dword [0x1034d164]
xor edx, edx
movups xmmword [esp + 0x80], 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.10142400
add esp, 4
mov dword [esp + 0x54], eax
cmp dword [esi + 0x1d14], eax
jne 0x1016bc1c
mov dword [esi + 0x1d18], eax
nop dword [eax]
cmp dword [esi + 0x1d4c], eax
jne 0x1016bc2f
mov byte [esi + 0x1d50], 1
mov dword [esp + 0x1c], eax
mov ecx, 0x1035834c
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0xb4]
push eax
call fcn.10051e00
mov esi, dword [esp + 0xb8]
mov ecx, dword [0x1035834c]
cmp byte [esi + 0xd], 0
jne 0x1016bc66
mov eax, dword [esp + 0x54]
cmp eax, dword [esi + 0x10]
jae 0x1016bc68
mov esi, ecx
cmp esi, ecx
jne 0x1016bcc1
lea eax, [esp + 0x80]
mov ecx, 0x1035834c
push eax
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x5c]
push eax
call fcn.10045ee0
lea eax, ds:[esp + 0x1c]
mov ecx, 0x1035834c
push eax
lea eax, [esp + 0xb4]
push eax
call fcn.10051e00
mov esi, dword [esp + 0xb8]
cmp byte [esi + 0xd], 0
jne 0x1016bcbb
mov eax, dword [esp + 0x1c]
cmp eax, dword [esi + 0x10]
jae 0x1016bcc1
mov esi, dword [0x1035834c]
mov eax, dword [esp + 0x10]
sub esp, 8
movss xmm1, dword [esp + 0x8c]
addss xmm1, dword [esp + 0x88]
movss xmm0, dword [eax + 0x18d0]
addss xmm0, dword [eax + 0x18cc]
addss xmm1, dword [esp + 0x90]
addss xmm0, dword [eax + 0x18d4]
divss xmm1, dword [0x102fa05c]
divss xmm0, dword [0x102fa05c]
subss xmm1, xmm0
cvtps2pd xmm0, xmm1
movsd qword [esp], xmm0
call fcn.100d4a17
movss xmm0, dword [0x102f9f70]
add esp, 8
movss xmm7, dword [0x102f9fe4]
fstp dword [esp + 0x54]
comiss xmm0, dword [esp + 0x54]
jbe 0x1016bd64
movaps xmm3, xmm7
movaps xmm4, xmm7
subss xmm3, dword [esp + 0x80]
subss xmm4, dword [esp + 0x84]
movaps xmm5, xmm7
subss xmm5, dword [esp + 0x88]
jmp 0x1016bd7f
movss xmm3, dword [esp + 0x80]
movss xmm4, dword [esp + 0x84]
movss xmm5, dword [esp + 0x88]
mov eax, dword [esp + 0x10]
movss xmm1, dword [esi + 0x14]
comiss xmm3, xmm1
movss xmm2, dword [eax + 0x18]
movss xmm6, dword [0x102fa098]
jbe 0x1016bdb0
movaps xmm0, xmm2
mulss xmm0, xmm6
addss xmm0, xmm1
minss xmm0, xmm3
movss dword [esi + 0x14], xmm0
jmp 0x1016bdc9
comiss xmm1, xmm3
jbe 0x1016bdc9
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 0x1016bde4
movaps xmm1, xmm2
mulss xmm1, xmm6
addss xmm1, xmm3
minss xmm1, xmm4
jmp 0x1016bdfb
comiss xmm3, xmm4
movaps xmm1, xmm3
jbe 0x1016be00
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 0x1016be22
mulss xmm2, xmm6
addss xmm2, xmm0
minss xmm2, xmm5
movss dword [esi + 0x1c], xmm2
movaps xmm0, xmm2
jmp 0x1016be38
comiss xmm0, xmm5
jbe 0x1016be38
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 0x1016be4a
xorps xmm2, xmm2
jmp 0x1016be51
movaps xmm2, xmm7
minss xmm2, xmm3
comiss xmm4, xmm1
movss xmm3, dword [0x102fa21c]
movss xmm5, dword [0x102f9f94]
mulss xmm2, xmm3
addss xmm2, xmm5
cvttss2si ecx, xmm2
jbe 0x1016be77
xorps xmm2, xmm2
jmp 0x1016be7e
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 0x1016be99
xorps xmm1, xmm1
jmp 0x1016bea0
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 0x1016bec2
xorps xmm0, xmm0
jmp 0x1016bec9
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.101449a0
cmp byte [esp + 0x17], 0
mov esi, dword [esp + 0xc4]
je 0x1016bf9d
mov ecx, dword [0x1034d164]
movss xmm2, dword [ecx + 0x1a70]
test esi, esi
je 0x1016bf38
movss xmm3, dword [0x102fa288]
lea eax, [esp + 0x54]
push 0
push 0
push esi
push ecx
mov ecx, dword [ecx + 0x1a6c]
mov dword [esp], 0xbf800000
push eax
call fcn.1015d2e0
movss xmm2, dword [esp + 0x58]
movss xmm0, dword [esp + 0xc8]
lea eax, [esp + 0xd8]
addss xmm0, dword [esp + 0x70]
divss xmm2, dword [0x102fa030]
lea edx, [esp + 0xd0]
push ecx
lea ecx, [esp + 0x58]
movss xmm1, dword [esp + 0x70]
divss xmm0, dword [0x102fa030]
addss xmm1, dword [0x102fa0a8]
push dword [ebp + 8]
subss xmm0, xmm2
push eax
addss xmm1, dword [esp + 0xac]
movss dword [esp + 0x64], xmm0
movss dword [esp + 0x60], xmm1
call fcn.1013f6e0
add esp, 0xc
cmp byte [esp + 0xf8], 0
je 0x1016bfb3
cmp byte [esp + 0x4a], 0
jne 0x1016bfb3
call fcn.10149200
cmp byte [ebp + 0x18], 0
je 0x1016c199
cmp byte [esp + 0x17], 0
jne 0x1016c199
movss xmm1, dword [edi + 0x14]
xorps xmm4, xmm4
comiss xmm1, xmm4
jbe 0x1016c199
mov eax, dword [0x1034d164]
movss xmm5, dword [0x102f9fe4]
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 0x1016c012
xorps xmm0, xmm0
jmp 0x1016c019
movaps xmm0, xmm5
minss xmm0, xmm2
movss xmm2, dword [0x102fa21c]
movss xmm6, dword [0x102f9f94]
movss xmm3, dword [esp + 0xd4]
comiss xmm4, xmm3
mulss xmm0, xmm2
addss xmm0, xmm6
cvttss2si ecx, xmm0
jbe 0x1016c048
xorps xmm0, xmm0
jmp 0x1016c04f
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 0x1016c073
xorps xmm0, xmm0
jmp 0x1016c07a
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 0x1016c095
xorps xmm5, xmm5
jmp 0x1016c099
minss xmm5, xmm1
mulss xmm5, xmm2
addss xmm5, xmm6
cvttss2si edx, xmm5
shl edx, 0x18
or edx, ecx
xor ecx, ecx
call fcn.101449a0
movss xmm1, dword [esp + 0xcc]
xorps xmm3, xmm3
comiss xmm1, xmm3
jbe 0x1016c169
movss xmm0, dword [esp + 0x6c]
mov ecx, dword [0x1034d164]
addss xmm0, dword [0x102fa0a8]
movss dword [esp + 0x6c], xmm0
movss xmm0, dword [ecx + 0x1a70]
test esi, esi
je 0x1016c11e
movss xmm3, dword [0x102fa288]
lea eax, [esp + 0x54]
push 0
push 0
push esi
push ecx
mov ecx, dword [ecx + 0x1a6c]
movaps xmm2, xmm0
mov dword [esp], 0xbf800000
push eax
call fcn.1015d2e0
movss xmm0, dword [esp + 0x58]
movss xmm1, dword [esp + 0xc8]
xor edx, edx
addss xmm1, dword [esp + 0x70]
divss xmm0, dword [0x102fa030]
mov ecx, esi
divss xmm1, dword [0x102fa030]
subss xmm1, xmm0
movss xmm0, dword [esp + 0x6c]
movss dword [esp + 0x54], xmm0
movss dword [esp + 0x58], xmm1
push dword [esp + 0x58]
push dword [esp + 0x58]
push 1
call fcn.1013fce0
add esp, 0xc
mov esi, dword [0x1034d164]
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 0x1016c19f
mov esi, dword [0x1034d164]
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 + 0x2b]
add eax, eax
movups xmmword [esi + eax*8 + 0x15dc], xmm0
dec dword [esi + 0x1dd4]
test byte [ebp + 0x14], 0x20
movzx eax, byte [esp + 0x4b]
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 0x1035833c
call fcn.100987a0
add esp, 4
cmp dword [0x1035833c], 0xffffffff
jne 0x10169e1e
push 0x24
call fcn.1009882d
add esp, 4
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
push 0x101aabe0
mov dword [0x10358340], eax
call fcn.1009870f
add esp, 4
push 0x1035833c
call fcn.1009874f
add esp, 4
jmp 0x10169e1e
call fcn.10007530
push 0x10358348
call fcn.100987a0
add esp, 4
cmp dword [0x10358348], 0xffffffff
jne 0x1016bbce
push 0x24
call fcn.1009882d
add esp, 4
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
push 0x101aab80
mov dword [0x1035834c], eax
call fcn.1009870f
add esp, 4
push 0x10358348
call fcn.1009874f
add esp, 4
jmp 0x1016bbce