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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x158
push esi
mov esi, dword [0x10453c48]
push edi
mov edi, esi
mov dword [esp + 0x7c], edx
mov dword [esp + 0xd8], ecx
mov dword [esp + 0x18], edi
mov eax, dword [edi + 0x1bec]
mov byte [eax + 0xa8], 1
mov edx, dword [edi + 0x1bec]
mov dword [esp + 0x60], edx
cmp byte [edx + 0xab], 0
jne 0x10179668
mov eax, dword [ebp + 0x14]
mov ecx, eax
mov dword [esp + 0x40], eax
shr dword [esp + 0x40], 0xe
and byte [esp + 0x40], 1
mov dword [esp + 0xa8], eax
shr dword [esp + 0xa8], 0xf
and byte [esp + 0xa8], 1
shr eax, 0x10
not al
shr ecx, 0x14
and eax, 0xffffff01
and ecx, 0xffffff01
mov dword [esp + 0x64], eax
mov eax, dword [ebp + 0x14]
shr eax, 0x12
and eax, 0xffffff01
mov dword [esp + 0x34], ecx
mov dword [esp + 0x80], eax
test cl, cl
je 0x10179383
call fcn.10162120
mov esi, dword [0x10453c48]
mov edx, dword [esp + 0x60]
mov ecx, dword [edx + 0xe0]
mov eax, dword [edx + 0xe8]
xor edx, edx
push dword [eax + ecx*4 - 4]
mov ecx, dword [esp + 0xdc]
call fcn.10155bc0
mov dword [esp + 0x3c], eax
cmp dword [esi + 0x1c24], eax
jne 0x101793b3
mov dword [esi + 0x1c28], eax
cmp dword [esi + 0x1c5c], eax
jne 0x101793c2
mov byte [esi + 0x1c60], 1
mov eax, dword [esp + 0xd8]
mov ecx, eax
cmp eax, 0xffffffff
jae 0x101793e6
mov dl, byte [ecx]
test dl, dl
je 0x101793e6
cmp dl, 0x23
jne 0x101793e0
cmp byte [ecx + 1], dl
je 0x101793e6
inc ecx
cmp ecx, 0xffffffff
jb 0x101793d0
movss xmm1, dword [0x10202414]
movss xmm0, dword [esi + 0x1988]
movss dword [esp + 0x88], xmm1
cmp eax, ecx
jne 0x10179411
xorps xmm1, xmm1
movss dword [esp + 0xe4], xmm1
jmp 0x1017945e
push 0
push ecx
push eax
push ecx
mov ecx, dword [esi + 0x1984]
lea eax, [esp + 0x78]
mov dword [esp], 0xbf800000
movaps xmm3, xmm1
push eax
movaps xmm2, xmm0
call fcn.1016dac0
movss xmm0, dword [esp + 0x68]
xorps xmm1, xmm1
addss xmm0, dword [0x10202058]
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [esp + 0xe4], xmm0
movss xmm0, dword [esp + 0x6c]
cmp byte [esp + 0x34], 0
je 0x10179475
movss xmm0, dword [edi + 0x1988]
mulss xmm0, dword [0x102021f4]
test byte [esi + 0x1cd4], 1
movss xmm2, dword [edi + 0x159c]
mov eax, dword [esi + 0x1bec]
addss xmm2, xmm2
addss xmm2, xmm0
je 0x1017949e
movss xmm0, dword [esi + 0x1cd8]
jmp 0x101794a6
movss xmm0, dword [eax + 0x1f0]
comiss xmm1, xmm0
jbe 0x101794e5
cmp dword [eax + 0x1d0], 0
movss xmm1, dword [eax + 0x288]
jne 0x101794c5
cmp dword [esi + 0x1f2c], 0
je 0x101794cd
movss xmm1, dword [eax + 0x258]
subss xmm1, dword [eax + 0xec]
addss xmm1, xmm0
movss xmm0, dword [0x10202060]
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.10162010
movss dword [esp + 0x6c], xmm1
movss xmm1, dword [esp + 0xe4]
movss dword [esp + 0x68], xmm0
xorps xmm0, xmm0
comiss xmm1, xmm0
jbe 0x1017952e
movaps xmm2, xmm1
addss xmm2, dword [edi + 0x15b0]
jmp 0x10179531
xorps xmm2, xmm2
mov eax, dword [esp + 0x60]
lea ecx, [esp + 0xb8]
movss xmm5, dword [esp + 0x68]
mov esi, dword [esp + 0x3c]
addss xmm2, xmm5
mov edx, esi
movss dword [esp + 0xac], xmm5
movss xmm4, dword [eax + 0xf0]
movss xmm3, dword [eax + 0xec]
movaps xmm0, xmm4
addss xmm0, dword [esp + 0x6c]
movaps xmm1, xmm3
movss dword [esp + 0x4c], xmm3
addss xmm2, xmm3
movss dword [esp + 0x24], xmm4
addss xmm1, xmm5
movss dword [esp + 0xb8], xmm3
movss dword [esp + 0xbc], xmm4
movss dword [esp + 0xc4], xmm0
movaps xmm0, xmm4
addss xmm0, dword [esp + 0x6c]
movss dword [esp + 0x28], xmm2
movss dword [esp + 0xc0], xmm1
movss dword [esp + 0x90], xmm3
movss dword [esp + 0x94], xmm4
movss dword [esp + 0x30], xmm0
movss dword [esp + 0x98], xmm2
movss dword [esp + 0x9c], xmm0
mov dword [esp + 0x78], eax
call fcn.10158860
mov byte [esp + 0x57], al
test al, al
je 0x101795fd
mov dword [edi + 0x1e98], 1
cmp byte [esp + 0x34], 0
je 0x1017983f
lea eax, [esp + 0xb8]
mov edx, esi
push eax
lea ecx, [esp + 0x94]
call fcn.10161cb0
test al, al
jne 0x10179672
movss xmm0, dword [esp + 0x98]
lea ecx, [esp + 0x68]
subss xmm0, dword [esp + 0x90]
movss dword [esp + 0x68], xmm0
movss xmm0, dword [esp + 0x9c]
subss xmm0, dword [esp + 0x94]
movss dword [esp + 0x6c], xmm0
movss xmm0, dword [edi + 0x159c]
call fcn.10161b80
call fcn.10162250
xor al, al
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x18
mov edx, 0xff0b0b0b
mov ecx, 4
call fcn.10156ba0
mov esi, dword [0x10453c48]
lea eax, [esp + 0xc8]
movss xmm0, dword [edi + 0x15a0]
movss dword [esp + 0x28], xmm0
push eax
movss xmm0, dword [esi + 0x1588]
lea ecx, [esi + 0x1cf4]
mov dword [esp + 0xcc], 6
movss dword [esp + 0xd0], xmm0
call fcn.10167cd0
movss xmm0, dword [esp + 0x28]
lea eax, [esp + 0xc8]
movss dword [esi + 0x1588], xmm0
mov esi, dword [0x10453c48]
movss xmm0, dword [edi + 0x15a4]
movss dword [esp + 0x28], xmm0
push eax
movss xmm0, dword [esi + 0x158c]
lea ecx, [esi + 0x1cf4]
mov dword [esp + 0xcc], 7
movss dword [esp + 0xd0], xmm0
call fcn.10167cd0
movss xmm0, dword [esp + 0x28]
lea eax, [esp + 0xc8]
mov ecx, dword [esp + 0xd8]
movss dword [esi + 0x158c], xmm0
movss xmm0, dword [esp + 0xc0]
subss xmm0, dword [esp + 0xb8]
mov esi, dword [esp + 0x3c]
mov edx, esi
push 4
push 1
push eax
movss dword [esp + 0xd4], xmm0
movss xmm0, dword [esp + 0xd0]
subss xmm0, dword [esp + 0xc8]
movss dword [esp + 0xd8], xmm0
call fcn.1015c740
mov ecx, 2
mov byte [esp + 0x3b], al
call fcn.10156c90
mov edi, dword [0x10453c48]
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 + 0x3b], 0
jne 0x101797cf
call fcn.1015c940
call fcn.10162250
xor al, al
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x18
mov edx, dword [esp + 0x18]
mov eax, dword [edx + 0x1bec]
mov dword [esp + 0x78], eax
mov ecx, dword [eax + 0x168]
mov eax, dword [eax + 0x160]
bts ecx, eax
mov eax, dword [esp + 0x78]
mov dword [eax + 0x168], ecx
movss xmm0, dword [edx + 0x1598]
addss xmm0, dword [eax + 0xec]
movss dword [eax + 0xec], xmm0
movss xmm0, dword [edx + 0x159c]
addss xmm0, dword [eax + 0xf0]
movss dword [eax + 0xf0], xmm0
movss xmm0, dword [esp + 0x68]
subss xmm0, dword [eax + 0x9c]
movss dword [esp + 0xac], xmm0
jmp 0x101798a1
movss xmm0, dword [esp + 0x28]
lea ecx, [esp + 0xc8]
subss xmm0, dword [esp + 0x4c]
movss dword [esp + 0xc8], xmm0
movss xmm0, dword [esp + 0x30]
subss xmm0, dword [esp + 0x24]
movss dword [esp + 0xcc], xmm0
movss xmm0, dword [edi + 0x159c]
call fcn.10161b80
lea eax, [esp + 0xb8]
mov edx, esi
push eax
lea ecx, [esp + 0x94]
call fcn.10161cb0
test al, al
je 0x10179668
mov edi, dword [0x10453c48]
add edi, 0x1fb0
xor eax, eax
mov edx, esi
cmp dword [edi], esi
mov esi, dword [esp + 0x60]
mov ecx, esi
cmovne edi, eax
mov dword [esp + 0x58], edi
call fcn.10158af0
mov edx, dword [esp + 0x18]
mov byte [esp + 0x3b], al
test al, al
je 0x10179933
cmp dword [edx + 0x1e78], esi
jne 0x10179933
mov ecx, dword [edx + 0x1e80]
cmp ecx, dword [esi + 0x1e4]
jne 0x10179933
mov byte [esp + 0x23], 1
mov byte [esp + 0x1f], 0
cmp byte [esp + 0x57], 0
je 0x10179900
cmp byte [edx + 0x420], 0
mov byte [esp + 0x21], 1
jne 0x10179905
mov byte [esp + 0x21], 0
mov esi, dword [edx + 0x1c24]
mov eax, dword [esp + 0x3c]
cmp esi, eax
je 0x10179948
cmp dword [edx + 0x1d6c], eax
je 0x1017992c
cmp dword [edx + 0x1d60], eax
jne 0x10179948
cmp dword [edx + 0x1d84], 2
jne 0x10179948
mov byte [esp + 0x22], 1
jmp 0x1017994d
mov byte [esp + 0x23], 0
test al, al
je 0x101798e6
mov byte [esp + 0x1f], 1
mov byte [esp + 0x23], 0
jmp 0x101798eb
mov byte [esp + 0x22], 0
mov eax, dword [esp + 0x34]
test al, al
je 0x10179994
test edi, edi
je 0x10179994
test esi, esi
jne 0x10179994
mov eax, dword [esp + 0x78]
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.10155bc0
mov ecx, dword [esp + 0x18]
cmp dword [ecx + 0x1c5c], eax
jne 0x10179990
mov byte [esp + 0x1e], 1
jmp 0x101799a6
mov eax, dword [esp + 0x34]
mov byte [esp + 0x1e], 0
test al, al
je 0x101799ce
mov byte [esp + 0x1e], 0
test edi, edi
je 0x101799ce
mov eax, dword [esp + 0x78]
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.10155bc0
cmp esi, eax
jne 0x101799ce
mov cl, 1
jmp 0x101799d0
xor cl, cl
mov dl, byte [esp + 0x22]
mov byte [esp + 0x17], cl
mov byte [esp + 0x47], 0
cmp esi, dword [esp + 0x3c]
je 0x101799fc
test byte [ebp + 0x14], 0x10
jne 0x101799ed
test dl, dl
je 0x101799fc
mov eax, dword [esp + 0x34]
test al, al
jne 0x10179a00
mov byte [esp + 0x2c], 1
jmp 0x10179a1f
mov eax, dword [esp + 0x34]
mov byte [esp + 0x2c], 0
test al, al
je 0x10179a1f
mov eax, dword [esp + 0x78]
movss xmm0, dword [eax + 0x78]
mov eax, dword [esp + 0x34]
movss dword [esp + 0x88], xmm0
test edi, edi
je 0x10179a2e
xor al, 1
cmp byte [edi + 0x53], al
je 0x10179a2e
mov al, 1
jmp 0x10179a30
xor al, al
cmp byte [esp + 0x3b], 0
mov byte [esp + 0x3a], al
mov dword [esp + 0x50], 1
jne 0x10179a63
cmp byte [esp + 0x21], 0
jne 0x10179a63
cmp byte [esp + 0x1e], 0
jne 0x10179a63
test dl, dl
jne 0x10179a63
mov byte [esp + 0x1e], dl
test cl, cl
jne 0x10179a68
mov byte [esp + 0x20], cl
jmp 0x10179a73
mov byte [esp + 0x1e], 1
mov byte [esp + 0x20], 1
cmp esi, dword [esp + 0x3c]
jne 0x10179a7b
test al, al
je 0x10179c88
mov edi, dword [esp + 0x18]
mov ecx, dword [ebp + 8]
add edi, 0x1fb0
mov dword [esp + 0x58], edi
mov dword [edi + 0xe68], 0xbe99999a
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10179aa0
mov eax, dword [edi + 0x28]
sub ecx, edx
lea esi, [ecx + 1]
cmp esi, eax
jle 0x10179add
test eax, eax
je 0x10179ac6
cdq
sub eax, edx
lea edx, [edi + 0x24]
mov ecx, eax
sar ecx, 1
add ecx, dword [edx + 4]
jmp 0x10179ace
mov ecx, 8
lea edx, [edi + 0x24]
cmp ecx, esi
mov eax, esi
cmovg eax, ecx
mov ecx, edx
push eax
call fcn.100c3930
push esi
push dword [ebp + 8]
mov dword [edi + 0x24], esi
push dword [edi + 0x2c]
call fcn.101a1ab0
mov edx, dword [ebp + 0xc]
lea eax, [edi + 0xc]
mov esi, dword [eax + 4]
inc edx
add esp, 0xc
mov dword [esp + 0x30], edx
cmp edx, esi
jle 0x10179b32
test esi, esi
je 0x10179b16
mov eax, esi
cdq
sub eax, edx
mov edx, dword [esp + 0x30]
mov ecx, eax
sar ecx, 1
add ecx, esi
jmp 0x10179b1b
mov ecx, 8
cmp ecx, edx
mov eax, edx
cmovg eax, ecx
lea ecx, [edi + 0xc]
push eax
call fcn.10168040
mov edx, dword [esp + 0x30]
lea eax, [edi + 0xc]
mov dword [eax], edx
mov ecx, dword [edi + 0x1c]
test ecx, ecx
jns 0x10179b54
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.100c3930
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 + 0x30], edx
lea ecx, [edx + ecx*2]
cmp edx, ecx
jae 0x10179bb5
mov edi, eax
cmp byte [edi], 0
je 0x10179ba9
push 0
mov edx, edi
lea ecx, [esp + 0x2c]
call fcn.10155e50
mov edx, dword [esp + 0x30]
add edi, eax
mov eax, dword [esp + 0x28]
test eax, eax
je 0x10179ba9
mov word [esi], ax
add esi, 2
mov eax, dword [ebp + 0xc]
dec eax
lea eax, [edx + eax*2]
cmp esi, eax
jb 0x10179b78
mov dword [esp + 0x24], edi
mov edi, dword [esp + 0x58]
mov eax, dword [esp + 0x24]
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 + 0x3c]
mov dword [edi + 4], esi
cmp dword [edi], eax
jne 0x10179bf9
cmp byte [esp + 0x3a], cl
jne 0x10179bf9
cmp dword [edi + 0x3c], esi
mov ecx, 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 + 0x40], ecx
cmovl esi, dword [edi + 0x44]
mov dword [edi + 0x44], esi
jmp 0x10179c56
mov edx, dword [esp + 0x34]
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 0x10179c5a
mov edx, dword [esp + 0x2c]
cmp byte [esp + 0x23], cl
movzx edx, dl
cmovne edx, dword [esp + 0x50]
mov dword [esp + 0x2c], edx
mov edx, dword [esp + 0x34]
test dword [ebp + 0x14], 0x2000
je 0x10179c67
mov byte [edi + 0x48], 1
test dl, dl
jne 0x10179c88
cmp byte [esp + 0x1f], dl
jne 0x10179c83
cmp byte [esp + 0x21], dl
je 0x10179c88
mov eax, dword [esp + 0x18]
cmp byte [eax + 0x140], dl
je 0x10179c88
mov byte [esp + 0x2c], 1
mov esi, dword [esp + 0x18]
mov ecx, dword [esp + 0x3c]
cmp dword [esi + 0x1c24], ecx
je 0x10179d3d
cmp byte [esp + 0x1e], 0
je 0x10179d35
mov edx, dword [esp + 0x60]
call fcn.10158610
call fcn.101638c0
mov ecx, edx
call fcn.101612c0
mov eax, dword [esi + 0x1c38]
mov edx, dword [esp + 0x34]
or eax, 3
mov dword [esi + 0x1c38], eax
test dl, dl
jne 0x10179cd9
test byte [ebp + 0x14], 0x80
je 0x10179ce2
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 0x10179d19
or eax, 0x60
mov dword [esi + 0x1c44], ecx
mov dword [esi + 0x1c40], eax
test dword [ebp + 0x14], 0x440
je 0x10179d31
or eax, 1
mov dword [esi + 0x1c44], ecx
mov dword [esi + 0x1c40], eax
mov ecx, dword [esp + 0x3c]
cmp dword [esi + 0x1c24], ecx
jne 0x10179d72
test edi, edi
jne 0x10179d4a
call fcn.101586e0
mov ecx, dword [esp + 0x3c]
cmp dword [esi + 0x1c24], ecx
jne 0x10179d72
cmp byte [esi + 0x420], 0
je 0x10179d7d
cmp byte [esp + 0x20], 0
jne 0x10179d7d
cmp byte [esp + 0x1e], 0
jne 0x10179d7d
mov byte [esp + 0x47], 1
mov dl, 1
jmp 0x10179d83
test edi, edi
je 0x10179d81
cmp byte [esp + 0x17], 0
je 0x10179d81
mov dl, 1
jmp 0x10179d83
xor dl, dl
mov byte [esp + 0x20], dl
test edi, edi
je 0x10179d9e
mov eax, dword [edi + 0x40]
cmp eax, dword [edi + 0x44]
je 0x10179d9e
test dl, dl
je 0x10179d9e
mov edx, 1
jmp 0x10179da0
xor dl, dl
mov eax, dword [esp + 0x40]
mov dword [esp + 0xa4], edx
mov byte [esp + 0x5f], dl
mov byte [esp + 0x3b], 0
mov byte [esp + 0x3a], 0
test al, al
je 0x10179ebf
test edi, edi
je 0x10179ebf
cmp byte [esp + 0x20], 0
jne 0x10179dd8
test dl, dl
je 0x10179eca
mov ecx, dword [ebp + 0xc]
mov eax, dword [edi + 0x10]
lea esi, [ecx + 1]
cmp esi, eax
jle 0x10179e12
test eax, eax
je 0x10179df8
cdq
sub eax, edx
lea edx, [edi + 0xc]
mov ecx, eax
sar ecx, 1
add ecx, dword [edx + 4]
jmp 0x10179e00
mov ecx, 8
lea edx, [edi + 0xc]
cmp ecx, esi
mov eax, esi
cmovg eax, ecx
mov ecx, edx
push eax
call fcn.10168040
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 + 0x30], edx
lea ecx, [edx + ecx*2]
cmp edx, ecx
jae 0x10179e6c
mov edi, eax
nop word [eax + eax]
cmp byte [edi], 0
je 0x10179e60
push 0
mov edx, edi
lea ecx, [esp + 0x2c]
call fcn.10155e50
mov edx, dword [esp + 0x30]
add edi, eax
mov eax, dword [esp + 0x28]
test eax, eax
je 0x10179e60
mov ecx, dword [ebp + 0xc]
mov word [esi], ax
add esi, 2
lea eax, [edx + ecx*2]
cmp esi, eax
jb 0x10179e30
mov dword [esp + 0x24], edi
mov edi, dword [esp + 0x58]
mov eax, dword [esp + 0x24]
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 + 0x5f]
cmp ecx, esi
mov dword [edi + 0x40], ecx
mov ecx, dword [esp + 0x3c]
cmovne edx, eax
mov eax, dword [esp + 0x40]
mov dword [edi + 0x44], esi
mov esi, dword [esp + 0x18]
mov dword [esp + 0xa4], edx
cmp byte [esp + 0x20], 0
jne 0x10179ed2
test dl, dl
jne 0x10179ed2
cmp dword [esi + 0x1c24], ecx
jne 0x10179ee3
test al, al
jne 0x10179ee3
test edi, edi
je 0x10179ee3
cmp byte [edi + 0x30], al
je 0x10179ee3
mov al, 1
jmp 0x10179ee5
xor al, al
cmp dword [esp + 0x7c], 0
mov byte [esp + 0x5f], al
je 0x10179f05
test al, al
je 0x10179ef9
mov eax, dword [edi + 0x20]
jmp 0x10179efc
mov eax, dword [ebp + 8]
cmp byte [eax], 0
jne 0x10179f05
mov al, 1
jmp 0x10179f07
xor al, al
cmp byte [esp + 0xa8], 0
mov byte [esp + 0x23], al
je 0x10179fa3
test al, al
jne 0x10179fa3
mov edx, dword [esi + 0x1984]
cmp dword [edx + 0x14], 0x2a
ja 0x10179f32
mov esi, dword [edx + 0x2c]
jmp 0x10179f51
mov eax, dword [edx + 0x1c]
mov ecx, 0xffff
movzx eax, word [eax + 0x54]
cmp ax, cx
jne 0x10179f48
mov esi, dword [edx + 0x2c]
jmp 0x10179f51
lea ecx, [eax + eax*4]
mov eax, dword [edx + 0x28]
lea esi, [eax + ecx*8]
mov eax, dword [edx + 0x10]
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x18]
add ecx, 0x2e30
mov dword [ecx + 0x10], eax
mov eax, dword [edx + 0x1984]
mov eax, dword [eax + 0x40]
mov dword [ecx + 0x40], eax
mov eax, dword [edx + 0x1984]
mov eax, dword [eax + 0x44]
mov dword [ecx + 0x44], eax
mov eax, dword [edx + 0x1984]
mov eax, dword [eax + 0x48]
mov dword [ecx + 0x48], eax
mov eax, dword [edx + 0x1984]
mov eax, dword [eax + 0x30]
mov dword [ecx + 0x30], eax
mov dword [ecx + 0x2c], esi
mov eax, dword [esi + 4]
mov dword [ecx + 0xc], eax
call fcn.101615a0
mov esi, dword [esp + 0x18]
mov edx, dword [esp + 0x3c]
mov dword [esp + 0xb0], 0
cmp dword [esi + 0x1c24], edx
jne 0x1017a3ab
mov eax, dword [edi + 8]
mov dword [esp + 0xb0], eax
mov eax, dword [ebp + 0xc]
mov dword [edi + 0x34], eax
mov eax, dword [ebp + 0x14]
mov dword [edi + 0xe70], 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 dl, byte [esi + 0x130]
test dl, dl
mov dword [esi + 0x3178], 1
sete al
cmp byte [esp + 0x34], 0
mov byte [esi + 0x1c32], al
movss xmm7, dword [esi + 0x128]
subss xmm7, dword [esp + 0xb8]
subss xmm7, dword [esi + 0x1598]
addss xmm7, dword [edi + 0x38]
je 0x1017a04a
mov eax, dword [esp + 0x78]
movss xmm1, dword [esi + 0x12c]
subss xmm1, dword [eax + 0xf0]
jmp 0x1017a05a
movss xmm1, dword [esi + 0x1988]
mulss xmm1, dword [0x10201ff4]
cmp byte [esp + 0x2c], 0
mov al, byte [esi + 0xf5]
mov byte [esp + 0x5e], al
jne 0x1017a21d
mov ah, byte [esp + 0x57]
test ah, ah
je 0x1017a08b
test al, al
jne 0x1017a137
cmp byte [esi + 0x425], al
jne 0x1017a21d
mov ecx, dword [esp + 0x18]
lea esi, [edi + 0xe6d]
mov al, byte [esi]
cmp byte [ecx + 0x420], 0
je 0x1017a18f
test al, al
jne 0x1017a18f
test ah, ah
je 0x1017a0ef
cmp byte [edi + 0x53], al
je 0x1017a0ce
push 0
mov edx, edi
lea ecx, [esp + 0xec]
call fcn.10177880
movss xmm1, dword [esp + 0xf4]
movaps xmm0, xmm7
mov ecx, edi
call fcn.10177bd0
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
mov ecx, esi
mov esi, dword [esp + 0x18]
cmp byte [ecx], 0
je 0x1017a106
cmp byte [esi + 0x130], 0
jne 0x1017a106
mov byte [ecx], 0
cmp byte [esi + 0x140], 0
je 0x1017a118
cmp byte [esi + 0x142], 0
je 0x1017a130
cmp byte [esp + 0x5e], 0
je 0x1017a246
cmp byte [esi + 0x143], 0
je 0x1017a246
mov dh, 1
jmp 0x1017a248
cmp byte [esi + 0x425], 0
je 0x1017a08b
push 0x20000c
lea edx, [edi + 0x3c]
mov ecx, edi
call fcn.10177fc0
push 0x60000d
lea edx, [edi + 0x3c]
mov byte [edi + 0xe6c], 1
mov ecx, edi
mov dword [edi + 0xe68], 0xbe99999a
call fcn.10177fc0
mov byte [edi + 0xe6c], 1
lea ecx, [edi + 0xe6d]
mov dword [edi + 0xe68], 0xbe99999a
jmp 0x1017a0f5
mov ecx, esi
test dl, dl
je 0x1017a0f1
test al, al
jne 0x1017a0f1
mov edx, dword [esp + 0x18]
xorps xmm2, xmm2
movss xmm0, dword [edx + 0x3b8]
ucomiss xmm0, xmm2
lahf
test ah, 0x44
jp 0x1017a1ca
movss xmm0, dword [edx + 0x3bc]
ucomiss xmm0, xmm2
lahf
test ah, 0x44
jnp 0x1017a23f
cmp byte [edi + 0x53], 0
je 0x1017a1e9
push 0
mov edx, edi
lea ecx, [esp + 0xec]
call fcn.10177880
movss xmm1, dword [esp + 0xf4]
mov eax, dword [edi + 0x40]
cmp eax, dword [edi + 0x44]
jne 0x1017a1f7
mov eax, dword [edi + 0x3c]
mov dword [edi + 0x40], eax
movaps xmm0, xmm7
mov ecx, edi
call fcn.10177bd0
mov dword [edi + 0x44], eax
mov dword [edi + 0x3c], eax
mov dword [edi + 0xe68], 0xbe99999a
mov byte [edi + 0xe6c], 1
jmp 0x1017a0ef
mov eax, dword [edi + 4]
lea ecx, [edi + 0xe6d]
mov dword [edi + 0x40], 0
mov dword [edi + 0x44], eax
mov dword [edi + 0x3c], eax
mov byte [edi + 0x52], 0
mov byte [ecx], 1
jmp 0x1017a0f5
mov esi, edx
jmp 0x1017a0f5
xor dh, dh
test dword [ebp + 0x14], 0x400
mov byte [esp + 0x1f], dh
je 0x1017a2ed
mov eax, dword [0x10453c48]
mov ecx, dword [eax + 0x78]
test ecx, ecx
js 0x1017a2ed
mov dl, 1
call fcn.1015c670
test al, al
mov eax, dword [esp + 0x40]
je 0x1017a2f1
test dh, dh
jne 0x1017a2f1
cmp byte [esi + 0x141], dh
jne 0x1017a2f1
test al, al
jne 0x1017a2f1
mov ecx, dword [esi + 0x1558]
mov eax, dword [esi + 0x1550]
lea edx, [ecx + eax*2]
cmp ecx, edx
jae 0x1017a2b0
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
cmp ax, 9
je 0x1017a2ed
cmp ecx, edx
jb 0x1017a2a0
push dword [ebp + 0x1c]
mov edx, dword [ebp + 0x14]
lea ecx, [esp + 0x34]
push dword [ebp + 0x18]
mov dword [esp + 0x38], 9
call fcn.10179120
test al, al
je 0x1017a2ed
push dword [esp + 0x30]
lea edx, [edi + 0x3c]
mov ecx, edi
call fcn.10177fc0
mov byte [edi + 0xe6c], 1
mov dword [edi + 0xe68], 0xbe99999a
mov eax, dword [esp + 0x40]
add esi, 0x1550
mov dword [esp + 0x28], esi
cmp dword [esi], 0
jle 0x1017a3a7
cmp byte [esp + 0x1f], 0
jne 0x1017a382
test al, al
jne 0x1017a382
cmp byte [esp + 0x22], al
jne 0x1017a382
mov ecx, dword [esp + 0x18]
xor esi, esi
nop dword [eax + eax]
mov eax, dword [ecx + 0x1558]
movzx eax, word [eax + esi*2]
mov dword [esp + 0x30], eax
cmp eax, 9
jne 0x1017a33c
cmp byte [ecx + 0x141], 0
jne 0x1017a375
push dword [ebp + 0x1c]
mov edx, dword [ebp + 0x14]
lea ecx, [esp + 0x34]
push dword [ebp + 0x18]
call fcn.10179120
test al, al
je 0x1017a371
push dword [esp + 0x30]
lea edx, [edi + 0x3c]
mov ecx, edi
call fcn.10177fc0
mov byte [edi + 0xe6c], 1
mov dword [edi + 0xe68], 0xbe99999a
mov ecx, dword [esp + 0x18]
inc esi
cmp esi, dword [ecx + 0x1550]
jl 0x1017a320
mov esi, dword [esp + 0x28]
mov ecx, dword [esi + 4]
test ecx, ecx
jns 0x1017a3a1
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
xor ecx, ecx
test eax, eax
cmovg ecx, eax
push ecx
mov ecx, esi
call fcn.10168040
mov dword [esi], 0
mov esi, dword [esp + 0x18]
mov eax, dword [esp + 0x3c]
xor dl, dl
mov byte [esp + 0x17], dl
cmp dword [esi + 0x1c24], eax
jne 0x1017b5da
cmp byte [esi + 0x1c30], dl
jne 0x1017ae9e
cmp byte [esp + 0x47], dl
jne 0x1017ae9e
movss xmm0, dword [esp + 0x6c]
subss xmm0, dword [esi + 0x159c]
mov ecx, dword [esp + 0x50]
divss xmm0, dword [esi + 0x1988]
cvttss2si eax, xmm0
cmp eax, 1
cmovge ecx, eax
mov eax, dword [esp + 0x18]
mov dword [edi + 0x4c], ecx
xor esi, esi
mov dword [esp + 0x50], ecx
mov ecx, 0x400000
cmp byte [eax + 0x141], dl
mov dl, byte [eax + 0xf5]
cmovne esi, ecx
mov byte [esp + 0x86], dl
test dl, dl
je 0x1017a43a
mov ecx, dword [eax + 0x3c0]
mov dword [esp + 0x2c], ecx
cmp ecx, 0xa
jne 0x1017a43a
mov dh, 1
jmp 0x1017a44a
mov ecx, dword [eax + 0x3c0]
xor dh, dh
mov dword [esp + 0x2c], ecx
test dl, dl
je 0x1017a484
mov edi, dword [esp + 0x18]
mov al, byte [eax + 0x142]
mov byte [esp + 0x1e], al
cmp byte [edi + 0x143], 0
mov edi, dword [esp + 0x58]
je 0x1017a490
mov edi, dword [esp + 0x18]
cmp byte [edi + 0x140], 0
mov edi, dword [esp + 0x58]
jne 0x1017a490
test al, al
jne 0x1017a490
mov byte [esp + 0x22], 1
cmp ecx, 8
jmp 0x1017a4ae
mov al, byte [eax + 0x140]
xor dh, dh
mov dword [esp + 0x2c], ecx
mov byte [esp + 0x1e], al
mov byte [esp + 0x22], 0
test dl, dl
je 0x1017a4a2
cmp ecx, 8
jmp 0x1017a4ae
cmp ecx, 1
mov byte [esp + 0x1e], al
mov byte [esp + 0x22], 0
sete dl
mov byte [esp + 0x21], dl
test dl, dl
je 0x1017a4d9
mov eax, dword [0x10453c48]
mov eax, dword [eax + 0xc4]
test eax, eax
js 0x1017a4d9
mov dl, 1
mov ecx, eax
call fcn.1015c670
test al, al
jne 0x1017a4f8
mov ecx, dword [esp + 0x2c]
cmp ecx, 2
jne 0x1017a51f
mov eax, dword [0x10453c48]
mov ecx, dword [eax + 0xa0]
test ecx, ecx
js 0x1017a51f
mov dl, 1
call fcn.1015c670
test al, al
je 0x1017a51f
cmp byte [esp + 0x40], 0
jne 0x1017a51f
cmp byte [esp + 0xa8], 0
jne 0x1017a51f
cmp byte [esp + 0x34], 0
je 0x1017a518
mov eax, dword [edi + 0x40]
cmp eax, dword [edi + 0x44]
je 0x1017a51f
mov byte [esp + 0x1f], 1
jmp 0x1017a524
mov byte [esp + 0x1f], 0
cmp byte [esp + 0x21], 0
je 0x1017a545
mov eax, dword [0x10453c48]
mov ecx, dword [eax + 0xbc]
test ecx, ecx
js 0x1017a545
mov dl, 1
call fcn.1015c670
test al, al
jne 0x1017a566
cmp dword [esp + 0x2c], 1
jne 0x1017a589
mov eax, dword [0x10453c48]
mov ecx, dword [eax + 0x9c]
test ecx, ecx
js 0x1017a589
mov dl, 1
call fcn.1015c670
test al, al
je 0x1017a589
cmp byte [esp + 0xa8], 0
jne 0x1017a589
cmp byte [esp + 0x34], 0
je 0x1017a57f
mov eax, dword [edi + 0x40]
cmp eax, dword [edi + 0x44]
je 0x1017a589
mov byte [esp + 0x87], 1
jmp 0x1017a591
mov byte [esp + 0x87], 0
cmp byte [esp + 0x21], 0
je 0x1017a5b2
mov eax, dword [0x10453c48]
mov ecx, dword [eax + 0xc0]
test ecx, ecx
js 0x1017a5b2
mov dl, 1
call fcn.1015c670
test al, al
jne 0x1017a5d3
cmp dword [esp + 0x2c], 2
jne 0x1017a5df
mov eax, dword [0x10453c48]
mov ecx, dword [eax + 0x9c]
test ecx, ecx
js 0x1017a5df
mov dl, 1
call fcn.1015c670
test al, al
je 0x1017a5df
cmp byte [esp + 0x40], 0
mov byte [esp + 0x5e], 1
je 0x1017a5e4
mov byte [esp + 0x5e], 0
mov dl, byte [esp + 0x21]
test dl, dl
je 0x1017a61e
mov eax, dword [0x10453c48]
mov ecx, dword [eax + 0xcc]
test ecx, ecx
js 0x1017a61e
mov dl, 1
call fcn.1015c670
test al, al
je 0x1017a61a
cmp byte [esp + 0x40], 0
jne 0x1017a61a
cmp byte [esp + 0x64], 0
je 0x1017a61a
mov byte [esp + 0x77], dl
jmp 0x1017a627
mov dl, byte [esp + 0x21]
mov byte [esp + 0x77], 0
test dl, dl
je 0x1017a641
mov eax, dword [0x10453c48]
mov ecx, dword [eax + 0xc8]
test ecx, ecx
js 0x1017a641
mov dl, 1
call fcn.1015c670
test al, al
jne 0x1017a65f
test dh, dh
je 0x1017a671
mov eax, dword [0x10453c48]
mov ecx, dword [eax + 0xcc]
test ecx, ecx
js 0x1017a671
mov dl, 1
call fcn.1015c670
test al, al
je 0x1017a671
cmp byte [esp + 0x40], 0
jne 0x1017a671
cmp byte [esp + 0x64], 0
je 0x1017a671
mov dh, 1
jmp 0x1017a673
xor dh, dh
mov eax, dword [0x10453c48]
mov ecx, dword [eax + 0x7c]
test ecx, ecx
js 0x1017a6cc
mov dl, 1
call fcn.1015c670
test al, al
je 0x1017a6cc
cmp byte [esp + 0x22], 0
je 0x1017a6a8
mov eax, 0x200004
lea edx, [edi + 0x3c]
or eax, esi
mov ecx, edi
push eax
call fcn.10177fc0
jmp 0x1017ae65
cmp byte [esp + 0x1e], 0
lea edx, [edi + 0x3c]
mov ecx, 0x20000c
mov eax, 0x200000
cmovne eax, ecx
mov ecx, edi
or eax, esi
push eax
call fcn.10177fc0
jmp 0x1017ae65
mov eax, dword [0x10453c48]
mov ecx, dword [eax + 0x80]
test ecx, ecx
js 0x1017a728
mov dl, 1
call fcn.1015c670
test al, al
je 0x1017a728
cmp byte [esp + 0x22], 0
je 0x1017a704
mov eax, 0x200005
lea edx, [edi + 0x3c]
or eax, esi
mov ecx, edi
push eax
call fcn.10177fc0
jmp 0x1017ae65
cmp byte [esp + 0x1e], 0
lea edx, [edi + 0x3c]
mov ecx, 0x20000d
mov eax, 0x200001
cmovne eax, ecx
mov ecx, edi
or eax, esi
push eax
call fcn.10177fc0
jmp 0x1017ae65
mov eax, dword [0x10453c48]
mov ecx, dword [eax + 0x84]
test ecx, ecx
js 0x1017a7b0
mov dl, 1
call fcn.1015c670
test al, al
je 0x1017a7b0
cmp byte [esp + 0x34], 0
je 0x1017a7b0
mov eax, dword [esp + 0x18]
cmp byte [eax + 0x140], 0
je 0x1017a792
mov ecx, dword [esp + 0x78]
mov esi, eax
movss xmm0, dword [ecx + 0x78]
subss xmm0, dword [esi + 0x1988]
maxss xmm0, dword [0x10201f00]
movss dword [ecx + 0x88], xmm0
mov dword [ecx + 0x90], 0
mov dword [ecx + 0x98], 0
jmp 0x1017ae7a
movzx eax, byte [esp + 0x22]
lea edx, [edi + 0x3c]
mov ecx, edi
lea eax, [eax*4 + 0x200002]
or eax, esi
push eax
call fcn.10177fc0
jmp 0x1017ae65
mov ecx, dword [0x10453c48]
mov ecx, dword [ecx + 0x88]
test ecx, ecx
js 0x1017a828
mov dl, 1
call fcn.1015c670
test al, al
je 0x1017a828
cmp byte [esp + 0x34], 0
je 0x1017a828
mov eax, dword [esp + 0x18]
cmp byte [eax + 0x140], 0
je 0x1017a80a
mov ecx, dword [esp + 0x78]
mov esi, eax
mov eax, dword [0x10453c48]
movss xmm0, dword [ecx + 0x78]
addss xmm0, dword [esi + 0x1988]
mov eax, dword [eax + 0x1bec]
minss xmm0, dword [eax + 0x80]
jmp 0x1017a771
movzx eax, byte [esp + 0x22]
lea edx, [edi + 0x3c]
mov ecx, edi
lea eax, [eax*4 + 0x200003]
or eax, esi
push eax
call fcn.10177fc0
jmp 0x1017ae65
mov eax, dword [0x10453c48]
mov ecx, dword [eax + 0x8c]
test ecx, ecx
js 0x1017a89b
mov dl, 1
call fcn.1015c670
test al, al
je 0x1017a89b
cmp byte [esp + 0x34], 0
je 0x1017a89b
or esi, 0x20000e
lea edx, [edi + 0x3c]
push esi
mov ecx, edi
call fcn.10177fc0
movd xmm0, dword [esp + 0x50]
mov esi, dword [esp + 0x18]
movss xmm1, dword [esp + 0x88]
cvtdq2ps xmm0, xmm0
mov byte [edi + 0xe6c], 1
mov dword [edi + 0xe68], 0xbe99999a
mulss xmm0, dword [esi + 0x1988]
subss xmm1, xmm0
movss dword [esp + 0x88], xmm1
jmp 0x1017ae7a
mov eax, dword [0x10453c48]
mov ecx, dword [eax + 0x90]
test ecx, ecx
js 0x1017a90a
mov dl, 1
call fcn.1015c670
test al, al
je 0x1017a90a
cmp byte [esp + 0x34], 0
je 0x1017a90a
or esi, 0x20000f
lea edx, [edi + 0x3c]
push esi
mov ecx, edi
call fcn.10177fc0
movd xmm0, dword [esp + 0x50]
mov esi, dword [esp + 0x18]
cvtdq2ps xmm0, xmm0
mov byte [edi + 0xe6c], 1
mov dword [edi + 0xe68], 0xbe99999a
mulss xmm0, dword [esi + 0x1988]
addss xmm0, dword [esp + 0x88]
movss dword [esp + 0x88], xmm0
jmp 0x1017ae7a
mov eax, dword [0x10453c48]
mov ecx, dword [eax + 0x94]
test ecx, ecx
js 0x1017a94f
mov dl, 1
call fcn.1015c670
test al, al
je 0x1017a94f
mov ecx, dword [esp + 0x18]
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.10177fc0
jmp 0x1017ae65
mov eax, dword [0x10453c48]
mov ecx, dword [eax + 0x98]
test ecx, ecx
js 0x1017a994
mov dl, 1
call fcn.1015c670
test al, al
je 0x1017a994
mov ecx, dword [esp + 0x18]
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.10177fc0
jmp 0x1017ae65
mov eax, dword [0x10453c48]
mov ecx, dword [eax + 0xa0]
test ecx, ecx
js 0x1017a9cb
mov dl, 1
call fcn.1015c670
test al, al
je 0x1017a9cb
cmp byte [esp + 0x40], 0
jne 0x1017a9cb
or esi, 0x200008
lea edx, [edi + 0x3c]
push esi
mov ecx, edi
call fcn.10177fc0
jmp 0x1017ae65
mov eax, dword [0x10453c48]
mov ecx, dword [eax + 0xa4]
test ecx, ecx
js 0x1017aa69
mov dl, 1
call fcn.1015c670
test al, al
je 0x1017aa69
cmp byte [esp + 0x40], 0
jne 0x1017aa69
mov eax, dword [edi + 0x40]
cmp eax, dword [edi + 0x44]
jne 0x1017aa53
cmp byte [esp + 0x1e], 0
je 0x1017aa0a
push 0x60000c
jmp 0x1017aa38
cmp byte [esp + 0x86], 0
je 0x1017aa53
mov eax, dword [esp + 0x18]
cmp byte [eax + 0x143], 0
je 0x1017aa53
cmp byte [eax + 0x142], 0
jne 0x1017aa53
cmp byte [eax + 0x140], 0
jne 0x1017aa53
push 0x600004
lea edx, [edi + 0x3c]
mov ecx, edi
call fcn.10177fc0
mov dword [edi + 0xe68], 0xbe99999a
mov byte [edi + 0xe6c], 1
or esi, 0x200009
lea edx, [edi + 0x3c]
push esi
mov ecx, edi
call fcn.10177fc0
jmp 0x1017ae65
mov eax, dword [0x10453c48]
mov ecx, dword [eax + 0xac]
test ecx, ecx
js 0x1017aa83
mov dl, 1
call fcn.1015c670
test al, al
jne 0x1017aaa5
mov eax, dword [0x10453c48]
mov ecx, dword [eax + 0xb4]
test ecx, ecx
js 0x1017ab29
mov dl, 1
call fcn.1015c670
test al, al
je 0x1017ab29
mov edx, dword [ebp + 0x14]
mov eax, edx
mov esi, dword [esp + 0x18]
shr eax, 0xb
and al, 1
cmp byte [esp + 0x34], 0
je 0x1017aac8
mov cl, byte [esi + 0x140]
test al, al
je 0x1017aad7
test cl, cl
jne 0x1017aadb
mov byte [esp + 0x47], 1
mov byte [esp + 0x3a], 1
jmp 0x1017ae7a
test cl, cl
jne 0x1017aac8
cmp byte [esp + 0x40], 0
jne 0x1017ae7a
push dword [ebp + 0x1c]
lea ecx, [esp + 0x34]
mov dword [esp + 0x34], 0xa
push dword [ebp + 0x18]
call fcn.10179120
test al, al
je 0x1017ae7a
push dword [esp + 0x30]
lea edx, [edi + 0x3c]
mov ecx, edi
call fcn.10177fc0
mov byte [edi + 0xe6c], 1
mov dword [edi + 0xe68], 0xbe99999a
jmp 0x1017ae7a
mov eax, dword [0x10453c48]
mov ecx, dword [eax + 0xb0]
test ecx, ecx
js 0x1017ab50
mov dl, 1
call fcn.1015c670
test al, al
je 0x1017ab50
mov esi, dword [esp + 0x18]
mov byte [esp + 0x47], dl
jmp 0x1017ae7e
mov al, byte [esp + 0x77]
test al, al
jne 0x1017ae46
test dh, dh
jne 0x1017ae46
cmp byte [esp + 0x21], dh
je 0x1017aba2
mov eax, dword [0x10453c48]
mov ecx, dword [eax + 0xb8]
test ecx, ecx
js 0x1017aba2
mov dl, 1
call fcn.1015c670
test al, al
je 0x1017aba2
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
mov byte [edi + 0xe6c], dl
jmp 0x1017ae76
mov al, byte [esp + 0x1f]
test al, al
jne 0x1017ad45
cmp byte [esp + 0x87], al
jne 0x1017ad45
cmp byte [esp + 0x5e], al
je 0x1017ae76
mov ecx, dword [0x10453c48]
mov eax, dword [ecx + 0x114]
test eax, eax
je 0x1017abe8
mov ecx, dword [ecx + 0x11c]
call eax
mov esi, eax
test esi, esi
jne 0x1017abed
jmp 0x1017ae76
mov esi, 0x101d9e4f
mov ecx, esi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1017abf2
mov eax, dword [0x10453c48]
sub ecx, edx
test eax, eax
je 0x1017ac0a
inc dword [eax + 0x3b4]
lea eax, [ecx*2 + 2]
push eax
call fcn.101ada95
mov ecx, eax
add esp, 4
xor eax, eax
mov dword [esp + 0x8c], ecx
mov dword [esp + 0x2c], eax
cmp byte [esi], al
je 0x1017ac85
xor edi, edi
nop
push 0
mov edx, esi
lea ecx, [esp + 0x28]
call fcn.10155e50
add esi, eax
cmp dword [esp + 0x24], 0
je 0x1017ac72
push dword [ebp + 0x1c]
mov edx, dword [ebp + 0x14]
lea ecx, [esp + 0x28]
push dword [ebp + 0x18]
call fcn.10179120
test al, al
je 0x1017ac6d
mov ecx, dword [esp + 0x8c]
mov ax, word [esp + 0x24]
mov word [ecx + edi*2], ax
inc edi
cmp byte [esi], 0
jne 0x1017ac30
mov ecx, dword [esp + 0x8c]
mov dword [esp + 0x2c], edi
mov edi, dword [esp + 0x58]
mov eax, dword [esp + 0x2c]
xor edx, edx
mov word [ecx + eax*2], dx
test eax, eax
jle 0x1017ad24
mov edx, dword [edi + 0x44]
mov ecx, dword [edi + 0x40]
mov eax, dword [edi + 4]
cmp ecx, edx
je 0x1017acb9
cmp ecx, eax
jle 0x1017aca9
mov dword [edi + 0x40], eax
mov ecx, eax
cmp edx, eax
jle 0x1017acb2
mov dword [edi + 0x44], eax
mov edx, eax
cmp ecx, edx
jne 0x1017acb9
mov dword [edi + 0x3c], ecx
cmp dword [edi + 0x3c], eax
jle 0x1017acc1
mov dword [edi + 0x3c], eax
lea edx, [edi + 0x3c]
mov ecx, edi
call fcn.10177f40
push dword [esp + 0x2c]
mov edx, dword [edi + 0x3c]
mov ecx, edi
push dword [esp + 0x90]
call fcn.10177a70
test al, al
je 0x1017ad02
push dword [esp + 0x2c]
mov edx, dword [edi + 0x3c]
lea ecx, [edi + 0x5c]
push 0
call fcn.10178e30
mov eax, dword [esp + 0x2c]
add dword [edi + 0x3c], eax
mov byte [edi + 0x52], 0
jmp 0x1017ad16
movzx eax, word [edi + 0xe5a]
test ax, ax
je 0x1017ad16
dec eax
mov word [edi + 0xe5a], ax
mov ecx, dword [esp + 0x8c]
mov byte [edi + 0xe6c], 1
test ecx, ecx
je 0x1017ad37
mov eax, dword [0x10453c48]
test eax, eax
je 0x1017ad37
dec dword [eax + 0x3b4]
push ecx
call fcn.101acb3c
add esp, 4
jmp 0x1017ae76
mov esi, dword [esp + 0x18]
cmp dword [esi + 0x118], 0
je 0x1017ae06
mov ecx, dword [edi + 0x44]
mov eax, dword [edi + 0x40]
cmp eax, ecx
je 0x1017ad6a
mov esi, ecx
cmovge ecx, eax
cmovl esi, eax
jmp 0x1017ad6f
mov ecx, dword [edi + 4]
xor esi, esi
mov eax, dword [edi + 0x14]
mov dword [esp + 0x30], ecx
mov dword [esp + 0x24], esi
lea edx, [eax + ecx*2]
lea ecx, [eax + esi*2]
call fcn.10156080
mov ecx, dword [0x10453c48]
inc eax
mov dword [esp + 0x28], eax
test ecx, ecx
je 0x1017ad9a
inc dword [ecx + 0x3b4]
push eax
call fcn.101ada95
mov esi, dword [edi + 0x14]
add esp, 4
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x28]
mov dword [esp + 0x4c], eax
lea ecx, [esi + ecx*2]
push ecx
mov ecx, dword [esp + 0x28]
lea ecx, [esi + ecx*2]
mov esi, eax
push ecx
mov ecx, esi
call fcn.10155fc0
mov ecx, dword [0x10453c48]
mov eax, dword [ecx + 0x118]
test eax, eax
je 0x1017ade7
mov ecx, dword [ecx + 0x11c]
mov edx, esi
call eax
mov ecx, dword [0x10453c48]
test esi, esi
je 0x1017adf5
test ecx, ecx
je 0x1017adf5
dec dword [ecx + 0x3b4]
push esi
call fcn.101acb3c
mov al, byte [esp + 0x23]
add esp, 4
mov esi, dword [esp + 0x18]
test al, al
je 0x1017ae7a
mov eax, dword [edi + 0x40]
lea esi, [edi + 0x3c]
cmp eax, dword [edi + 0x44]
jne 0x1017ae28
mov eax, dword [edi + 4]
mov dword [edi + 0x40], 0
mov dword [edi + 0x44], eax
mov dword [esi], eax
mov byte [edi + 0x52], 0
mov byte [edi + 0xe6c], 1
mov eax, dword [esi + 4]
cmp eax, dword [esi + 8]
je 0x1017ae76
mov edx, esi
mov ecx, edi
call fcn.10177f40
mov byte [esi + 0x16], 0
jmp 0x1017ae76
movzx eax, al
lea edx, [edi + 0x3c]
xor eax, 1
mov ecx, edi
add eax, 0x20000a
push eax
call fcn.10177fc0
mov eax, dword [edi + 0x3c]
mov dword [edi + 0x44], eax
mov dword [edi + 0x40], eax
mov byte [edi + 0xe6c], 1
mov dword [edi + 0xe68], 0xbe99999a
mov esi, dword [esp + 0x18]
mov dl, byte [esp + 0x17]
mov eax, dword [edi + 0x40]
cmp eax, dword [edi + 0x44]
je 0x1017ae91
cmp byte [esp + 0x20], 0
je 0x1017ae91
mov al, 1
jmp 0x1017ae93
xor al, al
or byte [esp + 0xa4], al
mov eax, dword [esp + 0x3c]
cmp dword [esi + 0x1c24], eax
jne 0x1017b5da
xor ecx, ecx
mov dword [esp + 0x48], 0
mov dword [esp + 0x2c], ecx
test dl, dl
je 0x1017b0b3
cmp byte [esp + 0x40], cl
jne 0x1017b09d
mov esi, dword [edi + 0x2c]
mov ecx, esi
mov eax, dword [ebp + 8]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x1017aef2
test dl, dl
je 0x1017aeee
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x1017aef2
add eax, 2
add ecx, 2
test dl, dl
jne 0x1017aed2
xor eax, eax
jmp 0x1017aef7
sbb eax, eax
or eax, 1
test eax, eax
je 0x1017b09d
mov eax, dword [edi + 0x24]
xor edx, edx
dec eax
mov dword [esp + 0x50], edx
mov dword [esp + 0x2c], eax
mov ecx, esi
mov dword [esp + 0x48], ecx
test eax, eax
jle 0x1017b010
lea esi, [eax + ecx]
mov edi, ecx
mov dword [esp + 0x4c], esi
xor eax, eax
mov dword [esp + 0x24], eax
test esi, esi
je 0x1017af32
cmp edi, esi
jae 0x1017af53
cmp byte [edi], 0
je 0x1017af53
push esi
mov edx, edi
lea ecx, [esp + 0x2c]
call fcn.10155e50
add edi, eax
cmp dword [esp + 0x28], 0
mov eax, dword [esp + 0x24]
je 0x1017af53
inc eax
jmp 0x1017af26
lea edx, [eax + 1]
mov dword [esp + 0x64], edx
test edx, edx
jle 0x1017af95
mov ecx, 8
mov eax, edx
cmp edx, ecx
cmovl eax, ecx
test eax, eax
jle 0x1017af95
mov ecx, dword [0x10453c48]
test ecx, ecx
je 0x1017af7e
inc dword [ecx + 0x3b4]
add eax, eax
push eax
call fcn.101ada95
mov edx, dword [esp + 0x68]
mov ecx, eax
add esp, 4
mov dword [esp + 0x50], ecx
jmp 0x1017af97
xor ecx, ecx
mov eax, dword [esp + 0x48]
mov edi, dword [esp + 0x58]
mov dword [esp + 0x28], eax
mov eax, ecx
lea ecx, [ecx + edx*2]
mov dword [esp + 0x24], eax
add ecx, 0xfffffffe
cmp dword [esp + 0x50], ecx
jae 0x1017b00b
mov edi, dword [esp + 0x28]
nop dword [eax]
test esi, esi
je 0x1017afc8
cmp edi, esi
jae 0x1017b007
cmp byte [edi], 0
je 0x1017b007
push esi
mov edx, edi
lea ecx, [esp + 0x2c]
call fcn.10155e50
mov ecx, dword [esp + 0x28]
add edi, eax
mov eax, dword [esp + 0x24]
mov edx, dword [esp + 0x64]
test ecx, ecx
je 0x1017b007
mov esi, dword [esp + 0x4c]
mov word [eax], cx
add eax, 2
mov ecx, dword [esp + 0x50]
add ecx, 0xfffffffe
mov dword [esp + 0x24], eax
lea ecx, [ecx + edx*2]
cmp eax, ecx
jb 0x1017afc0
mov edi, dword [esp + 0x58]
xor ecx, ecx
mov word [eax], cx
mov ecx, dword [esp + 0x2c]
lea eax, [edx - 1]
mov esi, dword [edi + 4]
xor edx, edx
test ecx, ecx
lea ecx, [edi + 0x5c]
cmovle eax, edx
push eax
push esi
mov dword [esp + 0x30], eax
call fcn.10178e30
mov edx, eax
test edx, edx
je 0x1017b050
xor ecx, ecx
test esi, esi
jle 0x1017b050
nop dword [eax + eax]
mov eax, dword [edi + 0x14]
mov ax, word [eax + ecx*2]
mov word [edx + ecx*2], ax
inc ecx
cmp ecx, esi
jl 0x1017b040
push dword [edi + 4]
xor edx, edx
mov ecx, edi
call fcn.10177a00
mov esi, dword [esp + 0x28]
test esi, esi
jle 0x1017b07d
push esi
push dword [esp + 0x54]
xor edx, edx
mov ecx, edi
call fcn.10177a70
test al, al
je 0x1017b07d
mov dword [edi + 0x3c], esi
mov byte [edi + 0x52], 0
mov ecx, dword [esp + 0x50]
test ecx, ecx
je 0x1017b09d
mov eax, dword [0x10453c48]
test eax, eax
je 0x1017b094
dec dword [eax + 0x3b4]
push ecx
call fcn.101acb3c
add esp, 4
cmp byte [esp + 0x3a], 0
mov eax, dword [ebp + 0x14]
je 0x1017b4dc
test al, 0x20
je 0x1017b4dc
cmp byte [esp + 0x40], 0
jne 0x1017b110
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 0x1017b0ff
test eax, eax
je 0x1017b0e5
cdq
sub eax, edx
lea edx, [edi + 0x18]
mov ecx, eax
sar ecx, 1
add ecx, dword [edx + 4]
jmp 0x1017b0ed
mov ecx, 8
lea edx, [edi + 0x18]
cmp ecx, esi
mov eax, esi
cmovg eax, ecx
mov ecx, edx
push eax
call fcn.100c3930
lea ecx, [edi + 0x18]
mov dword [ecx], esi
mov edx, esi
mov ecx, dword [edi + 0x20]
push 0
push dword [edi + 0x14]
call fcn.10155fc0
mov edx, dword [ebp + 0x14]
test edx, 0x801c0
je 0x1017b495
xor esi, esi
test dl, 0x40
je 0x1017b149
mov eax, dword [0x10453c48]
mov ecx, dword [eax + 0x78]
test ecx, ecx
js 0x1017b149
mov dl, 1
call fcn.1015c670
mov edx, dword [ebp + 0x14]
test al, al
je 0x1017b149
mov esi, 0x40
xor eax, eax
jmp 0x1017b1c6
test dl, dl
jns 0x1017b19b
mov eax, dword [0x10453c48]
mov ecx, dword [eax + 0x84]
test ecx, ecx
js 0x1017b174
mov dl, 1
call fcn.1015c670
mov edx, dword [ebp + 0x14]
test al, al
je 0x1017b174
mov esi, 0x80
lea eax, [esi - 0x7d]
jmp 0x1017b1c6
mov eax, dword [0x10453c48]
mov ecx, dword [eax + 0x88]
test ecx, ecx
js 0x1017b19b
mov dl, 1
call fcn.1015c670
mov edx, dword [ebp + 0x14]
test al, al
je 0x1017b19b
mov esi, 0x80
lea eax, [esi - 0x7c]
jmp 0x1017b1c6
test edx, 0x80000
je 0x1017b1b3
cmp byte [edi + 0xe6e], 0
je 0x1017b1b3
mov esi, 0x80000
jmp 0x1017b1c1
test edx, 0x100
mov eax, 0x100
cmovne esi, eax
mov eax, 0x16
test esi, esi
je 0x1017b495
mov dword [esp + 0x110], eax
xor ecx, ecx
mov eax, dword [edi + 0x20]
mov dword [esp + 0x114], eax
mov eax, dword [edi + 8]
mov dword [esp + 0x118], eax
mov eax, dword [edi + 0x34]
mov dword [esp + 0x100], esi
mov esi, dword [edi + 0x14]
mov dword [esp + 0x11c], eax
mov eax, dword [edi + 0x3c]
mov word [esp + 0x121], cx
mov byte [esp + 0x123], cl
mov ecx, dword [ebp + 0x1c]
mov dword [esp + 0x104], edx
lea edx, [esi + eax*2]
mov dword [esp + 0x108], ecx
mov ecx, esi
mov dword [esp + 0x10c], 0
mov byte [esp + 0x120], 0
call fcn.10156080
mov ecx, dword [esp + 0x58]
mov edi, eax
mov dword [esp + 0x124], edi
mov ecx, dword [ecx + 0x40]
lea edx, [esi + ecx*2]
mov ecx, esi
call fcn.10156080
mov dword [esp + 0x4c], eax
mov ecx, esi
mov dword [esp + 0x128], eax
mov eax, dword [esp + 0x58]
mov edx, dword [eax + 0x44]
lea edx, [esi + edx*2]
call fcn.10156080
lea ecx, [esp + 0x100]
mov dword [esp + 0x30], eax
mov dword [esp + 0x12c], eax
call dword [ebp + 0x18]
mov al, byte [esp + 0x120]
mov edx, dword [esp + 0x124]
mov byte [esp + 0x1f], al
cmp edx, edi
jne 0x1017b2a4
test al, al
je 0x1017b2f8
mov esi, dword [esp + 0x114]
xor eax, eax
lea edi, [edx + esi]
mov dword [esp + 0x24], eax
test edi, edi
je 0x1017b2bc
cmp esi, edi
jae 0x1017b2dd
cmp byte [esi], 0
je 0x1017b2dd
push edi
mov edx, esi
lea ecx, [esp + 0x2c]
call fcn.10155e50
add esi, eax
cmp dword [esp + 0x28], 0
mov eax, dword [esp + 0x24]
je 0x1017b2dd
inc eax
jmp 0x1017b2b0
mov edi, dword [esp + 0x58]
mov edx, dword [esp + 0x124]
mov dword [edi + 0x3c], eax
mov al, byte [esp + 0x1f]
mov byte [edi + 0xe6c], 1
jmp 0x1017b2fc
mov edi, dword [esp + 0x58]
mov ecx, dword [esp + 0x128]
cmp ecx, dword [esp + 0x4c]
jne 0x1017b30d
test al, al
je 0x1017b35d
cmp ecx, edx
jne 0x1017b316
mov eax, dword [edi + 0x3c]
jmp 0x1017b35a
mov esi, dword [esp + 0x114]
xor eax, eax
lea edi, [ecx + esi]
mov dword [esp + 0x24], eax
test edi, edi
je 0x1017b32e
cmp esi, edi
jae 0x1017b34f
cmp byte [esi], 0
je 0x1017b34f
push edi
mov edx, esi
lea ecx, [esp + 0x2c]
call fcn.10155e50
add esi, eax
cmp dword [esp + 0x28], 0
mov eax, dword [esp + 0x24]
je 0x1017b34f
inc eax
jmp 0x1017b322
mov ecx, dword [esp + 0x128]
mov edi, dword [esp + 0x58]
mov dword [edi + 0x40], eax
mov eax, dword [esp + 0x12c]
cmp eax, dword [esp + 0x30]
jne 0x1017b375
cmp byte [esp + 0x1f], 0
je 0x1017b495
cmp eax, ecx
jne 0x1017b37e
mov eax, dword [edi + 0x40]
jmp 0x1017b3bb
mov esi, dword [esp + 0x114]
lea edi, [eax + esi]
xor eax, eax
mov dword [esp + 0x24], eax
test edi, edi
je 0x1017b396
cmp esi, edi
jae 0x1017b3b7
cmp byte [esi], 0
je 0x1017b3b7
push edi
mov edx, esi
lea ecx, [esp + 0x2c]
call fcn.10155e50
add esi, eax
cmp dword [esp + 0x28], 0
mov eax, dword [esp + 0x24]
je 0x1017b3b7
inc eax
jmp 0x1017b38a
mov edi, dword [esp + 0x58]
cmp byte [esp + 0x1f], 0
mov dword [edi + 0x44], eax
je 0x1017b495
mov esi, dword [esp + 0x118]
mov ecx, dword [esp + 0xb0]
cmp esi, ecx
jle 0x1017b41e
cmp byte [esp + 0x80], 0
je 0x1017b41e
mov eax, dword [edi + 0x10]
sub esi, ecx
add esi, dword [edi + 0xc]
cmp esi, eax
jle 0x1017b41b
test eax, eax
je 0x1017b404
cdq
sub eax, edx
lea edx, [edi + 0xc]
mov ecx, eax
sar ecx, 1
add ecx, dword [edx + 4]
jmp 0x1017b40c
mov ecx, 8
lea edx, [edi + 0xc]
cmp ecx, esi
mov eax, esi
cmovg eax, ecx
mov ecx, edx
push eax
call fcn.10168040
mov dword [edi + 0xc], esi
mov eax, dword [esp + 0x114]
mov ecx, dword [edi + 0x14]
mov esi, ecx
mov dword [esp + 0x28], eax
mov eax, dword [edi + 0xc]
dec eax
mov dword [esp + 0x30], ecx
lea eax, [ecx + eax*2]
mov dword [esp + 0x4c], eax
cmp ecx, eax
jae 0x1017b475
mov edi, dword [esp + 0x28]
cmp byte [edi], 0
je 0x1017b46d
push 0
mov edx, edi
lea ecx, [esp + 0x2c]
call fcn.10155e50
add edi, eax
mov eax, dword [esp + 0x28]
test eax, eax
je 0x1017b46d
mov word [esi], ax
add esi, 2
cmp esi, dword [esp + 0x4c]
jb 0x1017b445
mov edi, dword [esp + 0x58]
mov ecx, dword [esp + 0x30]
xor eax, eax
mov word [esi], ax
sub esi, ecx
mov eax, dword [esp + 0x118]
sar esi, 1
mov dword [edi + 4], esi
mov dword [edi + 8], eax
mov dword [edi + 0xe68], 0xbe99999a
cmp byte [esp + 0x40], 0
jne 0x1017b4d9
mov esi, dword [edi + 0x20]
mov eax, esi
mov ecx, dword [ebp + 8]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x1017b4c4
test dl, dl
je 0x1017b4c0
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x1017b4c4
add eax, 2
add ecx, 2
test dl, dl
jne 0x1017b4a4
xor eax, eax
jmp 0x1017b4c9
sbb eax, eax
or eax, 1
test eax, eax
mov eax, dword [ebp + 0x14]
je 0x1017b4dc
mov ecx, dword [edi + 8]
mov dword [esp + 0x48], esi
jmp 0x1017b4e0
mov eax, dword [ebp + 0x14]
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x48]
test edx, edx
je 0x1017b5b8
cmp byte [esp + 0x80], 0
je 0x1017b589
mov dword [esp + 0x134], eax
xorps xmm0, xmm0
mov eax, dword [ebp + 8]
mov dword [esp + 0x144], eax
lea eax, [ecx + 1]
cmp dword [ebp + 0xc], eax
mov dword [esp + 0x148], ecx
lea ecx, [esp + 0x130]
cmovge eax, dword [ebp + 0xc]
mov dword [esp + 0x14c], eax
mov eax, dword [ebp + 0x1c]
movlpd qword [esp + 0x13c], xmm0
movlpd qword [esp + 0x150], xmm0
movlpd qword [esp + 0x158], xmm0
mov dword [esp + 0x130], 0x40000
mov dword [esp + 0x138], eax
call dword [ebp + 0x18]
mov esi, dword [esp + 0x14c]
mov eax, dword [esp + 0x144]
mov edx, dword [esp + 0x48]
mov dword [ebp + 8], eax
lea ecx, [esi - 1]
cmp dword [esp + 0x148], ecx
cmovl ecx, dword [esp + 0x148]
jmp 0x1017b58c
mov esi, dword [ebp + 0xc]
lea eax, [ecx + 1]
cmp eax, esi
cmovl esi, eax
cmp esi, 1
jb 0x1017b5b3
jbe 0x1017b5ab
lea eax, [esi - 1]
push eax
push edx
push dword [ebp + 8]
call fcn.101ac230
add esp, 0xc
mov eax, dword [ebp + 8]
mov byte [esi + eax - 1], 0
mov byte [esp + 0x3b], 1
mov esi, dword [esp + 0x18]
mov dword [edi + 0xe70], 0
mov dword [edi + 0xe74], 0
mov dword [edi + 0xe78], 0
cmp byte [esp + 0x47], 0
mov edx, dword [esp + 0x3c]
je 0x1017b5f6
cmp dword [esi + 0x1c24], edx
jne 0x1017b5f6
call fcn.101586e0
mov edx, dword [esp + 0x3c]
cmp byte [esp + 0x34], 0
jne 0x1017b786
push 1
lea ecx, [esp + 0xbc]
call fcn.10157b50
movss xmm0, dword [esi + 0x15a0]
mov dl, 1
movss xmm1, dword [esp + 0xb8]
mov ecx, 0xff0b0b0b
movss xmm2, dword [esp + 0xbc]
movss xmm3, dword [esp + 0xc0]
movss xmm4, dword [esp + 0xc4]
call fcn.101578f0
mov ecx, dword [esp + 0x60]
sub esp, 0x18
cmp byte [esp + 0x6f], 0
mov edx, dword [0x10229c78]
movss xmm0, dword [esi + 0x15a0]
mov eax, dword [ecx + 0x2c4]
mov ecx, esp
movss dword [esp + 0x40], xmm0
movups xmm0, xmmword [edx + 0x38b8]
mov dword [esp + 0x64], 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 0x1017b6a0
movss xmm0, dword [0x10201ff4]
call fcn.100bfd60
jmp 0x1017b6a5
call fcn.100bfbf0
mov esi, eax
mov eax, dword [0x10453c48]
movss xmm1, dword [eax + 0x1560]
comiss xmm1, dword [0x10202060]
jae 0x1017b6ee
mov eax, esi
shr eax, 0x18
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x10202a70]
cvtpd2ps xmm0, xmm0
mulss xmm0, xmm1
call fcn.101c72d0
shl eax, 0x18
and esi, 0xffffff
or esi, eax
movss xmm0, dword [esp + 0x28]
lea eax, [esp + 0xc0]
mov ecx, dword [esp + 0x4c]
sub esp, 0xc
mov dword [esp + 8], 0x3f800000
movss dword [esp], xmm0
push esi
push eax
lea eax, [esp + 0xcc]
push eax
call fcn.1016af60
movss xmm5, dword [esp + 0xbc]
movss xmm7, dword [esp + 0xb8]
movaps xmm2, xmm5
addss xmm2, dword [esp + 0x6c]
mov esi, dword [esp + 0x18]
movaps xmm3, xmm7
movss xmm4, dword [esp + 0xac]
movaps xmm0, xmm7
movaps xmm1, xmm5
movss dword [esp + 0xe8], xmm7
movss dword [esp + 0xec], xmm5
addss xmm3, xmm4
addss xmm0, dword [esi + 0x1598]
addss xmm1, dword [esi + 0x159c]
movss dword [esp + 0x24], xmm2
movss dword [esp + 0xf4], xmm2
jmp 0x1017b7e9
movss xmm0, dword [esp + 0xbc]
mov eax, dword [esp + 0x78]
movaps xmm2, xmm0
addss xmm2, dword [esp + 0x6c]
movss xmm1, dword [esp + 0xb8]
movss xmm4, dword [esp + 0xac]
movss dword [esp + 0xec], xmm0
movaps xmm3, xmm4
movss dword [esp + 0xe8], xmm1
addss xmm3, xmm1
movss xmm1, dword [eax + 0xf0]
movaps xmm0, xmm2
movss dword [esp + 0x24], xmm0
movss dword [esp + 0xf4], xmm0
movss xmm0, dword [eax + 0xec]
cmp byte [esp + 0x5f], 0
xorps xmm6, xmm6
movss dword [esp + 0xc8], xmm0
movss dword [esp + 0xb0], xmm2
xorps xmm2, xmm2
movss dword [esp + 0xdc], xmm0
xorps xmm0, xmm0
movss dword [esp + 0xcc], xmm1
movss dword [esp + 0xf0], xmm3
movss dword [esp + 0x28], xmm3
movss dword [esp + 0x8c], xmm3
movss dword [esp + 0xe0], xmm1
movss dword [esp + 0x30], xmm0
movss dword [esp + 0x50], xmm2
je 0x1017b850
mov eax, dword [edi + 0x20]
mov dword [ebp + 8], eax
mov dh, byte [esp + 0x23]
mov dword [esp + 0x48], 0
test dh, dh
je 0x1017b888
mov eax, dword [esp + 0x7c]
mov ecx, eax
mov dword [ebp + 8], eax
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1017b870
sub ecx, edx
mov edx, dword [esp + 0x7c]
lea eax, [ecx + edx]
mov dh, byte [esp + 0x23]
mov dword [esp + 0x48], eax
mov al, byte [esp + 0x20]
test al, al
jne 0x1017bc52
cmp byte [esp + 0xa4], al
jne 0x1017bc52
cmp byte [esp + 0x34], al
je 0x1017b8f8
mov eax, dword [ebp + 8]
xor ecx, ecx
mov dl, byte [eax]
lea edi, [eax + 1]
test dl, dl
je 0x1017b8c7
cmp dl, 0xa
lea eax, [ecx + 1]
mov dl, byte [edi]
cmovne eax, ecx
inc edi
mov ecx, eax
test dl, dl
jne 0x1017b8b5
mov al, byte [edi - 1]
dec edi
mov dword [esp + 0x48], edi
cmp al, 0xa
je 0x1017b8d8
cmp al, 0xd
je 0x1017b8d8
inc ecx
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [esi + 0x1988]
movss dword [esp + 0x50], xmm0
movaps xmm0, xmm4
movss dword [esp + 0x30], xmm0
jmp 0x1017b949
test dh, dh
jne 0x1017b935
mov eax, dword [esp + 0x3c]
cmp dword [esi + 0x1c24], eax
jne 0x1017b914
mov edi, dword [edi + 8]
add edi, dword [ebp + 8]
mov dword [esp + 0x48], edi
jmp 0x1017b939
mov edi, dword [ebp + 8]
mov ecx, edi
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1017b920
sub ecx, edx
mov dh, byte [esp + 0x23]
add edi, ecx
mov dword [esp + 0x48], edi
jmp 0x1017b939
mov edi, dword [esp + 0x48]
mov eax, edi
sub eax, dword [ebp + 8]
cmp eax, 0x200000
jge 0x1017baa2
movss xmm0, dword [0x10202060]
movzx ecx, dh
call fcn.10156ac0
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0xe8]
cmp byte [esp + 0x34], 0
mov esi, dword [esp + 0x78]
mov dword [esp + 0x28], 0
cmovne edx, dword [esp + 0x28]
mov edi, dword [ecx + 0x1984]
movss xmm2, dword [ecx + 0x1988]
mov esi, dword [esi + 0x2c4]
mov ecx, dword [esp + 0x48]
mov dword [esp + 0x4c], eax
test eax, 0xff000000
je 0x1017ba9a
test ecx, ecx
jne 0x1017b9c2
mov ecx, dword [ebp + 8]
lea eax, [ecx + 1]
mov dword [esp + 0x28], eax
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1017b9b0
sub ecx, dword [esp + 0x28]
mov eax, dword [ebp + 8]
add ecx, eax
jmp 0x1017b9c5
mov eax, dword [ebp + 8]
cmp eax, ecx
je 0x1017ba9a
test edi, edi
jne 0x1017b9d7
mov eax, dword [esi + 0x2c]
mov edi, dword [eax + 8]
ucomiss xmm2, dword [0x10201f00]
lahf
test ah, 0x44
jp 0x1017b9ec
mov eax, dword [esi + 0x2c]
movss xmm2, dword [eax + 0xc]
movups xmm0, xmmword [esi + 0x60]
movups xmmword [esp + 0x90], xmm0
test edx, edx
je 0x1017ba63
movss xmm1, dword [edx]
movss xmm0, dword [esp + 0x90]
comiss xmm0, xmm1
jae 0x1017ba17
movss dword [esp + 0x90], xmm1
movss xmm1, dword [edx + 4]
movss xmm0, dword [esp + 0x94]
comiss xmm0, xmm1
jae 0x1017ba33
movss dword [esp + 0x94], xmm1
movss xmm0, dword [edx + 8]
comiss xmm0, dword [esp + 0x98]
ja 0x1017ba4b
movss dword [esp + 0x98], xmm0
movss xmm0, dword [edx + 0xc]
comiss xmm0, dword [esp + 0x9c]
ja 0x1017ba63
movss dword [esp + 0x9c], xmm0
push dword [esp + 0xcc]
test edx, edx
push dword [esp + 0xcc]
setne al
movzx eax, al
push eax
push ecx
mov dword [esp], 0
lea eax, [esp + 0xa0]
push ecx
push dword [ebp + 8]
mov ecx, edi
push eax
push dword [esp + 0x68]
push esi
call fcn.1016dc80
mov esi, dword [esp + 0x18]
mov edi, dword [esp + 0x48]
cmp byte [esp + 0xa8], 0
je 0x1017bab8
cmp byte [esp + 0x23], 0
jne 0x1017bab8
call fcn.10161650
cmp byte [esp + 0x34], 0
je 0x1017bb6f
mov ecx, dword [0x10453c48]
movss xmm0, dword [esp + 0x50]
addss xmm0, dword [esi + 0x159c]
movss xmm4, dword [esp + 0x30]
mov eax, dword [ecx + 0x1bec]
movss dword [esp + 0x68], xmm4
movss dword [esp + 0x6c], xmm0
mov byte [eax + 0xa8], 1
mov eax, dword [ecx + 0x1bec]
cmp byte [eax + 0xab], 0
jne 0x1017bb65
movss xmm1, dword [eax + 0xf0]
lea ecx, [esp + 0x68]
movss xmm3, dword [eax + 0xec]
movaps xmm2, xmm1
addss xmm2, xmm0
movss dword [esp + 0xe8], xmm3
movss xmm0, dword [0x1020244c]
addss xmm4, xmm3
movss dword [esp + 0xec], xmm1
movss dword [esp + 0xf4], xmm2
movss dword [esp + 0xf0], xmm4
call fcn.10161b80
push 0
xor edx, edx
lea ecx, [esp + 0xec]
call fcn.10161cb0
call fcn.1015c940
call fcn.10162250
cmp byte [esi + 0x2f3c], 0
je 0x1017bbb2
cmp byte [esp + 0xa8], 0
je 0x1017bb89
cmp byte [esp + 0x23], 0
je 0x1017bbb2
mov eax, dword [0x10453c48]
lea ecx, [esp + 0xdc]
mov edx, dword [ebp + 8]
push edi
mov dword [eax + 0x2f54], 0x10200288
mov dword [eax + 0x2f58], 0x10200284
call fcn.10166d60
movss xmm0, dword [esp + 0xe4]
comiss xmm0, dword [0x10201f00]
jbe 0x1017bc0e
movss xmm0, dword [esp + 0xc0]
xor edx, edx
addss xmm0, dword [esi + 0x15b0]
mov ecx, dword [esp + 0xd8]
push 1
movss dword [esp + 0x6c], xmm0
movss xmm0, dword [esp + 0xc0]
addss xmm0, dword [esi + 0x159c]
movss dword [esp + 0x70], xmm0
movss xmm0, dword [esp + 0x6c]
movss xmm1, dword [esp + 0x70]
call fcn.10156d10
mov dl, byte [esp + 0x3b]
mov ecx, dword [ebp + 0x14]
test dl, dl
je 0x1017bc3c
test ecx, 0x200000
jne 0x1017bc3c
mov eax, dword [0x10453c48]
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 + 0x3a]
pop edi
cmovne eax, ecx
pop esi
mov esp, ebp
pop ebp
ret 0x18
test dh, dh
jne 0x1017bc64
mov eax, dword [edi + 8]
add eax, dword [ebp + 8]
mov dword [esp + 0x48], eax
mov al, byte [esp + 0x20]
mov ecx, dword [edi + 0x14]
xor edx, edx
mov dword [esp + 0x3c], ecx
movaps xmm7, xmm6
movss dword [esp + 0x4c], xmm6
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
mov dword [esp + 0x60], 0xfffffc18
mov dword [esp + 0x2c], 0xfffffc18
test al, al
je 0x1017bcb1
mov eax, dword [edi + 0x3c]
or esi, 0xffffffff
mov dword [esp + 0x60], esi
lea eax, [ecx + eax*2]
mov dword [esp + 0x7c], eax
lea edx, [esi + 2]
cmp byte [esp + 0xa4], 0
je 0x1017bce0
mov ecx, dword [edi + 0x44]
cmp dword [edi + 0x40], ecx
mov eax, dword [esp + 0x3c]
cmovl ecx, dword [edi + 0x40]
inc edx
mov dword [esp + 0x2c], 0xffffffff
lea eax, [eax + ecx*2]
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x80], eax
mov esi, dword [esp + 0x3c]
mov eax, dword [esp + 0x34]
movzx eax, al
add edx, eax
xor eax, eax
movzx esi, word [esi]
test si, si
mov dword [esp + 0x64], eax
mov esi, dword [esp + 0x60]
je 0x1017bd64
mov edi, dword [esp + 0x3c]
movzx esi, word [edi]
mov edi, dword [esp + 0x60]
nop word [eax + eax]
cmp si, 0xa
jne 0x1017bd46
inc eax
mov dword [esp + 0x64], eax
cmp edi, 0xffffffff
jne 0x1017bd2d
cmp ecx, dword [esp + 0x7c]
jb 0x1017bd2d
dec edx
mov edi, eax
test edx, edx
jle 0x1017bd58
cmp dword [esp + 0x2c], 0xffffffff
jne 0x1017bd46
cmp ecx, dword [esp + 0x80]
jb 0x1017bd46
dec edx
mov dword [esp + 0x2c], eax
test edx, edx
jle 0x1017bd58
movzx eax, word [ecx + 2]
add ecx, 2
mov esi, eax
test ax, ax
mov eax, dword [esp + 0x64]
jne 0x1017bd10
mov dword [esp + 0x60], edi
mov edi, dword [esp + 0x58]
mov esi, dword [esp + 0x60]
mov edx, dword [esp + 0x3c]
inc eax
cmp esi, 0xffffffff
mov dword [esp + 0x64], eax
mov ecx, eax
cmovne ecx, esi
mov esi, dword [esp + 0x7c]
mov dword [esp + 0xb4], ecx
mov ecx, dword [esp + 0x2c]
cmp ecx, 0xffffffff
cmove ecx, eax
mov dword [esp + 0x2c], ecx
mov ecx, esi
cmp esi, edx
jbe 0x1017bda2
cmp word [ecx - 2], 0xa
je 0x1017bda2
add ecx, 0xfffffffe
cmp ecx, edx
ja 0x1017bd94
mov eax, dword [0x10453c48]
movaps xmm5, xmm6
movss dword [esp + 0x60], xmm5
movaps xmm1, xmm6
mov edx, dword [eax + 0x1984]
movss xmm3, dword [eax + 0x1988]
divss xmm3, dword [edx + 0x10]
cmp ecx, esi
jae 0x1017be28
mov edi, dword [esp + 0x7c]
nop
movzx eax, word [ecx]
add ecx, 2
mov esi, eax
cmp eax, 0xa
jne 0x1017bdea
comiss xmm5, xmm1
jae 0x1017bde5
movaps xmm5, xmm1
movaps xmm1, xmm6
jmp 0x1017be0c
cmp esi, 0xd
je 0x1017be0c
mov esi, eax
cmp esi, dword [edx]
jge 0x1017bdff
mov eax, dword [edx + 8]
movss xmm0, dword [eax + esi*4]
jmp 0x1017be04
movss xmm0, dword [edx + 0xc]
mulss xmm0, xmm3
addss xmm1, xmm0
cmp ecx, edi
jb 0x1017bdd0
comiss xmm1, xmm5
mov edi, dword [esp + 0x58]
movss dword [esp + 0x60], xmm5
jbe 0x1017be28
movaps xmm5, xmm1
movss dword [esp + 0x60], xmm1
cmp dword [esp + 0x2c], 0
movd xmm6, dword [esp + 0xb4]
mov ecx, dword [esp + 0x18]
cvtdq2ps xmm6, xmm6
movss xmm4, dword [ecx + 0x1988]
mulss xmm6, xmm4
movss dword [esp + 0xc8], xmm6
jl 0x1017bf0f
mov eax, dword [esp + 0x80]
mov ecx, eax
mov esi, dword [esp + 0x3c]
cmp eax, esi
jbe 0x1017be85
nop dword [eax]
cmp word [ecx - 2], 0xa
je 0x1017be7e
add ecx, 0xfffffffe
cmp ecx, esi
ja 0x1017be70
mov eax, dword [esp + 0x80]
xorps xmm0, xmm0
xorps xmm7, xmm7
xorps xmm1, xmm1
cmp ecx, eax
jae 0x1017bef8
mov edi, dword [esp + 0x80]
nop dword [eax]
movzx eax, word [ecx]
add ecx, 2
mov esi, eax
cmp eax, 0xa
jne 0x1017beba
comiss xmm7, xmm1
jae 0x1017beb5
movaps xmm7, xmm1
movaps xmm1, xmm0
jmp 0x1017bee2
cmp esi, 0xd
je 0x1017bee2
mov esi, eax
cmp esi, dword [edx]
jge 0x1017becf
mov eax, dword [edx + 8]
movss xmm2, dword [eax + esi*4]
jmp 0x1017bed4
movss xmm2, dword [edx + 0xc]
movaps xmm0, xmm3
mulss xmm0, xmm2
addss xmm1, xmm0
xorps xmm0, xmm0
cmp ecx, edi
jb 0x1017bea0
comiss xmm1, xmm7
mov edi, dword [esp + 0x58]
movss xmm2, dword [esp + 0x50]
jbe 0x1017bef8
movaps xmm7, xmm1
movd xmm0, dword [esp + 0x2c]
mov ecx, dword [esp + 0x18]
cvtdq2ps xmm0, xmm0
mulss xmm0, xmm4
movss dword [esp + 0x4c], xmm0
mov edx, dword [esp + 0x34]
movss xmm3, dword [esp + 0xac]
test dl, dl
je 0x1017bf3c
movd xmm2, dword [esp + 0x64]
movaps xmm0, xmm3
cvtdq2ps xmm2, xmm2
movss dword [esp + 0x30], xmm0
mulss xmm2, xmm4
movss dword [esp + 0x50], xmm2
cmp byte [esp + 0x20], 0
je 0x1017c05a
cmp byte [edi + 0xe6c], 0
je 0x1017c05a
test dword [ebp + 0x14], 0x1000
jne 0x1017bfe4
movss xmm2, dword [edi + 0x38]
movaps xmm0, xmm3
comiss xmm2, xmm5
mulss xmm0, dword [0x10201fb4]
movaps xmm1, xmm5
subss xmm3, dword [ecx + 0x1598]
jbe 0x1017bfd5
subss xmm1, xmm0
xorps xmm0, xmm0
maxss xmm0, xmm1
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [edi + 0x38], xmm0
movss xmm2, dword [esp + 0x50]
xorps xmm3, xmm3
test dl, dl
je 0x1017c053
movss xmm4, dword [esp + 0x88]
movaps xmm0, xmm6
subss xmm0, dword [ecx + 0x1988]
movss xmm5, dword [esp + 0x6c]
comiss xmm4, xmm0
jbe 0x1017bfed
xorps xmm4, xmm4
maxss xmm4, xmm0
jmp 0x1017c009
subss xmm1, xmm3
comiss xmm1, xmm2
jb 0x1017bf9c
addss xmm0, xmm1
jmp 0x1017bf8c
mov dword [edi + 0x38], 0
jmp 0x1017bfa2
movaps xmm0, xmm6
subss xmm0, xmm5
comiss xmm0, xmm4
jb 0x1017c009
movss xmm4, dword [ecx + 0x159c]
addss xmm4, xmm4
addss xmm4, xmm0
comiss xmm3, xmm4
movss xmm1, dword [ecx + 0x159c]
jbe 0x1017c01b
xorps xmm1, xmm1
jmp 0x1017c02f
addss xmm1, xmm1
addss xmm1, xmm2
subss xmm1, xmm5
maxss xmm1, xmm3
minss xmm1, xmm4
mov eax, dword [esp + 0x78]
movss xmm0, dword [eax + 0x78]
subss xmm0, xmm1
addss xmm0, dword [esp + 0xe0]
movss dword [esp + 0xe0], xmm0
movss dword [eax + 0x78], xmm1
mov byte [edi + 0xe6c], 0
mov eax, dword [0x10229c84]
movss xmm5, dword [edi + 0x38]
mov ecx, dword [esp + 0xa4]
movss xmm4, dword [0x10202378]
movss dword [esp + 0x64], xmm5
mov byte [eax], cl
test cl, cl
je 0x1017c5d7
mov edx, dword [edi + 0x44]
mov eax, edx
mov ecx, dword [edi + 0x40]
cmp ecx, edx
mov esi, dword [esp + 0x3c]
cmovl eax, ecx
cmovge edx, ecx
cmp byte [esp + 0x20], 0
lea esi, [esi + eax*2]
mov eax, dword [esp + 0x3c]
lea eax, [eax + edx*2]
mov dword [esp + 0x7c], eax
je 0x1017c0b6
movss xmm0, dword [0x10202060]
jmp 0x1017c0be
movss xmm0, dword [0x10202000]
mov ecx, 0x30
call fcn.10156ac0
cmp byte [esp + 0x34], 0
mov dword [esp + 0xb4], eax
je 0x1017c0e7
xorps xmm0, xmm0
xorps xmm6, xmm6
movss dword [esp + 0xac], xmm0
jmp 0x1017c103
movss xmm0, dword [0x10202128]
movss xmm6, dword [0x1020244c]
movss dword [esp + 0xac], xmm0
xorps xmm0, xmm0
movss xmm4, dword [esp + 0xe0]
addss xmm4, dword [esp + 0x4c]
movss xmm3, dword [esp + 0xdc]
movss xmm5, dword [esp + 0x64]
addss xmm7, xmm3
mov ecx, dword [esp + 0x7c]
mov edx, dword [esp + 0x18]
movss dword [esp + 0x80], xmm6
subss xmm4, xmm0
subss xmm7, xmm5
movss dword [esp + 0x4c], xmm4
cmp esi, ecx
jae 0x1017c575
movss xmm1, dword [esp + 0x24]
nop dword [eax]
nop word [eax + eax]
movss xmm5, dword [edx + 0x1988]
movaps xmm0, xmm1
addss xmm0, xmm5
comiss xmm4, xmm0
ja 0x1017c5cf
movss xmm0, dword [esp + 0xbc]
comiss xmm0, xmm4
jbe 0x1017c1a9
cmp esi, ecx
jae 0x1017c549
nop
mov ax, word [esi]
add esi, 2
cmp ax, 0xa
je 0x1017c549
cmp esi, ecx
jb 0x1017c190
jmp 0x1017c549
mov eax, dword [0x10453c48]
xorps xmm2, xmm2
xorps xmm1, xmm1
mov edx, dword [eax + 0x1984]
movss xmm3, dword [eax + 0x1988]
divss xmm3, dword [edx + 0x10]
cmp esi, ecx
jae 0x1017c21b
nop dword [eax + eax]
movzx eax, word [esi]
add esi, 2
mov ecx, eax
cmp eax, 0xa
je 0x1017c205
cmp ecx, 0xd
je 0x1017c1fd
cmp ecx, dword [edx]
jge 0x1017c1f0
mov eax, dword [edx + 8]
movss xmm0, dword [eax + ecx*4]
jmp 0x1017c1f5
movss xmm0, dword [edx + 0xc]
mulss xmm0, xmm3
addss xmm1, xmm0
cmp esi, dword [esp + 0x7c]
jb 0x1017c1d0
jmp 0x1017c213
xorps xmm0, xmm0
comiss xmm0, xmm1
jae 0x1017c210
movaps xmm2, xmm1
xorps xmm1, xmm1
comiss xmm1, xmm2
jbe 0x1017c21b
movaps xmm2, xmm1
movss xmm1, dword [esp + 0x8c]
movss xmm0, dword [esp + 0xb0]
movss dword [esp + 0x88], xmm1
movss dword [esp + 0x8c], xmm1
xorps xmm1, xmm1
comiss xmm1, xmm2
movss dword [esp + 0xa4], xmm0
movss dword [esp + 0xb0], xmm0
jb 0x1017c28d
mov eax, dword [esp + 0x18]
mov eax, dword [eax + 0x1984]
cmp dword [eax], 0x20
jle 0x1017c275
mov eax, dword [eax + 8]
movss xmm0, dword [eax + 0x80]
jmp 0x1017c27a
movss xmm0, dword [eax + 0xc]
mulss xmm0, dword [0x10201ff4]
cvttss2si eax, xmm0
movd xmm2, eax
cvtdq2ps xmm2, xmm2
movss xmm0, dword [esp + 0xac]
addss xmm2, xmm7
movss xmm3, dword [esp + 0x24]
addss xmm7, xmm1
movaps xmm1, xmm6
addss xmm0, xmm4
movss xmm6, dword [esp + 0xb8]
subss xmm1, xmm5
maxss xmm7, xmm6
minss xmm0, xmm3
addss xmm1, xmm4
movss xmm4, dword [esp + 0x28]
minss xmm2, xmm4
movss dword [esp + 0x90], xmm7
comiss xmm0, dword [esp + 0xbc]
maxss xmm1, dword [esp + 0xbc]
movss dword [esp + 0x98], xmm2
movss dword [esp + 0x9c], xmm0
movss dword [esp + 0x94], xmm1
jbe 0x1017c36b
comiss xmm3, xmm1
jbe 0x1017c36b
comiss xmm2, xmm6
jbe 0x1017c36b
comiss xmm4, xmm7
jbe 0x1017c36b
push 0
push ecx
mov dword [esp], 0
lea eax, [esp + 0xa0]
push dword [esp + 0xbc]
push eax
lea eax, [esp + 0xa0]
push eax
mov eax, dword [esp + 0x8c]
mov ecx, dword [eax + 0x2c4]
call fcn.1016b050
movss xmm0, dword [esp + 0x88]
movss dword [esp + 0x8c], xmm0
movss xmm0, dword [esp + 0xa4]
movss dword [esp + 0xb0], xmm0
cmp byte [esp + 0x57], 0
mov eax, dword [esp + 0x78]
mov eax, dword [eax + 0x2c4]
mov dword [esp + 0x88], eax
je 0x1017c38d
movss xmm1, dword [0x10202074]
jmp 0x1017c395
movss xmm1, dword [0x10201ff4]
mov edx, dword [0x10229c78]
sub esp, 0x18
mov ecx, esp
movups xmm0, xmmword [edx + 0x38b8]
mov eax, dword [edx + 0x38c8]
movups xmmword [ecx], xmm0
mov dword [ecx + 0x10], eax
mov al, byte [edx + 0x38cc]
movaps xmm0, xmm1
mov byte [ecx + 0x14], al
call fcn.100bfd60
mov edx, eax
movss xmm5, dword [0x10201f3c]
mov ecx, edx
shr eax, 8
shr ecx, 0x10
movzx ecx, cl
movzx eax, al
movss xmm7, dword [0x10202060]
movd xmm0, ecx
cvtdq2pd xmm0, xmm0
shr ecx, 0x1f
addsd xmm0, qword [ecx*8 + 0x10202a70]
cvtpd2ps xmm4, xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
mulss xmm4, xmm5
addsd xmm0, qword [eax*8 + 0x10202a70]
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 + 0x10202a70]
mov eax, dword [0x10453c48]
cvtpd2ps xmm2, xmm0
movd xmm0, edx
cvtdq2pd xmm0, xmm0
shr edx, 0x1f
mulss xmm2, xmm5
addsd xmm0, qword [edx*8 + 0x10202a70]
cvtpd2ps xmm3, xmm0
mulss xmm3, xmm5
xorps xmm5, xmm5
comiss xmm5, xmm4
mulss xmm3, dword [eax + 0x1560]
jbe 0x1017c474
xorps xmm0, xmm0
jmp 0x1017c47b
movaps xmm0, xmm7
minss xmm0, xmm4
movss xmm4, dword [0x10202378]
movss xmm6, dword [0x10201ff4]
mulss xmm0, xmm4
addss xmm0, xmm6
cvttss2si ecx, xmm0
shl ecx, 0x10
comiss xmm5, xmm1
jbe 0x1017c4a4
xorps xmm0, xmm0
jmp 0x1017c4ab
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 0x1017c4c6
xorps xmm0, xmm0
jmp 0x1017c4cd
movaps xmm0, xmm7
minss xmm0, xmm2
mulss xmm0, xmm4
addss xmm0, xmm6
cvttss2si eax, xmm0
or ecx, eax
comiss xmm5, xmm3
jbe 0x1017c4e5
xorps xmm0, xmm0
jmp 0x1017c4ec
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 + 0xa8]
push eax
lea eax, [esp + 0xa4]
push eax
call fcn.1016af60
movss xmm3, dword [esp + 0xdc]
movss xmm4, dword [esp + 0x4c]
movss xmm1, dword [esp + 0x24]
mov ecx, dword [esp + 0x7c]
mov edx, dword [esp + 0x18]
movss xmm5, dword [esp + 0x64]
movaps xmm7, xmm3
movss xmm6, dword [esp + 0x80]
subss xmm7, xmm5
addss xmm4, dword [edx + 0x1988]
movss dword [esp + 0x4c], xmm4
cmp esi, ecx
jb 0x1017c160
movss xmm4, dword [0x10202378]
cmp byte [esp + 0x34], 0
jne 0x1017c596
mov eax, dword [esp + 0x48]
sub eax, dword [ebp + 8]
cmp eax, 0x200000
jge 0x1017c802
movzx eax, byte [esp + 0x23]
xorps xmm6, xmm6
mov ecx, dword [0x10453c48]
add eax, eax
movups xmm2, xmmword [ecx + eax*8 + 0x1624]
comiss xmm6, xmm2
movaps xmm1, xmm2
movaps xmmword [esp + 0x90], xmm2
shufps xmm1, xmm2, 0xff
mulss xmm1, dword [ecx + 0x1560]
jbe 0x1017c5e6
xorps xmm0, xmm0
jmp 0x1017c5f2
movss xmm5, dword [esp + 0x64]
jmp 0x1017c575
movss xmm3, dword [esp + 0xdc]
mov edx, dword [esp + 0x18]
jmp 0x1017c57d
movss xmm0, dword [0x10202060]
minss xmm0, xmm2
movss xmm7, dword [0x10201ff4]
movss xmm2, dword [esp + 0x94]
mulss xmm0, xmm4
addss xmm0, xmm7
cvttss2si ecx, xmm0
shl ecx, 0x10
comiss xmm6, xmm2
jbe 0x1017c61c
xorps xmm0, xmm0
jmp 0x1017c628
movss xmm0, dword [0x10202060]
minss xmm0, xmm2
movss xmm2, dword [esp + 0x98]
mulss xmm0, xmm4
addss xmm0, xmm7
cvttss2si eax, xmm0
shl eax, 8
or ecx, eax
comiss xmm6, xmm2
jbe 0x1017c64c
xorps xmm0, xmm0
jmp 0x1017c658
movss xmm0, dword [0x10202060]
minss xmm0, xmm2
mulss xmm0, xmm4
addss xmm0, xmm7
cvttss2si eax, xmm0
or ecx, eax
comiss xmm6, xmm1
jbe 0x1017c670
xorps xmm0, xmm0
jmp 0x1017c67c
movss xmm0, dword [0x10202060]
minss xmm0, xmm1
mov edx, dword [edx + 0x1984]
subss xmm3, xmm5
mov eax, dword [esp + 0x78]
mulss xmm0, xmm4
mov dword [esp + 0x24], edx
mov edx, dword [esp + 0x18]
mov dword [esp + 0xb4], 0
addss xmm0, xmm7
movss dword [esp + 0x68], xmm3
movss xmm2, dword [edx + 0x1988]
lea edx, [esp + 0xe8]
cvttss2si esi, xmm0
movss xmm0, dword [esp + 0xe0]
shl esi, 0x18
subss xmm0, xmm6
or esi, ecx
mov ecx, dword [eax + 0x2c4]
cmp byte [esp + 0x34], 0
mov eax, dword [esp + 0x48]
cmovne edx, dword [esp + 0xb4]
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x28], eax
movss dword [esp + 0x6c], xmm0
test esi, 0xff000000
je 0x1017c805
test eax, eax
jne 0x1017c72d
mov ecx, dword [ebp + 8]
lea eax, [ecx + 1]
mov dword [esp + 0xb4], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1017c712
sub ecx, dword [esp + 0xb4]
mov eax, dword [ebp + 8]
add eax, ecx
mov ecx, dword [esp + 0x4c]
mov dword [esp + 0x28], eax
cmp dword [ebp + 8], eax
je 0x1017c805
cmp dword [esp + 0x24], 0
jne 0x1017c747
mov eax, dword [ecx + 0x2c]
mov eax, dword [eax + 8]
mov dword [esp + 0x24], eax
ucomiss xmm2, xmm6
lahf
test ah, 0x44
jp 0x1017c758
mov eax, dword [ecx + 0x2c]
movss xmm2, dword [eax + 0xc]
movups xmm0, xmmword [ecx + 0x60]
movups xmmword [esp + 0x90], xmm0
test edx, edx
je 0x1017c7cf
movss xmm1, dword [edx]
movss xmm0, dword [esp + 0x90]
comiss xmm0, xmm1
jae 0x1017c783
movss dword [esp + 0x90], xmm1
movss xmm1, dword [edx + 4]
movss xmm0, dword [esp + 0x94]
comiss xmm0, xmm1
jae 0x1017c79f
movss dword [esp + 0x94], xmm1
movss xmm0, dword [edx + 8]
comiss xmm0, dword [esp + 0x98]
ja 0x1017c7b7
movss dword [esp + 0x98], xmm0
movss xmm0, dword [edx + 0xc]
comiss xmm0, dword [esp + 0x9c]
ja 0x1017c7cf
movss dword [esp + 0x9c], xmm0
push dword [esp + 0x6c]
test edx, edx
push dword [esp + 0x6c]
setne al
movzx eax, al
push eax
push ecx
mov dword [esp], 0
lea eax, [esp + 0xa0]
push dword [esp + 0x38]
push dword [ebp + 8]
push eax
push esi
push ecx
mov ecx, dword [esp + 0x48]
call fcn.1016dc80
xorps xmm6, xmm6
cmp byte [esp + 0x20], 0
mov esi, dword [esp + 0x18]
je 0x1017ba9e
movss xmm0, dword [esi + 0x5c]
addss xmm0, dword [edi + 0xe68]
movss dword [edi + 0xe68], xmm0
cmp byte [esi + 0xf6], 0
je 0x1017c86e
comiss xmm6, xmm0
jae 0x1017c86e
cvtps2pd xmm0, xmm0
movsd qword [esp + 0x68], xmm0
fld qword [esp + 0x68]
fld qword [0x10202110]
call fcn.101c7540
movss xmm0, dword [0x10202030]
fstp qword [esp + 0x68]
movsd xmm1, qword [esp + 0x68]
cvtpd2ps xmm1, xmm1
comiss xmm0, xmm1
jae 0x1017c86e
xor al, al
jmp 0x1017c870
mov al, 1
movss xmm0, dword [esp + 0xe0]
movss xmm4, dword [esp + 0x60]
movss xmm6, dword [0x10202060]
addss xmm0, dword [esp + 0xc8]
addss xmm4, dword [esp + 0xdc]
subss xmm0, dword [0x10201f00]
subss xmm4, dword [esp + 0x64]
movss dword [esp + 0xc8], xmm0
movaps xmm1, xmm0
movss dword [esp + 0x60], xmm4
movaps xmm3, xmm4
movss dword [esp + 0xe8], xmm4
movaps xmm2, xmm0
addss xmm3, xmm6
subss xmm1, dword [esi + 0x1988]
subss xmm2, dword [0x102020b8]
movss dword [esp + 0xf0], xmm3
addss xmm1, dword [0x10201ff4]
movss dword [esp + 0xf4], xmm2
movss dword [esp + 0xec], xmm1
test al, al
je 0x1017c996
comiss xmm2, dword [esp + 0xbc]
jbe 0x1017c996
movss xmm5, dword [esp + 0xb0]
comiss xmm5, xmm1
jbe 0x1017c996
comiss xmm3, dword [esp + 0xb8]
jbe 0x1017c996
movss xmm1, dword [esp + 0x8c]
comiss xmm1, xmm4
jbe 0x1017c996
sub esp, 8
movss dword [esp + 0x70], xmm4
movaps xmm0, xmm6
movss dword [esp + 0x74], xmm2
xor ecx, ecx
mov dword [esp + 4], 0x3f800000
call fcn.10156ac0
add esp, 4
push eax
lea eax, [esp + 0x70]
push eax
lea eax, [esp + 0xf4]
push eax
mov eax, dword [esp + 0x88]
mov ecx, dword [eax + 0x2c4]
call fcn.1016ae30
movss xmm0, dword [esp + 0xc8]
movss xmm4, dword [esp + 0x60]
movss xmm6, dword [0x10202060]
cmp byte [esp + 0x40], 0
jne 0x1017ba9e
subss xmm0, dword [esi + 0x1988]
subss xmm4, xmm6
movss dword [esi + 0x2ee8], xmm0
movss dword [esi + 0x2ee4], xmm4
jmp 0x1017ba9e