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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x148
push esi
mov esi, dword [0x103501f8]
push edi
mov edi, esi
mov dword [esp + 0x6c], edx
mov dword [esp + 0xc8], ecx
mov dword [esp + 0x14], edi
mov eax, dword [edi + 0x1bec]
mov byte [eax + 0xa8], 1
mov edx, dword [edi + 0x1bec]
mov dword [esp + 0x5c], edx
cmp byte [edx + 0xab], 0
jne 0x1017408a
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 0x10173da3
call fcn.1015c5d0
mov esi, dword [0x103501f8]
mov edx, dword [esp + 0x5c]
mov ecx, dword [edx + 0xe0]
mov eax, dword [edx + 0xe8]
xor edx, edx
push dword [eax + ecx*4 - 4]
mov ecx, dword [esp + 0xcc]
call fcn.101501c0
mov dword [esp + 0x2c], eax
cmp dword [esi + 0x1c24], eax
jne 0x10173dd3
mov dword [esi + 0x1c28], eax
cmp dword [esi + 0x1c5c], eax
jne 0x10173de2
mov byte [esi + 0x1c60], 1
mov eax, dword [esp + 0xc8]
mov ecx, eax
cmp eax, 0xffffffff
jae 0x10173e06
mov dl, byte [ecx]
test dl, dl
je 0x10173e06
cmp dl, 0x23
jne 0x10173e00
cmp byte [ecx + 1], dl
je 0x10173e06
inc ecx
cmp ecx, 0xffffffff
jb 0x10173df0
movss xmm1, dword [0x101f8b9c]
movss xmm0, dword [esi + 0x1988]
movss dword [esp + 0x68], xmm1
cmp eax, ecx
jne 0x10173e2e
xorps xmm1, xmm1
movss dword [esp + 0xd4], xmm1
jmp 0x10173e7e
push 0
push ecx
push eax
push ecx
mov ecx, dword [esi + 0x1984]
lea eax, [esp + 0x80]
mov dword [esp], 0xbf800000
movaps xmm3, xmm1
push eax
movaps xmm2, xmm0
call fcn.10168330
movss xmm0, dword [esp + 0x70]
xorps xmm1, xmm1
addss xmm0, dword [0x101f87f0]
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 0x10173e95
movss xmm0, dword [edi + 0x1988]
mulss xmm0, dword [0x101f8984]
test byte [esi + 0x1cd4], 1
movss xmm2, dword [edi + 0x159c]
mov eax, dword [esi + 0x1bec]
addss xmm2, xmm2
addss xmm2, xmm0
je 0x10173ebe
movss xmm0, dword [esi + 0x1cd8]
jmp 0x10173ec6
movss xmm0, dword [eax + 0x1f0]
comiss xmm1, xmm0
jbe 0x10173f05
cmp dword [eax + 0x1d0], 0
movss xmm1, dword [eax + 0x288]
jne 0x10173ee5
cmp dword [esi + 0x1f2c], 0
je 0x10173eed
movss xmm1, dword [eax + 0x258]
subss xmm1, dword [eax + 0xec]
addss xmm1, xmm0
movss xmm0, dword [0x101f87f8]
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.1015c4c0
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 0x10173f50
movaps xmm2, xmm1
addss xmm2, dword [esi + 0x15b0]
jmp 0x10173f53
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 + 0xf0]
movss xmm3, dword [eax + 0xec]
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.10152e00
mov byte [esp + 0x4a], al
test al, al
je 0x1017401f
mov dword [esi + 0x1e98], 1
cmp byte [esp + 0x28], 0
je 0x10174254
lea eax, [esp + 0xb4]
mov edx, edi
push eax
lea ecx, [esp + 0x94]
call fcn.1015c160
test al, al
jne 0x10174094
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.1015c030
call fcn.1015c700
xor al, al
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x18
mov edx, 0xff0b0b0b
mov ecx, 4
call fcn.10151150
movss xmm0, dword [esi + 0x15a0]
lea eax, [esp + 0x90]
mov esi, dword [0x103501f8]
movss dword [esp + 0x40], xmm0
push eax
mov dword [esp + 0x94], 6
movss xmm0, dword [esi + 0x1588]
lea ecx, [esi + 0x1cf4]
movss dword [esp + 0x98], xmm0
call fcn.10162270
movss xmm0, dword [esp + 0x40]
mov eax, dword [esp + 0x14]
movss dword [esi + 0x1588], xmm0
mov esi, dword [0x103501f8]
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 + 0x1cf4]
push eax
movss dword [esp + 0x98], xmm0
call fcn.10162270
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.10156be0
mov ecx, 2
mov byte [esp + 0x37], al
call fcn.10151240
mov edi, dword [0x103501f8]
mov ecx, dword [edi + 0x1ce8]
lea edx, [ecx + ecx*4]
mov ecx, dword [edi + 0x1cf0]
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 + 0x1ce8]
cmp byte [esp + 0x37], 0
jne 0x101741e8
call fcn.10156de0
call fcn.1015c700
xor al, al
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x18
mov esi, dword [esp + 0x14]
mov edx, dword [esi + 0x1bec]
mov dword [esp + 0x64], edx
mov ecx, dword [edx + 0x168]
mov eax, dword [edx + 0x160]
bts ecx, eax
movss xmm0, dword [edx + 0xec]
mov dword [edx + 0x168], ecx
addss xmm0, dword [esi + 0x1598]
movss dword [edx + 0xec], xmm0
movss xmm0, dword [esi + 0x159c]
addss xmm0, dword [edx + 0xf0]
movss dword [edx + 0xf0], xmm0
movss xmm0, dword [esp + 0x70]
subss xmm0, dword [edx + 0x9c]
movss dword [esp + 0x88], xmm0
jmp 0x101742ad
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.1015c030
lea eax, [esp + 0xb4]
mov edx, edi
push eax
lea ecx, [esp + 0x94]
call fcn.1015c160
test al, al
je 0x1017408a
mov edi, dword [0x103501f8]
mov eax, dword [esp + 0x2c]
add edi, 0x1fb0
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.10153080
mov byte [esp + 0x37], al
test al, al
je 0x10174341
mov edx, dword [esp + 0x5c]
cmp dword [esi + 0x1e78], edx
jne 0x10174341
mov ecx, dword [esi + 0x1e80]
cmp ecx, dword [edx + 0x1e4]
jne 0x10174341
mov byte [esp + 0x13], 1
mov byte [esp + 0x1c], 0
cmp byte [esp + 0x4a], 0
je 0x1017430e
cmp byte [esi + 0x420], 0
mov byte [esp + 0x1e], 1
jne 0x10174313
mov byte [esp + 0x1e], 0
mov ecx, dword [esi + 0x1c24]
mov eax, dword [esp + 0x2c]
cmp ecx, eax
je 0x10174356
cmp dword [esi + 0x1d6c], eax
je 0x1017433a
cmp dword [esi + 0x1d60], eax
jne 0x10174356
cmp dword [esi + 0x1d84], 2
jne 0x10174356
mov byte [esp + 0x12], 1
jmp 0x1017435b
mov byte [esp + 0x13], 0
test al, al
je 0x101742f4
mov byte [esp + 0x1c], 1
mov byte [esp + 0x13], 0
jmp 0x101742f9
mov byte [esp + 0x12], 0
mov eax, dword [esp + 0x28]
test al, al
je 0x101743a4
test edi, edi
je 0x101743a4
test ecx, ecx
jne 0x101743a4
mov eax, dword [esp + 0x64]
xor edx, edx
mov ecx, dword [eax + 0xe0]
mov eax, dword [eax + 0xe8]
push dword [eax + ecx*4 - 4]
mov ecx, str.SCROLLY
call fcn.101501c0
cmp dword [esi + 0x1c5c], eax
jne 0x1017439a
mov byte [esp + 0x1d], 1
jmp 0x101743b6
mov ecx, dword [esi + 0x1c24]
mov eax, dword [esp + 0x28]
mov byte [esp + 0x1d], 0
test al, al
je 0x101743e4
mov byte [esp + 0x1d], 0
test edi, edi
je 0x101743e4
mov eax, dword [esp + 0x64]
mov ecx, str.SCROLLY
mov edx, dword [eax + 0xe0]
mov eax, dword [eax + 0xe8]
push dword [eax + edx*4 - 4]
xor edx, edx
call fcn.101501c0
mov ecx, dword [esi + 0x1c24]
cmp ecx, eax
jne 0x101743e4
mov dl, 1
jmp 0x101743e6
xor dl, dl
mov ah, byte [esp + 0x12]
mov byte [esp + 0x34], dl
mov byte [esp + 0x3f], 0
cmp ecx, dword [esp + 0x2c]
je 0x10174411
test byte [ebp + 0x14], 0x10
jne 0x10174403
test ah, ah
je 0x10174411
cmp byte [esp + 0x28], 0
jne 0x10174411
mov byte [esp + 0x30], 1
jmp 0x10174430
cmp byte [esp + 0x28], 0
mov byte [esp + 0x30], 0
je 0x10174430
mov esi, dword [esp + 0x64]
movss xmm0, dword [esi + 0x78]
mov esi, dword [esp + 0x14]
movss dword [esp + 0x68], xmm0
test edi, edi
je 0x10174443
mov al, byte [esp + 0x28]
xor al, 1
cmp byte [edi + 0x53], al
je 0x10174443
mov al, 1
jmp 0x10174445
xor al, al
cmp byte [esp + 0x37], 0
mov byte [esp + 0x36], al
mov dword [esp + 0x24], 1
jne 0x10174478
cmp byte [esp + 0x1e], 0
jne 0x10174478
cmp byte [esp + 0x1d], 0
jne 0x10174478
test ah, ah
jne 0x10174478
mov byte [esp + 0x1d], ah
test dl, dl
jne 0x1017447d
mov byte [esp + 0x35], dl
jmp 0x10174488
mov byte [esp + 0x1d], 1
mov byte [esp + 0x35], 1
cmp ecx, dword [esp + 0x2c]
jne 0x10174490
test al, al
je 0x10174698
mov ecx, dword [ebp + 8]
lea edi, [esi + 0x1fb0]
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 0x101744b0
mov eax, dword [edi + 0x28]
sub ecx, edx
lea esi, [ecx + 1]
cmp esi, eax
jle 0x101744ed
test eax, eax
je 0x101744d6
cdq
sub eax, edx
lea edx, [edi + 0x24]
mov ecx, eax
sar ecx, 1
add ecx, dword [edx + 4]
jmp 0x101744de
mov ecx, 8
lea edx, [edi + 0x24]
cmp ecx, esi
mov eax, esi
cmovg eax, ecx
mov ecx, edx
push eax
call fcn.100c1720
push esi
push dword [ebp + 8]
mov dword [edi + 0x24], esi
push dword [edi + 0x2c]
call fcn.1019bac0
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 0x10174542
test esi, esi
je 0x10174526
mov eax, esi
cdq
sub eax, edx
mov edx, dword [esp + 0x20]
mov ecx, eax
sar ecx, 1
add ecx, esi
jmp 0x1017452b
mov ecx, 8
cmp ecx, edx
mov eax, edx
cmovg eax, ecx
lea ecx, [edi + 0xc]
push eax
call fcn.101625f0
mov edx, dword [esp + 0x20]
lea eax, [edi + 0xc]
mov dword [eax], edx
mov ecx, dword [edi + 0x1c]
test ecx, ecx
jns 0x10174564
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.100c1720
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 0x101745c5
mov edi, eax
cmp byte [edi], 0
je 0x101745b9
push 0
mov edx, edi
lea ecx, [esp + 0x44]
call fcn.10150450
mov edx, dword [esp + 0x20]
add edi, eax
mov eax, dword [esp + 0x40]
test eax, eax
je 0x101745b9
mov word [esi], ax
add esi, 2
mov eax, dword [ebp + 0xc]
dec eax
lea eax, [edx + eax*2]
cmp esi, eax
jb 0x10174588
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 0x1017460d
cmp byte [esp + 0x36], cl
jne 0x1017460d
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 0x1017466a
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 0x1017466a
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 0x10174677
mov byte [edi + 0x48], 1
mov esi, dword [esp + 0x14]
test dl, dl
jne 0x10174698
cmp byte [esp + 0x1c], dl
jne 0x10174693
cmp byte [esp + 0x1e], dl
je 0x10174698
cmp byte [esi + 0x140], dl
je 0x10174698
mov byte [esp + 0x30], 1
mov ecx, dword [esp + 0x2c]
cmp dword [esi + 0x1c24], ecx
je 0x10174749
cmp byte [esp + 0x1d], 0
je 0x10174741
mov edx, dword [esp + 0x5c]
call fcn.10152ba0
call fcn.1015dd80
mov ecx, edx
call fcn.1015b760
mov eax, dword [esi + 0x1c38]
mov edx, dword [esp + 0x28]
or eax, 3
mov dword [esi + 0x1c38], eax
test dl, dl
jne 0x101746e5
test byte [ebp + 0x14], 0x80
je 0x101746ee
or eax, 0xc
mov dword [esi + 0x1c38], eax
mov eax, dword [esi + 0x1c40]
or dword [esi + 0x1c3c], 2
or eax, 0x180
mov ecx, dword [esi + 0x1c44]
mov dword [esi + 0x1c40], eax
mov dword [esi + 0x1c44], ecx
test dl, dl
je 0x10174725
or eax, 0x60
mov dword [esi + 0x1c44], ecx
mov dword [esi + 0x1c40], eax
test dword [ebp + 0x14], 0x440
je 0x1017473d
or eax, 1
mov dword [esi + 0x1c44], ecx
mov dword [esi + 0x1c40], eax
mov ecx, dword [esp + 0x2c]
cmp dword [esi + 0x1c24], ecx
jne 0x1017477e
test edi, edi
jne 0x10174756
call fcn.10152c70
mov ecx, dword [esp + 0x2c]
cmp dword [esi + 0x1c24], ecx
jne 0x1017477e
cmp byte [esi + 0x420], 0
je 0x10174789
cmp byte [esp + 0x35], 0
jne 0x10174789
cmp byte [esp + 0x1d], 0
jne 0x10174789
mov byte [esp + 0x3f], 1
mov dl, 1
jmp 0x1017478f
test edi, edi
je 0x1017478d
cmp byte [esp + 0x34], 0
je 0x1017478d
mov dl, 1
jmp 0x1017478f
xor dl, dl
mov byte [esp + 0x1f], dl
test edi, edi
je 0x101747aa
mov eax, dword [edi + 0x40]
cmp eax, dword [edi + 0x44]
je 0x101747aa
test dl, dl
je 0x101747aa
mov edx, 1
jmp 0x101747ac
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 0x101748c5
test edi, edi
je 0x101748c5
cmp byte [esp + 0x1f], 0
jne 0x101747e4
test dl, dl
je 0x101748d0
mov ecx, dword [ebp + 0xc]
mov eax, dword [edi + 0x10]
lea esi, [ecx + 1]
cmp esi, eax
jle 0x1017481e
test eax, eax
je 0x10174804
cdq
sub eax, edx
lea edx, [edi + 0xc]
mov ecx, eax
sar ecx, 1
add ecx, dword [edx + 4]
jmp 0x1017480c
mov ecx, 8
lea edx, [edi + 0xc]
cmp ecx, esi
mov eax, esi
cmovg eax, ecx
mov ecx, edx
push eax
call fcn.101625f0
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 0x10174872
mov edi, eax
cmp byte [edi], 0
je 0x10174866
push 0
mov edx, edi
lea ecx, [esp + 0x44]
call fcn.10150450
mov edx, dword [esp + 0x20]
add edi, eax
mov eax, dword [esp + 0x40]
test eax, eax
je 0x10174866
mov ecx, dword [ebp + 0xc]
mov word [esi], ax
add esi, 2
lea eax, [edx + ecx*2]
cmp esi, eax
jb 0x10174836
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 0x101748d8
test dl, dl
jne 0x101748d8
cmp dword [esi + 0x1c24], ecx
jne 0x101748e9
test al, al
jne 0x101748e9
test edi, edi
je 0x101748e9
cmp byte [edi + 0x30], al
je 0x101748e9
mov al, 1
jmp 0x101748eb
xor al, al
mov edx, dword [esp + 0x6c]
mov byte [esp + 0x4b], al
test edx, edx
je 0x1017490c
test al, al
je 0x10174900
mov eax, dword [edi + 0x20]
jmp 0x10174903
mov eax, dword [ebp + 8]
cmp byte [eax], 0
jne 0x1017490c
mov al, 1
jmp 0x1017490e
xor al, al
cmp byte [esp + 0xac], 0
mov byte [esp + 0x1e], al
je 0x101749aa
test al, al
jne 0x101749aa
mov edx, dword [esi + 0x1984]
cmp dword [edx + 0x14], 0x2a
ja 0x10174939
mov eax, dword [edx + 0x2c]
jmp 0x10174958
mov eax, dword [edx + 0x1c]
mov ecx, 0xffff
movzx eax, word [eax + 0x54]
cmp ax, cx
jne 0x1017494f
mov eax, dword [edx + 0x2c]
jmp 0x10174958
lea ecx, [eax + eax*4]
mov eax, dword [edx + 0x28]
lea eax, [eax + ecx*8]
mov dword [esp + 0x18], eax
lea ecx, [esi + 0x2e30]
mov eax, dword [edx + 0x10]
mov dword [ecx + 0x10], eax
mov eax, dword [esi + 0x1984]
mov eax, dword [eax + 0x40]
mov dword [ecx + 0x40], eax
mov eax, dword [esi + 0x1984]
mov eax, dword [eax + 0x44]
mov dword [ecx + 0x44], eax
mov eax, dword [esi + 0x1984]
mov eax, dword [eax + 0x48]
mov dword [ecx + 0x48], eax
mov eax, dword [esi + 0x1984]
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.1015ba40
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0xb0], 0
cmp dword [esi + 0x1c24], ecx
jne 0x10174daa
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 + 0x3178], 1
sete al
cmp byte [esp + 0x28], 0
mov byte [esi + 0x1c32], al
movss xmm7, dword [esi + 0x128]
subss xmm7, dword [esp + 0xb4]
subss xmm7, dword [esi + 0x1598]
addss xmm7, dword [edi + 0x38]
je 0x10174a4c
mov eax, dword [esp + 0x64]
movss xmm1, dword [esi + 0x12c]
subss xmm1, dword [eax + 0xf0]
jmp 0x10174a5c
movss xmm1, dword [esi + 0x1988]
mulss xmm1, dword [0x101f878c]
cmp byte [esp + 0x30], 0
mov al, byte [esi + 0xf5]
mov byte [esp + 0x13], al
jne 0x10174bda
mov dl, byte [esp + 0x4a]
test dl, dl
je 0x10174a89
test al, al
jne 0x10174af3
cmp byte [esi + 0x425], al
jne 0x10174bda
cmp byte [esi + 0x420], 0
je 0x10174b48
cmp byte [edi + 0xe6d], 0
jne 0x10174b48
test dl, dl
je 0x10174bf9
cmp byte [edi + 0x53], 0
je 0x10174aca
push 0
mov edx, edi
lea ecx, [esp + 0xdc]
call fcn.10172180
movss xmm1, dword [esp + 0xe4]
movaps xmm0, xmm7
mov ecx, edi
call fcn.101724d0
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 0x10174bf5
cmp byte [esi + 0x425], 0
je 0x10174a89
push 0x20000c
lea edx, [edi + 0x3c]
mov ecx, edi
call fcn.101728c0
push 0x60000d
lea edx, [edi + 0x3c]
mov byte [edi + 0xe6c], 1
mov ecx, edi
mov dword [edi + 0xe68], 0xbe99999a
call fcn.101728c0
mov esi, dword [esp + 0x14]
mov ecx, dword [ebp + 0x14]
mov byte [edi + 0xe6c], 1
mov dword [edi + 0xe68], 0xbe99999a
jmp 0x10174bf5
cmp byte [esi + 0x130], 0
je 0x10174bf9
cmp byte [edi + 0xe6d], 0
jne 0x10174c02
movss xmm0, dword [esi + 0x3b8]
xorps xmm2, xmm2
ucomiss xmm0, xmm2
lahf
test ah, 0x44
jp 0x10174b87
movss xmm0, dword [esi + 0x3bc]
ucomiss xmm0, xmm2
lahf
test ah, 0x44
jnp 0x10174bf9
cmp byte [edi + 0x53], 0
je 0x10174ba6
push 0
mov edx, edi
lea ecx, [esp + 0xdc]
call fcn.10172180
movss xmm1, dword [esp + 0xe4]
mov eax, dword [edi + 0x40]
cmp eax, dword [edi + 0x44]
jne 0x10174bb4
mov eax, dword [edi + 0x3c]
mov dword [edi + 0x40], eax
movaps xmm0, xmm7
mov ecx, edi
call fcn.101724d0
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 0x10174bf5
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 0x10174c12
cmp byte [esi + 0x130], 0
jne 0x10174c12
mov byte [edi + 0xe6d], 0
cmp byte [esi + 0x140], 0
je 0x10174c24
cmp byte [esi + 0x142], 0
je 0x10174c31
test al, al
je 0x10174c35
cmp byte [esi + 0x143], 0
je 0x10174c35
mov dh, 1
jmp 0x10174c37
xor dh, dh
mov byte [esp + 0x1c], dh
test ecx, 0x400
je 0x10174cdd
mov eax, dword [0x103501f8]
mov ecx, dword [eax + 0x78]
test ecx, ecx
js 0x10174cdd
mov dl, 1
call fcn.10156b10
test al, al
mov eax, dword [esp + 0x38]
je 0x10174ce1
test dh, dh
jne 0x10174ce1
cmp byte [esi + 0x141], dh
jne 0x10174ce1
test al, al
jne 0x10174ce1
mov ecx, dword [esi + 0x1558]
mov eax, dword [esi + 0x1550]
lea edx, [ecx + eax*2]
cmp ecx, edx
jae 0x10174ca0
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
cmp ax, 9
je 0x10174cdd
cmp ecx, edx
jb 0x10174c90
push dword [ebp + 0x1c]
mov edx, dword [ebp + 0x14]
lea ecx, [esp + 0x24]
push dword [ebp + 0x18]
mov dword [esp + 0x28], 9
call fcn.10173b40
test al, al
je 0x10174cdd
push dword [esp + 0x20]
lea edx, [edi + 0x3c]
mov ecx, edi
call fcn.101728c0
mov byte [edi + 0xe6c], 1
mov dword [edi + 0xe68], 0xbe99999a
mov eax, dword [esp + 0x38]
cmp dword [esi + 0x1550], 0
jle 0x10174daa
cmp byte [esp + 0x1c], 0
jne 0x10174d72
test al, al
jne 0x10174d72
cmp byte [esp + 0x12], al
jne 0x10174d72
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 0x10174d2c
cmp byte [ecx + 0x141], 0
jne 0x10174d65
push dword [ebp + 0x1c]
mov edx, dword [ebp + 0x14]
lea ecx, [esp + 0x24]
push dword [ebp + 0x18]
call fcn.10173b40
test al, al
je 0x10174d61
push dword [esp + 0x20]
lea edx, [edi + 0x3c]
mov ecx, edi
call fcn.101728c0
mov byte [edi + 0xe6c], 1
mov dword [edi + 0xe68], 0xbe99999a
mov ecx, dword [esp + 0x14]
inc esi
cmp esi, dword [ecx + 0x1550]
jl 0x10174d10
mov esi, dword [esp + 0x14]
mov ecx, dword [esi + 0x1554]
lea eax, [esi + 0x1550]
test ecx, ecx
jns 0x10174da4
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.101625f0
lea eax, [esi + 0x1550]
mov dword [eax], 0
mov eax, dword [esp + 0x2c]
xor cl, cl
mov byte [esp + 0x12], cl
cmp dword [esi + 0x1c24], eax
jne 0x10175fc3
cmp byte [esi + 0x1c30], cl
jne 0x10175882
cmp byte [esp + 0x3f], cl
jne 0x10175882
movss xmm0, dword [esp + 0x74]
subss xmm0, dword [esi + 0x159c]
mov ecx, dword [esp + 0x24]
divss xmm0, dword [esi + 0x1988]
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 0x10174e37
cmp dword [eax + 0x3c0], 0xa
jne 0x10174e37
mov byte [esp + 0x34], 1
jmp 0x10174e40
mov byte [esp + 0x34], 0
test cl, cl
je 0x10174e67
cmp byte [eax + 0x143], 0
mov cl, byte [eax + 0x142]
mov byte [esp + 0x1d], cl
je 0x10174e76
cmp byte [eax + 0x140], 0
jne 0x10174e76
test cl, cl
jne 0x10174e76
mov byte [esp + 0x13], 1
jmp 0x10174e7b
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 0x10174e93
cmp edx, 8
jmp 0x10174e96
cmp edx, 1
sete al
mov byte [esp + 0x35], al
test al, al
mov eax, dword [0x103501f8]
je 0x10174ec4
mov ecx, dword [eax + 0xc4]
test ecx, ecx
js 0x10174ec4
mov dl, 1
call fcn.10156b10
test al, al
jne 0x10174ede
mov eax, dword [0x103501f8]
mov edx, dword [esp + 0x18]
cmp edx, 2
jne 0x10174f05
mov ecx, dword [eax + 0xa0]
test ecx, ecx
js 0x10174f05
mov dl, 1
call fcn.10156b10
test al, al
je 0x10174f05
cmp byte [esp + 0x38], 0
jne 0x10174f05
cmp byte [esp + 0xac], 0
jne 0x10174f05
cmp byte [esp + 0x28], 0
je 0x10174efe
mov eax, dword [edi + 0x40]
cmp eax, dword [edi + 0x44]
je 0x10174f05
mov byte [esp + 0x1c], 1
jmp 0x10174f0a
mov byte [esp + 0x1c], 0
mov dh, byte [esp + 0x35]
mov eax, dword [0x103501f8]
test dh, dh
je 0x10174f31
mov ecx, dword [eax + 0xbc]
test ecx, ecx
js 0x10174f31
mov dl, 1
call fcn.10156b10
test al, al
jne 0x10174f4d
mov eax, dword [0x103501f8]
cmp dword [esp + 0x18], 1
jne 0x10174f70
mov ecx, dword [eax + 0x9c]
test ecx, ecx
js 0x10174f70
mov dl, 1
call fcn.10156b10
test al, al
je 0x10174f70
cmp byte [esp + 0xac], 0
jne 0x10174f70
cmp byte [esp + 0x28], 0
je 0x10174f66
mov eax, dword [edi + 0x40]
cmp eax, dword [edi + 0x44]
je 0x10174f70
mov byte [esp + 0x86], 1
jmp 0x10174f78
mov byte [esp + 0x86], 0
mov eax, dword [0x103501f8]
test dh, dh
je 0x10174f9b
mov ecx, dword [eax + 0xc0]
test ecx, ecx
js 0x10174f9b
mov dl, 1
call fcn.10156b10
test al, al
jne 0x10174fb7
mov eax, dword [0x103501f8]
cmp dword [esp + 0x18], 2
jne 0x10174fc6
mov ecx, dword [eax + 0x9c]
test ecx, ecx
js 0x10174fc6
mov dl, 1
call fcn.10156b10
test al, al
je 0x10174fc6
cmp byte [esp + 0x38], 0
mov byte [esp + 0x87], 1
je 0x10174fce
mov byte [esp + 0x87], 0
test dh, dh
je 0x10175003
mov eax, dword [0x103501f8]
mov ecx, dword [eax + 0xcc]
test ecx, ecx
js 0x10175003
mov dl, 1
call fcn.10156b10
test al, al
je 0x10175003
cmp byte [esp + 0x38], 0
jne 0x10175003
cmp byte [esp + 0xc4], 0
je 0x10175003
mov byte [esp + 0x5b], dl
jmp 0x1017500c
mov byte [esp + 0x5b], 0
test dh, dh
je 0x10175026
mov eax, dword [0x103501f8]
mov ecx, dword [eax + 0xc8]
test ecx, ecx
js 0x1017502b
mov dl, 1
call fcn.10156b10
test al, al
jne 0x10175047
mov eax, dword [0x103501f8]
cmp byte [esp + 0x34], 0
je 0x1017505c
mov ecx, dword [eax + 0xcc]
test ecx, ecx
js 0x1017505c
mov dl, 1
call fcn.10156b10
test al, al
je 0x1017505c
cmp byte [esp + 0x38], 0
jne 0x1017505c
cmp byte [esp + 0xc4], 0
je 0x1017505c
mov dh, 1
jmp 0x1017505e
xor dh, dh
mov eax, dword [0x103501f8]
mov ecx, dword [eax + 0x7c]
test ecx, ecx
js 0x101750bc
mov dl, 1
call fcn.10156b10
test al, al
je 0x101750b7
cmp byte [esp + 0x13], 0
je 0x10175093
mov eax, 0x200004
lea edx, [edi + 0x3c]
or eax, esi
mov ecx, edi
push eax
call fcn.101728c0
jmp 0x10175849
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.101728c0
jmp 0x10175849
mov eax, dword [0x103501f8]
mov ecx, dword [eax + 0x80]
test ecx, ecx
js 0x10175118
mov dl, 1
call fcn.10156b10
test al, al
je 0x10175113
cmp byte [esp + 0x13], 0
je 0x101750ef
mov eax, 0x200005
lea edx, [edi + 0x3c]
or eax, esi
mov ecx, edi
push eax
call fcn.101728c0
jmp 0x10175849
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.101728c0
jmp 0x10175849
mov eax, dword [0x103501f8]
mov ecx, dword [eax + 0x84]
test ecx, ecx
js 0x1017519f
mov dl, 1
call fcn.10156b10
test al, al
je 0x1017519a
cmp byte [esp + 0x28], 0
je 0x1017519a
mov eax, dword [esp + 0x14]
cmp byte [eax + 0x140], 0
je 0x1017517c
mov edx, dword [esp + 0x64]
mov esi, eax
xorps xmm1, xmm1
movss xmm0, dword [edx + 0x78]
subss xmm0, dword [esi + 0x1988]
mov dword [edx + 0x90], 0
mov dword [edx + 0x98], 0
maxss xmm0, xmm1
movss dword [edx + 0x88], xmm0
jmp 0x1017585e
movzx eax, byte [esp + 0x13]
lea edx, [edi + 0x3c]
mov ecx, edi
lea eax, [eax*4 + 0x200002]
or eax, esi
push eax
call fcn.101728c0
jmp 0x10175849
mov eax, dword [0x103501f8]
mov ecx, dword [eax + 0x88]
test ecx, ecx
js 0x10175236
mov dl, 1
call fcn.10156b10
test al, al
je 0x10175231
cmp byte [esp + 0x28], 0
je 0x10175231
mov eax, dword [esp + 0x14]
cmp byte [eax + 0x140], 0
je 0x10175213
mov ecx, dword [esp + 0x64]
mov esi, eax
mov eax, dword [0x103501f8]
movss xmm0, dword [esi + 0x1988]
mov eax, dword [eax + 0x1bec]
addss xmm0, dword [ecx + 0x78]
minss xmm0, dword [eax + 0x80]
mov dword [ecx + 0x90], 0
mov dword [ecx + 0x98], 0
movss dword [ecx + 0x88], xmm0
jmp 0x1017585e
movzx eax, byte [esp + 0x13]
lea edx, [edi + 0x3c]
mov ecx, edi
lea eax, [eax*4 + 0x200003]
or eax, esi
push eax
call fcn.101728c0
jmp 0x10175849
mov eax, dword [0x103501f8]
mov ecx, dword [eax + 0x8c]
test ecx, ecx
js 0x101752a3
mov dl, 1
call fcn.10156b10
test al, al
je 0x1017529e
cmp byte [esp + 0x28], 0
je 0x1017529e
or esi, 0x20000e
lea edx, [edi + 0x3c]
push esi
mov ecx, edi
call fcn.101728c0
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 + 0x1988]
subss xmm1, xmm0
movss dword [esp + 0x68], xmm1
jmp 0x1017585e
mov eax, dword [0x103501f8]
mov ecx, dword [eax + 0x90]
test ecx, ecx
js 0x1017530c
mov dl, 1
call fcn.10156b10
test al, al
je 0x10175307
cmp byte [esp + 0x28], 0
je 0x10175307
or esi, 0x20000f
lea edx, [edi + 0x3c]
push esi
mov ecx, edi
call fcn.101728c0
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 + 0x1988]
addss xmm0, dword [esp + 0x68]
movss dword [esp + 0x68], xmm0
jmp 0x1017585e
mov eax, dword [0x103501f8]
mov ecx, dword [eax + 0x94]
test ecx, ecx
js 0x10175351
mov dl, 1
call fcn.10156b10
test al, al
je 0x1017534c
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.101728c0
jmp 0x10175849
mov eax, dword [0x103501f8]
mov ecx, dword [eax + 0x98]
test ecx, ecx
js 0x10175396
mov dl, 1
call fcn.10156b10
test al, al
je 0x10175391
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.101728c0
jmp 0x10175849
mov eax, dword [0x103501f8]
mov ecx, dword [eax + 0xa0]
test ecx, ecx
js 0x101753cd
mov dl, 1
call fcn.10156b10
test al, al
je 0x101753c8
cmp byte [esp + 0x38], 0
jne 0x101753c8
or esi, 0x200008
lea edx, [edi + 0x3c]
push esi
mov ecx, edi
call fcn.101728c0
jmp 0x10175849
mov eax, dword [0x103501f8]
mov ecx, dword [eax + 0xa4]
test ecx, ecx
js 0x10175462
mov dl, 1
call fcn.10156b10
test al, al
je 0x10175462
cmp byte [esp + 0x38], 0
jne 0x10175462
mov eax, dword [edi + 0x40]
cmp eax, dword [edi + 0x44]
jne 0x1017544c
cmp byte [esp + 0x1d], 0
je 0x10175403
push 0x60000c
jmp 0x10175431
cmp byte [esp + 0x8f], 0
je 0x1017544c
mov eax, dword [esp + 0x14]
cmp byte [eax + 0x143], 0
je 0x1017544c
cmp byte [eax + 0x142], 0
jne 0x1017544c
cmp byte [eax + 0x140], 0
jne 0x1017544c
push 0x600004
lea edx, [edi + 0x3c]
mov ecx, edi
call fcn.101728c0
mov dword [edi + 0xe68], 0xbe99999a
mov byte [edi + 0xe6c], 1
or esi, 0x200009
lea edx, [edi + 0x3c]
push esi
mov ecx, edi
call fcn.101728c0
jmp 0x10175849
mov esi, dword [0x103501f8]
mov ecx, dword [esi + 0xac]
test ecx, ecx
js 0x1017547d
mov dl, 1
call fcn.10156b10
test al, al
jne 0x1017549a
mov ecx, dword [esi + 0xb4]
test ecx, ecx
js 0x1017551e
mov dl, 1
call fcn.10156b10
test al, al
je 0x1017551e
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 0x101754bd
mov cl, byte [esi + 0x140]
test al, al
je 0x101754cc
test cl, cl
jne 0x101754d0
mov byte [esp + 0x3f], 1
mov byte [esp + 0x36], 1
jmp 0x1017585e
test cl, cl
jne 0x101754bd
cmp byte [esp + 0x38], 0
jne 0x1017585e
push dword [ebp + 0x1c]
lea ecx, [esp + 0x24]
mov dword [esp + 0x24], 0xa
push dword [ebp + 0x18]
call fcn.10173b40
test al, al
je 0x1017585e
push dword [esp + 0x20]
lea edx, [edi + 0x3c]
mov ecx, edi
call fcn.101728c0
mov byte [edi + 0xe6c], 1
mov dword [edi + 0xe68], 0xbe99999a
jmp 0x1017585e
mov ecx, dword [esi + 0xb0]
test ecx, ecx
js 0x10175542
mov dl, 1
call fcn.10156b10
test al, al
je 0x10175542
mov esi, dword [esp + 0x14]
mov cl, dl
mov byte [esp + 0x3f], cl
jmp 0x10175862
mov al, byte [esp + 0x5b]
test al, al
jne 0x1017582a
test dh, dh
jne 0x1017582a
cmp byte [esp + 0x35], dh
je 0x10175589
mov ecx, dword [esi + 0xb8]
test ecx, ecx
js 0x10175589
mov dl, 1
call fcn.10156b10
test al, al
je 0x10175589
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 0x10175853
cmp byte [esp + 0x1c], 0
jne 0x10175729
cmp byte [esp + 0x86], 0
jne 0x10175729
cmp byte [esp + 0x87], 0
je 0x1017585a
mov eax, dword [esi + 0x114]
test eax, eax
je 0x101755cd
mov ecx, dword [esi + 0x11c]
call eax
mov esi, eax
test esi, esi
jne 0x101755d2
jmp 0x1017585a
mov esi, 0x101d04ee
mov ecx, esi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x101755d7
mov eax, dword [0x103501f8]
sub ecx, edx
test eax, eax
je 0x101755ef
inc dword [eax + 0x3b4]
lea eax, [ecx*2 + 2]
push eax
call fcn.101a7b6a
mov ecx, eax
add esp, 4
xor eax, eax
mov dword [esp + 0xa4], ecx
mov dword [esp + 0x30], eax
cmp byte [esi], al
je 0x10175669
xor edi, edi
push 0
mov edx, esi
lea ecx, [esp + 0x1c]
call fcn.10150450
add esi, eax
cmp dword [esp + 0x18], 0
je 0x10175656
push dword [ebp + 0x1c]
mov edx, dword [ebp + 0x14]
lea ecx, [esp + 0x1c]
push dword [ebp + 0x18]
call fcn.10173b40
test al, al
je 0x10175651
mov ecx, dword [esp + 0xa4]
mov ax, word [esp + 0x18]
mov word [ecx + edi*2], ax
inc edi
cmp byte [esi], 0
jne 0x10175614
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 0x10175708
mov edx, dword [edi + 0x44]
mov ecx, dword [edi + 0x40]
mov eax, dword [edi + 4]
cmp ecx, edx
je 0x1017569d
cmp ecx, eax
jle 0x1017568d
mov dword [edi + 0x40], eax
mov ecx, eax
cmp edx, eax
jle 0x10175696
mov dword [edi + 0x44], eax
mov edx, eax
cmp ecx, edx
jne 0x1017569d
mov dword [edi + 0x3c], ecx
cmp dword [edi + 0x3c], eax
jle 0x101756a5
mov dword [edi + 0x3c], eax
lea edx, [edi + 0x3c]
mov ecx, edi
call fcn.10172840
push dword [esp + 0x30]
mov edx, dword [edi + 0x3c]
mov ecx, edi
push dword [esp + 0xa8]
call fcn.10172370
test al, al
je 0x101756e6
push dword [esp + 0x30]
mov edx, dword [edi + 0x3c]
lea ecx, [edi + 0x5c]
push 0
call fcn.10173840
mov eax, dword [esp + 0x30]
add dword [edi + 0x3c], eax
mov byte [edi + 0x52], 0
jmp 0x101756fa
movzx eax, word [edi + 0xe5a]
test ax, ax
je 0x101756fa
dec eax
mov word [edi + 0xe5a], ax
mov ecx, dword [esp + 0xa4]
mov byte [edi + 0xe6c], 1
test ecx, ecx
je 0x1017571b
mov eax, dword [0x103501f8]
test eax, eax
je 0x1017571b
dec dword [eax + 0x3b4]
push ecx
call fcn.101a6c29
add esp, 4
jmp 0x1017585a
mov eax, dword [esp + 0x14]
cmp dword [eax + 0x118], 0
je 0x101757e8
mov ecx, dword [edi + 0x44]
mov eax, dword [edi + 0x40]
cmp eax, ecx
je 0x10175752
mov edx, ecx
cmovge ecx, eax
cmovl edx, eax
mov dword [esp + 0x18], edx
jmp 0x1017575d
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.10150680
inc eax
mov dword [esp + 0x40], eax
test esi, esi
je 0x10175782
inc dword [esi + 0x3b4]
push eax
call fcn.101a7b6a
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.101505c0
mov ecx, dword [0x103501f8]
mov eax, dword [ecx + 0x118]
test eax, eax
je 0x101757d1
mov ecx, dword [ecx + 0x11c]
mov edx, esi
call eax
mov ecx, dword [0x103501f8]
test esi, esi
je 0x101757df
test ecx, ecx
je 0x101757df
dec dword [ecx + 0x3b4]
push esi
call fcn.101a6c29
add esp, 4
cmp byte [esp + 0x1c], 0
je 0x1017585a
mov eax, dword [edi + 0x40]
cmp eax, dword [edi + 0x44]
jne 0x1017580b
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 0x1017585a
lea edx, [edi + 0x3c]
mov ecx, edi
call fcn.10172840
mov byte [edi + 0x52], 0
jmp 0x1017585a
movzx eax, al
lea edx, [edi + 0x3c]
xor eax, 1
mov ecx, edi
add eax, 0x20000a
push eax
call fcn.101728c0
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 0x10175875
cmp byte [esp + 0x1f], 0
je 0x10175875
mov al, 1
jmp 0x10175877
xor al, al
or byte [esp + 0xa8], al
mov eax, dword [esp + 0x2c]
cmp dword [esi + 0x1c24], eax
jne 0x10175fc3
mov dword [esp + 0x54], 0
mov dword [esp + 0x24], 0
test cl, cl
je 0x10175aa3
cmp byte [esp + 0x38], 0
jne 0x10175a8d
mov esi, dword [edi + 0x2c]
mov ecx, esi
mov eax, dword [ebp + 8]
nop dword [eax]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x101758e0
test dl, dl
je 0x101758dc
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x101758e0
add eax, 2
add ecx, 2
test dl, dl
jne 0x101758c0
xor eax, eax
jmp 0x101758e5
sbb eax, eax
or eax, 1
test eax, eax
je 0x10175a8d
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 0x10175a03
lea edi, [eax + ecx]
xor eax, eax
mov dword [esp + 0x18], eax
test edi, edi
je 0x1017591a
cmp esi, edi
jae 0x1017593b
cmp byte [esi], 0
je 0x1017593b
push edi
mov edx, esi
lea ecx, [esp + 0x44]
call fcn.10150450
add esi, eax
cmp dword [esp + 0x40], 0
mov eax, dword [esp + 0x18]
je 0x1017593b
inc eax
jmp 0x1017590e
lea edx, [eax + 1]
mov dword [esp + 0x90], edx
test edx, edx
jle 0x1017597f
mov eax, 8
mov ecx, edx
cmp edx, eax
cmovl ecx, eax
test ecx, ecx
jle 0x1017597f
mov eax, dword [0x103501f8]
test eax, eax
je 0x10175968
inc dword [eax + 0x3b4]
lea eax, [ecx + ecx]
push eax
call fcn.101a7b6a
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 0x101759fe
mov edi, dword [esp + 0x20]
nop dword [eax]
test edi, edi
je 0x101759b8
cmp esi, edi
jae 0x101759fa
cmp byte [esi], 0
je 0x101759fa
push edi
mov edx, esi
lea ecx, [esp + 0x44]
call fcn.10150450
mov ecx, dword [esp + 0x40]
add esi, eax
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x90]
test ecx, ecx
je 0x101759fa
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 0x101759b0
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.10173840
mov edx, eax
test edx, edx
je 0x10175a40
xor ecx, ecx
test esi, esi
jle 0x10175a40
nop
mov eax, dword [edi + 0x14]
mov ax, word [eax + ecx*2]
mov word [edx + ecx*2], ax
inc ecx
cmp ecx, esi
jl 0x10175a30
push dword [edi + 4]
xor edx, edx
mov ecx, edi
call fcn.10172300
mov esi, dword [esp + 0x40]
test esi, esi
jle 0x10175a6d
push esi
push dword [esp + 0x34]
xor edx, edx
mov ecx, edi
call fcn.10172370
test al, al
je 0x10175a6d
mov dword [edi + 0x3c], esi
mov byte [edi + 0x52], 0
mov ecx, dword [esp + 0x30]
test ecx, ecx
je 0x10175a8d
mov eax, dword [0x103501f8]
test eax, eax
je 0x10175a84
dec dword [eax + 0x3b4]
push ecx
call fcn.101a6c29
add esp, 4
cmp byte [esp + 0x36], 0
mov eax, dword [ebp + 0x14]
je 0x10175ec8
test al, 0x20
je 0x10175ec8
cmp byte [esp + 0x38], 0
jne 0x10175b00
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 0x10175aef
test eax, eax
je 0x10175ad5
cdq
sub eax, edx
lea edx, [edi + 0x18]
mov ecx, eax
sar ecx, 1
add ecx, dword [edx + 4]
jmp 0x10175add
mov ecx, 8
lea edx, [edi + 0x18]
cmp ecx, esi
mov eax, esi
cmovg eax, ecx
mov ecx, edx
push eax
call fcn.100c1720
lea ecx, [edi + 0x18]
mov dword [ecx], esi
mov edx, esi
mov ecx, dword [edi + 0x20]
push 0
push dword [edi + 0x14]
call fcn.101505c0
mov edx, dword [ebp + 0x14]
test edx, 0x801c0
je 0x10175e80
mov esi, dword [0x103501f8]
test dl, 0x40
je 0x10175b38
mov ecx, dword [esi + 0x78]
test ecx, ecx
js 0x10175b38
mov dl, 1
call fcn.10156b10
mov edx, dword [ebp + 0x14]
test al, al
je 0x10175b38
mov eax, 0x40
xor ecx, ecx
jmp 0x10175bb0
test dl, dl
jns 0x10175b80
mov ecx, dword [esi + 0x84]
test ecx, ecx
js 0x10175b5e
mov dl, 1
call fcn.10156b10
mov edx, dword [ebp + 0x14]
test al, al
je 0x10175b5e
mov eax, 0x80
lea ecx, [eax - 0x7d]
jmp 0x10175bb0
mov ecx, dword [esi + 0x88]
test ecx, ecx
js 0x10175b80
mov dl, 1
call fcn.10156b10
mov edx, dword [ebp + 0x14]
test al, al
je 0x10175b80
mov eax, 0x80
lea ecx, [eax - 0x7c]
jmp 0x10175bb0
test edx, 0x80000
je 0x10175b98
cmp byte [edi + 0xe6e], 0
je 0x10175b98
mov eax, 0x80000
jmp 0x10175bab
test edx, 0x100
mov ecx, 0x100
mov eax, 0
cmovne eax, ecx
mov ecx, 0x16
test eax, eax
je 0x10175e80
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.10150680
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.10150680
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.10150680
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 0x10175c8f
test al, al
je 0x10175ce3
mov esi, dword [esp + 0x104]
xor eax, eax
lea edi, [edx + esi]
mov dword [esp + 0x18], eax
test edi, edi
je 0x10175ca7
cmp esi, edi
jae 0x10175cc8
cmp byte [esi], 0
je 0x10175cc8
push edi
mov edx, esi
lea ecx, [esp + 0x44]
call fcn.10150450
add esi, eax
cmp dword [esp + 0x40], 0
mov eax, dword [esp + 0x18]
je 0x10175cc8
inc eax
jmp 0x10175c9b
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 0x10175ce7
mov edi, dword [esp + 0x4c]
mov ecx, dword [esp + 0x118]
cmp ecx, dword [esp + 0x60]
jne 0x10175cf8
test al, al
je 0x10175d48
cmp ecx, edx
jne 0x10175d01
mov eax, dword [edi + 0x3c]
jmp 0x10175d45
mov esi, dword [esp + 0x104]
xor eax, eax
lea edi, [ecx + esi]
mov dword [esp + 0x18], eax
test edi, edi
je 0x10175d19
cmp esi, edi
jae 0x10175d3a
cmp byte [esi], 0
je 0x10175d3a
push edi
mov edx, esi
lea ecx, [esp + 0x44]
call fcn.10150450
add esi, eax
cmp dword [esp + 0x40], 0
mov eax, dword [esp + 0x18]
je 0x10175d3a
inc eax
jmp 0x10175d0d
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 0x10175d60
cmp byte [esp + 0x1c], 0
je 0x10175e80
cmp eax, ecx
jne 0x10175d69
mov eax, dword [edi + 0x40]
jmp 0x10175da6
mov esi, dword [esp + 0x104]
lea edi, [eax + esi]
xor eax, eax
mov dword [esp + 0x18], eax
test edi, edi
je 0x10175d81
cmp esi, edi
jae 0x10175da2
cmp byte [esi], 0
je 0x10175da2
push edi
mov edx, esi
lea ecx, [esp + 0x44]
call fcn.10150450
add esi, eax
cmp dword [esp + 0x40], 0
mov eax, dword [esp + 0x18]
je 0x10175da2
inc eax
jmp 0x10175d75
mov edi, dword [esp + 0x4c]
cmp byte [esp + 0x1c], 0
mov dword [edi + 0x44], eax
je 0x10175e80
mov esi, dword [esp + 0x108]
mov ecx, dword [esp + 0xb0]
cmp esi, ecx
jle 0x10175e06
cmp byte [esp + 0x50], 0
je 0x10175e06
mov eax, dword [edi + 0x10]
sub esi, ecx
add esi, dword [edi + 0xc]
cmp esi, eax
jle 0x10175e03
test eax, eax
je 0x10175dec
cdq
sub eax, edx
lea edx, [edi + 0xc]
mov ecx, eax
sar ecx, 1
add ecx, dword [edx + 4]
jmp 0x10175df4
mov ecx, 8
lea edx, [edi + 0xc]
cmp ecx, esi
mov eax, esi
cmovg eax, ecx
mov ecx, edx
push eax
call fcn.101625f0
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 0x10175e60
mov edi, dword [esp + 0x40]
nop dword [eax]
cmp byte [edi], 0
je 0x10175e58
push 0
mov edx, edi
lea ecx, [esp + 0x44]
call fcn.10150450
add edi, eax
mov eax, dword [esp + 0x40]
test eax, eax
je 0x10175e58
mov word [esi], ax
add esi, 2
cmp esi, dword [esp + 0x60]
jb 0x10175e30
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 0x10175ec5
mov esi, dword [edi + 0x20]
mov eax, esi
mov ecx, dword [ebp + 8]
nop
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x10175eb0
test dl, dl
je 0x10175eac
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x10175eb0
add eax, 2
add ecx, 2
test dl, dl
jne 0x10175e90
xor eax, eax
jmp 0x10175eb5
sbb eax, eax
or eax, 1
test eax, eax
mov eax, dword [ebp + 0x14]
je 0x10175ec8
mov ecx, dword [edi + 8]
mov dword [esp + 0x54], esi
jmp 0x10175ecc
mov eax, dword [ebp + 0x14]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x54]
test edx, edx
je 0x10175fa1
cmp byte [esp + 0x50], 0
je 0x10175f72
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 0x10175f75
mov esi, dword [ebp + 0xc]
lea eax, [ecx + 1]
cmp eax, esi
cmovl esi, eax
cmp esi, 1
jb 0x10175f9c
jbe 0x10175f94
lea eax, [esi - 1]
push eax
push edx
push dword [ebp + 8]
call fcn.101a6320
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 0x10175fdf
cmp dword [esi + 0x1c24], ecx
jne 0x10175fdf
call fcn.10152c70
mov ecx, dword [esp + 0x2c]
cmp byte [esp + 0x28], 0
jne 0x10176178
mov edx, ecx
lea ecx, [esp + 0xb4]
push 1
call fcn.101520e0
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.10151e80
mov ecx, dword [esp + 0x5c]
sub esp, 0x18
cmp byte [esp + 0x62], 0
mov edx, dword [0x10224ca0]
movss xmm0, dword [esi + 0x15a0]
mov eax, dword [ecx + 0x2c4]
mov ecx, esp
movss dword [esp + 0x58], xmm0
movups xmm0, xmmword [edx + 0x38b8]
mov dword [esp + 0x78], eax
mov eax, dword [edx + 0x38c8]
movups xmmword [ecx], xmm0
mov dword [ecx + 0x10], eax
mov al, byte [edx + 0x38cc]
mov byte [ecx + 0x14], al
jne 0x10176091
movss xmm0, dword [0x101f878c]
call fcn.100bdbb0
mov ecx, eax
mov dword [esp + 0x50], ecx
jmp 0x1017609c
call fcn.100bda30
mov ecx, eax
mov dword [esp + 0x50], eax
mov eax, dword [0x103501f8]
movss xmm1, dword [eax + 0x1560]
comiss xmm1, dword [0x101f87f8]
jae 0x101760e7
mov eax, ecx
shr eax, 0x18
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x101f9180]
cvtpd2ps xmm0, xmm0
mulss xmm0, xmm1
call fcn.101c0630
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.10165800
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 0x101761db
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 + 0xf0]
movaps xmm0, xmm2
movss dword [esp + 0x18], xmm0
movss dword [esp + 0xe4], xmm0
movss xmm0, dword [eax + 0xec]
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 0x10176245
mov eax, dword [edi + 0x20]
mov dword [ebp + 8], eax
mov dh, byte [esp + 0x1e]
mov dword [esp + 0x24], 0
test dh, dh
je 0x10176279
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 0x10176261
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 0x1017663c
cmp byte [esp + 0xa8], al
jne 0x1017663c
cmp byte [esp + 0x28], al
je 0x101762ec
mov eax, dword [ebp + 8]
xor ecx, ecx
mov dl, byte [eax]
lea edi, [eax + 1]
test dl, dl
je 0x101762b8
cmp dl, 0xa
lea eax, [ecx + 1]
mov dl, byte [edi]
cmovne eax, ecx
inc edi
mov ecx, eax
test dl, dl
jne 0x101762a6
mov al, byte [edi - 1]
dec edi
mov dword [esp + 0x24], edi
cmp al, 0xa
je 0x101762c9
cmp al, 0xd
je 0x101762c9
inc ecx
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [esi + 0x1988]
movss dword [esp + 0x20], xmm0
movaps xmm0, xmm4
movss dword [esp + 0xc4], xmm0
jmp 0x10176339
test dh, dh
jne 0x10176325
mov eax, dword [esp + 0x2c]
cmp dword [esi + 0x1c24], eax
jne 0x10176308
mov edi, dword [edi + 8]
add edi, dword [ebp + 8]
mov dword [esp + 0x24], edi
jmp 0x10176329
mov edi, dword [ebp + 8]
mov ecx, edi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10176310
sub ecx, edx
mov dh, byte [esp + 0x1e]
add edi, ecx
mov dword [esp + 0x24], edi
jmp 0x10176329
mov edi, dword [esp + 0x24]
mov eax, edi
sub eax, dword [ebp + 8]
cmp eax, 0x200000
jge 0x1017647b
movss xmm0, dword [0x101f87f8]
movzx ecx, dh
call fcn.10151070
cmp byte [esp + 0x28], 0
lea edx, [esp + 0xd8]
movss xmm2, dword [esi + 0x1988]
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 + 0x2c4]
mov eax, dword [esi + 0x1984]
mov esi, dword [esp + 0x24]
mov ecx, esi
mov dword [esp + 0x50], eax
je 0x10176477
test esi, esi
jne 0x101763b4
mov ecx, dword [ebp + 8]
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x101763a0
mov eax, dword [esp + 0x50]
sub ecx, esi
mov esi, dword [ebp + 8]
add ecx, esi
jmp 0x101763b7
mov esi, dword [ebp + 8]
cmp esi, ecx
je 0x10177379
test eax, eax
jne 0x101763cb
mov eax, dword [edi + 0x2c]
mov esi, dword [eax + 8]
jmp 0x101763cf
mov esi, dword [esp + 0x50]
ucomiss xmm2, dword [0x101f8698]
lahf
test ah, 0x44
jp 0x101763e4
mov eax, dword [edi + 0x2c]
movss xmm2, dword [eax + 0xc]
movups xmm0, xmmword [edi + 0x60]
movups xmmword [esp + 0x70], xmm0
test edx, edx
je 0x10176440
movss xmm1, dword [edx]
movss xmm0, dword [esp + 0x70]
comiss xmm0, xmm1
jae 0x10176406
movss dword [esp + 0x70], xmm1
movss xmm1, dword [edx + 4]
movss xmm0, dword [esp + 0x74]
comiss xmm0, xmm1
jae 0x1017641c
movss dword [esp + 0x74], xmm1
movss xmm0, dword [edx + 8]
comiss xmm0, dword [esp + 0x78]
ja 0x1017642e
movss dword [esp + 0x78], xmm0
movss xmm0, dword [edx + 0xc]
comiss xmm0, dword [esp + 0x7c]
ja 0x10176440
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.101684f0
mov edi, dword [esp + 0x24]
mov esi, dword [ebp + 8]
cmp byte [esp + 0xac], 0
je 0x10176494
cmp byte [esp + 0x1e], 0
jne 0x10176494
call fcn.1015baf0
cmp byte [esp + 0x28], 0
je 0x10176552
mov eax, dword [esp + 0x14]
mov ecx, dword [0x103501f8]
movss xmm0, dword [esp + 0x20]
movss xmm4, dword [esp + 0xc4]
addss xmm0, dword [eax + 0x159c]
mov eax, dword [ecx + 0x1bec]
movss dword [esp + 0x70], xmm4
mov byte [eax + 0xa8], 1
mov eax, dword [ecx + 0x1bec]
movss dword [esp + 0x74], xmm0
cmp byte [eax + 0xab], 0
jne 0x10176548
movss xmm1, dword [eax + 0xf0]
lea ecx, [esp + 0x70]
movss xmm3, dword [eax + 0xec]
movaps xmm2, xmm1
addss xmm2, xmm0
movss dword [esp + 0xd8], xmm3
movss xmm0, dword [0x101f8bd4]
addss xmm4, xmm3
movss dword [esp + 0xdc], xmm1
movss dword [esp + 0xe4], xmm2
movss dword [esp + 0xe0], xmm4
call fcn.1015c030
push 0
xor edx, edx
lea ecx, [esp + 0xdc]
call fcn.1015c160
call fcn.10156de0
call fcn.1015c700
mov eax, dword [esp + 0x14]
cmp byte [eax + 0x2f3c], 0
je 0x1017659c
cmp byte [esp + 0xac], 0
je 0x10176570
cmp byte [esp + 0x1e], 0
je 0x1017659c
mov eax, dword [0x103501f8]
lea ecx, [esp + 0xcc]
push edi
mov edx, esi
mov dword [eax + 0x2f54], 0x101f6a0c
mov dword [eax + 0x2f58], 0x101f6a08
call fcn.10161300
mov eax, dword [esp + 0x14]
movss xmm0, dword [esp + 0xd4]
comiss xmm0, dword [0x101f8698]
jbe 0x101765f8
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.101512c0
mov dl, byte [esp + 0x37]
mov ecx, dword [ebp + 0x14]
test dl, dl
je 0x10176626
test ecx, 0x200000
jne 0x10176626
mov eax, dword [0x103501f8]
mov word [eax + 0x1c35], 0x101
mov eax, dword [eax + 0x1bec]
or dword [eax + 0x13c], 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 0x1017664e
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 0x10176698
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 0x101766c4
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 0x10176748
mov edi, dword [esp + 0x2c]
movzx esi, word [edi]
mov edi, dword [esp + 0x54]
cmp si, 0xa
jne 0x10176727
inc eax
mov dword [esp + 0x90], eax
cmp edi, 0xffffffff
jne 0x10176711
cmp ecx, dword [esp + 0x6c]
jb 0x10176711
dec edx
mov edi, eax
test edx, edx
jle 0x1017673c
cmp dword [esp + 0x30], 0xffffffff
jne 0x10176727
cmp ecx, dword [esp + 0x5c]
jb 0x10176727
dec edx
mov dword [esp + 0x30], eax
test edx, edx
jle 0x1017673c
movzx eax, word [ecx + 2]
add ecx, 2
mov esi, eax
test ax, ax
mov eax, dword [esp + 0x90]
jne 0x101766f1
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 0x10176786
cmp word [ecx - 2], 0xa
je 0x10176786
add ecx, 0xfffffffe
cmp ecx, edx
ja 0x10176778
mov edx, dword [0x103501f8]
movaps xmm4, xmm6
movss dword [esp + 0x54], xmm4
movaps xmm1, xmm6
mov eax, dword [edx + 0x1984]
movss xmm2, dword [edx + 0x1988]
divss xmm2, dword [eax + 0x10]
cmp ecx, esi
jae 0x1017680b
mov edi, eax
movzx eax, word [ecx]
add ecx, 2
mov esi, eax
cmp eax, 0xa
jne 0x101767cb
comiss xmm4, xmm1
jae 0x101767c6
movaps xmm4, xmm1
movaps xmm1, xmm6
jmp 0x101767ed
cmp esi, 0xd
je 0x101767ed
mov esi, eax
cmp esi, dword [edi]
jge 0x101767e0
mov eax, dword [edi + 8]
movss xmm0, dword [eax + esi*4]
jmp 0x101767e5
movss xmm0, dword [edi + 0xc]
mulss xmm0, xmm2
addss xmm1, xmm0
cmp ecx, dword [esp + 0x6c]
jb 0x101767b1
comiss xmm1, xmm4
mov edi, dword [esp + 0x4c]
movss dword [esp + 0x54], xmm4
jbe 0x1017680b
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 + 0x1988]
mulss xmm3, xmm0
movss dword [esp + 0x40], xmm3
jl 0x101768eb
mov eax, dword [esp + 0x5c]
mov ecx, eax
cmp eax, dword [esp + 0x2c]
jbe 0x10176857
mov edi, dword [esp + 0x2c]
cmp word [ecx - 2], 0xa
je 0x10176853
add ecx, 0xfffffffe
cmp ecx, edi
ja 0x10176845
mov edi, dword [esp + 0x4c]
movaps xmm1, xmm6
mov eax, dword [edx + 0x1984]
movss xmm3, dword [edx + 0x1988]
divss xmm3, dword [eax + 0x10]
cmp ecx, dword [esp + 0x5c]
jae 0x101768ca
mov edi, eax
movzx eax, word [ecx]
add ecx, 2
mov esi, eax
cmp eax, 0xa
jne 0x1017688f
comiss xmm7, xmm1
jae 0x1017688a
movaps xmm7, xmm1
movaps xmm1, xmm6
jmp 0x101768b4
cmp esi, 0xd
je 0x101768b4
mov esi, eax
cmp esi, dword [edi]
jge 0x101768a4
mov eax, dword [edi + 8]
movss xmm2, dword [eax + esi*4]
jmp 0x101768a9
movss xmm2, dword [edi + 0xc]
movaps xmm0, xmm3
mulss xmm0, xmm2
addss xmm1, xmm0
cmp ecx, dword [esp + 0x5c]
jb 0x10176875
comiss xmm1, xmm7
mov edi, dword [esp + 0x4c]
mov esi, dword [esp + 0x14]
jbe 0x101768ca
movaps xmm7, xmm1
movd xmm3, dword [esp + 0x30]
movss xmm0, dword [esi + 0x1988]
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 0x1017691e
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 0x10176a43
cmp byte [edi + 0xe6c], 0
je 0x10176a43
test dword [ebp + 0x14], 0x1000
jne 0x1017699c
movaps xmm2, xmm1
subss xmm1, dword [esi + 0x1598]
mulss xmm2, dword [0x101f874c]
movss dword [esp + 0x88], xmm1
movss xmm1, dword [edi + 0x38]
comiss xmm1, xmm4
jbe 0x10176975
movaps xmm1, xmm4
movaps xmm0, xmm6
subss xmm1, xmm2
maxss xmm0, xmm1
jmp 0x1017698a
movaps xmm0, xmm4
subss xmm0, dword [esp + 0x88]
comiss xmm0, xmm1
jb 0x101769a3
addss xmm0, xmm2
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [edi + 0x38], xmm0
jmp 0x101769a3
mov dword [edi + 0x38], 0
test cl, cl
je 0x10176a3c
movss xmm2, dword [esp + 0x68]
movaps xmm0, xmm3
subss xmm0, dword [esi + 0x1988]
comiss xmm2, xmm0
jbe 0x101769d0
movss xmm3, dword [esp + 0x74]
movaps xmm2, xmm6
maxss xmm2, xmm0
jmp 0x101769f2
movaps xmm0, xmm3
movss xmm3, dword [esp + 0x74]
subss xmm0, xmm3
comiss xmm0, xmm2
jb 0x101769f2
movss xmm2, dword [esi + 0x159c]
addss xmm2, xmm2
addss xmm2, xmm0
comiss xmm6, xmm2
movss xmm1, dword [esi + 0x159c]
jbe 0x10176a04
movaps xmm1, xmm6
jmp 0x10176a18
addss xmm1, xmm1
addss xmm1, xmm5
subss xmm1, xmm3
maxss xmm1, xmm6
minss xmm1, xmm2
mov eax, dword [esp + 0x64]
movss xmm0, dword [eax + 0x78]
subss xmm0, xmm1
addss xmm0, dword [esp + 0xd0]
movss dword [esp + 0xd0], xmm0
movss dword [eax + 0x78], xmm1
mov byte [edi + 0xe6c], 0
mov eax, dword [0x10224cac]
movss xmm5, dword [edi + 0x38]
mov ecx, dword [esp + 0xa8]
movss xmm4, dword [0x101f8b00]
movss dword [esp + 0x68], xmm5
mov byte [eax], cl
test cl, cl
je 0x10176f92
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 0x10176aa2
movss xmm0, dword [0x101f87f8]
jmp 0x10176aaa
movss xmm0, dword [0x101f8798]
mov ecx, 0x30
call fcn.10151070
mov dword [esp + 0xa8], eax
xorps xmm0, xmm0
mov eax, dword [esp + 0x28]
test al, al
je 0x10176ace
xorps xmm5, xmm5
xorps xmm6, xmm6
jmp 0x10176ade
movss xmm5, dword [0x101f8bd4]
movss xmm6, dword [0x101f88b8]
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 0x10176f34
movss xmm1, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
nop dword [eax + eax]
movaps xmm0, xmm1
addss xmm0, dword [ecx + 0x1988]
comiss xmm4, xmm0
ja 0x10176f30
movss xmm0, dword [esp + 0xb8]
comiss xmm0, xmm4
jbe 0x10176b79
cmp esi, edx
jae 0x10176f05
nop word [eax + eax]
mov ax, word [esi]
add esi, 2
cmp ax, 0xa
je 0x10176f05
cmp esi, edx
jb 0x10176b60
jmp 0x10176f05
xorps xmm2, xmm2
mov eax, dword [0x103501f8]
xorps xmm1, xmm1
mov edx, dword [eax + 0x1984]
movss xmm3, dword [eax + 0x1988]
divss xmm3, dword [edx + 0x10]
cmp esi, dword [esp + 0x90]
jae 0x10176bf2
movzx eax, word [esi]
add esi, 2
mov ecx, eax
cmp eax, 0xa
je 0x10176bd8
cmp ecx, 0xd
je 0x10176bcd
cmp ecx, dword [edx]
jge 0x10176bc0
mov eax, dword [edx + 8]
movss xmm0, dword [eax + ecx*4]
jmp 0x10176bc5
movss xmm0, dword [edx + 0xc]
mulss xmm0, xmm3
addss xmm1, xmm0
cmp esi, dword [esp + 0x90]
jb 0x10176ba0
jmp 0x10176be6
xorps xmm0, xmm0
comiss xmm0, xmm1
jae 0x10176be3
movaps xmm2, xmm1
xorps xmm1, xmm1
comiss xmm1, xmm2
mov ecx, dword [esp + 0x14]
jbe 0x10176bf2
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 0x10176c5d
mov eax, dword [ecx + 0x1984]
cmp dword [eax], 0x20
jle 0x10176c45
mov eax, dword [eax + 8]
movss xmm0, dword [eax + 0x80]
jmp 0x10176c4a
movss xmm0, dword [eax + 0xc]
mulss xmm0, dword [0x101f878c]
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 + 0x1988]
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 0x10176d27
comiss xmm3, xmm1
jbe 0x10176d27
comiss xmm2, xmm6
jbe 0x10176d27
comiss xmm4, xmm7
jbe 0x10176d27
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 + 0x2c4]
call fcn.101658f0
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 + 0x2c4]
mov dword [esp + 0x88], eax
je 0x10176d49
movss xmm0, dword [0x101f880c]
jmp 0x10176d51
movss xmm0, dword [0x101f878c]
mov edx, dword [0x10224ca0]
sub esp, 0x18
mov ecx, esp
movups xmm1, xmmword [edx + 0x38b8]
mov eax, dword [edx + 0x38c8]
movups xmmword [ecx], xmm1
mov dword [ecx + 0x10], eax
mov al, byte [edx + 0x38cc]
mov byte [ecx + 0x14], al
call fcn.100bdbb0
mov edx, eax
movss xmm5, dword [0x101f86d4]
mov ecx, edx
shr eax, 8
shr ecx, 0x10
movzx ecx, cl
movzx eax, al
movss xmm7, dword [0x101f87f8]
movd xmm0, ecx
cvtdq2pd xmm0, xmm0
shr ecx, 0x1f
addsd xmm0, qword [ecx*8 + 0x101f9180]
cvtpd2ps xmm4, xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
mulss xmm4, xmm5
addsd xmm0, qword [eax*8 + 0x101f9180]
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 + 0x101f9180]
mov eax, dword [0x103501f8]
cvtpd2ps xmm2, xmm0
movd xmm0, edx
cvtdq2pd xmm0, xmm0
shr edx, 0x1f
mulss xmm2, xmm5
addsd xmm0, qword [edx*8 + 0x101f9180]
cvtpd2ps xmm3, xmm0
mulss xmm3, xmm5
xorps xmm5, xmm5
comiss xmm5, xmm4
mulss xmm3, dword [eax + 0x1560]
jbe 0x10176e2d
xorps xmm0, xmm0
jmp 0x10176e34
movaps xmm0, xmm7
minss xmm0, xmm4
movss xmm4, dword [0x101f8b00]
movss xmm6, dword [0x101f878c]
mulss xmm0, xmm4
addss xmm0, xmm6
cvttss2si ecx, xmm0
shl ecx, 0x10
comiss xmm5, xmm1
jbe 0x10176e5d
xorps xmm0, xmm0
jmp 0x10176e64
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 0x10176e7f
xorps xmm0, xmm0
jmp 0x10176e86
movaps xmm0, xmm7
minss xmm0, xmm2
mulss xmm0, xmm4
addss xmm0, xmm6
cvttss2si eax, xmm0
or ecx, eax
comiss xmm5, xmm3
jbe 0x10176e9e
xorps xmm0, xmm0
jmp 0x10176ea5
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.10165800
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 + 0x1988]
subss xmm7, dword [esp + 0x68]
movss dword [esp + 0x50], xmm4
cmp esi, edx
jb 0x10176b30
mov eax, dword [esp + 0x28]
movss xmm4, dword [0x101f8b00]
xorps xmm6, xmm6
movss xmm5, dword [esp + 0x68]
mov edx, dword [0x103501f8]
mov esi, dword [esp + 0x14]
test al, al
jne 0x10176f65
mov eax, dword [esp + 0x24]
sub eax, dword [ebp + 8]
cmp eax, 0x200000
jge 0x101771c5
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 0x10176fa1
movaps xmm0, xmm6
jmp 0x10176fad
movss xmm3, dword [esp + 0xcc]
mov eax, dword [esp + 0x28]
jmp 0x10176f4f
movss xmm0, dword [0x101f87f8]
minss xmm0, xmm2
movss xmm7, dword [0x101f878c]
movss xmm2, dword [esp + 0x74]
mulss xmm0, xmm4
addss xmm0, xmm7
cvttss2si ecx, xmm0
shl ecx, 0x10
comiss xmm6, xmm2
jbe 0x10176fd4
movaps xmm0, xmm6
jmp 0x10176fe0
movss xmm0, dword [0x101f87f8]
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 0x10177001
movaps xmm0, xmm6
jmp 0x1017700d
movss xmm0, dword [0x101f87f8]
minss xmm0, xmm2
mulss xmm0, xmm4
addss xmm0, xmm7
cvttss2si eax, xmm0
or ecx, eax
comiss xmm6, xmm1
jbe 0x10177025
movaps xmm0, xmm6
jmp 0x10177031
movss xmm0, dword [0x101f87f8]
minss xmm0, xmm1
mov edx, dword [esp + 0x24]
subss xmm3, xmm5
movss xmm2, dword [esi + 0x1988]
mulss xmm0, xmm4
mov dword [esp + 0x18], edx
mov edx, dword [esi + 0x1984]
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 + 0x2c4]
mov dword [esp + 0x90], ecx
movss dword [esp + 0x74], xmm0
test eax, 0xff000000
je 0x101771c5
cmp dword [esp + 0x24], 0
jne 0x101770e0
mov ecx, dword [ebp + 8]
lea eax, [ecx + 1]
mov dword [esp + 0x50], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x101770c3
sub ecx, dword [esp + 0x50]
mov eax, dword [ebp + 8]
add eax, ecx
mov ecx, dword [esp + 0x90]
mov dword [esp + 0x18], eax
jmp 0x101770e4
mov eax, dword [esp + 0x18]
cmp dword [ebp + 8], eax
je 0x101771c5
cmp dword [esi + 0x1984], 0
jne 0x10177100
mov eax, dword [ecx + 0x2c]
mov eax, dword [eax + 8]
mov dword [esp + 0x60], eax
ucomiss xmm2, xmm6
lahf
test ah, 0x44
jp 0x10177111
mov eax, dword [ecx + 0x2c]
movss xmm2, dword [eax + 0xc]
movups xmm0, xmmword [ecx + 0x60]
movups xmmword [esp + 0x90], xmm0
test edx, edx
je 0x10177188
movss xmm1, dword [edx]
movss xmm0, dword [esp + 0x90]
comiss xmm0, xmm1
jae 0x1017713c
movss dword [esp + 0x90], xmm1
movss xmm1, dword [edx + 4]
movss xmm0, dword [esp + 0x94]
comiss xmm0, xmm1
jae 0x10177158
movss dword [esp + 0x94], xmm1
movss xmm0, dword [edx + 8]
comiss xmm0, dword [esp + 0x98]
ja 0x10177170
movss dword [esp + 0x98], xmm0
movss xmm0, dword [edx + 0xc]
comiss xmm0, dword [esp + 0x9c]
ja 0x10177188
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.101684f0
cmp byte [esp + 0x1f], 0
je 0x10176477
movss xmm0, dword [esi + 0x5c]
addss xmm0, dword [edi + 0xe68]
movss dword [edi + 0xe68], xmm0
cmp byte [esi + 0xf6], 0
je 0x1017722d
xorps xmm1, xmm1
comiss xmm1, xmm0
jae 0x1017722d
cvtps2pd xmm0, xmm0
movsd qword [esp + 0x70], xmm0
fld qword [esp + 0x70]
fld qword [0x101f88a0]
call fcn.101c08a0
movss xmm0, dword [0x101f87c8]
fstp qword [esp + 0x70]
movsd xmm1, qword [esp + 0x70]
cvtpd2ps xmm1, xmm1
comiss xmm0, xmm1
jae 0x1017722d
xor al, al
jmp 0x1017722f
mov al, 1
movss xmm0, dword [esp + 0xd0]
movss xmm4, dword [esp + 0x54]
movss xmm6, dword [0x101f87f8]
addss xmm0, dword [esp + 0x40]
addss xmm4, dword [esp + 0xcc]
subss xmm0, dword [0x101f8698]
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 + 0x1988]
subss xmm2, dword [0x101f8848]
movss dword [esp + 0xe0], xmm3
addss xmm1, dword [0x101f878c]
movss dword [esp + 0xe4], xmm2
movss dword [esp + 0xdc], xmm1
test al, al
je 0x10177349
comiss xmm2, dword [esp + 0xb8]
jbe 0x10177349
movss xmm5, dword [esp + 0xb0]
comiss xmm5, xmm1
jbe 0x10177349
comiss xmm3, dword [esp + 0xb4]
jbe 0x10177349
movss xmm1, dword [esp + 0xa4]
comiss xmm1, xmm4
jbe 0x10177349
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.10151070
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 + 0x2c4]
call fcn.101656d0
movss xmm0, dword [esp + 0x40]
movss xmm4, dword [esp + 0x54]
movss xmm6, dword [0x101f87f8]
cmp byte [esp + 0x38], 0
mov edi, dword [esp + 0x24]
jne 0x1017647b
subss xmm0, dword [esi + 0x1988]
subss xmm4, xmm6
movss dword [esi + 0x2ee8], xmm0
movss dword [esi + 0x2ee4], xmm4
jmp 0x1017647b
mov edi, dword [esp + 0x24]
jmp 0x1017647e