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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x178
mov eax, dword [0x10249010]
xor eax, esp
mov dword [esp + 0x174], eax
mov eax, dword [ebp + 0xc]
push esi
mov esi, dword [0x1039eb90]
mov dword [esp + 0x4c], eax
push edi
mov edi, edx
mov dword [esp + 0x4c], ecx
mov eax, dword [esi + 0x31b8]
mov dword [esp + 0xf8], edi
mov dword [esp + 0x3c], esi
mov byte [eax + 0x8c], 1
mov eax, dword [esi + 0x31b8]
mov dword [esp + 0x9c], eax
cmp byte [eax + 0x8f], 0
je 0x100848e3
xor al, al
pop edi
pop esi
mov ecx, dword [esp + 0x174]
xor ecx, esp
call fcn.1015164c
mov esp, ebp
pop ebp
ret
mov eax, dword [eax + 0x244]
mov dword [esp + 0x5c], eax
call fcn.1005fb20
mov ecx, dword [esp + 0x4c]
movss dword [esp + 0x44], xmm0
mov dword [esi + 0x3248], 0
call fcn.1005f290
call fcn.1005fd10
mov ecx, dword [ebp + 8]
mov edx, ecx
or edx, 0x10
test ecx, 0x100
cmovne edx, ecx
mov dword [esp + 0xe4], edx
test dl, 8
jne 0x1008493b
mov ecx, edi
call fcn.100873a0
mov edx, dword [esp + 0xe4]
test edx, 0x6000000
jne 0x10084960
mov eax, dword [esi + 0x44d8]
mov ecx, 0xa900000
test eax, 0x6000000
cmovne ecx, eax
and ecx, 0x6000000
or ecx, edx
jmp 0x10084962
mov ecx, edx
mov dword [esp + 0x18], ecx
test ecx, 0x18000000
jne 0x1008498d
mov eax, dword [esi + 0x44d8]
mov edx, 0xa900000
test eax, 0x18000000
cmovne edx, eax
and edx, 0x18000000
or ecx, edx
mov dword [esp + 0x18], ecx
test cl, 8
jne 0x100849a3
mov eax, dword [esi + 0x44d8]
and eax, 0x10000
or ecx, eax
mov dword [esp + 0x18], ecx
mov eax, dword [esp + 0x9c]
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 xmm4, dword [eax + 0xd0]
movss dword [esp + 0x104], xmm4
movss dword [esp + 0x38], xmm0
movss dword [esp + 0x108], xmm0
call fcn.1005fc60
movss xmm3, dword [esi + 0x2b8c]
xor eax, eax
cmp ecx, 0x10000
movss dword [esp + 0xd8], xmm3
movaps xmm2, xmm0
movaps xmm0, xmm3
sete al
movss dword [esp + 0x64], xmm2
inc eax
addss xmm0, xmm2
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 + 0x44]
push eax
subss xmm0, xmm1
mov dword [esp + 0xe8], eax
movaps xmm1, xmm4
lea eax, [esp + 0x170]
push edi
push eax
maxss xmm0, xmm2
addss xmm1, xmm0
movss dword [esp + 0x50], xmm0
movaps xmm0, xmm1
movss dword [esp + 0xec], xmm1
addss xmm0, xmm3
movss dword [esp + 0x8c], xmm0
addss xmm0, xmm2
movss dword [esp + 0xa0], xmm0
addss xmm0, xmm3
movss dword [esp + 0x130], xmm0
movaps xmm0, xmm2
mulss xmm0, dword [0x10232d28]
cvttss2si esi, xmm0
mov dword [esp + 0xa8], esi
call sub.VCRUNTIME140.dll_memcpy
movss xmm0, dword [esp + 0x50]
add esp, 0xc
movaps xmm4, xmm0
mov dword [esp + 0x110], 0
mulss xmm4, dword [0x10232d64]
movaps xmm3, xmm0
mulss xmm0, dword [0x10232ccc]
mulss xmm3, dword [0x10232cf8]
movaps xmm1, xmm4
movaps xmm2, xmm4
movss dword [esp + 0x128], xmm4
addss xmm2, dword [esp + 0x38]
cvttss2si eax, xmm0
subss xmm1, xmm3
movss dword [esp + 0x84], xmm3
movss xmm3, dword [esp + 0x64]
mulss xmm3, dword [0x10232d64]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
addss xmm3, xmm4
movss dword [esp + 0xfc], xmm1
subss xmm1, xmm0
movss dword [esp + 0x114], xmm2
movss dword [esp + 0xb8], xmm2
addss xmm3, dword [esp + 0x104]
movss dword [esp + 0x10c], xmm1
movss dword [esp + 0x100], xmm3
movss dword [esp + 0xb4], xmm3
movss xmm3, dword [edi]
movaps xmm0, xmm1
mulss xmm0, dword [0x102330c4]
movaps xmm6, xmm1
mov eax, dword [esp + 0x18]
mov ecx, eax
mulss xmm6, dword [0x102330d8]
movaps xmm4, xmm3
and ecx, 0x8000000
movss dword [esp + 0x34], xmm3
movss dword [esp + 0x118], xmm0
movss dword [esp + 0x20], xmm0
movss dword [esp + 0xa0], xmm0
movaps xmm0, xmm1
mulss xmm0, dword [0x10232da0]
mov dword [esp + 0x60], ecx
movss xmm1, dword [edi + 8]
movaps xmm2, xmm1
movss dword [esp + 0x6c], xmm6
movss dword [esp + 0x11c], xmm0
movss dword [esp + 0xa4], xmm0
movss xmm0, dword [edi + 4]
movaps xmm5, xmm0
movss dword [esp + 0x24], xmm6
movss dword [esp + 0x58], xmm3
movss dword [esp + 0x40], xmm0
movss dword [esp + 0x70], xmm0
movss dword [esp + 0x48], xmm1
movss dword [esp + 0x74], xmm1
movss dword [esp + 0xe8], xmm4
movss dword [esp + 0x88], xmm4
movss dword [esp + 0xf4], xmm5
movss dword [esp + 0x78], xmm5
movss dword [esp + 0x7c], xmm2
movss dword [esp + 0x68], xmm2
je 0x10084c8a
lea eax, [esp + 0x74]
movaps xmm1, xmm5
push eax
lea edx, [esp + 0x74]
movaps xmm0, xmm4
lea ecx, [esp + 0x5c]
call fcn.10055a10
add esp, 4
lea eax, [esp + 0x74]
push eax
mov eax, edx
mov edx, ecx
push eax
mov ecx, edi
call fcn.100839d0
movss xmm0, dword [esp + 0x60]
add esp, 8
movss dword [esp + 0x34], xmm0
movss xmm0, dword [esp + 0x70]
movss dword [esp + 0x40], xmm0
movss xmm0, dword [esp + 0x74]
movss dword [esp + 0x48], xmm0
jmp 0x10084cdc
test eax, 0x10000000
je 0x10084cdc
lea eax, [esp + 0x68]
movaps xmm1, xmm0
push eax
lea edx, [esp + 0x7c]
movaps xmm0, xmm3
lea ecx, [esp + 0x8c]
call fcn.10055ab0
movss xmm0, dword [esp + 0x8c]
add esp, 4
movss dword [esp + 0xe8], xmm0
movss xmm0, dword [esp + 0x78]
movss dword [esp + 0xf4], xmm0
movss xmm0, dword [esp + 0x68]
movss dword [esp + 0x7c], xmm0
mov ecx, 8
mov byte [esp + 0x16], 0
mov byte [esp + 0x1e], 0
mov byte [esp + 0x1f], 0
call fcn.1005ed80
mov eax, dword [esp + 0x18]
mov ecx, eax
and ecx, 0x4000000
mov dword [esp + 0xdc], ecx
je 0x10085139
mov ecx, dword [esp + 0x3c]
lea edx, [esp + 0x8c]
movss xmm1, dword [esp + 0x44]
movaps xmm0, xmm1
movss dword [esp + 0x90], xmm1
push ecx
addss xmm0, dword [ecx + 0x2b8c]
mov ecx, 0x1020f988
addss xmm0, dword [esp + 0x68]
movss dword [esp + 0x90], xmm0
call fcn.1007c3b0
add esp, 4
call fcn.1005a480
test al, al
je 0x10085085
mov eax, dword [esp + 0x3c]
movss xmm2, dword [eax + 0x8c]
subss xmm2, dword [esp + 0x100]
movss xmm0, dword [eax + 0x29c8]
subss xmm0, dword [esp + 0x114]
movss xmm1, dword [eax + 0x29c4]
subss xmm1, dword [esp + 0x100]
movss dword [esp + 0x54], xmm2
movss dword [esp + 0x120], xmm2
movss xmm2, dword [eax + 0x90]
subss xmm2, dword [esp + 0x114]
movss dword [esp + 0xec], xmm0
movss dword [esp + 0xc4], xmm1
movss dword [esp + 0x8c], xmm2
movss dword [esp + 0x98], xmm2
movaps xmm2, xmm0
mulss xmm2, xmm0
movaps xmm0, xmm1
mulss xmm0, xmm1
movss xmm1, dword [0x10232db8]
addss xmm2, xmm0
movss xmm0, dword [esp + 0xfc]
subss xmm0, xmm1
mulss xmm0, xmm0
comiss xmm2, xmm0
jb 0x10084e72
movss xmm0, dword [esp + 0x128]
addss xmm0, xmm1
mulss xmm0, xmm0
comiss xmm0, xmm2
jb 0x10084e72
fld dword [esp + 0x98]
xorps xmm2, xmm2
fld dword [esp + 0x120]
fpatan
fstp dword [esp + 0x120]
movss xmm0, dword [esp + 0x120]
mulss xmm0, dword [0x10232d14]
comiss xmm2, xmm0
movss dword [esp + 0x34], xmm0
movss dword [esp + 0x58], xmm0
jbe 0x10084e6a
addss xmm0, xmm1
movss dword [esp + 0x34], xmm0
movss dword [esp + 0x58], xmm0
mov cl, 1
mov byte [esp + 0x16], cl
jmp 0x10084e7c
mov cl, byte [esp + 0x16]
movss xmm0, dword [esp + 0x34]
movaps xmm1, xmm0
mov byte [esp + 0x17], cl
mulss xmm1, dword [0x102330e4]
mulss xmm1, dword [0x10232e28]
movaps xmm0, xmm1
call fcn.101a84b0
movss xmm5, dword [esp + 0xec]
lea edx, [esp + 0x20]
mov al, byte [esp + 0x16]
lea ecx, [esp + 0x10c]
movaps xmm3, xmm0
mov byte [esp + 0x1e], al
shufps xmm0, xmm3, 1
lea eax, [esp + 0xec]
movaps xmm2, xmm0
movaps xmmword [esp + 0x130], xmm0
mulss xmm2, dword [esp + 0xc4]
movaps xmm1, xmm3
push eax
mulss xmm1, xmm5
lea eax, [esp + 0xa4]
push eax
movups xmmword [esp + 0x148], xmm3
subss xmm2, xmm1
movaps xmm1, xmm0
movaps xmm0, xmm3
mulss xmm1, xmm5
mulss xmm0, dword [esp + 0xcc]
movss dword [esp + 0xf4], xmm2
addss xmm1, xmm0
movss dword [esp + 0xf8], xmm1
call fcn.10054d40
add esp, 8
test al, al
je 0x10085085
movups xmm3, xmmword [esp + 0x140]
lea eax, [esp + 0xc4]
movaps xmm2, xmmword [esp + 0x130]
lea edx, [esp + 0x20]
movaps xmm1, xmm2
movaps xmm0, xmm3
mulss xmm1, dword [esp + 0x54]
push eax
mulss xmm0, dword [esp + 0x90]
lea eax, [esp + 0xa4]
push eax
mulss xmm2, dword [esp + 0x94]
mulss xmm3, dword [esp + 0x5c]
subss xmm1, xmm0
addss xmm2, xmm3
movss dword [esp + 0xcc], xmm1
movss dword [esp + 0xd0], xmm2
call fcn.10054d40
add esp, 8
test al, al
jne 0x10084fdd
lea eax, [esp + 0xc4]
mov edx, ecx
push eax
lea eax, [esp + 0xa4]
push eax
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x98]
call fcn.10054ec0
add esp, 0xc
movss xmm0, dword [eax]
movss dword [esp + 0xc4], xmm0
movss xmm0, dword [eax + 4]
movss dword [esp + 0xc8], xmm0
lea eax, [esp + 0xec]
push eax
lea eax, [esp + 0x90]
push eax
lea eax, [esp + 0x5c]
push eax
lea eax, [esp + 0xd0]
push eax
lea eax, [esp + 0xb0]
push eax
lea edx, [esp + 0x34]
lea ecx, [esp + 0x120]
call fcn.10054e00
movss xmm1, dword [0x10232db8]
add esp, 0x14
movss xmm0, dword [0x10232c80]
movaps xmm2, xmm1
subss xmm2, dword [esp + 0x8c]
movss dword [esp + 0x40], xmm0
comiss xmm0, xmm2
jbe 0x10085041
movaps xmm2, xmm0
jmp 0x10085045
minss xmm2, xmm1
movss xmm3, dword [esp + 0x54]
divss xmm3, xmm2
movss dword [esp + 0x48], xmm2
comiss xmm0, xmm3
movss dword [esp + 0x74], xmm2
ja 0x1008506d
movaps xmm0, xmm3
minss xmm0, xmm1
movss dword [esp + 0x40], xmm0
mov al, byte [esp + 0x17]
movss dword [esp + 0x70], xmm0
mov byte [esp + 0x1f], 1
mov byte [esp + 0x16], 1
mov byte [esp + 0x1e], al
test byte [esp + 0x18], 8
jne 0x10085091
call fcn.10060d80
movss xmm1, dword [esp + 0x38]
cmp dword [esp + 0x12c], 0x10000
jne 0x1008533c
movss xmm0, dword [esp + 0x124]
lea ecx, [esp + 0x20]
movss dword [esp + 0x20], xmm0
movss dword [esp + 0x24], xmm1
call fcn.1005fa00
movss xmm0, dword [esp + 0x64]
lea edx, [esp + 0x20]
movss dword [esp + 0x20], xmm0
movss xmm0, dword [esp + 0x44]
push ecx
mov ecx, str.alpha
movss dword [esp + 0x28], xmm0
call fcn.1007c3b0
add esp, 4
call fcn.1005a480
test al, al
je 0x1008533c
mov eax, dword [esp + 0x3c]
movss xmm0, dword [esp + 0x44]
movss xmm1, dword [0x10232db8]
subss xmm0, xmm1
movss xmm2, dword [eax + 0x90]
subss xmm2, dword [esp + 0x38]
divss xmm2, xmm0
xorps xmm0, xmm0
comiss xmm0, xmm2
jbe 0x10085327
xorps xmm2, xmm2
jmp 0x1008532b
test eax, 0x2000000
je 0x10085091
movss xmm0, dword [esp + 0x44]
lea edx, [esp + 0x20]
push ecx
mov ecx, 0x1020f978
movss dword [esp + 0x24], xmm0
movss dword [esp + 0x28], xmm0
call fcn.1007c3b0
movss xmm0, dword [esp + 0x48]
add esp, 4
movss xmm1, dword [0x10232db8]
subss xmm0, xmm1
movss dword [esp + 0x8c], xmm0
call fcn.1005a480
test al, al
je 0x10085259
mov eax, dword [esp + 0x3c]
movaps xmm4, xmm1
divss xmm4, xmm0
movss xmm0, dword [eax + 0x8c]
xorps xmm2, xmm2
subss xmm0, dword [esp + 0x104]
mulss xmm0, xmm4
comiss xmm2, xmm0
jbe 0x100851bd
xorps xmm0, xmm0
jmp 0x100851c1
minss xmm0, xmm1
movss xmm3, dword [eax + 0x90]
subss xmm3, dword [esp + 0x38]
movss dword [esp + 0x40], xmm0
movss dword [esp + 0x70], xmm0
mulss xmm3, xmm4
comiss xmm2, xmm3
jbe 0x100851e9
xorps xmm3, xmm3
jmp 0x100851ed
minss xmm3, xmm1
movaps xmm0, xmm1
mov dword [esp + 0x2c], 0
subss xmm0, xmm3
lea ecx, [esp + 0x20]
movss dword [esp + 0x48], xmm0
movss dword [esp + 0x74], xmm0
movss xmm0, dword [edi]
movss dword [esp + 0x20], xmm0
movss xmm0, dword [edi + 4]
movss dword [esp + 0x24], xmm0
movss xmm0, dword [edi + 8]
movss dword [esp + 0x28], xmm0
call fcn.10055960
mov ecx, dword [esp + 0x3c]
cmp dword [ecx + 0x44e4], eax
jne 0x10085251
movss xmm0, dword [ecx + 0x44dc]
movss dword [esp + 0x34], xmm0
movss dword [esp + 0x58], xmm0
mov al, 1
mov byte [esp + 0x16], al
jmp 0x1008525d
mov al, byte [esp + 0x16]
test byte [esp + 0x18], 8
mov byte [esp + 0x17], al
jne 0x1008526d
call fcn.10060d80
movss xmm0, dword [esp + 0x80]
lea ecx, [esp + 0x20]
movss dword [esp + 0x20], xmm0
movss xmm0, dword [esp + 0x38]
movss dword [esp + 0x24], xmm0
call fcn.1005fa00
movss xmm0, dword [esp + 0x64]
lea edx, [esp + 0x20]
movss dword [esp + 0x20], xmm0
movss xmm0, dword [esp + 0x44]
push ecx
mov ecx, 0x1020f97c
movss dword [esp + 0x28], xmm0
call fcn.1007c3b0
mov dl, byte [esp + 0x1a]
add esp, 4
mov byte [esp + 0x1f], dl
call fcn.1005a480
test al, al
je 0x10085091
mov ecx, dword [esp + 0x3c]
xorps xmm2, xmm2
movss xmm1, dword [esp + 0x38]
movss xmm0, dword [ecx + 0x90]
subss xmm0, xmm1
divss xmm0, dword [esp + 0x8c]
comiss xmm2, xmm0
jbe 0x100852fc
xorps xmm0, xmm0
jmp 0x10085304
minss xmm0, dword [0x10232db8]
mov al, byte [esp + 0x17]
movss dword [esp + 0x34], xmm0
movss dword [esp + 0x58], xmm0
mov byte [esp + 0x1e], 1
mov byte [esp + 0x16], 1
mov byte [esp + 0x1f], al
jmp 0x10085097
minss xmm2, xmm1
movaps xmm0, xmm1
mov byte [esp + 0x16], 1
subss xmm0, xmm2
movss dword [edi + 0xc], xmm0
call fcn.1005edb0
mov eax, dword [esp + 0x18]
mov ecx, eax
and ecx, 0x100
mov dword [esp + 0x98], ecx
jne 0x10085370
mov eax, dword [esp + 0x3c]
movss xmm1, dword [eax + 0x2b8c]
call fcn.1005f960
call fcn.1005fd10
mov eax, dword [esp + 0x18]
and eax, 0x80
mov dword [esp + 0x54], eax
jne 0x100853c4
mov ecx, dword [esp + 0x4c]
xor edx, edx
call fcn.100560f0
mov dword [esp + 0x8c], eax
cmp dword [esp + 0x4c], eax
je 0x100853c4
cmp dword [esp + 0x98], edx
je 0x100853b4
mov eax, dword [esp + 0x3c]
movss xmm1, dword [eax + 0x2b8c]
call fcn.1005f960
mov eax, dword [esp + 0x8c]
mov ecx, dword [esp + 0x4c]
mov edx, eax
push 0
call fcn.1007b030
add esp, 4
cmp dword [esp + 0x98], 0
jne 0x10085567
mov ecx, 0x10
call fcn.1005ed80
cmp dword [esp + 0xd4], 0
je 0x100853f0
movss xmm1, dword [0x10232db8]
jmp 0x100853f5
movss xmm1, dword [edi + 0xc]
cmp dword [esp + 0x54], 0
movss xmm0, dword [edi]
movss dword [esp + 0xa0], xmm0
movss xmm0, dword [edi + 4]
movss dword [esp + 0xa4], xmm0
movss xmm0, dword [edi + 8]
movss dword [esp + 0xa8], xmm0
movss dword [esp + 0xac], xmm1
je 0x1008543b
push str.Current
call fcn.1007b450
add esp, 4
movss xmm1, dword [esp + 0x64]
lea edx, [esp + 0xa0]
mov eax, dword [esp + 0x18]
movaps xmm0, xmm1
mulss xmm0, dword [0x10232e20]
and eax, 0x180e0040
mov ecx, str.current
mov dword [esp + 0xec], eax
movss dword [esp + 0x20], xmm0
movss dword [esp + 0x8c], xmm0
movaps xmm0, xmm1
addss xmm0, xmm1
movss dword [esp + 0x24], xmm0
push dword [esp + 0x24]
movss dword [esp + 0x58], xmm0
push dword [esp + 0x24]
push eax
call fcn.100867d0
add esp, 0xc
cmp dword [esp + 0x50], 0
je 0x1008555d
push str.Original
call fcn.1007b450
mov eax, dword [esp + 0x54]
add esp, 4
cmp dword [esp + 0xd4], 0
je 0x100854cb
movss xmm1, dword [0x10232db8]
jmp 0x100854d0
movss xmm1, dword [eax + 0xc]
movss xmm0, dword [eax]
lea edx, [esp + 0xc4]
movss dword [esp + 0xc4], xmm0
mov ecx, str.original
movss xmm0, dword [eax + 4]
movss dword [esp + 0xc8], xmm0
movss xmm0, dword [eax + 8]
movss dword [esp + 0xcc], xmm0
movss xmm0, dword [esp + 0x8c]
movss dword [esp + 0x20], xmm0
movss xmm0, dword [esp + 0x54]
movss dword [esp + 0x24], xmm0
push dword [esp + 0x24]
movss dword [esp + 0xd4], xmm1
push dword [esp + 0x24]
push dword [esp + 0xf4]
call fcn.100867d0
add esp, 0xc
test al, al
je 0x1008555d
push dword [esp + 0xe4]
push dword [esp + 0x54]
push edi
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov byte [esp + 0x16], 1
call fcn.1005edb0
call fcn.1005fe40
cmp byte [esp + 0x1e], 0
jne 0x10085579
cmp byte [esp + 0x1f], 0
je 0x10085602
cmp dword [esp + 0x60], 0
je 0x1008562b
movss xmm2, dword [esp + 0x48]
lea eax, [edi + 8]
movss xmm1, dword [esp + 0x40]
lea edx, [edi + 4]
movss xmm0, dword [esp + 0x34]
mov ecx, edi
push eax
call fcn.10055ab0
mov eax, dword [esp + 0x40]
lea ecx, [esp + 0x24]
movss xmm0, dword [esp + 0x38]
add esp, 4
mov dword [esp + 0x2c], 0
movss dword [eax + 0x44dc], xmm0
movss xmm0, dword [esp + 0x40]
movss dword [eax + 0x44e0], xmm0
movss xmm0, dword [edi]
movss dword [esp + 0x20], xmm0
movss xmm0, dword [edi + 4]
movss dword [esp + 0x24], xmm0
movss xmm0, dword [edi + 8]
movss dword [esp + 0x28], xmm0
call fcn.10055960
mov ecx, dword [esp + 0x3c]
mov dword [ecx + 0x44e4], eax
mov eax, dword [esp + 0x18]
mov byte [esp + 0x17], 0
test al, 0x20
jne 0x10085801
cmp dword [esp + 0x12c], 0x10000
jne 0x10085658
movss xmm0, dword [esp + 0x94]
jmp 0x10085661
mov eax, dword [esp + 0x18]
test eax, 0x10000000
je 0x10085606
movss xmm0, dword [esp + 0x34]
movss dword [edi], xmm0
movss xmm0, dword [esp + 0x40]
movss dword [edi + 4], xmm0
movss xmm0, dword [esp + 0x48]
movss dword [edi + 8], xmm0
jmp 0x10085606
movss xmm0, dword [esp + 0xe0]
addss xmm0, dword [esp + 0xd8]
addss xmm0, dword [esp + 0x64]
subss xmm0, dword [esp + 0x104]
call fcn.1005fa80
mov eax, dword [esp + 0x18]
mov edx, eax
and edx, 0x198e001a
mov dword [esp + 0x50], edx
test eax, 0x100000
jne 0x100856a9
mov ecx, eax
and ecx, 0x700000
mov dword [esp + 0x4c], ecx
jne 0x10085707
mov dword [esp + 0x4c], ecx
jmp 0x100856b2
and eax, 0x700000
mov dword [esp + 0x4c], eax
or edx, 0x100004
mov ecx, str.rgb
push edx
mov edx, edi
call fcn.10083a80
add esp, 4
test al, al
je 0x100856fb
mov eax, dword [esp + 0x3c]
cmp dword [eax + 0x31f0], 0
je 0x100856e7
cmp byte [eax + 0x31fd], 0
mov byte [esp + 0x17], 1
je 0x100856ec
mov byte [esp + 0x17], 0
mov ecx, dword [esp + 0x4c]
mov byte [esp + 0x16], 1
mov dword [esp + 0x4c], ecx
jmp 0x100856ff
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x50]
mov eax, dword [esp + 0x18]
test eax, 0x200000
jne 0x10085712
test ecx, ecx
jne 0x10085734
or edx, 0x200004
mov ecx, str.hsv
push edx
mov edx, edi
call fcn.10083a80
mov ecx, dword [esp + 0x50]
add esp, 4
or byte [esp + 0x16], al
mov eax, dword [esp + 0x18]
test eax, 0x400000
jne 0x1008573f
test ecx, ecx
jne 0x1008575c
mov eax, dword [esp + 0x50]
mov edx, edi
or eax, 0x400004
mov ecx, str.hex
push eax
call fcn.10083a80
add esp, 4
or byte [esp + 0x16], al
call fcn.1005fae0
cmp byte [esp + 0x17], 0
mov edx, dword [esp + 0x60]
je 0x100858c3
test edx, edx
je 0x100858c3
movss xmm2, dword [edi + 8]
lea eax, [esp + 0x8c]
movss xmm1, dword [edi + 4]
lea edx, [esp + 0x54]
movss xmm0, dword [edi]
lea ecx, [esp + 0xd8]
push eax
call fcn.10055a10
xorps xmm1, xmm1
add esp, 4
comiss xmm1, dword [esp + 0xd8]
jb 0x100857fd
movss xmm0, dword [esp + 0x34]
comiss xmm0, xmm1
jbe 0x100857fd
movss xmm3, dword [esp + 0x8c]
comiss xmm1, xmm3
jb 0x10085899
movss xmm2, dword [esp + 0x48]
ucomiss xmm2, xmm3
lahf
test ah, 0x44
jnp 0x10085899
mulss xmm2, dword [0x10232d64]
lea eax, [edi + 8]
lea edx, [edi + 4]
mov ecx, edi
movss xmm1, dword [esp + 0x40]
push eax
call fcn.10055ab0
add esp, 4
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x60]
cmp byte [esp + 0x16], 0
je 0x10085941
test edx, edx
je 0x100858cc
movss xmm0, dword [edi + 8]
lea eax, [esp + 0x74]
movss xmm6, dword [edi]
lea edx, [esp + 0x70]
movss xmm7, dword [edi + 4]
lea ecx, [esp + 0x58]
movss dword [esp + 0x7c], xmm0
movaps xmm2, xmm0
push eax
movaps xmm1, xmm7
movss dword [esp + 0xec], xmm6
movaps xmm0, xmm6
movss dword [esp + 0xf8], xmm7
call fcn.10055a10
add esp, 4
lea eax, [esp + 0x74]
push eax
mov eax, edx
mov edx, ecx
push eax
mov ecx, edi
call fcn.100839d0
movss xmm0, dword [esp + 0x78]
add esp, 8
movss xmm3, dword [esp + 0x58]
movss dword [esp + 0x40], xmm0
movss xmm0, dword [esp + 0x74]
movss dword [esp + 0x34], xmm3
movss dword [esp + 0x48], xmm0
jmp 0x10085947
comiss xmm1, dword [esp + 0x54]
jb 0x100857fd
movss xmm1, dword [esp + 0x40]
lea eax, [edi + 8]
mulss xmm1, dword [0x10232d64]
lea edx, [edi + 4]
push eax
mov ecx, edi
movaps xmm2, xmm3
jmp 0x100857f5
mov eax, dword [esp + 0x18]
jmp 0x10085805
test eax, 0x10000000
je 0x10085941
movss xmm1, dword [edi + 8]
lea eax, [esp + 0x68]
movss xmm0, dword [edi + 4]
lea edx, [esp + 0x78]
movss xmm3, dword [edi]
lea ecx, [esp + 0x88]
movss dword [esp + 0x48], xmm1
movaps xmm2, xmm1
movss dword [esp + 0x40], xmm0
movaps xmm1, xmm0
push eax
movaps xmm0, xmm3
movss dword [esp + 0x38], xmm3
call fcn.10055ab0
movss xmm0, dword [esp + 0x8c]
add esp, 4
movss dword [esp + 0xe8], xmm0
movss xmm0, dword [esp + 0x78]
movss dword [esp + 0xf4], xmm0
movss xmm0, dword [esp + 0x68]
movss dword [esp + 0x7c], xmm0
movss xmm3, dword [esp + 0x34]
mov eax, dword [esp + 0x3c]
xorps xmm0, xmm0
movss xmm2, dword [eax + 0x2b38]
comiss xmm0, xmm2
movss xmm0, dword [0x10232db8]
jbe 0x10085968
xorps xmm1, xmm1
jmp 0x1008596f
movaps xmm1, xmm2
minss xmm1, xmm0
mulss xmm1, dword [0x10233000]
mov dword [esp + 0x20], 0x3f800000
movss dword [esp + 0x2c], xmm2
movaps xmm2, xmm0
mov dword [esp + 0x24], 0x3f800000
addss xmm1, dword [0x10232d64]
mov dword [esp + 0x28], 0x3f800000
cvttss2si edx, xmm1
movaps xmm1, xmm0
movaps xmm0, xmm3
shl edx, 0x18
mov eax, edx
mov dword [esp + 0x50], edx
or eax, 0xffffff
mov ecx, edx
mov dword [esp + 0x68], eax
or ecx, 0xff0000
mov eax, edx
mov dword [esp + 0x150], ecx
or eax, 0x808080
mov dword [esp + 0x168], ecx
mov dword [esp + 0x88], eax
lea ecx, [esp + 0x20]
mov eax, edx
or eax, 0xffff00
mov dword [esp + 0x154], eax
mov eax, edx
or eax, 0xff00
mov dword [esp + 0x158], eax
mov eax, edx
or eax, 0xffff
mov dword [esp + 0x15c], eax
mov eax, edx
or eax, 0xff
mov dword [esp + 0x160], eax
mov eax, edx
or eax, 0xff00ff
lea edx, [esp + 0x24]
mov dword [esp + 0x164], eax
lea eax, [esp + 0x28]
push eax
call fcn.10055ab0
add esp, 4
lea ecx, [esp + 0x20]
call fcn.10055960
movss xmm0, dword [esp + 0xe8]
lea ecx, [esp + 0x20]
movss dword [esp + 0x20], xmm0
movss xmm0, dword [esp + 0xf4]
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0x3c]
movss dword [esp + 0x24], xmm0
movss xmm0, dword [esp + 0x7c]
movss dword [esp + 0x28], xmm0
movss xmm0, dword [eax + 0x2b38]
movss dword [esp + 0x2c], xmm0
call fcn.10055960
cmp dword [esp + 0xdc], 0
mov dword [esp + 0x7c], eax
mov dword [esp + 0xc8], 0
mov dword [esp + 0xc4], 0
je 0x10086152
movss xmm1, dword [esp + 0x128]
mov eax, 0x2aaaaaab
movss xmm2, dword [0x10232d64]
movaps xmm4, xmm1
addss xmm4, dword [esp + 0xfc]
divss xmm2, xmm1
mov esi, dword [esp + 0x5c]
mulss xmm4, dword [0x10232d64]
movss xmm3, dword [0x10232dc0]
cvttss2si ecx, xmm1
movss dword [esp + 0x8c], xmm2
imul ecx
movss dword [esp + 0x54], 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 + 0xec], ecx
mov dword [esp + 0x80], eax
nop word [eax + eax]
mov edi, dword [esi + 0x18]
movd xmm1, eax
lea eax, [esp + 0xb4]
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 + 0xe4], xmm0
movss dword [esp], xmm1
push eax
movss dword [esp + 0xe4], xmm1
call fcn.1006f160
movss xmm0, dword [esp + 0x84]
push ecx
movss dword [esp], xmm0
mov ecx, esi
push 0
push dword [esp + 0x70]
push dword [esi + 0x54]
push dword [esi + 0x5c]
call fcn.1006d900
movss xmm0, dword [esp + 0xdc]
movss xmm1, dword [esp + 0xd8]
mov dword [esi + 0x54], 0
call fcn.101a8500
movss xmm3, dword [esp + 0xfc]
movaps xmm2, xmm0
movaps xmm1, xmm0
shufps xmm2, xmm0, 0xe
shufps xmm1, xmm0, 1
mov edx, edi
mulss xmm0, xmm3
mov ecx, esi
mov eax, dword [esp + 0x80]
mulss xmm1, xmm3
addss xmm0, dword [esp + 0x114]
addss xmm1, dword [esp + 0x100]
movss dword [esp + 0xa4], xmm0
movaps xmm0, xmm2
shufps xmm0, xmm2, 1
mulss xmm2, xmm3
mulss xmm0, xmm3
addss xmm2, dword [esp + 0x114]
movss dword [esp + 0xa0], xmm1
addss xmm0, dword [esp + 0x100]
movss dword [esp + 0x24], xmm2
push dword [esp + 0x24]
movss dword [esp + 0x24], xmm0
push dword [esp + 0x24]
push dword [esp + 0xac]
push dword [esp + 0xac]
push dword [esp + eax*4 + 0x164]
push dword [esp + eax*4 + 0x164]
push dword [esi + 0x18]
call fcn.10070b80
mov eax, dword [esp + 0x9c]
add esp, 0x1c
movss xmm2, dword [esp + 0x8c]
inc eax
movss xmm4, dword [esp + 0x54]
movss xmm3, dword [0x10232dc0]
mov ecx, dword [esp + 0xec]
mov dword [esp + 0x80], eax
cmp eax, 6
jl 0x10085b30
movss xmm1, dword [esp + 0x34]
mulss xmm1, dword [0x10232e00]
mulss xmm1, dword [0x10232e28]
movaps xmm0, xmm1
call fcn.101a84b0
cmp byte [esp + 0x1e], 0
movaps xmm3, xmm0
movss xmm1, dword [esp + 0xfc]
movaps xmm2, xmm3
addss xmm1, dword [esp + 0x128]
shufps xmm2, xmm3, 1
movups xmmword [esp + 0x130], xmm3
movups xmmword [esp + 0x140], xmm2
movaps xmm0, xmm1
mulss xmm1, xmm3
mulss xmm0, xmm2
mulss xmm1, dword [0x10232d64]
mulss xmm0, dword [0x10232d64]
addss xmm1, dword [esp + 0x114]
addss xmm0, dword [esp + 0x100]
movss dword [esp + 0x24], xmm1
movss dword [esp + 0x20], xmm0
je 0x10085d2f
movss xmm1, dword [0x10232d74]
jmp 0x10085d37
movss xmm1, dword [0x10232d68]
mulss xmm1, dword [esp + 0x84]
movaps xmm0, xmm1
movss dword [esp + 0x84], xmm1
mulss xmm0, dword [0x10232d80]
cvttss2si edi, xmm0
cmp edi, 9
jge 0x10085d64
mov edi, 9
jmp 0x10085d6e
mov eax, 0x20
cmp edi, eax
cmovg edi, eax
push edi
push dword [esp + 0x7c]
lea eax, [esp + 0x28]
movaps xmm2, xmm1
push eax
mov ecx, esi
call fcn.100701f0
movss xmm2, dword [esp + 0x84]
lea eax, [esp + 0x20]
addss xmm2, dword [0x10232db8]
push ecx
mov dword [esp], 0x3f800000
mov ecx, esi
push edi
push dword [esp + 0x90]
push eax
call fcn.10070130
movss xmm2, dword [esp + 0x84]
lea eax, [esp + 0x20]
push ecx
mov dword [esp], 0x3f800000
mov ecx, esi
push edi
mov edi, dword [esp + 0x70]
push edi
push eax
call fcn.10070130
movups xmm2, xmmword [esp + 0x140]
lea ecx, [esp + 0xb4]
movss xmm1, dword [esp + 0x10c]
movss xmm5, dword [esp + 0x100]
movaps xmm0, xmm2
movups xmm3, xmmword [esp + 0x130]
movss xmm7, dword [esp + 0x114]
mulss xmm0, xmm1
movss xmm6, dword [esp + 0x6c]
addss xmm0, xmm5
movss dword [esp + 0x84], xmm0
movss dword [esp + 0x10c], xmm0
movaps xmm0, xmm3
mulss xmm0, xmm1
addss xmm0, xmm7
movss dword [esp + 0x98], xmm0
movss dword [esp + 0x110], xmm0
movss xmm0, dword [esp + 0x118]
movaps xmm4, xmm0
mulss xmm0, xmm3
mulss xmm4, xmm2
movss dword [esp + 0x118], xmm0
movaps xmm0, xmm6
mulss xmm0, xmm3
movaps xmm1, xmm4
mulss xmm6, xmm2
subss xmm1, xmm0
addss xmm6, dword [esp + 0x118]
addss xmm1, xmm5
addss xmm6, xmm7
movss dword [esp + 0x20], xmm1
movss xmm1, dword [esp + 0x11c]
movaps xmm0, xmm1
movss dword [esp + 0x6c], xmm6
mulss xmm1, xmm2
mulss xmm0, xmm3
addss xmm1, dword [esp + 0x118]
movss dword [esp + 0x24], xmm6
subss xmm4, xmm0
addss xmm1, xmm7
addss xmm4, xmm5
movss dword [esp + 0x11c], xmm1
movss dword [esp + 0xa4], xmm1
movss dword [esp + 0xd4], xmm4
movss dword [esp + 0xa0], xmm4
call fcn.1005f270
push 6
push 6
mov ecx, esi
call fcn.1006d2d0
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 + 0x84]
movss xmm3, dword [esp + 0x98]
movss xmm1, dword [esp + 0xb4]
movss dword [eax], xmm2
movss dword [eax + 4], xmm3
mov eax, dword [esi + 0x34]
movss xmm0, dword [esp + 0xb8]
mov edx, dword [esp + 0x78]
movss xmm4, dword [esp + 0x20]
movss dword [eax + 8], xmm1
movss dword [eax + 0xc], xmm0
mov eax, dword [esi + 0x34]
movss xmm6, dword [esp + 0x6c]
movss xmm5, dword [esp + 0xd4]
movss xmm7, dword [esp + 0x11c]
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], xmm6
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], xmm5
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 + 0x50]
movss dword [eax], xmm4
movss dword [eax + 4], xmm6
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], xmm5
movss dword [eax + 4], xmm7
mov eax, dword [esi + 0x34]
push ecx
push dword [esp + 0x8c]
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 + 0xa8]
add dword [esi + 0x34], 0x14
inc dword [esi + 0x28]
push eax
lea eax, [esp + 0x2c]
push eax
lea eax, [esp + 0x11c]
push eax
call fcn.1006ff60
movss xmm1, dword [0x10232db8]
xorps xmm2, xmm2
movaps xmm3, xmm1
subss xmm3, dword [esp + 0x48]
comiss xmm2, xmm3
jbe 0x100860ba
xorps xmm3, xmm3
jmp 0x100860be
minss xmm3, xmm1
movss xmm0, dword [esp + 0x40]
comiss xmm2, xmm0
jbe 0x100860ce
xorps xmm0, xmm0
jmp 0x100860d2
minss xmm0, xmm1
movss xmm1, dword [esp + 0x84]
subss xmm1, dword [esp + 0xd4]
movss xmm2, dword [esp + 0x20]
mov esi, dword [esp + 0x9c]
mulss xmm1, xmm0
addss xmm1, dword [esp + 0xd4]
subss xmm2, xmm1
mulss xmm2, xmm3
addss xmm2, xmm1
movss xmm1, dword [esp + 0x98]
subss xmm1, dword [esp + 0x11c]
movss dword [esp + 0xc4], xmm2
mulss xmm1, xmm0
movss xmm0, dword [esp + 0x6c]
addss xmm1, dword [esp + 0x11c]
subss xmm0, xmm1
mulss xmm0, xmm3
addss xmm0, xmm1
movss dword [esp + 0xc8], xmm0
jmp 0x100864dc
test dword [esp + 0x18], 0x2000000
je 0x100864e7
mov eax, dword [esp + 0x68]
mov ecx, dword [esp + 0x78]
movss xmm0, dword [esp + 0xe0]
push eax
push ecx
push ecx
mov ecx, dword [esp + 0x68]
movss dword [esp + 0xc0], xmm0
movss xmm0, dword [esp + 0x44]
addss xmm0, dword [esp + 0x50]
push eax
lea eax, [esp + 0xc4]
push eax
lea eax, [esp + 0x118]
push eax
movss dword [esp + 0x84], xmm0
movss dword [esp + 0xd0], xmm0
call fcn.1006f980
mov ecx, dword [esp + 0x50]
lea eax, [esp + 0xb4]
movss xmm0, dword [esp + 0xe0]
push ecx
push ecx
mov ecx, dword [esp + 0x64]
push 0
push 0
push eax
movss dword [esp + 0xc8], xmm0
lea eax, [esp + 0x118]
movss xmm0, dword [esp + 0x80]
push eax
movss dword [esp + 0xd0], xmm0
call fcn.1006f980
movss xmm0, dword [esp + 0xe0]
movss dword [esp + 0x20], xmm0
movss xmm0, dword [esp + 0x6c]
movss dword [esp + 0x24], xmm0
xorps xmm0, xmm0
push dword [esp + 0x24]
push dword [esp + 0x24]
push dword [esp + 0x110]
push dword [esp + 0x110]
call fcn.10056590
movss xmm0, dword [esp + 0x50]
xorps xmm2, xmm2
movss xmm1, dword [0x10232db8]
add esp, 0x10
comiss xmm2, xmm0
jbe 0x10086253
xorps xmm0, xmm0
jmp 0x10086257
minss xmm0, xmm1
movss xmm3, dword [esp + 0x44]
movss xmm7, dword [esp + 0x104]
movss xmm5, dword [0x10232d64]
mulss xmm0, xmm3
movss xmm4, dword [0x10232e00]
movss xmm6, dword [esp + 0xe0]
addss xmm0, xmm7
addss xmm7, xmm4
subss xmm6, xmm4
addss xmm0, xmm5
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
comiss xmm7, xmm0
jbe 0x100862ae
movss dword [esp + 0xc4], xmm7
jmp 0x100862c7
comiss xmm0, xmm6
jbe 0x100862be
movss dword [esp + 0xc4], xmm6
jmp 0x100862c7
movss dword [esp + 0xc4], xmm0
movaps xmm0, xmm1
subss xmm0, dword [esp + 0x48]
comiss xmm2, xmm0
jbe 0x100862da
xorps xmm0, xmm0
jmp 0x100862de
minss xmm0, xmm1
movss xmm1, dword [esp + 0x38]
mulss xmm0, xmm3
movaps xmm2, xmm1
addss xmm2, xmm4
addss xmm0, xmm1
addss xmm0, xmm5
cvttss2si eax, xmm0
movss xmm0, dword [esp + 0x6c]
subss xmm0, xmm4
movd xmm5, eax
cvtdq2ps xmm5, xmm5
comiss xmm2, xmm5
jbe 0x1008631c
movss dword [esp + 0xc8], xmm2
jmp 0x10086335
comiss xmm5, xmm0
jbe 0x1008632c
movss dword [esp + 0xc8], xmm0
jmp 0x10086335
movss dword [esp + 0xc8], xmm5
movss xmm0, dword [esp + 0x94]
movaps xmm2, xmm3
mulss xmm2, dword [0x10232d1c]
xor ecx, ecx
mov esi, dword [esp + 0x5c]
movss dword [esp + 0xb4], xmm0
movss xmm0, dword [esp + 0x80]
movss dword [esp + 0xdc], xmm2
movss dword [esp + 0x20], xmm0
mov eax, dword [esp + ecx*4 + 0x154]
lea edi, [ecx + 1]
movd xmm0, edi
cvtdq2ps xmm0, xmm0
push eax
push eax
lea eax, [esp + 0xbc]
mulss xmm0, xmm2
addss xmm0, xmm1
movss dword [esp + 0xc0], xmm0
movd xmm0, ecx
mov ecx, dword [esp + ecx*4 + 0x158]
cvtdq2ps xmm0, xmm0
push ecx
push ecx
push eax
lea eax, [esp + 0x34]
mov ecx, esi
push eax
mulss xmm0, xmm2
addss xmm0, xmm1
movss dword [esp + 0x3c], xmm0
call fcn.1006f980
movss xmm1, dword [esp + 0x38]
mov ecx, edi
movss xmm2, dword [esp + 0xdc]
cmp ecx, 6
jl 0x10086370
movss xmm0, dword [esp + 0x94]
movss dword [esp + 0x20], xmm0
movss xmm0, dword [esp + 0x6c]
movss dword [esp + 0x24], xmm0
movss xmm0, dword [esp + 0x80]
push dword [esp + 0x24]
movss dword [esp + 0xa4], xmm0
movaps xmm0, xmm1
push dword [esp + 0x24]
movss dword [esp + 0xac], xmm0
xorps xmm0, xmm0
push dword [esp + 0xac]
push dword [esp + 0xac]
call fcn.10056590
mov esi, dword [esp + 0xac]
movss xmm1, dword [esp + 0x74]
addss xmm1, dword [0x10232e00]
mov ecx, dword [esp + 0x6c]
movd xmm2, esi
cvtdq2ps xmm2, xmm2
movaps xmm0, xmm2
movss dword [esp + 0x34], xmm2
addss xmm0, dword [0x10232db8]
movss xmm2, dword [esp + 0x90]
push dword [esp + 0x34]
subss xmm2, dword [0x10232db8]
movss dword [esp + 0x34], xmm0
movss xmm0, dword [esp + 0x48]
mulss xmm0, dword [esp + 0x58]
push dword [esp + 0x34]
movss dword [esp + 0xb8], xmm2
addss xmm0, dword [esp + 0x50]
addss xmm0, dword [0x10232d64]
cvttss2si eax, xmm0
movd xmm0, eax
mov eax, dword [esp + 0x54]
cvtdq2ps xmm0, xmm0
movss xmm2, dword [eax + 0x2b38]
movss dword [esp + 0xbc], xmm0
push dword [esp + 0xbc]
push dword [esp + 0xbc]
call fcn.100846d0
add esp, 0x20
mov eax, dword [esp + 0x7c]
mov edi, dword [esp + 0xf8]
cmp byte [esp + 0x1f], 0
je 0x100864f8
movss xmm0, dword [0x10232e6c]
jmp 0x10086500
movss xmm0, dword [0x10232e48]
mov ecx, dword [esp + 0x5c]
movaps xmm2, xmm0
push 0xc
push eax
lea eax, [esp + 0xcc]
movss dword [esp + 0x9c], xmm0
push eax
call fcn.100701f0
movss xmm2, dword [esp + 0x94]
lea eax, [esp + 0xc4]
addss xmm2, dword [0x10232db8]
push ecx
mov ecx, dword [esp + 0x60]
mov dword [esp], 0x3f800000
push 0xc
push dword [esp + 0x90]
push eax
call fcn.10070130
movss xmm2, dword [esp + 0x94]
lea eax, [esp + 0xc4]
push ecx
mov ecx, dword [esp + 0x60]
mov dword [esp], 0x3f800000
push 0xc
push dword [esp + 0x70]
push eax
call fcn.10070130
cmp dword [esp + 0x12c], 0x10000
jne 0x1008673b
movss xmm0, dword [edi + 0xc]
xorps xmm1, xmm1
comiss xmm1, xmm0
jbe 0x100865a4
movss dword [esp + 0x9c], xmm1
jmp 0x100865b5
minss xmm0, dword [0x10232db8]
movss dword [esp + 0x9c], xmm0
movss xmm0, dword [esp + 0x124]
xorps xmm3, xmm3
movss xmm2, dword [esp + 0x38]
xor edx, edx
movss dword [esp + 0xb4], xmm0
addss xmm0, dword [esp + 0x64]
mov edi, dword [esp + 0xb4]
mov ecx, dword [esp + 0x5c]
mov dword [esp + 0x24], 0
push dword [esp + 0x24]
movss dword [esp + 0xc0], xmm0
movaps xmm0, xmm2
addss xmm0, dword [esp + 0x48]
mov dword [esp + 0x24], 0
push dword [esp + 0x24]
movss dword [esp + 0xc0], xmm2
movss xmm2, dword [esp + 0x6c]
mulss xmm2, dword [0x10232d64]
movss dword [esp + 0xc8], xmm0
push dword [esp + 0xc8]
push dword [esp + 0xc8]
push dword [esp + 0xc8]
push edi
push 0
call fcn.10074e30
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 + 0x6c]
lea eax, [esp + 0xcc]
push eax
lea eax, [esp + 0xc8]
push eax
call fcn.1006f980
push dword [esp + 0xc0]
xorps xmm0, xmm0
push dword [esp + 0xc0]
push dword [esp + 0xc0]
push edi
call fcn.10056590
movss xmm1, dword [0x10232db8]
movd xmm2, esi
cvtdq2ps xmm2, xmm2
mov ecx, dword [esp + 0x6c]
movaps xmm0, xmm2
movss dword [esp + 0x34], xmm2
movss xmm2, dword [esp + 0x134]
addss xmm0, xmm1
subss xmm2, xmm1
subss xmm1, dword [esp + 0xac]
push dword [esp + 0x34]
movss dword [esp + 0x34], xmm0
push dword [esp + 0x34]
mulss xmm1, dword [esp + 0x5c]
movss dword [esp + 0xb8], xmm2
addss xmm1, dword [esp + 0x50]
addss xmm1, dword [0x10232d64]
cvttss2si eax, xmm1
movss xmm1, dword [esp + 0x7c]
addss xmm1, dword [0x10232e00]
movd xmm0, eax
mov eax, dword [esp + 0x54]
cvtdq2ps xmm0, xmm0
movss xmm2, dword [eax + 0x2b38]
movss dword [esp + 0xbc], xmm0
push dword [esp + 0xbc]
push dword [esp + 0xbc]
call fcn.100846d0
add esp, 0x20
call fcn.1005fe40
cmp byte [esp + 0x16], 0
je 0x100867b0
mov esi, dword [esp + 0xe4]
lea edx, [esp + 0x16c]
mov ecx, dword [esp + 0xf8]
sub esi, 4
jb 0x10086772
mov eax, dword [edx]
cmp eax, dword [ecx]
jne 0x10086777
add edx, 4
add ecx, 4
sub esi, 4
jae 0x10086761
cmp esi, 0xfffffffc
je 0x100867ab
mov al, byte [edx]
cmp al, byte [ecx]
jne 0x100867a4
cmp esi, 0xfffffffd
je 0x100867ab
mov al, byte [edx + 1]
cmp al, byte [ecx + 1]
jne 0x100867a4
cmp esi, 0xfffffffe
je 0x100867ab
mov al, byte [edx + 2]
cmp al, byte [ecx + 2]
jne 0x100867a4
cmp esi, 0xffffffff
je 0x100867ab
mov al, byte [edx + 3]
cmp al, byte [ecx + 3]
je 0x100867ab
call fcn.100574c0
jmp 0x100867b0
mov byte [esp + 0x16], 0
call fcn.1005f300
mov ecx, dword [esp + 0x17c]
mov al, byte [esp + 0x16]
pop edi
pop esi
xor ecx, esp
call fcn.1015164c
mov esp, ebp
pop ebp
ret