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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x148
push esi
mov esi, dword [0x103d8bec]
push edi
mov edi, esi
mov dword [esp + 0x6c], edx
mov dword [esp + 0xc8], ecx
mov dword [esp + 0x14], edi
mov eax, dword [edi + 0x1bdc]
mov byte [eax + 0x8c], 1
mov edx, dword [edi + 0x1bdc]
mov dword [esp + 0x5c], edx
cmp byte [edx + 0x8f], 0
jne 0x1016880a
mov eax, dword [ebp + 0x14]
mov ecx, eax
mov dword [esp + 0x38], eax
shr dword [esp + 0x38], 0xe
and byte [esp + 0x38], 1
mov dword [esp + 0xac], eax
shr dword [esp + 0xac], 0xf
and byte [esp + 0xac], 1
shr eax, 0x10
not al
shr ecx, 0x14
and eax, 0xffffff01
and ecx, 0xffffff01
mov dword [esp + 0xc4], eax
mov eax, dword [ebp + 0x14]
shr eax, 0x12
and eax, 0xffffff01
mov dword [esp + 0x28], ecx
mov dword [esp + 0x50], eax
test cl, cl
je 0x10168523
call fcn.10151170
mov esi, dword [0x103d8bec]
mov edx, dword [esp + 0x5c]
mov ecx, dword [edx + 0xc0]
mov eax, dword [edx + 0xc8]
xor edx, edx
push dword [eax + ecx*4 - 4]
mov ecx, dword [esp + 0xcc]
call fcn.10144db0
mov dword [esp + 0x2c], eax
cmp dword [esi + 0x1c10], eax
jne 0x10168553
mov dword [esi + 0x1c14], eax
cmp dword [esi + 0x1c4c], eax
jne 0x10168562
mov byte [esi + 0x1c50], 1
mov eax, dword [esp + 0xc8]
mov ecx, eax
cmp eax, 0xffffffff
jae 0x10168586
mov dl, byte [ecx]
test dl, dl
je 0x10168586
cmp dl, 0x23
jne 0x10168580
cmp byte [ecx + 1], dl
je 0x10168586
inc ecx
cmp ecx, 0xffffffff
jb 0x10168570
movss xmm1, dword [0x101eb6ac]
movss xmm0, dword [esi + 0x1978]
movss dword [esp + 0x68], xmm1
cmp eax, ecx
jne 0x101685ae
xorps xmm1, xmm1
movss dword [esp + 0xd4], xmm1
jmp 0x101685fe
push 0
push ecx
push eax
push ecx
mov ecx, dword [esi + 0x1974]
lea eax, [esp + 0x80]
mov dword [esp], 0xbf800000
movaps xmm3, xmm1
push eax
movaps xmm2, xmm0
call fcn.1015cf30
movss xmm0, dword [esp + 0x70]
xorps xmm1, xmm1
addss xmm0, dword [0x101eb32c]
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [esp + 0xd4], xmm0
movss xmm0, dword [esp + 0x74]
cmp byte [esp + 0x28], 0
je 0x10168615
movss xmm0, dword [edi + 0x1978]
mulss xmm0, dword [0x101eb494]
test byte [esi + 0x1cc4], 1
movss xmm2, dword [edi + 0x159c]
mov eax, dword [esi + 0x1bdc]
addss xmm2, xmm2
addss xmm2, xmm0
je 0x1016863e
movss xmm0, dword [esi + 0x1cc8]
jmp 0x10168646
movss xmm0, dword [eax + 0x1b8]
comiss xmm1, xmm0
jbe 0x10168685
cmp dword [eax + 0x198], 0
movss xmm1, dword [eax + 0x250]
jne 0x10168665
cmp dword [esi + 0x1f1c], 0
je 0x1016866d
movss xmm1, dword [eax + 0x220]
subss xmm1, dword [eax + 0xcc]
addss xmm1, xmm0
movss xmm0, dword [0x101eb334]
maxss xmm0, xmm1
cvttss2si eax, xmm0
movaps xmm1, xmm2
movd xmm0, eax
mov eax, dword [ebp + 0x10]
cvtdq2ps xmm0, xmm0
movss xmm2, dword [eax]
movss xmm3, dword [eax + 4]
call fcn.10151060
movss dword [esp + 0x74], xmm1
mov esi, edi
movss xmm1, dword [esp + 0xd4]
movss dword [esp + 0x70], xmm0
xorps xmm0, xmm0
comiss xmm1, xmm0
jbe 0x101686d0
movaps xmm2, xmm1
addss xmm2, dword [esi + 0x15b0]
jmp 0x101686d3
xorps xmm2, xmm2
mov eax, dword [esp + 0x5c]
lea ecx, [esp + 0xb4]
movss xmm5, dword [esp + 0x70]
mov edi, dword [esp + 0x2c]
addss xmm2, xmm5
mov edx, edi
movss dword [esp + 0x88], xmm5
movss xmm4, dword [eax + 0xd0]
movss xmm3, dword [eax + 0xcc]
movaps xmm0, xmm4
addss xmm0, dword [esp + 0x74]
movaps xmm1, xmm3
movss dword [esp + 0x60], xmm3
addss xmm2, xmm3
movss dword [esp + 0x18], xmm4
addss xmm1, xmm5
movss dword [esp + 0xb4], xmm3
movss dword [esp + 0xb8], xmm4
movss dword [esp + 0xc0], xmm0
movaps xmm0, xmm4
addss xmm0, dword [esp + 0x74]
movss dword [esp + 0x40], xmm2
movss dword [esp + 0xbc], xmm1
movss dword [esp + 0x90], xmm3
movss dword [esp + 0x94], xmm4
movss dword [esp + 0x20], xmm0
movss dword [esp + 0x98], xmm2
movss dword [esp + 0x9c], xmm0
mov dword [esp + 0x64], eax
call fcn.101479d0
mov byte [esp + 0x4a], al
test al, al
je 0x1016879f
mov dword [esi + 0x1e88], 1
cmp byte [esp + 0x28], 0
je 0x101689d4
lea eax, [esp + 0xb4]
mov edx, edi
push eax
lea ecx, [esp + 0x94]
call fcn.10150d00
test al, al
jne 0x10168814
movss xmm1, dword [esp + 0x98]
lea ecx, [esp + 0x70]
subss xmm1, dword [esp + 0x90]
movss xmm0, dword [esi + 0x159c]
movss dword [esp + 0x70], xmm1
movss xmm1, dword [esp + 0x9c]
subss xmm1, dword [esp + 0x94]
movss dword [esp + 0x74], xmm1
call fcn.10150bd0
call fcn.101512a0
xor al, al
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x18
mov edx, 0xff0b0b0b
mov ecx, 3
call fcn.10145d40
movss xmm0, dword [esi + 0x15a0]
lea eax, [esp + 0x90]
mov esi, dword [0x103d8bec]
movss dword [esp + 0x40], xmm0
push eax
mov dword [esp + 0x94], 6
movss xmm0, dword [esi + 0x1588]
lea ecx, [esi + 0x1ce4]
movss dword [esp + 0x98], xmm0
call fcn.10156d90
movss xmm0, dword [esp + 0x40]
mov eax, dword [esp + 0x14]
movss dword [esi + 0x1588], xmm0
mov esi, dword [0x103d8bec]
mov dword [esp + 0x90], 7
movss xmm0, dword [eax + 0x15a4]
lea eax, [esp + 0x90]
movss dword [esp + 0x40], xmm0
movss xmm0, dword [esi + 0x158c]
lea ecx, [esi + 0x1ce4]
push eax
movss dword [esp + 0x98], xmm0
call fcn.10156d90
movss xmm0, dword [esp + 0x40]
lea eax, [esp + 0x40]
mov ecx, dword [esp + 0xc8]
mov edx, edi
movss dword [esi + 0x158c], xmm0
movss xmm0, dword [esp + 0xbc]
subss xmm0, dword [esp + 0xb4]
push 4
push 1
push eax
movss dword [esp + 0x4c], xmm0
movss xmm0, dword [esp + 0xcc]
subss xmm0, dword [esp + 0xc4]
movss dword [esp + 0x50], xmm0
call fcn.1014b790
mov ecx, 2
mov byte [esp + 0x37], al
call fcn.10145e30
mov edi, dword [0x103d8bec]
mov ecx, dword [edi + 0x1cd8]
lea edx, [ecx + ecx*4]
mov ecx, dword [edi + 0x1ce0]
mov eax, dword [ecx + edx*4 - 0x14]
movups xmm0, xmmword [ecx + edx*4 - 0x10]
shl eax, 4
movups xmmword [eax + edi + 0x1624], xmm0
dec dword [edi + 0x1cd8]
cmp byte [esp + 0x37], 0
jne 0x10168968
call fcn.1014b990
call fcn.101512a0
xor al, al
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x18
mov esi, dword [esp + 0x14]
mov edx, dword [esi + 0x1bdc]
mov dword [esp + 0x64], edx
mov ecx, dword [edx + 0x148]
mov eax, dword [edx + 0x140]
bts ecx, eax
movss xmm0, dword [edx + 0xcc]
mov dword [edx + 0x148], ecx
addss xmm0, dword [esi + 0x1598]
movss dword [edx + 0xcc], xmm0
movss xmm0, dword [esi + 0x159c]
addss xmm0, dword [edx + 0xd0]
movss dword [edx + 0xd0], xmm0
movss xmm0, dword [esp + 0x70]
subss xmm0, dword [edx + 0x80]
movss dword [esp + 0x88], xmm0
jmp 0x10168a2d
movss xmm0, dword [esp + 0x40]
lea ecx, [esp + 0x40]
subss xmm0, dword [esp + 0x60]
movss dword [esp + 0x40], xmm0
movss xmm0, dword [esp + 0x20]
subss xmm0, dword [esp + 0x18]
movss dword [esp + 0x44], xmm0
movss xmm0, dword [esi + 0x159c]
call fcn.10150bd0
lea eax, [esp + 0xb4]
mov edx, edi
push eax
lea ecx, [esp + 0x94]
call fcn.10150d00
test al, al
je 0x1016880a
mov edi, dword [0x103d8bec]
mov eax, dword [esp + 0x2c]
add edi, 0x1fa0
xor ecx, ecx
mov edx, eax
cmp dword [edi], eax
cmovne edi, ecx
mov ecx, dword [esp + 0x5c]
mov dword [esp + 0x4c], edi
call fcn.10147c50
mov byte [esp + 0x37], al
test al, al
je 0x10168ac1
mov edx, dword [esp + 0x5c]
cmp dword [esi + 0x1e68], edx
jne 0x10168ac1
mov ecx, dword [esi + 0x1e70]
cmp ecx, dword [edx + 0x1ac]
jne 0x10168ac1
mov byte [esp + 0x13], 1
mov byte [esp + 0x1c], 0
cmp byte [esp + 0x4a], 0
je 0x10168a8e
cmp byte [esi + 0x420], 0
mov byte [esp + 0x1e], 1
jne 0x10168a93
mov byte [esp + 0x1e], 0
mov ecx, dword [esi + 0x1c10]
mov eax, dword [esp + 0x2c]
cmp ecx, eax
je 0x10168ad6
cmp dword [esi + 0x1d5c], eax
je 0x10168aba
cmp dword [esi + 0x1d50], eax
jne 0x10168ad6
cmp dword [esi + 0x1d74], 2
jne 0x10168ad6
mov byte [esp + 0x12], 1
jmp 0x10168adb
mov byte [esp + 0x13], 0
test al, al
je 0x10168a74
mov byte [esp + 0x1c], 1
mov byte [esp + 0x13], 0
jmp 0x10168a79
mov byte [esp + 0x12], 0
mov eax, dword [esp + 0x28]
test al, al
je 0x10168b24
test edi, edi
je 0x10168b24
test ecx, ecx
jne 0x10168b24
mov eax, dword [esp + 0x64]
xor edx, edx
mov ecx, dword [eax + 0xc0]
mov eax, dword [eax + 0xc8]
push dword [eax + ecx*4 - 4]
mov ecx, str.SCROLLY
call fcn.10144db0
cmp dword [esi + 0x1c4c], eax
jne 0x10168b1a
mov byte [esp + 0x1d], 1
jmp 0x10168b36
mov ecx, dword [esi + 0x1c10]
mov eax, dword [esp + 0x28]
mov byte [esp + 0x1d], 0
test al, al
je 0x10168b64
mov byte [esp + 0x1d], 0
test edi, edi
je 0x10168b64
mov eax, dword [esp + 0x64]
mov ecx, str.SCROLLY
mov edx, dword [eax + 0xc0]
mov eax, dword [eax + 0xc8]
push dword [eax + edx*4 - 4]
xor edx, edx
call fcn.10144db0
mov ecx, dword [esi + 0x1c10]
cmp ecx, eax
jne 0x10168b64
mov dl, 1
jmp 0x10168b66
xor dl, dl
mov ah, byte [esp + 0x12]
mov byte [esp + 0x34], dl
mov byte [esp + 0x3f], 0
cmp ecx, dword [esp + 0x2c]
je 0x10168b91
test byte [ebp + 0x14], 0x10
jne 0x10168b83
test ah, ah
je 0x10168b91
cmp byte [esp + 0x28], 0
jne 0x10168b91
mov byte [esp + 0x30], 1
jmp 0x10168bb0
cmp byte [esp + 0x28], 0
mov byte [esp + 0x30], 0
je 0x10168bb0
mov esi, dword [esp + 0x64]
movss xmm0, dword [esi + 0x5c]
mov esi, dword [esp + 0x14]
movss dword [esp + 0x68], xmm0
test edi, edi
je 0x10168bc3
mov al, byte [esp + 0x28]
xor al, 1
cmp byte [edi + 0x53], al
je 0x10168bc3
mov al, 1
jmp 0x10168bc5
xor al, al
cmp byte [esp + 0x37], 0
mov byte [esp + 0x36], al
mov dword [esp + 0x24], 1
jne 0x10168bf8
cmp byte [esp + 0x1e], 0
jne 0x10168bf8
cmp byte [esp + 0x1d], 0
jne 0x10168bf8
test ah, ah
jne 0x10168bf8
mov byte [esp + 0x1d], ah
test dl, dl
jne 0x10168bfd
mov byte [esp + 0x35], dl
jmp 0x10168c08
mov byte [esp + 0x1d], 1
mov byte [esp + 0x35], 1
cmp ecx, dword [esp + 0x2c]
jne 0x10168c10
test al, al
je 0x10168e18
mov ecx, dword [ebp + 8]
lea edi, [esi + 0x1fa0]
mov dword [esp + 0x4c], edi
mov dword [edi + 0xe68], 0xbe99999a
lea edx, [ecx + 1]
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10168c30
mov eax, dword [edi + 0x28]
sub ecx, edx
lea esi, [ecx + 1]
cmp esi, eax
jle 0x10168c6d
test eax, eax
je 0x10168c56
cdq
sub eax, edx
lea edx, [edi + 0x24]
mov ecx, eax
sar ecx, 1
add ecx, dword [edx + 4]
jmp 0x10168c5e
mov ecx, 8
lea edx, [edi + 0x24]
cmp ecx, esi
mov eax, esi
cmovg eax, ecx
mov ecx, edx
push eax
call fcn.100b7b10
push esi
push dword [ebp + 8]
mov dword [edi + 0x24], esi
push dword [edi + 0x2c]
call fcn.1018faa0
mov edx, dword [ebp + 0xc]
lea eax, [edi + 0xc]
mov esi, dword [eax + 4]
inc edx
add esp, 0xc
mov dword [esp + 0x20], edx
cmp edx, esi
jle 0x10168cc2
test esi, esi
je 0x10168ca6
mov eax, esi
cdq
sub eax, edx
mov edx, dword [esp + 0x20]
mov ecx, eax
sar ecx, 1
add ecx, esi
jmp 0x10168cab
mov ecx, 8
cmp ecx, edx
mov eax, edx
cmovg eax, ecx
lea ecx, [edi + 0xc]
push eax
call fcn.10157110
mov edx, dword [esp + 0x20]
lea eax, [edi + 0xc]
mov dword [eax], edx
mov ecx, dword [edi + 0x1c]
test ecx, ecx
jns 0x10168ce4
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
xor ecx, ecx
test eax, eax
cmovg ecx, eax
push ecx
lea ecx, [edi + 0x18]
call fcn.100b7b10
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
dec ecx
mov dword [edi + 0x18], 0
mov edx, dword [edi + 0x14]
mov esi, edx
mov byte [edi + 0x30], 0
mov dword [esp + 0x20], edx
lea ecx, [edx + ecx*2]
cmp edx, ecx
jae 0x10168d45
mov edi, eax
cmp byte [edi], 0
je 0x10168d39
push 0
mov edx, edi
lea ecx, [esp + 0x44]
call fcn.10145040
mov edx, dword [esp + 0x20]
add edi, eax
mov eax, dword [esp + 0x40]
test eax, eax
je 0x10168d39
mov word [esi], ax
add esi, 2
mov eax, dword [ebp + 0xc]
dec eax
lea eax, [edx + eax*2]
cmp esi, eax
jb 0x10168d08
mov dword [esp + 0x18], edi
mov edi, dword [esp + 0x4c]
mov eax, dword [esp + 0x18]
sub eax, dword [ebp + 8]
xor ecx, ecx
mov word [esi], cx
sub esi, edx
sar esi, 1
mov dword [edi + 8], eax
mov eax, dword [esp + 0x2c]
mov dword [edi + 4], esi
cmp dword [edi], eax
jne 0x10168d8d
cmp byte [esp + 0x36], cl
jne 0x10168d8d
cmp dword [edi + 0x3c], esi
mov ecx, esi
mov edx, dword [esp + 0x28]
cmovl ecx, dword [edi + 0x3c]
cmp dword [edi + 0x40], esi
mov dword [edi + 0x3c], ecx
mov ecx, esi
cmovl ecx, dword [edi + 0x40]
cmp dword [edi + 0x44], esi
mov dword [edi + 0x40], ecx
cmovl esi, dword [edi + 0x44]
mov dword [edi + 0x44], esi
jmp 0x10168dea
mov edx, dword [esp + 0x28]
mov dword [edi], eax
mov al, dl
xor al, 1
mov dword [edi + 0x38], ecx
mov dword [edi + 0xe5a], 0x630000
mov dword [edi + 0xe60], ecx
mov dword [edi + 0xe64], 0x3e7
mov dword [edi + 0x40], ecx
mov dword [edi + 0x44], ecx
mov dword [edi + 0x3c], ecx
mov word [edi + 0x51], 1
mov dword [edi + 0x58], ecx
mov byte [edi + 0x50], cl
mov byte [edi + 0x53], al
mov byte [edi + 0x48], cl
mov dword [edi + 0x4c], ecx
test dl, dl
jne 0x10168dea
mov eax, dword [esp + 0x30]
cmp byte [esp + 0x13], cl
movzx eax, al
cmovne eax, dword [esp + 0x24]
mov dword [esp + 0x30], eax
test dword [ebp + 0x14], 0x2000
je 0x10168df7
mov byte [edi + 0x48], 1
mov esi, dword [esp + 0x14]
test dl, dl
jne 0x10168e18
cmp byte [esp + 0x1c], dl
jne 0x10168e13
cmp byte [esp + 0x1e], dl
je 0x10168e18
cmp byte [esi + 0x140], dl
je 0x10168e18
mov byte [esp + 0x30], 1
mov ecx, dword [esp + 0x2c]
cmp dword [esi + 0x1c10], ecx
je 0x10168ec9
cmp byte [esp + 0x1d], 0
je 0x10168ec1
mov edx, dword [esp + 0x5c]
call fcn.10147780
call fcn.101528e0
mov ecx, edx
call fcn.10150300
mov eax, dword [esi + 0x1c24]
mov edx, dword [esp + 0x28]
or eax, 3
mov dword [esi + 0x1c24], eax
test dl, dl
jne 0x10168e65
test byte [ebp + 0x14], 0x80
je 0x10168e6e
or eax, 0xc
mov dword [esi + 0x1c24], eax
mov eax, dword [esi + 0x1c30]
or dword [esi + 0x1c28], 2
or eax, 0x180
mov ecx, dword [esi + 0x1c34]
mov dword [esi + 0x1c30], eax
mov dword [esi + 0x1c34], ecx
test dl, dl
je 0x10168ea5
or eax, 0x60
mov dword [esi + 0x1c34], ecx
mov dword [esi + 0x1c30], eax
test dword [ebp + 0x14], 0x440
je 0x10168ebd
or eax, 1
mov dword [esi + 0x1c34], ecx
mov dword [esi + 0x1c30], eax
mov ecx, dword [esp + 0x2c]
cmp dword [esi + 0x1c10], ecx
jne 0x10168efe
test edi, edi
jne 0x10168ed6
call fcn.10147850
mov ecx, dword [esp + 0x2c]
cmp dword [esi + 0x1c10], ecx
jne 0x10168efe
cmp byte [esi + 0x420], 0
je 0x10168f09
cmp byte [esp + 0x35], 0
jne 0x10168f09
cmp byte [esp + 0x1d], 0
jne 0x10168f09
mov byte [esp + 0x3f], 1
mov dl, 1
jmp 0x10168f0f
test edi, edi
je 0x10168f0d
cmp byte [esp + 0x34], 0
je 0x10168f0d
mov dl, 1
jmp 0x10168f0f
xor dl, dl
mov byte [esp + 0x1f], dl
test edi, edi
je 0x10168f2a
mov eax, dword [edi + 0x40]
cmp eax, dword [edi + 0x44]
je 0x10168f2a
test dl, dl
je 0x10168f2a
mov edx, 1
jmp 0x10168f2c
xor dl, dl
mov eax, dword [esp + 0x38]
mov dword [esp + 0xa8], edx
mov byte [esp + 0x4b], dl
mov byte [esp + 0x37], 0
mov byte [esp + 0x36], 0
test al, al
je 0x10169045
test edi, edi
je 0x10169045
cmp byte [esp + 0x1f], 0
jne 0x10168f64
test dl, dl
je 0x10169050
mov ecx, dword [ebp + 0xc]
mov eax, dword [edi + 0x10]
lea esi, [ecx + 1]
cmp esi, eax
jle 0x10168f9e
test eax, eax
je 0x10168f84
cdq
sub eax, edx
lea edx, [edi + 0xc]
mov ecx, eax
sar ecx, 1
add ecx, dword [edx + 4]
jmp 0x10168f8c
mov ecx, 8
lea edx, [edi + 0xc]
cmp ecx, esi
mov eax, esi
cmovg eax, ecx
mov ecx, edx
push eax
call fcn.10157110
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
mov dword [edi + 0xc], esi
mov edx, dword [edi + 0x14]
mov esi, edx
mov dword [esp + 0x20], edx
lea ecx, [edx + ecx*2]
cmp edx, ecx
jae 0x10168ff2
mov edi, eax
cmp byte [edi], 0
je 0x10168fe6
push 0
mov edx, edi
lea ecx, [esp + 0x44]
call fcn.10145040
mov edx, dword [esp + 0x20]
add edi, eax
mov eax, dword [esp + 0x40]
test eax, eax
je 0x10168fe6
mov ecx, dword [ebp + 0xc]
mov word [esi], ax
add esi, 2
lea eax, [edx + ecx*2]
cmp esi, eax
jb 0x10168fb6
mov dword [esp + 0x18], edi
mov edi, dword [esp + 0x4c]
mov eax, dword [esp + 0x18]
sub eax, dword [ebp + 8]
xor ecx, ecx
mov word [esi], cx
sub esi, edx
sar esi, 1
cmp dword [edi + 0x3c], esi
mov ecx, esi
mov dword [edi + 4], esi
cmovl ecx, dword [edi + 0x3c]
cmp dword [edi + 0x40], esi
mov dword [edi + 0x3c], ecx
mov ecx, esi
cmovl ecx, dword [edi + 0x40]
cmp dword [edi + 0x44], esi
mov dword [edi + 8], eax
cmovl esi, dword [edi + 0x44]
xor edx, edx
movzx eax, byte [esp + 0x4b]
cmp ecx, esi
mov dword [edi + 0x40], ecx
mov ecx, dword [esp + 0x2c]
cmovne edx, eax
mov eax, dword [esp + 0x38]
mov dword [edi + 0x44], esi
mov esi, dword [esp + 0x14]
mov dword [esp + 0xa8], edx
cmp byte [esp + 0x1f], 0
jne 0x10169058
test dl, dl
jne 0x10169058
cmp dword [esi + 0x1c10], ecx
jne 0x10169069
test al, al
jne 0x10169069
test edi, edi
je 0x10169069
cmp byte [edi + 0x30], al
je 0x10169069
mov al, 1
jmp 0x1016906b
xor al, al
mov edx, dword [esp + 0x6c]
mov byte [esp + 0x4b], al
test edx, edx
je 0x1016908c
test al, al
je 0x10169080
mov eax, dword [edi + 0x20]
jmp 0x10169083
mov eax, dword [ebp + 8]
cmp byte [eax], 0
jne 0x1016908c
mov al, 1
jmp 0x1016908e
xor al, al
cmp byte [esp + 0xac], 0
mov byte [esp + 0x1e], al
je 0x1016912a
test al, al
jne 0x1016912a
mov edx, dword [esi + 0x1974]
cmp dword [edx + 0x14], 0x2a
ja 0x101690b9
mov eax, dword [edx + 0x2c]
jmp 0x101690d8
mov eax, dword [edx + 0x1c]
mov ecx, 0xffff
movzx eax, word [eax + 0x54]
cmp ax, cx
jne 0x101690cf
mov eax, dword [edx + 0x2c]
jmp 0x101690d8
lea ecx, [eax + eax*4]
mov eax, dword [edx + 0x28]
lea eax, [eax + ecx*8]
mov dword [esp + 0x18], eax
lea ecx, [esi + 0x2e20]
mov eax, dword [edx + 0x10]
mov dword [ecx + 0x10], eax
mov eax, dword [esi + 0x1974]
mov eax, dword [eax + 0x40]
mov dword [ecx + 0x40], eax
mov eax, dword [esi + 0x1974]
mov eax, dword [eax + 0x44]
mov dword [ecx + 0x44], eax
mov eax, dword [esi + 0x1974]
mov eax, dword [eax + 0x48]
mov dword [ecx + 0x48], eax
mov eax, dword [esi + 0x1974]
mov eax, dword [eax + 0x30]
mov dword [ecx + 0x30], eax
mov eax, dword [esp + 0x18]
mov dword [ecx + 0x2c], eax
mov eax, dword [eax + 4]
mov dword [ecx + 0xc], eax
call fcn.101505e0
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0xb0], 0
cmp dword [esi + 0x1c10], ecx
jne 0x1016952a
mov eax, dword [edi + 8]
mov ecx, dword [ebp + 0x14]
mov dword [esp + 0xb0], eax
mov eax, dword [ebp + 0xc]
mov dword [edi + 0x34], eax
mov eax, dword [ebp + 0x18]
mov dword [edi + 0xe74], eax
mov eax, dword [ebp + 0x1c]
mov dword [edi + 0xe78], eax
mov byte [edi + 0xe6e], 0
mov dword [edi + 0xe70], ecx
cmp byte [esi + 0x130], 0
mov dword [esi + 0x3168], 1
sete al
cmp byte [esp + 0x28], 0
mov byte [esi + 0x1c1d], al
movss xmm7, dword [esi + 0x128]
subss xmm7, dword [esp + 0xb4]
subss xmm7, dword [esi + 0x1598]
addss xmm7, dword [edi + 0x38]
je 0x101691cc
mov eax, dword [esp + 0x64]
movss xmm1, dword [esi + 0x12c]
subss xmm1, dword [eax + 0xd0]
jmp 0x101691dc
movss xmm1, dword [esi + 0x1978]
mulss xmm1, dword [0x101eb2c4]
cmp byte [esp + 0x30], 0
mov al, byte [esi + 0xf5]
mov byte [esp + 0x13], al
jne 0x1016935a
mov dl, byte [esp + 0x4a]
test dl, dl
je 0x10169209
test al, al
jne 0x10169273
cmp byte [esi + 0x425], al
jne 0x1016935a
cmp byte [esi + 0x420], 0
je 0x101692c8
cmp byte [edi + 0xe6d], 0
jne 0x101692c8
test dl, dl
je 0x10169379
cmp byte [edi + 0x53], 0
je 0x1016924a
push 0
mov edx, edi
lea ecx, [esp + 0xdc]
call fcn.101668f0
movss xmm1, dword [esp + 0xe4]
movaps xmm0, xmm7
mov ecx, edi
call fcn.10166c40
mov ecx, dword [ebp + 0x14]
mov dword [edi + 0x3c], eax
mov dword [edi + 0x40], eax
mov dword [edi + 0x44], eax
mov byte [edi + 0x52], 0
mov dword [edi + 0xe68], 0xbe99999a
jmp 0x10169375
cmp byte [esi + 0x425], 0
je 0x10169209
push 0x20000c
lea edx, [edi + 0x3c]
mov ecx, edi
call fcn.10167030
push 0x60000d
lea edx, [edi + 0x3c]
mov byte [edi + 0xe6c], 1
mov ecx, edi
mov dword [edi + 0xe68], 0xbe99999a
call fcn.10167030
mov esi, dword [esp + 0x14]
mov ecx, dword [ebp + 0x14]
mov byte [edi + 0xe6c], 1
mov dword [edi + 0xe68], 0xbe99999a
jmp 0x10169375
cmp byte [esi + 0x130], 0
je 0x10169379
cmp byte [edi + 0xe6d], 0
jne 0x10169382
movss xmm0, dword [esi + 0x3b8]
xorps xmm2, xmm2
ucomiss xmm0, xmm2
lahf
test ah, 0x44
jp 0x10169307
movss xmm0, dword [esi + 0x3bc]
ucomiss xmm0, xmm2
lahf
test ah, 0x44
jnp 0x10169379
cmp byte [edi + 0x53], 0
je 0x10169326
push 0
mov edx, edi
lea ecx, [esp + 0xdc]
call fcn.101668f0
movss xmm1, dword [esp + 0xe4]
mov eax, dword [edi + 0x40]
cmp eax, dword [edi + 0x44]
jne 0x10169334
mov eax, dword [edi + 0x3c]
mov dword [edi + 0x40], eax
movaps xmm0, xmm7
mov ecx, edi
call fcn.10166c40
mov ecx, dword [ebp + 0x14]
mov dword [edi + 0x44], eax
mov dword [edi + 0x3c], eax
mov dword [edi + 0xe68], 0xbe99999a
mov byte [edi + 0xe6c], 1
jmp 0x10169375
mov eax, dword [edi + 4]
mov dword [edi + 0x40], 0
mov dword [edi + 0x44], eax
mov dword [edi + 0x3c], eax
mov byte [edi + 0x52], 0
mov byte [edi + 0xe6d], 1
mov al, byte [esp + 0x13]
cmp byte [edi + 0xe6d], 0
je 0x10169392
cmp byte [esi + 0x130], 0
jne 0x10169392
mov byte [edi + 0xe6d], 0
cmp byte [esi + 0x140], 0
je 0x101693a4
cmp byte [esi + 0x142], 0
je 0x101693b1
test al, al
je 0x101693b5
cmp byte [esi + 0x143], 0
je 0x101693b5
mov dh, 1
jmp 0x101693b7
xor dh, dh
mov byte [esp + 0x1c], dh
test ecx, 0x400
je 0x1016945d
mov eax, dword [0x103d8bec]
mov ecx, dword [eax + 0x78]
test ecx, ecx
js 0x1016945d
mov dl, 1
call fcn.1014b6c0
test al, al
mov eax, dword [esp + 0x38]
je 0x10169461
test dh, dh
jne 0x10169461
cmp byte [esi + 0x141], dh
jne 0x10169461
test al, al
jne 0x10169461
mov ecx, dword [esi + 0x1558]
mov eax, dword [esi + 0x1550]
lea edx, [ecx + eax*2]
cmp ecx, edx
jae 0x10169420
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
cmp ax, 9
je 0x1016945d
cmp ecx, edx
jb 0x10169410
push dword [ebp + 0x1c]
mov edx, dword [ebp + 0x14]
lea ecx, [esp + 0x24]
push dword [ebp + 0x18]
mov dword [esp + 0x28], 9
call fcn.101682c0
test al, al
je 0x1016945d
push dword [esp + 0x20]
lea edx, [edi + 0x3c]
mov ecx, edi
call fcn.10167030
mov byte [edi + 0xe6c], 1
mov dword [edi + 0xe68], 0xbe99999a
mov eax, dword [esp + 0x38]
cmp dword [esi + 0x1550], 0
jle 0x1016952a
cmp byte [esp + 0x1c], 0
jne 0x101694f2
test al, al
jne 0x101694f2
cmp byte [esp + 0x12], al
jne 0x101694f2
mov ecx, dword [esp + 0x14]
xor esi, esi
nop word [eax + eax]
mov eax, dword [ecx + 0x1558]
movzx eax, word [eax + esi*2]
mov dword [esp + 0x20], eax
cmp eax, 9
jne 0x101694ac
cmp byte [ecx + 0x141], 0
jne 0x101694e5
push dword [ebp + 0x1c]
mov edx, dword [ebp + 0x14]
lea ecx, [esp + 0x24]
push dword [ebp + 0x18]
call fcn.101682c0
test al, al
je 0x101694e1
push dword [esp + 0x20]
lea edx, [edi + 0x3c]
mov ecx, edi
call fcn.10167030
mov byte [edi + 0xe6c], 1
mov dword [edi + 0xe68], 0xbe99999a
mov ecx, dword [esp + 0x14]
inc esi
cmp esi, dword [ecx + 0x1550]
jl 0x10169490
mov esi, dword [esp + 0x14]
mov ecx, dword [esi + 0x1554]
lea eax, [esi + 0x1550]
test ecx, ecx
jns 0x10169524
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
xor ecx, ecx
test eax, eax
cmovg ecx, eax
push ecx
lea ecx, [esi + 0x1550]
call fcn.10157110
lea eax, [esi + 0x1550]
mov dword [eax], 0
mov eax, dword [esp + 0x2c]
xor cl, cl
mov byte [esp + 0x12], cl
cmp dword [esi + 0x1c10], eax
jne 0x1016a723
cmp byte [esi + 0x1c1c], cl
jne 0x10169fee
cmp byte [esp + 0x3f], cl
jne 0x10169fee
movss xmm0, dword [esp + 0x74]
subss xmm0, dword [esi + 0x159c]
mov ecx, dword [esp + 0x24]
divss xmm0, dword [esi + 0x1978]
cvttss2si eax, xmm0
cmp eax, 1
cmovge ecx, eax
mov eax, dword [esp + 0x14]
mov dword [edi + 0x4c], ecx
xor esi, esi
mov dword [esp + 0x24], ecx
mov ecx, 0x400000
cmp byte [eax + 0x141], 0
cmovne esi, ecx
mov cl, byte [eax + 0xf5]
mov byte [esp + 0x8f], cl
test cl, cl
je 0x101695b7
cmp dword [eax + 0x3c0], 0xa
jne 0x101695b7
mov byte [esp + 0x34], 1
jmp 0x101695c0
mov byte [esp + 0x34], 0
test cl, cl
je 0x101695e7
cmp byte [eax + 0x143], 0
mov cl, byte [eax + 0x142]
mov byte [esp + 0x1d], cl
je 0x101695f6
cmp byte [eax + 0x140], 0
jne 0x101695f6
test cl, cl
jne 0x101695f6
mov byte [esp + 0x13], 1
jmp 0x101695fb
mov cl, byte [eax + 0x140]
mov byte [esp + 0x1d], cl
mov byte [esp + 0x34], 0
mov byte [esp + 0x13], 0
cmp byte [eax + 0xf5], 0
mov edx, dword [eax + 0x3c0]
mov dword [esp + 0x18], edx
je 0x10169613
cmp edx, 8
jmp 0x10169616
cmp edx, 1
sete al
mov byte [esp + 0x35], al
test al, al
mov eax, dword [0x103d8bec]
je 0x10169644
mov ecx, dword [eax + 0xc4]
test ecx, ecx
js 0x10169644
mov dl, 1
call fcn.1014b6c0
test al, al
jne 0x1016965e
mov eax, dword [0x103d8bec]
mov edx, dword [esp + 0x18]
cmp edx, 2
jne 0x10169685
mov ecx, dword [eax + 0xa0]
test ecx, ecx
js 0x10169685
mov dl, 1
call fcn.1014b6c0
test al, al
je 0x10169685
cmp byte [esp + 0x38], 0
jne 0x10169685
cmp byte [esp + 0xac], 0
jne 0x10169685
cmp byte [esp + 0x28], 0
je 0x1016967e
mov eax, dword [edi + 0x40]
cmp eax, dword [edi + 0x44]
je 0x10169685
mov byte [esp + 0x1c], 1
jmp 0x1016968a
mov byte [esp + 0x1c], 0
mov dh, byte [esp + 0x35]
mov eax, dword [0x103d8bec]
test dh, dh
je 0x101696b1
mov ecx, dword [eax + 0xbc]
test ecx, ecx
js 0x101696b1
mov dl, 1
call fcn.1014b6c0
test al, al
jne 0x101696cd
mov eax, dword [0x103d8bec]
cmp dword [esp + 0x18], 1
jne 0x101696f0
mov ecx, dword [eax + 0x9c]
test ecx, ecx
js 0x101696f0
mov dl, 1
call fcn.1014b6c0
test al, al
je 0x101696f0
cmp byte [esp + 0xac], 0
jne 0x101696f0
cmp byte [esp + 0x28], 0
je 0x101696e6
mov eax, dword [edi + 0x40]
cmp eax, dword [edi + 0x44]
je 0x101696f0
mov byte [esp + 0x86], 1
jmp 0x101696f8
mov byte [esp + 0x86], 0
mov eax, dword [0x103d8bec]
test dh, dh
je 0x1016971b
mov ecx, dword [eax + 0xc0]
test ecx, ecx
js 0x1016971b
mov dl, 1
call fcn.1014b6c0
test al, al
jne 0x10169737
mov eax, dword [0x103d8bec]
cmp dword [esp + 0x18], 2
jne 0x10169746
mov ecx, dword [eax + 0x9c]
test ecx, ecx
js 0x10169746
mov dl, 1
call fcn.1014b6c0
test al, al
je 0x10169746
cmp byte [esp + 0x38], 0
mov byte [esp + 0x87], 1
je 0x1016974e
mov byte [esp + 0x87], 0
test dh, dh
je 0x10169783
mov eax, dword [0x103d8bec]
mov ecx, dword [eax + 0xcc]
test ecx, ecx
js 0x10169783
mov dl, 1
call fcn.1014b6c0
test al, al
je 0x10169783
cmp byte [esp + 0x38], 0
jne 0x10169783
cmp byte [esp + 0xc4], 0
je 0x10169783
mov byte [esp + 0x5b], dl
jmp 0x1016978c
mov byte [esp + 0x5b], 0
test dh, dh
je 0x101697a6
mov eax, dword [0x103d8bec]
mov ecx, dword [eax + 0xc8]
test ecx, ecx
js 0x101697ab
mov dl, 1
call fcn.1014b6c0
test al, al
jne 0x101697c7
mov eax, dword [0x103d8bec]
cmp byte [esp + 0x34], 0
je 0x101697dc
mov ecx, dword [eax + 0xcc]
test ecx, ecx
js 0x101697dc
mov dl, 1
call fcn.1014b6c0
test al, al
je 0x101697dc
cmp byte [esp + 0x38], 0
jne 0x101697dc
cmp byte [esp + 0xc4], 0
je 0x101697dc
mov dh, 1
jmp 0x101697de
xor dh, dh
mov eax, dword [0x103d8bec]
mov ecx, dword [eax + 0x7c]
test ecx, ecx
js 0x1016983c
mov dl, 1
call fcn.1014b6c0
test al, al
je 0x10169837
cmp byte [esp + 0x13], 0
je 0x10169813
mov eax, 0x200004
lea edx, [edi + 0x3c]
or eax, esi
mov ecx, edi
push eax
call fcn.10167030
jmp 0x10169fb5
cmp byte [esp + 0x1d], 0
lea edx, [edi + 0x3c]
mov ecx, 0x20000c
mov eax, 0x200000
cmovne eax, ecx
mov ecx, edi
or eax, esi
push eax
call fcn.10167030
jmp 0x10169fb5
mov eax, dword [0x103d8bec]
mov ecx, dword [eax + 0x80]
test ecx, ecx
js 0x10169898
mov dl, 1
call fcn.1014b6c0
test al, al
je 0x10169893
cmp byte [esp + 0x13], 0
je 0x1016986f
mov eax, 0x200005
lea edx, [edi + 0x3c]
or eax, esi
mov ecx, edi
push eax
call fcn.10167030
jmp 0x10169fb5
cmp byte [esp + 0x1d], 0
lea edx, [edi + 0x3c]
mov ecx, 0x20000d
mov eax, 0x200001
cmovne eax, ecx
mov ecx, edi
or eax, esi
push eax
call fcn.10167030
jmp 0x10169fb5
mov eax, dword [0x103d8bec]
mov ecx, dword [eax + 0x84]
test ecx, ecx
js 0x10169916
mov dl, 1
call fcn.1014b6c0
test al, al
je 0x10169911
cmp byte [esp + 0x28], 0
je 0x10169911
mov eax, dword [esp + 0x14]
cmp byte [eax + 0x140], 0
je 0x101698f3
mov edx, dword [esp + 0x64]
mov esi, eax
xorps xmm1, xmm1
movss xmm0, dword [edx + 0x5c]
subss xmm0, dword [esi + 0x1978]
mov dword [edx + 0x74], 0
mov dword [edx + 0x7c], 0
maxss xmm0, xmm1
movss dword [edx + 0x6c], xmm0
jmp 0x10169fca
movzx eax, byte [esp + 0x13]
lea edx, [edi + 0x3c]
mov ecx, edi
lea eax, [eax*4 + 0x200002]
or eax, esi
push eax
call fcn.10167030
jmp 0x10169fb5
mov eax, dword [0x103d8bec]
mov ecx, dword [eax + 0x88]
test ecx, ecx
js 0x1016999d
mov dl, 1
call fcn.1014b6c0
test al, al
je 0x10169998
cmp byte [esp + 0x28], 0
je 0x10169998
mov eax, dword [esp + 0x14]
cmp byte [eax + 0x140], 0
je 0x1016997a
mov ecx, dword [esp + 0x64]
mov esi, eax
mov eax, dword [0x103d8bec]
movss xmm0, dword [esi + 0x1978]
mov eax, dword [eax + 0x1bdc]
addss xmm0, dword [ecx + 0x5c]
minss xmm0, dword [eax + 0x64]
mov dword [ecx + 0x74], 0
mov dword [ecx + 0x7c], 0
movss dword [ecx + 0x6c], xmm0
jmp 0x10169fca
movzx eax, byte [esp + 0x13]
lea edx, [edi + 0x3c]
mov ecx, edi
lea eax, [eax*4 + 0x200003]
or eax, esi
push eax
call fcn.10167030
jmp 0x10169fb5
mov eax, dword [0x103d8bec]
mov ecx, dword [eax + 0x8c]
test ecx, ecx
js 0x10169a0a
mov dl, 1
call fcn.1014b6c0
test al, al
je 0x10169a05
cmp byte [esp + 0x28], 0
je 0x10169a05
or esi, 0x20000e
lea edx, [edi + 0x3c]
push esi
mov ecx, edi
call fcn.10167030
movd xmm0, dword [esp + 0x24]
mov esi, dword [esp + 0x14]
movss xmm1, dword [esp + 0x68]
cvtdq2ps xmm0, xmm0
mov byte [edi + 0xe6c], 1
mov dword [edi + 0xe68], 0xbe99999a
mulss xmm0, dword [esi + 0x1978]
subss xmm1, xmm0
movss dword [esp + 0x68], xmm1
jmp 0x10169fca
mov eax, dword [0x103d8bec]
mov ecx, dword [eax + 0x90]
test ecx, ecx
js 0x10169a73
mov dl, 1
call fcn.1014b6c0
test al, al
je 0x10169a6e
cmp byte [esp + 0x28], 0
je 0x10169a6e
or esi, 0x20000f
lea edx, [edi + 0x3c]
push esi
mov ecx, edi
call fcn.10167030
movd xmm0, dword [esp + 0x24]
mov esi, dword [esp + 0x14]
cvtdq2ps xmm0, xmm0
mov byte [edi + 0xe6c], 1
mov dword [edi + 0xe68], 0xbe99999a
mulss xmm0, dword [esi + 0x1978]
addss xmm0, dword [esp + 0x68]
movss dword [esp + 0x68], xmm0
jmp 0x10169fca
mov eax, dword [0x103d8bec]
mov ecx, dword [eax + 0x94]
test ecx, ecx
js 0x10169ab8
mov dl, 1
call fcn.1014b6c0
test al, al
je 0x10169ab3
mov ecx, dword [esp + 0x14]
lea edx, [edi + 0x3c]
mov eax, esi
or esi, 0x200004
or eax, 0x200006
cmp byte [ecx + 0x140], 0
mov ecx, edi
cmovne esi, eax
push esi
call fcn.10167030
jmp 0x10169fb5
mov eax, dword [0x103d8bec]
mov ecx, dword [eax + 0x98]
test ecx, ecx
js 0x10169afd
mov dl, 1
call fcn.1014b6c0
test al, al
je 0x10169af8
mov ecx, dword [esp + 0x14]
lea edx, [edi + 0x3c]
mov eax, esi
or esi, 0x200005
or eax, 0x200007
cmp byte [ecx + 0x140], 0
mov ecx, edi
cmovne esi, eax
push esi
call fcn.10167030
jmp 0x10169fb5
mov eax, dword [0x103d8bec]
mov ecx, dword [eax + 0xa0]
test ecx, ecx
js 0x10169b34
mov dl, 1
call fcn.1014b6c0
test al, al
je 0x10169b2f
cmp byte [esp + 0x38], 0
jne 0x10169b2f
or esi, 0x200008
lea edx, [edi + 0x3c]
push esi
mov ecx, edi
call fcn.10167030
jmp 0x10169fb5
mov eax, dword [0x103d8bec]
mov ecx, dword [eax + 0xa4]
test ecx, ecx
js 0x10169bc9
mov dl, 1
call fcn.1014b6c0
test al, al
je 0x10169bc9
cmp byte [esp + 0x38], 0
jne 0x10169bc9
mov eax, dword [edi + 0x40]
cmp eax, dword [edi + 0x44]
jne 0x10169bb3
cmp byte [esp + 0x1d], 0
je 0x10169b6a
push 0x60000c
jmp 0x10169b98
cmp byte [esp + 0x8f], 0
je 0x10169bb3
mov eax, dword [esp + 0x14]
cmp byte [eax + 0x143], 0
je 0x10169bb3
cmp byte [eax + 0x142], 0
jne 0x10169bb3
cmp byte [eax + 0x140], 0
jne 0x10169bb3
push 0x600004
lea edx, [edi + 0x3c]
mov ecx, edi
call fcn.10167030
mov dword [edi + 0xe68], 0xbe99999a
mov byte [edi + 0xe6c], 1
or esi, 0x200009
lea edx, [edi + 0x3c]
push esi
mov ecx, edi
call fcn.10167030
jmp 0x10169fb5
mov esi, dword [0x103d8bec]
mov ecx, dword [esi + 0xac]
test ecx, ecx
js 0x10169be4
mov dl, 1
call fcn.1014b6c0
test al, al
jne 0x10169c01
mov ecx, dword [esi + 0xb4]
test ecx, ecx
js 0x10169c85
mov dl, 1
call fcn.1014b6c0
test al, al
je 0x10169c85
mov edx, dword [ebp + 0x14]
mov eax, edx
mov esi, dword [esp + 0x14]
shr eax, 0xb
and al, 1
cmp byte [esp + 0x28], 0
je 0x10169c24
mov cl, byte [esi + 0x140]
test al, al
je 0x10169c33
test cl, cl
jne 0x10169c37
mov byte [esp + 0x3f], 1
mov byte [esp + 0x36], 1
jmp 0x10169fca
test cl, cl
jne 0x10169c24
cmp byte [esp + 0x38], 0
jne 0x10169fca
push dword [ebp + 0x1c]
lea ecx, [esp + 0x24]
mov dword [esp + 0x24], 0xa
push dword [ebp + 0x18]
call fcn.101682c0
test al, al
je 0x10169fca
push dword [esp + 0x20]
lea edx, [edi + 0x3c]
mov ecx, edi
call fcn.10167030
mov byte [edi + 0xe6c], 1
mov dword [edi + 0xe68], 0xbe99999a
jmp 0x10169fca
mov ecx, dword [esi + 0xb0]
test ecx, ecx
js 0x10169ca9
mov dl, 1
call fcn.1014b6c0
test al, al
je 0x10169ca9
mov esi, dword [esp + 0x14]
mov cl, dl
mov byte [esp + 0x3f], cl
jmp 0x10169fce
mov al, byte [esp + 0x5b]
test al, al
jne 0x10169f96
test dh, dh
jne 0x10169f96
cmp byte [esp + 0x35], dh
je 0x10169cf0
mov ecx, dword [esi + 0xb8]
test ecx, ecx
js 0x10169cf0
mov dl, 1
call fcn.1014b6c0
test al, al
je 0x10169cf0
mov eax, dword [edi + 4]
mov dword [edi + 0x40], 0
mov dword [edi + 0x44], eax
mov dword [edi + 0x3c], eax
mov byte [edi + 0x52], dh
jmp 0x10169fbf
cmp byte [esp + 0x1c], 0
jne 0x10169e95
cmp byte [esp + 0x86], 0
jne 0x10169e95
cmp byte [esp + 0x87], 0
je 0x10169fc6
mov eax, dword [esi + 0x114]
test eax, eax
je 0x10169d34
mov ecx, dword [esi + 0x11c]
call eax
mov esi, eax
test esi, esi
jne 0x10169d39
jmp 0x10169fc6
mov esi, 0x101c448e
mov ecx, esi
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10169d40
mov eax, dword [0x103d8bec]
sub ecx, edx
test eax, eax
je 0x10169d58
inc dword [eax + 0x3b4]
lea eax, [ecx*2 + 2]
push eax
call fcn.1019bb45
mov ecx, eax
add esp, 4
xor eax, eax
mov dword [esp + 0xa4], ecx
mov dword [esp + 0x30], eax
cmp byte [esi], al
je 0x10169dd5
xor edi, edi
nop dword [eax]
push 0
mov edx, esi
lea ecx, [esp + 0x1c]
call fcn.10145040
add esi, eax
cmp dword [esp + 0x18], 0
je 0x10169dc2
push dword [ebp + 0x1c]
mov edx, dword [ebp + 0x14]
lea ecx, [esp + 0x1c]
push dword [ebp + 0x18]
call fcn.101682c0
test al, al
je 0x10169dbd
mov ecx, dword [esp + 0xa4]
mov ax, word [esp + 0x18]
mov word [ecx + edi*2], ax
inc edi
cmp byte [esi], 0
jne 0x10169d80
mov ecx, dword [esp + 0xa4]
mov dword [esp + 0x30], edi
mov edi, dword [esp + 0x4c]
mov eax, dword [esp + 0x30]
xor edx, edx
mov word [ecx + eax*2], dx
test eax, eax
jle 0x10169e74
mov edx, dword [edi + 0x44]
mov ecx, dword [edi + 0x40]
mov eax, dword [edi + 4]
cmp ecx, edx
je 0x10169e09
cmp ecx, eax
jle 0x10169df9
mov dword [edi + 0x40], eax
mov ecx, eax
cmp edx, eax
jle 0x10169e02
mov dword [edi + 0x44], eax
mov edx, eax
cmp ecx, edx
jne 0x10169e09
mov dword [edi + 0x3c], ecx
cmp dword [edi + 0x3c], eax
jle 0x10169e11
mov dword [edi + 0x3c], eax
lea edx, [edi + 0x3c]
mov ecx, edi
call fcn.10166fb0
push dword [esp + 0x30]
mov edx, dword [edi + 0x3c]
mov ecx, edi
push dword [esp + 0xa8]
call fcn.10166ae0
test al, al
je 0x10169e52
push dword [esp + 0x30]
mov edx, dword [edi + 0x3c]
lea ecx, [edi + 0x5c]
push 0
call fcn.10167fc0
mov eax, dword [esp + 0x30]
add dword [edi + 0x3c], eax
mov byte [edi + 0x52], 0
jmp 0x10169e66
movzx eax, word [edi + 0xe5a]
test ax, ax
je 0x10169e66
dec eax
mov word [edi + 0xe5a], ax
mov ecx, dword [esp + 0xa4]
mov byte [edi + 0xe6c], 1
test ecx, ecx
je 0x10169e87
mov eax, dword [0x103d8bec]
test eax, eax
je 0x10169e87
dec dword [eax + 0x3b4]
push ecx
call fcn.1019ac09
add esp, 4
jmp 0x10169fc6
mov eax, dword [esp + 0x14]
cmp dword [eax + 0x118], 0
je 0x10169f54
mov ecx, dword [edi + 0x44]
mov eax, dword [edi + 0x40]
cmp eax, ecx
je 0x10169ebe
mov edx, ecx
cmovge ecx, eax
cmovl edx, eax
mov dword [esp + 0x18], edx
jmp 0x10169ec9
mov ecx, dword [edi + 4]
mov dword [esp + 0x18], 0
mov eax, dword [edi + 0x14]
mov dword [esp + 0x20], ecx
lea edx, [eax + ecx*2]
mov ecx, dword [esp + 0x18]
lea ecx, [eax + ecx*2]
call fcn.10145270
inc eax
mov dword [esp + 0x40], eax
test esi, esi
je 0x10169eee
inc dword [esi + 0x3b4]
push eax
call fcn.1019bb45
mov esi, dword [edi + 0x14]
add esp, 4
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x40]
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x18]
lea ecx, [esi + ecx*2]
push ecx
lea ecx, [esi + eax*2]
mov esi, dword [esp + 0x64]
push ecx
mov ecx, esi
call fcn.101451b0
mov ecx, dword [0x103d8bec]
mov eax, dword [ecx + 0x118]
test eax, eax
je 0x10169f3d
mov ecx, dword [ecx + 0x11c]
mov edx, esi
call eax
mov ecx, dword [0x103d8bec]
test esi, esi
je 0x10169f4b
test ecx, ecx
je 0x10169f4b
dec dword [ecx + 0x3b4]
push esi
call fcn.1019ac09
add esp, 4
cmp byte [esp + 0x1c], 0
je 0x10169fc6
mov eax, dword [edi + 0x40]
cmp eax, dword [edi + 0x44]
jne 0x10169f77
mov eax, dword [edi + 4]
mov dword [edi + 0x40], 0
mov dword [edi + 0x44], eax
mov dword [edi + 0x3c], eax
mov byte [edi + 0x52], 0
mov byte [edi + 0xe6c], 1
mov eax, dword [edi + 0x40]
cmp eax, dword [edi + 0x44]
je 0x10169fc6
lea edx, [edi + 0x3c]
mov ecx, edi
call fcn.10166fb0
mov byte [edi + 0x52], 0
jmp 0x10169fc6
movzx eax, al
lea edx, [edi + 0x3c]
xor eax, 1
mov ecx, edi
add eax, 0x20000a
push eax
call fcn.10167030
mov eax, dword [edi + 0x3c]
mov dword [edi + 0x44], eax
mov dword [edi + 0x40], eax
mov dword [edi + 0xe68], 0xbe99999a
mov byte [edi + 0xe6c], 1
mov esi, dword [esp + 0x14]
mov cl, byte [esp + 0x12]
mov eax, dword [edi + 0x40]
cmp eax, dword [edi + 0x44]
je 0x10169fe1
cmp byte [esp + 0x1f], 0
je 0x10169fe1
mov al, 1
jmp 0x10169fe3
xor al, al
or byte [esp + 0xa8], al
mov eax, dword [esp + 0x2c]
cmp dword [esi + 0x1c10], eax
jne 0x1016a723
mov dword [esp + 0x54], 0
mov dword [esp + 0x24], 0
test cl, cl
je 0x1016a203
cmp byte [esp + 0x38], 0
jne 0x1016a1ed
mov esi, dword [edi + 0x2c]
mov ecx, esi
mov eax, dword [ebp + 8]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x1016a045
test dl, dl
je 0x1016a041
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x1016a045
add eax, 2
add ecx, 2
test dl, dl
jne 0x1016a025
xor eax, eax
jmp 0x1016a04a
sbb eax, eax
or eax, 1
test eax, eax
je 0x1016a1ed
mov eax, dword [edi + 0x24]
xor edx, edx
dec eax
mov dword [esp + 0x30], edx
mov dword [esp + 0x24], eax
mov ecx, esi
mov dword [esp + 0x54], ecx
test eax, eax
jle 0x1016a163
lea edi, [eax + ecx]
xor eax, eax
mov dword [esp + 0x18], eax
test edi, edi
je 0x1016a07f
cmp esi, edi
jae 0x1016a0a0
cmp byte [esi], 0
je 0x1016a0a0
push edi
mov edx, esi
lea ecx, [esp + 0x44]
call fcn.10145040
add esi, eax
cmp dword [esp + 0x40], 0
mov eax, dword [esp + 0x18]
je 0x1016a0a0
inc eax
jmp 0x1016a073
lea edx, [eax + 1]
mov dword [esp + 0x90], edx
test edx, edx
jle 0x1016a0e4
mov eax, 8
mov ecx, edx
cmp edx, eax
cmovl ecx, eax
test ecx, ecx
jle 0x1016a0e4
mov eax, dword [0x103d8bec]
test eax, eax
je 0x1016a0cd
inc dword [eax + 0x3b4]
lea eax, [ecx + ecx]
push eax
call fcn.1019bb45
mov edx, dword [esp + 0x94]
add esp, 4
mov dword [esp + 0x30], eax
mov ecx, dword [esp + 0x24]
mov esi, dword [esp + 0x54]
add ecx, esi
mov edi, dword [esp + 0x4c]
mov dword [esp + 0x20], ecx
mov ecx, dword [esp + 0x30]
mov eax, ecx
mov dword [esp + 0x18], eax
lea ecx, [ecx + edx*2]
add ecx, 0xfffffffe
cmp eax, ecx
jae 0x1016a15e
mov edi, dword [esp + 0x20]
nop
test edi, edi
je 0x1016a118
cmp esi, edi
jae 0x1016a15a
cmp byte [esi], 0
je 0x1016a15a
push edi
mov edx, esi
lea ecx, [esp + 0x44]
call fcn.10145040
mov ecx, dword [esp + 0x40]
add esi, eax
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x90]
test ecx, ecx
je 0x1016a15a
mov edi, dword [esp + 0x20]
mov word [eax], cx
add eax, 2
mov ecx, dword [esp + 0x30]
add ecx, 0xfffffffe
mov dword [esp + 0x18], eax
lea ecx, [ecx + edx*2]
cmp eax, ecx
jb 0x1016a110
mov edi, dword [esp + 0x4c]
xor ecx, ecx
mov word [eax], cx
mov esi, dword [edi + 4]
lea eax, [edx - 1]
xor ecx, ecx
cmp dword [esp + 0x24], ecx
cmovle eax, ecx
lea ecx, [edi + 0x5c]
push eax
push esi
xor edx, edx
mov dword [esp + 0x48], eax
call fcn.10167fc0
mov edx, eax
test edx, edx
je 0x1016a1a0
xor ecx, ecx
test esi, esi
jle 0x1016a1a0
nop
mov eax, dword [edi + 0x14]
mov ax, word [eax + ecx*2]
mov word [edx + ecx*2], ax
inc ecx
cmp ecx, esi
jl 0x1016a190
push dword [edi + 4]
xor edx, edx
mov ecx, edi
call fcn.10166a70
mov esi, dword [esp + 0x40]
test esi, esi
jle 0x1016a1cd
push esi
push dword [esp + 0x34]
xor edx, edx
mov ecx, edi
call fcn.10166ae0
test al, al
je 0x1016a1cd
mov dword [edi + 0x3c], esi
mov byte [edi + 0x52], 0
mov ecx, dword [esp + 0x30]
test ecx, ecx
je 0x1016a1ed
mov eax, dword [0x103d8bec]
test eax, eax
je 0x1016a1e4
dec dword [eax + 0x3b4]
push ecx
call fcn.1019ac09
add esp, 4
cmp byte [esp + 0x36], 0
mov eax, dword [ebp + 0x14]
je 0x1016a628
test al, 0x20
je 0x1016a628
cmp byte [esp + 0x38], 0
jne 0x1016a260
mov eax, dword [edi + 0xc]
lea ecx, [edi + 0x18]
mov byte [edi + 0x30], 1
lea esi, [eax*4 + 1]
mov eax, dword [ecx + 4]
cmp esi, eax
jle 0x1016a24f
test eax, eax
je 0x1016a235
cdq
sub eax, edx
lea edx, [edi + 0x18]
mov ecx, eax
sar ecx, 1
add ecx, dword [edx + 4]
jmp 0x1016a23d
mov ecx, 8
lea edx, [edi + 0x18]
cmp ecx, esi
mov eax, esi
cmovg eax, ecx
mov ecx, edx
push eax
call fcn.100b7b10
lea ecx, [edi + 0x18]
mov dword [ecx], esi
mov edx, esi
mov ecx, dword [edi + 0x20]
push 0
push dword [edi + 0x14]
call fcn.101451b0
mov edx, dword [ebp + 0x14]
test edx, 0x801c0
je 0x1016a5e0
mov esi, dword [0x103d8bec]
test dl, 0x40
je 0x1016a298
mov ecx, dword [esi + 0x78]
test ecx, ecx
js 0x1016a298
mov dl, 1
call fcn.1014b6c0
mov edx, dword [ebp + 0x14]
test al, al
je 0x1016a298
mov eax, 0x40
xor ecx, ecx
jmp 0x1016a310
test dl, dl
jns 0x1016a2e0
mov ecx, dword [esi + 0x84]
test ecx, ecx
js 0x1016a2be
mov dl, 1
call fcn.1014b6c0
mov edx, dword [ebp + 0x14]
test al, al
je 0x1016a2be
mov eax, 0x80
lea ecx, [eax - 0x7d]
jmp 0x1016a310
mov ecx, dword [esi + 0x88]
test ecx, ecx
js 0x1016a2e0
mov dl, 1
call fcn.1014b6c0
mov edx, dword [ebp + 0x14]
test al, al
je 0x1016a2e0
mov eax, 0x80
lea ecx, [eax - 0x7c]
jmp 0x1016a310
test edx, 0x80000
je 0x1016a2f8
cmp byte [edi + 0xe6e], 0
je 0x1016a2f8
mov eax, 0x80000
jmp 0x1016a30b
test edx, 0x100
mov ecx, 0x100
mov eax, 0
cmovne eax, ecx
mov ecx, 0x16
test eax, eax
je 0x1016a5e0
mov dword [esp + 0xf0], eax
xor esi, esi
mov eax, dword [ebp + 0x1c]
mov dword [esp + 0xf8], eax
mov eax, dword [edi + 0x20]
mov dword [esp + 0x104], eax
mov eax, dword [edi + 8]
mov dword [esp + 0x108], eax
mov eax, dword [edi + 0x34]
mov word [esp + 0x111], si
mov esi, dword [edi + 0x14]
mov dword [esp + 0x10c], eax
mov eax, dword [edi + 0x3c]
mov dword [esp + 0xf4], edx
mov dword [esp + 0x100], ecx
mov ecx, esi
mov dword [esp + 0xfc], 0
lea edx, [esi + eax*2]
mov byte [esp + 0x113], 0
mov byte [esp + 0x110], 0
call fcn.10145270
mov edx, dword [esp + 0x4c]
mov edi, eax
mov ecx, esi
mov dword [esp + 0x114], edi
mov edx, dword [edx + 0x40]
lea edx, [esi + edx*2]
call fcn.10145270
mov dword [esp + 0x60], eax
mov ecx, esi
mov dword [esp + 0x118], eax
mov eax, dword [esp + 0x4c]
mov edx, dword [eax + 0x44]
lea edx, [esi + edx*2]
call fcn.10145270
lea ecx, [esp + 0xf0]
mov dword [esp + 0x20], eax
mov dword [esp + 0x11c], eax
call dword [ebp + 0x18]
mov al, byte [esp + 0x110]
mov edx, dword [esp + 0x114]
mov byte [esp + 0x1c], al
cmp edx, edi
jne 0x1016a3ef
test al, al
je 0x1016a443
mov esi, dword [esp + 0x104]
xor eax, eax
lea edi, [edx + esi]
mov dword [esp + 0x18], eax
test edi, edi
je 0x1016a407
cmp esi, edi
jae 0x1016a428
cmp byte [esi], 0
je 0x1016a428
push edi
mov edx, esi
lea ecx, [esp + 0x44]
call fcn.10145040
add esi, eax
cmp dword [esp + 0x40], 0
mov eax, dword [esp + 0x18]
je 0x1016a428
inc eax
jmp 0x1016a3fb
mov edi, dword [esp + 0x4c]
mov edx, dword [esp + 0x114]
mov dword [edi + 0x3c], eax
mov al, byte [esp + 0x1c]
mov byte [edi + 0xe6c], 1
jmp 0x1016a447
mov edi, dword [esp + 0x4c]
mov ecx, dword [esp + 0x118]
cmp ecx, dword [esp + 0x60]
jne 0x1016a458
test al, al
je 0x1016a4a8
cmp ecx, edx
jne 0x1016a461
mov eax, dword [edi + 0x3c]
jmp 0x1016a4a5
mov esi, dword [esp + 0x104]
xor eax, eax
lea edi, [ecx + esi]
mov dword [esp + 0x18], eax
test edi, edi
je 0x1016a479
cmp esi, edi
jae 0x1016a49a
cmp byte [esi], 0
je 0x1016a49a
push edi
mov edx, esi
lea ecx, [esp + 0x44]
call fcn.10145040
add esi, eax
cmp dword [esp + 0x40], 0
mov eax, dword [esp + 0x18]
je 0x1016a49a
inc eax
jmp 0x1016a46d
mov ecx, dword [esp + 0x118]
mov edi, dword [esp + 0x4c]
mov dword [edi + 0x40], eax
mov eax, dword [esp + 0x11c]
cmp eax, dword [esp + 0x20]
jne 0x1016a4c0
cmp byte [esp + 0x1c], 0
je 0x1016a5e0
cmp eax, ecx
jne 0x1016a4c9
mov eax, dword [edi + 0x40]
jmp 0x1016a506
mov esi, dword [esp + 0x104]
lea edi, [eax + esi]
xor eax, eax
mov dword [esp + 0x18], eax
test edi, edi
je 0x1016a4e1
cmp esi, edi
jae 0x1016a502
cmp byte [esi], 0
je 0x1016a502
push edi
mov edx, esi
lea ecx, [esp + 0x44]
call fcn.10145040
add esi, eax
cmp dword [esp + 0x40], 0
mov eax, dword [esp + 0x18]
je 0x1016a502
inc eax
jmp 0x1016a4d5
mov edi, dword [esp + 0x4c]
cmp byte [esp + 0x1c], 0
mov dword [edi + 0x44], eax
je 0x1016a5e0
mov esi, dword [esp + 0x108]
mov ecx, dword [esp + 0xb0]
cmp esi, ecx
jle 0x1016a566
cmp byte [esp + 0x50], 0
je 0x1016a566
mov eax, dword [edi + 0x10]
sub esi, ecx
add esi, dword [edi + 0xc]
cmp esi, eax
jle 0x1016a563
test eax, eax
je 0x1016a54c
cdq
sub eax, edx
lea edx, [edi + 0xc]
mov ecx, eax
sar ecx, 1
add ecx, dword [edx + 4]
jmp 0x1016a554
mov ecx, 8
lea edx, [edi + 0xc]
cmp ecx, esi
mov eax, esi
cmovg eax, ecx
mov ecx, edx
push eax
call fcn.10157110
mov dword [edi + 0xc], esi
mov eax, dword [esp + 0x104]
mov ecx, dword [edi + 0x14]
mov esi, ecx
mov dword [esp + 0x40], eax
mov eax, dword [edi + 0xc]
dec eax
mov dword [esp + 0x20], ecx
lea eax, [ecx + eax*2]
mov dword [esp + 0x60], eax
cmp ecx, eax
jae 0x1016a5c0
mov edi, dword [esp + 0x40]
nop dword [eax]
cmp byte [edi], 0
je 0x1016a5b8
push 0
mov edx, edi
lea ecx, [esp + 0x44]
call fcn.10145040
add edi, eax
mov eax, dword [esp + 0x40]
test eax, eax
je 0x1016a5b8
mov word [esi], ax
add esi, 2
cmp esi, dword [esp + 0x60]
jb 0x1016a590
mov edi, dword [esp + 0x4c]
mov ecx, dword [esp + 0x20]
xor eax, eax
mov word [esi], ax
sub esi, ecx
mov eax, dword [esp + 0x108]
sar esi, 1
mov dword [edi + 4], esi
mov dword [edi + 8], eax
mov dword [edi + 0xe68], 0xbe99999a
cmp byte [esp + 0x38], 0
jne 0x1016a625
mov esi, dword [edi + 0x20]
mov eax, esi
mov ecx, dword [ebp + 8]
nop
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x1016a610
test dl, dl
je 0x1016a60c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x1016a610
add eax, 2
add ecx, 2
test dl, dl
jne 0x1016a5f0
xor eax, eax
jmp 0x1016a615
sbb eax, eax
or eax, 1
test eax, eax
mov eax, dword [ebp + 0x14]
je 0x1016a628
mov ecx, dword [edi + 8]
mov dword [esp + 0x54], esi
jmp 0x1016a62c
mov eax, dword [ebp + 0x14]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x54]
test edx, edx
je 0x1016a701
cmp byte [esp + 0x50], 0
je 0x1016a6d2
mov dword [esp + 0x124], eax
xorps xmm0, xmm0
mov eax, dword [ebp + 8]
mov dword [esp + 0x134], eax
lea eax, [ecx + 1]
cmp dword [ebp + 0xc], eax
mov dword [esp + 0x138], ecx
lea ecx, [esp + 0x120]
cmovge eax, dword [ebp + 0xc]
mov dword [esp + 0x13c], eax
mov eax, dword [ebp + 0x1c]
movlpd qword [esp + 0x12c], xmm0
movlpd qword [esp + 0x140], xmm0
movlpd qword [esp + 0x148], xmm0
mov dword [esp + 0x120], 0x40000
mov dword [esp + 0x128], eax
call dword [ebp + 0x18]
mov esi, dword [esp + 0x13c]
mov eax, dword [esp + 0x134]
mov edx, dword [esp + 0x54]
mov dword [ebp + 8], eax
lea ecx, [esi - 1]
cmp dword [esp + 0x138], ecx
cmovl ecx, dword [esp + 0x138]
jmp 0x1016a6d5
mov esi, dword [ebp + 0xc]
lea eax, [ecx + 1]
cmp eax, esi
cmovl esi, eax
cmp esi, 1
jb 0x1016a6fc
jbe 0x1016a6f4
lea eax, [esi - 1]
push eax
push edx
push dword [ebp + 8]
call fcn.1019a300
add esp, 0xc
mov eax, dword [ebp + 8]
mov byte [esi + eax - 1], 0
mov byte [esp + 0x37], 1
mov esi, dword [esp + 0x14]
mov dword [edi + 0xe70], 0
mov dword [edi + 0xe74], 0
mov dword [edi + 0xe78], 0
cmp byte [esp + 0x3f], 0
mov ecx, dword [esp + 0x2c]
je 0x1016a73f
cmp dword [esi + 0x1c10], ecx
jne 0x1016a73f
call fcn.10147850
mov ecx, dword [esp + 0x2c]
cmp byte [esp + 0x28], 0
jne 0x1016a8d8
mov edx, ecx
lea ecx, [esp + 0xb4]
push 1
call fcn.10146cd0
movss xmm0, dword [esi + 0x15a0]
mov dl, 1
movss xmm1, dword [esp + 0xb4]
mov ecx, 0xff0b0b0b
movss xmm2, dword [esp + 0xb8]
movss xmm3, dword [esp + 0xbc]
movss xmm4, dword [esp + 0xc0]
call fcn.10146a70
mov ecx, dword [esp + 0x5c]
sub esp, 0x18
cmp byte [esp + 0x62], 0
mov edx, dword [0x10214408]
movss xmm0, dword [esi + 0x15a0]
mov eax, dword [ecx + 0x28c]
mov ecx, esp
movss dword [esp + 0x58], xmm0
movups xmm0, xmmword [edx + 0x37a8]
mov dword [esp + 0x78], eax
mov eax, dword [edx + 0x37b8]
movups xmmword [ecx], xmm0
mov dword [ecx + 0x10], eax
mov al, byte [edx + 0x37bc]
mov byte [ecx + 0x14], al
jne 0x1016a7f1
movss xmm0, dword [0x101eb2c4]
call fcn.100b3be0
mov ecx, eax
mov dword [esp + 0x50], ecx
jmp 0x1016a7fc
call fcn.100b3a60
mov ecx, eax
mov dword [esp + 0x50], eax
mov eax, dword [0x103d8bec]
movss xmm1, dword [eax + 0x1560]
comiss xmm1, dword [0x101eb334]
jae 0x1016a847
mov eax, ecx
shr eax, 0x18
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x101ebbe0]
cvtpd2ps xmm0, xmm0
mulss xmm0, xmm1
call fcn.101b4600
mov ecx, dword [esp + 0x50]
shl eax, 0x18
and ecx, 0xffffff
or ecx, eax
movss xmm0, dword [esp + 0x40]
lea eax, [esp + 0xbc]
sub esp, 0xc
mov dword [esp + 8], 0x3f800000
movss dword [esp], xmm0
push ecx
mov ecx, dword [esp + 0x70]
push eax
lea eax, [esp + 0xc8]
push eax
call fcn.1015a3d0
movss xmm7, dword [esp + 0xb8]
movss xmm0, dword [esp + 0xb4]
movaps xmm2, xmm7
addss xmm2, dword [esp + 0x74]
movss xmm4, dword [esp + 0x88]
movaps xmm1, xmm7
addss xmm1, dword [esi + 0x159c]
movaps xmm3, xmm4
movss dword [esp + 0xd8], xmm0
addss xmm3, xmm0
movss dword [esp + 0xdc], xmm7
addss xmm0, dword [esi + 0x1598]
movss dword [esp + 0x18], xmm2
movss dword [esp + 0xe4], xmm2
jmp 0x1016a93b
movss xmm0, dword [esp + 0xb8]
mov eax, dword [esp + 0x64]
movaps xmm2, xmm0
addss xmm2, dword [esp + 0x74]
movss xmm1, dword [esp + 0xb4]
movss xmm4, dword [esp + 0x88]
movss dword [esp + 0xdc], xmm0
movaps xmm3, xmm4
movss dword [esp + 0xd8], xmm1
addss xmm3, xmm1
movss xmm1, dword [eax + 0xd0]
movaps xmm0, xmm2
movss dword [esp + 0x18], xmm0
movss dword [esp + 0xe4], xmm0
movss xmm0, dword [eax + 0xcc]
cmp byte [esp + 0x4b], 0
xorps xmm5, xmm5
movss dword [esp + 0x90], xmm0
xorps xmm6, xmm6
movss dword [esp + 0xcc], xmm0
xorps xmm0, xmm0
movss dword [esp + 0x94], xmm1
movss dword [esp + 0xb0], xmm2
movss dword [esp + 0xe0], xmm3
movss dword [esp + 0x60], xmm3
movss dword [esp + 0xa4], xmm3
movss dword [esp + 0xd0], xmm1
movss dword [esp + 0xc4], xmm0
movss dword [esp + 0x20], xmm5
je 0x1016a9a5
mov eax, dword [edi + 0x20]
mov dword [ebp + 8], eax
mov dh, byte [esp + 0x1e]
mov dword [esp + 0x24], 0
test dh, dh
je 0x1016a9d9
mov eax, dword [esp + 0x6c]
mov ecx, eax
mov dword [ebp + 8], eax
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1016a9c1
sub ecx, edx
mov edx, dword [esp + 0x6c]
lea eax, [ecx + edx]
mov dh, byte [esp + 0x1e]
mov dword [esp + 0x24], eax
mov al, byte [esp + 0x1f]
test al, al
jne 0x1016ad9c
cmp byte [esp + 0xa8], al
jne 0x1016ad9c
cmp byte [esp + 0x28], al
je 0x1016aa4c
mov eax, dword [ebp + 8]
xor ecx, ecx
mov dl, byte [eax]
lea edi, [eax + 1]
test dl, dl
je 0x1016aa18
cmp dl, 0xa
lea eax, [ecx + 1]
mov dl, byte [edi]
cmovne eax, ecx
inc edi
mov ecx, eax
test dl, dl
jne 0x1016aa06
mov al, byte [edi - 1]
dec edi
mov dword [esp + 0x24], edi
cmp al, 0xa
je 0x1016aa29
cmp al, 0xd
je 0x1016aa29
inc ecx
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [esi + 0x1978]
movss dword [esp + 0x20], xmm0
movaps xmm0, xmm4
movss dword [esp + 0xc4], xmm0
jmp 0x1016aa99
test dh, dh
jne 0x1016aa85
mov eax, dword [esp + 0x2c]
cmp dword [esi + 0x1c10], eax
jne 0x1016aa68
mov edi, dword [edi + 8]
add edi, dword [ebp + 8]
mov dword [esp + 0x24], edi
jmp 0x1016aa89
mov edi, dword [ebp + 8]
mov ecx, edi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1016aa70
sub ecx, edx
mov dh, byte [esp + 0x1e]
add edi, ecx
mov dword [esp + 0x24], edi
jmp 0x1016aa89
mov edi, dword [esp + 0x24]
mov eax, edi
sub eax, dword [ebp + 8]
cmp eax, 0x200000
jge 0x1016abdb
movss xmm0, dword [0x101eb334]
movzx ecx, dh
call fcn.10145c60
cmp byte [esp + 0x28], 0
lea edx, [esp + 0xd8]
movss xmm2, dword [esi + 0x1978]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x64]
mov dword [esp + 0x40], 0
cmovne edx, dword [esp + 0x40]
test dword [esp + 0x18], 0xff000000
mov edi, dword [eax + 0x28c]
mov eax, dword [esi + 0x1974]
mov esi, dword [esp + 0x24]
mov ecx, esi
mov dword [esp + 0x50], eax
je 0x1016abd7
test esi, esi
jne 0x1016ab14
mov ecx, dword [ebp + 8]
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1016ab00
mov eax, dword [esp + 0x50]
sub ecx, esi
mov esi, dword [ebp + 8]
add ecx, esi
jmp 0x1016ab17
mov esi, dword [ebp + 8]
cmp esi, ecx
je 0x1016bad5
test eax, eax
jne 0x1016ab2b
mov eax, dword [edi + 0x2c]
mov esi, dword [eax + 8]
jmp 0x1016ab2f
mov esi, dword [esp + 0x50]
ucomiss xmm2, dword [0x101eb1d8]
lahf
test ah, 0x44
jp 0x1016ab44
mov eax, dword [edi + 0x2c]
movss xmm2, dword [eax + 0xc]
movups xmm0, xmmword [edi + 0x60]
movups xmmword [esp + 0x70], xmm0
test edx, edx
je 0x1016aba0
movss xmm1, dword [edx]
movss xmm0, dword [esp + 0x70]
comiss xmm0, xmm1
jae 0x1016ab66
movss dword [esp + 0x70], xmm1
movss xmm1, dword [edx + 4]
movss xmm0, dword [esp + 0x74]
comiss xmm0, xmm1
jae 0x1016ab7c
movss dword [esp + 0x74], xmm1
movss xmm0, dword [edx + 8]
comiss xmm0, dword [esp + 0x78]
ja 0x1016ab8e
movss dword [esp + 0x78], xmm0
movss xmm0, dword [edx + 0xc]
comiss xmm0, dword [esp + 0x7c]
ja 0x1016aba0
movss dword [esp + 0x7c], xmm0
push dword [esp + 0x94]
test edx, edx
push dword [esp + 0x94]
setne al
movzx eax, al
push eax
push ecx
mov dword [esp], 0
lea eax, [esp + 0x80]
push ecx
push dword [ebp + 8]
mov ecx, esi
push eax
push dword [esp + 0x34]
push edi
call fcn.1015d0f0
mov edi, dword [esp + 0x24]
mov esi, dword [ebp + 8]
cmp byte [esp + 0xac], 0
je 0x1016abf4
cmp byte [esp + 0x1e], 0
jne 0x1016abf4
call fcn.10150690
cmp byte [esp + 0x28], 0
je 0x1016acb2
mov eax, dword [esp + 0x14]
mov ecx, dword [0x103d8bec]
movss xmm0, dword [esp + 0x20]
movss xmm4, dword [esp + 0xc4]
addss xmm0, dword [eax + 0x159c]
mov eax, dword [ecx + 0x1bdc]
movss dword [esp + 0x70], xmm4
mov byte [eax + 0x8c], 1
mov eax, dword [ecx + 0x1bdc]
movss dword [esp + 0x74], xmm0
cmp byte [eax + 0x8f], 0
jne 0x1016aca8
movss xmm1, dword [eax + 0xd0]
lea ecx, [esp + 0x70]
movss xmm3, dword [eax + 0xcc]
movaps xmm2, xmm1
addss xmm2, xmm0
movss dword [esp + 0xd8], xmm3
movss xmm0, dword [0x101eb6e4]
addss xmm4, xmm3
movss dword [esp + 0xdc], xmm1
movss dword [esp + 0xe4], xmm2
movss dword [esp + 0xe0], xmm4
call fcn.10150bd0
push 0
xor edx, edx
lea ecx, [esp + 0xdc]
call fcn.10150d00
call fcn.1014b990
call fcn.101512a0
mov eax, dword [esp + 0x14]
cmp byte [eax + 0x2f2c], 0
je 0x1016acfc
cmp byte [esp + 0xac], 0
je 0x1016acd0
cmp byte [esp + 0x1e], 0
je 0x1016acfc
mov eax, dword [0x103d8bec]
lea ecx, [esp + 0xcc]
push edi
mov edx, esi
mov dword [eax + 0x2f44], 0x101e97b8
mov dword [eax + 0x2f48], 0x101e97a4
call fcn.10155e10
mov eax, dword [esp + 0x14]
movss xmm0, dword [esp + 0xd4]
comiss xmm0, dword [0x101eb1d8]
jbe 0x1016ad58
movss xmm0, dword [esp + 0xbc]
xor edx, edx
addss xmm0, dword [eax + 0x15b0]
mov ecx, dword [esp + 0xc8]
push 1
movss dword [esp + 0x74], xmm0
movss xmm0, dword [esp + 0xbc]
addss xmm0, dword [eax + 0x159c]
movss dword [esp + 0x78], xmm0
movss xmm0, dword [esp + 0x74]
movss xmm1, dword [esp + 0x78]
call fcn.10145eb0
mov dl, byte [esp + 0x37]
mov ecx, dword [ebp + 0x14]
test dl, dl
je 0x1016ad86
test ecx, 0x200000
jne 0x1016ad86
mov eax, dword [0x103d8bec]
mov word [eax + 0x1c20], 0x101
mov eax, dword [eax + 0x1bdc]
or dword [eax + 0x11c], 4
test cl, 0x20
movzx eax, dl
movzx ecx, byte [esp + 0x36]
pop edi
cmovne eax, ecx
pop esi
mov esp, ebp
pop ebp
ret 0x18
test dh, dh
jne 0x1016adae
mov eax, dword [edi + 8]
add eax, dword [ebp + 8]
mov dword [esp + 0x24], eax
mov al, byte [esp + 0x1f]
mov ecx, dword [edi + 0x14]
xor edx, edx
mov dword [esp + 0x2c], ecx
movaps xmm7, xmm6
movss dword [esp + 0x50], xmm6
mov dword [esp + 0x6c], 0
mov dword [esp + 0x5c], 0
mov dword [esp + 0x54], 0xfffffc18
mov dword [esp + 0x30], 0xfffffc18
test al, al
je 0x1016adf8
mov eax, dword [edi + 0x3c]
or esi, 0xffffffff
mov dword [esp + 0x54], esi
lea eax, [ecx + eax*2]
mov dword [esp + 0x6c], eax
lea edx, [esi + 2]
cmp byte [esp + 0xa8], 0
je 0x1016ae24
mov ecx, dword [edi + 0x44]
cmp dword [edi + 0x40], ecx
mov eax, dword [esp + 0x2c]
cmovl ecx, dword [edi + 0x40]
inc edx
mov dword [esp + 0x30], 0xffffffff
lea eax, [eax + ecx*2]
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x5c], eax
mov esi, dword [esp + 0x2c]
mov eax, dword [esp + 0x28]
movzx eax, al
add edx, eax
xor eax, eax
movzx esi, word [esi]
test si, si
mov dword [esp + 0x90], eax
mov esi, dword [esp + 0x54]
je 0x1016aea8
mov edi, dword [esp + 0x2c]
movzx esi, word [edi]
mov edi, dword [esp + 0x54]
cmp si, 0xa
jne 0x1016ae87
inc eax
mov dword [esp + 0x90], eax
cmp edi, 0xffffffff
jne 0x1016ae71
cmp ecx, dword [esp + 0x6c]
jb 0x1016ae71
dec edx
mov edi, eax
test edx, edx
jle 0x1016ae9c
cmp dword [esp + 0x30], 0xffffffff
jne 0x1016ae87
cmp ecx, dword [esp + 0x5c]
jb 0x1016ae87
dec edx
mov dword [esp + 0x30], eax
test edx, edx
jle 0x1016ae9c
movzx eax, word [ecx + 2]
add ecx, 2
mov esi, eax
test ax, ax
mov eax, dword [esp + 0x90]
jne 0x1016ae51
mov dword [esp + 0x54], edi
mov edi, dword [esp + 0x4c]
mov esi, dword [esp + 0x54]
mov edx, dword [esp + 0x2c]
inc eax
cmp esi, 0xffffffff
mov dword [esp + 0x90], eax
mov ecx, eax
cmovne ecx, esi
mov esi, dword [esp + 0x6c]
mov dword [esp + 0x40], ecx
mov ecx, dword [esp + 0x30]
cmp ecx, 0xffffffff
cmove ecx, eax
mov dword [esp + 0x30], ecx
mov ecx, esi
cmp esi, edx
jbe 0x1016aee6
cmp word [ecx - 2], 0xa
je 0x1016aee6
add ecx, 0xfffffffe
cmp ecx, edx
ja 0x1016aed8
mov edx, dword [0x103d8bec]
movaps xmm4, xmm6
movss dword [esp + 0x54], xmm4
movaps xmm1, xmm6
mov eax, dword [edx + 0x1974]
movss xmm2, dword [edx + 0x1978]
divss xmm2, dword [eax + 0x10]
cmp ecx, esi
jae 0x1016af6b
mov edi, eax
movzx eax, word [ecx]
add ecx, 2
mov esi, eax
cmp eax, 0xa
jne 0x1016af2b
comiss xmm4, xmm1
jae 0x1016af26
movaps xmm4, xmm1
movaps xmm1, xmm6
jmp 0x1016af4d
cmp esi, 0xd
je 0x1016af4d
mov esi, eax
cmp esi, dword [edi]
jge 0x1016af40
mov eax, dword [edi + 8]
movss xmm0, dword [eax + esi*4]
jmp 0x1016af45
movss xmm0, dword [edi + 0xc]
mulss xmm0, xmm2
addss xmm1, xmm0
cmp ecx, dword [esp + 0x6c]
jb 0x1016af11
comiss xmm1, xmm4
mov edi, dword [esp + 0x4c]
movss dword [esp + 0x54], xmm4
jbe 0x1016af6b
movaps xmm4, xmm1
movss dword [esp + 0x54], xmm1
cmp dword [esp + 0x30], 0
movd xmm3, dword [esp + 0x40]
mov esi, dword [esp + 0x14]
cvtdq2ps xmm3, xmm3
movss xmm0, dword [esi + 0x1978]
mulss xmm3, xmm0
movss dword [esp + 0x40], xmm3
jl 0x1016b04b
mov eax, dword [esp + 0x5c]
mov ecx, eax
cmp eax, dword [esp + 0x2c]
jbe 0x1016afb7
mov edi, dword [esp + 0x2c]
cmp word [ecx - 2], 0xa
je 0x1016afb3
add ecx, 0xfffffffe
cmp ecx, edi
ja 0x1016afa5
mov edi, dword [esp + 0x4c]
movaps xmm1, xmm6
mov eax, dword [edx + 0x1974]
movss xmm3, dword [edx + 0x1978]
divss xmm3, dword [eax + 0x10]
cmp ecx, dword [esp + 0x5c]
jae 0x1016b02a
mov edi, eax
movzx eax, word [ecx]
add ecx, 2
mov esi, eax
cmp eax, 0xa
jne 0x1016afef
comiss xmm7, xmm1
jae 0x1016afea
movaps xmm7, xmm1
movaps xmm1, xmm6
jmp 0x1016b014
cmp esi, 0xd
je 0x1016b014
mov esi, eax
cmp esi, dword [edi]
jge 0x1016b004
mov eax, dword [edi + 8]
movss xmm2, dword [eax + esi*4]
jmp 0x1016b009
movss xmm2, dword [edi + 0xc]
movaps xmm0, xmm3
mulss xmm0, xmm2
addss xmm1, xmm0
cmp ecx, dword [esp + 0x5c]
jb 0x1016afd5
comiss xmm1, xmm7
mov edi, dword [esp + 0x4c]
mov esi, dword [esp + 0x14]
jbe 0x1016b02a
movaps xmm7, xmm1
movd xmm3, dword [esp + 0x30]
movss xmm0, dword [esi + 0x1978]
cvtdq2ps xmm3, xmm3
mulss xmm3, xmm0
movss dword [esp + 0x50], xmm3
movss xmm3, dword [esp + 0x40]
mov ecx, dword [esp + 0x28]
movss xmm1, dword [esp + 0x88]
test cl, cl
je 0x1016b07e
movd xmm5, dword [esp + 0x90]
cvtdq2ps xmm5, xmm5
mulss xmm5, xmm0
movaps xmm0, xmm1
movss dword [esp + 0xc4], xmm0
movss dword [esp + 0x20], xmm5
cmp byte [esp + 0x1f], 0
je 0x1016b1a3
cmp byte [edi + 0xe6c], 0
je 0x1016b1a3
test dword [ebp + 0x14], 0x1000
jne 0x1016b0fc
movaps xmm2, xmm1
subss xmm1, dword [esi + 0x1598]
mulss xmm2, dword [0x101eb284]
movss dword [esp + 0x88], xmm1
movss xmm1, dword [edi + 0x38]
comiss xmm1, xmm4
jbe 0x1016b0d5
movaps xmm1, xmm4
movaps xmm0, xmm6
subss xmm1, xmm2
maxss xmm0, xmm1
jmp 0x1016b0ea
movaps xmm0, xmm4
subss xmm0, dword [esp + 0x88]
comiss xmm0, xmm1
jb 0x1016b103
addss xmm0, xmm2
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [edi + 0x38], xmm0
jmp 0x1016b103
mov dword [edi + 0x38], 0
test cl, cl
je 0x1016b19c
movss xmm2, dword [esp + 0x68]
movaps xmm0, xmm3
subss xmm0, dword [esi + 0x1978]
comiss xmm2, xmm0
jbe 0x1016b130
movss xmm3, dword [esp + 0x74]
movaps xmm2, xmm6
maxss xmm2, xmm0
jmp 0x1016b152
movaps xmm0, xmm3
movss xmm3, dword [esp + 0x74]
subss xmm0, xmm3
comiss xmm0, xmm2
jb 0x1016b152
movss xmm2, dword [esi + 0x159c]
addss xmm2, xmm2
addss xmm2, xmm0
comiss xmm6, xmm2
movss xmm1, dword [esi + 0x159c]
jbe 0x1016b164
movaps xmm1, xmm6
jmp 0x1016b178
addss xmm1, xmm1
addss xmm1, xmm5
subss xmm1, xmm3
maxss xmm1, xmm6
minss xmm1, xmm2
mov eax, dword [esp + 0x64]
movss xmm0, dword [eax + 0x5c]
subss xmm0, xmm1
addss xmm0, dword [esp + 0xd0]
movss dword [esp + 0xd0], xmm0
movss dword [eax + 0x5c], xmm1
mov byte [edi + 0xe6c], 0
mov eax, dword [0x10214414]
movss xmm5, dword [edi + 0x38]
mov ecx, dword [esp + 0xa8]
movss xmm4, dword [0x101eb60c]
movss dword [esp + 0x68], xmm5
mov byte [eax], cl
test cl, cl
je 0x1016b6f2
mov edx, dword [edi + 0x44]
mov eax, edx
mov ecx, dword [edi + 0x40]
cmp ecx, edx
mov esi, dword [esp + 0x2c]
cmovl eax, ecx
cmovge edx, ecx
cmp byte [esp + 0x1f], 0
lea esi, [esi + eax*2]
mov eax, dword [esp + 0x2c]
lea edx, [eax + edx*2]
mov dword [esp + 0x90], edx
je 0x1016b202
movss xmm0, dword [0x101eb334]
jmp 0x1016b20a
movss xmm0, dword [0x101eb2d0]
mov ecx, 0x2f
call fcn.10145c60
mov dword [esp + 0xa8], eax
xorps xmm0, xmm0
mov eax, dword [esp + 0x28]
test al, al
je 0x1016b22e
xorps xmm5, xmm5
xorps xmm6, xmm6
jmp 0x1016b23e
movss xmm5, dword [0x101eb6e4]
movss xmm6, dword [0x101eb3d8]
movss xmm4, dword [esp + 0xd0]
movss xmm3, dword [esp + 0xcc]
movss dword [esp + 0x5c], xmm6
addss xmm7, xmm3
movss dword [esp + 0x6c], xmm5
addss xmm4, dword [esp + 0x50]
subss xmm7, dword [esp + 0x68]
subss xmm4, xmm0
movss dword [esp + 0x50], xmm4
cmp esi, edx
jae 0x1016b694
movss xmm1, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
nop dword [eax + eax]
movaps xmm0, xmm1
addss xmm0, dword [ecx + 0x1978]
comiss xmm4, xmm0
ja 0x1016b690
movss xmm0, dword [esp + 0xb8]
comiss xmm0, xmm4
jbe 0x1016b2d9
cmp esi, edx
jae 0x1016b665
nop word [eax + eax]
mov ax, word [esi]
add esi, 2
cmp ax, 0xa
je 0x1016b665
cmp esi, edx
jb 0x1016b2c0
jmp 0x1016b665
xorps xmm2, xmm2
mov eax, dword [0x103d8bec]
xorps xmm1, xmm1
mov edx, dword [eax + 0x1974]
movss xmm3, dword [eax + 0x1978]
divss xmm3, dword [edx + 0x10]
cmp esi, dword [esp + 0x90]
jae 0x1016b352
movzx eax, word [esi]
add esi, 2
mov ecx, eax
cmp eax, 0xa
je 0x1016b338
cmp ecx, 0xd
je 0x1016b32d
cmp ecx, dword [edx]
jge 0x1016b320
mov eax, dword [edx + 8]
movss xmm0, dword [eax + ecx*4]
jmp 0x1016b325
movss xmm0, dword [edx + 0xc]
mulss xmm0, xmm3
addss xmm1, xmm0
cmp esi, dword [esp + 0x90]
jb 0x1016b300
jmp 0x1016b346
xorps xmm0, xmm0
comiss xmm0, xmm1
jae 0x1016b343
movaps xmm2, xmm1
xorps xmm1, xmm1
comiss xmm1, xmm2
mov ecx, dword [esp + 0x14]
jbe 0x1016b352
movaps xmm2, xmm1
movss xmm1, dword [esp + 0xa4]
movss xmm0, dword [esp + 0xb0]
movss dword [esp + 0x88], xmm1
movss dword [esp + 0xa4], xmm1
xorps xmm1, xmm1
comiss xmm1, xmm2
movss dword [esp + 0x30], xmm0
movss dword [esp + 0xb0], xmm0
jb 0x1016b3bd
mov eax, dword [ecx + 0x1974]
cmp dword [eax], 0x20
jle 0x1016b3a5
mov eax, dword [eax + 8]
movss xmm0, dword [eax + 0x80]
jmp 0x1016b3aa
movss xmm0, dword [eax + 0xc]
mulss xmm0, dword [0x101eb2c4]
cvttss2si eax, xmm0
movd xmm2, eax
cvtdq2ps xmm2, xmm2
movss xmm3, dword [esp + 0x18]
addss xmm2, xmm7
addss xmm7, xmm1
movaps xmm0, xmm6
movss xmm6, dword [esp + 0xb4]
addss xmm0, xmm4
movaps xmm1, xmm5
subss xmm1, dword [ecx + 0x1978]
maxss xmm7, xmm6
minss xmm0, xmm3
addss xmm1, xmm4
movss xmm4, dword [esp + 0x60]
minss xmm2, xmm4
movss dword [esp + 0x70], xmm7
comiss xmm0, dword [esp + 0xb8]
maxss xmm1, dword [esp + 0xb8]
movss dword [esp + 0x78], xmm2
movss dword [esp + 0x7c], xmm0
movss dword [esp + 0x74], xmm1
jbe 0x1016b487
comiss xmm3, xmm1
jbe 0x1016b487
comiss xmm2, xmm6
jbe 0x1016b487
comiss xmm4, xmm7
jbe 0x1016b487
push 0
push ecx
mov dword [esp], 0
lea eax, [esp + 0x80]
push dword [esp + 0xb0]
push eax
lea eax, [esp + 0x80]
push eax
mov eax, dword [esp + 0x78]
mov ecx, dword [eax + 0x28c]
call fcn.1015a4c0
movss xmm0, dword [esp + 0x88]
movss dword [esp + 0xa4], xmm0
movss xmm0, dword [esp + 0x30]
movss dword [esp + 0xb0], xmm0
cmp byte [esp + 0x4a], 0
mov eax, dword [esp + 0x64]
mov eax, dword [eax + 0x28c]
mov dword [esp + 0x88], eax
je 0x1016b4a9
movss xmm0, dword [0x101eb34c]
jmp 0x1016b4b1
movss xmm0, dword [0x101eb2c4]
mov edx, dword [0x10214408]
sub esp, 0x18
mov ecx, esp
movups xmm1, xmmword [edx + 0x37a8]
mov eax, dword [edx + 0x37b8]
movups xmmword [ecx], xmm1
mov dword [ecx + 0x10], eax
mov al, byte [edx + 0x37bc]
mov byte [ecx + 0x14], al
call fcn.100b3be0
mov edx, eax
movss xmm5, dword [0x101eb210]
mov ecx, edx
shr eax, 8
shr ecx, 0x10
movzx ecx, cl
movzx eax, al
movss xmm7, dword [0x101eb334]
movd xmm0, ecx
cvtdq2pd xmm0, xmm0
shr ecx, 0x1f
addsd xmm0, qword [ecx*8 + 0x101ebbe0]
cvtpd2ps xmm4, xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
mulss xmm4, xmm5
addsd xmm0, qword [eax*8 + 0x101ebbe0]
movzx eax, dl
shr edx, 0x18
cvtpd2ps xmm1, xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
mulss xmm1, xmm5
addsd xmm0, qword [eax*8 + 0x101ebbe0]
mov eax, dword [0x103d8bec]
cvtpd2ps xmm2, xmm0
movd xmm0, edx
cvtdq2pd xmm0, xmm0
shr edx, 0x1f
mulss xmm2, xmm5
addsd xmm0, qword [edx*8 + 0x101ebbe0]
cvtpd2ps xmm3, xmm0
mulss xmm3, xmm5
xorps xmm5, xmm5
comiss xmm5, xmm4
mulss xmm3, dword [eax + 0x1560]
jbe 0x1016b58d
xorps xmm0, xmm0
jmp 0x1016b594
movaps xmm0, xmm7
minss xmm0, xmm4
movss xmm4, dword [0x101eb60c]
movss xmm6, dword [0x101eb2c4]
mulss xmm0, xmm4
addss xmm0, xmm6
cvttss2si ecx, xmm0
shl ecx, 0x10
comiss xmm5, xmm1
jbe 0x1016b5bd
xorps xmm0, xmm0
jmp 0x1016b5c4
movaps xmm0, xmm7
minss xmm0, xmm1
mulss xmm0, xmm4
addss xmm0, xmm6
cvttss2si eax, xmm0
shl eax, 8
or ecx, eax
comiss xmm5, xmm2
jbe 0x1016b5df
xorps xmm0, xmm0
jmp 0x1016b5e6
movaps xmm0, xmm7
minss xmm0, xmm2
mulss xmm0, xmm4
addss xmm0, xmm6
cvttss2si eax, xmm0
or ecx, eax
comiss xmm5, xmm3
jbe 0x1016b5fe
xorps xmm0, xmm0
jmp 0x1016b605
movaps xmm0, xmm7
minss xmm0, xmm3
mulss xmm0, xmm4
sub esp, 0xc
addss xmm0, xmm6
mov dword [esp + 8], 0x3f800000
mov dword [esp], 0
cvttss2si eax, xmm0
shl eax, 0x18
or eax, ecx
mov ecx, dword [esp + 0x94]
push eax
lea eax, [esp + 0x88]
push eax
lea eax, [esp + 0x84]
push eax
call fcn.1015a3d0
movss xmm3, dword [esp + 0xcc]
movss xmm4, dword [esp + 0x50]
movss xmm1, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x90]
movss xmm5, dword [esp + 0x6c]
movaps xmm7, xmm3
movss xmm6, dword [esp + 0x5c]
addss xmm4, dword [ecx + 0x1978]
subss xmm7, dword [esp + 0x68]
movss dword [esp + 0x50], xmm4
cmp esi, edx
jb 0x1016b290
mov eax, dword [esp + 0x28]
movss xmm4, dword [0x101eb60c]
xorps xmm6, xmm6
movss xmm5, dword [esp + 0x68]
mov edx, dword [0x103d8bec]
mov esi, dword [esp + 0x14]
test al, al
jne 0x1016b6c5
mov eax, dword [esp + 0x24]
sub eax, dword [ebp + 8]
cmp eax, 0x200000
jge 0x1016b925
movzx eax, byte [esp + 0x1e]
add eax, eax
movups xmm2, xmmword [edx + eax*8 + 0x1624]
comiss xmm6, xmm2
movaps xmm1, xmm2
movaps xmmword [esp + 0x70], xmm2
shufps xmm1, xmm2, 0xff
mulss xmm1, dword [edx + 0x1560]
jbe 0x1016b701
movaps xmm0, xmm6
jmp 0x1016b70d
movss xmm3, dword [esp + 0xcc]
mov eax, dword [esp + 0x28]
jmp 0x1016b6af
movss xmm0, dword [0x101eb334]
minss xmm0, xmm2
movss xmm7, dword [0x101eb2c4]
movss xmm2, dword [esp + 0x74]
mulss xmm0, xmm4
addss xmm0, xmm7
cvttss2si ecx, xmm0
shl ecx, 0x10
comiss xmm6, xmm2
jbe 0x1016b734
movaps xmm0, xmm6
jmp 0x1016b740
movss xmm0, dword [0x101eb334]
minss xmm0, xmm2
movss xmm2, dword [esp + 0x78]
mulss xmm0, xmm4
addss xmm0, xmm7
cvttss2si eax, xmm0
shl eax, 8
or ecx, eax
comiss xmm6, xmm2
jbe 0x1016b761
movaps xmm0, xmm6
jmp 0x1016b76d
movss xmm0, dword [0x101eb334]
minss xmm0, xmm2
mulss xmm0, xmm4
addss xmm0, xmm7
cvttss2si eax, xmm0
or ecx, eax
comiss xmm6, xmm1
jbe 0x1016b785
movaps xmm0, xmm6
jmp 0x1016b791
movss xmm0, dword [0x101eb334]
minss xmm0, xmm1
mov edx, dword [esp + 0x24]
subss xmm3, xmm5
movss xmm2, dword [esi + 0x1978]
mulss xmm0, xmm4
mov dword [esp + 0x18], edx
mov edx, dword [esi + 0x1974]
mov dword [esp + 0x60], edx
lea edx, [esp + 0xd8]
addss xmm0, xmm7
mov dword [esp + 0x50], 0
movss dword [esp + 0x70], xmm3
cvttss2si eax, xmm0
movss xmm0, dword [esp + 0xd0]
shl eax, 0x18
subss xmm0, xmm6
or eax, ecx
mov ecx, dword [esp + 0x64]
cmp byte [esp + 0x28], 0
mov dword [esp + 0x6c], eax
cmovne edx, dword [esp + 0x50]
mov ecx, dword [ecx + 0x28c]
mov dword [esp + 0x90], ecx
movss dword [esp + 0x74], xmm0
test eax, 0xff000000
je 0x1016b925
cmp dword [esp + 0x24], 0
jne 0x1016b840
mov ecx, dword [ebp + 8]
lea eax, [ecx + 1]
mov dword [esp + 0x50], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1016b823
sub ecx, dword [esp + 0x50]
mov eax, dword [ebp + 8]
add eax, ecx
mov ecx, dword [esp + 0x90]
mov dword [esp + 0x18], eax
jmp 0x1016b844
mov eax, dword [esp + 0x18]
cmp dword [ebp + 8], eax
je 0x1016b925
cmp dword [esi + 0x1974], 0
jne 0x1016b860
mov eax, dword [ecx + 0x2c]
mov eax, dword [eax + 8]
mov dword [esp + 0x60], eax
ucomiss xmm2, xmm6
lahf
test ah, 0x44
jp 0x1016b871
mov eax, dword [ecx + 0x2c]
movss xmm2, dword [eax + 0xc]
movups xmm0, xmmword [ecx + 0x60]
movups xmmword [esp + 0x90], xmm0
test edx, edx
je 0x1016b8e8
movss xmm1, dword [edx]
movss xmm0, dword [esp + 0x90]
comiss xmm0, xmm1
jae 0x1016b89c
movss dword [esp + 0x90], xmm1
movss xmm1, dword [edx + 4]
movss xmm0, dword [esp + 0x94]
comiss xmm0, xmm1
jae 0x1016b8b8
movss dword [esp + 0x94], xmm1
movss xmm0, dword [edx + 8]
comiss xmm0, dword [esp + 0x98]
ja 0x1016b8d0
movss dword [esp + 0x98], xmm0
movss xmm0, dword [edx + 0xc]
comiss xmm0, dword [esp + 0x9c]
ja 0x1016b8e8
movss dword [esp + 0x9c], xmm0
push dword [esp + 0x74]
test edx, edx
mov edx, dword [esp + 0x1c]
push dword [esp + 0x74]
setne al
movzx eax, al
push eax
push ecx
mov dword [esp], 0
lea eax, [esp + 0xa0]
push edx
push dword [ebp + 8]
push eax
push dword [esp + 0x88]
push ecx
mov ecx, dword [esp + 0x84]
call fcn.1015d0f0
cmp byte [esp + 0x1f], 0
je 0x1016abd7
movss xmm0, dword [esi + 0x5c]
addss xmm0, dword [edi + 0xe68]
movss dword [edi + 0xe68], xmm0
cmp byte [esi + 0xf6], 0
je 0x1016b98d
xorps xmm1, xmm1
comiss xmm1, xmm0
jae 0x1016b98d
cvtps2pd xmm0, xmm0
movsd qword [esp + 0x70], xmm0
fld qword [esp + 0x70]
fld qword [0x101eb3c8]
call fcn.101b4870
movss xmm0, dword [0x101eb300]
fstp qword [esp + 0x70]
movsd xmm1, qword [esp + 0x70]
cvtpd2ps xmm1, xmm1
comiss xmm0, xmm1
jae 0x1016b98d
xor al, al
jmp 0x1016b98f
mov al, 1
movss xmm0, dword [esp + 0xd0]
movss xmm4, dword [esp + 0x54]
movss xmm6, dword [0x101eb334]
addss xmm0, dword [esp + 0x40]
addss xmm4, dword [esp + 0xcc]
subss xmm0, dword [0x101eb1d8]
subss xmm4, dword [esp + 0x68]
movss dword [esp + 0x40], xmm0
movaps xmm1, xmm0
movss dword [esp + 0x54], xmm4
movaps xmm3, xmm4
movss dword [esp + 0xd8], xmm4
movaps xmm2, xmm0
addss xmm3, xmm6
subss xmm1, dword [esi + 0x1978]
subss xmm2, dword [0x101eb378]
movss dword [esp + 0xe0], xmm3
addss xmm1, dword [0x101eb2c4]
movss dword [esp + 0xe4], xmm2
movss dword [esp + 0xdc], xmm1
test al, al
je 0x1016baa5
comiss xmm2, dword [esp + 0xb8]
jbe 0x1016baa5
movss xmm5, dword [esp + 0xb0]
comiss xmm5, xmm1
jbe 0x1016baa5
comiss xmm3, dword [esp + 0xb4]
jbe 0x1016baa5
movss xmm1, dword [esp + 0xa4]
comiss xmm1, xmm4
jbe 0x1016baa5
sub esp, 8
movss dword [esp + 0x78], xmm4
movaps xmm0, xmm6
movss dword [esp + 0x7c], xmm2
xor ecx, ecx
mov dword [esp + 4], 0x3f800000
call fcn.10145c60
add esp, 4
push eax
lea eax, [esp + 0x78]
push eax
lea eax, [esp + 0xe4]
push eax
mov eax, dword [esp + 0x74]
mov ecx, dword [eax + 0x28c]
call fcn.1015a2a0
movss xmm0, dword [esp + 0x40]
movss xmm4, dword [esp + 0x54]
movss xmm6, dword [0x101eb334]
cmp byte [esp + 0x38], 0
mov edi, dword [esp + 0x24]
jne 0x1016abdb
subss xmm0, dword [esi + 0x1978]
subss xmm4, xmm6
movss dword [esi + 0x2ed8], xmm0
movss dword [esi + 0x2ed4], xmm4
jmp 0x1016abdb
mov edi, dword [esp + 0x24]
jmp 0x1016abde