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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x168
mov eax, dword [0x10242040]
xor eax, esp
mov dword [esp + 0x164], eax
mov eax, dword [ebp + 0xc]
push esi
mov esi, dword [0x10335910]
mov dword [esp + 0x48], eax
push edi
mov edi, edx
mov dword [esp + 0xfc], ecx
mov eax, dword [esi + 0x31b8]
mov dword [esp + 0xf4], edi
mov dword [esp + 0x38], esi
mov byte [eax + 0x8c], 1
mov eax, dword [esi + 0x31b8]
mov dword [esp + 0x94], eax
cmp byte [eax + 0x8f], 0
je 0x10084ca6
xor al, al
pop edi
pop esi
mov ecx, dword [esp + 0x164]
xor ecx, esp
call fcn.1014ba4f
mov esp, ebp
pop ebp
ret
mov eax, dword [eax + 0x244]
mov dword [esp + 0x58], eax
call fcn.1005fd70
mov ecx, dword [esp + 0xfc]
movss dword [esp + 0x30], xmm0
mov dword [esi + 0x3248], 0
call fcn.1005f500
call fcn.1005ff60
mov ecx, dword [ebp + 8]
mov edx, ecx
or edx, 0x10
test ecx, 0x100
cmovne edx, ecx
mov dword [esp + 0xd4], edx
test dl, 8
jne 0x10084d01
mov ecx, edi
call fcn.100876d0
mov edx, dword [esp + 0xd4]
test edx, 0x6000000
jne 0x10084d26
mov eax, dword [esi + 0x44d8]
mov ecx, 0xa900000
test eax, 0x6000000
cmovne ecx, eax
and ecx, 0x6000000
or ecx, edx
jmp 0x10084d28
mov ecx, edx
mov dword [esp + 0x10], ecx
test ecx, 0x18000000
jne 0x10084d53
mov eax, dword [esi + 0x44d8]
mov edx, 0xa900000
test eax, 0x18000000
cmovne edx, eax
and edx, 0x18000000
or ecx, edx
mov dword [esp + 0x10], ecx
test cl, 8
jne 0x10084d69
mov eax, dword [esi + 0x44d8]
and eax, 0x10000
or ecx, eax
mov dword [esp + 0x10], ecx
mov eax, dword [esp + 0x94]
mov edx, ecx
and edx, 2
and ecx, 0x10002
mov dword [esp + 0xd4], edx
mov dword [esp + 0x12c], ecx
movss xmm0, dword [eax + 0xd4]
movss xmm3, dword [eax + 0xd0]
movss dword [esp + 0xcc], xmm3
movss dword [esp + 0x34], xmm0
movss dword [esp + 0xd0], xmm0
call fcn.1005feb0
movss xmm2, dword [esi + 0x2b8c]
xor eax, eax
cmp ecx, 0x10000
movaps xmm4, xmm0
movaps xmm0, xmm2
movss dword [esp + 0x48], xmm4
sete al
addss xmm0, xmm4
inc eax
movd xmm1, eax
xor eax, eax
cvtdq2ps xmm1, xmm1
test edx, edx
sete al
mulss xmm1, xmm0
lea eax, [eax*4 + 0xc]
movss xmm0, dword [esp + 0x30]
push eax
subss xmm0, xmm1
movaps xmm1, xmm3
lea eax, [esp + 0x160]
push edi
push eax
maxss xmm0, xmm4
addss xmm1, xmm0
movss dword [esp + 0x3c], xmm0
addss xmm1, xmm2
movaps xmm0, xmm1
movss dword [esp + 0xd4], xmm1
addss xmm0, xmm4
addss xmm0, xmm2
movss dword [esp + 0xf4], xmm0
movaps xmm0, xmm4
mulss xmm0, dword [0x1022c688]
cvttss2si esi, xmm0
mov dword [esp + 0xa0], esi
call sub.VCRUNTIME140.dll_memcpy
movss xmm0, dword [esp + 0x3c]
add esp, 0xc
movaps xmm4, xmm0
mov dword [esp + 0xf0], 0
mulss xmm4, dword [0x1022c6cc]
movaps xmm2, xmm0
mulss xmm0, dword [0x1022c62c]
mulss xmm2, dword [0x1022c658]
movaps xmm1, xmm4
cvttss2si eax, xmm0
subss xmm1, xmm2
movss dword [esp + 0x90], xmm2
movss xmm2, dword [esp + 0x48]
mulss xmm2, dword [0x1022c6cc]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
addss xmm2, xmm4
movss dword [esp + 0xf8], xmm1
subss xmm1, xmm0
movss dword [esp + 0x40], xmm4
addss xmm2, dword [esp + 0xcc]
movaps xmm0, xmm1
movss dword [esp + 0xec], xmm1
mulss xmm0, dword [0x1022ca1c]
movss dword [esp + 0x98], xmm2
movss dword [esp + 0xa0], xmm2
movaps xmm2, xmm4
addss xmm2, dword [esp + 0x34]
movss dword [esp + 0xdc], xmm0
movss dword [esp + 0x18], xmm0
movss dword [esp + 0x9c], xmm2
movss dword [esp + 0xa4], xmm2
movss xmm3, dword [edi]
movaps xmm5, xmm1
mulss xmm5, dword [0x1022ca30]
movaps xmm4, xmm3
mov eax, dword [esp + 0x10]
movss dword [esp + 0x80], xmm0
movaps xmm0, xmm1
mulss xmm0, dword [0x1022c708]
movss xmm1, dword [edi + 8]
movss dword [esp + 0xe4], xmm5
movaps xmm2, xmm1
movss dword [esp + 0xe0], xmm0
movss dword [esp + 0x84], xmm0
movss xmm0, dword [edi + 4]
movss dword [esp + 0x1c], xmm5
movaps xmm5, xmm0
movss dword [esp + 0x2c], xmm3
movss dword [esp + 0x54], xmm3
movss dword [esp + 0x3c], xmm0
movss dword [esp + 0x6c], xmm0
movss dword [esp + 0x44], xmm1
movss dword [esp + 0x70], xmm1
movss dword [esp + 0xd8], xmm4
movss dword [esp + 0x60], xmm4
movss dword [esp + 0x7c], xmm5
movss dword [esp + 0x64], xmm5
movss dword [esp + 0x68], xmm2
movss dword [esp + 0x5c], xmm2
test eax, 0x8000000
je 0x10085021
lea eax, [esp + 0x70]
movaps xmm1, xmm5
push eax
lea edx, [esp + 0x70]
movaps xmm0, xmm4
lea ecx, [esp + 0x58]
call fcn.10055cc0
add esp, 4
lea eax, [esp + 0x70]
push eax
mov eax, edx
mov edx, ecx
push eax
mov ecx, edi
call fcn.10083d70
movss xmm0, dword [esp + 0x5c]
add esp, 8
movss dword [esp + 0x2c], xmm0
movss xmm0, dword [esp + 0x6c]
movss dword [esp + 0x3c], xmm0
movss xmm0, dword [esp + 0x70]
movss dword [esp + 0x44], xmm0
jmp 0x1008506a
test eax, 0x10000000
je 0x1008506a
lea eax, [esp + 0x5c]
movaps xmm1, xmm0
push eax
lea edx, [esp + 0x68]
movaps xmm0, xmm3
lea ecx, [esp + 0x64]
call fcn.10055d60
movss xmm0, dword [esp + 0x64]
add esp, 4
movss dword [esp + 0xd8], xmm0
movss xmm0, dword [esp + 0x64]
movss dword [esp + 0x7c], xmm0
movss xmm0, dword [esp + 0x5c]
movss dword [esp + 0x68], xmm0
mov ecx, 8
mov byte [esp + 0xe], 0
mov byte [esp + 0x16], 0
mov byte [esp + 0x17], 0
call fcn.1005f010
mov eax, dword [esp + 0x10]
test eax, 0x4000000
je 0x100854a3
mov ecx, dword [esp + 0x38]
lea edx, [esp + 0x74]
movss xmm1, dword [esp + 0x30]
movaps xmm0, xmm1
movss dword [esp + 0x78], xmm1
push ecx
addss xmm0, dword [ecx + 0x2b8c]
mov ecx, 0x10209b00
addss xmm0, dword [esp + 0x4c]
movss dword [esp + 0x78], xmm0
call fcn.1007c610
add esp, 4
call fcn.1005a730
test al, al
je 0x100853ee
mov eax, dword [esp + 0x38]
movss xmm0, dword [eax + 0x29c8]
subss xmm0, dword [esp + 0x9c]
movss xmm2, dword [eax + 0x90]
subss xmm2, dword [esp + 0x9c]
movss xmm1, dword [eax + 0x29c4]
subss xmm1, dword [esp + 0x98]
movss xmm3, dword [eax + 0x8c]
subss xmm3, dword [esp + 0x98]
movss dword [esp + 0x74], xmm2
movss dword [esp + 0x100], xmm2
movaps xmm2, xmm0
mulss xmm2, xmm0
movss dword [esp + 0xc0], xmm0
movaps xmm0, xmm1
mulss xmm0, xmm1
movss dword [esp + 0x11c], xmm1
movss xmm1, dword [0x1022c720]
addss xmm2, xmm0
movss dword [esp + 0x50], xmm3
movss xmm0, dword [esp + 0xf8]
subss xmm0, xmm1
movss dword [esp + 0xbc], xmm3
mulss xmm0, xmm0
comiss xmm2, xmm0
jb 0x100851e7
movss xmm0, dword [esp + 0x40]
addss xmm0, xmm1
mulss xmm0, xmm0
comiss xmm0, xmm2
jb 0x100851e7
fld dword [esp + 0x100]
xorps xmm3, xmm3
fld dword [esp + 0xbc]
fpatan
fstp dword [esp + 0xbc]
movss xmm0, dword [esp + 0xbc]
mulss xmm0, dword [0x1022c674]
comiss xmm3, xmm0
movss dword [esp + 0x2c], xmm0
movss dword [esp + 0x54], xmm0
jbe 0x100851df
addss xmm0, xmm1
movss dword [esp + 0x2c], xmm0
movss dword [esp + 0x54], xmm0
mov cl, 1
mov byte [esp + 0xe], cl
jmp 0x100851f1
mov cl, byte [esp + 0xe]
movss xmm0, dword [esp + 0x2c]
movaps xmm1, xmm0
mov byte [esp + 0xf], cl
mulss xmm1, dword [0x1022ca3c]
mulss xmm1, dword [0x1022c788]
movaps xmm0, xmm1
call fcn.101a2790
movss xmm5, dword [esp + 0xc0]
lea edx, [esp + 0x18]
mov al, byte [esp + 0xe]
lea ecx, [esp + 0xec]
movaps xmm3, xmm0
mov byte [esp + 0x16], al
shufps xmm0, xmm3, 1
lea eax, [esp + 0xc0]
movaps xmm2, xmm0
movaps xmmword [esp + 0x100], xmm0
mulss xmm2, dword [esp + 0x11c]
movaps xmm1, xmm3
push eax
mulss xmm1, xmm5
lea eax, [esp + 0x84]
push eax
movups xmmword [esp + 0x138], xmm3
subss xmm2, xmm1
movaps xmm1, xmm0
movaps xmm0, xmm3
mulss xmm1, xmm5
mulss xmm0, dword [esp + 0x124]
movss dword [esp + 0xc8], xmm2
addss xmm1, xmm0
movss dword [esp + 0xcc], xmm1
call fcn.10054ff0
add esp, 8
test al, al
je 0x100853ee
movups xmm3, xmmword [esp + 0x130]
lea eax, [esp + 0x11c]
movaps xmm2, xmmword [esp + 0x100]
lea edx, [esp + 0x18]
movaps xmm1, xmm2
movaps xmm0, xmm3
mulss xmm1, dword [esp + 0x50]
push eax
mulss xmm0, dword [esp + 0x78]
lea eax, [esp + 0x84]
push eax
mulss xmm2, dword [esp + 0x7c]
mulss xmm3, dword [esp + 0x58]
subss xmm1, xmm0
addss xmm2, xmm3
movss dword [esp + 0x124], xmm1
movss dword [esp + 0x128], xmm2
call fcn.10054ff0
add esp, 8
test al, al
jne 0x1008534c
lea eax, [esp + 0x11c]
mov edx, ecx
push eax
lea eax, [esp + 0x84]
push eax
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x80]
call fcn.10055170
add esp, 0xc
movss xmm0, dword [eax]
movss dword [esp + 0x11c], xmm0
movss xmm0, dword [eax + 4]
movss dword [esp + 0x120], xmm0
lea eax, [esp + 0xc0]
push eax
lea eax, [esp + 0x78]
push eax
lea eax, [esp + 0x58]
push eax
lea eax, [esp + 0x128]
push eax
lea eax, [esp + 0x90]
push eax
lea edx, [esp + 0x2c]
lea ecx, [esp + 0x100]
call fcn.100550b0
movss xmm2, dword [0x1022c720]
add esp, 0x14
movss xmm0, dword [0x1022c5e0]
movaps xmm1, xmm2
subss xmm1, dword [esp + 0x74]
movss dword [esp + 0x3c], xmm0
comiss xmm0, xmm1
jbe 0x100853aa
movaps xmm1, xmm0
jmp 0x100853ae
minss xmm1, xmm2
movss xmm3, dword [esp + 0x50]
divss xmm3, xmm1
movss dword [esp + 0x44], xmm1
comiss xmm0, xmm3
movss dword [esp + 0x70], xmm1
ja 0x100853d6
movaps xmm0, xmm3
minss xmm0, xmm2
movss dword [esp + 0x3c], xmm0
mov al, byte [esp + 0xf]
movss dword [esp + 0x6c], xmm0
mov byte [esp + 0x17], 1
mov byte [esp + 0xe], 1
mov byte [esp + 0x16], al
mov eax, dword [esp + 0x10]
test al, 8
jne 0x100853fb
call fcn.10060fc0
movss xmm5, dword [esp + 0x34]
movss xmm4, dword [esp + 0x30]
cmp dword [esp + 0x12c], 0x10000
jne 0x100856aa
movss xmm0, dword [esp + 0xe8]
lea ecx, [esp + 0x18]
movss dword [esp + 0x18], xmm0
movss dword [esp + 0x1c], xmm5
call fcn.1005fc50
movss xmm0, dword [esp + 0x48]
lea edx, [esp + 0x18]
push ecx
mov ecx, str.alpha
movss dword [esp + 0x1c], xmm0
movss dword [esp + 0x20], xmm4
call fcn.1007c610
add esp, 4
call fcn.1005a730
test al, al
je 0x100856aa
mov eax, dword [esp + 0x38]
movss xmm0, dword [esp + 0x30]
movss xmm1, dword [0x1022c720]
subss xmm0, xmm1
movss xmm2, dword [eax + 0x90]
subss xmm2, dword [esp + 0x34]
divss xmm2, xmm0
xorps xmm0, xmm0
comiss xmm0, xmm2
jbe 0x10085695
xorps xmm2, xmm2
jmp 0x10085699
test eax, 0x2000000
je 0x100853fb
movss xmm0, dword [esp + 0x30]
lea edx, [esp + 0x18]
push ecx
mov ecx, 0x10209b04
movss dword [esp + 0x1c], xmm0
movss dword [esp + 0x20], xmm0
call fcn.1007c610
add esp, 4
call fcn.1005a730
test al, al
je 0x100855ba
movss xmm0, dword [esp + 0x30]
xorps xmm2, xmm2
movss xmm1, dword [0x1022c720]
mov eax, dword [esp + 0x38]
subss xmm0, xmm1
movaps xmm4, xmm1
divss xmm4, xmm0
movss xmm0, dword [eax + 0x8c]
subss xmm0, dword [esp + 0xcc]
mulss xmm0, xmm4
comiss xmm2, xmm0
jbe 0x1008551e
xorps xmm0, xmm0
jmp 0x10085522
minss xmm0, xmm1
movss xmm3, dword [eax + 0x90]
subss xmm3, dword [esp + 0x34]
movss dword [esp + 0x3c], xmm0
movss dword [esp + 0x6c], xmm0
mulss xmm3, xmm4
comiss xmm2, xmm3
jbe 0x1008554a
xorps xmm3, xmm3
jmp 0x1008554e
minss xmm3, xmm1
movaps xmm0, xmm1
mov dword [esp + 0x24], 0
subss xmm0, xmm3
lea ecx, [esp + 0x18]
movss dword [esp + 0x44], xmm0
movss dword [esp + 0x70], xmm0
movss xmm0, dword [edi]
movss dword [esp + 0x18], xmm0
movss xmm0, dword [edi + 4]
movss dword [esp + 0x1c], xmm0
movss xmm0, dword [edi + 8]
movss dword [esp + 0x20], xmm0
call fcn.10055c10
mov ecx, dword [esp + 0x38]
cmp dword [ecx + 0x44e4], eax
jne 0x100855b2
movss xmm0, dword [ecx + 0x44dc]
movss dword [esp + 0x2c], xmm0
movss dword [esp + 0x54], xmm0
mov al, 1
mov byte [esp + 0xe], al
jmp 0x100855be
mov al, byte [esp + 0xe]
mov byte [esp + 0xf], al
mov eax, dword [esp + 0x10]
test al, 8
jne 0x100855cf
call fcn.10060fc0
movss xmm0, dword [esp + 0xc8]
lea ecx, [esp + 0x18]
movss dword [esp + 0x18], xmm0
movss xmm0, dword [esp + 0x34]
movss dword [esp + 0x1c], xmm0
call fcn.1005fc50
movss xmm0, dword [esp + 0x48]
lea edx, [esp + 0x18]
movss dword [esp + 0x18], xmm0
movss xmm0, dword [esp + 0x30]
push ecx
mov ecx, 0x10209af4
movss dword [esp + 0x20], xmm0
call fcn.1007c610
mov dl, byte [esp + 0x12]
add esp, 4
mov byte [esp + 0x17], dl
call fcn.1005a730
test al, al
je 0x100853fb
mov ecx, dword [esp + 0x38]
xorps xmm3, xmm3
movss xmm4, dword [esp + 0x30]
movss xmm5, dword [esp + 0x34]
movaps xmm0, xmm4
movss xmm2, dword [0x1022c720]
movss xmm1, dword [ecx + 0x90]
subss xmm0, xmm2
subss xmm1, xmm5
divss xmm1, xmm0
comiss xmm3, xmm1
jbe 0x1008566e
xorps xmm1, xmm1
jmp 0x10085672
minss xmm1, xmm2
mov al, byte [esp + 0xf]
movss dword [esp + 0x2c], xmm1
movss dword [esp + 0x54], xmm1
mov byte [esp + 0x16], 1
mov byte [esp + 0xe], 1
mov byte [esp + 0x17], al
jmp 0x10085407
minss xmm2, xmm1
movaps xmm0, xmm1
mov byte [esp + 0xe], 1
subss xmm0, xmm2
movss dword [edi + 0xc], xmm0
call fcn.1005f040
mov eax, dword [esp + 0x10]
mov ecx, eax
and ecx, 0x100
mov dword [esp + 0x74], ecx
jne 0x100856db
mov eax, dword [esp + 0x38]
movss xmm1, dword [eax + 0x2b8c]
call fcn.1005fbb0
call fcn.1005ff60
mov eax, dword [esp + 0x10]
test al, al
js 0x1008572d
mov ecx, dword [esp + 0xfc]
xor edx, edx
call fcn.100563a0
mov dword [esp + 0x50], eax
cmp dword [esp + 0xfc], eax
je 0x10085729
cmp dword [esp + 0x74], 0
je 0x10085716
mov eax, dword [esp + 0x38]
movss xmm1, dword [eax + 0x2b8c]
call fcn.1005fbb0
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0xfc]
mov edx, eax
push 0
call fcn.1007b9a0
add esp, 4
mov eax, dword [esp + 0x10]
test eax, 0x100
jne 0x100858d1
mov ecx, 0x10
call fcn.1005f010
mov eax, dword [esp + 0x10]
test al, 2
je 0x10085754
movss xmm1, dword [0x1022c720]
jmp 0x10085759
movss xmm1, dword [edi + 0xc]
movss xmm0, dword [edi]
movss dword [esp + 0x80], xmm0
movss xmm0, dword [edi + 4]
movss dword [esp + 0x84], xmm0
movss xmm0, dword [edi + 8]
movss dword [esp + 0x88], xmm0
movss dword [esp + 0x8c], xmm1
test al, al
jns 0x100857a0
push str.Current
call fcn.1007bdb0
mov eax, dword [esp + 0x14]
add esp, 4
movss xmm0, dword [esp + 0x48]
lea edx, [esp + 0x80]
movaps xmm1, xmm0
and eax, 0x180e0040
mulss xmm1, dword [0x1022c780]
mov ecx, str.current
mov dword [esp + 0xc0], eax
movss dword [esp + 0x18], xmm1
movss dword [esp + 0x74], xmm1
movaps xmm1, xmm0
addss xmm1, xmm0
movss dword [esp + 0x1c], xmm1
push dword [esp + 0x1c]
movss dword [esp + 0x54], xmm1
push dword [esp + 0x1c]
push eax
call fcn.10086ad0
add esp, 0xc
cmp dword [esp + 0x4c], 0
je 0x100858c3
push str.Original
call fcn.1007bdb0
mov eax, dword [esp + 0x14]
add esp, 4
test al, 2
mov eax, dword [esp + 0x4c]
je 0x10085827
movss xmm1, dword [0x1022c720]
jmp 0x1008582c
movss xmm1, dword [eax + 0xc]
movss xmm0, dword [eax]
lea edx, [esp + 0x11c]
movss dword [esp + 0x11c], xmm0
mov ecx, str.original
movss xmm0, dword [eax + 4]
movss dword [esp + 0x120], xmm0
movss xmm0, dword [eax + 8]
movss dword [esp + 0x124], xmm0
movss xmm0, dword [esp + 0x74]
movss dword [esp + 0x18], xmm0
movss xmm0, dword [esp + 0x50]
movss dword [esp + 0x1c], xmm0
push dword [esp + 0x1c]
movss dword [esp + 0x12c], xmm1
push dword [esp + 0x1c]
push dword [esp + 0xc8]
call fcn.10086ad0
add esp, 0xc
test al, al
je 0x100858c3
xor eax, eax
cmp dword [esp + 0xd4], eax
sete al
lea eax, [eax*4 + 0xc]
push eax
push dword [esp + 0x50]
push edi
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov byte [esp + 0xe], 1
call fcn.1005f040
call fcn.10060090
mov eax, dword [esp + 0x10]
cmp byte [esp + 0x16], 0
jne 0x100858e3
cmp byte [esp + 0x17], 0
je 0x10085995
test eax, 0x8000000
je 0x1008596e
movss xmm2, dword [esp + 0x44]
lea eax, [edi + 8]
movss xmm1, dword [esp + 0x3c]
lea edx, [edi + 4]
movss xmm0, dword [esp + 0x2c]
mov ecx, edi
push eax
call fcn.10055d60
mov eax, dword [esp + 0x3c]
lea ecx, [esp + 0x1c]
movss xmm0, dword [esp + 0x30]
add esp, 4
mov dword [esp + 0x24], 0
movss dword [eax + 0x44dc], xmm0
movss xmm0, dword [esp + 0x3c]
movss dword [eax + 0x44e0], xmm0
movss xmm0, dword [edi]
movss dword [esp + 0x18], xmm0
movss xmm0, dword [edi + 4]
movss dword [esp + 0x1c], xmm0
movss xmm0, dword [edi + 8]
movss dword [esp + 0x20], xmm0
call fcn.10055c10
mov ecx, dword [esp + 0x38]
mov dword [ecx + 0x44e4], eax
jmp 0x10085995
test eax, 0x10000000
je 0x10085995
movss xmm0, dword [esp + 0x2c]
movss dword [edi], xmm0
movss xmm0, dword [esp + 0x3c]
movss dword [edi + 4], xmm0
movss xmm0, dword [esp + 0x44]
movss dword [edi + 8], xmm0
mov eax, dword [esp + 0x10]
mov byte [esp + 0xf], 0
test al, 0x20
jne 0x10085b4b
cmp dword [esp + 0x12c], 0x10000
jne 0x100859be
movss xmm0, dword [esp + 0xe8]
jmp 0x100859c7
movss xmm0, dword [esp + 0xc8]
addss xmm0, dword [esp + 0x48]
subss xmm0, dword [esp + 0xcc]
call fcn.1005fcd0
mov eax, dword [esp + 0x10]
mov ecx, eax
and ecx, 0x198e001a
mov dword [esp + 0x4c], ecx
test eax, 0x100000
jne 0x100859f9
test eax, 0x700000
jne 0x10085a40
or ecx, 0x100004
mov edx, edi
push ecx
mov ecx, str.rgb
call fcn.10083e20
add esp, 4
test al, al
je 0x10085a38
mov eax, dword [esp + 0x38]
cmp dword [eax + 0x31f0], 0
je 0x10085a2e
cmp byte [eax + 0x31fd], 0
mov byte [esp + 0xf], 1
je 0x10085a33
mov byte [esp + 0xf], 0
mov byte [esp + 0xe], 1
mov ecx, dword [esp + 0x4c]
mov eax, dword [esp + 0x10]
test eax, 0x200000
jne 0x10085a4e
test eax, 0x700000
jne 0x10085a6c
or ecx, 0x200004
mov edx, edi
push ecx
mov ecx, str.hsv
call fcn.10083e20
add esp, 4
or byte [esp + 0xe], al
mov eax, dword [esp + 0x10]
test eax, 0x400000
jne 0x10085a7a
test eax, 0x700000
jne 0x10085a97
mov eax, dword [esp + 0x4c]
mov edx, edi
or eax, 0x400004
mov ecx, str.hex
push eax
call fcn.10083e20
add esp, 4
or byte [esp + 0xe], al
call fcn.1005fd30
cmp byte [esp + 0xf], 0
mov eax, dword [esp + 0x10]
je 0x10085b4b
test eax, 0x8000000
je 0x10085b4b
movss xmm2, dword [edi + 8]
lea eax, [esp + 0x50]
movss xmm1, dword [edi + 4]
lea edx, [esp + 0xc0]
movss xmm0, dword [edi]
lea ecx, [esp + 0x74]
push eax
call fcn.10055cc0
xorps xmm1, xmm1
add esp, 4
comiss xmm1, dword [esp + 0x74]
jb 0x10085b47
movss xmm0, dword [esp + 0x2c]
comiss xmm0, xmm1
jbe 0x10085b47
movss xmm3, dword [esp + 0x50]
comiss xmm1, xmm3
jb 0x10085b1b
movss xmm2, dword [esp + 0x44]
ucomiss xmm2, xmm3
lahf
test ah, 0x44
jnp 0x10085b1b
mulss xmm2, dword [0x1022c6cc]
movss xmm1, dword [esp + 0x3c]
jmp 0x10085b36
comiss xmm1, dword [esp + 0xc0]
jb 0x10085b47
movss xmm1, dword [esp + 0x3c]
movaps xmm2, xmm3
mulss xmm1, dword [0x1022c6cc]
lea eax, [edi + 8]
mov ecx, edi
push eax
lea edx, [edi + 4]
call fcn.10055d60
add esp, 4
mov eax, dword [esp + 0x10]
cmp byte [esp + 0xe], 0
je 0x10085c47
test eax, 0x8000000
je 0x10085bdb
movss xmm0, dword [edi + 8]
lea eax, [esp + 0x70]
movss xmm6, dword [edi]
lea edx, [esp + 0x6c]
movss xmm7, dword [edi + 4]
lea ecx, [esp + 0x54]
movss dword [esp + 0x68], xmm0
movaps xmm2, xmm0
push eax
movaps xmm1, xmm7
movss dword [esp + 0xdc], xmm6
movaps xmm0, xmm6
movss dword [esp + 0x80], xmm7
call fcn.10055cc0
add esp, 4
lea eax, [esp + 0x70]
push eax
mov eax, edx
mov edx, ecx
push eax
mov ecx, edi
call fcn.10083d70
movss xmm0, dword [esp + 0x74]
add esp, 8
movss xmm3, dword [esp + 0x54]
movss dword [esp + 0x3c], xmm0
movss xmm0, dword [esp + 0x70]
movss dword [esp + 0x2c], xmm3
movss dword [esp + 0x44], xmm0
jmp 0x10085c4d
test eax, 0x10000000
je 0x10085c47
movss xmm1, dword [edi + 8]
lea eax, [esp + 0x5c]
movss xmm0, dword [edi + 4]
lea edx, [esp + 0x64]
movss xmm3, dword [edi]
lea ecx, [esp + 0x60]
movss dword [esp + 0x44], xmm1
movaps xmm2, xmm1
movss dword [esp + 0x3c], xmm0
movaps xmm1, xmm0
push eax
movaps xmm0, xmm3
movss dword [esp + 0x30], xmm3
call fcn.10055d60
movss xmm0, dword [esp + 0x64]
add esp, 4
movss dword [esp + 0xd8], xmm0
movss xmm0, dword [esp + 0x64]
movss dword [esp + 0x7c], xmm0
movss xmm0, dword [esp + 0x5c]
movss dword [esp + 0x68], xmm0
movss xmm3, dword [esp + 0x2c]
mov eax, dword [esp + 0x38]
xorps xmm0, xmm0
movss xmm2, dword [eax + 0x2b38]
comiss xmm0, xmm2
movss xmm0, dword [0x1022c720]
jbe 0x10085c6e
xorps xmm1, xmm1
jmp 0x10085c75
movaps xmm1, xmm2
minss xmm1, xmm0
mulss xmm1, dword [0x1022c960]
mov dword [esp + 0x18], 0x3f800000
movss dword [esp + 0x24], xmm2
movaps xmm2, xmm0
mov dword [esp + 0x1c], 0x3f800000
addss xmm1, dword [0x1022c6cc]
mov dword [esp + 0x20], 0x3f800000
cvttss2si edx, xmm1
movaps xmm1, xmm0
movaps xmm0, xmm3
shl edx, 0x18
mov eax, edx
mov dword [esp + 0x4c], edx
or eax, 0xffffff
mov ecx, edx
mov dword [esp + 0x5c], eax
or ecx, 0xff0000
mov eax, edx
mov dword [esp + 0x140], ecx
or eax, 0x808080
mov dword [esp + 0x158], ecx
mov dword [esp + 0x60], eax
lea ecx, [esp + 0x18]
mov eax, edx
or eax, 0xffff00
mov dword [esp + 0x144], eax
mov eax, edx
or eax, 0xff00
mov dword [esp + 0x148], eax
mov eax, edx
or eax, 0xffff
mov dword [esp + 0x14c], eax
mov eax, edx
or eax, 0xff
mov dword [esp + 0x150], eax
mov eax, edx
or eax, 0xff00ff
lea edx, [esp + 0x1c]
mov dword [esp + 0x154], eax
lea eax, [esp + 0x20]
push eax
call fcn.10055d60
add esp, 4
lea ecx, [esp + 0x18]
call fcn.10055c10
movss xmm0, dword [esp + 0xd8]
lea ecx, [esp + 0x18]
movss dword [esp + 0x18], xmm0
movss xmm0, dword [esp + 0x7c]
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0x38]
movss dword [esp + 0x1c], xmm0
movss xmm0, dword [esp + 0x68]
movss dword [esp + 0x20], xmm0
movss xmm0, dword [eax + 0x2b38]
movss dword [esp + 0x24], xmm0
call fcn.10055c10
mov ecx, eax
mov dword [esp + 0x104], 0
mov eax, dword [esp + 0x10]
mov dword [esp + 0x7c], ecx
mov dword [esp + 0x100], 0
test eax, 0x4000000
je 0x10086440
movss xmm1, dword [esp + 0x40]
mov eax, 0x2aaaaaab
movss xmm2, dword [0x1022c6cc]
movaps xmm4, xmm1
addss xmm4, dword [esp + 0xf8]
divss xmm2, xmm1
mov esi, dword [esp + 0x58]
mulss xmm4, dword [0x1022c6cc]
movss xmm3, dword [0x1022c728]
cvttss2si ecx, xmm1
movss dword [esp + 0xc0], xmm2
imul ecx
movss dword [esp + 0x11c], xmm4
mov eax, 4
sar edx, 1
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
cmp ecx, eax
cmovle ecx, eax
xor eax, eax
mov dword [esp + 0xbc], ecx
mov dword [esp + 0x68], eax
nop word [eax + eax]
mov edi, dword [esi + 0x18]
movd xmm1, eax
lea eax, [esp + 0xa0]
cvtdq2ps xmm1, xmm1
push ecx
push ecx
mov ecx, esi
mulss xmm1, xmm3
movaps xmm0, xmm1
addss xmm1, xmm3
subss xmm0, xmm2
addss xmm1, xmm2
movaps xmm2, xmm4
movaps xmm3, xmm0
movss dword [esp + 0x7c], xmm0
movss dword [esp], xmm1
push eax
movss dword [esp + 0x5c], xmm1
call fcn.1006f830
movss xmm0, dword [esp + 0x90]
push ecx
movss dword [esp], xmm0
mov ecx, esi
push 0
push dword [esp + 0x64]
push dword [esi + 0x54]
push dword [esi + 0x5c]
call fcn.1006e040
movss xmm0, dword [esp + 0x74]
movss xmm1, dword [esp + 0x50]
mov dword [esi + 0x54], 0
call fcn.101a27e0
movss xmm3, dword [esp + 0xf8]
lea ecx, [esp + 0x144]
movaps xmm2, xmm0
mov eax, dword [esp + 0x68]
movaps xmm1, xmm0
shufps xmm2, xmm0, 0xe
shufps xmm1, xmm0, 1
mov edx, edi
mulss xmm0, xmm3
mulss xmm1, xmm3
addss xmm0, dword [esp + 0x9c]
addss xmm1, dword [esp + 0x98]
movss dword [esp + 0x84], xmm0
movaps xmm0, xmm2
shufps xmm0, xmm2, 1
mulss xmm2, xmm3
mulss xmm0, xmm3
addss xmm2, dword [esp + 0x9c]
movss dword [esp + 0x80], xmm1
addss xmm0, dword [esp + 0x98]
movss dword [esp + 0x1c], xmm2
push dword [esp + 0x1c]
movss dword [esp + 0x1c], xmm0
push dword [esp + 0x1c]
push dword [esp + 0x8c]
push dword [esp + 0x8c]
push dword [ecx + eax*4]
mov ecx, esi
push dword [esp + eax*4 + 0x154]
push dword [esi + 0x18]
call fcn.100712b0
mov eax, dword [esp + 0x84]
add esp, 0x1c
movss xmm2, dword [esp + 0xc0]
inc eax
movss xmm4, dword [esp + 0x11c]
movss xmm3, dword [0x1022c728]
mov ecx, dword [esp + 0xbc]
mov dword [esp + 0x68], eax
cmp eax, 6
jl 0x10085e30
movss xmm1, dword [esp + 0x2c]
mulss xmm1, dword [0x1022c760]
mulss xmm1, dword [0x1022c788]
movaps xmm0, xmm1
call fcn.101a2790
cmp byte [esp + 0x16], 0
movaps xmm4, xmm0
movss xmm1, dword [esp + 0xf8]
movaps xmm2, xmm4
addss xmm1, dword [esp + 0x40]
shufps xmm2, xmm4, 1
movups xmmword [esp + 0xa0], xmm4
movups xmmword [esp + 0x130], xmm2
movaps xmm0, xmm1
mulss xmm1, xmm4
mulss xmm0, xmm2
mulss xmm1, dword [0x1022c6cc]
mulss xmm0, dword [0x1022c6cc]
addss xmm1, dword [esp + 0x9c]
addss xmm0, dword [esp + 0x98]
movss dword [esp + 0x1c], xmm1
movss xmm1, dword [esp + 0x90]
movss dword [esp + 0x18], xmm0
je 0x10086029
mulss xmm1, dword [0x1022c6dc]
jmp 0x10086031
mulss xmm1, dword [0x1022c6d0]
movaps xmm0, xmm1
movss dword [esp + 0x90], xmm1
mulss xmm0, dword [0x1022c6e8]
cvttss2si edi, xmm0
cmp edi, 9
jge 0x10086055
mov edi, 9
jmp 0x1008605f
mov eax, 0x20
cmp edi, eax
cmovg edi, eax
push edi
push dword [esp + 0x68]
lea eax, [esp + 0x20]
movaps xmm2, xmm1
push eax
mov ecx, esi
call fcn.100708d0
movss xmm2, dword [esp + 0x90]
lea eax, [esp + 0x18]
addss xmm2, dword [0x1022c720]
push ecx
mov dword [esp], 0x3f800000
mov ecx, esi
push edi
push dword [esp + 0x68]
push eax
call fcn.10070810
movss xmm2, dword [esp + 0x90]
lea eax, [esp + 0x18]
push ecx
mov dword [esp], 0x3f800000
mov ecx, esi
push edi
mov edi, dword [esp + 0x64]
push edi
push eax
call fcn.10070810
movups xmm3, xmmword [esp + 0x130]
lea ecx, [esp + 0xa0]
movss xmm1, dword [esp + 0xec]
movss xmm2, dword [esp + 0x98]
movaps xmm0, xmm3
movups xmm4, xmmword [esp + 0xa0]
movss xmm5, dword [esp + 0x9c]
mulss xmm0, xmm1
movss xmm6, dword [esp + 0xe4]
addss xmm0, xmm2
movss dword [esp + 0x40], xmm0
movss dword [esp + 0xec], xmm0
movaps xmm0, xmm4
mulss xmm0, xmm1
addss xmm0, xmm5
movss dword [esp + 0x98], xmm0
movss dword [esp + 0xf0], xmm0
movss xmm0, dword [esp + 0xdc]
movaps xmm7, xmm0
mulss xmm0, xmm4
mulss xmm7, xmm3
movss dword [esp + 0xdc], xmm0
movaps xmm0, xmm6
mulss xmm0, xmm4
movaps xmm1, xmm7
mulss xmm6, xmm3
subss xmm1, xmm0
addss xmm6, dword [esp + 0xdc]
addss xmm1, xmm2
addss xmm6, xmm5
movss dword [esp + 0x18], xmm1
movss xmm1, dword [esp + 0xe0]
movaps xmm0, xmm1
movss dword [esp + 0xe4], xmm6
mulss xmm1, xmm3
mulss xmm0, xmm4
addss xmm1, dword [esp + 0xdc]
movss dword [esp + 0x1c], xmm6
subss xmm7, xmm0
addss xmm1, xmm5
addss xmm7, xmm2
movss dword [esp + 0xe0], xmm1
movss dword [esp + 0x84], xmm1
movss dword [esp + 0x9c], xmm7
movss dword [esp + 0x80], xmm7
call fcn.1005f4e0
push 6
push 6
mov ecx, esi
call fcn.1006da10
mov ecx, dword [esi + 0x38]
mov ax, word [esi + 0x28]
mov word [ecx], ax
add dword [esi + 0x38], 2
mov eax, dword [esi + 0x34]
movss xmm2, dword [esp + 0x40]
movss xmm3, dword [esp + 0x98]
movss xmm1, dword [esp + 0xa0]
movss dword [eax], xmm2
movss dword [eax + 4], xmm3
mov eax, dword [esi + 0x34]
movss xmm0, dword [esp + 0xa4]
mov edx, dword [esp + 0x64]
movss xmm4, dword [esp + 0x18]
movss dword [eax + 8], xmm1
movss dword [eax + 0xc], xmm0
mov eax, dword [esi + 0x34]
movss xmm5, dword [esp + 0xe4]
movss xmm6, dword [esp + 0x9c]
movss xmm7, dword [esp + 0xe0]
mov dword [eax + 0x10], edx
add dword [esi + 0x34], 0x14
inc dword [esi + 0x28]
mov eax, dword [esi + 0x38]
mov ecx, dword [esi + 0x28]
mov word [eax], cx
mov eax, dword [esi + 0x34]
add dword [esi + 0x38], 2
movss dword [eax], xmm4
movss dword [eax + 4], xmm5
mov eax, dword [esi + 0x34]
movss dword [eax + 8], xmm1
movss dword [eax + 0xc], xmm0
mov eax, dword [esi + 0x34]
mov dword [eax + 0x10], edx
add dword [esi + 0x34], 0x14
inc dword [esi + 0x28]
mov eax, dword [esi + 0x38]
mov ecx, dword [esi + 0x28]
mov word [eax], cx
mov eax, dword [esi + 0x34]
add dword [esi + 0x38], 2
movss dword [eax], xmm6
movss dword [eax + 4], xmm7
mov eax, dword [esi + 0x34]
movss dword [eax + 8], xmm1
movss dword [eax + 0xc], xmm0
mov eax, dword [esi + 0x34]
mov dword [eax + 0x10], edi
add dword [esi + 0x34], 0x14
mov eax, dword [esi + 0x38]
inc dword [esi + 0x28]
mov ecx, dword [esi + 0x28]
mov word [eax], cx
mov eax, dword [esi + 0x34]
add dword [esi + 0x38], 2
movss dword [eax], xmm2
movss dword [eax + 4], xmm3
mov eax, dword [esi + 0x34]
movss dword [eax + 8], xmm1
movss dword [eax + 0xc], xmm0
mov eax, dword [esi + 0x34]
mov dword [eax + 0x10], 0
mov eax, dword [esi + 0x38]
add dword [esi + 0x34], 0x14
inc dword [esi + 0x28]
mov ecx, dword [esi + 0x28]
mov word [eax], cx
mov eax, dword [esi + 0x34]
add dword [esi + 0x38], 2
mov ecx, dword [esp + 0x4c]
movss dword [eax], xmm4
movss dword [eax + 4], xmm5
mov eax, dword [esi + 0x34]
movss dword [eax + 8], xmm1
movss dword [eax + 0xc], xmm0
mov eax, dword [esi + 0x34]
mov dword [eax + 0x10], ecx
mov eax, dword [esi + 0x38]
inc dword [esi + 0x28]
add dword [esi + 0x34], 0x14
mov ecx, dword [esi + 0x28]
mov word [eax], cx
add dword [esi + 0x38], 2
mov eax, dword [esi + 0x34]
movss dword [eax], xmm6
movss dword [eax + 4], xmm7
mov eax, dword [esi + 0x34]
push ecx
push dword [esp + 0x64]
mov ecx, esi
movss dword [eax + 8], xmm1
movss dword [eax + 0xc], xmm0
mov eax, dword [esi + 0x34]
mov dword [eax + 0x10], 0
lea eax, [esp + 0x88]
add dword [esi + 0x34], 0x14
inc dword [esi + 0x28]
push eax
lea eax, [esp + 0x24]
push eax
lea eax, [esp + 0xfc]
push eax
call fcn.10070640
movss xmm1, dword [0x1022c720]
xorps xmm2, xmm2
movaps xmm3, xmm1
subss xmm3, dword [esp + 0x44]
comiss xmm2, xmm3
jbe 0x100863a8
xorps xmm3, xmm3
jmp 0x100863ac
minss xmm3, xmm1
movss xmm0, dword [esp + 0x3c]
comiss xmm2, xmm0
jbe 0x100863bc
xorps xmm0, xmm0
jmp 0x100863c0
minss xmm0, xmm1
movss xmm1, dword [esp + 0x40]
subss xmm1, dword [esp + 0x9c]
movss xmm2, dword [esp + 0x18]
mov esi, dword [esp + 0x94]
mulss xmm1, xmm0
addss xmm1, dword [esp + 0x9c]
subss xmm2, xmm1
mulss xmm2, xmm3
addss xmm2, xmm1
movss xmm1, dword [esp + 0x98]
subss xmm1, dword [esp + 0xe0]
movss dword [esp + 0x100], xmm2
mulss xmm1, xmm0
movss xmm0, dword [esp + 0xe4]
addss xmm1, dword [esp + 0xe0]
subss xmm0, xmm1
mulss xmm0, xmm3
addss xmm0, xmm1
movss dword [esp + 0x104], xmm0
jmp 0x100867d5
test eax, 0x2000000
je 0x100867e0
movss xmm1, dword [esp + 0xcc]
movss xmm2, dword [esp + 0x30]
movaps xmm0, xmm1
mov eax, dword [esp + 0x5c]
addss xmm0, xmm2
mov ecx, dword [esp + 0x64]
addss xmm1, xmm2
push eax
push ecx
push ecx
mov ecx, dword [esp + 0x64]
movss dword [esp + 0x24], xmm0
movss xmm0, dword [esp + 0x40]
push eax
addss xmm0, xmm2
movss dword [esp + 0x50], xmm1
lea eax, [esp + 0x28]
push eax
lea eax, [esp + 0xe0]
push eax
movss dword [esp + 0x34], xmm0
call fcn.10070060
mov ecx, dword [esp + 0x4c]
lea eax, [esp + 0xa0]
movss xmm0, dword [esp + 0x40]
push ecx
push ecx
mov ecx, dword [esp + 0x60]
push 0
push 0
push eax
movss dword [esp + 0xb4], xmm0
lea eax, [esp + 0xe0]
movss xmm0, dword [esp + 0x30]
push eax
movss dword [esp + 0xbc], xmm0
call fcn.10070060
movss xmm0, dword [esp + 0x40]
movss dword [esp + 0x80], xmm0
movss xmm0, dword [esp + 0x1c]
movss dword [esp + 0x84], xmm0
xorps xmm0, xmm0
push dword [esp + 0x84]
push dword [esp + 0x84]
push dword [esp + 0xd8]
push dword [esp + 0xd8]
call fcn.10056840
movss xmm0, dword [esp + 0x4c]
xorps xmm2, xmm2
movss xmm1, dword [0x1022c720]
add esp, 0x10
comiss xmm2, xmm0
jbe 0x10086544
xorps xmm0, xmm0
jmp 0x10086548
minss xmm0, xmm1
movss xmm3, dword [esp + 0x30]
movss xmm4, dword [esp + 0xcc]
movss xmm6, dword [0x1022c6cc]
mulss xmm0, xmm3
movss xmm5, dword [0x1022c760]
addss xmm0, xmm4
addss xmm0, xmm6
cvttss2si eax, xmm0
movaps xmm0, xmm4
addss xmm4, xmm3
addss xmm0, xmm5
movd xmm7, eax
cvtdq2ps xmm7, xmm7
subss xmm4, xmm5
comiss xmm0, xmm7
jbe 0x1008659d
movss dword [esp + 0x100], xmm0
jmp 0x100865b6
comiss xmm7, xmm4
jbe 0x100865ad
movss dword [esp + 0x100], xmm4
jmp 0x100865b6
movss dword [esp + 0x100], xmm7
movaps xmm0, xmm1
subss xmm0, dword [esp + 0x44]
comiss xmm2, xmm0
jbe 0x100865c9
xorps xmm0, xmm0
jmp 0x100865cd
minss xmm0, xmm1
movss xmm1, dword [esp + 0x34]
mulss xmm0, xmm3
movaps xmm2, xmm1
addss xmm2, xmm5
addss xmm0, xmm1
addss xmm0, xmm6
cvttss2si eax, xmm0
movss xmm0, dword [esp + 0x1c]
subss xmm0, xmm5
movd xmm4, eax
cvtdq2ps xmm4, xmm4
comiss xmm2, xmm4
jbe 0x1008660b
movss dword [esp + 0x104], xmm2
jmp 0x10086624
comiss xmm4, xmm0
jbe 0x1008661b
movss dword [esp + 0x104], xmm0
jmp 0x10086624
movss dword [esp + 0x104], xmm4
movss xmm4, dword [esp + 0xc8]
lea eax, [esp + 0x144]
mov esi, dword [esp + 0x58]
movaps xmm0, xmm4
addss xmm0, dword [esp + 0x48]
movaps xmm2, xmm3
movss dword [esp + 0x18], xmm4
mulss xmm2, dword [0x1022c67c]
xor ecx, ecx
movss dword [esp + 0xa0], xmm0
movss dword [esp + 0x74], xmm2
mov eax, dword [eax + ecx*4]
lea edi, [ecx + 1]
movd xmm0, edi
cvtdq2ps xmm0, xmm0
push eax
push eax
lea eax, [esp + 0xa8]
mulss xmm0, xmm2
addss xmm0, xmm1
movss dword [esp + 0xac], xmm0
movd xmm0, ecx
mov ecx, dword [esp + ecx*4 + 0x148]
cvtdq2ps xmm0, xmm0
push ecx
push ecx
push eax
lea eax, [esp + 0x2c]
mov ecx, esi
push eax
mulss xmm0, xmm2
addss xmm0, xmm1
movss dword [esp + 0x34], xmm0
call fcn.10070060
movss xmm1, dword [esp + 0x34]
lea eax, [esp + 0x144]
movss xmm2, dword [esp + 0x74]
mov ecx, edi
cmp ecx, 6
jl 0x10086663
movss xmm2, dword [esp + 0x34]
movss xmm3, dword [esp + 0xc8]
movaps xmm0, xmm2
addss xmm0, dword [esp + 0x30]
movaps xmm1, xmm3
movss dword [esp + 0x84], xmm2
addss xmm1, dword [esp + 0x48]
movss dword [esp + 0x80], xmm3
movss dword [esp + 0x1c], xmm0
xorps xmm0, xmm0
push dword [esp + 0x1c]
movss dword [esp + 0x1c], xmm1
push dword [esp + 0x1c]
push dword [esp + 0x8c]
push dword [esp + 0x8c]
call fcn.10056840
mov esi, dword [esp + 0xa4]
movss xmm1, dword [esp + 0x58]
addss xmm1, dword [0x1022c760]
mov ecx, dword [esp + 0x68]
movd xmm2, esi
cvtdq2ps xmm2, xmm2
movaps xmm0, xmm2
movss dword [esp + 0x2c], xmm2
addss xmm0, dword [0x1022c720]
movss xmm2, dword [esp + 0xd8]
push dword [esp + 0x2c]
subss xmm2, dword [0x1022c720]
movss dword [esp + 0x2c], xmm0
movss xmm0, dword [esp + 0x40]
mulss xmm0, dword [esp + 0x44]
push dword [esp + 0x2c]
movss dword [esp + 0x98], xmm2
addss xmm0, dword [esp + 0x4c]
addss xmm0, dword [0x1022c6cc]
cvttss2si eax, xmm0
movd xmm0, eax
mov eax, dword [esp + 0x50]
cvtdq2ps xmm0, xmm0
movss xmm2, dword [eax + 0x2b38]
movss dword [esp + 0x9c], xmm0
push dword [esp + 0x9c]
push dword [esp + 0x9c]
call fcn.10084a90
add esp, 0x20
mov ecx, dword [esp + 0x7c]
mov edi, dword [esp + 0xf4]
cmp byte [esp + 0x17], 0
je 0x100867f1
movss xmm0, dword [0x1022c7cc]
jmp 0x100867f9
movss xmm0, dword [0x1022c7a8]
push 0xc
push ecx
mov ecx, dword [esp + 0x60]
lea eax, [esp + 0x108]
push eax
movaps xmm2, xmm0
movss dword [esp + 0x4c], xmm0
call fcn.100708d0
movss xmm2, dword [esp + 0x40]
lea eax, [esp + 0x100]
addss xmm2, dword [0x1022c720]
push ecx
mov ecx, dword [esp + 0x5c]
mov dword [esp], 0x3f800000
push 0xc
push dword [esp + 0x68]
push eax
call fcn.10070810
movss xmm2, dword [esp + 0x40]
lea eax, [esp + 0x100]
push ecx
mov ecx, dword [esp + 0x5c]
mov dword [esp], 0x3f800000
push 0xc
push dword [esp + 0x64]
push eax
call fcn.10070810
cmp dword [esp + 0x12c], 0x10000
jne 0x10086a26
movss xmm0, dword [edi + 0xc]
xorps xmm1, xmm1
comiss xmm1, xmm0
jbe 0x10086891
movss dword [esp + 0x94], xmm1
jmp 0x100868a2
minss xmm0, dword [0x1022c720]
movss dword [esp + 0x94], xmm0
movss xmm3, dword [esp + 0xe8]
xor edx, edx
movss xmm0, dword [esp + 0x34]
movaps xmm2, xmm3
addss xmm2, dword [esp + 0x48]
mov ecx, dword [esp + 0x58]
movss dword [esp + 0xa4], xmm0
addss xmm0, dword [esp + 0x30]
mov dword [esp + 0x1c], 0
push dword [esp + 0x1c]
mov dword [esp + 0x1c], 0
push dword [esp + 0x1c]
movss dword [esp + 0xb0], xmm2
subss xmm2, xmm3
movss dword [esp + 0xb4], xmm0
push dword [esp + 0xb4]
movss dword [esp + 0xac], xmm3
xorps xmm3, xmm3
push dword [esp + 0xb4]
mov edi, dword [esp + 0xb0]
push dword [esp + 0xb4]
mulss xmm2, dword [0x1022c6cc]
push edi
push 0
call fcn.100756b0
mov ecx, dword [esp + 0x98]
add esp, 0x1c
mov eax, ecx
and eax, 0xffffff
push eax
push eax
push ecx
push ecx
mov ecx, dword [esp + 0x68]
lea eax, [esp + 0xb8]
push eax
lea eax, [esp + 0xb4]
push eax
call fcn.10070060
push dword [esp + 0xac]
xorps xmm0, xmm0
push dword [esp + 0xac]
push dword [esp + 0xac]
push edi
call fcn.10056840
movss xmm1, dword [0x1022c720]
movd xmm2, esi
cvtdq2ps xmm2, xmm2
mov ecx, dword [esp + 0x68]
movaps xmm0, xmm2
movss dword [esp + 0x2c], xmm2
movss xmm2, dword [esp + 0xf8]
addss xmm0, xmm1
subss xmm2, xmm1
subss xmm1, dword [esp + 0xa4]
push dword [esp + 0x2c]
movss dword [esp + 0x2c], xmm0
push dword [esp + 0x2c]
mulss xmm1, dword [esp + 0x48]
movss dword [esp + 0x98], xmm2
addss xmm1, dword [esp + 0x4c]
addss xmm1, dword [0x1022c6cc]
cvttss2si eax, xmm1
movss xmm1, dword [esp + 0x60]
addss xmm1, dword [0x1022c760]
movd xmm0, eax
mov eax, dword [esp + 0x50]
cvtdq2ps xmm0, xmm0
movss xmm2, dword [eax + 0x2b38]
movss dword [esp + 0x9c], xmm0
push dword [esp + 0x9c]
push dword [esp + 0x9c]
call fcn.10084a90
add esp, 0x20
call fcn.10060090
cmp byte [esp + 0xe], 0
je 0x10086aa7
mov ecx, dword [esp + 0xf4]
lea esi, [esp + 0x15c]
xor edx, edx
cmp dword [esp + 0xd4], edx
sete dl
lea edx, [edx*4 + 0xc]
sub edx, 4
jb 0x10086a69
mov eax, dword [esi]
cmp eax, dword [ecx]
jne 0x10086a6e
add esi, 4
add ecx, 4
sub edx, 4
jae 0x10086a58
cmp edx, 0xfffffffc
je 0x10086aa2
mov al, byte [esi]
cmp al, byte [ecx]
jne 0x10086a9b
cmp edx, 0xfffffffd
je 0x10086aa2
mov al, byte [esi + 1]
cmp al, byte [ecx + 1]
jne 0x10086a9b
cmp edx, 0xfffffffe
je 0x10086aa2
mov al, byte [esi + 2]
cmp al, byte [ecx + 2]
jne 0x10086a9b
cmp edx, 0xffffffff
je 0x10086aa2
mov al, byte [esi + 3]
cmp al, byte [ecx + 3]
je 0x10086aa2
call fcn.10057770
jmp 0x10086aa7
mov byte [esp + 0xe], 0
call fcn.1005f570
mov ecx, dword [esp + 0x16c]
mov al, byte [esp + 0xe]
pop edi
pop esi
xor ecx, esp
call fcn.1014ba4f
mov esp, ebp
pop ebp
ret