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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x120
mov eax, dword [0x10167080]
xor eax, esp
mov dword [esp + 0x11c], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x2c], edx
mov edx, ecx
mov ecx, dword [0x1021abec]
mov dword [esp + 0x68], eax
push esi
mov esi, dword [ebp + 8]
mov eax, dword [ecx + 0x199c]
push edi
mov dword [esp + 0x10], ecx
mov dword [esp + 0x60], edx
mov byte [eax + 0x78], 1
mov eax, dword [ecx + 0x199c]
mov ecx, edx
mov dword [esp + 0x78], eax
mov edi, dword [eax + 0x270]
mov dword [esp + 0x94], edi
call fcn.10076d00
call fcn.10076df0
mov edx, esi
or edx, 0x10
test esi, 0x100
cmovne edx, esi
mov dword [esp + 0x9c], edx
test dl, 8
jne 0x1008d8a1
mov ecx, dword [esp + 0x34]
call fcn.10090de0
mov edx, dword [esp + 0x9c]
mov esi, dword [esp + 0x10]
test edx, 0x6000000
jne 0x1008d8ca
mov eax, dword [esi + 0x2be0]
mov ecx, 0x2900000
test eax, 0x6000000
cmovne ecx, eax
and ecx, 0x6000000
or ecx, edx
jmp 0x1008d8cc
mov ecx, edx
mov dword [esp + 0x18], ecx
test cl, 8
jne 0x1008d8e6
mov eax, dword [esi + 0x2be0]
and eax, 0x10000
or ecx, eax
mov dword [esp + 0x18], ecx
mov eax, ecx
mov edx, ecx
and eax, 2
and edx, 0x10002
mov dword [esp + 0xe4], eax
mov eax, dword [esp + 0x78]
mov dword [esp + 0xdc], edx
movss xmm0, dword [eax + 0xc8]
movss xmm4, dword [eax + 0xc4]
mov eax, dword [0x1021abec]
movss dword [esp + 0x24], xmm0
movss dword [esp + 0x3c], xmm0
xorps xmm0, xmm0
movss dword [esp + 0x38], xmm4
movss xmm5, dword [eax + 0x1550]
addss xmm5, xmm5
addss xmm5, dword [eax + 0x18bc]
mov eax, dword [eax + 0x199c]
mov dword [esp + 0x78], eax
movss xmm2, dword [eax + 0x168]
comiss xmm0, xmm2
movss dword [esp + 0x5c], xmm5
jbe 0x1008d9e8
mov ecx, dword [eax + 0x1b8]
movss xmm3, dword [eax + 0xc4]
movss xmm1, dword [eax + 0x210]
mov dword [esp + 0x9c], ecx
subss xmm3, dword [eax + 0xc]
subss xmm1, dword [eax + 0xc]
test ecx, ecx
je 0x1008d9d4
mov edx, dword [ecx + 0xc]
movss xmm0, dword [ecx + 0x14]
lea eax, [edx + 1]
test eax, eax
cmovns edx, eax
lea ecx, [edx*8]
sub ecx, edx
mov edx, dword [esp + 0x9c]
movss xmm1, dword [edx + 0x18]
mov eax, dword [edx + 0x34]
subss xmm1, xmm0
mov edx, dword [esp + 0xdc]
mulss xmm1, dword [eax + ecx*4]
mov eax, dword [esp + 0x78]
addss xmm1, xmm0
subss xmm1, dword [eax + 0x3c]
subss xmm1, xmm3
addss xmm1, xmm2
movss xmm2, dword [0x101519fc]
maxss xmm2, xmm1
movss xmm3, dword [esi + 0x1564]
cvttss2si eax, xmm2
movaps xmm0, xmm3
addss xmm0, xmm5
movd xmm2, eax
xor eax, eax
cmp edx, 0x10000
cvtdq2ps xmm2, xmm2
sete al
inc eax
movd xmm1, eax
xor eax, eax
cvtdq2ps xmm1, xmm1
cmp dword [esp + 0xe4], eax
sete al
mulss xmm1, xmm0
movaps xmm0, xmm5
lea eax, [eax*4 + 0xc]
push eax
push dword [esp + 0x38]
subss xmm2, xmm1
movaps xmm1, xmm4
lea eax, [esp + 0x11c]
push eax
maxss xmm0, xmm2
addss xmm1, xmm0
movss dword [esp + 0x2c], xmm0
addss xmm1, xmm3
movaps xmm0, xmm1
movss dword [esp + 0x90], xmm1
addss xmm0, xmm5
addss xmm0, xmm3
movss dword [esp + 0xd0], xmm0
movaps xmm0, xmm5
mulss xmm0, dword [0x10151984]
cvttss2si esi, xmm0
mov dword [esp + 0x84], esi
call fcn.100dab50
movss xmm4, dword [esp + 0x2c]
add esp, 0xc
movaps xmm3, xmm4
movss xmm6, dword [esp + 0x5c]
mulss xmm3, dword [0x1015199c]
movaps xmm2, xmm4
mov dword [esp + 0x2c], 0
mulss xmm2, dword [0x1015195c]
movaps xmm0, xmm3
movss dword [esp + 0xe0], xmm3
addss xmm0, dword [esp + 0x24]
movss dword [esp + 0x8c], xmm2
movaps xmm1, xmm3
subss xmm1, xmm2
movaps xmm2, xmm4
addss xmm2, xmm6
movss dword [esp + 0xb8], xmm0
movss dword [esp + 0xac], xmm0
movaps xmm0, xmm4
mulss xmm0, dword [0x10151950]
mulss xmm2, dword [0x1015199c]
cvttss2si eax, xmm0
addss xmm2, dword [esp + 0x38]
movss dword [esp + 0x88], xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [esp + 0xbc], xmm2
subss xmm1, xmm0
movss dword [esp + 0xa8], xmm2
movaps xmm0, xmm1
movss dword [esp + 0x28], xmm1
mulss xmm0, dword [0x10151c0c]
movaps xmm2, xmm1
mulss xmm2, dword [0x10151c1c]
movss dword [esp + 0xa4], xmm0
movss dword [esp + 0xe8], xmm0
movss dword [esp + 0xc8], xmm0
movaps xmm0, xmm1
mulss xmm0, dword [0x101519d0]
movss dword [esp + 0x90], xmm2
movss dword [esp + 0xec], xmm2
movss dword [esp + 0x98], xmm0
movss dword [esp + 0xcc], xmm0
mov eax, dword [esp + 0x34]
xorps xmm5, xmm5
movss xmm1, dword [eax + 4]
movss xmm3, dword [eax + 8]
comiss xmm3, xmm1
movss xmm7, dword [eax]
movss dword [esp + 0x80], xmm7
jbe 0x1008dbd2
movss xmm5, dword [0x1013df50]
movaps xmm0, xmm1
movaps xmm1, xmm3
movaps xmm3, xmm0
comiss xmm1, xmm7
jbe 0x1008dbf8
movaps xmm0, xmm7
movss dword [esp + 0x80], xmm1
movaps xmm7, xmm1
movaps xmm1, xmm0
movss xmm0, dword [0x10151c08]
subss xmm0, xmm5
movaps xmm5, xmm0
movaps xmm0, xmm1
movaps xmm2, xmm7
minss xmm0, xmm3
subss xmm1, xmm3
movss xmm3, dword [0x1013df34]
movss dword [esp + 0xd8], xmm3
subss xmm2, xmm0
movaps xmm0, xmm2
mulss xmm0, xmm3
addss xmm0, dword [0x101518ec]
divss xmm1, xmm0
addss xmm1, xmm5
movaps xmm0, xmm1
call fcn.10006ce0
mov ecx, dword [0x1021abec]
movss dword [esp + 0x44], xmm0
movaps xmm0, xmm7
addss xmm0, dword [0x101518ec]
mov byte [esp + 0xe], 0
mov eax, dword [ecx + 0x199c]
mov byte [esp + 0x17], 0
mov byte [esp + 0x16], 0
divss xmm2, xmm0
mov byte [eax + 0x78], 1
mov ecx, dword [ecx + 0x199c]
mov dword [esp + 0x1c], ecx
or dword [ecx + 0x164], 8
add ecx, 0x170
mov dword [esp + 0x30], ecx
mov eax, dword [ecx + 4]
mov edx, dword [ecx]
movss dword [esp + 0x74], xmm2
cmp edx, eax
jne 0x1008dcd5
inc edx
mov dword [esp + 0x9c], edx
test eax, eax
je 0x1008dcb5
cdq
sub eax, edx
mov edx, dword [esp + 0x9c]
sar eax, 1
add eax, dword [ecx + 4]
jmp 0x1008dcba
mov eax, 8
cmp eax, edx
cmovg edx, eax
push edx
call fcn.1007efa0
movss xmm4, dword [esp + 0x20]
movss xmm6, dword [esp + 0x5c]
mov ecx, dword [esp + 0x30]
mov edx, dword [ecx]
mov eax, dword [esp + 0x1c]
mov ecx, dword [ecx + 8]
mov eax, dword [eax + 0x164]
mov dword [ecx + edx*4], eax
mov eax, dword [esp + 0x1c]
inc dword [eax + 0x170]
mov eax, dword [esp + 0x18]
test eax, 0x4000000
je 0x1008e334
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x48]
movaps xmm0, xmm4
movss dword [esp + 0x4c], xmm4
mov ecx, 0x1014a624
addss xmm0, dword [eax + 0x1564]
addss xmm0, xmm6
movss dword [esp + 0x48], xmm0
call fcn.10080fa0
mov eax, dword [0x1021abec]
mov ecx, dword [eax + 0x19bc]
test ecx, ecx
je 0x1008e1c6
mov eax, dword [eax + 0x199c]
cmp ecx, dword [eax + 0x108]
jne 0x1008e1c6
mov eax, dword [esp + 0x10]
movss xmm0, dword [eax + 0x3ac]
subss xmm0, dword [esp + 0xb8]
movss xmm1, dword [eax + 0x3a8]
subss xmm1, dword [esp + 0xbc]
movss xmm4, dword [eax + 0xe4]
movss xmm3, dword [eax + 0xe8]
subss xmm4, dword [esp + 0xbc]
subss xmm3, dword [esp + 0xb8]
movaps xmm2, xmm0
movss dword [esp + 0x64], xmm0
mulss xmm2, xmm0
movaps xmm0, xmm1
mulss xmm0, xmm1
movss dword [esp + 0x30], xmm1
movss xmm1, dword [0x101519fc]
addss xmm2, xmm0
movss dword [esp + 0x1c], xmm4
movss xmm0, dword [esp + 0x88]
subss xmm0, xmm1
movss dword [esp + 0x7c], xmm3
mulss xmm0, xmm0
comiss xmm2, xmm0
jb 0x1008de5d
movss xmm0, dword [esp + 0xe0]
addss xmm0, xmm1
mulss xmm0, xmm0
comiss xmm0, xmm2
jb 0x1008de5d
cvtps2pd xmm0, xmm3
movsd qword [esp + 0x48], xmm0
fld qword [esp + 0x48]
cvtps2pd xmm0, xmm4
movsd qword [esp + 0x48], xmm0
fld qword [esp + 0x48]
call fcn.100fb8f0
movss xmm2, dword [0x10151aa0]
xorps xmm0, xmm0
fstp qword [esp + 0x48]
movsd xmm1, qword [esp + 0x48]
cvtpd2ps xmm1, xmm1
divss xmm1, xmm2
mulss xmm1, dword [0x1015199c]
comiss xmm0, xmm1
movss dword [esp + 0x44], xmm1
jbe 0x1008de55
addss xmm1, dword [0x101519fc]
movss dword [esp + 0x44], xmm1
mov al, 1
mov byte [esp + 0xe], al
jmp 0x1008de6f
mov al, byte [esp + 0xe]
movss xmm2, dword [0x10151aa0]
movss xmm1, dword [esp + 0x44]
movaps xmm0, xmm1
mov byte [esp + 0x17], al
xorps xmm0, xmmword [0x10151fb0]
addss xmm0, xmm0
mulss xmm0, xmm2
cvtss2sd xmm0, xmm0
movsd qword [esp + 0x48], xmm0
call fcn.100fc680
cvtsd2ss xmm0, xmm0
movss dword [esp + 0x9c], xmm0
movsd xmm0, qword [esp + 0x48]
call fcn.100fd620
movss xmm6, dword [esp + 0x9c]
xorps xmm5, xmm5
cvtsd2ss xmm5, xmm0
movss xmm1, dword [esp + 0xa4]
movaps xmm3, xmm6
mulss xmm3, dword [esp + 0x30]
movaps xmm0, xmm5
mulss xmm0, dword [esp + 0x64]
movaps xmm4, xmm6
mulss xmm4, dword [esp + 0x64]
subss xmm3, xmm0
movss dword [esp + 0xc0], xmm5
movaps xmm0, xmm5
movss xmm7, dword [esp + 0x28]
mulss xmm0, dword [esp + 0x30]
movaps xmm5, xmm1
subss xmm5, xmm1
movaps xmm2, xmm3
addss xmm4, xmm0
movss xmm0, dword [esp + 0x90]
subss xmm0, dword [esp + 0x98]
subss xmm2, xmm1
subss xmm7, dword [esp + 0xa4]
movss dword [esp + 0x30], xmm5
movss dword [esp + 0x9c], xmm0
movaps xmm1, xmm2
mulss xmm1, xmm0
movaps xmm0, xmm4
subss xmm0, dword [esp + 0x98]
movss dword [esp + 0x68], xmm7
mulss xmm0, xmm5
xorps xmm5, xmm5
subss xmm1, xmm0
xorps xmm0, xmm0
subss xmm0, dword [esp + 0x90]
comiss xmm5, xmm1
movaps xmm1, xmm0
movss dword [esp + 0x64], xmm0
movaps xmm0, xmm4
mulss xmm1, xmm2
seta cl
subss xmm0, dword [esp + 0x90]
mulss xmm0, xmm7
subss xmm1, xmm0
comiss xmm5, xmm1
seta al
cmp al, cl
jne 0x1008e1be
movss xmm0, dword [esp + 0x98]
subss xmm4, xmm5
subss xmm3, dword [esp + 0x28]
subss xmm0, xmm5
mulss xmm3, xmm0
movss xmm0, dword [esp + 0xa4]
subss xmm0, dword [esp + 0x28]
mulss xmm0, xmm4
subss xmm3, xmm0
comiss xmm5, xmm3
seta al
cmp cl, al
jne 0x1008e1be
movss xmm1, dword [esp + 0xc0]
movaps xmm7, xmm6
mulss xmm7, dword [esp + 0x1c]
movaps xmm0, xmm1
mulss xmm1, dword [esp + 0x1c]
mulss xmm0, dword [esp + 0x7c]
mulss xmm6, dword [esp + 0x7c]
movss xmm4, dword [esp + 0xa4]
subss xmm7, xmm0
addss xmm6, xmm1
movaps xmm1, xmm7
movss dword [esp + 0x48], xmm7
subss xmm1, xmm4
movaps xmm0, xmm6
movss dword [esp + 0x4c], xmm6
subss xmm0, dword [esp + 0x98]
mulss xmm1, dword [esp + 0x9c]
mulss xmm0, dword [esp + 0x30]
subss xmm1, xmm0
movaps xmm0, xmm6
subss xmm0, dword [esp + 0x90]
comiss xmm5, xmm1
mulss xmm0, dword [esp + 0x68]
movaps xmm1, xmm7
subss xmm1, xmm4
seta cl
mulss xmm1, dword [esp + 0x64]
subss xmm1, xmm0
comiss xmm5, xmm1
seta al
cmp al, cl
jne 0x1008e0b8
movss xmm3, dword [esp + 0x28]
movaps xmm2, xmm7
movss xmm0, dword [esp + 0x98]
subss xmm2, xmm3
subss xmm0, xmm5
movaps xmm1, xmm4
subss xmm1, xmm3
mulss xmm2, xmm0
movaps xmm0, xmm6
subss xmm0, xmm5
mulss xmm1, xmm0
subss xmm2, xmm1
comiss xmm5, xmm2
seta al
cmp cl, al
je 0x1008e0fb
lea eax, [esp + 0x48]
push eax
lea eax, [esp + 0xcc]
push eax
lea eax, [esp + 0xf0]
push eax
lea edx, [esp + 0x34]
lea ecx, [esp + 0xa8]
call fcn.1006c0f0
movss xmm3, dword [esp + 0x34]
add esp, 0xc
movss xmm4, dword [esp + 0xa4]
xorps xmm5, xmm5
movss xmm7, dword [eax]
movss xmm6, dword [eax + 4]
movss xmm1, dword [esp + 0x98]
subss xmm7, xmm3
movaps xmm2, xmm4
subss xmm1, xmm5
movss xmm4, dword [esp + 0x90]
subss xmm2, xmm3
subss xmm4, xmm5
subss xmm6, xmm5
movaps xmm3, xmm2
movaps xmm0, xmm4
mulss xmm3, xmm1
mulss xmm0, xmm2
mulss xmm6, xmm2
subss xmm3, xmm0
movss xmm2, dword [0x1015190c]
movaps xmm0, xmm7
movss dword [esp + 0x74], xmm2
mulss xmm0, xmm1
mulss xmm7, xmm4
subss xmm0, xmm6
movss xmm1, dword [0x101519fc]
movaps xmm5, xmm1
subss xmm6, xmm7
divss xmm0, xmm3
divss xmm6, xmm3
subss xmm5, xmm0
comiss xmm2, xmm5
movaps xmm0, xmm5
subss xmm0, xmm6
jbe 0x1008e18c
movaps xmm3, xmm2
movss dword [esp + 0x80], xmm2
jmp 0x1008e19c
movaps xmm3, xmm1
minss xmm3, xmm5
movss dword [esp + 0x80], xmm3
divss xmm0, xmm3
comiss xmm2, xmm0
ja 0x1008e1b2
movaps xmm2, xmm1
minss xmm2, xmm0
movss dword [esp + 0x74], xmm2
mov byte [esp + 0x16], 1
mov byte [esp + 0xe], 1
jmp 0x1008e1c6
mov al, byte [esp + 0xe]
mov byte [esp + 0x17], al
test byte [esp + 0x18], 8
jne 0x1008e23f
mov eax, dword [0x1021abec]
cmp byte [eax + 0x403], 0
mov ecx, dword [eax + 0x199c]
mov dword [esp + 0x68], ecx
je 0x1008e23f
mov ecx, 8
call fcn.1006efa0
test al, al
je 0x1008e23f
mov eax, dword [esp + 0x68]
xor edx, edx
mov ecx, dword [eax + 0x1bc]
mov eax, dword [eax + 0x1c4]
push dword [eax + ecx*4 - 4]
mov ecx, str.context
call fcn.1006c490
mov ecx, eax
add esp, 4
mov eax, dword [0x1021abec]
cmp dword [eax + 0x19bc], ecx
jne 0x1008e22b
mov dword [eax + 0x19c4], ecx
cmp dword [eax + 0x19c0], ecx
jne 0x1008e23a
mov byte [eax + 0x19cf], 1
call fcn.100773c0
movss xmm3, dword [esp + 0x24]
movss xmm4, dword [esp + 0x20]
cmp dword [esp + 0xdc], 0x10000
jne 0x1008e59d
mov ecx, dword [0x1021abec]
lea edx, [esp + 0x48]
movss xmm0, dword [esp + 0xc4]
movss dword [esp + 0x4c], xmm4
mov eax, dword [ecx + 0x199c]
mov byte [eax + 0x78], 1
mov eax, dword [ecx + 0x199c]
mov ecx, str.alpha
movss dword [eax + 0xc4], xmm0
movss dword [eax + 0xc8], xmm3
movss xmm1, dword [eax + 0xdc]
maxss xmm1, xmm0
movss xmm0, dword [eax + 0xe0]
maxss xmm0, xmm3
movss dword [eax + 0xdc], xmm1
movss dword [eax + 0xe0], xmm0
movss xmm0, dword [esp + 0x5c]
movss dword [esp + 0x48], xmm0
call fcn.10080fa0
mov eax, dword [0x1021abec]
mov edx, dword [esp + 0x10]
mov ecx, dword [eax + 0x19bc]
test ecx, ecx
je 0x1008e5a1
mov eax, dword [eax + 0x199c]
cmp ecx, dword [eax + 0x108]
jne 0x1008e5a1
movss xmm3, dword [edx + 0xe8]
xorps xmm2, xmm2
movss xmm0, dword [esp + 0x20]
movss xmm1, dword [0x101519fc]
subss xmm3, dword [esp + 0x24]
subss xmm0, xmm1
divss xmm3, xmm0
comiss xmm2, xmm3
jbe 0x1008e57f
xorps xmm4, xmm4
jmp 0x1008e586
test eax, 0x2000000
je 0x1008e23f
lea edx, [esp + 0x48]
movss dword [esp + 0x48], xmm4
mov ecx, 0x1014a628
movss dword [esp + 0x4c], xmm4
call fcn.10080fa0
mov eax, dword [0x1021abec]
mov ecx, dword [eax + 0x19bc]
test ecx, ecx
je 0x1008e3f4
mov eax, dword [eax + 0x199c]
cmp ecx, dword [eax + 0x108]
jne 0x1008e3ef
mov eax, dword [esp + 0x10]
xorps xmm0, xmm0
movss xmm4, dword [esp + 0x20]
movss xmm1, dword [0x101519fc]
subss xmm4, xmm1
movss xmm2, dword [eax + 0xe4]
subss xmm2, dword [esp + 0x38]
divss xmm2, xmm4
comiss xmm0, xmm2
jbe 0x1008e3b2
movss dword [esp + 0x74], xmm0
jmp 0x1008e3bf
movaps xmm3, xmm1
minss xmm3, xmm2
movss dword [esp + 0x74], xmm3
movss xmm2, dword [eax + 0xe8]
subss xmm2, dword [esp + 0x24]
divss xmm2, xmm4
comiss xmm0, xmm2
ja 0x1008e3dd
movaps xmm0, xmm1
minss xmm0, xmm2
subss xmm1, xmm0
mov byte [esp + 0xe], 1
movss dword [esp + 0x80], xmm1
mov eax, dword [0x1021abec]
test byte [esp + 0x18], 8
mov cl, byte [esp + 0xe]
mov byte [esp + 0x16], cl
mov byte [esp + 0xf], cl
jne 0x1008e474
cmp byte [eax + 0x403], 0
mov ecx, dword [eax + 0x199c]
mov dword [esp + 0x68], ecx
je 0x1008e474
mov ecx, 8
call fcn.1006efa0
test al, al
je 0x1008e474
mov eax, dword [esp + 0x68]
xor edx, edx
mov ecx, dword [eax + 0x1bc]
mov eax, dword [eax + 0x1c4]
push dword [eax + ecx*4 - 4]
mov ecx, str.context
call fcn.1006c490
mov ecx, eax
add esp, 4
mov eax, dword [0x1021abec]
cmp dword [eax + 0x19bc], ecx
jne 0x1008e460
mov dword [eax + 0x19c4], ecx
cmp dword [eax + 0x19c0], ecx
jne 0x1008e46f
mov byte [eax + 0x19cf], 1
call fcn.100773c0
mov ecx, dword [0x1021abec]
lea edx, [esp + 0x48]
movss xmm0, dword [esp + 0x84]
movss xmm2, dword [esp + 0x24]
mov eax, dword [ecx + 0x199c]
mov byte [eax + 0x78], 1
mov eax, dword [ecx + 0x199c]
mov ecx, 0x1014a62c
movss dword [eax + 0xc4], xmm0
movss dword [eax + 0xc8], xmm2
movss xmm1, dword [eax + 0xdc]
maxss xmm1, xmm0
movss xmm0, dword [eax + 0xe0]
maxss xmm0, xmm2
movss dword [eax + 0xdc], xmm1
movss dword [eax + 0xe0], xmm0
movss xmm0, dword [esp + 0x5c]
movss dword [esp + 0x48], xmm0
movss xmm0, dword [esp + 0x20]
movss dword [esp + 0x4c], xmm0
call fcn.10080fa0
mov eax, dword [0x1021abec]
mov ecx, dword [eax + 0x19bc]
test ecx, ecx
je 0x1008e23f
mov eax, dword [eax + 0x199c]
mov dl, byte [esp + 0xe]
mov byte [esp + 0x16], dl
cmp ecx, dword [eax + 0x108]
jne 0x1008e23f
mov eax, dword [esp + 0x10]
movss xmm4, dword [esp + 0x20]
movss xmm3, dword [esp + 0x24]
movaps xmm0, xmm4
movss xmm1, dword [0x101519fc]
movss xmm2, dword [eax + 0xe8]
subss xmm0, xmm1
subss xmm2, xmm3
divss xmm2, xmm0
xorps xmm0, xmm0
comiss xmm0, xmm2
ja 0x1008e562
movaps xmm0, xmm1
minss xmm0, xmm2
mov al, byte [esp + 0xf]
movss dword [esp + 0x44], xmm0
mov byte [esp + 0x17], 1
mov byte [esp + 0xe], 1
mov byte [esp + 0x16], al
jmp 0x1008e24b
movaps xmm4, xmm1
minss xmm4, xmm3
mov eax, dword [esp + 0x34]
movaps xmm0, xmm1
subss xmm0, xmm4
mov byte [esp + 0xe], 1
movss dword [eax + 0xc], xmm0
jmp 0x1008e5a1
mov edx, dword [esp + 0x10]
mov ecx, dword [0x1021abec]
mov eax, dword [ecx + 0x199c]
mov byte [eax + 0x78], 1
mov ecx, dword [ecx + 0x199c]
mov eax, dword [ecx + 0x170]
add eax, 0xffffffff
mov dword [esp + 0x68], eax
mov dword [ecx + 0x170], eax
jne 0x1008e5d0
xor eax, eax
jmp 0x1008e5e5
mov edi, dword [esp + 0x68]
mov eax, dword [ecx + 0x178]
mov eax, dword [eax + edi*4 - 4]
mov edi, dword [esp + 0x94]
mov dword [ecx + 0x164], eax
mov eax, dword [esp + 0x18]
test eax, 0x100
jne 0x1008e60f
movss xmm1, dword [edx + 0x1564]
xorps xmm0, xmm0
call fcn.100770c0
call fcn.10076df0
mov eax, dword [esp + 0x18]
test al, al
js 0x1008e670
mov edx, dword [esp + 0x60]
cmp edx, 0xffffffff
jae 0x1008e670
nop dword [eax]
mov cl, byte [edx]
mov byte [esp + 0xf], cl
test cl, cl
je 0x1008e63a
cmp cl, 0x23
jne 0x1008e634
cmp byte [edx + 1], cl
je 0x1008e63a
inc edx
cmp edx, 0xffffffff
jb 0x1008e620
mov dword [esp + 0x1c], edx
cmp dword [esp + 0x60], edx
je 0x1008e670
test eax, 0x100
je 0x1008e663
mov eax, dword [esp + 0x10]
xorps xmm0, xmm0
movss xmm1, dword [eax + 0x1564]
call fcn.100770c0
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x60]
call fcn.1007f800
mov eax, dword [esp + 0x18]
test eax, 0x100
jne 0x1008e8c2
mov ecx, dword [0x1021abec]
mov eax, dword [ecx + 0x199c]
mov byte [eax + 0x78], 1
mov ecx, dword [ecx + 0x199c]
mov dword [esp + 0x1c], ecx
or dword [ecx + 0x164], 0x10
add ecx, 0x170
mov dword [esp + 0x7c], ecx
mov eax, dword [ecx + 4]
mov edx, dword [ecx]
cmp edx, eax
jne 0x1008e6da
inc edx
mov dword [esp + 0x68], edx
test eax, eax
je 0x1008e6c6
cdq
sub eax, edx
mov edx, dword [esp + 0x68]
sar eax, 1
add eax, dword [ecx + 4]
jmp 0x1008e6cb
mov eax, 8
cmp eax, edx
cmovg edx, eax
push edx
call fcn.1007efa0
mov ecx, dword [esp + 0x7c]
mov edx, dword [ecx]
mov ecx, dword [ecx + 8]
mov eax, dword [esp + 0x1c]
mov eax, dword [eax + 0x164]
mov dword [ecx + edx*4], eax
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
inc dword [eax + 0x170]
mov eax, dword [esp + 0x34]
test cl, 2
je 0x1008e70d
movss xmm1, dword [0x101519fc]
jmp 0x1008e712
movss xmm1, dword [eax + 0xc]
movss xmm0, dword [eax]
movss dword [esp + 0xc8], xmm0
movss xmm0, dword [eax + 4]
movss dword [esp + 0xcc], xmm0
movss xmm0, dword [eax + 8]
movss dword [esp + 0xd0], xmm0
movss dword [esp + 0xd4], xmm1
test cl, cl
jns 0x1008e759
push str.Current
call fcn.1007fea0
mov ecx, dword [esp + 0x1c]
add esp, 4
movss xmm1, dword [esp + 0x5c]
lea edx, [esp + 0xc8]
movaps xmm0, xmm1
and ecx, 0xe0040
mulss xmm0, dword [0x10151a9c]
mov dword [esp + 0xc0], ecx
movss dword [esp + 0x48], xmm0
movss dword [esp + 0x68], xmm0
movaps xmm0, xmm1
addss xmm0, xmm1
movss dword [esp + 0x4c], xmm0
push dword [esp + 0x4c]
movss dword [esp + 0x80], xmm0
push dword [esp + 0x4c]
push ecx
mov ecx, str.current
call fcn.1008fea0
add esp, 0xc
cmp dword [esp + 0x70], 0
je 0x1008e882
push str.Original
call fcn.1007fea0
mov eax, dword [esp + 0x74]
add esp, 4
test byte [esp + 0x18], 2
je 0x1008e7e3
movss xmm1, dword [0x101519fc]
jmp 0x1008e7e8
movss xmm1, dword [eax + 0xc]
movss xmm0, dword [eax]
lea edx, [esp + 0xe8]
movss dword [esp + 0xe8], xmm0
mov ecx, str.original
movss xmm0, dword [eax + 4]
movss dword [esp + 0xec], xmm0
movss xmm0, dword [eax + 8]
movss dword [esp + 0xf0], xmm0
movss xmm0, dword [esp + 0x68]
movss dword [esp + 0x48], xmm0
movss xmm0, dword [esp + 0x7c]
movss dword [esp + 0x4c], xmm0
push dword [esp + 0x4c]
movss dword [esp + 0xf8], xmm1
push dword [esp + 0x4c]
push dword [esp + 0xc8]
call fcn.1008fea0
add esp, 0xc
test al, al
je 0x1008e882
xor eax, eax
cmp dword [esp + 0xe4], eax
sete al
lea eax, [eax*4 + 0xc]
push eax
push dword [esp + 0x74]
push dword [esp + 0x3c]
call fcn.100dab50
add esp, 0xc
mov byte [esp + 0xe], 1
mov ecx, dword [0x1021abec]
mov eax, dword [ecx + 0x199c]
mov byte [eax + 0x78], 1
mov ecx, dword [ecx + 0x199c]
mov edx, dword [ecx + 0x170]
sub edx, 1
mov dword [ecx + 0x170], edx
jne 0x1008e8ad
xor eax, eax
jmp 0x1008e8b7
mov eax, dword [ecx + 0x178]
mov eax, dword [eax + edx*4 - 4]
mov dword [ecx + 0x164], eax
call fcn.10076f30
cmp byte [esp + 0x17], 0
jne 0x1008e8d0
cmp byte [esp + 0x16], 0
je 0x1008e92f
mov eax, dword [esp + 0x34]
xorps xmm0, xmm0
movss xmm1, dword [esp + 0x80]
comiss xmm1, xmm0
lea ecx, [eax + 8]
lea edx, [eax + 4]
jbe 0x1008e8f0
movaps xmm3, xmm1
jmp 0x1008e8f8
movss xmm3, dword [0x101518f4]
movss xmm1, dword [esp + 0x74]
comiss xmm1, xmm0
movss xmm2, dword [0x101518fc]
ja 0x1008e90e
movaps xmm1, xmm2
movss xmm0, dword [esp + 0x44]
comiss xmm0, dword [0x101519fc]
jb 0x1008e921
subss xmm0, xmm2
push ecx
mov ecx, eax
movaps xmm2, xmm3
call fcn.1006cc50
add esp, 4
test byte [esp + 0x18], 0x20
mov byte [esp + 0xf], 0
jne 0x1008ebfd
cmp dword [esp + 0xdc], 0x10000
jne 0x1008e957
movss xmm0, dword [esp + 0xc4]
jmp 0x1008e960
movss xmm0, dword [esp + 0x84]
addss xmm0, dword [esp + 0x5c]
mov ecx, dword [0x1021abec]
subss xmm0, dword [esp + 0x38]
mov eax, dword [ecx + 0x199c]
ucomiss xmm0, dword [0x1013df4c]
mov byte [eax + 0x78], 1
mov ecx, dword [ecx + 0x199c]
mov dword [esp + 0x1c], ecx
lahf
test ah, 0x44
jp 0x1008e99b
movss xmm0, dword [ecx + 0x21c]
movss dword [ecx + 0x168], xmm0
add ecx, 0x17c
mov dword [esp + 0x7c], ecx
mov eax, dword [ecx + 4]
mov edx, dword [ecx]
cmp edx, eax
jne 0x1008e9e1
inc edx
mov dword [esp + 0x68], edx
test eax, eax
je 0x1008e9cd
cdq
sub eax, edx
mov edx, dword [esp + 0x68]
sar eax, 1
add eax, dword [ecx + 4]
jmp 0x1008e9d2
mov eax, 8
cmp eax, edx
cmovg edx, eax
push edx
call fcn.1007efa0
mov ecx, dword [esp + 0x7c]
mov edx, dword [ecx]
mov ecx, dword [ecx + 8]
mov eax, dword [esp + 0x1c]
mov eax, dword [eax + 0x168]
mov dword [ecx + edx*4], eax
mov eax, dword [esp + 0x1c]
inc dword [eax + 0x17c]
mov eax, dword [esp + 0x18]
mov ecx, eax
and ecx, 0x18e001a
mov dword [esp + 0x60], ecx
test eax, 0x100000
jne 0x1008ea1b
test eax, 0x700000
jne 0x1008ea64
mov edx, dword [esp + 0x34]
or ecx, 0x100004
push ecx
mov ecx, str.rgb
call fcn.1008c1a0
add esp, 4
test al, al
je 0x1008ea5c
mov eax, dword [esp + 0x10]
cmp dword [eax + 0x19bc], 0
je 0x1008ea52
cmp byte [eax + 0x19cd], 0
mov byte [esp + 0xf], 1
je 0x1008ea57
mov byte [esp + 0xf], 0
mov byte [esp + 0xe], 1
mov ecx, dword [esp + 0x60]
mov eax, dword [esp + 0x18]
test eax, 0x200000
jne 0x1008ea72
test eax, 0x700000
jne 0x1008ea92
mov edx, dword [esp + 0x34]
or ecx, 0x200004
push ecx
mov ecx, str.hsv
call fcn.1008c1a0
add esp, 4
or byte [esp + 0xe], al
mov eax, dword [esp + 0x18]
test eax, 0x400000
jne 0x1008eaa0
test eax, 0x700000
jne 0x1008eabf
mov eax, dword [esp + 0x60]
mov ecx, str.hex
mov edx, dword [esp + 0x34]
or eax, 0x400004
push eax
call fcn.1008c1a0
add esp, 4
or byte [esp + 0xe], al
mov ecx, dword [0x1021abec]
mov eax, dword [ecx + 0x199c]
mov byte [eax + 0x78], 1
mov ecx, dword [ecx + 0x199c]
mov edx, dword [ecx + 0x17c]
sub edx, 1
mov dword [ecx + 0x17c], edx
jne 0x1008eaf0
movss xmm0, dword [ecx + 0x21c]
jmp 0x1008eafc
mov eax, dword [ecx + 0x184]
movss xmm0, dword [eax + edx*4 - 4]
cmp byte [esp + 0xf], 0
movss dword [ecx + 0x168], xmm0
je 0x1008ebfd
mov ecx, dword [esp + 0x34]
xorps xmm2, xmm2
xorps xmm6, xmm6
movss xmm3, dword [ecx + 4]
movss xmm5, dword [ecx + 8]
comiss xmm5, xmm3
movss xmm4, dword [ecx]
jbe 0x1008eb3d
movss xmm6, dword [0x1013df50]
movaps xmm0, xmm3
movaps xmm3, xmm5
movaps xmm5, xmm0
comiss xmm3, xmm4
jbe 0x1008eb5a
movaps xmm0, xmm4
movaps xmm4, xmm3
movaps xmm3, xmm0
movss xmm0, dword [0x10151c08]
subss xmm0, xmm6
movaps xmm6, xmm0
movaps xmm0, xmm3
movaps xmm1, xmm4
minss xmm0, xmm5
subss xmm3, xmm5
subss xmm1, xmm0
movaps xmm0, xmm4
addss xmm0, dword [0x101518ec]
movaps xmm7, xmm1
mulss xmm1, dword [0x1013df34]
divss xmm7, xmm0
addss xmm1, dword [0x101518ec]
divss xmm3, xmm1
addss xmm3, xmm6
movaps xmm0, xmm3
call fcn.10006ce0
comiss xmm2, xmm0
jb 0x1008ebfd
movss xmm0, dword [esp + 0x44]
comiss xmm0, xmm2
jbe 0x1008ebfd
comiss xmm2, xmm4
jb 0x1008ebd8
movss xmm1, dword [esp + 0x80]
ucomiss xmm1, xmm4
lahf
test ah, 0x44
jnp 0x1008ebd8
movaps xmm2, xmm1
movss xmm1, dword [esp + 0x74]
mulss xmm2, dword [0x1015199c]
jmp 0x1008ebee
comiss xmm2, xmm7
jb 0x1008ebfd
movss xmm1, dword [esp + 0x74]
movaps xmm2, xmm4
mulss xmm1, dword [0x1015199c]
lea eax, [ecx + 8]
push eax
lea edx, [ecx + 4]
call fcn.1006cc50
add esp, 4
movaps xmm0, xmmword [0x10151e50]
lea eax, [esp + 0x50]
movss xmm2, dword [0x101519fc]
lea edx, [esp + 0x4c]
movups xmmword [esp + 0x48], xmm0
lea ecx, [esp + 0x48]
movss xmm0, dword [esp + 0x44]
movaps xmm1, xmm2
push eax
call fcn.1006cc50
movups xmm3, xmmword [esp + 0x4c]
add esp, 4
movss xmm2, dword [0x101519fc]
xorps xmm1, xmm1
comiss xmm1, xmm3
jbe 0x1008ec49
xorps xmm0, xmm0
jmp 0x1008ec50
movaps xmm0, xmm2
minss xmm0, xmm3
movss xmm3, dword [0x10151b90]
movss xmm4, dword [0x1015199c]
movss xmm5, dword [esp + 0x4c]
comiss xmm1, xmm5
mulss xmm0, xmm3
addss xmm0, xmm4
cvttss2si ecx, xmm0
jbe 0x1008ec7c
xorps xmm0, xmm0
jmp 0x1008ec83
movaps xmm0, xmm2
minss xmm0, xmm5
movss xmm5, dword [esp + 0x50]
mulss xmm0, xmm3
addss xmm0, xmm4
cvttss2si eax, xmm0
shl eax, 8
or ecx, eax
comiss xmm1, xmm5
jbe 0x1008eca4
xorps xmm0, xmm0
jmp 0x1008ecab
movaps xmm0, xmm2
minss xmm0, xmm5
movss xmm5, dword [esp + 0x54]
mulss xmm0, xmm3
addss xmm0, xmm4
cvttss2si eax, xmm0
shl eax, 0x10
or ecx, eax
comiss xmm1, xmm5
jbe 0x1008eccc
xorps xmm0, xmm0
jmp 0x1008ecd3
movaps xmm0, xmm2
minss xmm0, xmm5
mov eax, dword [esp + 0x34]
mulss xmm0, xmm3
movss xmm5, dword [eax]
movss xmm6, dword [eax + 4]
addss xmm0, xmm4
movss xmm7, dword [eax + 8]
cvttss2si edx, xmm0
shl edx, 0x18
or edx, ecx
comiss xmm1, xmm5
mov dword [esp + 0x60], edx
jbe 0x1008ed04
xorps xmm0, xmm0
jmp 0x1008ed0b
movaps xmm0, xmm2
minss xmm0, xmm5
comiss xmm1, xmm6
mulss xmm0, xmm3
addss xmm0, xmm4
cvttss2si ecx, xmm0
jbe 0x1008ed21
xorps xmm0, xmm0
jmp 0x1008ed28
movaps xmm0, xmm2
minss xmm0, xmm6
mulss xmm0, xmm3
addss xmm0, xmm4
cvttss2si eax, xmm0
shl eax, 8
or ecx, eax
comiss xmm1, xmm7
jbe 0x1008ed43
xorps xmm0, xmm0
jmp 0x1008ed4a
movaps xmm0, xmm2
minss xmm0, xmm7
mulss xmm0, xmm3
mov dword [esp + 0xf8], 0xff0000ff
mov dword [esp + 0xfc], 0xff00ffff
mov dword [esp + 0x100], 0xff00ff00
addss xmm0, xmm4
mov dword [esp + 0x104], 0xffffff00
mov dword [esp + 0x108], 0xffff0000
mov dword [esp + 0x10c], 0xffff00ff
mov dword [esp + 0x110], 0xff0000ff
mov dword [esp + 0x4c], 0
cvttss2si eax, xmm0
mov dword [esp + 0x48], 0
shl eax, 0x10
or ecx, eax
mov eax, dword [esp + 0x18]
or ecx, 0xff000000
mov dword [esp + 0x9c], ecx
test eax, 0x4000000
je 0x1008f75d
movss xmm0, dword [esp + 0xe0]
mov eax, 0x2aaaaaab
movss xmm3, dword [0x10151a30]
movss xmm5, dword [esp + 0x88]
divss xmm3, xmm0
cvttss2si ecx, xmm0
addss xmm5, xmm0
movss dword [esp + 0xe8], xmm3
imul ecx
mulss xmm5, xmm4
mov eax, 4
sar edx, 1
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
movss dword [esp + 0xc8], xmm5
cmp ecx, eax
cmovle ecx, eax
xor esi, esi
mov dword [esp + 0x38], ecx
mov dword [esp + 0x30], esi
movd xmm0, esi
cvtdq2ps xmm0, xmm0
mov eax, dword [edi + 0x18]
push ecx
push ecx
mov dword [esp + 0x6c], eax
mov ecx, edi
lea eax, [esp + 0xb0]
movaps xmm1, xmm0
addss xmm0, xmm2
divss xmm1, dword [0x1013df34]
divss xmm0, dword [0x1013df34]
addss xmm1, xmm1
movaps xmm2, xmm5
addss xmm0, xmm0
mulss xmm1, dword [0x10151aa0]
mulss xmm0, dword [0x10151aa0]
subss xmm1, xmm3
addss xmm0, xmm3
movaps xmm3, xmm1
movss dword [esp + 0x24], xmm1
movss dword [esp], xmm0
push eax
movss dword [esp + 0x7c], xmm0
call fcn.100a8c20
movss xmm0, dword [esp + 0x8c]
push ecx
movss dword [esp], xmm0
mov ecx, edi
push 0
push 0xffffffffffffffff
push dword [edi + 0x54]
push dword [edi + 0x5c]
call fcn.100a7b30
mov eax, dword [edi + 0x58]
test eax, eax
jns 0x1008eee2
cdq
sub eax, edx
mov ecx, eax
xor eax, eax
sar ecx, 1
add ecx, dword [edi + 0x58]
test ecx, ecx
cmovg eax, ecx
lea ecx, [edi + 0x54]
push eax
call fcn.1007f620
movss xmm0, dword [esp + 0x1c]
cvtps2pd xmm0, xmm0
mov dword [edi + 0x54], 0
call fcn.100fc680
movss xmm1, dword [esp + 0x1c]
cvtsd2ss xmm0, xmm0
mulss xmm0, dword [esp + 0x88]
addss xmm0, dword [esp + 0xbc]
movss dword [esp + 0x7c], xmm0
cvtps2pd xmm0, xmm1
call fcn.100fd620
cvtsd2ss xmm0, xmm0
mulss xmm0, dword [esp + 0x88]
addss xmm0, dword [esp + 0xb8]
movss dword [esp + 0xc0], xmm0
movss xmm0, dword [esp + 0x70]
cvtps2pd xmm0, xmm0
call fcn.100fc680
movss xmm1, dword [esp + 0x70]
cvtsd2ss xmm0, xmm0
mulss xmm0, dword [esp + 0x88]
addss xmm0, dword [esp + 0xbc]
movss dword [esp + 0x68], xmm0
cvtps2pd xmm0, xmm1
call fcn.100fd620
movss xmm3, dword [esp + 0x68]
lea eax, [esp + 0xfc]
mov eax, dword [eax + esi*4]
xorps xmm4, xmm4
movss xmm5, dword [esp + 0x7c]
movss xmm6, dword [esp + 0xc0]
subss xmm3, xmm5
mov ecx, dword [edi + 0x20]
cvtsd2ss xmm4, xmm0
mov edx, dword [esp + esi*4 + 0xf8]
mov dword [esp + 0x1c], eax
mov eax, dword [edi + 0x18]
movss xmm2, dword [0x101519fc]
movaps xmm0, xmm3
mulss xmm4, dword [esp + 0x88]
movaps xmm7, xmm2
lea eax, [eax + eax*4]
lea eax, [ecx + eax*4]
mulss xmm0, xmm3
mov dword [esp + 0x84], eax
addss xmm4, dword [esp + 0xb8]
mov eax, dword [esp + 0x64]
subss xmm4, xmm6
lea eax, [eax + eax*4]
lea eax, [ecx + eax*4]
mov dword [esp + 0x18], eax
movaps xmm1, xmm4
mulss xmm1, xmm4
addss xmm1, xmm0
divss xmm7, xmm1
cmp eax, dword [esp + 0x84]
jae 0x1008f140
movzx eax, dl
mov dword [esp + 0x70], eax
mov eax, edx
shr eax, 8
movzx esi, al
mov eax, dword [esp + 0x1c]
shr eax, 0x10
movzx ecx, al
mov eax, dword [esp + 0x1c]
shr edx, 0x10
movzx edx, dl
shr eax, 8
sub ecx, edx
mov dword [esp + 0x64], edx
movzx edx, al
mov eax, dword [esp + 0x1c]
sub edx, esi
movzx edi, al
sub edi, dword [esp + 0x70]
mov eax, dword [esp + 0x18]
mov dword [esp + 0x68], esi
mov esi, dword [esp + 0x64]
nop word [eax + eax]
movss xmm0, dword [eax]
movss xmm1, dword [eax + 4]
subss xmm0, xmm5
subss xmm1, xmm6
mulss xmm0, xmm3
mulss xmm1, xmm4
addss xmm1, xmm0
xorps xmm0, xmm0
mulss xmm1, xmm7
comiss xmm0, xmm1
jbe 0x1008f08e
xorps xmm2, xmm2
jmp 0x1008f092
minss xmm2, xmm1
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
movd xmm1, esi
mulss xmm0, xmm2
mov esi, dword [esp + 0x18]
cvtdq2ps xmm1, xmm1
addss xmm0, xmm1
movd xmm1, dword [esp + 0x68]
cvtdq2ps xmm1, xmm1
cvttss2si eax, xmm0
movd xmm0, edx
cvtdq2ps xmm0, xmm0
shl eax, 8
mov dword [esp + 0x10], eax
mulss xmm0, xmm2
addss xmm0, xmm1
movd xmm1, dword [esp + 0x70]
cvtdq2ps xmm1, xmm1
cvttss2si eax, xmm0
movd xmm0, edi
or dword [esp + 0x10], eax
shl dword [esp + 0x10], 8
cvtdq2ps xmm0, xmm0
mulss xmm0, xmm2
movss xmm2, dword [0x101519fc]
addss xmm0, xmm1
cvttss2si eax, xmm0
or dword [esp + 0x10], eax
mov eax, dword [esp + 0x18]
mov eax, dword [eax + 0x10]
and eax, 0xff000000
or dword [esp + 0x10], eax
mov eax, dword [esp + 0x10]
mov dword [esi + 0x10], eax
mov eax, esi
mov esi, dword [esp + 0x64]
add eax, 0x14
mov dword [esp + 0x18], eax
cmp eax, dword [esp + 0x84]
jb 0x1008f060
mov edi, dword [esp + 0x94]
mov esi, dword [esp + 0x30]
movss xmm3, dword [esp + 0xe8]
inc esi
movss xmm5, dword [esp + 0xc8]
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x30], esi
cmp esi, 6
jl 0x1008ee34
movss xmm0, dword [esp + 0x44]
addss xmm0, xmm0
mulss xmm0, dword [0x10151aa0]
movss dword [esp + 0x44], xmm0
cvtps2pd xmm0, xmm0
call fcn.100fc680
movss xmm3, dword [esp + 0x44]
cvtsd2ss xmm0, xmm0
movss dword [esp + 0x10], xmm0
cvtps2pd xmm0, xmm3
call fcn.100fd620
cmp byte [esp + 0x17], 0
xorps xmm3, xmm3
movss xmm1, dword [esp + 0x88]
addss xmm1, dword [esp + 0xe0]
cvtsd2ss xmm3, xmm0
movaps xmm0, xmm1
mulss xmm0, dword [esp + 0x10]
mulss xmm1, xmm3
mulss xmm0, dword [0x1015199c]
mulss xmm1, dword [0x1015199c]
addss xmm0, dword [esp + 0xbc]
movss dword [esp + 0xe8], xmm3
addss xmm1, dword [esp + 0xb8]
movss dword [esp + 0x68], xmm0
movss dword [esp + 0x6c], xmm1
movss xmm1, dword [esp + 0x8c]
je 0x1008f213
mulss xmm1, dword [0x101519a8]
jmp 0x1008f21b
mulss xmm1, dword [0x101519a0]
movaps xmm0, xmm1
movss dword [esp + 0x8c], xmm1
divss xmm0, dword [0x10151a2c]
cvttss2si esi, xmm0
cmp esi, 9
jge 0x1008f23f
mov esi, 9
jmp 0x1008f249
mov eax, 0x20
cmp esi, eax
cmovg esi, eax
test dword [esp + 0x60], 0xff000000
movd xmm2, esi
cvtdq2ps xmm2, xmm2
mov dword [esp + 0x30], esi
movss dword [esp + 0xc8], xmm2
je 0x1008f2e5
movaps xmm0, xmm2
lea eax, [esp + 0x68]
subss xmm0, dword [0x101519fc]
push esi
push ecx
xorps xmm3, xmm3
mov ecx, edi
mulss xmm0, dword [0x10151ad4]
divss xmm0, xmm2
movaps xmm2, xmm1
movss dword [esp], xmm0
push eax
call fcn.100a8c20
push dword [esp + 0x60]
mov ecx, edi
push dword [edi + 0x54]
push dword [edi + 0x5c]
call fcn.100a8710
mov ecx, dword [edi + 0x58]
lea eax, [edi + 0x54]
mov dword [esp + 0x38], ecx
test ecx, ecx
jns 0x1008f2d6
mov eax, ecx
cdq
sub eax, edx
mov ecx, eax
xor eax, eax
sar ecx, 1
add ecx, dword [esp + 0x38]
test ecx, ecx
cmovg eax, ecx
lea ecx, [edi + 0x54]
push eax
call fcn.1007f620
lea eax, [edi + 0x54]
movss xmm2, dword [esp + 0xc8]
mov dword [eax], 0
movaps xmm1, xmm2
lea eax, [esp + 0x68]
subss xmm1, dword [0x101519fc]
push esi
push ecx
xorps xmm3, xmm3
mov ecx, edi
mulss xmm1, dword [0x10151ad4]
divss xmm1, xmm2
movss xmm2, dword [esp + 0x94]
addss xmm2, dword [0x101519fc]
movss dword [esp], xmm1
push eax
movss dword [esp + 0x44], xmm1
subss xmm2, dword [0x1015199c]
call fcn.100a8c20
push ecx
mov dword [esp], 0x3f800000
mov ecx, edi
push 1
push 0xff808080
push dword [edi + 0x54]
push dword [edi + 0x5c]
call fcn.100a7b30
mov eax, dword [edi + 0x58]
mov esi, dword [esp + 0x78]
test eax, eax
jns 0x1008f372
cdq
sub eax, edx
mov ecx, eax
xor eax, eax
sar ecx, 1
add ecx, dword [edi + 0x58]
test ecx, ecx
cmovg eax, ecx
lea ecx, [edi + 0x54]
push eax
call fcn.1007f620
push dword [esp + 0x30]
movss xmm2, dword [esp + 0x90]
lea eax, [esp + 0x6c]
movss xmm0, dword [esp + 0x3c]
xorps xmm3, xmm3
subss xmm2, dword [0x1015199c]
push ecx
movss dword [esp], xmm0
mov ecx, edi
push eax
mov dword [edi + 0x54], 0
call fcn.100a8c20
push ecx
mov dword [esp], 0x3f800000
mov ecx, edi
push 1
push 0xffffffffffffffff
push dword [edi + 0x54]
push dword [edi + 0x5c]
call fcn.100a7b30
mov eax, dword [edi + 0x58]
test eax, eax
jns 0x1008f3e3
cdq
sub eax, edx
mov ecx, eax
xor eax, eax
sar ecx, 1
add ecx, dword [edi + 0x58]
test ecx, ecx
cmovg eax, ecx
lea ecx, [edi + 0x54]
push eax
call fcn.1007f620
movss xmm3, dword [esp + 0x10]
xorps xmm1, xmm1
movss xmm5, dword [esp + 0xe8]
movaps xmm2, xmm3
mulss xmm2, dword [esp + 0x28]
movaps xmm0, xmm5
mov eax, dword [0x1021abec]
mov ecx, edi
movss xmm6, dword [esp + 0xbc]
movaps xmm4, xmm3
mulss xmm0, xmm1
mov dword [edi + 0x54], 0
movss xmm7, dword [esp + 0xb8]
mulss xmm4, dword [esp + 0xa4]
push 6
subss xmm2, xmm0
movaps xmm0, xmm3
mulss xmm0, xmm1
movaps xmm1, xmm5
push 6
mulss xmm1, dword [esp + 0xac]
addss xmm2, xmm6
movss dword [esp + 0x38], xmm2
movss dword [esp + 0xf0], xmm2
movaps xmm2, xmm5
mulss xmm2, dword [esp + 0x30]
addss xmm2, xmm0
movaps xmm0, xmm5
mulss xmm0, dword [esp + 0x98]
mulss xmm5, dword [esp + 0xa0]
addss xmm2, xmm7
movss dword [esp + 0x24], xmm2
movss dword [esp + 0xf4], xmm2
movaps xmm2, xmm4
subss xmm2, xmm0
movaps xmm0, xmm3
mulss xmm0, dword [esp + 0x98]
subss xmm4, xmm5
mulss xmm3, dword [esp + 0xa0]
addss xmm0, xmm1
addss xmm4, xmm6
addss xmm3, xmm1
addss xmm2, xmm6
addss xmm0, xmm7
movss dword [esp + 0x6c], xmm4
addss xmm3, xmm7
movss dword [esp + 0xb0], xmm4
movss dword [esp + 0x30], xmm2
movss dword [esp + 0x34], xmm0
movss xmm0, dword [eax + 0x18c4]
movss dword [esp + 0x40], xmm0
movss xmm0, dword [eax + 0x18c8]
movss dword [esp + 0x18], xmm3
movss dword [esp + 0xb4], xmm3
movss dword [esp + 0xd0], xmm0
call fcn.100a7980
mov ecx, dword [edi + 0x38]
mov ax, word [edi + 0x30]
movss xmm2, dword [esp + 0x30]
movss xmm3, dword [esp + 0x1c]
movss xmm0, dword [esp + 0x38]
movss xmm1, dword [esp + 0xc8]
mov word [ecx], ax
mov eax, dword [edi + 0x34]
add dword [edi + 0x38], 2
mov edx, dword [esp + 0x60]
movss xmm5, dword [esp + 0x28]
movss dword [eax], xmm2
movss dword [eax + 4], xmm3
mov eax, dword [edi + 0x34]
movss dword [eax + 8], xmm0
movss dword [eax + 0xc], xmm1
mov eax, dword [edi + 0x34]
mov dword [eax + 0x10], edx
mov eax, dword [edi + 0x38]
inc dword [edi + 0x30]
add dword [edi + 0x34], 0x14
mov ecx, dword [edi + 0x30]
mov word [eax], cx
add dword [edi + 0x38], 2
mov eax, dword [edi + 0x34]
movss dword [eax], xmm5
movss xmm4, dword [esp + 0x2c]
movss dword [eax + 4], xmm4
mov eax, dword [edi + 0x34]
movss xmm7, dword [esp + 0x64]
movss xmm6, dword [esp + 0x10]
movss dword [eax + 8], xmm0
movss dword [eax + 0xc], xmm1
mov eax, dword [edi + 0x34]
mov dword [eax + 0x10], edx
add dword [edi + 0x34], 0x14
inc dword [edi + 0x30]
mov eax, dword [edi + 0x38]
mov ecx, dword [edi + 0x30]
mov word [eax], cx
mov eax, dword [edi + 0x34]
add dword [edi + 0x38], 2
movss dword [eax], xmm7
movss dword [eax + 4], xmm6
mov eax, dword [edi + 0x34]
movss dword [eax + 8], xmm0
movss dword [eax + 0xc], xmm1
mov eax, dword [edi + 0x34]
mov dword [eax + 0x10], 0xffffffff
add dword [edi + 0x34], 0x14
mov eax, dword [edi + 0x38]
inc dword [edi + 0x30]
mov ecx, dword [edi + 0x30]
mov word [eax], cx
mov eax, dword [edi + 0x34]
add dword [edi + 0x38], 2
movss dword [eax], xmm2
movss dword [eax + 4], xmm3
mov eax, dword [edi + 0x34]
movss dword [eax + 8], xmm0
movss dword [eax + 0xc], xmm1
mov eax, dword [edi + 0x34]
mov dword [eax + 0x10], 0
add dword [edi + 0x34], 0x14
mov eax, dword [edi + 0x38]
inc dword [edi + 0x30]
mov ecx, dword [edi + 0x30]
mov word [eax], cx
mov eax, dword [edi + 0x34]
add dword [edi + 0x38], 2
movss dword [eax], xmm5
movss dword [eax + 4], xmm4
mov eax, dword [edi + 0x34]
movss dword [eax + 8], xmm0
movss dword [eax + 0xc], xmm1
mov eax, dword [edi + 0x34]
mov dword [eax + 0x10], 0xff000000
mov eax, dword [edi + 0x38]
add dword [edi + 0x34], 0x14
inc dword [edi + 0x30]
mov ecx, dword [edi + 0x30]
mov word [eax], cx
mov eax, dword [edi + 0x34]
add dword [edi + 0x38], 2
push ecx
mov dword [esp], 0x3fc00000
mov ecx, edi
movss dword [eax], xmm7
movss dword [eax + 4], xmm6
mov eax, dword [edi + 0x34]
push 0xff808080
movss dword [eax + 8], xmm0
movss dword [eax + 0xc], xmm1
mov eax, dword [edi + 0x34]
mov dword [eax + 0x10], 0
lea eax, [esp + 0xb0]
add dword [edi + 0x34], 0x14
inc dword [edi + 0x30]
push eax
lea eax, [esp + 0x34]
push eax
lea eax, [esp + 0xf8]
push eax
call fcn.100a9890
movss xmm0, dword [0x101519fc]
movaps xmm2, xmm0
subss xmm2, dword [esp + 0x80]
xorps xmm1, xmm1
comiss xmm1, xmm2
jbe 0x1008f6de
xorps xmm4, xmm4
jmp 0x1008f6e5
movaps xmm4, xmm0
minss xmm4, xmm2
movss xmm3, dword [esp + 0x74]
comiss xmm1, xmm3
jbe 0x1008f6f5
xorps xmm2, xmm2
jmp 0x1008f6fc
movaps xmm2, xmm0
minss xmm2, xmm3
movss xmm0, dword [esp + 0x30]
subss xmm0, dword [esp + 0x64]
movss xmm3, dword [esp + 0x28]
mulss xmm0, xmm2
addss xmm0, dword [esp + 0x64]
subss xmm3, xmm0
mulss xmm3, xmm4
addss xmm3, xmm0
movss xmm0, dword [esp + 0x1c]
subss xmm0, dword [esp + 0x10]
movss dword [esp + 0x48], xmm3
mulss xmm0, xmm2
movss xmm2, dword [esp + 0x2c]
addss xmm0, dword [esp + 0x10]
subss xmm2, xmm0
mulss xmm2, xmm4
addss xmm2, xmm0
movss dword [esp + 0x4c], xmm2
jmp 0x1008faaf
test eax, 0x2000000
je 0x1008faaf
movss xmm1, dword [esp + 0x38]
lea eax, [esp + 0x28]
movss xmm2, dword [esp + 0x20]
movaps xmm0, xmm1
addss xmm0, xmm2
mov ecx, edi
push 0xffffffffffffffff
push edx
push edx
push 0xffffffffffffffff
movss dword [esp + 0x38], xmm0
addss xmm1, xmm2
movss xmm0, dword [esp + 0x34]
addss xmm0, xmm2
push eax
lea eax, [esp + 0x4c]
push eax
movss dword [esp + 0x48], xmm1
movss dword [esp + 0x44], xmm0
call fcn.100a9710
movss xmm0, dword [esp + 0x30]
lea eax, [esp + 0xa8]
push 0xff000000
push 0xff000000
push 0
push 0
push eax
movss dword [esp + 0xbc], xmm0
lea eax, [esp + 0x4c]
movss xmm0, dword [esp + 0x40]
mov ecx, edi
push eax
movss dword [esp + 0xc4], xmm0
call fcn.100a9710
movss xmm0, dword [esp + 0x30]
movss dword [esp + 0xc8], xmm0
movss xmm0, dword [esp + 0x2c]
movss dword [esp + 0xcc], xmm0
xorps xmm0, xmm0
push dword [esp + 0xcc]
push dword [esp + 0xcc]
push dword [esp + 0x44]
push dword [esp + 0x44]
call fcn.1006dc00
movss xmm3, dword [esp + 0x84]
xorps xmm0, xmm0
movss xmm1, dword [0x101519fc]
add esp, 0x10
comiss xmm0, xmm3
jbe 0x1008f84f
xorps xmm2, xmm2
jmp 0x1008f856
movaps xmm2, xmm1
minss xmm2, xmm3
movss xmm6, dword [esp + 0x20]
movss xmm3, dword [esp + 0x38]
movss xmm5, dword [0x1015199c]
mulss xmm2, xmm6
movss xmm7, dword [0x10151a64]
addss xmm2, xmm3
addss xmm2, xmm5
cvttss2si eax, xmm2
movaps xmm2, xmm3
addss xmm3, xmm6
addss xmm2, xmm7
movd xmm4, eax
cvtdq2ps xmm4, xmm4
subss xmm3, xmm7
comiss xmm2, xmm4
jbe 0x1008f8a5
movss dword [esp + 0x48], xmm2
jmp 0x1008f8b8
comiss xmm4, xmm3
jbe 0x1008f8b2
movss dword [esp + 0x48], xmm3
jmp 0x1008f8b8
movss dword [esp + 0x48], xmm4
movaps xmm2, xmm1
subss xmm2, dword [esp + 0x80]
comiss xmm0, xmm2
jbe 0x1008f8ce
xorps xmm1, xmm1
jmp 0x1008f8d2
minss xmm1, xmm2
movss xmm2, dword [esp + 0x24]
mulss xmm1, xmm6
movss xmm0, dword [esp + 0x2c]
subss xmm0, xmm7
addss xmm1, xmm2
addss xmm1, xmm5
cvttss2si eax, xmm1
movaps xmm1, xmm2
addss xmm1, xmm7
movd xmm3, eax
cvtdq2ps xmm3, xmm3
comiss xmm1, xmm3
jbe 0x1008f90d
movss dword [esp + 0x4c], xmm1
jmp 0x1008f920
comiss xmm3, xmm0
jbe 0x1008f91a
movss dword [esp + 0x4c], xmm0
jmp 0x1008f920
movss dword [esp + 0x4c], xmm3
movss xmm3, dword [esp + 0x84]
lea eax, [esp + 0xfc]
movaps xmm1, xmm6
mov esi, dword [esp + 0x94]
divss xmm1, dword [0x1013df34]
xor ecx, ecx
movaps xmm0, xmm3
movss dword [esp + 0x28], xmm3
addss xmm0, dword [esp + 0x5c]
movss dword [esp + 0x38], xmm1
movss dword [esp + 0xa8], xmm0
mov eax, dword [eax + ecx*4]
lea edi, [ecx + 1]
movd xmm0, edi
cvtdq2ps xmm0, xmm0
push eax
push eax
lea eax, [esp + 0xb0]
mulss xmm0, xmm1
addss xmm0, xmm2
movss dword [esp + 0xb4], xmm0
movd xmm0, ecx
mov ecx, dword [esp + ecx*4 + 0x100]
cvtdq2ps xmm0, xmm0
push ecx
push ecx
push eax
lea eax, [esp + 0x3c]
mov ecx, esi
push eax
mulss xmm0, xmm1
addss xmm0, xmm2
movss dword [esp + 0x44], xmm0
call fcn.100a9710
movss xmm1, dword [esp + 0x38]
lea eax, [esp + 0xfc]
movss xmm2, dword [esp + 0x24]
mov ecx, edi
cmp ecx, 6
jl 0x1008f962
movss xmm3, dword [esp + 0x84]
movaps xmm0, xmm2
addss xmm0, dword [esp + 0x20]
movaps xmm1, xmm3
movss dword [esp + 0x3c], xmm2
addss xmm1, dword [esp + 0x5c]
movss dword [esp + 0x38], xmm3
movss dword [esp + 0x2c], xmm0
xorps xmm0, xmm0
push dword [esp + 0x2c]
movss dword [esp + 0x2c], xmm1
push dword [esp + 0x2c]
push dword [esp + 0x44]
push dword [esp + 0x44]
call fcn.1006dc00
mov esi, dword [esp + 0x88]
movss xmm1, dword [esp + 0x6c]
addss xmm1, dword [0x10151a64]
mov edi, dword [esp + 0xa4]
mov ecx, edi
movd xmm2, esi
cvtdq2ps xmm2, xmm2
movaps xmm0, xmm2
movss dword [esp + 0x3c], xmm2
addss xmm0, dword [0x101519fc]
push dword [esp + 0x3c]
movss xmm2, dword [esp + 0x98]
subss xmm2, dword [0x101519fc]
movss dword [esp + 0x3c], xmm0
movss xmm0, dword [esp + 0x58]
mulss xmm0, dword [esp + 0x34]
push dword [esp + 0x3c]
movss dword [esp + 0x50], xmm2
addss xmm0, dword [esp + 0x3c]
addss xmm0, dword [0x1015199c]
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [esp + 0x54], xmm0
push dword [esp + 0x54]
push dword [esp + 0x54]
call fcn.1008d640
add esp, 0x20
cmp byte [esp + 0x16], 0
je 0x1008fac7
movss xmm0, dword [0x10151ae8]
movss dword [esp + 0xd8], xmm0
movss xmm2, dword [esp + 0xd8]
lea eax, [esp + 0x48]
push 0xc
push ecx
mov dword [esp], 0x40b84e89
xorps xmm3, xmm3
push eax
mov ecx, edi
call fcn.100a8c20
push dword [esp + 0x9c]
mov ecx, edi
push dword [edi + 0x54]
push dword [edi + 0x5c]
call fcn.100a8710
mov ecx, dword [edi + 0x58]
lea eax, [edi + 0x54]
mov dword [esp + 0x38], ecx
test ecx, ecx
jns 0x1008fb2b
mov eax, ecx
cdq
sub eax, edx
mov ecx, eax
xor eax, eax
sar ecx, 1
add ecx, dword [esp + 0x38]
test ecx, ecx
cmovg eax, ecx
lea ecx, [edi + 0x54]
push eax
call fcn.1007f620
lea eax, [edi + 0x54]
movss xmm2, dword [esp + 0xd8]
xorps xmm3, xmm3
addss xmm2, dword [0x101519fc]
push 0xc
push ecx
mov dword [eax], 0
mov ecx, edi
lea eax, [esp + 0x50]
mov dword [esp], 0x40b84e89
subss xmm2, dword [0x1015199c]
push eax
call fcn.100a8c20
push ecx
mov dword [esp], 0x3f800000
lea eax, [edi + 0x54]
push 1
push 0xff808080
push dword [eax]
mov ecx, edi
mov dword [esp + 0xd8], eax
push dword [edi + 0x5c]
call fcn.100a7b30
mov ecx, dword [edi + 0x58]
lea eax, [edi + 0x54]
mov dword [esp + 0x38], ecx
test ecx, ecx
jns 0x1008fbb6
mov eax, ecx
cdq
sub eax, edx
mov ecx, eax
xor eax, eax
sar ecx, 1
add ecx, dword [esp + 0x38]
test ecx, ecx
cmovg eax, ecx
lea ecx, [edi + 0x54]
push eax
call fcn.1007f620
lea eax, [edi + 0x54]
movss xmm2, dword [esp + 0xd8]
xorps xmm3, xmm3
subss xmm2, dword [0x1015199c]
push 0xc
push ecx
mov dword [eax], 0
mov ecx, edi
lea eax, [esp + 0x50]
mov dword [esp], 0x40b84e89
push eax
call fcn.100a8c20
push ecx
mov dword [esp], 0x3f800000
mov ecx, edi
push 1
push 0xffffffffffffffff
push dword [edi + 0x54]
push dword [edi + 0x5c]
call fcn.100a7b30
mov edi, dword [esp + 0xc8]
mov eax, dword [edi + 4]
test eax, eax
jns 0x1008fc26
cdq
sub eax, edx
mov ecx, eax
xor eax, eax
sar ecx, 1
add ecx, dword [edi + 4]
test ecx, ecx
cmovg eax, ecx
mov ecx, edi
push eax
call fcn.1007f620
cmp dword [esp + 0xdc], 0x10000
mov dword [edi], 0
jne 0x1008fdd4
mov eax, dword [esp + 0x34]
xorps xmm2, xmm2
movss xmm1, dword [eax + 0xc]
comiss xmm2, xmm1
jbe 0x1008fc56
movss dword [esp + 0x78], xmm2
jmp 0x1008fc68
movss xmm0, dword [0x101519fc]
minss xmm0, xmm1
movss dword [esp + 0x78], xmm0
movss xmm3, dword [esp + 0xc4]
or edx, 0xffffffff
movss xmm0, dword [esp + 0x24]
movaps xmm1, xmm3
addss xmm1, dword [esp + 0x5c]
movss dword [esp + 0xac], xmm0
xor ecx, ecx
addss xmm0, dword [esp + 0x20]
mov dword [esp + 0x2c], 0
push dword [esp + 0x2c]
movss dword [esp + 0xb4], xmm1
subss xmm1, xmm3
mov dword [esp + 0x2c], 0
push dword [esp + 0x2c]
movss dword [esp + 0xbc], xmm0
push dword [esp + 0xbc]
mulss xmm1, dword [0x1015199c]
push dword [esp + 0xbc]
movss dword [esp + 0xb8], xmm3
push dword [esp + 0xbc]
mov edi, dword [esp + 0xbc]
push edi
call fcn.1008d370
mov ecx, dword [esp + 0xb4]
add esp, 0x18
mov eax, ecx
and eax, 0xffffff
push eax
push eax
push ecx
push ecx
mov ecx, dword [esp + 0xa4]
lea eax, [esp + 0xc0]
push eax
lea eax, [esp + 0xbc]
push eax
call fcn.100a9710
push dword [esp + 0xb4]
xorps xmm0, xmm0
push dword [esp + 0xb4]
push dword [esp + 0xb4]
push edi
call fcn.1006dc00
movss xmm1, dword [0x101519fc]
movd xmm2, esi
cvtdq2ps xmm2, xmm2
mov ecx, dword [esp + 0xa4]
movaps xmm0, xmm2
movss dword [esp + 0x3c], xmm2
movss xmm2, dword [esp + 0xd4]
addss xmm0, xmm1
subss xmm2, xmm1
subss xmm1, dword [esp + 0x88]
push dword [esp + 0x3c]
movss dword [esp + 0x3c], xmm0
push dword [esp + 0x3c]
mulss xmm1, dword [esp + 0x38]
movss dword [esp + 0x60], xmm2
addss xmm1, dword [esp + 0x3c]
addss xmm1, dword [0x1015199c]
cvttss2si eax, xmm1
movss xmm1, dword [esp + 0x74]
addss xmm1, dword [0x10151a64]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [esp + 0x64], xmm0
push dword [esp + 0x64]
push dword [esp + 0x64]
call fcn.1008d640
add esp, 0x20
call fcn.10076f30
cmp byte [esp + 0xe], 0
mov edi, dword [0x1021abec]
je 0x1008fe6e
mov ecx, dword [esp + 0x34]
lea esi, [esp + 0x114]
xor edx, edx
cmp dword [esp + 0xe4], edx
sete dl
lea edx, [edx*4 + 0xc]
sub edx, 4
jb 0x1008fe21
nop dword [eax]
mov eax, dword [esi]
cmp eax, dword [ecx]
jne 0x1008fe26
add esi, 4
add ecx, 4
sub edx, 4
jae 0x1008fe10
cmp edx, 0xfffffffc
je 0x1008fe69
mov al, byte [esi]
cmp al, byte [ecx]
jne 0x1008fe53
cmp edx, 0xfffffffd
je 0x1008fe69
mov al, byte [esi + 1]
cmp al, byte [ecx + 1]
jne 0x1008fe53
cmp edx, 0xfffffffe
je 0x1008fe69
mov al, byte [esi + 2]
cmp al, byte [ecx + 2]
jne 0x1008fe53
cmp edx, 0xffffffff
je 0x1008fe69
mov al, byte [esi + 3]
cmp al, byte [ecx + 3]
je 0x1008fe69
mov eax, dword [edi + 0x199c]
mov byte [edi + 0x19ce], 1
or dword [eax + 0x10c], 4
jmp 0x1008fe6e
mov byte [esp + 0xe], 0
mov ecx, dword [edi + 0x199c]
mov al, byte [esp + 0xe]
pop edi
pop esi
dec dword [ecx + 0x1bc]
mov ecx, dword [esp + 0x11c]
xor ecx, esp
call fcn.100d8e9a
mov esp, ebp
pop ebp
ret