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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x158
push esi
mov esi, dword [0x10159260]
mov dword [esp + 0xd0], ecx
mov ecx, esi
push edi
mov dword [esp + 0x74], edx
mov dword [esp + 0x14], ecx
mov eax, dword [ecx + 0x1b94]
mov byte [eax + 0x8c], 1
mov edi, dword [ecx + 0x1b94]
mov dword [esp + 0x64], edi
cmp byte [edi + 0x8f], 0
jne 0x1006add8
mov edx, dword [ebp + 0x14]
mov eax, edx
shr eax, 0xe
mov ecx, edx
and eax, 0xffffff01
shr ecx, 0x14
mov dword [esp + 0x40], eax
and ecx, 0xffffff01
mov eax, edx
mov dword [esp + 0x34], ecx
shr eax, 0xf
and eax, 0xffffff01
mov dword [esp + 0xd0], eax
mov eax, edx
shr eax, 0x10
not al
and eax, 0xffffff01
mov dword [esp + 0x60], eax
mov eax, edx
shr eax, 0x12
and eax, 0xffffff01
mov dword [esp + 0xbc], eax
test cl, cl
je 0x1006ab2a
call fcn.1004cb80
mov esi, dword [0x10159260]
mov ecx, dword [edi + 0xc0]
xor edx, edx
mov eax, dword [edi + 0xc8]
push dword [eax + ecx*4 - 4]
mov ecx, dword [esp + 0xd8]
call fcn.10040740
mov dword [esp + 0x38], eax
cmp dword [esi + 0x1bc8], eax
jne 0x1006ab5a
mov dword [esi + 0x1bcc], eax
cmp dword [esi + 0x1c04], eax
jne 0x1006ab69
mov byte [esi + 0x1c08], 1
mov eax, dword [esp + 0xd4]
mov ecx, eax
cmp eax, 0xffffffff
jae 0x1006ab8d
mov dl, byte [ecx]
test dl, dl
je 0x1006ab8d
cmp dl, 0x23
jne 0x1006ab87
cmp byte [ecx + 1], dl
je 0x1006ab8d
inc ecx
cmp ecx, 0xffffffff
jb 0x1006ab77
movss xmm1, dword [0x10150d6c]
movss xmm0, dword [esi + 0x1930]
movss dword [esp + 0x8c], xmm1
cmp eax, ecx
jne 0x1006abb8
xorps xmm3, xmm3
movss dword [esp + 0xfc], xmm3
jmp 0x1006ac05
push 0
push ecx
push eax
push ecx
mov ecx, dword [esi + 0x192c]
lea eax, [esp + 0x7c]
mov dword [esp], 0xbf800000
movaps xmm3, xmm1
push eax
movaps xmm2, xmm0
call fcn.1005aba0
movss xmm0, dword [esp + 0x6c]
xorps xmm3, xmm3
addss xmm0, dword [0x10150bdc]
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [esp + 0xfc], xmm0
movss xmm0, dword [esp + 0x70]
cmp byte [esp + 0x34], 0
mov eax, dword [esp + 0x14]
je 0x1006ac20
movss xmm0, dword [eax + 0x1930]
mulss xmm0, dword [0x10150c78]
test byte [esi + 0x1c78], 1
movss xmm1, dword [eax + 0x1554]
mov eax, dword [esi + 0x1b94]
movaps xmm2, xmm1
addss xmm2, xmm1
addss xmm2, xmm0
je 0x1006ac4c
movss xmm1, dword [esi + 0x1c7c]
jmp 0x1006ac54
movss xmm1, dword [eax + 0x1b4]
comiss xmm3, xmm1
jbe 0x1006ac8f
cmp dword [eax + 0x198], 0
movss xmm0, dword [eax + 0x24c]
jne 0x1006ac73
cmp dword [esi + 0x1ecc], 0
je 0x1006ac7b
movss xmm0, dword [eax + 0x21c]
subss xmm0, dword [eax + 0xcc]
addss xmm1, xmm0
maxss xmm1, dword [0x10150be4]
cvttss2si eax, xmm1
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.1004ca90
mov esi, dword [esp + 0x14]
movss dword [esp + 0x70], xmm1
movss xmm1, dword [esp + 0xfc]
movss dword [esp + 0x6c], xmm0
xorps xmm0, xmm0
comiss xmm1, xmm0
jbe 0x1006acdc
movaps xmm2, xmm1
addss xmm2, dword [esi + 0x1568]
jmp 0x1006acdf
xorps xmm2, xmm2
cmp byte [esp + 0x34], 0
movss xmm4, dword [edi + 0xd0]
movss xmm5, dword [esp + 0x6c]
movaps xmm0, xmm4
addss xmm0, dword [esp + 0x70]
movss xmm3, dword [edi + 0xcc]
addss xmm2, xmm5
movaps xmm1, xmm3
movss dword [esp + 0xb8], xmm5
addss xmm1, xmm5
movss dword [esp + 0xc0], xmm3
movss dword [esp + 0xc4], xmm4
movss dword [esp + 0xcc], xmm0
movaps xmm0, xmm4
addss xmm0, dword [esp + 0x70]
addss xmm2, xmm3
movss dword [esp + 0xa0], xmm3
movss dword [esp + 0xc8], xmm1
movss dword [esp + 0xa4], xmm4
mov dword [esp + 0x78], edi
movss dword [esp + 0xac], xmm0
movss dword [esp + 0xa8], xmm2
je 0x1006afdf
mov edx, dword [esp + 0x38]
lea eax, [esp + 0xc0]
push eax
lea ecx, [esp + 0xa4]
call fcn.1004c670
test al, al
jne 0x1006ade2
movss xmm0, dword [esp + 0xa8]
lea ecx, [esp + 0x6c]
subss xmm0, dword [esp + 0xa0]
movss dword [esp + 0x6c], xmm0
movss xmm0, dword [esp + 0xac]
subss xmm0, dword [esp + 0xa4]
movss dword [esp + 0x70], xmm0
movss xmm0, dword [esi + 0x1554]
call fcn.1004c540
call fcn.1004ccb0
xor al, al
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x18
mov esi, dword [0x10159260]
lea eax, [esp + 0xe0]
push eax
mov dword [esp + 0xe4], 3
movups xmm0, xmmword [esi + 0x160c]
lea ecx, [esi + 0x1c8c]
movups xmmword [esp + 0xe8], xmm0
call fcn.100528a0
mov edi, dword [esp + 0x14]
lea eax, [esp + 0x90]
push eax
mov dword [esp + 0x94], 6
movups xmm0, xmmword [edi + 0x164c]
movups xmmword [esi + 0x160c], xmm0
mov esi, dword [0x10159260]
movss xmm0, dword [edi + 0x1558]
movss dword [esp + 0x2c], xmm0
movss xmm0, dword [esi + 0x1540]
lea ecx, [esi + 0x1c98]
movss dword [esp + 0x98], xmm0
call fcn.100527f0
movss xmm0, dword [esp + 0x28]
lea eax, [esp + 0x90]
movss dword [esi + 0x1540], xmm0
mov esi, dword [0x10159260]
movss xmm0, dword [edi + 0x155c]
movss dword [esp + 0x28], xmm0
push eax
movss xmm0, dword [esi + 0x1544]
lea ecx, [esi + 0x1c98]
mov dword [esp + 0x94], 7
movss dword [esp + 0x98], xmm0
call fcn.100527f0
movss xmm0, dword [esp + 0x28]
lea eax, [esp + 0x90]
mov edx, dword [esp + 0x38]
mov ecx, dword [esp + 0xd4]
movss dword [esi + 0x1544], xmm0
movss xmm0, dword [esp + 0xc8]
subss xmm0, dword [esp + 0xc0]
push 4
push 1
push eax
movss dword [esp + 0x9c], xmm0
movss xmm0, dword [esp + 0xd8]
subss xmm0, dword [esp + 0xd0]
movss dword [esp + 0xa0], xmm0
call fcn.10047200
mov ecx, 2
mov byte [esp + 0x2f], al
call fcn.100417c0
mov esi, dword [0x10159260]
mov ecx, dword [esi + 0x1c8c]
lea edx, [ecx + ecx*4]
mov ecx, dword [esi + 0x1c94]
mov eax, dword [ecx + edx*4 - 0x14]
movups xmm0, xmmword [ecx + edx*4 - 0x10]
shl eax, 4
movups xmmword [eax + esi + 0x15dc], xmm0
dec dword [esi + 0x1c8c]
cmp byte [esp + 0x2f], 0
jne 0x1006af73
call fcn.10047400
call fcn.1004ccb0
xor al, al
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x18
mov edx, dword [edi + 0x1b94]
mov esi, dword [esp + 0x38]
mov dword [esp + 0x78], edx
mov ecx, dword [edx + 0x148]
mov eax, dword [edx + 0x140]
bts ecx, eax
movss xmm0, dword [edx + 0xcc]
mov dword [edx + 0x148], ecx
addss xmm0, dword [edi + 0x1550]
movss dword [edx + 0xcc], xmm0
movss xmm0, dword [edi + 0x1554]
addss xmm0, dword [edx + 0xd0]
movss dword [edx + 0xd0], xmm0
movss xmm0, dword [esp + 0x6c]
subss xmm0, dword [edx + 0x80]
movss dword [esp + 0xb8], xmm0
jmp 0x1006b033
mov edi, dword [esp + 0x14]
subss xmm0, xmm4
subss xmm2, xmm3
lea ecx, [esp + 0x90]
movss dword [esp + 0x94], xmm0
movss xmm0, dword [edi + 0x1554]
movss dword [esp + 0x90], xmm2
call fcn.1004c540
mov esi, dword [esp + 0x38]
lea eax, [esp + 0xc0]
push eax
mov edx, esi
lea ecx, [esp + 0xa4]
call fcn.1004c670
test al, al
je 0x1006add8
mov edx, esi
lea ecx, [esp + 0xc0]
call fcn.10043490
mov byte [esp + 0x13], al
test al, al
je 0x1006b053
mov dword [edi + 0x1e38], 1
mov edi, dword [0x10159260]
xor eax, eax
add edi, 0x1f50
mov edx, esi
cmp dword [edi], esi
mov esi, dword [esp + 0x64]
mov ecx, esi
cmovne edi, eax
mov dword [esp + 0x58], edi
call fcn.10043720
mov edx, dword [esp + 0x14]
mov byte [esp + 0x2f], al
test al, al
je 0x1006b0eb
cmp dword [edx + 0x1e18], esi
jne 0x1006b0eb
mov ecx, dword [edx + 0x1e20]
cmp ecx, dword [esi + 0x1a8]
jne 0x1006b0eb
mov byte [esp + 0x1f], 1
mov byte [esp + 0x3e], 0
cmp byte [esp + 0x13], 0
je 0x1006b0b8
cmp byte [edx + 0x3d8], 0
mov byte [esp + 0x1e], 1
jne 0x1006b0bd
mov byte [esp + 0x1e], 0
mov esi, dword [edx + 0x1bc8]
mov eax, dword [esp + 0x38]
cmp esi, eax
je 0x1006b100
cmp dword [edx + 0x1d10], eax
je 0x1006b0e4
cmp dword [edx + 0x1d04], eax
jne 0x1006b100
cmp dword [edx + 0x1d28], 2
jne 0x1006b100
mov byte [esp + 0x1d], 1
jmp 0x1006b105
mov byte [esp + 0x1f], 0
test al, al
je 0x1006b09e
mov byte [esp + 0x3e], 1
mov byte [esp + 0x1f], 0
jmp 0x1006b0a3
mov byte [esp + 0x1d], 0
mov eax, dword [esp + 0x34]
test al, al
je 0x1006b14c
test edi, edi
je 0x1006b14c
test esi, esi
jne 0x1006b14c
mov eax, dword [esp + 0x78]
xor edx, edx
mov ecx, dword [eax + 0xc0]
mov eax, dword [eax + 0xc8]
push dword [eax + ecx*4 - 4]
mov ecx, str.SCROLLY
call fcn.10040740
mov ecx, dword [esp + 0x14]
cmp dword [ecx + 0x1c04], eax
jne 0x1006b148
mov byte [esp + 0x1b], 1
jmp 0x1006b15e
mov eax, dword [esp + 0x34]
mov byte [esp + 0x1b], 0
test al, al
je 0x1006b186
mov byte [esp + 0x1b], 0
test edi, edi
je 0x1006b186
mov eax, dword [esp + 0x78]
mov ecx, str.SCROLLY
mov edx, dword [eax + 0xc0]
mov eax, dword [eax + 0xc8]
push dword [eax + edx*4 - 4]
xor edx, edx
call fcn.10040740
cmp esi, eax
jne 0x1006b186
mov cl, 1
jmp 0x1006b188
xor cl, cl
mov dl, byte [esp + 0x1d]
mov byte [esp + 0x3d], cl
mov byte [esp + 0x4b], 0
cmp esi, dword [esp + 0x38]
je 0x1006b1b4
test byte [ebp + 0x14], 0x10
jne 0x1006b1a5
test dl, dl
je 0x1006b1b4
mov eax, dword [esp + 0x34]
test al, al
jne 0x1006b1b8
mov byte [esp + 0x44], 1
jmp 0x1006b1d7
mov eax, dword [esp + 0x34]
mov byte [esp + 0x44], 0
test al, al
je 0x1006b1d7
mov eax, dword [esp + 0x78]
movss xmm0, dword [eax + 0x5c]
mov eax, dword [esp + 0x34]
movss dword [esp + 0x8c], xmm0
test edi, edi
je 0x1006b1e6
xor al, 1
cmp byte [edi + 0x53], al
je 0x1006b1e6
mov al, 1
jmp 0x1006b1e8
xor al, al
cmp byte [esp + 0x2f], 0
mov byte [esp + 0x3f], al
mov dword [esp + 0x50], 1
jne 0x1006b21b
cmp byte [esp + 0x1e], 0
jne 0x1006b21b
cmp byte [esp + 0x1b], 0
jne 0x1006b21b
test dl, dl
jne 0x1006b21b
mov byte [esp + 0x1b], dl
test cl, cl
jne 0x1006b220
mov byte [esp + 0x1c], cl
jmp 0x1006b22b
mov byte [esp + 0x1b], 1
mov byte [esp + 0x1c], 1
cmp esi, dword [esp + 0x38]
jne 0x1006b233
test al, al
je 0x1006b440
mov edi, dword [esp + 0x14]
mov ecx, dword [ebp + 8]
add edi, 0x1f50
mov dword [esp + 0x58], edi
mov dword [edi + 0xe68], 0xbe99999a
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1006b251
mov eax, dword [edi + 0x28]
sub ecx, edx
lea esi, [ecx + 1]
cmp esi, eax
jle 0x1006b28e
test eax, eax
je 0x1006b277
cdq
sub eax, edx
lea edx, [edi + 0x24]
mov ecx, eax
sar ecx, 1
add ecx, dword [edx + 4]
jmp 0x1006b27f
mov ecx, 8
lea edx, [edi + 0x24]
cmp ecx, esi
mov eax, esi
cmovg eax, ecx
mov ecx, edx
push eax
call fcn.10054740
push esi
push dword [ebp + 8]
mov dword [edi + 0x24], esi
push dword [edi + 0x2c]
call fcn.10101750
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 0x1006b2e3
test esi, esi
je 0x1006b2c7
mov eax, esi
cdq
sub eax, edx
mov edx, dword [esp + 0x30]
mov ecx, eax
sar ecx, 1
add ecx, esi
jmp 0x1006b2cc
mov ecx, 8
cmp ecx, edx
mov eax, edx
cmovg eax, ecx
lea ecx, [edi + 0xc]
push eax
call fcn.10052bd0
mov edx, dword [esp + 0x30]
lea eax, [edi + 0xc]
mov dword [eax], edx
mov ecx, dword [edi + 0x1c]
test ecx, ecx
jns 0x1006b305
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.10054740
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 0x1006b36d
mov edi, eax
nop dword [eax]
cmp byte [edi], 0
je 0x1006b361
push 0
mov edx, edi
lea ecx, [esp + 0x2c]
call fcn.100409d0
mov edx, dword [esp + 0x30]
add edi, eax
mov eax, dword [esp + 0x28]
test eax, eax
je 0x1006b361
mov word [esi], ax
add esi, 2
mov eax, dword [ebp + 0xc]
dec eax
lea eax, [edx + eax*2]
cmp esi, eax
jb 0x1006b330
mov dword [esp + 0x20], edi
mov edi, dword [esp + 0x58]
mov eax, dword [esp + 0x20]
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 + 0x38]
mov dword [edi + 4], esi
cmp dword [edi], eax
jne 0x1006b3b1
cmp byte [esp + 0x3f], cl
jne 0x1006b3b1
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 0x1006b40e
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 0x1006b412
mov edx, dword [esp + 0x44]
cmp byte [esp + 0x1f], cl
movzx edx, dl
cmovne edx, dword [esp + 0x50]
mov dword [esp + 0x44], edx
mov edx, dword [esp + 0x34]
test dword [ebp + 0x14], 0x2000
je 0x1006b41f
mov byte [edi + 0x48], 1
test dl, dl
jne 0x1006b440
cmp byte [esp + 0x3e], dl
jne 0x1006b43b
cmp byte [esp + 0x1e], dl
je 0x1006b440
mov eax, dword [esp + 0x14]
cmp byte [eax + 0xfc], dl
je 0x1006b440
mov byte [esp + 0x44], 1
mov esi, dword [esp + 0x14]
mov ecx, dword [esp + 0x38]
cmp dword [esi + 0x1bc8], ecx
je 0x1006b4f5
cmp byte [esp + 0x1b], 0
je 0x1006b4ed
mov edx, dword [esp + 0x64]
call fcn.10043240
call fcn.1004e120
mov ecx, edx
call fcn.1004bd10
mov eax, dword [esi + 0x1bdc]
mov edx, dword [esp + 0x34]
or eax, 3
mov dword [esi + 0x1bdc], eax
test dl, dl
jne 0x1006b491
test byte [ebp + 0x14], 0x80
je 0x1006b49a
or eax, 0xc
mov dword [esi + 0x1bdc], eax
mov eax, dword [esi + 0x1be8]
or dword [esi + 0x1be0], 2
or eax, 0x180
mov ecx, dword [esi + 0x1bec]
mov dword [esi + 0x1be8], eax
mov dword [esi + 0x1bec], ecx
test dl, dl
je 0x1006b4d1
or eax, 0x60
mov dword [esi + 0x1bec], ecx
mov dword [esi + 0x1be8], eax
test dword [ebp + 0x14], 0x440
je 0x1006b4e9
or eax, 1
mov dword [esi + 0x1bec], ecx
mov dword [esi + 0x1be8], eax
mov ecx, dword [esp + 0x38]
cmp dword [esi + 0x1bc8], ecx
jne 0x1006b52a
test edi, edi
jne 0x1006b502
call fcn.10043310
mov ecx, dword [esp + 0x38]
cmp dword [esi + 0x1bc8], ecx
jne 0x1006b52a
cmp byte [esi + 0x3d8], 0
je 0x1006b535
cmp byte [esp + 0x1c], 0
jne 0x1006b535
cmp byte [esp + 0x1b], 0
jne 0x1006b535
mov byte [esp + 0x4b], 1
mov dl, 1
jmp 0x1006b53b
test edi, edi
je 0x1006b539
cmp byte [esp + 0x3d], 0
je 0x1006b539
mov dl, 1
jmp 0x1006b53b
xor dl, dl
mov byte [esp + 0x27], dl
test edi, edi
je 0x1006b556
mov eax, dword [edi + 0x40]
cmp eax, dword [edi + 0x44]
je 0x1006b556
test dl, dl
je 0x1006b556
mov edx, 1
jmp 0x1006b558
xor dl, dl
mov eax, dword [esp + 0x40]
mov dword [esp + 0x84], edx
mov byte [esp + 0x2f], dl
mov byte [esp + 0x3e], 0
mov byte [esp + 0x3f], 0
test al, al
je 0x1006b671
test edi, edi
je 0x1006b671
cmp byte [esp + 0x27], 0
jne 0x1006b590
test dl, dl
je 0x1006b67c
mov ecx, dword [ebp + 0xc]
mov eax, dword [edi + 0x10]
lea esi, [ecx + 1]
cmp esi, eax
jle 0x1006b5ca
test eax, eax
je 0x1006b5b0
cdq
sub eax, edx
lea edx, [edi + 0xc]
mov ecx, eax
sar ecx, 1
add ecx, dword [edx + 4]
jmp 0x1006b5b8
mov ecx, 8
lea edx, [edi + 0xc]
cmp ecx, esi
mov eax, esi
cmovg eax, ecx
mov ecx, edx
push eax
call fcn.10052bd0
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 0x1006b61e
mov edi, eax
cmp byte [edi], 0
je 0x1006b612
push 0
mov edx, edi
lea ecx, [esp + 0x2c]
call fcn.100409d0
mov edx, dword [esp + 0x30]
add edi, eax
mov eax, dword [esp + 0x28]
test eax, eax
je 0x1006b612
mov ecx, dword [ebp + 0xc]
mov word [esi], ax
add esi, 2
lea eax, [edx + ecx*2]
cmp esi, eax
jb 0x1006b5e2
mov dword [esp + 0x20], edi
mov edi, dword [esp + 0x58]
mov eax, dword [esp + 0x20]
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 + 0x2f]
cmp ecx, esi
mov dword [edi + 0x40], ecx
mov ecx, dword [esp + 0x38]
cmovne edx, eax
mov eax, dword [esp + 0x40]
mov dword [edi + 0x44], esi
mov esi, dword [esp + 0x14]
mov dword [esp + 0x84], edx
cmp byte [esp + 0x27], 0
jne 0x1006b684
test dl, dl
jne 0x1006b684
cmp dword [esi + 0x1bc8], ecx
jne 0x1006b695
test al, al
jne 0x1006b695
test edi, edi
je 0x1006b695
cmp byte [edi + 0x30], al
je 0x1006b695
mov al, 1
jmp 0x1006b697
xor al, al
cmp dword [esp + 0x74], 0
mov byte [esp + 0x2f], al
je 0x1006b6b7
test al, al
je 0x1006b6ab
mov eax, dword [edi + 0x20]
jmp 0x1006b6ae
mov eax, dword [ebp + 8]
cmp byte [eax], 0
jne 0x1006b6b7
mov al, 1
jmp 0x1006b6b9
xor al, al
cmp byte [esp + 0xd0], 0
mov byte [esp + 0x1e], al
je 0x1006b755
test al, al
jne 0x1006b755
mov edx, dword [esi + 0x192c]
cmp dword [edx + 0x14], 0x2a
ja 0x1006b6e4
mov esi, dword [edx + 0x2c]
jmp 0x1006b703
mov eax, dword [edx + 0x1c]
mov ecx, 0xffff
movzx eax, word [eax + 0x54]
cmp ax, cx
jne 0x1006b6fa
mov esi, dword [edx + 0x2c]
jmp 0x1006b703
lea ecx, [eax + eax*4]
mov eax, dword [edx + 0x28]
lea esi, [eax + ecx*8]
mov eax, dword [edx + 0x10]
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x14]
add ecx, 0x2dcc
mov dword [ecx + 0x10], eax
mov eax, dword [edx + 0x192c]
mov eax, dword [eax + 0x40]
mov dword [ecx + 0x40], eax
mov eax, dword [edx + 0x192c]
mov eax, dword [eax + 0x44]
mov dword [ecx + 0x44], eax
mov eax, dword [edx + 0x192c]
mov eax, dword [eax + 0x48]
mov dword [ecx + 0x48], eax
mov eax, dword [edx + 0x192c]
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.1004c000
mov esi, dword [esp + 0x14]
mov edx, dword [esp + 0x38]
mov dword [esp + 0x64], 0
cmp dword [esi + 0x1bc8], edx
jne 0x1006bb9b
mov eax, dword [edi + 8]
mov dword [esp + 0x64], 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 + 0xec]
test dl, dl
mov dword [esi + 0x3114], 1
sete al
cmp byte [esp + 0x34], 0
mov byte [esi + 0x1bd5], al
movss xmm7, dword [esi + 0xe4]
subss xmm7, dword [esp + 0xc0]
subss xmm7, dword [esi + 0x1550]
addss xmm7, dword [edi + 0x38]
je 0x1006b7f6
mov eax, dword [esp + 0x78]
movss xmm1, dword [esi + 0xe8]
subss xmm1, dword [eax + 0xd0]
jmp 0x1006b806
movss xmm1, dword [esi + 0x1930]
mulss xmm1, dword [0x10150b98]
cmp byte [esp + 0x44], 0
mov al, byte [esi + 0xb1]
mov byte [esp + 0x57], al
jne 0x1006b96e
mov cl, byte [esp + 0x13]
test cl, cl
je 0x1006b833
test al, al
jne 0x1006b89f
cmp byte [esi + 0x3dd], al
jne 0x1006b96e
cmp byte [esi + 0x3d8], 0
mov al, byte [edi + 0xe6d]
je 0x1006b8e0
test al, al
jne 0x1006b8e0
test cl, cl
je 0x1006b891
cmp byte [edi + 0x53], al
je 0x1006b870
push 0
mov edx, edi
lea ecx, [esp + 0xe4]
call fcn.10069020
movss xmm1, dword [esp + 0xec]
movaps xmm0, xmm7
mov ecx, edi
call fcn.10069370
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
lea ecx, [edi + 0xe6d]
xorps xmm4, xmm4
jmp 0x1006b992
cmp byte [esi + 0x3dd], 0
je 0x1006b833
push 0x20000c
lea edx, [edi + 0x3c]
mov ecx, edi
call fcn.10069770
push 0x60000d
lea edx, [edi + 0x3c]
mov byte [edi + 0xe6c], 1
mov ecx, edi
mov dword [edi + 0xe68], 0xbe99999a
call fcn.10069770
mov byte [edi + 0xe6c], 1
jmp 0x1006b887
lea ecx, [edi + 0xe6d]
test dl, dl
je 0x1006b897
lea ecx, [edi + 0xe6d]
xorps xmm4, xmm4
test al, al
jne 0x1006b992
mov edx, esi
movss xmm0, dword [edx + 0x374]
ucomiss xmm0, xmm4
lahf
test ah, 0x44
jp 0x1006b925
movss xmm0, dword [edx + 0x378]
lea ecx, [edi + 0xe6d]
ucomiss xmm0, xmm4
lahf
test ah, 0x44
jnp 0x1006b990
cmp byte [edi + 0x53], 0
je 0x1006b944
push 0
mov edx, edi
lea ecx, [esp + 0xe4]
call fcn.10069020
movss xmm1, dword [esp + 0xec]
mov eax, dword [edi + 0x40]
cmp eax, dword [edi + 0x44]
jne 0x1006b952
mov eax, dword [edi + 0x3c]
mov dword [edi + 0x40], eax
movaps xmm0, xmm7
mov ecx, edi
call fcn.10069370
mov dword [edi + 0x44], eax
mov dword [edi + 0x3c], eax
mov byte [edi + 0xe6c], 1
jmp 0x1006b887
mov eax, dword [edi + 4]
lea ecx, [edi + 0xe6d]
mov dword [edi + 0x40], 0
xorps xmm4, xmm4
mov dword [edi + 0x44], eax
mov dword [edi + 0x3c], eax
mov byte [edi + 0x52], 0
mov byte [ecx], 1
jmp 0x1006b992
mov esi, edx
cmp byte [ecx], 0
je 0x1006b9a3
cmp byte [esi + 0xec], 0
jne 0x1006b9a3
mov byte [ecx], 0
cmp byte [esi + 0xfc], 0
je 0x1006b9b5
cmp byte [esi + 0xfe], 0
je 0x1006b9c5
cmp byte [esp + 0x57], 0
je 0x1006b9c9
cmp byte [esi + 0xff], 0
je 0x1006b9c9
mov dl, 1
jmp 0x1006b9cb
xor dl, dl
test dword [ebp + 0x14], 0x400
mov byte [esp + 0x1c], dl
je 0x1006badd
mov ecx, dword [0x10159260]
mov eax, dword [ecx + 0x34]
test eax, eax
js 0x1006badd
movss xmm1, dword [ecx + eax*4 + 0x458]
ucomiss xmm1, xmm4
lahf
test ah, 0x44
jnp 0x1006ba60
movss xmm2, dword [ecx + 0x8c]
comiss xmm1, xmm2
jbe 0x1006badd
movss xmm3, dword [ecx + 0x90]
movaps xmm0, xmm1
subss xmm0, dword [ecx + 0x18]
comiss xmm0, xmm1
jb 0x1006ba29
xor eax, eax
jmp 0x1006ba5c
comiss xmm4, xmm3
jb 0x1006ba38
xor eax, eax
comiss xmm2, xmm0
seta al
jmp 0x1006ba5c
comiss xmm2, xmm0
jbe 0x1006ba42
or ecx, 0xffffffff
jmp 0x1006ba4e
subss xmm0, xmm2
divss xmm0, xmm3
cvttss2si ecx, xmm0
subss xmm1, xmm2
divss xmm1, xmm3
cvttss2si eax, xmm1
sub eax, ecx
test eax, eax
jle 0x1006badd
mov eax, dword [esp + 0x40]
test dl, dl
jne 0x1006bae1
cmp byte [esi + 0xfd], dl
jne 0x1006bae1
test al, al
jne 0x1006bae1
mov ecx, dword [esi + 0x1510]
mov eax, dword [esi + 0x1508]
lea edx, [ecx + eax*2]
cmp ecx, edx
jae 0x1006baa0
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
cmp ax, 9
je 0x1006badd
cmp ecx, edx
jb 0x1006ba90
push dword [ebp + 0x1c]
mov edx, dword [ebp + 0x14]
lea ecx, [esp + 0x34]
push dword [ebp + 0x18]
mov dword [esp + 0x38], 9
call fcn.1006a8d0
test al, al
je 0x1006badd
push dword [esp + 0x30]
lea edx, [edi + 0x3c]
mov ecx, edi
call fcn.10069770
mov byte [edi + 0xe6c], 1
mov dword [edi + 0xe68], 0xbe99999a
mov eax, dword [esp + 0x40]
add esi, 0x1508
mov dword [esp + 0x28], esi
cmp dword [esi], 0
jle 0x1006bb97
cmp byte [esp + 0x1c], 0
jne 0x1006bb72
test al, al
jne 0x1006bb72
cmp byte [esp + 0x1d], al
jne 0x1006bb72
mov ecx, dword [esp + 0x14]
xor esi, esi
nop dword [eax + eax]
mov eax, dword [ecx + 0x1510]
movzx eax, word [eax + esi*2]
mov dword [esp + 0x30], eax
cmp eax, 9
jne 0x1006bb2c
cmp byte [ecx + 0xfd], 0
jne 0x1006bb65
push dword [ebp + 0x1c]
mov edx, dword [ebp + 0x14]
lea ecx, [esp + 0x34]
push dword [ebp + 0x18]
call fcn.1006a8d0
test al, al
je 0x1006bb61
push dword [esp + 0x30]
lea edx, [edi + 0x3c]
mov ecx, edi
call fcn.10069770
mov byte [edi + 0xe6c], 1
mov dword [edi + 0xe68], 0xbe99999a
mov ecx, dword [esp + 0x14]
inc esi
cmp esi, dword [ecx + 0x1508]
jl 0x1006bb10
mov esi, dword [esp + 0x28]
mov ecx, dword [esi + 4]
test ecx, ecx
jns 0x1006bb91
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.10052bd0
mov dword [esi], 0
mov esi, dword [esp + 0x14]
mov eax, dword [esp + 0x38]
xor dl, dl
mov byte [esp + 0x13], dl
cmp dword [esi + 0x1bc8], eax
jne 0x1006d7c6
cmp byte [esi + 0x1bd4], dl
jne 0x1006cf64
cmp byte [esp + 0x4b], dl
jne 0x1006cf64
movss xmm0, dword [esp + 0x70]
subss xmm0, dword [esi + 0x1554]
mov ecx, dword [esp + 0x50]
divss xmm0, dword [esi + 0x1930]
cvttss2si eax, xmm0
cmp eax, 1
cmovge ecx, eax
xor eax, eax
mov dword [edi + 0x4c], ecx
cmp byte [esi + 0xfd], al
mov dword [esp + 0x50], ecx
mov ecx, 0x400000
cmovne eax, ecx
mov cl, byte [esi + 0xb1]
mov dword [esp + 0x4c], eax
mov byte [esp + 0x83], cl
test cl, cl
je 0x1006bc29
mov edx, dword [esi + 0x37c]
cmp edx, 0xa
jne 0x1006bc29
mov byte [esp + 0x3d], 1
jmp 0x1006bc38
mov edx, dword [esi + 0x37c]
mov byte [esp + 0x3d], 0
test cl, cl
je 0x1006bc62
cmp byte [esi + 0xff], 0
mov al, byte [esi + 0xfe]
mov byte [esp + 0x1b], al
je 0x1006bc6d
cmp byte [esi + 0xfc], 0
jne 0x1006bc6d
test al, al
jne 0x1006bc6d
mov byte [esp + 0x1f], 1
cmp edx, 8
jmp 0x1006bc8b
mov al, byte [esi + 0xfc]
mov byte [esp + 0x3d], 0
mov byte [esp + 0x1b], al
mov byte [esp + 0x1f], 0
test cl, cl
je 0x1006bc7f
cmp edx, 8
jmp 0x1006bc8b
cmp edx, 1
mov byte [esp + 0x1b], al
mov byte [esp + 0x1f], 0
mov esi, dword [0x10159260]
sete cl
mov byte [esp + 0x1d], cl
xorps xmm4, xmm4
test cl, cl
je 0x1006bd24
mov eax, dword [esi + 0x80]
test eax, eax
js 0x1006bd24
movss xmm1, dword [esi + eax*4 + 0x458]
ucomiss xmm1, xmm4
lahf
test ah, 0x44
jnp 0x1006bda7
movss xmm2, dword [esi + 0x8c]
comiss xmm1, xmm2
jbe 0x1006bd24
movss xmm3, dword [esi + 0x90]
movaps xmm0, xmm1
subss xmm0, dword [esi + 0x18]
comiss xmm0, xmm1
jb 0x1006bce9
xor eax, eax
jmp 0x1006bd1c
comiss xmm4, xmm3
jb 0x1006bcf8
xor eax, eax
comiss xmm2, xmm0
seta al
jmp 0x1006bd1c
comiss xmm2, xmm0
jbe 0x1006bd02
or ecx, 0xffffffff
jmp 0x1006bd0e
subss xmm0, xmm2
divss xmm0, xmm3
cvttss2si ecx, xmm0
subss xmm1, xmm2
divss xmm1, xmm3
cvttss2si eax, xmm1
sub eax, ecx
test eax, eax
jg 0x1006bda7
cmp edx, 2
jne 0x1006bdce
mov eax, dword [esi + 0x5c]
test eax, eax
js 0x1006bdce
movss xmm1, dword [esi + eax*4 + 0x458]
ucomiss xmm1, xmm4
lahf
test ah, 0x44
jnp 0x1006bda7
movss xmm2, dword [esi + 0x8c]
comiss xmm1, xmm2
jbe 0x1006bdce
movss xmm3, dword [esi + 0x90]
movaps xmm0, xmm1
subss xmm0, dword [esi + 0x18]
comiss xmm0, xmm1
jb 0x1006bd70
xor eax, eax
jmp 0x1006bda3
comiss xmm4, xmm3
jb 0x1006bd7f
xor eax, eax
comiss xmm2, xmm0
seta al
jmp 0x1006bda3
comiss xmm2, xmm0
jbe 0x1006bd89
or ecx, 0xffffffff
jmp 0x1006bd95
subss xmm0, xmm2
divss xmm0, xmm3
cvttss2si ecx, xmm0
subss xmm1, xmm2
divss xmm1, xmm3
cvttss2si eax, xmm1
sub eax, ecx
test eax, eax
jle 0x1006bdce
cmp byte [esp + 0x40], 0
jne 0x1006bdce
cmp byte [esp + 0xd0], 0
jne 0x1006bdce
cmp byte [esp + 0x34], 0
je 0x1006bdc7
mov eax, dword [edi + 0x40]
cmp eax, dword [edi + 0x44]
je 0x1006bdce
mov byte [esp + 0x1c], 1
jmp 0x1006bdd3
mov byte [esp + 0x1c], 0
cmp byte [esp + 0x1d], 0
je 0x1006be58
mov eax, dword [esi + 0x78]
test eax, eax
js 0x1006be58
movss xmm1, dword [esi + eax*4 + 0x458]
ucomiss xmm1, xmm4
lahf
test ah, 0x44
jnp 0x1006bedb
movss xmm2, dword [esi + 0x8c]
comiss xmm1, xmm2
jbe 0x1006be58
movss xmm3, dword [esi + 0x90]
movaps xmm0, xmm1
subss xmm0, dword [esi + 0x18]
comiss xmm0, xmm1
jb 0x1006be1d
xor eax, eax
jmp 0x1006be50
comiss xmm4, xmm3
jb 0x1006be2c
xor eax, eax
comiss xmm2, xmm0
seta al
jmp 0x1006be50
comiss xmm2, xmm0
jbe 0x1006be36
or ecx, 0xffffffff
jmp 0x1006be42
subss xmm0, xmm2
divss xmm0, xmm3
cvttss2si ecx, xmm0
subss xmm1, xmm2
divss xmm1, xmm3
cvttss2si eax, xmm1
sub eax, ecx
test eax, eax
jg 0x1006bedb
cmp edx, 1
jne 0x1006befe
mov eax, dword [esi + 0x58]
test eax, eax
js 0x1006befe
movss xmm1, dword [esi + eax*4 + 0x458]
ucomiss xmm1, xmm4
lahf
test ah, 0x44
jnp 0x1006bedb
movss xmm2, dword [esi + 0x8c]
comiss xmm1, xmm2
jbe 0x1006befe
movss xmm3, dword [esi + 0x90]
movaps xmm0, xmm1
subss xmm0, dword [esi + 0x18]
comiss xmm0, xmm1
jb 0x1006bea4
xor eax, eax
jmp 0x1006bed7
comiss xmm4, xmm3
jb 0x1006beb3
xor eax, eax
comiss xmm2, xmm0
seta al
jmp 0x1006bed7
comiss xmm2, xmm0
jbe 0x1006bebd
or ecx, 0xffffffff
jmp 0x1006bec9
subss xmm0, xmm2
divss xmm0, xmm3
cvttss2si ecx, xmm0
subss xmm1, xmm2
divss xmm1, xmm3
cvttss2si eax, xmm1
sub eax, ecx
test eax, eax
jle 0x1006befe
cmp byte [esp + 0xd0], 0
jne 0x1006befe
cmp byte [esp + 0x34], 0
je 0x1006bef4
mov eax, dword [edi + 0x40]
cmp eax, dword [edi + 0x44]
je 0x1006befe
mov byte [esp + 0x82], 1
jmp 0x1006bf06
mov byte [esp + 0x82], 0
cmp byte [esp + 0x1d], 0
je 0x1006bf87
mov eax, dword [esi + 0x7c]
test eax, eax
js 0x1006bf87
movss xmm1, dword [esi + eax*4 + 0x458]
ucomiss xmm1, xmm4
lahf
test ah, 0x44
jnp 0x1006c006
movss xmm2, dword [esi + 0x8c]
comiss xmm1, xmm2
jbe 0x1006bf87
movss xmm3, dword [esi + 0x90]
movaps xmm0, xmm1
subss xmm0, dword [esi + 0x18]
comiss xmm0, xmm1
jb 0x1006bf50
xor eax, eax
jmp 0x1006bf83
comiss xmm4, xmm3
jb 0x1006bf5f
xor eax, eax
comiss xmm2, xmm0
seta al
jmp 0x1006bf83
comiss xmm2, xmm0
jbe 0x1006bf69
or ecx, 0xffffffff
jmp 0x1006bf75
subss xmm0, xmm2
divss xmm0, xmm3
cvttss2si ecx, xmm0
subss xmm1, xmm2
divss xmm1, xmm3
cvttss2si eax, xmm1
sub eax, ecx
test eax, eax
jg 0x1006c006
cmp edx, 2
jne 0x1006c015
mov eax, dword [esi + 0x58]
test eax, eax
js 0x1006c015
movss xmm1, dword [esi + eax*4 + 0x458]
ucomiss xmm1, xmm4
lahf
test ah, 0x44
jnp 0x1006c006
movss xmm2, dword [esi + 0x8c]
comiss xmm1, xmm2
jbe 0x1006c015
movss xmm3, dword [esi + 0x90]
movaps xmm0, xmm1
subss xmm0, dword [esi + 0x18]
comiss xmm0, xmm1
jb 0x1006bfcf
xor eax, eax
jmp 0x1006c002
comiss xmm4, xmm3
jb 0x1006bfde
xor eax, eax
comiss xmm2, xmm0
seta al
jmp 0x1006c002
comiss xmm2, xmm0
jbe 0x1006bfe8
or ecx, 0xffffffff
jmp 0x1006bff4
subss xmm0, xmm2
divss xmm0, xmm3
cvttss2si ecx, xmm0
subss xmm1, xmm2
divss xmm1, xmm3
cvttss2si eax, xmm1
sub eax, ecx
test eax, eax
jle 0x1006c015
mov edx, dword [esp + 0x40]
test dl, dl
jne 0x1006c019
mov byte [esp + 0x57], 1
jmp 0x1006c01e
mov edx, dword [esp + 0x40]
mov byte [esp + 0x57], 0
mov cl, byte [esp + 0x1d]
test cl, cl
je 0x1006c0b9
mov eax, dword [esi + 0x88]
test eax, eax
js 0x1006c0b9
movss xmm1, dword [esi + eax*4 + 0x458]
ucomiss xmm1, xmm4
lahf
test ah, 0x44
jnp 0x1006c0ab
movss xmm2, dword [esi + 0x8c]
comiss xmm1, xmm2
jbe 0x1006c0b9
movss xmm3, dword [esi + 0x90]
movaps xmm0, xmm1
subss xmm0, dword [esi + 0x18]
comiss xmm0, xmm1
jb 0x1006c070
xor eax, eax
jmp 0x1006c0a7
comiss xmm4, xmm3
jb 0x1006c07f
xor eax, eax
comiss xmm2, xmm0
seta al
jmp 0x1006c0a7
comiss xmm2, xmm0
jbe 0x1006c089
or ecx, 0xffffffff
jmp 0x1006c095
subss xmm0, xmm2
divss xmm0, xmm3
cvttss2si ecx, xmm0
subss xmm1, xmm2
divss xmm1, xmm3
cvttss2si eax, xmm1
sub eax, ecx
mov cl, byte [esp + 0x1d]
test eax, eax
jle 0x1006c0b9
test dl, dl
jne 0x1006c0b9
cmp byte [esp + 0x60], dl
je 0x1006c0b9
mov dh, 1
jmp 0x1006c0c3
xor dh, dh
test cl, cl
je 0x1006c144
mov eax, dword [esi + 0x84]
test eax, eax
js 0x1006c144
movss xmm1, dword [esi + eax*4 + 0x458]
ucomiss xmm1, xmm4
lahf
test ah, 0x44
jnp 0x1006c1cc
movss xmm2, dword [esi + 0x8c]
comiss xmm1, xmm2
jbe 0x1006c144
movss xmm3, dword [esi + 0x90]
movaps xmm0, xmm1
subss xmm0, dword [esi + 0x18]
comiss xmm0, xmm1
jb 0x1006c109
xor eax, eax
jmp 0x1006c13c
comiss xmm4, xmm3
jb 0x1006c118
xor eax, eax
comiss xmm2, xmm0
seta al
jmp 0x1006c13c
comiss xmm2, xmm0
jbe 0x1006c122
or ecx, 0xffffffff
jmp 0x1006c12e
subss xmm0, xmm2
divss xmm0, xmm3
cvttss2si ecx, xmm0
subss xmm1, xmm2
divss xmm1, xmm3
cvttss2si eax, xmm1
sub eax, ecx
test eax, eax
jg 0x1006c1cc
cmp byte [esp + 0x3d], 0
je 0x1006c1de
mov eax, dword [esi + 0x88]
test eax, eax
js 0x1006c1de
movss xmm1, dword [esi + eax*4 + 0x458]
ucomiss xmm1, xmm4
lahf
test ah, 0x44
jnp 0x1006c1cc
movss xmm2, dword [esi + 0x8c]
comiss xmm1, xmm2
jbe 0x1006c1de
movss xmm3, dword [esi + 0x90]
movaps xmm0, xmm1
subss xmm0, dword [esi + 0x18]
comiss xmm0, xmm1
jb 0x1006c195
xor eax, eax
jmp 0x1006c1c8
comiss xmm4, xmm3
jb 0x1006c1a4
xor eax, eax
comiss xmm2, xmm0
seta al
jmp 0x1006c1c8
comiss xmm2, xmm0
jbe 0x1006c1ae
or ecx, 0xffffffff
jmp 0x1006c1ba
subss xmm0, xmm2
divss xmm0, xmm3
cvttss2si ecx, xmm0
subss xmm1, xmm2
divss xmm1, xmm3
cvttss2si eax, xmm1
sub eax, ecx
test eax, eax
jle 0x1006c1de
cmp byte [esp + 0x40], 0
jne 0x1006c1de
cmp byte [esp + 0x60], 0
je 0x1006c1de
mov dl, 1
jmp 0x1006c1e0
xor dl, dl
mov eax, dword [esi + 0x38]
test eax, eax
js 0x1006c2a4
movss xmm1, dword [esi + eax*4 + 0x458]
ucomiss xmm1, xmm4
lahf
test ah, 0x44
jnp 0x1006c25e
movss xmm2, dword [esi + 0x8c]
comiss xmm1, xmm2
jbe 0x1006c2a4
movss xmm3, dword [esi + 0x90]
movaps xmm0, xmm1
subss xmm0, dword [esi + 0x18]
comiss xmm0, xmm1
jb 0x1006c227
xor eax, eax
jmp 0x1006c25a
comiss xmm4, xmm3
jb 0x1006c236
xor eax, eax
comiss xmm2, xmm0
seta al
jmp 0x1006c25a
comiss xmm2, xmm0
jbe 0x1006c240
or ecx, 0xffffffff
jmp 0x1006c24c
subss xmm0, xmm2
divss xmm0, xmm3
cvttss2si ecx, xmm0
subss xmm1, xmm2
divss xmm1, xmm3
cvttss2si eax, xmm1
sub eax, ecx
test eax, eax
jle 0x1006c2a4
cmp byte [esp + 0x1f], 0
je 0x1006c27e
mov eax, 0x200004
lea edx, [edi + 0x3c]
or eax, dword [esp + 0x4c]
mov ecx, edi
push eax
call fcn.10069770
jmp 0x1006cf2b
mov eax, 0x200000
mov ecx, 0x20000c
cmp byte [esp + 0x1b], 0
lea edx, [edi + 0x3c]
cmovne eax, ecx
mov ecx, edi
or eax, dword [esp + 0x4c]
push eax
call fcn.10069770
jmp 0x1006cf2b
mov eax, dword [esi + 0x3c]
test eax, eax
js 0x1006c34b
movss xmm1, dword [esi + eax*4 + 0x458]
ucomiss xmm1, xmm4
lahf
test ah, 0x44
jnp 0x1006c31e
movss xmm2, dword [esi + 0x8c]
comiss xmm1, xmm2
jbe 0x1006c34b
movss xmm3, dword [esi + 0x90]
movaps xmm0, xmm1
subss xmm0, dword [esi + 0x18]
comiss xmm0, xmm1
jb 0x1006c2e7
xor eax, eax
jmp 0x1006c31a
comiss xmm4, xmm3
jb 0x1006c2f6
xor eax, eax
comiss xmm2, xmm0
seta al
jmp 0x1006c31a
comiss xmm2, xmm0
jbe 0x1006c300
or ecx, 0xffffffff
jmp 0x1006c30c
subss xmm0, xmm2
divss xmm0, xmm3
cvttss2si ecx, xmm0
subss xmm1, xmm2
divss xmm1, xmm3
cvttss2si eax, xmm1
sub eax, ecx
test eax, eax
jle 0x1006c34b
cmp byte [esp + 0x1f], 0
je 0x1006c33e
mov eax, 0x200005
lea edx, [edi + 0x3c]
or eax, dword [esp + 0x4c]
mov ecx, edi
push eax
call fcn.10069770
jmp 0x1006cf2b
mov eax, 0x200001
lea ecx, [eax + 0xc]
jmp 0x1006c288
mov eax, dword [esi + 0x40]
test eax, eax
js 0x1006c43b
movss xmm1, dword [esi + eax*4 + 0x458]
ucomiss xmm1, xmm4
lahf
test ah, 0x44
jnp 0x1006c3c9
movss xmm2, dword [esi + 0x8c]
comiss xmm1, xmm2
jbe 0x1006c43b
movss xmm3, dword [esi + 0x90]
movaps xmm0, xmm1
subss xmm0, dword [esi + 0x18]
comiss xmm0, xmm1
jb 0x1006c392
xor eax, eax
jmp 0x1006c3c5
comiss xmm4, xmm3
jb 0x1006c3a1
xor eax, eax
comiss xmm2, xmm0
seta al
jmp 0x1006c3c5
comiss xmm2, xmm0
jbe 0x1006c3ab
or ecx, 0xffffffff
jmp 0x1006c3b7
subss xmm0, xmm2
divss xmm0, xmm3
cvttss2si ecx, xmm0
subss xmm1, xmm2
divss xmm1, xmm3
cvttss2si eax, xmm1
sub eax, ecx
test eax, eax
jle 0x1006c43b
cmp byte [esp + 0x34], 0
je 0x1006c43b
mov esi, dword [esp + 0x14]
cmp byte [esi + 0xfc], 0
je 0x1006c40a
mov ecx, dword [esp + 0x78]
movss xmm0, dword [ecx + 0x5c]
subss xmm0, dword [esi + 0x1930]
mov dword [ecx + 0x74], 0
mov dword [ecx + 0x7c], 0
maxss xmm0, xmm4
movss dword [ecx + 0x6c], xmm0
jmp 0x1006cf40
movzx eax, byte [esp + 0x1f]
lea eax, [eax*4 + 0x200002]
or eax, dword [esp + 0x4c]
push eax
lea edx, [edi + 0x3c]
mov ecx, edi
call fcn.10069770
mov byte [edi + 0xe6c], 1
mov dword [edi + 0xe68], 0xbe99999a
jmp 0x1006cf40
mov eax, dword [esi + 0x44]
test eax, eax
js 0x1006c521
movss xmm1, dword [esi + eax*4 + 0x458]
ucomiss xmm1, xmm4
lahf
test ah, 0x44
jnp 0x1006c4b9
movss xmm2, dword [esi + 0x8c]
comiss xmm1, xmm2
jbe 0x1006c521
movss xmm3, dword [esi + 0x90]
movaps xmm0, xmm1
subss xmm0, dword [esi + 0x18]
comiss xmm0, xmm1
jb 0x1006c482
xor eax, eax
jmp 0x1006c4b5
comiss xmm4, xmm3
jb 0x1006c491
xor eax, eax
comiss xmm2, xmm0
seta al
jmp 0x1006c4b5
comiss xmm2, xmm0
jbe 0x1006c49b
or ecx, 0xffffffff
jmp 0x1006c4a7
subss xmm0, xmm2
divss xmm0, xmm3
cvttss2si ecx, xmm0
subss xmm1, xmm2
divss xmm1, xmm3
cvttss2si eax, xmm1
sub eax, ecx
test eax, eax
jle 0x1006c521
cmp byte [esp + 0x34], 0
je 0x1006c521
mov eax, dword [esp + 0x14]
cmp byte [eax + 0xfc], 0
je 0x1006c501
mov ecx, dword [esp + 0x78]
movss xmm0, dword [ecx + 0x5c]
addss xmm0, dword [eax + 0x1930]
mov eax, dword [esi + 0x1b94]
minss xmm0, dword [eax + 0x64]
mov dword [ecx + 0x74], 0
mov dword [ecx + 0x7c], 0
movss dword [ecx + 0x6c], xmm0
jmp 0x1006cf3c
movzx eax, byte [esp + 0x1f]
lea edx, [edi + 0x3c]
mov ecx, edi
lea eax, [eax*4 + 0x200003]
or eax, dword [esp + 0x4c]
push eax
call fcn.10069770
jmp 0x1006cf2b
mov eax, dword [esi + 0x48]
test eax, eax
js 0x1006c5fc
movss xmm1, dword [esi + eax*4 + 0x458]
ucomiss xmm1, xmm4
lahf
test ah, 0x44
jnp 0x1006c59f
movss xmm2, dword [esi + 0x8c]
comiss xmm1, xmm2
jbe 0x1006c5fc
movss xmm3, dword [esi + 0x90]
movaps xmm0, xmm1
subss xmm0, dword [esi + 0x18]
comiss xmm0, xmm1
jb 0x1006c568
xor eax, eax
jmp 0x1006c59b
comiss xmm4, xmm3
jb 0x1006c577
xor eax, eax
comiss xmm2, xmm0
seta al
jmp 0x1006c59b
comiss xmm2, xmm0
jbe 0x1006c581
or ecx, 0xffffffff
jmp 0x1006c58d
subss xmm0, xmm2
divss xmm0, xmm3
cvttss2si ecx, xmm0
subss xmm1, xmm2
divss xmm1, xmm3
cvttss2si eax, xmm1
sub eax, ecx
test eax, eax
jle 0x1006c5fc
cmp byte [esp + 0x34], 0
je 0x1006c5fc
mov ecx, dword [esp + 0x4c]
lea edx, [edi + 0x3c]
or ecx, 0x20000e
push ecx
mov ecx, edi
call fcn.10069770
movd xmm0, dword [esp + 0x50]
mov esi, dword [esp + 0x14]
movss xmm1, dword [esp + 0x8c]
cvtdq2ps xmm0, xmm0
mov byte [edi + 0xe6c], 1
mov dword [edi + 0xe68], 0xbe99999a
mulss xmm0, dword [esi + 0x1930]
subss xmm1, xmm0
movss dword [esp + 0x8c], xmm1
jmp 0x1006cf40
mov eax, dword [esi + 0x4c]
test eax, eax
js 0x1006c6d3
movss xmm1, dword [esi + eax*4 + 0x458]
ucomiss xmm1, xmm4
lahf
test ah, 0x44
jnp 0x1006c67a
movss xmm2, dword [esi + 0x8c]
comiss xmm1, xmm2
jbe 0x1006c6d3
movss xmm3, dword [esi + 0x90]
movaps xmm0, xmm1
subss xmm0, dword [esi + 0x18]
comiss xmm0, xmm1
jb 0x1006c643
xor eax, eax
jmp 0x1006c676
comiss xmm4, xmm3
jb 0x1006c652
xor eax, eax
comiss xmm2, xmm0
seta al
jmp 0x1006c676
comiss xmm2, xmm0
jbe 0x1006c65c
or ecx, 0xffffffff
jmp 0x1006c668
subss xmm0, xmm2
divss xmm0, xmm3
cvttss2si ecx, xmm0
subss xmm1, xmm2
divss xmm1, xmm3
cvttss2si eax, xmm1
sub eax, ecx
test eax, eax
jle 0x1006c6d3
cmp byte [esp + 0x34], 0
je 0x1006c6d3
mov ecx, dword [esp + 0x4c]
lea edx, [edi + 0x3c]
or ecx, 0x20000f
push ecx
mov ecx, edi
call fcn.10069770
movd xmm0, dword [esp + 0x50]
mov esi, dword [esp + 0x14]
cvtdq2ps xmm0, xmm0
mov byte [edi + 0xe6c], 1
mov dword [edi + 0xe68], 0xbe99999a
mulss xmm0, dword [esi + 0x1930]
addss xmm0, dword [esp + 0x8c]
movss dword [esp + 0x8c], xmm0
jmp 0x1006cf40
mov eax, dword [esi + 0x50]
test eax, eax
js 0x1006c772
movss xmm1, dword [esi + eax*4 + 0x458]
ucomiss xmm1, xmm4
lahf
test ah, 0x44
jnp 0x1006c74d
movss xmm2, dword [esi + 0x8c]
comiss xmm1, xmm2
jbe 0x1006c772
movss xmm3, dword [esi + 0x90]
movaps xmm0, xmm1
subss xmm0, dword [esi + 0x18]
comiss xmm0, xmm1
jb 0x1006c716
xor eax, eax
jmp 0x1006c749
comiss xmm4, xmm3
jb 0x1006c725
xor eax, eax
comiss xmm2, xmm0
seta al
jmp 0x1006c749
comiss xmm2, xmm0
jbe 0x1006c72f
or ecx, 0xffffffff
jmp 0x1006c73b
subss xmm0, xmm2
divss xmm0, xmm3
cvttss2si ecx, xmm0
subss xmm1, xmm2
divss xmm1, xmm3
cvttss2si eax, xmm1
sub eax, ecx
test eax, eax
jle 0x1006c772
mov ecx, dword [esp + 0x4c]
mov eax, ecx
mov esi, dword [esp + 0x14]
or eax, 0x200006
or ecx, 0x200004
cmp byte [esi + 0xfc], 0
cmovne ecx, eax
push ecx
jmp 0x1006c41b
mov eax, dword [esi + 0x54]
test eax, eax
js 0x1006c811
movss xmm1, dword [esi + eax*4 + 0x458]
ucomiss xmm1, xmm4
lahf
test ah, 0x44
jnp 0x1006c7ec
movss xmm2, dword [esi + 0x8c]
comiss xmm1, xmm2
jbe 0x1006c811
movss xmm3, dword [esi + 0x90]
movaps xmm0, xmm1
subss xmm0, dword [esi + 0x18]
comiss xmm0, xmm1
jb 0x1006c7b5
xor eax, eax
jmp 0x1006c7e8
comiss xmm4, xmm3
jb 0x1006c7c4
xor eax, eax
comiss xmm2, xmm0
seta al
jmp 0x1006c7e8
comiss xmm2, xmm0
jbe 0x1006c7ce
or ecx, 0xffffffff
jmp 0x1006c7da
subss xmm0, xmm2
divss xmm0, xmm3
cvttss2si ecx, xmm0
subss xmm1, xmm2
divss xmm1, xmm3
cvttss2si eax, xmm1
sub eax, ecx
test eax, eax
jle 0x1006c811
mov ecx, dword [esp + 0x4c]
mov eax, ecx
mov esi, dword [esp + 0x14]
or eax, 0x200007
or ecx, 0x200005
cmp byte [esi + 0xfc], 0
cmovne ecx, eax
push ecx
jmp 0x1006c41b
mov eax, dword [esi + 0x5c]
test eax, eax
js 0x1006c8ac
movss xmm1, dword [esi + eax*4 + 0x458]
ucomiss xmm1, xmm4
lahf
test ah, 0x44
jnp 0x1006c88b
movss xmm2, dword [esi + 0x8c]
comiss xmm1, xmm2
jbe 0x1006c8ac
movss xmm3, dword [esi + 0x90]
movaps xmm0, xmm1
subss xmm0, dword [esi + 0x18]
comiss xmm0, xmm1
jb 0x1006c854
xor eax, eax
jmp 0x1006c887
comiss xmm4, xmm3
jb 0x1006c863
xor eax, eax
comiss xmm2, xmm0
seta al
jmp 0x1006c887
comiss xmm2, xmm0
jbe 0x1006c86d
or ecx, 0xffffffff
jmp 0x1006c879
subss xmm0, xmm2
divss xmm0, xmm3
cvttss2si ecx, xmm0
subss xmm1, xmm2
divss xmm1, xmm3
cvttss2si eax, xmm1
sub eax, ecx
test eax, eax
jle 0x1006c8ac
cmp byte [esp + 0x40], 0
jne 0x1006c8ac
mov ecx, dword [esp + 0x4c]
lea edx, [edi + 0x3c]
or ecx, 0x200008
push ecx
mov ecx, edi
call fcn.10069770
jmp 0x1006cf2b
mov eax, dword [esi + 0x60]
test eax, eax
js 0x1006c9d5
movss xmm1, dword [esi + eax*4 + 0x458]
ucomiss xmm1, xmm4
lahf
test ah, 0x44
jnp 0x1006c92e
movss xmm2, dword [esi + 0x8c]
comiss xmm1, xmm2
jbe 0x1006c9d5
movss xmm3, dword [esi + 0x90]
movaps xmm0, xmm1
subss xmm0, dword [esi + 0x18]
comiss xmm0, xmm1
jb 0x1006c8f3
xor eax, eax
jmp 0x1006c926
comiss xmm4, xmm3
jb 0x1006c902
xor eax, eax
comiss xmm2, xmm0
seta al
jmp 0x1006c926
comiss xmm2, xmm0
jbe 0x1006c90c
or ecx, 0xffffffff
jmp 0x1006c918
subss xmm0, xmm2
divss xmm0, xmm3
cvttss2si ecx, xmm0
subss xmm1, xmm2
divss xmm1, xmm3
cvttss2si eax, xmm1
sub eax, ecx
test eax, eax
jle 0x1006c9d5
cmp byte [esp + 0x40], 0
jne 0x1006c9d5
mov eax, dword [edi + 0x40]
cmp eax, dword [edi + 0x44]
jne 0x1006c968
cmp byte [esp + 0x1b], 0
je 0x1006c97c
push 0x60000c
lea edx, [edi + 0x3c]
mov ecx, edi
call fcn.10069770
mov byte [edi + 0xe6c], 1
mov dword [edi + 0xe68], 0xbe99999a
mov esi, dword [esp + 0x14]
mov ecx, dword [esp + 0x4c]
or ecx, 0x200009
push ecx
jmp 0x1006c41b
cmp byte [esp + 0x83], 0
je 0x1006c968
mov esi, dword [esp + 0x14]
cmp byte [esi + 0xff], 0
je 0x1006c96c
cmp byte [esi + 0xfe], 0
jne 0x1006c96c
cmp byte [esi + 0xfc], 0
jne 0x1006c96c
push 0x600004
lea edx, [edi + 0x3c]
mov ecx, edi
call fcn.10069770
mov ecx, dword [esp + 0x4c]
or ecx, 0x200009
mov byte [edi + 0xe6c], 1
mov dword [edi + 0xe68], 0xbe99999a
push ecx
jmp 0x1006c41b
mov eax, dword [esi + 0x68]
test eax, eax
js 0x1006ca4f
movss xmm1, dword [esi + eax*4 + 0x458]
ucomiss xmm1, xmm4
lahf
test ah, 0x44
jnp 0x1006cacd
movss xmm2, dword [esi + 0x8c]
comiss xmm1, xmm2
jbe 0x1006ca4f
movss xmm3, dword [esi + 0x90]
movaps xmm0, xmm1
subss xmm0, dword [esi + 0x18]
comiss xmm0, xmm1
jb 0x1006ca18
xor eax, eax
jmp 0x1006ca4b
comiss xmm4, xmm3
jb 0x1006ca27
xor eax, eax
comiss xmm2, xmm0
seta al
jmp 0x1006ca4b
comiss xmm2, xmm0
jbe 0x1006ca31
or ecx, 0xffffffff
jmp 0x1006ca3d
subss xmm0, xmm2
divss xmm0, xmm3
cvttss2si ecx, xmm0
subss xmm1, xmm2
divss xmm1, xmm3
cvttss2si eax, xmm1
sub eax, ecx
test eax, eax
jg 0x1006cacd
mov eax, dword [esi + 0x70]
test eax, eax
js 0x1006cb36
movss xmm1, dword [esi + eax*4 + 0x458]
ucomiss xmm1, xmm4
lahf
test ah, 0x44
jnp 0x1006cacd
movss xmm2, dword [esi + 0x8c]
comiss xmm1, xmm2
jbe 0x1006cb36
movss xmm3, dword [esi + 0x90]
movaps xmm0, xmm1
subss xmm0, dword [esi + 0x18]
comiss xmm0, xmm1
jb 0x1006ca96
xor eax, eax
jmp 0x1006cac9
comiss xmm4, xmm3
jb 0x1006caa5
xor eax, eax
comiss xmm2, xmm0
seta al
jmp 0x1006cac9
comiss xmm2, xmm0
jbe 0x1006caaf
or ecx, 0xffffffff
jmp 0x1006cabb
subss xmm0, xmm2
divss xmm0, xmm3
cvttss2si ecx, xmm0
subss xmm1, xmm2
divss xmm1, xmm3
cvttss2si eax, xmm1
sub eax, ecx
test eax, eax
jle 0x1006cb36
mov edx, dword [ebp + 0x14]
mov eax, edx
mov esi, dword [esp + 0x14]
shr eax, 0xb
and al, 1
cmp byte [esp + 0x34], 0
je 0x1006caf0
mov cl, byte [esi + 0xfc]
test al, al
je 0x1006caff
test cl, cl
jne 0x1006cb03
mov byte [esp + 0x4b], 1
mov byte [esp + 0x3f], 1
jmp 0x1006cf40
test cl, cl
jne 0x1006caf0
cmp byte [esp + 0x40], 0
jne 0x1006cf40
push dword [ebp + 0x1c]
lea ecx, [esp + 0x34]
mov dword [esp + 0x34], 0xa
push dword [ebp + 0x18]
call fcn.1006a8d0
test al, al
je 0x1006cf40
push dword [esp + 0x30]
jmp 0x1006c41b
mov eax, dword [esi + 0x6c]
test eax, eax
js 0x1006cbbb
movss xmm1, dword [esi + eax*4 + 0x458]
ucomiss xmm1, xmm4
lahf
test ah, 0x44
jnp 0x1006cbac
movss xmm2, dword [esi + 0x8c]
comiss xmm1, xmm2
jbe 0x1006cbbb
movss xmm3, dword [esi + 0x90]
movaps xmm0, xmm1
subss xmm0, dword [esi + 0x18]
comiss xmm0, xmm1
jb 0x1006cb75
xor eax, eax
jmp 0x1006cba8
comiss xmm4, xmm3
jb 0x1006cb84
xor eax, eax
comiss xmm2, xmm0
seta al
jmp 0x1006cba8
comiss xmm2, xmm0
jbe 0x1006cb8e
or ecx, 0xffffffff
jmp 0x1006cb9a
subss xmm0, xmm2
divss xmm0, xmm3
cvttss2si ecx, xmm0
subss xmm1, xmm2
divss xmm1, xmm3
cvttss2si eax, xmm1
sub eax, ecx
test eax, eax
jle 0x1006cbbb
mov esi, dword [esp + 0x14]
mov dl, 1
mov byte [esp + 0x4b], dl
jmp 0x1006cf44
test dh, dh
jne 0x1006cf0c
test dl, dl
jne 0x1006cf0c
cmp byte [esp + 0x1d], dl
je 0x1006cc68
mov eax, dword [esi + 0x74]
test eax, eax
js 0x1006cc68
movss xmm1, dword [esi + eax*4 + 0x458]
ucomiss xmm1, xmm4
lahf
test ah, 0x44
jnp 0x1006cc4f
movss xmm2, dword [esi + 0x8c]
comiss xmm1, xmm2
jbe 0x1006cc68
movss xmm3, dword [esi + 0x90]
movaps xmm0, xmm1
subss xmm0, dword [esi + 0x18]
comiss xmm0, xmm1
jb 0x1006cc18
xor eax, eax
jmp 0x1006cc4b
comiss xmm4, xmm3
jb 0x1006cc27
xor eax, eax
comiss xmm2, xmm0
seta al
jmp 0x1006cc4b
comiss xmm2, xmm0
jbe 0x1006cc31
or ecx, 0xffffffff
jmp 0x1006cc3d
subss xmm0, xmm2
divss xmm0, xmm3
cvttss2si ecx, xmm0
subss xmm1, xmm2
divss xmm1, xmm3
cvttss2si eax, xmm1
sub eax, ecx
test eax, eax
jle 0x1006cc68
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
jmp 0x1006cf35
mov al, byte [esp + 0x1c]
test al, al
jne 0x1006ce09
cmp byte [esp + 0x82], al
jne 0x1006ce09
cmp byte [esp + 0x57], al
je 0x1006cf3c
mov eax, dword [esi + 0xd0]
test eax, eax
je 0x1006ccb1
mov ecx, dword [esi + 0xd8]
call eax
mov dword [esp + 0x30], eax
test eax, eax
je 0x1006cf3c
mov esi, dword [0x10159260]
jmp 0x1006ccba
mov eax, 0x10136c92
mov dword [esp + 0x30], eax
mov ecx, eax
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1006ccc0
sub ecx, edx
test esi, esi
je 0x1006ccd3
inc dword [esi + 0x370]
lea eax, [ecx*2 + 2]
push eax
call fcn.10105fb5
mov esi, dword [esp + 0x34]
mov ecx, eax
xor eax, eax
mov dword [esp + 0x60], ecx
add esp, 4
mov dword [esp + 0x44], eax
cmp byte [esi], al
je 0x1006cd4f
xor edi, edi
nop dword [eax]
push 0
mov edx, esi
lea ecx, [esp + 0x24]
call fcn.100409d0
add esi, eax
cmp dword [esp + 0x20], 0
je 0x1006cd3f
push dword [ebp + 0x1c]
mov edx, dword [ebp + 0x14]
lea ecx, [esp + 0x24]
push dword [ebp + 0x18]
call fcn.1006a8d0
test al, al
je 0x1006cd3a
mov ecx, dword [esp + 0x5c]
mov ax, word [esp + 0x20]
mov word [ecx + edi*2], ax
inc edi
cmp byte [esi], 0
jne 0x1006cd00
mov ecx, dword [esp + 0x5c]
mov dword [esp + 0x44], edi
mov edi, dword [esp + 0x58]
mov eax, dword [esp + 0x44]
xor edx, edx
mov word [ecx + eax*2], dx
test eax, eax
jle 0x1006cde8
mov edx, dword [edi + 0x44]
mov ecx, dword [edi + 0x40]
mov eax, dword [edi + 4]
cmp ecx, edx
je 0x1006cd83
cmp ecx, eax
jle 0x1006cd73
mov dword [edi + 0x40], eax
mov ecx, eax
cmp edx, eax
jle 0x1006cd7c
mov dword [edi + 0x44], eax
mov edx, eax
cmp ecx, edx
jne 0x1006cd83
mov dword [edi + 0x3c], ecx
cmp dword [edi + 0x3c], eax
jle 0x1006cd8b
mov dword [edi + 0x3c], eax
lea edx, [edi + 0x3c]
mov ecx, edi
call fcn.100696f0
push dword [esp + 0x44]
mov edx, dword [edi + 0x3c]
mov ecx, edi
push dword [esp + 0x60]
call fcn.10069210
test al, al
je 0x1006cdc9
push dword [esp + 0x44]
mov edx, dword [edi + 0x3c]
lea ecx, [edi + 0x5c]
push 0
call fcn.1006a5e0
mov eax, dword [esp + 0x44]
add dword [edi + 0x3c], eax
mov byte [edi + 0x52], 0
jmp 0x1006cddd
movzx eax, word [edi + 0xe5a]
test ax, ax
je 0x1006cddd
dec eax
mov word [edi + 0xe5a], ax
mov ecx, dword [esp + 0x5c]
mov byte [edi + 0xe6c], 1
test ecx, ecx
je 0x1006cdfb
mov eax, dword [0x10159260]
test eax, eax
je 0x1006cdfb
dec dword [eax + 0x370]
push ecx
call fcn.10105fcb
add esp, 4
jmp 0x1006cf3c
mov ecx, dword [esp + 0x14]
cmp dword [ecx + 0xd4], 0
je 0x1006cecc
mov ecx, dword [edi + 0x44]
mov eax, dword [edi + 0x40]
cmp eax, ecx
je 0x1006ce32
mov edx, ecx
cmovge ecx, eax
cmovl edx, eax
mov dword [esp + 0x20], edx
jmp 0x1006ce3d
mov ecx, dword [edi + 4]
mov dword [esp + 0x20], 0
mov eax, dword [edi + 0x14]
mov dword [esp + 0x30], ecx
lea edx, [eax + ecx*2]
mov ecx, dword [esp + 0x20]
lea ecx, [eax + ecx*2]
call fcn.10040c00
inc eax
mov dword [esp + 0x28], eax
test esi, esi
je 0x1006ce62
inc dword [esi + 0x370]
push eax
call fcn.10105fb5
mov esi, dword [edi + 0x14]
add esp, 4
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x28]
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x20]
lea ecx, [esi + ecx*2]
push ecx
lea ecx, [esi + eax*2]
mov esi, dword [esp + 0x64]
push ecx
mov ecx, esi
call fcn.10040b40
mov ecx, dword [0x10159260]
mov eax, dword [ecx + 0xd4]
test eax, eax
je 0x1006ceb1
mov ecx, dword [ecx + 0xd8]
mov edx, esi
call eax
mov ecx, dword [0x10159260]
test esi, esi
je 0x1006cebf
test ecx, ecx
je 0x1006cebf
dec dword [ecx + 0x370]
push esi
call fcn.10105fcb
mov al, byte [esp + 0x20]
add esp, 4
test al, al
je 0x1006cf3c
mov eax, dword [edi + 0x40]
lea esi, [edi + 0x3c]
cmp eax, dword [edi + 0x44]
jne 0x1006ceee
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 0x1006cf3c
mov edx, esi
mov ecx, edi
call fcn.100696f0
mov byte [esi + 0x16], 0
jmp 0x1006cf3c
movzx eax, dh
mov ecx, edi
xor eax, 1
lea edx, [edi + 0x3c]
add eax, 0x20000a
push eax
call fcn.10069770
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 dl, byte [esp + 0x13]
mov eax, dword [edi + 0x40]
cmp eax, dword [edi + 0x44]
je 0x1006cf57
cmp byte [esp + 0x27], 0
je 0x1006cf57
mov al, 1
jmp 0x1006cf59
xor al, al
or byte [esp + 0x84], al
mov eax, dword [esp + 0x38]
cmp dword [esi + 0x1bc8], eax
jne 0x1006d7c6
xor ecx, ecx
mov dword [esp + 0x68], 0
mov dword [esp + 0x50], ecx
test dl, dl
je 0x1006d173
cmp byte [esp + 0x40], cl
jne 0x1006d15d
mov esi, dword [edi + 0x2c]
mov ecx, esi
mov eax, dword [ebp + 8]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x1006cfb8
test dl, dl
je 0x1006cfb4
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x1006cfb8
add eax, 2
add ecx, 2
test dl, dl
jne 0x1006cf98
xor eax, eax
jmp 0x1006cfbd
sbb eax, eax
or eax, 1
test eax, eax
je 0x1006d15d
mov eax, dword [edi + 0x24]
xor edx, edx
dec eax
mov dword [esp + 0x44], edx
mov dword [esp + 0x50], eax
mov ecx, esi
mov dword [esp + 0x68], ecx
test eax, eax
jle 0x1006d0d0
lea esi, [eax + ecx]
mov edi, ecx
mov dword [esp + 0x30], esi
xor eax, eax
mov dword [esp + 0x20], eax
test esi, esi
je 0x1006cff8
cmp edi, esi
jae 0x1006d019
cmp byte [edi], 0
je 0x1006d019
push esi
mov edx, edi
lea ecx, [esp + 0x2c]
call fcn.100409d0
add edi, eax
cmp dword [esp + 0x28], 0
mov eax, dword [esp + 0x20]
je 0x1006d019
inc eax
jmp 0x1006cfec
lea edx, [eax + 1]
mov dword [esp + 0x60], edx
test edx, edx
jle 0x1006d05b
mov ecx, 8
mov eax, edx
cmp edx, ecx
cmovl eax, ecx
test eax, eax
jle 0x1006d05b
mov ecx, dword [0x10159260]
test ecx, ecx
je 0x1006d044
inc dword [ecx + 0x370]
add eax, eax
push eax
call fcn.10105fb5
mov edx, dword [esp + 0x64]
mov ecx, eax
add esp, 4
mov dword [esp + 0x44], ecx
jmp 0x1006d05d
xor ecx, ecx
mov eax, dword [esp + 0x68]
mov edi, dword [esp + 0x58]
mov dword [esp + 0x28], eax
mov eax, ecx
lea ecx, [ecx + edx*2]
mov dword [esp + 0x20], eax
add ecx, 0xfffffffe
cmp dword [esp + 0x44], ecx
jae 0x1006d0cb
mov edi, dword [esp + 0x28]
nop
test esi, esi
je 0x1006d088
cmp edi, esi
jae 0x1006d0c7
cmp byte [edi], 0
je 0x1006d0c7
push esi
mov edx, edi
lea ecx, [esp + 0x2c]
call fcn.100409d0
mov ecx, dword [esp + 0x28]
add edi, eax
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x60]
test ecx, ecx
je 0x1006d0c7
mov esi, dword [esp + 0x30]
mov word [eax], cx
add eax, 2
mov ecx, dword [esp + 0x44]
add ecx, 0xfffffffe
mov dword [esp + 0x20], eax
lea ecx, [ecx + edx*2]
cmp eax, ecx
jb 0x1006d080
mov edi, dword [esp + 0x58]
xor ecx, ecx
mov word [eax], cx
mov ecx, dword [esp + 0x50]
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.1006a5e0
mov edx, eax
test edx, edx
je 0x1006d110
xor ecx, ecx
test esi, esi
jle 0x1006d110
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 0x1006d100
push dword [edi + 4]
xor edx, edx
mov ecx, edi
call fcn.100691a0
mov esi, dword [esp + 0x28]
test esi, esi
jle 0x1006d13d
push esi
push dword [esp + 0x48]
xor edx, edx
mov ecx, edi
call fcn.10069210
test al, al
je 0x1006d13d
mov dword [edi + 0x3c], esi
mov byte [edi + 0x52], 0
mov ecx, dword [esp + 0x44]
test ecx, ecx
je 0x1006d15d
mov eax, dword [0x10159260]
test eax, eax
je 0x1006d154
dec dword [eax + 0x370]
push ecx
call fcn.10105fcb
add esp, 4
cmp byte [esp + 0x3f], 0
mov eax, dword [ebp + 0x14]
je 0x1006d6c8
test al, 0x20
je 0x1006d6c8
cmp byte [esp + 0x40], 0
jne 0x1006d1d0
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 0x1006d1bf
test eax, eax
je 0x1006d1a5
cdq
sub eax, edx
lea edx, [edi + 0x18]
mov ecx, eax
sar ecx, 1
add ecx, dword [edx + 4]
jmp 0x1006d1ad
mov ecx, 8
lea edx, [edi + 0x18]
cmp ecx, esi
mov eax, esi
cmovg eax, ecx
mov ecx, edx
push eax
call fcn.10054740
lea ecx, [edi + 0x18]
mov dword [ecx], esi
mov edx, esi
mov ecx, dword [edi + 0x20]
push 0
push dword [edi + 0x14]
call fcn.10040b40
mov edx, dword [ebp + 0x14]
test edx, 0x801c0
je 0x1006d681
mov ecx, dword [0x10159260]
mov esi, 0x16
xorps xmm4, xmm4
test dl, 0x40
je 0x1006d27f
mov eax, dword [ecx + 0x34]
test eax, eax
js 0x1006d27f
movss xmm1, dword [ecx + eax*4 + 0x458]
ucomiss xmm1, xmm4
lahf
test ah, 0x44
jnp 0x1006d273
movss xmm2, dword [ecx + 0x8c]
comiss xmm1, xmm2
jbe 0x1006d27f
movss xmm3, dword [ecx + 0x90]
movaps xmm0, xmm1
subss xmm0, dword [ecx + 0x18]
comiss xmm0, xmm1
jb 0x1006d239
xor eax, eax
jmp 0x1006d26f
comiss xmm4, xmm3
jb 0x1006d248
xor eax, eax
comiss xmm2, xmm0
seta al
jmp 0x1006d26f
comiss xmm2, xmm0
jbe 0x1006d252
or edx, 0xffffffff
jmp 0x1006d25e
subss xmm0, xmm2
divss xmm0, xmm3
cvttss2si edx, xmm0
subss xmm1, xmm2
divss xmm1, xmm3
cvttss2si eax, xmm1
sub eax, edx
mov edx, dword [ebp + 0x14]
test eax, eax
jle 0x1006d27f
mov eax, 0x40
xor esi, esi
jmp 0x1006d3be
test dl, dl
jns 0x1006d395
mov eax, dword [ecx + 0x40]
test eax, eax
js 0x1006d311
movss xmm1, dword [ecx + eax*4 + 0x458]
ucomiss xmm1, xmm4
lahf
test ah, 0x44
jnp 0x1006d304
movss xmm2, dword [ecx + 0x8c]
comiss xmm1, xmm2
jbe 0x1006d311
movss xmm3, dword [ecx + 0x90]
movaps xmm0, xmm1
subss xmm0, dword [ecx + 0x18]
comiss xmm0, xmm1
jb 0x1006d2ca
xor eax, eax
jmp 0x1006d300
comiss xmm4, xmm3
jb 0x1006d2d9
xor eax, eax
comiss xmm2, xmm0
seta al
jmp 0x1006d300
comiss xmm2, xmm0
jbe 0x1006d2e3
or edx, 0xffffffff
jmp 0x1006d2ef
subss xmm0, xmm2
divss xmm0, xmm3
cvttss2si edx, xmm0
subss xmm1, xmm2
divss xmm1, xmm3
cvttss2si eax, xmm1
sub eax, edx
mov edx, dword [ebp + 0x14]
test eax, eax
jle 0x1006d311
mov eax, 0x80
lea esi, [eax - 0x7d]
jmp 0x1006d3be
mov eax, dword [ecx + 0x44]
test eax, eax
js 0x1006d395
movss xmm1, dword [ecx + eax*4 + 0x458]
ucomiss xmm1, xmm4
lahf
test ah, 0x44
jnp 0x1006d38b
movss xmm2, dword [ecx + 0x8c]
comiss xmm1, xmm2
jbe 0x1006d395
movss xmm3, dword [ecx + 0x90]
movaps xmm0, xmm1
subss xmm0, dword [ecx + 0x18]
comiss xmm0, xmm1
jb 0x1006d354
xor eax, eax
jmp 0x1006d387
comiss xmm4, xmm3
jb 0x1006d363
xor eax, eax
comiss xmm2, xmm0
seta al
jmp 0x1006d387
comiss xmm2, xmm0
jbe 0x1006d36d
or ecx, 0xffffffff
jmp 0x1006d379
subss xmm0, xmm2
divss xmm0, xmm3
cvttss2si ecx, xmm0
subss xmm1, xmm2
divss xmm1, xmm3
cvttss2si eax, xmm1
sub eax, ecx
test eax, eax
jle 0x1006d395
mov eax, 0x80
lea esi, [eax - 0x7c]
jmp 0x1006d3be
test edx, 0x80000
je 0x1006d3ad
cmp byte [edi + 0xe6e], 0
je 0x1006d3ad
mov eax, 0x80000
jmp 0x1006d3be
test edx, 0x100
je 0x1006d681
mov eax, 0x100
mov dword [esp + 0x100], eax
xor ecx, ecx
mov eax, dword [ebp + 0x1c]
mov dword [esp + 0x108], eax
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 + 0x110], 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 dword [esp + 0x104], edx
mov byte [esp + 0x120], cl
lea edx, [esi + eax*2]
mov ecx, esi
mov dword [esp + 0x10c], 0
call fcn.10040c00
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.10040c00
mov dword [esp + 0x30], 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.10040c00
lea ecx, [esp + 0x100]
mov dword [esp + 0x60], eax
mov dword [esp + 0x12c], eax
call dword [ebp + 0x18]
mov al, byte [esp + 0x120]
mov edx, dword [esp + 0x124]
mov byte [esp + 0x1c], al
cmp edx, edi
jne 0x1006d493
test al, al
je 0x1006d4e7
mov esi, dword [esp + 0x114]
xor eax, eax
lea edi, [edx + esi]
mov dword [esp + 0x20], eax
test edi, edi
je 0x1006d4ab
cmp esi, edi
jae 0x1006d4cc
cmp byte [esi], 0
je 0x1006d4cc
push edi
mov edx, esi
lea ecx, [esp + 0x2c]
call fcn.100409d0
add esi, eax
cmp dword [esp + 0x28], 0
mov eax, dword [esp + 0x20]
je 0x1006d4cc
inc eax
jmp 0x1006d49f
mov edi, dword [esp + 0x58]
mov edx, dword [esp + 0x124]
mov dword [edi + 0x3c], eax
mov al, byte [esp + 0x1c]
mov byte [edi + 0xe6c], 1
jmp 0x1006d4eb
mov edi, dword [esp + 0x58]
mov ecx, dword [esp + 0x128]
cmp ecx, dword [esp + 0x30]
jne 0x1006d4fc
test al, al
je 0x1006d54c
cmp ecx, edx
jne 0x1006d505
mov eax, dword [edi + 0x3c]
jmp 0x1006d549
mov esi, dword [esp + 0x114]
xor eax, eax
lea edi, [ecx + esi]
mov dword [esp + 0x20], eax
test edi, edi
je 0x1006d51d
cmp esi, edi
jae 0x1006d53e
cmp byte [esi], 0
je 0x1006d53e
push edi
mov edx, esi
lea ecx, [esp + 0x2c]
call fcn.100409d0
add esi, eax
cmp dword [esp + 0x28], 0
mov eax, dword [esp + 0x20]
je 0x1006d53e
inc eax
jmp 0x1006d511
mov ecx, dword [esp + 0x128]
mov edi, dword [esp + 0x58]
mov dword [edi + 0x40], eax
mov eax, dword [esp + 0x12c]
cmp eax, dword [esp + 0x60]
jne 0x1006d564
cmp byte [esp + 0x1c], 0
je 0x1006d681
cmp eax, ecx
jne 0x1006d56d
mov eax, dword [edi + 0x40]
jmp 0x1006d5aa
mov esi, dword [esp + 0x114]
lea edi, [eax + esi]
xor eax, eax
mov dword [esp + 0x20], eax
test edi, edi
je 0x1006d585
cmp esi, edi
jae 0x1006d5a6
cmp byte [esi], 0
je 0x1006d5a6
push edi
mov edx, esi
lea ecx, [esp + 0x2c]
call fcn.100409d0
add esi, eax
cmp dword [esp + 0x28], 0
mov eax, dword [esp + 0x20]
je 0x1006d5a6
inc eax
jmp 0x1006d579
mov edi, dword [esp + 0x58]
cmp byte [esp + 0x1c], 0
mov dword [edi + 0x44], eax
je 0x1006d681
mov esi, dword [esp + 0x118]
mov ecx, dword [esp + 0x64]
cmp esi, ecx
jle 0x1006d60a
cmp byte [esp + 0xbc], 0
je 0x1006d60a
mov eax, dword [edi + 0x10]
sub esi, ecx
add esi, dword [edi + 0xc]
cmp esi, eax
jle 0x1006d607
test eax, eax
je 0x1006d5f0
cdq
sub eax, edx
lea edx, [edi + 0xc]
mov ecx, eax
sar ecx, 1
add ecx, dword [edx + 4]
jmp 0x1006d5f8
mov ecx, 8
lea edx, [edi + 0xc]
cmp ecx, esi
mov eax, esi
cmovg eax, ecx
mov ecx, edx
push eax
call fcn.10052bd0
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 + 0x64], ecx
lea eax, [ecx + eax*2]
mov dword [esp + 0x30], eax
cmp ecx, eax
jae 0x1006d661
mov edi, dword [esp + 0x28]
cmp byte [edi], 0
je 0x1006d659
push 0
mov edx, edi
lea ecx, [esp + 0x2c]
call fcn.100409d0
add edi, eax
mov eax, dword [esp + 0x28]
test eax, eax
je 0x1006d659
mov word [esi], ax
add esi, 2
cmp esi, dword [esp + 0x30]
jb 0x1006d631
mov edi, dword [esp + 0x58]
mov ecx, dword [esp + 0x64]
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 0x1006d6c5
mov esi, dword [edi + 0x20]
mov eax, esi
mov ecx, dword [ebp + 8]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x1006d6b0
test dl, dl
je 0x1006d6ac
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x1006d6b0
add eax, 2
add ecx, 2
test dl, dl
jne 0x1006d690
xor eax, eax
jmp 0x1006d6b5
sbb eax, eax
or eax, 1
test eax, eax
mov eax, dword [ebp + 0x14]
je 0x1006d6c8
mov ecx, dword [edi + 8]
mov dword [esp + 0x68], esi
jmp 0x1006d6cc
mov eax, dword [ebp + 0x14]
mov ecx, dword [esp + 0x50]
mov edx, dword [esp + 0x68]
test edx, edx
je 0x1006d7a4
cmp byte [esp + 0xbc], 0
je 0x1006d775
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 + 0x68]
mov dword [ebp + 8], eax
lea ecx, [esi - 1]
cmp dword [esp + 0x148], ecx
cmovl ecx, dword [esp + 0x148]
jmp 0x1006d778
mov esi, dword [ebp + 0xc]
lea eax, [ecx + 1]
cmp eax, esi
cmovl esi, eax
cmp esi, 1
jb 0x1006d79f
jbe 0x1006d797
lea eax, [esi - 1]
push eax
push edx
push dword [ebp + 8]
call fcn.101060f0
add esp, 0xc
mov eax, dword [ebp + 8]
mov byte [esi + eax - 1], 0
mov byte [esp + 0x3e], 1
mov esi, dword [esp + 0x14]
mov dword [edi + 0xe70], 0
mov dword [edi + 0xe74], 0
mov dword [edi + 0xe78], 0
cmp byte [esp + 0x4b], 0
mov edx, dword [esp + 0x38]
je 0x1006d7e2
cmp dword [esi + 0x1bc8], edx
jne 0x1006d7e2
call fcn.10043310
mov edx, dword [esp + 0x38]
cmp byte [esp + 0x34], 0
jne 0x1006d8bd
push 1
lea ecx, [esp + 0xc4]
call fcn.100427a0
movss xmm0, dword [0x10150be4]
mov ecx, 7
call fcn.10041580
movss xmm0, dword [esi + 0x1558]
mov dl, 1
movss xmm1, dword [esp + 0xc0]
mov ecx, eax
movss xmm2, dword [esp + 0xc4]
movss xmm3, dword [esp + 0xc8]
movss xmm4, dword [esp + 0xcc]
call fcn.10042530
movss xmm4, dword [esp + 0xc4]
movss xmm6, dword [esp + 0xc0]
movaps xmm2, xmm4
addss xmm2, dword [esp + 0x70]
movaps xmm3, xmm6
movss dword [esp + 0xe4], xmm4
addss xmm3, dword [esp + 0xb8]
movaps xmm0, xmm4
movss dword [esp + 0xe0], xmm6
addss xmm0, dword [esi + 0x1554]
movss xmm4, dword [esp + 0xb8]
movaps xmm1, xmm6
addss xmm1, dword [esi + 0x1550]
movss dword [esp + 0x28], xmm3
movss dword [esp + 0xe8], xmm3
movss dword [esp + 0x68], xmm2
movss dword [esp + 0xec], xmm2
jmp 0x1006d932
movss xmm0, dword [esp + 0xc0]
movss xmm4, dword [esp + 0xb8]
movss xmm1, dword [esp + 0xc4]
movaps xmm3, xmm4
mov eax, dword [esp + 0x78]
addss xmm3, xmm0
movaps xmm2, xmm1
movss dword [esp + 0xe0], xmm0
addss xmm2, dword [esp + 0x70]
movss dword [esp + 0xe4], xmm1
movss xmm1, dword [eax + 0xcc]
movaps xmm0, xmm3
movss dword [esp + 0x28], xmm0
movss dword [esp + 0xe8], xmm0
movaps xmm0, xmm2
movss dword [esp + 0x68], xmm0
movss dword [esp + 0xec], xmm0
movss xmm0, dword [eax + 0xd0]
cmp byte [esp + 0x2f], 0
xorps xmm5, xmm5
movss dword [esp + 0x94], xmm0
movss dword [esp + 0xdc], xmm0
xorps xmm0, xmm0
movss dword [esp + 0x90], xmm1
movss dword [esp + 0x44], xmm1
movss dword [esp + 0xbc], xmm2
movss dword [esp + 0x60], xmm3
movss dword [esp + 0xd8], xmm1
movss dword [esp + 0x30], xmm0
movss dword [esp + 0x20], xmm5
je 0x1006d98a
mov eax, dword [edi + 0x20]
mov dword [ebp + 8], eax
mov cl, byte [esp + 0x1e]
mov dword [esp + 0x4c], 0
test cl, cl
je 0x1006d9bd
mov eax, dword [esp + 0x74]
mov ecx, eax
mov dword [ebp + 8], eax
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1006d9a6
mov eax, dword [esp + 0x74]
sub ecx, edx
add eax, ecx
mov cl, byte [esp + 0x1e]
mov dword [esp + 0x4c], eax
mov al, byte [esp + 0x27]
test al, al
jne 0x1006dd9e
cmp byte [esp + 0x84], al
jne 0x1006dd9e
cmp byte [esp + 0x34], al
je 0x1006da3b
mov eax, dword [ebp + 8]
xor ecx, ecx
mov dl, byte [eax]
lea esi, [eax + 1]
test dl, dl
je 0x1006da02
nop word [eax + eax]
cmp dl, 0xa
lea eax, [ecx + 1]
mov dl, byte [esi]
cmovne eax, ecx
inc esi
mov ecx, eax
test dl, dl
jne 0x1006d9f0
mov al, byte [esi - 1]
dec esi
mov dword [esp + 0x4c], esi
cmp al, 0xa
je 0x1006da13
cmp al, 0xd
je 0x1006da13
inc ecx
mov eax, dword [esp + 0x14]
movaps xmm0, xmm4
mov edx, dword [esp + 0x4c]
movd xmm6, ecx
cvtdq2ps xmm6, xmm6
movss dword [esp + 0x30], xmm0
mulss xmm6, dword [eax + 0x1930]
movss dword [esp + 0x20], xmm6
jmp 0x1006da89
test cl, cl
jne 0x1006da73
mov eax, dword [esp + 0x38]
cmp dword [esi + 0x1bc8], eax
jne 0x1006da59
mov edx, dword [edi + 8]
mov edi, dword [ebp + 8]
add edx, edi
mov dword [esp + 0x4c], edx
jmp 0x1006da7a
mov edi, dword [ebp + 8]
mov ecx, edi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1006da61
sub ecx, edx
lea edx, [edi + ecx]
mov dword [esp + 0x4c], edx
jmp 0x1006da7a
mov edx, dword [esp + 0x4c]
mov edi, dword [ebp + 8]
mov eax, edx
sub eax, edi
cmp eax, 0x200000
jge 0x1006e91b
movzx ecx, byte [esp + 0x1e]
movss xmm0, dword [0x10150be4]
call fcn.10041580
mov ecx, dword [esp + 0x14]
cmp byte [esp + 0x34], 0
mov esi, dword [esp + 0x78]
mov dword [esp + 0x28], 0
mov edi, dword [ecx + 0x192c]
movss xmm2, dword [ecx + 0x1930]
mov ecx, edx
mov esi, dword [esi + 0x288]
lea edx, [esp + 0xe0]
cmovne edx, dword [esp + 0x28]
mov dword [esp + 0x64], eax
test eax, 0xff000000
je 0x1006dbdf
cmp dword [esp + 0x4c], 0
jne 0x1006db04
mov ecx, dword [ebp + 8]
lea eax, [ecx + 1]
mov dword [esp + 0x28], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1006daf2
sub ecx, dword [esp + 0x28]
mov eax, dword [ebp + 8]
add ecx, eax
jmp 0x1006db07
mov eax, dword [ebp + 8]
cmp eax, ecx
je 0x1006dbdf
test edi, edi
jne 0x1006db19
mov eax, dword [esi + 0x2c]
mov edi, dword [eax + 8]
ucomiss xmm2, dword [0x10147fa0]
lahf
test ah, 0x44
jp 0x1006db2e
mov eax, dword [esi + 0x2c]
movss xmm2, dword [eax + 0xc]
movups xmm0, xmmword [esi + 0x60]
movups xmmword [esp + 0xa0], xmm0
test edx, edx
je 0x1006dba5
movss xmm1, dword [edx]
movss xmm0, dword [esp + 0xa0]
comiss xmm0, xmm1
jae 0x1006db59
movss dword [esp + 0xa0], xmm1
movss xmm1, dword [edx + 4]
movss xmm0, dword [esp + 0xa4]
comiss xmm0, xmm1
jae 0x1006db75
movss dword [esp + 0xa4], xmm1
movss xmm0, dword [edx + 8]
comiss xmm0, dword [esp + 0xa8]
ja 0x1006db8d
movss dword [esp + 0xa8], xmm0
movss xmm0, dword [edx + 0xc]
comiss xmm0, dword [esp + 0xac]
ja 0x1006dba5
movss dword [esp + 0xac], 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 + 0xb0]
push ecx
push dword [ebp + 8]
mov ecx, edi
push eax
push dword [esp + 0x80]
push esi
call fcn.1005aeb0
mov esi, dword [esp + 0x14]
mov edi, dword [ebp + 8]
cmp byte [esp + 0xd0], 0
je 0x1006dbfc
cmp byte [esp + 0x1e], 0
jne 0x1006dbfc
call fcn.1004c0b0
cmp byte [esp + 0x34], 0
je 0x1006dcb3
mov ecx, dword [0x10159260]
movss xmm0, dword [esp + 0x20]
addss xmm0, dword [esi + 0x1554]
movss xmm4, dword [esp + 0x30]
mov eax, dword [ecx + 0x1b94]
movss dword [esp + 0x6c], xmm4
movss dword [esp + 0x70], xmm0
mov byte [eax + 0x8c], 1
mov eax, dword [ecx + 0x1b94]
cmp byte [eax + 0x8f], 0
jne 0x1006dca9
movss xmm1, dword [eax + 0xd0]
lea ecx, [esp + 0x6c]
movss xmm3, dword [eax + 0xcc]
movaps xmm2, xmm1
addss xmm2, xmm0
movss dword [esp + 0xe0], xmm3
movss xmm0, dword [0x10150da0]
addss xmm4, xmm3
movss dword [esp + 0xe4], xmm1
movss dword [esp + 0xec], xmm2
movss dword [esp + 0xe8], xmm4
call fcn.1004c540
push 0
xor edx, edx
lea ecx, [esp + 0xe4]
call fcn.1004c670
call fcn.10047400
call fcn.1004ccb0
cmp byte [esi + 0x2ed8], 0
je 0x1006dcf9
cmp byte [esp + 0xd0], 0
je 0x1006dccd
cmp byte [esp + 0x1e], 0
je 0x1006dcf9
mov ecx, dword [0x10159260]
mov edx, edi
push dword [esp + 0x4c]
mov dword [ecx + 0x2ef0], 0x10143124
mov dword [ecx + 0x2ef4], 0x10143120
lea ecx, [esp + 0xdc]
call fcn.10051870
movss xmm0, dword [esp + 0xfc]
comiss xmm0, dword [0x10147fa0]
jbe 0x1006dd55
movss xmm0, dword [esp + 0xc8]
xor edx, edx
addss xmm0, dword [esi + 0x1568]
mov ecx, dword [esp + 0xd4]
push 1
movss dword [esp + 0x70], xmm0
movss xmm0, dword [esp + 0xc8]
addss xmm0, dword [esi + 0x1554]
movss dword [esp + 0x74], xmm0
movss xmm0, dword [esp + 0x70]
movss xmm1, dword [esp + 0x74]
call fcn.10041a70
mov al, byte [esp + 0x3e]
mov edx, dword [ebp + 0x14]
test al, al
je 0x1006dd88
test edx, 0x200000
jne 0x1006dd88
mov ecx, dword [0x10159260]
mov eax, dword [ecx + 0x1b94]
mov word [ecx + 0x1bd8], 0x101
or dword [eax + 0x11c], 4
mov al, byte [esp + 0x3e]
movzx ecx, byte [esp + 0x3f]
test dl, 0x20
movzx eax, al
pop edi
cmovne eax, ecx
pop esi
mov esp, ebp
pop ebp
ret 0x18
test cl, cl
jne 0x1006ddb0
mov eax, dword [edi + 8]
add eax, dword [ebp + 8]
mov dword [esp + 0x4c], eax
mov al, byte [esp + 0x27]
mov ecx, dword [edi + 0x14]
mov esi, 0xfffffc18
xor edx, edx
mov dword [esp + 0x38], ecx
mov dword [esp + 0x7c], 0
movaps xmm6, xmm5
mov dword [esp + 0x74], 0
movaps xmm7, xmm5
mov dword [esp + 0x5c], esi
mov dword [esp + 0x50], esi
test al, al
je 0x1006ddf4
mov eax, dword [edi + 0x3c]
or esi, 0xffffffff
mov dword [esp + 0x5c], esi
lea eax, [ecx + eax*2]
mov dword [esp + 0x7c], eax
lea edx, [esi + 2]
cmp byte [esp + 0x84], 0
je 0x1006de20
mov ecx, dword [edi + 0x44]
cmp dword [edi + 0x40], ecx
mov eax, dword [esp + 0x38]
cmovl ecx, dword [edi + 0x40]
inc edx
mov dword [esp + 0x50], 0xffffffff
lea eax, [eax + ecx*2]
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x34]
movzx eax, al
add edx, eax
xor eax, eax
mov dword [esp + 0x88], eax
mov eax, dword [esp + 0x38]
movzx eax, word [eax]
test ax, ax
je 0x1006de9b
mov edi, dword [esp + 0x5c]
mov esi, eax
cmp si, 0xa
jne 0x1006de81
mov eax, dword [esp + 0x88]
inc eax
mov dword [esp + 0x88], eax
cmp edi, 0xffffffff
jne 0x1006de6b
cmp ecx, dword [esp + 0x7c]
jb 0x1006de6b
dec edx
mov edi, eax
test edx, edx
jle 0x1006de8f
cmp dword [esp + 0x50], 0xffffffff
jne 0x1006de81
cmp ecx, dword [esp + 0x74]
jb 0x1006de81
dec edx
mov dword [esp + 0x50], eax
test edx, edx
jle 0x1006de8f
movzx eax, word [ecx + 2]
add ecx, 2
mov esi, eax
test ax, ax
jne 0x1006de44
mov dword [esp + 0x5c], edi
mov edi, dword [esp + 0x58]
mov esi, dword [esp + 0x5c]
mov eax, dword [esp + 0x88]
inc eax
cmp esi, 0xffffffff
mov ecx, eax
mov dword [esp + 0x88], eax
cmovne ecx, esi
mov esi, dword [esp + 0x7c]
mov dword [esp + 0x64], ecx
mov edx, esi
mov ecx, dword [esp + 0x50]
cmp ecx, 0xffffffff
cmove ecx, eax
mov dword [esp + 0x50], ecx
mov ecx, dword [esp + 0x38]
cmp esi, ecx
jbe 0x1006dee0
cmp word [edx - 2], 0xa
je 0x1006dee0
add edx, 0xfffffffe
cmp edx, ecx
ja 0x1006ded2
mov ecx, dword [0x10159260]
movaps xmm4, xmm5
movss dword [esp + 0x5c], xmm4
movaps xmm1, xmm5
mov eax, dword [ecx + 0x192c]
movss xmm3, dword [ecx + 0x1930]
mov dword [esp + 0x90], eax
divss xmm3, dword [eax + 0x10]
cmp edx, esi
jae 0x1006df6c
mov edi, eax
movzx eax, word [edx]
add edx, 2
mov esi, eax
cmp eax, 0xa
jne 0x1006df2c
comiss xmm4, xmm1
jae 0x1006df27
movaps xmm4, xmm1
movaps xmm1, xmm5
jmp 0x1006df4e
cmp esi, 0xd
je 0x1006df4e
mov esi, eax
cmp esi, dword [edi]
jge 0x1006df41
mov eax, dword [edi + 8]
movss xmm0, dword [eax + esi*4]
jmp 0x1006df46
movss xmm0, dword [edi + 0xc]
mulss xmm0, xmm3
addss xmm1, xmm0
cmp edx, dword [esp + 0x7c]
jb 0x1006df12
comiss xmm1, xmm4
mov edi, dword [esp + 0x58]
movss dword [esp + 0x5c], xmm4
jbe 0x1006df6c
movaps xmm4, xmm1
movss dword [esp + 0x5c], xmm1
cmp dword [esp + 0x50], 0
movd xmm5, dword [esp + 0x64]
mov edx, dword [esp + 0x14]
cvtdq2ps xmm5, xmm5
movss xmm2, dword [edx + 0x1930]
mulss xmm5, xmm2
movss dword [esp + 0x64], xmm5
jl 0x1006e038
mov esi, dword [esp + 0x74]
mov edx, esi
cmp esi, dword [esp + 0x38]
jbe 0x1006dfba
mov ecx, dword [esp + 0x38]
cmp word [edx - 2], 0xa
je 0x1006dfb4
add edx, 0xfffffffe
cmp edx, ecx
ja 0x1006dfa6
mov ecx, dword [0x10159260]
xorps xmm0, xmm0
xorps xmm7, xmm7
xorps xmm1, xmm1
cmp edx, esi
jae 0x1006e027
mov ecx, dword [esp + 0x90]
mov edi, dword [esp + 0x74]
movzx eax, word [edx]
add edx, 2
mov esi, eax
cmp eax, 0xa
jne 0x1006dfec
comiss xmm7, xmm1
jae 0x1006dfe7
movaps xmm7, xmm1
movaps xmm1, xmm0
jmp 0x1006e011
cmp esi, 0xd
je 0x1006e011
mov esi, eax
cmp esi, dword [ecx]
jge 0x1006e001
mov eax, dword [ecx + 8]
movss xmm0, dword [eax + esi*4]
jmp 0x1006e006
movss xmm0, dword [ecx + 0xc]
mulss xmm0, xmm3
addss xmm1, xmm0
xorps xmm0, xmm0
cmp edx, edi
jb 0x1006dfd2
comiss xmm1, xmm7
mov edi, dword [esp + 0x58]
mov ecx, dword [0x10159260]
jbe 0x1006e027
movaps xmm7, xmm1
movd xmm6, dword [esp + 0x50]
mov edx, dword [esp + 0x14]
cvtdq2ps xmm6, xmm6
mulss xmm6, xmm2
cmp byte [esp + 0x34], 0
je 0x1006e069
movd xmm3, dword [esp + 0x88]
cvtdq2ps xmm3, xmm3
mulss xmm3, xmm2
movss xmm2, dword [esp + 0xb8]
movaps xmm0, xmm2
movss dword [esp + 0x20], xmm3
movss dword [esp + 0x30], xmm0
jmp 0x1006e078
movss xmm3, dword [esp + 0x20]
movss xmm2, dword [esp + 0xb8]
cmp byte [esp + 0x27], 0
je 0x1006e1c9
cmp byte [edi + 0xe6c], 0
je 0x1006e1c9
test dword [ebp + 0x14], 0x1000
jne 0x1006e10a
movaps xmm1, xmm2
movaps xmm0, xmm4
subss xmm2, dword [edx + 0x1550]
mulss xmm1, dword [0x10150b6c]
movss dword [esp + 0xb8], xmm2
movss xmm2, dword [edi + 0x38]
comiss xmm2, xmm4
jbe 0x1006e0e3
subss xmm0, xmm1
xorps xmm2, xmm2
maxss xmm0, xmm2
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [edi + 0x38], xmm0
jmp 0x1006e114
subss xmm0, dword [esp + 0xb8]
comiss xmm0, xmm2
xorps xmm2, xmm2
jb 0x1006e114
addss xmm1, xmm0
cvttss2si eax, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [edi + 0x38], xmm0
jmp 0x1006e114
mov dword [edi + 0x38], 0
xorps xmm2, xmm2
cmp byte [esp + 0x34], 0
je 0x1006e1b3
movss xmm4, dword [esp + 0x8c]
movaps xmm0, xmm5
subss xmm0, dword [edx + 0x1930]
comiss xmm4, xmm0
jbe 0x1006e147
movss xmm5, dword [esp + 0x70]
movaps xmm4, xmm0
maxss xmm4, xmm2
jmp 0x1006e169
movaps xmm0, xmm5
movss xmm5, dword [esp + 0x70]
subss xmm0, xmm5
comiss xmm0, xmm4
jb 0x1006e169
movss xmm4, dword [edx + 0x1554]
addss xmm4, xmm4
addss xmm4, xmm0
comiss xmm2, xmm4
movss xmm1, dword [edx + 0x1554]
jbe 0x1006e17b
xorps xmm1, xmm1
jmp 0x1006e18f
addss xmm1, xmm1
addss xmm1, xmm3
subss xmm1, xmm5
maxss xmm1, xmm2
minss xmm1, xmm4
mov eax, dword [esp + 0x78]
movss xmm0, dword [eax + 0x5c]
subss xmm0, xmm1
addss xmm0, dword [esp + 0xdc]
movss dword [esp + 0xdc], xmm0
movss dword [eax + 0x5c], xmm1
mov byte [edi + 0xe6c], 0
movss xmm0, dword [esp + 0xd8]
movss dword [esp + 0x44], xmm0
cmp byte [esp + 0x84], 0
movss xmm3, dword [edi + 0x38]
movss dword [esp + 0x74], xmm3
je 0x1006e4f5
mov edx, dword [edi + 0x44]
mov eax, edx
mov ecx, dword [edi + 0x40]
cmp ecx, edx
mov esi, dword [esp + 0x38]
cmovl eax, ecx
cmovge edx, ecx
cmp byte [esp + 0x27], 0
lea esi, [esi + eax*2]
mov eax, dword [esp + 0x38]
lea eax, [eax + edx*2]
mov dword [esp + 0x7c], eax
je 0x1006e215
movss xmm0, dword [0x10150be4]
jmp 0x1006e21d
movss xmm0, dword [0x10150ba0]
mov ecx, 0x2f
call fcn.10041580
cmp byte [esp + 0x34], 0
mov dword [esp + 0x90], eax
je 0x1006e23d
xorps xmm0, xmm0
xorps xmm5, xmm5
jmp 0x1006e24d
movss xmm5, dword [0x10150da0]
movss xmm0, dword [0x10150c18]
addss xmm7, dword [esp + 0x44]
addss xmm6, dword [esp + 0xdc]
movss xmm3, dword [esp + 0x74]
mov ecx, dword [esp + 0x7c]
movss dword [esp + 0x88], xmm0
movss dword [esp + 0x84], xmm5
subss xmm7, xmm3
movss dword [esp + 0x8c], xmm6
cmp esi, ecx
jae 0x1006e4ef
movss xmm1, dword [esp + 0x68]
mov edi, dword [0x10159260]
mov edx, dword [esp + 0x14]
nop dword [eax]
movss xmm3, dword [edx + 0x1930]
movaps xmm0, xmm3
addss xmm0, xmm1
comiss xmm6, xmm0
ja 0x1006e4e5
movss xmm0, dword [esp + 0xc4]
comiss xmm0, xmm6
jbe 0x1006e2e9
cmp esi, ecx
jae 0x1006e4b1
nop
mov ax, word [esi]
add esi, 2
cmp ax, 0xa
je 0x1006e4b1
cmp esi, ecx
jb 0x1006e2d0
jmp 0x1006e4b1
mov edx, dword [edi + 0x192c]
xorps xmm0, xmm0
movss xmm2, dword [edi + 0x1930]
xorps xmm4, xmm4
xorps xmm1, xmm1
divss xmm2, dword [edx + 0x10]
cmp esi, ecx
jae 0x1006e350
nop dword [eax]
movzx eax, word [esi]
add esi, 2
cmp eax, 0xa
je 0x1006e371
cmp eax, 0xd
je 0x1006e341
mov ecx, eax
cmp ecx, dword [edx]
jge 0x1006e330
mov eax, dword [edx + 8]
movss xmm0, dword [eax + ecx*4]
jmp 0x1006e335
movss xmm0, dword [edx + 0xc]
mov ecx, dword [esp + 0x7c]
mulss xmm0, xmm2
addss xmm1, xmm0
cmp esi, ecx
jb 0x1006e310
xorps xmm0, xmm0
comiss xmm1, xmm4
jbe 0x1006e350
movaps xmm4, xmm1
comiss xmm0, xmm4
mov edx, dword [esp + 0x14]
jb 0x1006e399
mov eax, dword [edx + 0x192c]
cmp dword [eax], 0x20
jle 0x1006e381
mov eax, dword [eax + 8]
movss xmm0, dword [eax + 0x80]
jmp 0x1006e386
xorps xmm0, xmm0
comiss xmm0, xmm1
jae 0x1006e37c
movaps xmm4, xmm1
xorps xmm1, xmm1
jmp 0x1006e348
movss xmm0, dword [eax + 0xc]
mulss xmm0, dword [0x10150b98]
cvttss2si eax, xmm0
movd xmm4, eax
cvtdq2ps xmm4, xmm4
movss xmm2, dword [esp + 0xc4]
addss xmm4, xmm7
movaps xmm0, xmm5
movaps xmm1, xmm6
addss xmm1, dword [esp + 0x88]
movss xmm5, dword [esp + 0x28]
subss xmm0, xmm3
movss xmm3, dword [esp + 0xc0]
maxss xmm3, xmm7
minss xmm4, xmm5
addss xmm0, xmm6
movss dword [esp + 0xa0], xmm3
movss dword [esp + 0xa8], xmm4
maxss xmm2, xmm0
movss xmm0, dword [esp + 0x68]
minss xmm1, xmm0
movss dword [esp + 0xa4], xmm2
comiss xmm1, dword [esp + 0xc4]
movss dword [esp + 0xac], xmm1
jbe 0x1006e4ab
comiss xmm0, xmm2
jbe 0x1006e4ab
comiss xmm4, dword [esp + 0xc0]
jbe 0x1006e4ab
comiss xmm5, xmm3
jbe 0x1006e4ab
push 0
push ecx
mov dword [esp], 0
lea eax, [esp + 0xb0]
push dword [esp + 0x98]
push eax
lea eax, [esp + 0xb0]
push eax
mov eax, dword [esp + 0x8c]
mov ecx, dword [eax + 0x288]
call fcn.10058240
movss xmm0, dword [esp + 0x60]
movss xmm6, dword [esp + 0xd8]
mov edi, dword [0x10159260]
mov ecx, dword [esp + 0x7c]
mov edx, dword [esp + 0x14]
movss dword [esp + 0x60], xmm0
movss xmm0, dword [esp + 0xbc]
movss dword [esp + 0x44], xmm6
movss xmm6, dword [esp + 0x8c]
movss dword [esp + 0xbc], xmm0
movss xmm1, dword [esp + 0x68]
movss xmm7, dword [esp + 0x44]
movss xmm3, dword [esp + 0x74]
movss xmm5, dword [esp + 0x84]
subss xmm7, xmm3
addss xmm6, dword [edx + 0x1930]
movss dword [esp + 0x8c], xmm6
cmp esi, ecx
jb 0x1006e2a0
jmp 0x1006e4eb
movss xmm3, dword [esp + 0x74]
mov edi, dword [esp + 0x58]
mov ecx, dword [0x10159260]
cmp byte [esp + 0x34], 0
mov edx, dword [esp + 0x4c]
jne 0x1006e510
mov eax, edx
sub eax, dword [ebp + 8]
cmp eax, 0x200000
jge 0x1006e76a
movzx eax, byte [esp + 0x1e]
xorps xmm5, xmm5
movss xmm6, dword [0x10150be4]
add eax, eax
movups xmm0, xmmword [ecx + eax*8 + 0x15dc]
comiss xmm5, xmm0
movaps xmm1, xmm0
movaps xmmword [esp + 0xa0], xmm0
shufps xmm1, xmm0, 0xff
mulss xmm1, dword [ecx + 0x1518]
jbe 0x1006e54b
xorps xmm0, xmm0
jmp 0x1006e54f
minss xmm0, xmm6
movss xmm2, dword [0x10150d14]
movss xmm4, dword [0x10150b98]
mulss xmm0, xmm2
addss xmm0, xmm4
cvttss2si ecx, xmm0
movss xmm0, dword [esp + 0xa4]
shl ecx, 0x10
comiss xmm5, xmm0
jbe 0x1006e581
xorps xmm0, xmm0
jmp 0x1006e585
minss xmm0, xmm6
mulss xmm0, xmm2
addss xmm0, xmm4
cvttss2si eax, xmm0
movss xmm0, dword [esp + 0xa8]
shl eax, 8
or ecx, eax
comiss xmm5, xmm0
jbe 0x1006e5a9
xorps xmm0, xmm0
jmp 0x1006e5ad
minss xmm0, xmm6
mulss xmm0, xmm2
addss xmm0, xmm4
cvttss2si eax, xmm0
or ecx, eax
comiss xmm5, xmm1
jbe 0x1006e5c5
xorps xmm1, xmm1
jmp 0x1006e5c9
minss xmm1, xmm6
mov eax, dword [esp + 0x78]
mulss xmm1, xmm2
mov dword [esp + 0x90], 0
movss xmm0, dword [esp + 0xdc]
movss dword [esp + 0x70], xmm0
addss xmm1, xmm4
cvttss2si esi, xmm1
movss xmm1, dword [esp + 0x44]
shl esi, 0x18
subss xmm1, xmm3
or esi, ecx
mov ecx, dword [eax + 0x288]
mov eax, dword [esp + 0x14]
cmp byte [esp + 0x34], 0
mov dword [esp + 0x88], ecx
movss dword [esp + 0x6c], xmm1
mov eax, dword [eax + 0x192c]
mov dword [esp + 0x7c], eax
mov eax, dword [esp + 0x14]
movss xmm2, dword [eax + 0x1930]
mov eax, edx
lea edx, [esp + 0xe0]
mov dword [esp + 0x28], eax
cmovne edx, dword [esp + 0x90]
test esi, 0xff000000
je 0x1006e76d
cmp dword [esp + 0x4c], 0
jne 0x1006e68e
mov ecx, dword [ebp + 8]
lea eax, [ecx + 1]
mov dword [esp + 0x90], eax
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1006e670
sub ecx, dword [esp + 0x90]
mov eax, dword [ebp + 8]
add eax, ecx
mov ecx, dword [esp + 0x88]
mov dword [esp + 0x28], eax
cmp dword [ebp + 8], eax
je 0x1006e76d
cmp dword [esp + 0x7c], 0
jne 0x1006e6a8
mov eax, dword [ecx + 0x2c]
mov eax, dword [eax + 8]
mov dword [esp + 0x7c], eax
ucomiss xmm2, xmm5
lahf
test ah, 0x44
jp 0x1006e6b9
mov eax, dword [ecx + 0x2c]
movss xmm2, dword [eax + 0xc]
movups xmm0, xmmword [ecx + 0x60]
movups xmmword [esp + 0xa0], xmm0
test edx, edx
je 0x1006e734
movss xmm1, dword [edx]
movss xmm0, dword [esp + 0xa0]
comiss xmm0, xmm1
jae 0x1006e6e8
movss dword [esp + 0xa0], xmm1
movss xmm1, dword [edx + 4]
movss xmm0, dword [esp + 0xa4]
comiss xmm0, xmm1
jae 0x1006e704
movss dword [esp + 0xa4], xmm1
movss xmm0, dword [edx + 8]
comiss xmm0, dword [esp + 0xa8]
ja 0x1006e71c
movss dword [esp + 0xa8], xmm0
movss xmm0, dword [edx + 0xc]
comiss xmm0, dword [esp + 0xac]
ja 0x1006e734
movss dword [esp + 0xac], xmm0
push dword [esp + 0x70]
test edx, edx
push dword [esp + 0x70]
setne al
movzx eax, al
push eax
push ecx
mov dword [esp], 0
lea eax, [esp + 0xb0]
push dword [esp + 0x38]
push dword [ebp + 8]
push eax
push esi
push ecx
mov ecx, dword [esp + 0xa0]
call fcn.1005aeb0
xorps xmm5, xmm5
cmp byte [esp + 0x27], 0
mov esi, dword [esp + 0x14]
je 0x1006dbe3
movss xmm0, dword [esi + 0x18]
addss xmm0, dword [edi + 0xe68]
movss dword [edi + 0xe68], xmm0
cmp byte [esi + 0xb2], 0
movss dword [esp + 0x90], xmm0
je 0x1006e7d7
comiss xmm5, xmm0
jae 0x1006e7d7
fld dword [esp + 0x90]
fld dword [0x10150bf4]
call fcn.101267d0
movss xmm0, dword [0x10150bc4]
fstp dword [esp + 0x90]
comiss xmm0, dword [esp + 0x90]
jae 0x1006e7d7
xor al, al
jmp 0x1006e7d9
mov al, 1
movss xmm4, dword [esp + 0x64]
movss xmm3, dword [esp + 0x5c]
movss xmm6, dword [0x10150be4]
addss xmm4, dword [esp + 0xdc]
addss xmm3, dword [esp + 0xd8]
movss dword [esp + 0x64], xmm4
movaps xmm0, xmm4
movaps xmm1, xmm4
subss xmm3, dword [esp + 0x74]
subss xmm0, dword [esi + 0x1930]
subss xmm1, dword [0x10150c00]
movss dword [esp + 0x5c], xmm3
movaps xmm2, xmm3
movss dword [esp + 0xe0], xmm3
addss xmm2, xmm6
movss dword [esp + 0xec], xmm1
addss xmm0, dword [0x10150b98]
movss dword [esp + 0xe8], xmm2
movss dword [esp + 0xe4], xmm0
test al, al
je 0x1006e8ef
comiss xmm1, dword [esp + 0xc4]
jbe 0x1006e8ef
movss xmm5, dword [esp + 0xbc]
comiss xmm5, xmm0
jbe 0x1006e8ef
comiss xmm2, dword [esp + 0xc0]
jbe 0x1006e8ef
movss xmm0, dword [esp + 0x60]
comiss xmm0, xmm3
jbe 0x1006e8ef
sub esp, 8
movss dword [esp + 0x74], xmm3
movaps xmm0, xmm6
movss dword [esp + 0x78], xmm1
xor ecx, ecx
mov dword [esp + 4], 0x3f800000
call fcn.10041580
add esp, 4
push eax
lea eax, [esp + 0x74]
push eax
lea eax, [esp + 0xec]
push eax
mov eax, dword [esp + 0x88]
mov ecx, dword [eax + 0x288]
call fcn.10058020
movss xmm3, dword [esp + 0x5c]
movss xmm4, dword [esp + 0x64]
movss xmm6, dword [0x10150be4]
cmp byte [esp + 0x40], 0
jne 0x1006dbe3
subss xmm4, dword [esi + 0x1930]
subss xmm3, xmm6
movss dword [esi + 0x2e84], xmm4
movss dword [esi + 0x2e80], xmm3
jmp 0x1006dbe3
mov esi, dword [esp + 0x14]
jmp 0x1006dbe6