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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x148
push esi
mov esi, dword [0x10456c08]
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 0x1017b59a
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 0x1017b2b3
call fcn.10164290
mov esi, dword [0x10456c08]
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.10158960
mov dword [esp + 0x2c], eax
cmp dword [esi + 0x1c24], eax
jne 0x1017b2e3
mov dword [esi + 0x1c28], eax
cmp dword [esi + 0x1c5c], eax
jne 0x1017b2f2
mov byte [esi + 0x1c60], 1
mov eax, dword [esp + 0xc8]
mov ecx, eax
cmp eax, 0xffffffff
jae 0x1017b316
mov dl, byte [ecx]
test dl, dl
je 0x1017b316
cmp dl, 0x23
jne 0x1017b310
cmp byte [ecx + 1], dl
je 0x1017b316
inc ecx
cmp ecx, 0xffffffff
jb 0x1017b300
movss xmm1, dword [0x1020122c]
movss xmm0, dword [esi + 0x1988]
movss dword [esp + 0x68], xmm1
cmp eax, ecx
jne 0x1017b33e
xorps xmm1, xmm1
movss dword [esp + 0xd4], xmm1
jmp 0x1017b38e
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.1016f860
movss xmm0, dword [esp + 0x70]
xorps xmm1, xmm1
addss xmm0, dword [0x10200e70]
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 0x1017b3a5
movss xmm0, dword [edi + 0x1988]
mulss xmm0, dword [0x1020100c]
test byte [esi + 0x1cd4], 1
movss xmm2, dword [edi + 0x159c]
mov eax, dword [esi + 0x1bec]
addss xmm2, xmm2
addss xmm2, xmm0
je 0x1017b3ce
movss xmm0, dword [esi + 0x1cd8]
jmp 0x1017b3d6
movss xmm0, dword [eax + 0x1f0]
comiss xmm1, xmm0
jbe 0x1017b415
cmp dword [eax + 0x1d0], 0
movss xmm1, dword [eax + 0x288]
jne 0x1017b3f5
cmp dword [esi + 0x1f2c], 0
je 0x1017b3fd
movss xmm1, dword [eax + 0x258]
subss xmm1, dword [eax + 0xec]
addss xmm1, xmm0
movss xmm0, dword [0x10200e78]
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.10164180
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 0x1017b460
movaps xmm2, xmm1
addss xmm2, dword [esi + 0x15b0]
jmp 0x1017b463
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.1015b410
mov byte [esp + 0x4a], al
test al, al
je 0x1017b52f
mov dword [esi + 0x1e98], 1
cmp byte [esp + 0x28], 0
je 0x1017b764
lea eax, [esp + 0xb4]
mov edx, edi
push eax
lea ecx, [esp + 0x94]
call fcn.10163e20
test al, al
jne 0x1017b5a4
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.10163cf0
call fcn.101643c0
xor al, al
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x18
mov edx, 0xff0b0b0b
mov ecx, 4
call fcn.101598f0
movss xmm0, dword [esi + 0x15a0]
lea eax, [esp + 0x90]
mov esi, dword [0x10456c08]
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.10169db0
movss xmm0, dword [esp + 0x40]
mov eax, dword [esp + 0x14]
movss dword [esi + 0x1588], xmm0
mov esi, dword [0x10456c08]
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.10169db0
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.1015e8a0
mov ecx, 2
mov byte [esp + 0x37], al
call fcn.101599e0
mov edi, dword [0x10456c08]
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 0x1017b6f8
call fcn.1015eaa0
call fcn.101643c0
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 0x1017b7bd
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.10163cf0
lea eax, [esp + 0xb4]
mov edx, edi
push eax
lea ecx, [esp + 0x94]
call fcn.10163e20
test al, al
je 0x1017b59a
mov edi, dword [0x10456c08]
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.1015b690
mov byte [esp + 0x37], al
test al, al
je 0x1017b851
mov edx, dword [esp + 0x5c]
cmp dword [esi + 0x1e78], edx
jne 0x1017b851
mov ecx, dword [esi + 0x1e80]
cmp ecx, dword [edx + 0x1e4]
jne 0x1017b851
mov byte [esp + 0x13], 1
mov byte [esp + 0x1c], 0
cmp byte [esp + 0x4a], 0
je 0x1017b81e
cmp byte [esi + 0x420], 0
mov byte [esp + 0x1e], 1
jne 0x1017b823
mov byte [esp + 0x1e], 0
mov ecx, dword [esi + 0x1c24]
mov eax, dword [esp + 0x2c]
cmp ecx, eax
je 0x1017b866
cmp dword [esi + 0x1d6c], eax
je 0x1017b84a
cmp dword [esi + 0x1d60], eax
jne 0x1017b866
cmp dword [esi + 0x1d84], 2
jne 0x1017b866
mov byte [esp + 0x12], 1
jmp 0x1017b86b
mov byte [esp + 0x13], 0
test al, al
je 0x1017b804
mov byte [esp + 0x1c], 1
mov byte [esp + 0x13], 0
jmp 0x1017b809
mov byte [esp + 0x12], 0
mov eax, dword [esp + 0x28]
test al, al
je 0x1017b8b4
test edi, edi
je 0x1017b8b4
test ecx, ecx
jne 0x1017b8b4
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.10158960
cmp dword [esi + 0x1c5c], eax
jne 0x1017b8aa
mov byte [esp + 0x1d], 1
jmp 0x1017b8c6
mov ecx, dword [esi + 0x1c24]
mov eax, dword [esp + 0x28]
mov byte [esp + 0x1d], 0
test al, al
je 0x1017b8f4
mov byte [esp + 0x1d], 0
test edi, edi
je 0x1017b8f4
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.10158960
mov ecx, dword [esi + 0x1c24]
cmp ecx, eax
jne 0x1017b8f4
mov dl, 1
jmp 0x1017b8f6
xor dl, dl
mov ah, byte [esp + 0x12]
mov byte [esp + 0x34], dl
mov byte [esp + 0x3f], 0
cmp ecx, dword [esp + 0x2c]
je 0x1017b921
test byte [ebp + 0x14], 0x10
jne 0x1017b913
test ah, ah
je 0x1017b921
cmp byte [esp + 0x28], 0
jne 0x1017b921
mov byte [esp + 0x30], 1
jmp 0x1017b940
cmp byte [esp + 0x28], 0
mov byte [esp + 0x30], 0
je 0x1017b940
mov esi, dword [esp + 0x64]
movss xmm0, dword [esi + 0x78]
mov esi, dword [esp + 0x14]
movss dword [esp + 0x68], xmm0
test edi, edi
je 0x1017b953
mov al, byte [esp + 0x28]
xor al, 1
cmp byte [edi + 0x53], al
je 0x1017b953
mov al, 1
jmp 0x1017b955
xor al, al
cmp byte [esp + 0x37], 0
mov byte [esp + 0x36], al
mov dword [esp + 0x24], 1
jne 0x1017b988
cmp byte [esp + 0x1e], 0
jne 0x1017b988
cmp byte [esp + 0x1d], 0
jne 0x1017b988
test ah, ah
jne 0x1017b988
mov byte [esp + 0x1d], ah
test dl, dl
jne 0x1017b98d
mov byte [esp + 0x35], dl
jmp 0x1017b998
mov byte [esp + 0x1d], 1
mov byte [esp + 0x35], 1
cmp ecx, dword [esp + 0x2c]
jne 0x1017b9a0
test al, al
je 0x1017bba8
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 0x1017b9c0
mov eax, dword [edi + 0x28]
sub ecx, edx
lea esi, [ecx + 1]
cmp esi, eax
jle 0x1017b9fd
test eax, eax
je 0x1017b9e6
cdq
sub eax, edx
lea edx, [edi + 0x24]
mov ecx, eax
sar ecx, 1
add ecx, dword [edx + 4]
jmp 0x1017b9ee
mov ecx, 8
lea edx, [edi + 0x24]
cmp ecx, esi
mov eax, esi
cmovg eax, ecx
mov ecx, edx
push eax
call fcn.100c6320
push esi
push dword [ebp + 8]
mov dword [edi + 0x24], esi
push dword [edi + 0x2c]
call fcn.101a3550
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 0x1017ba52
test esi, esi
je 0x1017ba36
mov eax, esi
cdq
sub eax, edx
mov edx, dword [esp + 0x20]
mov ecx, eax
sar ecx, 1
add ecx, esi
jmp 0x1017ba3b
mov ecx, 8
cmp ecx, edx
mov eax, edx
cmovg eax, ecx
lea ecx, [edi + 0xc]
push eax
call fcn.1016a130
mov edx, dword [esp + 0x20]
lea eax, [edi + 0xc]
mov dword [eax], edx
mov ecx, dword [edi + 0x1c]
test ecx, ecx
jns 0x1017ba74
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.100c6320
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 0x1017bad5
mov edi, eax
cmp byte [edi], 0
je 0x1017bac9
push 0
mov edx, edi
lea ecx, [esp + 0x44]
call fcn.10158bf0
mov edx, dword [esp + 0x20]
add edi, eax
mov eax, dword [esp + 0x40]
test eax, eax
je 0x1017bac9
mov word [esi], ax
add esi, 2
mov eax, dword [ebp + 0xc]
dec eax
lea eax, [edx + eax*2]
cmp esi, eax
jb 0x1017ba98
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 0x1017bb1d
cmp byte [esp + 0x36], cl
jne 0x1017bb1d
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 0x1017bb7a
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 0x1017bb7a
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 0x1017bb87
mov byte [edi + 0x48], 1
mov esi, dword [esp + 0x14]
test dl, dl
jne 0x1017bba8
cmp byte [esp + 0x1c], dl
jne 0x1017bba3
cmp byte [esp + 0x1e], dl
je 0x1017bba8
cmp byte [esi + 0x140], dl
je 0x1017bba8
mov byte [esp + 0x30], 1
mov ecx, dword [esp + 0x2c]
cmp dword [esi + 0x1c24], ecx
je 0x1017bc59
cmp byte [esp + 0x1d], 0
je 0x1017bc51
mov edx, dword [esp + 0x5c]
call fcn.1015b1c0
call fcn.10165a40
mov ecx, edx
call fcn.10163420
mov eax, dword [esi + 0x1c38]
mov edx, dword [esp + 0x28]
or eax, 3
mov dword [esi + 0x1c38], eax
test dl, dl
jne 0x1017bbf5
test byte [ebp + 0x14], 0x80
je 0x1017bbfe
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 0x1017bc35
or eax, 0x60
mov dword [esi + 0x1c44], ecx
mov dword [esi + 0x1c40], eax
test dword [ebp + 0x14], 0x440
je 0x1017bc4d
or eax, 1
mov dword [esi + 0x1c44], ecx
mov dword [esi + 0x1c40], eax
mov ecx, dword [esp + 0x2c]
cmp dword [esi + 0x1c24], ecx
jne 0x1017bc8e
test edi, edi
jne 0x1017bc66
call fcn.1015b290
mov ecx, dword [esp + 0x2c]
cmp dword [esi + 0x1c24], ecx
jne 0x1017bc8e
cmp byte [esi + 0x420], 0
je 0x1017bc99
cmp byte [esp + 0x35], 0
jne 0x1017bc99
cmp byte [esp + 0x1d], 0
jne 0x1017bc99
mov byte [esp + 0x3f], 1
mov dl, 1
jmp 0x1017bc9f
test edi, edi
je 0x1017bc9d
cmp byte [esp + 0x34], 0
je 0x1017bc9d
mov dl, 1
jmp 0x1017bc9f
xor dl, dl
mov byte [esp + 0x1f], dl
test edi, edi
je 0x1017bcba
mov eax, dword [edi + 0x40]
cmp eax, dword [edi + 0x44]
je 0x1017bcba
test dl, dl
je 0x1017bcba
mov edx, 1
jmp 0x1017bcbc
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 0x1017bdd5
test edi, edi
je 0x1017bdd5
cmp byte [esp + 0x1f], 0
jne 0x1017bcf4
test dl, dl
je 0x1017bde0
mov ecx, dword [ebp + 0xc]
mov eax, dword [edi + 0x10]
lea esi, [ecx + 1]
cmp esi, eax
jle 0x1017bd2e
test eax, eax
je 0x1017bd14
cdq
sub eax, edx
lea edx, [edi + 0xc]
mov ecx, eax
sar ecx, 1
add ecx, dword [edx + 4]
jmp 0x1017bd1c
mov ecx, 8
lea edx, [edi + 0xc]
cmp ecx, esi
mov eax, esi
cmovg eax, ecx
mov ecx, edx
push eax
call fcn.1016a130
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 0x1017bd82
mov edi, eax
cmp byte [edi], 0
je 0x1017bd76
push 0
mov edx, edi
lea ecx, [esp + 0x44]
call fcn.10158bf0
mov edx, dword [esp + 0x20]
add edi, eax
mov eax, dword [esp + 0x40]
test eax, eax
je 0x1017bd76
mov ecx, dword [ebp + 0xc]
mov word [esi], ax
add esi, 2
lea eax, [edx + ecx*2]
cmp esi, eax
jb 0x1017bd46
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 0x1017bde8
test dl, dl
jne 0x1017bde8
cmp dword [esi + 0x1c24], ecx
jne 0x1017bdf9
test al, al
jne 0x1017bdf9
test edi, edi
je 0x1017bdf9
cmp byte [edi + 0x30], al
je 0x1017bdf9
mov al, 1
jmp 0x1017bdfb
xor al, al
mov edx, dword [esp + 0x6c]
mov byte [esp + 0x4b], al
test edx, edx
je 0x1017be1c
test al, al
je 0x1017be10
mov eax, dword [edi + 0x20]
jmp 0x1017be13
mov eax, dword [ebp + 8]
cmp byte [eax], 0
jne 0x1017be1c
mov al, 1
jmp 0x1017be1e
xor al, al
cmp byte [esp + 0xac], 0
mov byte [esp + 0x1e], al
je 0x1017beba
test al, al
jne 0x1017beba
mov edx, dword [esi + 0x1984]
cmp dword [edx + 0x14], 0x2a
ja 0x1017be49
mov eax, dword [edx + 0x2c]
jmp 0x1017be68
mov eax, dword [edx + 0x1c]
mov ecx, 0xffff
movzx eax, word [eax + 0x54]
cmp ax, cx
jne 0x1017be5f
mov eax, dword [edx + 0x2c]
jmp 0x1017be68
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.10163700
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0xb0], 0
cmp dword [esi + 0x1c24], ecx
jne 0x1017c2ba
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 0x1017bf5c
mov eax, dword [esp + 0x64]
movss xmm1, dword [esi + 0x12c]
subss xmm1, dword [eax + 0xf0]
jmp 0x1017bf6c
movss xmm1, dword [esi + 0x1988]
mulss xmm1, dword [0x10200e0c]
cmp byte [esp + 0x30], 0
mov al, byte [esi + 0xf5]
mov byte [esp + 0x13], al
jne 0x1017c0ea
mov dl, byte [esp + 0x4a]
test dl, dl
je 0x1017bf99
test al, al
jne 0x1017c003
cmp byte [esi + 0x425], al
jne 0x1017c0ea
cmp byte [esi + 0x420], 0
je 0x1017c058
cmp byte [edi + 0xe6d], 0
jne 0x1017c058
test dl, dl
je 0x1017c109
cmp byte [edi + 0x53], 0
je 0x1017bfda
push 0
mov edx, edi
lea ecx, [esp + 0xdc]
call fcn.10179680
movss xmm1, dword [esp + 0xe4]
movaps xmm0, xmm7
mov ecx, edi
call fcn.101799d0
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 0x1017c105
cmp byte [esi + 0x425], 0
je 0x1017bf99
push 0x20000c
lea edx, [edi + 0x3c]
mov ecx, edi
call fcn.10179dc0
push 0x60000d
lea edx, [edi + 0x3c]
mov byte [edi + 0xe6c], 1
mov ecx, edi
mov dword [edi + 0xe68], 0xbe99999a
call fcn.10179dc0
mov esi, dword [esp + 0x14]
mov ecx, dword [ebp + 0x14]
mov byte [edi + 0xe6c], 1
mov dword [edi + 0xe68], 0xbe99999a
jmp 0x1017c105
cmp byte [esi + 0x130], 0
je 0x1017c109
cmp byte [edi + 0xe6d], 0
jne 0x1017c112
movss xmm0, dword [esi + 0x3b8]
xorps xmm2, xmm2
ucomiss xmm0, xmm2
lahf
test ah, 0x44
jp 0x1017c097
movss xmm0, dword [esi + 0x3bc]
ucomiss xmm0, xmm2
lahf
test ah, 0x44
jnp 0x1017c109
cmp byte [edi + 0x53], 0
je 0x1017c0b6
push 0
mov edx, edi
lea ecx, [esp + 0xdc]
call fcn.10179680
movss xmm1, dword [esp + 0xe4]
mov eax, dword [edi + 0x40]
cmp eax, dword [edi + 0x44]
jne 0x1017c0c4
mov eax, dword [edi + 0x3c]
mov dword [edi + 0x40], eax
movaps xmm0, xmm7
mov ecx, edi
call fcn.101799d0
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 0x1017c105
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 0x1017c122
cmp byte [esi + 0x130], 0
jne 0x1017c122
mov byte [edi + 0xe6d], 0
cmp byte [esi + 0x140], 0
je 0x1017c134
cmp byte [esi + 0x142], 0
je 0x1017c141
test al, al
je 0x1017c145
cmp byte [esi + 0x143], 0
je 0x1017c145
mov dh, 1
jmp 0x1017c147
xor dh, dh
mov byte [esp + 0x1c], dh
test ecx, 0x400
je 0x1017c1ed
mov eax, dword [0x10456c08]
mov ecx, dword [eax + 0x78]
test ecx, ecx
js 0x1017c1ed
mov dl, 1
call fcn.1015e7d0
test al, al
mov eax, dword [esp + 0x38]
je 0x1017c1f1
test dh, dh
jne 0x1017c1f1
cmp byte [esi + 0x141], dh
jne 0x1017c1f1
test al, al
jne 0x1017c1f1
mov ecx, dword [esi + 0x1558]
mov eax, dword [esi + 0x1550]
lea edx, [ecx + eax*2]
cmp ecx, edx
jae 0x1017c1b0
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
cmp ax, 9
je 0x1017c1ed
cmp ecx, edx
jb 0x1017c1a0
push dword [ebp + 0x1c]
mov edx, dword [ebp + 0x14]
lea ecx, [esp + 0x24]
push dword [ebp + 0x18]
mov dword [esp + 0x28], 9
call fcn.1017b050
test al, al
je 0x1017c1ed
push dword [esp + 0x20]
lea edx, [edi + 0x3c]
mov ecx, edi
call fcn.10179dc0
mov byte [edi + 0xe6c], 1
mov dword [edi + 0xe68], 0xbe99999a
mov eax, dword [esp + 0x38]
cmp dword [esi + 0x1550], 0
jle 0x1017c2ba
cmp byte [esp + 0x1c], 0
jne 0x1017c282
test al, al
jne 0x1017c282
cmp byte [esp + 0x12], al
jne 0x1017c282
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 0x1017c23c
cmp byte [ecx + 0x141], 0
jne 0x1017c275
push dword [ebp + 0x1c]
mov edx, dword [ebp + 0x14]
lea ecx, [esp + 0x24]
push dword [ebp + 0x18]
call fcn.1017b050
test al, al
je 0x1017c271
push dword [esp + 0x20]
lea edx, [edi + 0x3c]
mov ecx, edi
call fcn.10179dc0
mov byte [edi + 0xe6c], 1
mov dword [edi + 0xe68], 0xbe99999a
mov ecx, dword [esp + 0x14]
inc esi
cmp esi, dword [ecx + 0x1550]
jl 0x1017c220
mov esi, dword [esp + 0x14]
mov ecx, dword [esi + 0x1554]
lea eax, [esi + 0x1550]
test ecx, ecx
jns 0x1017c2b4
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.1016a130
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 0x1017d4d3
cmp byte [esi + 0x1c30], cl
jne 0x1017cd92
cmp byte [esp + 0x3f], cl
jne 0x1017cd92
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 0x1017c347
cmp dword [eax + 0x3c0], 0xa
jne 0x1017c347
mov byte [esp + 0x34], 1
jmp 0x1017c350
mov byte [esp + 0x34], 0
test cl, cl
je 0x1017c377
cmp byte [eax + 0x143], 0
mov cl, byte [eax + 0x142]
mov byte [esp + 0x1d], cl
je 0x1017c386
cmp byte [eax + 0x140], 0
jne 0x1017c386
test cl, cl
jne 0x1017c386
mov byte [esp + 0x13], 1
jmp 0x1017c38b
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 0x1017c3a3
cmp edx, 8
jmp 0x1017c3a6
cmp edx, 1
sete al
mov byte [esp + 0x35], al
test al, al
mov eax, dword [0x10456c08]
je 0x1017c3d4
mov ecx, dword [eax + 0xc4]
test ecx, ecx
js 0x1017c3d4
mov dl, 1
call fcn.1015e7d0
test al, al
jne 0x1017c3ee
mov eax, dword [0x10456c08]
mov edx, dword [esp + 0x18]
cmp edx, 2
jne 0x1017c415
mov ecx, dword [eax + 0xa0]
test ecx, ecx
js 0x1017c415
mov dl, 1
call fcn.1015e7d0
test al, al
je 0x1017c415
cmp byte [esp + 0x38], 0
jne 0x1017c415
cmp byte [esp + 0xac], 0
jne 0x1017c415
cmp byte [esp + 0x28], 0
je 0x1017c40e
mov eax, dword [edi + 0x40]
cmp eax, dword [edi + 0x44]
je 0x1017c415
mov byte [esp + 0x1c], 1
jmp 0x1017c41a
mov byte [esp + 0x1c], 0
mov dh, byte [esp + 0x35]
mov eax, dword [0x10456c08]
test dh, dh
je 0x1017c441
mov ecx, dword [eax + 0xbc]
test ecx, ecx
js 0x1017c441
mov dl, 1
call fcn.1015e7d0
test al, al
jne 0x1017c45d
mov eax, dword [0x10456c08]
cmp dword [esp + 0x18], 1
jne 0x1017c480
mov ecx, dword [eax + 0x9c]
test ecx, ecx
js 0x1017c480
mov dl, 1
call fcn.1015e7d0
test al, al
je 0x1017c480
cmp byte [esp + 0xac], 0
jne 0x1017c480
cmp byte [esp + 0x28], 0
je 0x1017c476
mov eax, dword [edi + 0x40]
cmp eax, dword [edi + 0x44]
je 0x1017c480
mov byte [esp + 0x86], 1
jmp 0x1017c488
mov byte [esp + 0x86], 0
mov eax, dword [0x10456c08]
test dh, dh
je 0x1017c4ab
mov ecx, dword [eax + 0xc0]
test ecx, ecx
js 0x1017c4ab
mov dl, 1
call fcn.1015e7d0
test al, al
jne 0x1017c4c7
mov eax, dword [0x10456c08]
cmp dword [esp + 0x18], 2
jne 0x1017c4d6
mov ecx, dword [eax + 0x9c]
test ecx, ecx
js 0x1017c4d6
mov dl, 1
call fcn.1015e7d0
test al, al
je 0x1017c4d6
cmp byte [esp + 0x38], 0
mov byte [esp + 0x87], 1
je 0x1017c4de
mov byte [esp + 0x87], 0
test dh, dh
je 0x1017c513
mov eax, dword [0x10456c08]
mov ecx, dword [eax + 0xcc]
test ecx, ecx
js 0x1017c513
mov dl, 1
call fcn.1015e7d0
test al, al
je 0x1017c513
cmp byte [esp + 0x38], 0
jne 0x1017c513
cmp byte [esp + 0xc4], 0
je 0x1017c513
mov byte [esp + 0x5b], dl
jmp 0x1017c51c
mov byte [esp + 0x5b], 0
test dh, dh
je 0x1017c536
mov eax, dword [0x10456c08]
mov ecx, dword [eax + 0xc8]
test ecx, ecx
js 0x1017c53b
mov dl, 1
call fcn.1015e7d0
test al, al
jne 0x1017c557
mov eax, dword [0x10456c08]
cmp byte [esp + 0x34], 0
je 0x1017c56c
mov ecx, dword [eax + 0xcc]
test ecx, ecx
js 0x1017c56c
mov dl, 1
call fcn.1015e7d0
test al, al
je 0x1017c56c
cmp byte [esp + 0x38], 0
jne 0x1017c56c
cmp byte [esp + 0xc4], 0
je 0x1017c56c
mov dh, 1
jmp 0x1017c56e
xor dh, dh
mov eax, dword [0x10456c08]
mov ecx, dword [eax + 0x7c]
test ecx, ecx
js 0x1017c5cc
mov dl, 1
call fcn.1015e7d0
test al, al
je 0x1017c5c7
cmp byte [esp + 0x13], 0
je 0x1017c5a3
mov eax, 0x200004
lea edx, [edi + 0x3c]
or eax, esi
mov ecx, edi
push eax
call fcn.10179dc0
jmp 0x1017cd59
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.10179dc0
jmp 0x1017cd59
mov eax, dword [0x10456c08]
mov ecx, dword [eax + 0x80]
test ecx, ecx
js 0x1017c628
mov dl, 1
call fcn.1015e7d0
test al, al
je 0x1017c623
cmp byte [esp + 0x13], 0
je 0x1017c5ff
mov eax, 0x200005
lea edx, [edi + 0x3c]
or eax, esi
mov ecx, edi
push eax
call fcn.10179dc0
jmp 0x1017cd59
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.10179dc0
jmp 0x1017cd59
mov eax, dword [0x10456c08]
mov ecx, dword [eax + 0x84]
test ecx, ecx
js 0x1017c6af
mov dl, 1
call fcn.1015e7d0
test al, al
je 0x1017c6aa
cmp byte [esp + 0x28], 0
je 0x1017c6aa
mov eax, dword [esp + 0x14]
cmp byte [eax + 0x140], 0
je 0x1017c68c
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 0x1017cd6e
movzx eax, byte [esp + 0x13]
lea edx, [edi + 0x3c]
mov ecx, edi
lea eax, [eax*4 + 0x200002]
or eax, esi
push eax
call fcn.10179dc0
jmp 0x1017cd59
mov eax, dword [0x10456c08]
mov ecx, dword [eax + 0x88]
test ecx, ecx
js 0x1017c746
mov dl, 1
call fcn.1015e7d0
test al, al
je 0x1017c741
cmp byte [esp + 0x28], 0
je 0x1017c741
mov eax, dword [esp + 0x14]
cmp byte [eax + 0x140], 0
je 0x1017c723
mov ecx, dword [esp + 0x64]
mov esi, eax
mov eax, dword [0x10456c08]
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 0x1017cd6e
movzx eax, byte [esp + 0x13]
lea edx, [edi + 0x3c]
mov ecx, edi
lea eax, [eax*4 + 0x200003]
or eax, esi
push eax
call fcn.10179dc0
jmp 0x1017cd59
mov eax, dword [0x10456c08]
mov ecx, dword [eax + 0x8c]
test ecx, ecx
js 0x1017c7b3
mov dl, 1
call fcn.1015e7d0
test al, al
je 0x1017c7ae
cmp byte [esp + 0x28], 0
je 0x1017c7ae
or esi, 0x20000e
lea edx, [edi + 0x3c]
push esi
mov ecx, edi
call fcn.10179dc0
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 0x1017cd6e
mov eax, dword [0x10456c08]
mov ecx, dword [eax + 0x90]
test ecx, ecx
js 0x1017c81c
mov dl, 1
call fcn.1015e7d0
test al, al
je 0x1017c817
cmp byte [esp + 0x28], 0
je 0x1017c817
or esi, 0x20000f
lea edx, [edi + 0x3c]
push esi
mov ecx, edi
call fcn.10179dc0
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 0x1017cd6e
mov eax, dword [0x10456c08]
mov ecx, dword [eax + 0x94]
test ecx, ecx
js 0x1017c861
mov dl, 1
call fcn.1015e7d0
test al, al
je 0x1017c85c
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.10179dc0
jmp 0x1017cd59
mov eax, dword [0x10456c08]
mov ecx, dword [eax + 0x98]
test ecx, ecx
js 0x1017c8a6
mov dl, 1
call fcn.1015e7d0
test al, al
je 0x1017c8a1
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.10179dc0
jmp 0x1017cd59
mov eax, dword [0x10456c08]
mov ecx, dword [eax + 0xa0]
test ecx, ecx
js 0x1017c8dd
mov dl, 1
call fcn.1015e7d0
test al, al
je 0x1017c8d8
cmp byte [esp + 0x38], 0
jne 0x1017c8d8
or esi, 0x200008
lea edx, [edi + 0x3c]
push esi
mov ecx, edi
call fcn.10179dc0
jmp 0x1017cd59
mov eax, dword [0x10456c08]
mov ecx, dword [eax + 0xa4]
test ecx, ecx
js 0x1017c972
mov dl, 1
call fcn.1015e7d0
test al, al
je 0x1017c972
cmp byte [esp + 0x38], 0
jne 0x1017c972
mov eax, dword [edi + 0x40]
cmp eax, dword [edi + 0x44]
jne 0x1017c95c
cmp byte [esp + 0x1d], 0
je 0x1017c913
push 0x60000c
jmp 0x1017c941
cmp byte [esp + 0x8f], 0
je 0x1017c95c
mov eax, dword [esp + 0x14]
cmp byte [eax + 0x143], 0
je 0x1017c95c
cmp byte [eax + 0x142], 0
jne 0x1017c95c
cmp byte [eax + 0x140], 0
jne 0x1017c95c
push 0x600004
lea edx, [edi + 0x3c]
mov ecx, edi
call fcn.10179dc0
mov dword [edi + 0xe68], 0xbe99999a
mov byte [edi + 0xe6c], 1
or esi, 0x200009
lea edx, [edi + 0x3c]
push esi
mov ecx, edi
call fcn.10179dc0
jmp 0x1017cd59
mov esi, dword [0x10456c08]
mov ecx, dword [esi + 0xac]
test ecx, ecx
js 0x1017c98d
mov dl, 1
call fcn.1015e7d0
test al, al
jne 0x1017c9aa
mov ecx, dword [esi + 0xb4]
test ecx, ecx
js 0x1017ca2e
mov dl, 1
call fcn.1015e7d0
test al, al
je 0x1017ca2e
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 0x1017c9cd
mov cl, byte [esi + 0x140]
test al, al
je 0x1017c9dc
test cl, cl
jne 0x1017c9e0
mov byte [esp + 0x3f], 1
mov byte [esp + 0x36], 1
jmp 0x1017cd6e
test cl, cl
jne 0x1017c9cd
cmp byte [esp + 0x38], 0
jne 0x1017cd6e
push dword [ebp + 0x1c]
lea ecx, [esp + 0x24]
mov dword [esp + 0x24], 0xa
push dword [ebp + 0x18]
call fcn.1017b050
test al, al
je 0x1017cd6e
push dword [esp + 0x20]
lea edx, [edi + 0x3c]
mov ecx, edi
call fcn.10179dc0
mov byte [edi + 0xe6c], 1
mov dword [edi + 0xe68], 0xbe99999a
jmp 0x1017cd6e
mov ecx, dword [esi + 0xb0]
test ecx, ecx
js 0x1017ca52
mov dl, 1
call fcn.1015e7d0
test al, al
je 0x1017ca52
mov esi, dword [esp + 0x14]
mov cl, dl
mov byte [esp + 0x3f], cl
jmp 0x1017cd72
mov al, byte [esp + 0x5b]
test al, al
jne 0x1017cd3a
test dh, dh
jne 0x1017cd3a
cmp byte [esp + 0x35], dh
je 0x1017ca99
mov ecx, dword [esi + 0xb8]
test ecx, ecx
js 0x1017ca99
mov dl, 1
call fcn.1015e7d0
test al, al
je 0x1017ca99
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 0x1017cd63
cmp byte [esp + 0x1c], 0
jne 0x1017cc39
cmp byte [esp + 0x86], 0
jne 0x1017cc39
cmp byte [esp + 0x87], 0
je 0x1017cd6a
mov eax, dword [esi + 0x114]
test eax, eax
je 0x1017cadd
mov ecx, dword [esi + 0x11c]
call eax
mov esi, eax
test esi, esi
jne 0x1017cae2
jmp 0x1017cd6a
mov esi, 0x101d84ee
mov ecx, esi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1017cae7
mov eax, dword [0x10456c08]
sub ecx, edx
test eax, eax
je 0x1017caff
inc dword [eax + 0x3b4]
lea eax, [ecx*2 + 2]
push eax
call fcn.101af5fa
mov ecx, eax
add esp, 4
xor eax, eax
mov dword [esp + 0xa4], ecx
mov dword [esp + 0x30], eax
cmp byte [esi], al
je 0x1017cb79
xor edi, edi
push 0
mov edx, esi
lea ecx, [esp + 0x1c]
call fcn.10158bf0
add esi, eax
cmp dword [esp + 0x18], 0
je 0x1017cb66
push dword [ebp + 0x1c]
mov edx, dword [ebp + 0x14]
lea ecx, [esp + 0x1c]
push dword [ebp + 0x18]
call fcn.1017b050
test al, al
je 0x1017cb61
mov ecx, dword [esp + 0xa4]
mov ax, word [esp + 0x18]
mov word [ecx + edi*2], ax
inc edi
cmp byte [esi], 0
jne 0x1017cb24
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 0x1017cc18
mov edx, dword [edi + 0x44]
mov ecx, dword [edi + 0x40]
mov eax, dword [edi + 4]
cmp ecx, edx
je 0x1017cbad
cmp ecx, eax
jle 0x1017cb9d
mov dword [edi + 0x40], eax
mov ecx, eax
cmp edx, eax
jle 0x1017cba6
mov dword [edi + 0x44], eax
mov edx, eax
cmp ecx, edx
jne 0x1017cbad
mov dword [edi + 0x3c], ecx
cmp dword [edi + 0x3c], eax
jle 0x1017cbb5
mov dword [edi + 0x3c], eax
lea edx, [edi + 0x3c]
mov ecx, edi
call fcn.10179d40
push dword [esp + 0x30]
mov edx, dword [edi + 0x3c]
mov ecx, edi
push dword [esp + 0xa8]
call fcn.10179870
test al, al
je 0x1017cbf6
push dword [esp + 0x30]
mov edx, dword [edi + 0x3c]
lea ecx, [edi + 0x5c]
push 0
call fcn.1017ad50
mov eax, dword [esp + 0x30]
add dword [edi + 0x3c], eax
mov byte [edi + 0x52], 0
jmp 0x1017cc0a
movzx eax, word [edi + 0xe5a]
test ax, ax
je 0x1017cc0a
dec eax
mov word [edi + 0xe5a], ax
mov ecx, dword [esp + 0xa4]
mov byte [edi + 0xe6c], 1
test ecx, ecx
je 0x1017cc2b
mov eax, dword [0x10456c08]
test eax, eax
je 0x1017cc2b
dec dword [eax + 0x3b4]
push ecx
call fcn.101ae6b9
add esp, 4
jmp 0x1017cd6a
mov eax, dword [esp + 0x14]
cmp dword [eax + 0x118], 0
je 0x1017ccf8
mov ecx, dword [edi + 0x44]
mov eax, dword [edi + 0x40]
cmp eax, ecx
je 0x1017cc62
mov edx, ecx
cmovge ecx, eax
cmovl edx, eax
mov dword [esp + 0x18], edx
jmp 0x1017cc6d
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.10158e20
inc eax
mov dword [esp + 0x40], eax
test esi, esi
je 0x1017cc92
inc dword [esi + 0x3b4]
push eax
call fcn.101af5fa
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.10158d60
mov ecx, dword [0x10456c08]
mov eax, dword [ecx + 0x118]
test eax, eax
je 0x1017cce1
mov ecx, dword [ecx + 0x11c]
mov edx, esi
call eax
mov ecx, dword [0x10456c08]
test esi, esi
je 0x1017ccef
test ecx, ecx
je 0x1017ccef
dec dword [ecx + 0x3b4]
push esi
call fcn.101ae6b9
add esp, 4
cmp byte [esp + 0x1c], 0
je 0x1017cd6a
mov eax, dword [edi + 0x40]
cmp eax, dword [edi + 0x44]
jne 0x1017cd1b
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 0x1017cd6a
lea edx, [edi + 0x3c]
mov ecx, edi
call fcn.10179d40
mov byte [edi + 0x52], 0
jmp 0x1017cd6a
movzx eax, al
lea edx, [edi + 0x3c]
xor eax, 1
mov ecx, edi
add eax, 0x20000a
push eax
call fcn.10179dc0
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 0x1017cd85
cmp byte [esp + 0x1f], 0
je 0x1017cd85
mov al, 1
jmp 0x1017cd87
xor al, al
or byte [esp + 0xa8], al
mov eax, dword [esp + 0x2c]
cmp dword [esi + 0x1c24], eax
jne 0x1017d4d3
mov dword [esp + 0x54], 0
mov dword [esp + 0x24], 0
test cl, cl
je 0x1017cfb3
cmp byte [esp + 0x38], 0
jne 0x1017cf9d
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 0x1017cdf0
test dl, dl
je 0x1017cdec
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x1017cdf0
add eax, 2
add ecx, 2
test dl, dl
jne 0x1017cdd0
xor eax, eax
jmp 0x1017cdf5
sbb eax, eax
or eax, 1
test eax, eax
je 0x1017cf9d
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 0x1017cf13
lea edi, [eax + ecx]
xor eax, eax
mov dword [esp + 0x18], eax
test edi, edi
je 0x1017ce2a
cmp esi, edi
jae 0x1017ce4b
cmp byte [esi], 0
je 0x1017ce4b
push edi
mov edx, esi
lea ecx, [esp + 0x44]
call fcn.10158bf0
add esi, eax
cmp dword [esp + 0x40], 0
mov eax, dword [esp + 0x18]
je 0x1017ce4b
inc eax
jmp 0x1017ce1e
lea edx, [eax + 1]
mov dword [esp + 0x90], edx
test edx, edx
jle 0x1017ce8f
mov eax, 8
mov ecx, edx
cmp edx, eax
cmovl ecx, eax
test ecx, ecx
jle 0x1017ce8f
mov eax, dword [0x10456c08]
test eax, eax
je 0x1017ce78
inc dword [eax + 0x3b4]
lea eax, [ecx + ecx]
push eax
call fcn.101af5fa
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 0x1017cf0e
mov edi, dword [esp + 0x20]
nop dword [eax]
test edi, edi
je 0x1017cec8
cmp esi, edi
jae 0x1017cf0a
cmp byte [esi], 0
je 0x1017cf0a
push edi
mov edx, esi
lea ecx, [esp + 0x44]
call fcn.10158bf0
mov ecx, dword [esp + 0x40]
add esi, eax
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x90]
test ecx, ecx
je 0x1017cf0a
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 0x1017cec0
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.1017ad50
mov edx, eax
test edx, edx
je 0x1017cf50
xor ecx, ecx
test esi, esi
jle 0x1017cf50
nop
mov eax, dword [edi + 0x14]
mov ax, word [eax + ecx*2]
mov word [edx + ecx*2], ax
inc ecx
cmp ecx, esi
jl 0x1017cf40
push dword [edi + 4]
xor edx, edx
mov ecx, edi
call fcn.10179800
mov esi, dword [esp + 0x40]
test esi, esi
jle 0x1017cf7d
push esi
push dword [esp + 0x34]
xor edx, edx
mov ecx, edi
call fcn.10179870
test al, al
je 0x1017cf7d
mov dword [edi + 0x3c], esi
mov byte [edi + 0x52], 0
mov ecx, dword [esp + 0x30]
test ecx, ecx
je 0x1017cf9d
mov eax, dword [0x10456c08]
test eax, eax
je 0x1017cf94
dec dword [eax + 0x3b4]
push ecx
call fcn.101ae6b9
add esp, 4
cmp byte [esp + 0x36], 0
mov eax, dword [ebp + 0x14]
je 0x1017d3d8
test al, 0x20
je 0x1017d3d8
cmp byte [esp + 0x38], 0
jne 0x1017d010
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 0x1017cfff
test eax, eax
je 0x1017cfe5
cdq
sub eax, edx
lea edx, [edi + 0x18]
mov ecx, eax
sar ecx, 1
add ecx, dword [edx + 4]
jmp 0x1017cfed
mov ecx, 8
lea edx, [edi + 0x18]
cmp ecx, esi
mov eax, esi
cmovg eax, ecx
mov ecx, edx
push eax
call fcn.100c6320
lea ecx, [edi + 0x18]
mov dword [ecx], esi
mov edx, esi
mov ecx, dword [edi + 0x20]
push 0
push dword [edi + 0x14]
call fcn.10158d60
mov edx, dword [ebp + 0x14]
test edx, 0x801c0
je 0x1017d390
mov esi, dword [0x10456c08]
test dl, 0x40
je 0x1017d048
mov ecx, dword [esi + 0x78]
test ecx, ecx
js 0x1017d048
mov dl, 1
call fcn.1015e7d0
mov edx, dword [ebp + 0x14]
test al, al
je 0x1017d048
mov eax, 0x40
xor ecx, ecx
jmp 0x1017d0c0
test dl, dl
jns 0x1017d090
mov ecx, dword [esi + 0x84]
test ecx, ecx
js 0x1017d06e
mov dl, 1
call fcn.1015e7d0
mov edx, dword [ebp + 0x14]
test al, al
je 0x1017d06e
mov eax, 0x80
lea ecx, [eax - 0x7d]
jmp 0x1017d0c0
mov ecx, dword [esi + 0x88]
test ecx, ecx
js 0x1017d090
mov dl, 1
call fcn.1015e7d0
mov edx, dword [ebp + 0x14]
test al, al
je 0x1017d090
mov eax, 0x80
lea ecx, [eax - 0x7c]
jmp 0x1017d0c0
test edx, 0x80000
je 0x1017d0a8
cmp byte [edi + 0xe6e], 0
je 0x1017d0a8
mov eax, 0x80000
jmp 0x1017d0bb
test edx, 0x100
mov ecx, pe_nt_image_headers32
mov eax, 0
cmovne eax, ecx
mov ecx, 0x16
test eax, eax
je 0x1017d390
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.10158e20
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.10158e20
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.10158e20
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 0x1017d19f
test al, al
je 0x1017d1f3
mov esi, dword [esp + 0x104]
xor eax, eax
lea edi, [edx + esi]
mov dword [esp + 0x18], eax
test edi, edi
je 0x1017d1b7
cmp esi, edi
jae 0x1017d1d8
cmp byte [esi], 0
je 0x1017d1d8
push edi
mov edx, esi
lea ecx, [esp + 0x44]
call fcn.10158bf0
add esi, eax
cmp dword [esp + 0x40], 0
mov eax, dword [esp + 0x18]
je 0x1017d1d8
inc eax
jmp 0x1017d1ab
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 0x1017d1f7
mov edi, dword [esp + 0x4c]
mov ecx, dword [esp + 0x118]
cmp ecx, dword [esp + 0x60]
jne 0x1017d208
test al, al
je 0x1017d258
cmp ecx, edx
jne 0x1017d211
mov eax, dword [edi + 0x3c]
jmp 0x1017d255
mov esi, dword [esp + 0x104]
xor eax, eax
lea edi, [ecx + esi]
mov dword [esp + 0x18], eax
test edi, edi
je 0x1017d229
cmp esi, edi
jae 0x1017d24a
cmp byte [esi], 0
je 0x1017d24a
push edi
mov edx, esi
lea ecx, [esp + 0x44]
call fcn.10158bf0
add esi, eax
cmp dword [esp + 0x40], 0
mov eax, dword [esp + 0x18]
je 0x1017d24a
inc eax
jmp 0x1017d21d
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 0x1017d270
cmp byte [esp + 0x1c], 0
je 0x1017d390
cmp eax, ecx
jne 0x1017d279
mov eax, dword [edi + 0x40]
jmp 0x1017d2b6
mov esi, dword [esp + 0x104]
lea edi, [eax + esi]
xor eax, eax
mov dword [esp + 0x18], eax
test edi, edi
je 0x1017d291
cmp esi, edi
jae 0x1017d2b2
cmp byte [esi], 0
je 0x1017d2b2
push edi
mov edx, esi
lea ecx, [esp + 0x44]
call fcn.10158bf0
add esi, eax
cmp dword [esp + 0x40], 0
mov eax, dword [esp + 0x18]
je 0x1017d2b2
inc eax
jmp 0x1017d285
mov edi, dword [esp + 0x4c]
cmp byte [esp + 0x1c], 0
mov dword [edi + 0x44], eax
je 0x1017d390
mov esi, dword [esp + 0x108]
mov ecx, dword [esp + 0xb0]
cmp esi, ecx
jle 0x1017d316
cmp byte [esp + 0x50], 0
je 0x1017d316
mov eax, dword [edi + 0x10]
sub esi, ecx
add esi, dword [edi + 0xc]
cmp esi, eax
jle 0x1017d313
test eax, eax
je 0x1017d2fc
cdq
sub eax, edx
lea edx, [edi + 0xc]
mov ecx, eax
sar ecx, 1
add ecx, dword [edx + 4]
jmp 0x1017d304
mov ecx, 8
lea edx, [edi + 0xc]
cmp ecx, esi
mov eax, esi
cmovg eax, ecx
mov ecx, edx
push eax
call fcn.1016a130
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 0x1017d370
mov edi, dword [esp + 0x40]
nop dword [eax]
cmp byte [edi], 0
je 0x1017d368
push 0
mov edx, edi
lea ecx, [esp + 0x44]
call fcn.10158bf0
add edi, eax
mov eax, dword [esp + 0x40]
test eax, eax
je 0x1017d368
mov word [esi], ax
add esi, 2
cmp esi, dword [esp + 0x60]
jb 0x1017d340
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 0x1017d3d5
mov esi, dword [edi + 0x20]
mov eax, esi
mov ecx, dword [ebp + 8]
nop
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x1017d3c0
test dl, dl
je 0x1017d3bc
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x1017d3c0
add eax, 2
add ecx, 2
test dl, dl
jne 0x1017d3a0
xor eax, eax
jmp 0x1017d3c5
sbb eax, eax
or eax, 1
test eax, eax
mov eax, dword [ebp + 0x14]
je 0x1017d3d8
mov ecx, dword [edi + 8]
mov dword [esp + 0x54], esi
jmp 0x1017d3dc
mov eax, dword [ebp + 0x14]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x54]
test edx, edx
je 0x1017d4b1
cmp byte [esp + 0x50], 0
je 0x1017d482
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 0x1017d485
mov esi, dword [ebp + 0xc]
lea eax, [ecx + 1]
cmp eax, esi
cmovl esi, eax
cmp esi, 1
jb 0x1017d4ac
jbe 0x1017d4a4
lea eax, [esi - 1]
push eax
push edx
push dword [ebp + 8]
call fcn.101addb0
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 0x1017d4ef
cmp dword [esi + 0x1c24], ecx
jne 0x1017d4ef
call fcn.1015b290
mov ecx, dword [esp + 0x2c]
cmp byte [esp + 0x28], 0
jne 0x1017d688
mov edx, ecx
lea ecx, [esp + 0xb4]
push 1
call fcn.1015a880
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.1015a620
mov ecx, dword [esp + 0x5c]
sub esp, 0x18
cmp byte [esp + 0x62], 0
mov edx, dword [0x1022ccc8]
movss xmm0, dword [esi + 0x15a0]
mov eax, dword [ecx + 0x2c4]
mov ecx, esp
movss dword [esp + 0x58], xmm0
movups xmm0, xmmword [edx + 0x3a2c]
mov dword [esp + 0x78], eax
mov eax, dword [edx + 0x3a3c]
movups xmmword [ecx], xmm0
mov dword [ecx + 0x10], eax
mov al, byte [edx + 0x3a40]
mov byte [ecx + 0x14], al
jne 0x1017d5a1
movss xmm0, dword [0x10200e0c]
call fcn.100c2770
mov ecx, eax
mov dword [esp + 0x50], ecx
jmp 0x1017d5ac
call fcn.100c25f0
mov ecx, eax
mov dword [esp + 0x50], eax
mov eax, dword [0x10456c08]
movss xmm1, dword [eax + 0x1560]
comiss xmm1, dword [0x10200e78]
jae 0x1017d5f7
mov eax, ecx
shr eax, 0x18
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x102017b0]
cvtpd2ps xmm0, xmm0
mulss xmm0, xmm1
call fcn.101c8190
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.1016ce80
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 0x1017d6eb
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 0x1017d755
mov eax, dword [edi + 0x20]
mov dword [ebp + 8], eax
mov dh, byte [esp + 0x1e]
mov dword [esp + 0x24], 0
test dh, dh
je 0x1017d789
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 0x1017d771
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 0x1017db4c
cmp byte [esp + 0xa8], al
jne 0x1017db4c
cmp byte [esp + 0x28], al
je 0x1017d7fc
mov eax, dword [ebp + 8]
xor ecx, ecx
mov dl, byte [eax]
lea edi, [eax + 1]
test dl, dl
je 0x1017d7c8
cmp dl, 0xa
lea eax, [ecx + 1]
mov dl, byte [edi]
cmovne eax, ecx
inc edi
mov ecx, eax
test dl, dl
jne 0x1017d7b6
mov al, byte [edi - 1]
dec edi
mov dword [esp + 0x24], edi
cmp al, 0xa
je 0x1017d7d9
cmp al, 0xd
je 0x1017d7d9
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 0x1017d849
test dh, dh
jne 0x1017d835
mov eax, dword [esp + 0x2c]
cmp dword [esi + 0x1c24], eax
jne 0x1017d818
mov edi, dword [edi + 8]
add edi, dword [ebp + 8]
mov dword [esp + 0x24], edi
jmp 0x1017d839
mov edi, dword [ebp + 8]
mov ecx, edi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1017d820
sub ecx, edx
mov dh, byte [esp + 0x1e]
add edi, ecx
mov dword [esp + 0x24], edi
jmp 0x1017d839
mov edi, dword [esp + 0x24]
mov eax, edi
sub eax, dword [ebp + 8]
cmp eax, 0x200000
jge 0x1017d98b
movss xmm0, dword [0x10200e78]
movzx ecx, dh
call fcn.10159810
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 0x1017d987
test esi, esi
jne 0x1017d8c4
mov ecx, dword [ebp + 8]
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1017d8b0
mov eax, dword [esp + 0x50]
sub ecx, esi
mov esi, dword [ebp + 8]
add ecx, esi
jmp 0x1017d8c7
mov esi, dword [ebp + 8]
cmp esi, ecx
je 0x1017e889
test eax, eax
jne 0x1017d8db
mov eax, dword [edi + 0x2c]
mov esi, dword [eax + 8]
jmp 0x1017d8df
mov esi, dword [esp + 0x50]
ucomiss xmm2, dword [0x10200d18]
lahf
test ah, 0x44
jp 0x1017d8f4
mov eax, dword [edi + 0x2c]
movss xmm2, dword [eax + 0xc]
movups xmm0, xmmword [edi + 0x60]
movups xmmword [esp + 0x70], xmm0
test edx, edx
je 0x1017d950
movss xmm1, dword [edx]
movss xmm0, dword [esp + 0x70]
comiss xmm0, xmm1
jae 0x1017d916
movss dword [esp + 0x70], xmm1
movss xmm1, dword [edx + 4]
movss xmm0, dword [esp + 0x74]
comiss xmm0, xmm1
jae 0x1017d92c
movss dword [esp + 0x74], xmm1
movss xmm0, dword [edx + 8]
comiss xmm0, dword [esp + 0x78]
ja 0x1017d93e
movss dword [esp + 0x78], xmm0
movss xmm0, dword [edx + 0xc]
comiss xmm0, dword [esp + 0x7c]
ja 0x1017d950
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.1016fa20
mov edi, dword [esp + 0x24]
mov esi, dword [ebp + 8]
cmp byte [esp + 0xac], 0
je 0x1017d9a4
cmp byte [esp + 0x1e], 0
jne 0x1017d9a4
call fcn.101637b0
cmp byte [esp + 0x28], 0
je 0x1017da62
mov eax, dword [esp + 0x14]
mov ecx, dword [0x10456c08]
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 0x1017da58
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 [0x10201264]
addss xmm4, xmm3
movss dword [esp + 0xdc], xmm1
movss dword [esp + 0xe4], xmm2
movss dword [esp + 0xe0], xmm4
call fcn.10163cf0
push 0
xor edx, edx
lea ecx, [esp + 0xdc]
call fcn.10163e20
call fcn.1015eaa0
call fcn.101643c0
mov eax, dword [esp + 0x14]
cmp byte [eax + 0x2f3c], 0
je 0x1017daac
cmp byte [esp + 0xac], 0
je 0x1017da80
cmp byte [esp + 0x1e], 0
je 0x1017daac
mov eax, dword [0x10456c08]
lea ecx, [esp + 0xcc]
push edi
mov edx, esi
mov dword [eax + 0x2f54], 0x101ff094
mov dword [eax + 0x2f58], 0x101ff090
call fcn.10168fc0
mov eax, dword [esp + 0x14]
movss xmm0, dword [esp + 0xd4]
comiss xmm0, dword [0x10200d18]
jbe 0x1017db08
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.10159a60
mov dl, byte [esp + 0x37]
mov ecx, dword [ebp + 0x14]
test dl, dl
je 0x1017db36
test ecx, 0x200000
jne 0x1017db36
mov eax, dword [0x10456c08]
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 0x1017db5e
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 0x1017dba8
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 0x1017dbd4
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 0x1017dc58
mov edi, dword [esp + 0x2c]
movzx esi, word [edi]
mov edi, dword [esp + 0x54]
cmp si, 0xa
jne 0x1017dc37
inc eax
mov dword [esp + 0x90], eax
cmp edi, 0xffffffff
jne 0x1017dc21
cmp ecx, dword [esp + 0x6c]
jb 0x1017dc21
dec edx
mov edi, eax
test edx, edx
jle 0x1017dc4c
cmp dword [esp + 0x30], 0xffffffff
jne 0x1017dc37
cmp ecx, dword [esp + 0x5c]
jb 0x1017dc37
dec edx
mov dword [esp + 0x30], eax
test edx, edx
jle 0x1017dc4c
movzx eax, word [ecx + 2]
add ecx, 2
mov esi, eax
test ax, ax
mov eax, dword [esp + 0x90]
jne 0x1017dc01
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 0x1017dc96
cmp word [ecx - 2], 0xa
je 0x1017dc96
add ecx, 0xfffffffe
cmp ecx, edx
ja 0x1017dc88
mov edx, dword [0x10456c08]
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 0x1017dd1b
mov edi, eax
movzx eax, word [ecx]
add ecx, 2
mov esi, eax
cmp eax, 0xa
jne 0x1017dcdb
comiss xmm4, xmm1
jae 0x1017dcd6
movaps xmm4, xmm1
movaps xmm1, xmm6
jmp 0x1017dcfd
cmp esi, 0xd
je 0x1017dcfd
mov esi, eax
cmp esi, dword [edi]
jge 0x1017dcf0
mov eax, dword [edi + 8]
movss xmm0, dword [eax + esi*4]
jmp 0x1017dcf5
movss xmm0, dword [edi + 0xc]
mulss xmm0, xmm2
addss xmm1, xmm0
cmp ecx, dword [esp + 0x6c]
jb 0x1017dcc1
comiss xmm1, xmm4
mov edi, dword [esp + 0x4c]
movss dword [esp + 0x54], xmm4
jbe 0x1017dd1b
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 0x1017ddfb
mov eax, dword [esp + 0x5c]
mov ecx, eax
cmp eax, dword [esp + 0x2c]
jbe 0x1017dd67
mov edi, dword [esp + 0x2c]
cmp word [ecx - 2], 0xa
je 0x1017dd63
add ecx, 0xfffffffe
cmp ecx, edi
ja 0x1017dd55
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 0x1017ddda
mov edi, eax
movzx eax, word [ecx]
add ecx, 2
mov esi, eax
cmp eax, 0xa
jne 0x1017dd9f
comiss xmm7, xmm1
jae 0x1017dd9a
movaps xmm7, xmm1
movaps xmm1, xmm6
jmp 0x1017ddc4
cmp esi, 0xd
je 0x1017ddc4
mov esi, eax
cmp esi, dword [edi]
jge 0x1017ddb4
mov eax, dword [edi + 8]
movss xmm2, dword [eax + esi*4]
jmp 0x1017ddb9
movss xmm2, dword [edi + 0xc]
movaps xmm0, xmm3
mulss xmm0, xmm2
addss xmm1, xmm0
cmp ecx, dword [esp + 0x5c]
jb 0x1017dd85
comiss xmm1, xmm7
mov edi, dword [esp + 0x4c]
mov esi, dword [esp + 0x14]
jbe 0x1017ddda
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 0x1017de2e
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 0x1017df53
cmp byte [edi + 0xe6c], 0
je 0x1017df53
test dword [ebp + 0x14], 0x1000
jne 0x1017deac
movaps xmm2, xmm1
subss xmm1, dword [esi + 0x1598]
mulss xmm2, dword [0x10200dcc]
movss dword [esp + 0x88], xmm1
movss xmm1, dword [edi + 0x38]
comiss xmm1, xmm4
jbe 0x1017de85
movaps xmm1, xmm4
movaps xmm0, xmm6
subss xmm1, xmm2
maxss xmm0, xmm1
jmp 0x1017de9a
movaps xmm0, xmm4
subss xmm0, dword [esp + 0x88]
comiss xmm0, xmm1
jb 0x1017deb3
addss xmm0, xmm2
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [edi + 0x38], xmm0
jmp 0x1017deb3
mov dword [edi + 0x38], 0
test cl, cl
je 0x1017df4c
movss xmm2, dword [esp + 0x68]
movaps xmm0, xmm3
subss xmm0, dword [esi + 0x1988]
comiss xmm2, xmm0
jbe 0x1017dee0
movss xmm3, dword [esp + 0x74]
movaps xmm2, xmm6
maxss xmm2, xmm0
jmp 0x1017df02
movaps xmm0, xmm3
movss xmm3, dword [esp + 0x74]
subss xmm0, xmm3
comiss xmm0, xmm2
jb 0x1017df02
movss xmm2, dword [esi + 0x159c]
addss xmm2, xmm2
addss xmm2, xmm0
comiss xmm6, xmm2
movss xmm1, dword [esi + 0x159c]
jbe 0x1017df14
movaps xmm1, xmm6
jmp 0x1017df28
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 [0x1022ccd4]
movss xmm5, dword [edi + 0x38]
mov ecx, dword [esp + 0xa8]
movss xmm4, dword [0x10201190]
movss dword [esp + 0x68], xmm5
mov byte [eax], cl
test cl, cl
je 0x1017e4a2
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 0x1017dfb2
movss xmm0, dword [0x10200e78]
jmp 0x1017dfba
movss xmm0, dword [0x10200e18]
mov ecx, 0x30
call fcn.10159810
mov dword [esp + 0xa8], eax
xorps xmm0, xmm0
mov eax, dword [esp + 0x28]
test al, al
je 0x1017dfde
xorps xmm5, xmm5
xorps xmm6, xmm6
jmp 0x1017dfee
movss xmm5, dword [0x10201264]
movss xmm6, dword [0x10200f40]
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 0x1017e444
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 0x1017e440
movss xmm0, dword [esp + 0xb8]
comiss xmm0, xmm4
jbe 0x1017e089
cmp esi, edx
jae 0x1017e415
nop word [eax + eax]
mov ax, word [esi]
add esi, 2
cmp ax, 0xa
je 0x1017e415
cmp esi, edx
jb 0x1017e070
jmp 0x1017e415
xorps xmm2, xmm2
mov eax, dword [0x10456c08]
xorps xmm1, xmm1
mov edx, dword [eax + 0x1984]
movss xmm3, dword [eax + 0x1988]
divss xmm3, dword [edx + 0x10]
cmp esi, dword [esp + 0x90]
jae 0x1017e102
movzx eax, word [esi]
add esi, 2
mov ecx, eax
cmp eax, 0xa
je 0x1017e0e8
cmp ecx, 0xd
je 0x1017e0dd
cmp ecx, dword [edx]
jge 0x1017e0d0
mov eax, dword [edx + 8]
movss xmm0, dword [eax + ecx*4]
jmp 0x1017e0d5
movss xmm0, dword [edx + 0xc]
mulss xmm0, xmm3
addss xmm1, xmm0
cmp esi, dword [esp + 0x90]
jb 0x1017e0b0
jmp 0x1017e0f6
xorps xmm0, xmm0
comiss xmm0, xmm1
jae 0x1017e0f3
movaps xmm2, xmm1
xorps xmm1, xmm1
comiss xmm1, xmm2
mov ecx, dword [esp + 0x14]
jbe 0x1017e102
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 0x1017e16d
mov eax, dword [ecx + 0x1984]
cmp dword [eax], 0x20
jle 0x1017e155
mov eax, dword [eax + 8]
movss xmm0, dword [eax + 0x80]
jmp 0x1017e15a
movss xmm0, dword [eax + 0xc]
mulss xmm0, dword [0x10200e0c]
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 0x1017e237
comiss xmm3, xmm1
jbe 0x1017e237
comiss xmm2, xmm6
jbe 0x1017e237
comiss xmm4, xmm7
jbe 0x1017e237
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.1016cf70
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 0x1017e259
movss xmm0, dword [0x10200e8c]
jmp 0x1017e261
movss xmm0, dword [0x10200e0c]
mov edx, dword [0x1022ccc8]
sub esp, 0x18
mov ecx, esp
movups xmm1, xmmword [edx + 0x3a2c]
mov eax, dword [edx + 0x3a3c]
movups xmmword [ecx], xmm1
mov dword [ecx + 0x10], eax
mov al, byte [edx + 0x3a40]
mov byte [ecx + 0x14], al
call fcn.100c2770
mov edx, eax
movss xmm5, dword [0x10200d54]
mov ecx, edx
shr eax, 8
shr ecx, 0x10
movzx ecx, cl
movzx eax, al
movss xmm7, dword [0x10200e78]
movd xmm0, ecx
cvtdq2pd xmm0, xmm0
shr ecx, 0x1f
addsd xmm0, qword [ecx*8 + 0x102017b0]
cvtpd2ps xmm4, xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
mulss xmm4, xmm5
addsd xmm0, qword [eax*8 + 0x102017b0]
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 + 0x102017b0]
mov eax, dword [0x10456c08]
cvtpd2ps xmm2, xmm0
movd xmm0, edx
cvtdq2pd xmm0, xmm0
shr edx, 0x1f
mulss xmm2, xmm5
addsd xmm0, qword [edx*8 + 0x102017b0]
cvtpd2ps xmm3, xmm0
mulss xmm3, xmm5
xorps xmm5, xmm5
comiss xmm5, xmm4
mulss xmm3, dword [eax + 0x1560]
jbe 0x1017e33d
xorps xmm0, xmm0
jmp 0x1017e344
movaps xmm0, xmm7
minss xmm0, xmm4
movss xmm4, dword [0x10201190]
movss xmm6, dword [0x10200e0c]
mulss xmm0, xmm4
addss xmm0, xmm6
cvttss2si ecx, xmm0
shl ecx, 0x10
comiss xmm5, xmm1
jbe 0x1017e36d
xorps xmm0, xmm0
jmp 0x1017e374
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 0x1017e38f
xorps xmm0, xmm0
jmp 0x1017e396
movaps xmm0, xmm7
minss xmm0, xmm2
mulss xmm0, xmm4
addss xmm0, xmm6
cvttss2si eax, xmm0
or ecx, eax
comiss xmm5, xmm3
jbe 0x1017e3ae
xorps xmm0, xmm0
jmp 0x1017e3b5
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.1016ce80
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 0x1017e040
mov eax, dword [esp + 0x28]
movss xmm4, dword [0x10201190]
xorps xmm6, xmm6
movss xmm5, dword [esp + 0x68]
mov edx, dword [0x10456c08]
mov esi, dword [esp + 0x14]
test al, al
jne 0x1017e475
mov eax, dword [esp + 0x24]
sub eax, dword [ebp + 8]
cmp eax, 0x200000
jge 0x1017e6d5
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 0x1017e4b1
movaps xmm0, xmm6
jmp 0x1017e4bd
movss xmm3, dword [esp + 0xcc]
mov eax, dword [esp + 0x28]
jmp 0x1017e45f
movss xmm0, dword [0x10200e78]
minss xmm0, xmm2
movss xmm7, dword [0x10200e0c]
movss xmm2, dword [esp + 0x74]
mulss xmm0, xmm4
addss xmm0, xmm7
cvttss2si ecx, xmm0
shl ecx, 0x10
comiss xmm6, xmm2
jbe 0x1017e4e4
movaps xmm0, xmm6
jmp 0x1017e4f0
movss xmm0, dword [0x10200e78]
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 0x1017e511
movaps xmm0, xmm6
jmp 0x1017e51d
movss xmm0, dword [0x10200e78]
minss xmm0, xmm2
mulss xmm0, xmm4
addss xmm0, xmm7
cvttss2si eax, xmm0
or ecx, eax
comiss xmm6, xmm1
jbe 0x1017e535
movaps xmm0, xmm6
jmp 0x1017e541
movss xmm0, dword [0x10200e78]
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 0x1017e6d5
cmp dword [esp + 0x24], 0
jne 0x1017e5f0
mov ecx, dword [ebp + 8]
lea eax, [ecx + 1]
mov dword [esp + 0x50], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1017e5d3
sub ecx, dword [esp + 0x50]
mov eax, dword [ebp + 8]
add eax, ecx
mov ecx, dword [esp + 0x90]
mov dword [esp + 0x18], eax
jmp 0x1017e5f4
mov eax, dword [esp + 0x18]
cmp dword [ebp + 8], eax
je 0x1017e6d5
cmp dword [esi + 0x1984], 0
jne 0x1017e610
mov eax, dword [ecx + 0x2c]
mov eax, dword [eax + 8]
mov dword [esp + 0x60], eax
ucomiss xmm2, xmm6
lahf
test ah, 0x44
jp 0x1017e621
mov eax, dword [ecx + 0x2c]
movss xmm2, dword [eax + 0xc]
movups xmm0, xmmword [ecx + 0x60]
movups xmmword [esp + 0x90], xmm0
test edx, edx
je 0x1017e698
movss xmm1, dword [edx]
movss xmm0, dword [esp + 0x90]
comiss xmm0, xmm1
jae 0x1017e64c
movss dword [esp + 0x90], xmm1
movss xmm1, dword [edx + 4]
movss xmm0, dword [esp + 0x94]
comiss xmm0, xmm1
jae 0x1017e668
movss dword [esp + 0x94], xmm1
movss xmm0, dword [edx + 8]
comiss xmm0, dword [esp + 0x98]
ja 0x1017e680
movss dword [esp + 0x98], xmm0
movss xmm0, dword [edx + 0xc]
comiss xmm0, dword [esp + 0x9c]
ja 0x1017e698
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.1016fa20
cmp byte [esp + 0x1f], 0
je 0x1017d987
movss xmm0, dword [esi + 0x5c]
addss xmm0, dword [edi + 0xe68]
movss dword [edi + 0xe68], xmm0
cmp byte [esi + 0xf6], 0
je 0x1017e73d
xorps xmm1, xmm1
comiss xmm1, xmm0
jae 0x1017e73d
cvtps2pd xmm0, xmm0
movsd qword [esp + 0x70], xmm0
fld qword [esp + 0x70]
fld qword [0x10200f28]
call fcn.101c8400
movss xmm0, dword [0x10200e48]
fstp qword [esp + 0x70]
movsd xmm1, qword [esp + 0x70]
cvtpd2ps xmm1, xmm1
comiss xmm0, xmm1
jae 0x1017e73d
xor al, al
jmp 0x1017e73f
mov al, 1
movss xmm0, dword [esp + 0xd0]
movss xmm4, dword [esp + 0x54]
movss xmm6, dword [0x10200e78]
addss xmm0, dword [esp + 0x40]
addss xmm4, dword [esp + 0xcc]
subss xmm0, dword [0x10200d18]
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 [0x10200ed0]
movss dword [esp + 0xe0], xmm3
addss xmm1, dword [0x10200e0c]
movss dword [esp + 0xe4], xmm2
movss dword [esp + 0xdc], xmm1
test al, al
je 0x1017e859
comiss xmm2, dword [esp + 0xb8]
jbe 0x1017e859
movss xmm5, dword [esp + 0xb0]
comiss xmm5, xmm1
jbe 0x1017e859
comiss xmm3, dword [esp + 0xb4]
jbe 0x1017e859
movss xmm1, dword [esp + 0xa4]
comiss xmm1, xmm4
jbe 0x1017e859
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.10159810
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.1016cd50
movss xmm0, dword [esp + 0x40]
movss xmm4, dword [esp + 0x54]
movss xmm6, dword [0x10200e78]
cmp byte [esp + 0x38], 0
mov edi, dword [esp + 0x24]
jne 0x1017d98b
subss xmm0, dword [esi + 0x1988]
subss xmm4, xmm6
movss dword [esi + 0x2ee8], xmm0
movss dword [esi + 0x2ee4], xmm4
jmp 0x1017d98b
mov edi, dword [esp + 0x24]
jmp 0x1017d98e