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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x178
mov eax, dword [0x10114380]
xor eax, esp
mov dword [esp + 0x174], eax
mov eax, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [0x10114fd8]
mov dword [esp + 0x3c], eax
mov eax, dword [ebp + 0x14]
mov dword [esp + 0x84], eax
mov eax, dword [edi + 0x3e40]
mov dword [esp + 0x18], esi
mov dword [esp + 0x104], edi
mov byte [eax + 0xac], 1
mov eax, dword [edi + 0x3e40]
mov dword [esp + 0x50], eax
cmp byte [eax + 0xaf], 0
je 0x10056526
xor al, al
jmp 0x1005832a
mov eax, dword [eax + 0x264]
mov dword [esp + 0x80], eax
call fcn.1000b540
push dword [esp + 0x3c]
and dword [edi + 0x46a0], 0
fstp dword [esp + 0xf4]
call fcn.1000bde7
mov eax, dword [edi + 0x5964]
mov dword [esp + 0x140], eax
pop ecx
test eax, eax
jne 0x1005657b
mov eax, dword [esp + 0x50]
mov ecx, dword [eax + 0xe4]
mov eax, dword [eax + 0xec]
mov eax, dword [eax + ecx*4 - 4]
mov dword [edi + 0x5964], eax
call fcn.1000b8b1
mov edx, dword [ebp + 0x10]
or edx, 0x10
test dword [ebp + 0x10], 0x100
cmovne edx, dword [ebp + 0x10]
mov dword [esp + 0xf4], edx
test dl, 8
jne 0x100565ad
push edx
push esi
call fcn.10063f3f
mov edx, dword [esp + 0xfc]
pop ecx
pop ecx
mov ecx, 0x6000000
mov esi, 0xa900000
test ecx, edx
jne 0x100565d2
mov eax, dword [edi + 0x5960]
test ecx, eax
mov ecx, esi
cmovne ecx, eax
and ecx, 0x6000000
or ecx, edx
jmp 0x100565d4
mov ecx, edx
mov edx, 0x18000000
mov dword [esp + 0x40], ecx
test edx, ecx
jne 0x100565f4
mov eax, dword [edi + 0x5960]
test edx, eax
cmovne esi, eax
and esi, edx
or ecx, esi
mov dword [esp + 0x40], ecx
test cl, 8
jne 0x1005660a
mov eax, dword [edi + 0x5960]
and eax, 0x10000
or ecx, eax
mov dword [esp + 0x40], ecx
mov eax, ecx
mov esi, ecx
and eax, 2
and esi, 0x10002
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x50]
mov dword [esp + 0x100], esi
movss xmm0, dword [eax + 0xf0]
movss dword [esp + 0x5c], xmm0
movss xmm0, dword [eax + 0xf4]
movss dword [esp + 0x60], xmm0
call fcn.1000bdb5
movss xmm2, dword [edi + 0x37f4]
xor eax, eax
cmp esi, 0x10000
movaps xmm0, xmm2
fstp dword [esp + 0x7c]
movss xmm3, dword [esp + 0x7c]
sete al
inc eax
addss xmm0, xmm3
cmp dword [esp + 0x70], 0
push 0x10
movd xmm1, eax
cvtdq2ps xmm1, xmm1
pop eax
push 0xc
pop ecx
cmovne eax, ecx
mov ecx, dword [esp + 0x18]
push eax
mulss xmm1, xmm0
mov dword [esp + 0xf8], eax
lea eax, [esp + 0x170]
movss xmm0, dword [esp + 0xf4]
push ecx
subss xmm0, xmm1
movss xmm1, dword [esp + 0x64]
push eax
maxss xmm0, xmm3
addss xmm1, xmm0
movss dword [esp + 0x58], xmm0
addss xmm1, xmm2
movaps xmm0, xmm1
movss dword [esp + 0xd8], xmm1
addss xmm0, xmm3
movss dword [esp + 0xf4], xmm0
addss xmm0, xmm2
movss dword [esp + 0xe8], xmm0
movaps xmm0, xmm3
mulss xmm0, dword [0x100c0efc]
cvttss2si esi, xmm0
mov dword [esp + 0xfc], esi
call fcn.10097cf0
movss xmm1, dword [esp + 0x58]
add esp, 0xc
movaps xmm4, xmm1
and dword [esp + 0x10c], 0
mulss xmm4, dword [0x100bd4f0]
movaps xmm0, xmm1
mulss xmm0, dword [0x100d6798]
movaps xmm2, xmm4
movss dword [esp + 0x50], xmm4
subss xmm2, xmm0
movss dword [esp + 0x9c], xmm0
movss xmm0, dword [esp + 0x7c]
mulss xmm0, dword [0x100bd4f0]
movss dword [esp + 0xfc], xmm2
addss xmm0, xmm4
addss xmm0, dword [esp + 0x5c]
movss dword [esp + 0x88], xmm0
movaps xmm0, xmm4
addss xmm0, dword [esp + 0x60]
movss dword [esp + 0x8c], xmm0
movaps xmm0, xmm1
mulss xmm0, dword [0x100d6790]
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
subss xmm2, xmm0
movss dword [esp + 0x108], xmm2
mov eax, dword [esp + 0x18]
movaps xmm0, xmm2
mulss xmm0, dword [0x100d6814]
movaps xmm1, xmm2
mulss xmm1, dword [0x100cea8c]
lea ecx, [eax + 4]
mulss xmm2, dword [0x100d67bc]
mov dword [esp + 0x68], ecx
movss dword [esp + 0x114], xmm0
movss xmm0, dword [eax]
add eax, 8
movss dword [esp + 0x11c], xmm2
movss dword [esp + 0x110], xmm1
movss dword [esp + 0x118], xmm1
movss xmm1, dword [ecx]
movss xmm2, dword [eax]
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0x40]
mov ecx, eax
and ecx, 0x8000000
movss dword [esp + 0x1c], xmm0
movss dword [esp + 0x48], xmm1
movss dword [esp + 0x64], xmm2
movss dword [esp + 0xe0], xmm0
movss dword [esp + 0xe4], xmm1
movss dword [esp + 0xf8], xmm2
mov dword [esp + 0x94], ecx
je 0x10056883
lea eax, [esp + 0x64]
push eax
lea eax, [esp + 0x4c]
push eax
lea eax, [esp + 0x24]
push eax
sub esp, 0xc
movss dword [esp + 8], xmm2
movss dword [esp + 4], xmm1
movss dword [esp], xmm0
call fcn.1000d867
lea eax, [esp + 0x7c]
push eax
lea eax, [esp + 0x64]
push eax
lea eax, [esp + 0x3c]
push eax
push dword [esp + 0x3c]
call fcn.1006c86e
add esp, 0x28
jmp 0x100568be
test eax, 0x10000000
je 0x100568be
lea eax, [esp + 0xf8]
push eax
lea eax, [esp + 0xe8]
push eax
lea eax, [esp + 0xe8]
push eax
sub esp, 0xc
movss dword [esp + 8], xmm2
movss dword [esp + 4], xmm1
movss dword [esp], xmm0
call fcn.1000d90d
add esp, 0x18
xor eax, eax
push 1
push 8
mov byte [esp + 0x1c], al
mov byte [esp + 0x1e], al
mov byte [esp + 0x1f], al
call fcn.10013781
mov eax, dword [esp + 0x48]
pop ecx
pop ecx
mov ecx, eax
and ecx, 0x4000000
mov dword [esp + 0x78], ecx
je 0x10056c58
movss xmm1, dword [esp + 0x4c]
lea eax, [esp + 0x20]
movaps xmm0, xmm1
movss dword [esp + 0x24], xmm1
addss xmm0, dword [edi + 0x37f4]
push 0
push eax
push 0x100d6584
addss xmm0, dword [esp + 0x88]
movss dword [esp + 0x2c], xmm0
call fcn.10052333
add esp, 0xc
call fcn.1000d055
test al, al
je 0x10056c3a
movss xmm1, dword [edi + 0xdc0]
subss xmm1, dword [esp + 0x88]
movss xmm0, dword [edi + 0x36b0]
subss xmm0, dword [esp + 0x8c]
movss xmm2, dword [edi + 0x36ac]
subss xmm2, dword [esp + 0x88]
movss dword [esp + 0x74], xmm1
movss dword [esp + 0x54], xmm1
movss xmm1, dword [edi + 0xdc4]
subss xmm1, dword [esp + 0x8c]
movss dword [esp + 0x90], xmm0
movss dword [esp + 0xa0], xmm2
movss dword [esp + 0x58], xmm1
movss dword [esp + 0x120], xmm1
movaps xmm1, xmm0
mulss xmm1, xmm0
movaps xmm0, xmm2
mulss xmm0, xmm2
movss xmm2, dword [0x100bd4f4]
addss xmm1, xmm0
movss xmm0, dword [esp + 0xfc]
subss xmm0, xmm2
mulss xmm0, xmm0
comiss xmm1, xmm0
jb 0x10056a2d
movss xmm0, dword [esp + 0x50]
addss xmm0, xmm2
mulss xmm0, xmm0
comiss xmm0, xmm1
jb 0x10056a2d
fld dword [esp + 0x120]
xorps xmm0, xmm0
fld dword [esp + 0x54]
fpatan
fstp dword [esp + 0x120]
movss xmm1, dword [esp + 0x120]
mulss xmm1, dword [0x100d542c]
comiss xmm0, xmm1
movss dword [esp + 0x1c], xmm1
jbe 0x10056a25
addss xmm1, xmm2
movss dword [esp + 0x1c], xmm1
mov al, 1
mov byte [esp + 0x14], al
jmp 0x10056a37
movss xmm1, dword [esp + 0x1c]
mov al, byte [esp + 0x14]
mulss xmm1, dword [0x100d6820]
mov byte [esp + 0x15], al
mulss xmm1, dword [0x100d544c]
movaps xmm0, xmm1
call fcn.10095470
mov al, byte [esp + 0x14]
movaps xmm3, xmm0
movaps xmm2, xmm3
mov byte [esp + 0x16], al
shufps xmm2, xmm3, 1
lea eax, [esp + 0x20]
movaps xmm1, xmm2
movaps xmmword [esp + 0xb0], xmm2
mulss xmm1, dword [esp + 0xa0]
movaps xmm0, xmm3
push eax
mulss xmm0, dword [esp + 0x94]
lea eax, [esp + 0x11c]
push eax
lea eax, [esp + 0x118]
push eax
subss xmm1, xmm0
movaps xmm0, xmm3
mulss xmm0, dword [esp + 0xac]
lea eax, [esp + 0x114]
push eax
movups xmmword [esp + 0x130], xmm3
movss dword [esp + 0x30], xmm1
movaps xmm1, xmm2
mulss xmm1, dword [esp + 0xa0]
addss xmm1, xmm0
movss dword [esp + 0x34], xmm1
call fcn.10010850
add esp, 0x10
test al, al
je 0x10056c3a
movups xmm3, xmmword [esp + 0x120]
lea eax, [esp + 0xa0]
movaps xmm2, xmmword [esp + 0xb0]
movaps xmm1, xmm2
movaps xmm0, xmm3
mulss xmm1, dword [esp + 0x74]
push eax
mulss xmm0, dword [esp + 0x5c]
lea eax, [esp + 0x11c]
push eax
mulss xmm2, dword [esp + 0x60]
lea eax, [esp + 0x118]
push eax
mulss xmm3, dword [esp + 0x80]
subss xmm1, xmm0
lea eax, [esp + 0x114]
push eax
addss xmm2, xmm3
movss dword [esp + 0xb0], xmm1
movss dword [esp + 0xb4], xmm2
call fcn.10010850
add esp, 0x10
test al, al
jne 0x10056ba5
lea eax, [esp + 0xa0]
push eax
lea eax, [esp + 0x11c]
push eax
lea eax, [esp + 0x118]
push eax
lea eax, [esp + 0x114]
push eax
lea eax, [esp + 0x30]
push eax
call fcn.1001090e
add esp, 0x14
movss xmm0, dword [eax]
movss dword [esp + 0xa0], xmm0
movss xmm0, dword [eax + 4]
movss dword [esp + 0xa4], xmm0
lea eax, [esp + 0x90]
push eax
lea eax, [esp + 0x5c]
push eax
lea eax, [esp + 0x7c]
push eax
lea eax, [esp + 0xac]
push eax
lea eax, [esp + 0x128]
push eax
lea eax, [esp + 0x124]
push eax
lea eax, [esp + 0x120]
push eax
call fcn.100109f9
movss xmm0, dword [0x100bd4f4]
add esp, 0x1c
movss xmm2, dword [0x100d6788]
movaps xmm1, xmm0
subss xmm1, dword [esp + 0x58]
comiss xmm2, xmm1
jbe 0x10056c02
movaps xmm1, xmm2
jmp 0x10056c06
minss xmm1, xmm0
movss xmm3, dword [esp + 0x74]
divss xmm3, xmm1
movss dword [esp + 0x64], xmm1
comiss xmm2, xmm3
ja 0x10056c22
movaps xmm2, xmm3
minss xmm2, xmm0
mov al, byte [esp + 0x15]
movss dword [esp + 0x48], xmm2
mov byte [esp + 0x17], 1
mov byte [esp + 0x14], 1
mov byte [esp + 0x16], al
test byte [esp + 0x40], 8
jne 0x10056dcc
push 1
push str.context
call fcn.1000c0f7
pop ecx
pop ecx
jmp 0x10056dcc
test eax, 0x2000000
je 0x10056dcc
movss xmm0, dword [esp + 0x4c]
lea eax, [esp + 0x20]
push 0
push eax
push 0x100d6588
movss dword [esp + 0x2c], xmm0
movss dword [esp + 0x30], xmm0
call fcn.10052333
movss xmm0, dword [esp + 0x58]
add esp, 0xc
subss xmm0, dword [0x100bd4f4]
movss dword [esp + 0x54], xmm0
call fcn.1000d055
test al, al
je 0x10056d12
movss xmm2, dword [0x100bd4f4]
divss xmm2, dword [esp + 0x54]
push ecx
movss xmm0, dword [edi + 0xdc0]
subss xmm0, dword [esp + 0x60]
mulss xmm0, xmm2
movss dword [esp], xmm0
call fcn.1006ca71
fstp dword [esp + 0x4c]
movss xmm0, dword [edi + 0xdc4]
subss xmm0, dword [esp + 0x64]
mulss xmm0, xmm2
movss dword [esp], xmm0
call fcn.1006ca71
fld1
lea eax, [esp + 0x20]
fsubrp st(1)
push eax
push dword [esp + 0x20]
fstp dword [esp + 0x70]
call fcn.1006c80f
mov al, 1
add esp, 0xc
mov byte [esp + 0x14], al
jmp 0x10056d16
mov al, byte [esp + 0x14]
test byte [esp + 0x40], 8
mov byte [esp + 0x15], al
jne 0x10056d2f
push 1
push str.context
call fcn.1000c0f7
pop ecx
pop ecx
movss xmm0, dword [esp + 0xcc]
lea eax, [esp + 0x20]
movss dword [esp + 0x20], xmm0
movss xmm0, dword [esp + 0x60]
push eax
movss dword [esp + 0x28], xmm0
call fcn.1000bd61
movss xmm0, dword [esp + 0x80]
lea eax, [esp + 0x24]
push 0
movss dword [esp + 0x28], xmm0
movss xmm0, dword [esp + 0x54]
push eax
push 0x100d658c
movss dword [esp + 0x34], xmm0
call fcn.10052333
mov al, byte [esp + 0x24]
add esp, 0x10
mov byte [esp + 0x17], al
call fcn.1000d055
test al, al
je 0x10056dcc
movss xmm0, dword [edi + 0xdc4]
subss xmm0, dword [esp + 0x60]
push ecx
divss xmm0, dword [esp + 0x58]
movss dword [esp], xmm0
call fcn.1006ca71
mov al, byte [esp + 0x19]
add esp, 4
fstp dword [esp + 0x1c]
mov byte [esp + 0x16], 1
mov byte [esp + 0x14], 1
mov byte [esp + 0x17], al
cmp dword [esp + 0x100], 0x10000
jne 0x10056e78
movss xmm0, dword [esp + 0xdc]
lea eax, [esp + 0x20]
movss dword [esp + 0x20], xmm0
movss xmm0, dword [esp + 0x60]
push eax
movss dword [esp + 0x28], xmm0
call fcn.1000bd61
movss xmm0, dword [esp + 0x80]
lea eax, [esp + 0x24]
push 0
movss dword [esp + 0x28], xmm0
movss xmm0, dword [esp + 0x54]
push eax
push str.alpha
movss dword [esp + 0x34], xmm0
call fcn.10052333
add esp, 0x10
call fcn.1000d055
test al, al
je 0x10056e78
movss xmm1, dword [esp + 0x4c]
movss xmm0, dword [edi + 0xdc4]
subss xmm1, dword [0x100bd4f4]
subss xmm0, dword [esp + 0x60]
push ecx
divss xmm0, xmm1
movss dword [esp], xmm0
call fcn.1006ca71
fld1
add esp, 4
mov eax, dword [esp + 0x18]
fsubrp st(1)
mov byte [esp + 0x14], 1
fstp dword [eax + 0xc]
call fcn.100137bc
mov eax, dword [esp + 0x40]
mov ecx, eax
and ecx, 0x100
mov dword [esp + 0x54], ecx
jne 0x10056eb3
movss xmm0, dword [edi + 0x37f4]
push ecx
push ecx
movss dword [esp + 4], xmm0
and dword [esp], 0
call fcn.1000b73d
pop ecx
pop ecx
call fcn.1000b8b1
mov eax, dword [esp + 0x40]
and eax, 0x80
mov dword [esp + 0x74], eax
jne 0x10056f0a
push 0
push dword [esp + 0x40]
call fcn.1001634b
pop ecx
pop ecx
mov dword [esp + 0x58], eax
cmp dword [esp + 0x3c], eax
je 0x10056f0a
cmp dword [esp + 0x54], 0
je 0x10056efb
movss xmm0, dword [edi + 0x37f4]
push ecx
push ecx
movss dword [esp + 4], xmm0
and dword [esp], 0
call fcn.1000b73d
mov eax, dword [esp + 0x60]
pop ecx
pop ecx
push 0
push eax
push dword [esp + 0x44]
call fcn.1005d0ad
add esp, 0xc
cmp dword [esp + 0x54], 0
jne 0x100570b1
push 1
push 0x10
call fcn.10013781
cmp dword [esp + 0x78], 0
mov eax, dword [esp + 0x20]
pop ecx
pop ecx
je 0x10056f35
movss xmm1, dword [0x100bd4f4]
jmp 0x10056f3a
movss xmm1, dword [eax + 0xc]
cmp dword [esp + 0x74], 0
movss xmm0, dword [eax]
mov eax, dword [esp + 0x68]
movss dword [esp + 0xb0], xmm0
movss dword [esp + 0xbc], xmm1
movss xmm0, dword [eax]
mov eax, dword [esp + 0x6c]
movss dword [esp + 0xb4], xmm0
movss xmm0, dword [eax]
movss dword [esp + 0xb8], xmm0
je 0x10056f84
push str.Current
call fcn.10051d8c
pop ecx
movss xmm0, dword [esp + 0x7c]
lea ecx, [esp + 0x20]
mov eax, dword [esp + 0x40]
movaps xmm1, xmm0
mulss xmm1, dword [0x100bd4fc]
and eax, 0x180e0040
push ecx
mulss xmm0, dword [0x100bd4f8]
push eax
mov dword [esp + 0x98], eax
lea eax, [esp + 0xb8]
push eax
push str.current
movss dword [esp + 0x68], xmm1
movss dword [esp + 0x30], xmm1
movss dword [esp + 0x84], xmm0
movss dword [esp + 0x34], xmm0
call fcn.1005833e
add esp, 0x10
cmp dword [esp + 0x84], 0
je 0x100570a7
push str.Original
call fcn.10051d8c
cmp dword [esp + 0x74], 0
mov eax, dword [esp + 0x88]
pop ecx
je 0x10057014
movss xmm1, dword [0x100bd4f4]
jmp 0x10057019
movss xmm1, dword [eax + 0xc]
movss xmm0, dword [eax]
movss dword [esp + 0xa0], xmm0
movss xmm0, dword [eax + 4]
movss dword [esp + 0xa4], xmm0
movss xmm0, dword [eax + 8]
lea eax, [esp + 0x20]
push eax
push dword [esp + 0x94]
movss dword [esp + 0xb0], xmm0
lea eax, [esp + 0xa8]
movss xmm0, dword [esp + 0x60]
movss dword [esp + 0x28], xmm0
movss xmm0, dword [esp + 0x7c]
push eax
push str.original
movss dword [esp + 0xbc], xmm1
movss dword [esp + 0x34], xmm0
call fcn.1005833e
add esp, 0x10
test al, al
je 0x100570a7
push dword [esp + 0xf4]
push dword [esp + 0x88]
push dword [esp + 0x20]
call fcn.10097cf0
add esp, 0xc
mov byte [esp + 0x14], 1
call fcn.100137bc
call fcn.1000b9cc
cmp byte [esp + 0x16], 0
jne 0x100570c3
cmp byte [esp + 0x17], 0
je 0x10057178
cmp dword [esp + 0x94], 0
je 0x100571a1
push dword [esp + 0x6c]
movss xmm0, dword [esp + 0x68]
push dword [esp + 0x6c]
push dword [esp + 0x20]
sub esp, 0xc
movss dword [esp + 8], xmm0
movss xmm0, dword [esp + 0x60]
movss dword [esp + 4], xmm0
movss xmm0, dword [esp + 0x34]
movss dword [esp], xmm0
call fcn.1000d90d
movss xmm0, dword [esp + 0x34]
mov eax, dword [edi + 0x5964]
and dword [esp + 0x44], 0
movss dword [edi + 0x596c], xmm0
movss xmm0, dword [esp + 0x60]
mov dword [edi + 0x5968], eax
mov eax, dword [esp + 0x30]
movss dword [edi + 0x5970], xmm0
movss xmm0, dword [eax]
mov eax, dword [esp + 0x80]
movss dword [esp + 0x38], xmm0
movss xmm0, dword [eax]
mov eax, dword [esp + 0x84]
movss dword [esp + 0x3c], xmm0
movss xmm0, dword [eax]
lea eax, [esp + 0x38]
push eax
movss dword [esp + 0x44], xmm0
call fcn.1000d7bf
add esp, 0x1c
mov dword [edi + 0x5974], eax
mov eax, dword [esp + 0x40]
mov byte [esp + 0x15], 0
test al, 0x20
jne 0x100573ac
cmp dword [esp + 0x100], 0x10000
jne 0x100571d2
movss xmm0, dword [esp + 0xdc]
jmp 0x100571db
mov eax, dword [esp + 0x40]
test eax, 0x10000000
je 0x1005717c
mov ecx, dword [esp + 0x18]
movss xmm0, dword [esp + 0x1c]
movss dword [ecx], xmm0
movss xmm0, dword [esp + 0x48]
movss dword [ecx + 4], xmm0
movss xmm0, dword [esp + 0x64]
movss dword [ecx + 8], xmm0
jmp 0x1005717c
movss xmm0, dword [esp + 0xcc]
addss xmm0, dword [esp + 0x7c]
push ecx
subss xmm0, dword [esp + 0x60]
movss dword [esp], xmm0
call fcn.1000b4a1
mov eax, dword [esp + 0x44]
mov edx, eax
and edx, 0x198e001a
mov dword [esp + 0x74], edx
pop ecx
test eax, 0x100000
jne 0x1005721e
mov ecx, eax
and ecx, 0x700000
mov dword [esp + 0x3c], ecx
jne 0x1005727a
mov dword [esp + 0x3c], ecx
jmp 0x10057227
and eax, 0x700000
mov dword [esp + 0x3c], eax
or edx, 0x100004
push edx
push dword [esp + 0x1c]
push str.rgb
call fcn.10055694
add esp, 0xc
test al, al
je 0x1005726e
cmp dword [edi + 0x3e8c], 0
je 0x1005725a
cmp byte [edi + 0x3e99], 0
mov byte [esp + 0x15], 1
je 0x1005725f
mov byte [esp + 0x15], 0
mov ecx, dword [esp + 0x3c]
mov byte [esp + 0x14], 1
mov dword [esp + 0x3c], ecx
jmp 0x10057272
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x70]
mov eax, dword [esp + 0x40]
test eax, 0x200000
jne 0x10057285
test ecx, ecx
jne 0x100572a9
or edx, 0x200004
push edx
push dword [esp + 0x1c]
push str.hsv
call fcn.10055694
mov ecx, dword [esp + 0x48]
add esp, 0xc
or byte [esp + 0x14], al
mov eax, dword [esp + 0x40]
test eax, 0x400000
jne 0x100572b4
test ecx, ecx
jne 0x100572d3
mov eax, dword [esp + 0x70]
or eax, 0x400004
push eax
push dword [esp + 0x1c]
push str.hex
call fcn.10055694
add esp, 0xc
or byte [esp + 0x14], al
call fcn.1000b4ec
cmp byte [esp + 0x15], 0
mov edx, dword [esp + 0x94]
je 0x1005748d
test edx, edx
je 0x1005748d
lea eax, [esp + 0x74]
push eax
lea eax, [esp + 0x94]
push eax
lea eax, [esp + 0x60]
push eax
mov eax, dword [esp + 0x78]
sub esp, 0xc
movss xmm0, dword [eax]
mov eax, dword [esp + 0x80]
movss dword [esp + 8], xmm0
movss xmm0, dword [eax]
mov eax, dword [esp + 0x30]
movss dword [esp + 4], xmm0
movss xmm0, dword [eax]
movss dword [esp], xmm0
call fcn.1000d867
xorps xmm3, xmm3
add esp, 0x18
comiss xmm3, dword [esp + 0x58]
jb 0x100573a8
movss xmm2, dword [esp + 0x1c]
comiss xmm2, xmm3
jbe 0x100573a8
movss xmm1, dword [esp + 0x74]
comiss xmm3, xmm1
jb 0x10057446
movss xmm0, dword [esp + 0x64]
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jnp 0x10057446
push dword [esp + 0x6c]
mulss xmm0, dword [0x100bd4f0]
push dword [esp + 0x6c]
push dword [esp + 0x20]
sub esp, 0xc
movss dword [esp + 8], xmm0
movss xmm0, dword [esp + 0x60]
movss dword [esp + 4], xmm0
movss dword [esp], xmm2
call fcn.1000d90d
add esp, 0x18
mov eax, dword [esp + 0x40]
mov edx, dword [esp + 0x94]
mov cl, byte [esp + 0x14]
mov byte [esp + 0x15], cl
test cl, cl
je 0x100574fb
test edx, edx
je 0x10057496
mov eax, dword [esp + 0x18]
movss xmm2, dword [eax]
mov eax, dword [esp + 0x68]
movss dword [esp + 0xe0], xmm2
movss xmm1, dword [eax]
mov eax, dword [esp + 0x6c]
movss dword [esp + 0xe4], xmm1
movss xmm0, dword [eax]
lea eax, [esp + 0x64]
push eax
lea eax, [esp + 0x4c]
movss dword [esp + 0xfc], xmm0
push eax
lea eax, [esp + 0x24]
push eax
sub esp, 0xc
movss dword [esp + 8], xmm0
movss dword [esp + 4], xmm1
movss dword [esp], xmm2
call fcn.1000d867
lea eax, [esp + 0x7c]
push eax
lea eax, [esp + 0x64]
push eax
lea eax, [esp + 0x3c]
push eax
push dword [esp + 0x3c]
call fcn.1006c86e
add esp, 0x28
jmp 0x100574fb
comiss xmm3, dword [esp + 0x90]
jb 0x100573a8
push dword [esp + 0x6c]
movss xmm0, dword [esp + 0x4c]
push dword [esp + 0x6c]
mulss xmm0, dword [0x100bd4f0]
push dword [esp + 0x20]
sub esp, 0xc
movss dword [esp + 8], xmm1
movss dword [esp + 4], xmm0
movss xmm0, dword [esp + 0x34]
movss dword [esp], xmm0
jmp 0x100573a0
mov eax, dword [esp + 0x40]
jmp 0x100573b3
test eax, 0x10000000
je 0x100574fb
mov eax, dword [esp + 0x18]
movss xmm2, dword [eax]
mov eax, dword [esp + 0x68]
movss dword [esp + 0x1c], xmm2
movss xmm1, dword [eax]
mov eax, dword [esp + 0x6c]
movss dword [esp + 0x48], xmm1
movss xmm0, dword [eax]
lea eax, [esp + 0xf8]
push eax
lea eax, [esp + 0xe8]
movss dword [esp + 0x68], xmm0
push eax
lea eax, [esp + 0xe8]
push eax
sub esp, 0xc
movss dword [esp + 8], xmm0
movss dword [esp + 4], xmm1
movss dword [esp], xmm2
call fcn.1000d90d
add esp, 0x18
movss xmm2, dword [edi + 0x37a0]
push ecx
movss dword [esp], xmm2
call fcn.1006ca71
fmul dword [0x100c0f6c]
add esp, 4
movss xmm0, dword [esp + 0x1c]
mov dword [esp + 0x140], 0x3f800000
mov dword [esp + 0x144], 0x3f800000
mov dword [esp + 0x148], 0x3f800000
fadd dword [0x100bd4f0]
movss dword [esp + 0x14c], xmm2
fstp dword [esp + 0x58]
cvttss2si edx, dword [esp + 0x58]
shl edx, 0x18
mov eax, edx
mov dword [esp + 0x54], edx
or eax, 0xffffff
mov ecx, edx
mov dword [esp + 0x3c], eax
or ecx, 0xff
mov eax, edx
mov dword [esp + 0x150], ecx
or eax, 0x808080
mov dword [esp + 0x168], ecx
mov dword [esp + 0x6c], eax
mov eax, edx
or eax, 0xffff
mov dword [esp + 0x154], eax
mov eax, edx
or eax, 0xff00
mov dword [esp + 0x158], eax
mov eax, edx
or eax, 0xffff00
mov dword [esp + 0x15c], eax
mov eax, edx
or eax, 0xff0000
mov dword [esp + 0x160], eax
mov eax, edx
or eax, 0xff00ff
mov dword [esp + 0x164], eax
lea eax, [esp + 0x148]
push eax
lea eax, [esp + 0x148]
push eax
lea eax, [esp + 0x148]
push eax
sub esp, 0xc
mov dword [esp + 8], 0x3f800000
mov dword [esp + 4], 0x3f800000
movss dword [esp], xmm0
call fcn.1000d90d
lea eax, [esp + 0x158]
push eax
call fcn.1000d7bf
movss xmm0, dword [esp + 0xfc]
movss dword [esp + 0x3c], xmm0
movss xmm0, dword [esp + 0x100]
movss dword [esp + 0x40], xmm0
movss xmm0, dword [esp + 0x114]
mov dword [esp + 0xa0], eax
lea eax, [esp + 0x3c]
movss dword [esp + 0x44], xmm0
movss xmm0, dword [edi + 0x37a0]
push eax
movss dword [esp + 0x4c], xmm0
call fcn.1000d7bf
and dword [esp + 0xf4], 0
add esp, 0x20
and dword [esp + 0xd8], 0
cmp dword [esp + 0x78], 0
mov dword [esp + 0x68], eax
je 0x10057c8c
movss xmm1, dword [esp + 0x50]
cvttss2si eax, xmm1
push 0xc
pop ecx
mov esi, dword [esp + 0x80]
push 4
movss xmm3, dword [0x100bd4f0]
cdq
idiv ecx
movss xmm2, dword [esp + 0x100]
divss xmm3, xmm1
mov ecx, eax
pop eax
cmp ecx, eax
cmovle ecx, eax
xor eax, eax
mov dword [esp + 0xa0], ecx
mov dword [esp + 0x70], eax
addss xmm2, xmm1
movss dword [esp + 0x90], xmm3
mulss xmm2, dword [0x100bd4f0]
movss dword [esp + 0x74], xmm2
movd xmm1, eax
lea eax, [esp + 0x88]
cvtdq2ps xmm1, xmm1
mov edi, dword [esi + 0x18]
push ecx
sub esp, 0xc
mov ecx, esi
mulss xmm1, dword [0x100d67c4]
movaps xmm0, xmm1
addss xmm1, dword [0x100d67c4]
subss xmm0, xmm3
addss xmm1, xmm3
movss dword [esp + 0x88], xmm0
movss dword [esp + 8], xmm1
movss dword [esp + 4], xmm0
movss dword [esp], xmm2
push eax
movss dword [esp + 0x6c], xmm1
call fcn.1003c537
movss xmm0, dword [esp + 0x9c]
push ecx
movss dword [esp], xmm0
mov ecx, esi
push 0
push dword [esp + 0x44]
push dword [esi + 0x54]
push dword [esi + 0x5c]
call fcn.1003b21d
movss xmm0, dword [esp + 0x78]
movss xmm1, dword [esp + 0x58]
and dword [esi + 0x54], 0
call fcn.100954c0
movss xmm3, dword [esp + 0xfc]
movaps xmm2, xmm0
mov eax, dword [esp + 0x70]
movaps xmm1, xmm0
shufps xmm2, xmm0, 0xe
shufps xmm1, xmm0, 1
mulss xmm0, xmm3
push dword [esp + eax*4 + 0x154]
mulss xmm1, xmm3
addss xmm0, dword [esp + 0x90]
push dword [esp + eax*4 + 0x154]
addss xmm1, dword [esp + 0x90]
movss dword [esp + 0x2c], xmm0
movaps xmm0, xmm2
shufps xmm0, xmm2, 1
mulss xmm2, xmm3
mulss xmm0, xmm3
addss xmm2, dword [esp + 0x94]
movss dword [esp + 0x28], xmm1
addss xmm0, dword [esp + 0x90]
movss dword [esp + 0xbc], xmm2
push dword [esp + 0xbc]
movss dword [esp + 0xbc], xmm0
push dword [esp + 0xbc]
push dword [esp + 0x34]
push dword [esp + 0x34]
push dword [esi + 0x18]
push edi
push esi
call fcn.10040bd3
mov eax, dword [esp + 0x94]
add esp, 0x24
movss xmm2, dword [esp + 0x74]
inc eax
movss xmm3, dword [esp + 0x90]
mov ecx, dword [esp + 0xa0]
mov dword [esp + 0x70], eax
cmp eax, 6
jl 0x100576de
movss xmm1, dword [esp + 0x1c]
mulss xmm1, dword [0x100bd4f8]
mulss xmm1, dword [0x100d544c]
movaps xmm0, xmm1
call fcn.10095470
cmp byte [esp + 0x16], 0
movaps xmm3, xmm0
movss xmm1, dword [esp + 0xfc]
movaps xmm2, xmm3
addss xmm1, dword [esp + 0x50]
shufps xmm2, xmm3, 1
movups xmmword [esp + 0xb0], xmm3
movups xmmword [esp + 0x20], xmm2
movaps xmm0, xmm1
mulss xmm1, xmm3
mulss xmm0, xmm2
mulss xmm1, dword [0x100bd4f0]
mulss xmm0, dword [0x100bd4f0]
addss xmm1, dword [esp + 0x8c]
addss xmm0, dword [esp + 0x88]
movss dword [esp + 0x44], xmm1
movss xmm1, dword [esp + 0x9c]
movss dword [esp + 0x40], xmm0
je 0x100578d4
mulss xmm1, dword [0x100c0f10]
jmp 0x100578dc
mulss xmm1, dword [0x100d67b4]
movaps xmm0, xmm1
movss dword [esp + 0x9c], xmm1
mulss xmm0, dword [0x100d67b8]
push 0x20
pop ecx
push 9
cvttss2si eax, xmm0
cmp eax, ecx
mov edi, eax
cmovg edi, ecx
pop ecx
cmp eax, ecx
lea eax, [esp + 0x40]
cmovl edi, ecx
push edi
push dword [esp + 0x88]
push ecx
movss dword [esp], xmm1
mov ecx, esi
push eax
call fcn.1003af4c
movss xmm0, dword [esp + 0x9c]
lea eax, [esp + 0x40]
addss xmm0, dword [0x100bd4f4]
push ecx
mov dword [esp], 0x3f800000
push edi
push dword [esp + 0x74]
push ecx
movss dword [esp], xmm0
mov ecx, esi
push eax
call fcn.1003ae86
mov esi, dword [esp + 0x3c]
lea eax, [esp + 0x40]
movss xmm0, dword [esp + 0x9c]
push ecx
mov dword [esp], 0x3f800000
push edi
mov edi, dword [esp + 0x88]
push esi
push ecx
movss dword [esp], xmm0
mov ecx, edi
push eax
call fcn.1003ae86
movups xmm4, xmmword [esp + 0x20]
movups xmm5, xmmword [esp + 0xb0]
movss xmm3, dword [esp + 0x108]
movss xmm2, dword [esp + 0x10c]
movaps xmm1, xmm3
movaps xmm0, xmm2
mulss xmm3, xmm5
mulss xmm1, xmm4
mulss xmm2, xmm4
mulss xmm0, xmm5
addss xmm3, xmm2
movss xmm2, dword [esp + 0x114]
subss xmm1, xmm0
movaps xmm0, xmm2
mulss xmm2, xmm4
addss xmm3, dword [esp + 0x8c]
mulss xmm0, xmm5
addss xmm1, dword [esp + 0x88]
movss dword [esp + 0xd0], xmm3
movss xmm3, dword [esp + 0x110]
movss dword [esp + 0xcc], xmm1
movaps xmm1, xmm3
mulss xmm3, xmm5
mulss xmm1, xmm4
addss xmm3, xmm2
movss xmm2, dword [esp + 0x11c]
subss xmm1, xmm0
movaps xmm0, xmm2
addss xmm3, dword [esp + 0x8c]
addss xmm1, dword [esp + 0x88]
movss dword [esp + 0x98], xmm3
movss xmm3, dword [esp + 0x118]
movss dword [esp + 0x94], xmm1
movaps xmm1, xmm3
mulss xmm1, xmm4
mulss xmm3, xmm5
lea eax, [esp + 0xe8]
push eax
mulss xmm0, xmm5
mulss xmm2, xmm4
subss xmm1, xmm0
addss xmm3, xmm2
addss xmm1, dword [esp + 0x8c]
addss xmm3, dword [esp + 0x90]
movss dword [esp + 0x124], xmm1
movss dword [esp + 0x128], xmm3
call fcn.1000b63c
pop ecx
push 6
push 6
mov ecx, edi
call fcn.1003ceae
mov ecx, dword [edi + 0x38]
mov ax, word [edi + 0x28]
push dword [esp + 0x84]
mov word [ecx], ax
lea eax, [esp + 0xec]
add dword [edi + 0x38], 2
mov ecx, edi
push eax
lea eax, [esp + 0xd4]
push eax
call fcn.10042a28
mov ecx, dword [edi + 0x38]
mov ax, word [edi + 0x28]
push dword [esp + 0x84]
mov word [ecx], ax
lea eax, [esp + 0xec]
add dword [edi + 0x38], 2
mov ecx, edi
push eax
lea eax, [esp + 0x9c]
push eax
call fcn.10042a28
mov ecx, dword [edi + 0x38]
mov ax, word [edi + 0x28]
push esi
mov word [ecx], ax
lea eax, [esp + 0xec]
add dword [edi + 0x38], 2
mov ecx, edi
push eax
lea eax, [esp + 0x128]
push eax
call fcn.10042a28
mov ecx, dword [edi + 0x38]
mov ax, word [edi + 0x28]
push 0
mov word [ecx], ax
lea eax, [esp + 0xec]
add dword [edi + 0x38], 2
mov ecx, edi
push eax
lea eax, [esp + 0xd4]
push eax
call fcn.10042a28
mov ecx, dword [edi + 0x38]
mov ax, word [edi + 0x28]
mov word [ecx], ax
mov ecx, edi
mov eax, dword [esp + 0x54]
add dword [edi + 0x38], 2
push eax
lea eax, [esp + 0xec]
push eax
lea eax, [esp + 0x9c]
push eax
call fcn.10042a28
mov ecx, dword [edi + 0x38]
mov ax, word [edi + 0x28]
push 0
mov word [ecx], ax
lea eax, [esp + 0xec]
add dword [edi + 0x38], 2
push eax
lea eax, [esp + 0x128]
push eax
mov ecx, edi
call fcn.10042a28
push ecx
mov dword [esp], 0x3fc00000
lea eax, [esp + 0x124]
push dword [esp + 0x70]
mov ecx, edi
push eax
lea eax, [esp + 0xa0]
push eax
lea eax, [esp + 0xdc]
push eax
call fcn.1003ade7
movss xmm0, dword [0x100bd4f4]
subss xmm0, dword [esp + 0x64]
push ecx
movss dword [esp], xmm0
call fcn.1006ca71
movss xmm0, dword [esp + 0x4c]
fstp dword [esp + 0x54]
movss dword [esp], xmm0
call fcn.1006ca71
movss xmm0, dword [esp + 0xd0]
add esp, 4
subss xmm0, dword [esp + 0x120]
movss xmm2, dword [esp + 0xd0]
subss xmm2, dword [esp + 0x124]
movss xmm1, dword [esp + 0x94]
fstp dword [esp + 0x54]
mulss xmm0, dword [esp + 0x54]
mov esi, dword [esp + 0xf0]
mulss xmm2, dword [esp + 0x54]
mov edi, dword [esp + 0x104]
addss xmm0, dword [esp + 0x120]
addss xmm2, dword [esp + 0x124]
subss xmm1, xmm0
mulss xmm1, dword [esp + 0x50]
addss xmm1, xmm0
movss xmm0, dword [esp + 0x98]
subss xmm0, xmm2
movss dword [esp + 0xd4], xmm1
mulss xmm0, dword [esp + 0x50]
addss xmm0, xmm2
movss dword [esp + 0xd8], xmm0
jmp 0x10058035
test dword [esp + 0x40], 0x2000000
je 0x10058039
movss xmm0, dword [esp + 0x5c]
addss xmm0, dword [esp + 0x4c]
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x84]
push eax
push ecx
push ecx
mov ecx, dword [esp + 0x8c]
movss dword [esp + 0x2c], xmm0
movss xmm0, dword [esp + 0x6c]
addss xmm0, dword [esp + 0x58]
push eax
lea eax, [esp + 0x30]
push eax
lea eax, [esp + 0x70]
push eax
movss dword [esp + 0x3c], xmm0
call fcn.1003ac27
movss xmm0, dword [esp + 0x5c]
addss xmm0, dword [esp + 0x4c]
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x80]
push eax
push eax
movss dword [esp + 0x28], xmm0
lea eax, [esp + 0x28]
movss xmm0, dword [esp + 0x68]
addss xmm0, dword [esp + 0x54]
push 0
push 0
push eax
lea eax, [esp + 0x70]
push eax
movss dword [esp + 0x3c], xmm0
call fcn.1003ac27
movss xmm0, dword [esp + 0x5c]
addss xmm0, dword [esp + 0x4c]
push ecx
and dword [esp], 0
movss dword [esp + 0x24], xmm0
movss xmm0, dword [esp + 0x64]
addss xmm0, dword [esp + 0x50]
movss dword [esp + 0x28], xmm0
push dword [esp + 0x28]
push dword [esp + 0x28]
push dword [esp + 0x6c]
push dword [esp + 0x6c]
call fcn.10015fed
movss xmm0, dword [esp + 0x5c]
add esp, 0x10
movss dword [esp], xmm0
call fcn.1006ca71
movss xmm2, dword [esp + 0x50]
add esp, 4
movss xmm1, dword [esp + 0x5c]
movss xmm3, dword [0x100bd4f0]
fstp dword [esp + 0x78]
movss xmm0, dword [esp + 0x78]
mulss xmm0, xmm2
movss xmm5, dword [0x100bd4f8]
addss xmm0, xmm1
addss xmm0, xmm3
cvttss2si eax, xmm0
movaps xmm0, xmm1
addss xmm1, xmm2
addss xmm0, xmm5
movd xmm4, eax
cvtdq2ps xmm4, xmm4
subss xmm1, xmm5
comiss xmm0, xmm4
jbe 0x10057dd7
movss dword [esp + 0xd4], xmm0
jmp 0x10057df0
comiss xmm4, xmm1
jbe 0x10057de7
movss dword [esp + 0xd4], xmm1
jmp 0x10057df0
movss dword [esp + 0xd4], xmm4
movss xmm0, dword [0x100bd4f4]
subss xmm0, dword [esp + 0x64]
push ecx
movss dword [esp], xmm0
call fcn.1006ca71
movss xmm1, dword [esp + 0x64]
xorps xmm4, xmm4
fstp dword [esp + 0x7c]
movss xmm0, dword [esp + 0x7c]
add esp, 4
mulss xmm0, xmm2
addss xmm0, xmm1
addss xmm0, xmm3
movaps xmm3, xmm1
addss xmm3, xmm5
cvttss2si eax, xmm0
movaps xmm0, xmm1
addss xmm0, xmm2
cvtsi2ss xmm4, eax
subss xmm0, xmm5
comiss xmm3, xmm4
jbe 0x10057e55
movss dword [esp + 0xd8], xmm3
jmp 0x10057e6e
comiss xmm4, xmm0
jbe 0x10057e65
movss dword [esp + 0xd8], xmm0
jmp 0x10057e6e
movss dword [esp + 0xd8], xmm4
mulss xmm2, dword [0x100d679c]
xor eax, eax
mov esi, dword [esp + 0x80]
movss dword [esp + 0x78], xmm2
movss xmm0, dword [esp + 0xe8]
lea edi, [eax + 1]
push dword [esp + eax*4 + 0x154]
movss dword [esp + 0x24], xmm0
mov ecx, esi
push dword [esp + eax*4 + 0x158]
movd xmm0, edi
cvtdq2ps xmm0, xmm0
push dword [esp + eax*4 + 0x158]
mulss xmm0, xmm2
push dword [esp + eax*4 + 0x15c]
addss xmm0, xmm1
movss dword [esp + 0x34], xmm0
movss xmm0, dword [esp + 0xdc]
movss dword [esp + 0xc0], xmm0
movd xmm0, eax
lea eax, [esp + 0x30]
cvtdq2ps xmm0, xmm0
push eax
lea eax, [esp + 0xc4]
push eax
mulss xmm0, xmm2
addss xmm0, xmm1
movss dword [esp + 0xcc], xmm0
call fcn.1003ac27
movss xmm1, dword [esp + 0x60]
mov eax, edi
cmp eax, 6
jge 0x10057f1e
movss xmm2, dword [esp + 0x78]
jmp 0x10057e85
movss xmm0, dword [esp + 0x1c]
mulss xmm0, dword [esp + 0x4c]
push ecx
and dword [esp], 0
movss dword [esp + 0xb8], xmm1
addss xmm0, xmm1
addss xmm0, dword [0x100bd4f0]
cvttss2si edi, xmm0
movss xmm0, dword [esp + 0xec]
movss dword [esp + 0x24], xmm0
movaps xmm0, xmm1
addss xmm0, dword [esp + 0x50]
movss dword [esp + 0x28], xmm0
push dword [esp + 0x28]
movss xmm0, dword [esp + 0xd4]
push dword [esp + 0x28]
movss dword [esp + 0xbc], xmm0
push dword [esp + 0xc0]
push dword [esp + 0xc0]
call fcn.10015fed
mov esi, dword [esp + 0x104]
add esp, 0xc
movd xmm2, esi
cvtdq2ps xmm2, xmm2
movaps xmm0, xmm2
movss dword [esp + 0x2c], xmm2
addss xmm0, dword [0x100bd4f4]
movss dword [esp + 0x28], xmm0
movss xmm0, dword [esp + 0xd4]
subss xmm0, dword [0x100bd4f4]
movss dword [esp + 0xb8], xmm0
movd xmm0, edi
mov edi, dword [esp + 0x10c]
cvtdq2ps xmm0, xmm0
movss dword [esp + 0xbc], xmm0
movss xmm0, dword [edi + 0x37a0]
movss dword [esp + 4], xmm0
movss xmm0, dword [esp + 0x84]
addss xmm0, dword [0x100bd4f8]
movss dword [esp], xmm0
push dword [esp + 0x2c]
push dword [esp + 0x2c]
push dword [esp + 0xc4]
push dword [esp + 0xc4]
push dword [esp + 0x98]
call fcn.1006ced6
add esp, 0x1c
mov eax, dword [esp + 0x68]
cmp byte [esp + 0x17], 0
je 0x1005804a
movss xmm0, dword [0x100bd518]
jmp 0x10058052
movss xmm0, dword [0x100bd508]
push 0xc
pop ecx
push ecx
push eax
push ecx
mov ecx, dword [esp + 0x8c]
lea eax, [esp + 0xe0]
movss dword [esp], xmm0
push eax
movss dword [esp + 0x60], xmm0
call fcn.1003af4c
movss xmm0, dword [esp + 0x50]
addss xmm0, dword [0x100bd4f4]
push ecx
mov dword [esp], 0x3f800000
push 0xc
pop eax
push eax
push dword [esp + 0x74]
lea eax, [esp + 0xe0]
push ecx
mov ecx, dword [esp + 0x90]
movss dword [esp], xmm0
push eax
call fcn.1003ae86
movss xmm0, dword [esp + 0x50]
push ecx
mov dword [esp], 0x3f800000
push 0xc
pop eax
push eax
push dword [esp + 0x44]
lea eax, [esp + 0xe0]
push ecx
mov ecx, dword [esp + 0x90]
movss dword [esp], xmm0
push eax
call fcn.1003ae86
cmp dword [esp + 0x100], 0x10000
jne 0x100582be
mov eax, dword [esp + 0x18]
push ecx
movss xmm0, dword [eax + 0xc]
movss dword [esp], xmm0
call fcn.1006ca71
movss xmm0, dword [esp + 0xe0]
add esp, 4
movss xmm1, dword [esp + 0x60]
and dword [esp + 0x24], 0
and dword [esp + 0x20], 0
push 0
push ecx
and dword [esp], 0
push dword [esp + 0x2c]
movss dword [esp + 0xac], xmm0
addss xmm0, dword [esp + 0x88]
push dword [esp + 0x2c]
mov edi, dword [esp + 0x90]
push ecx
movss dword [esp + 0xb8], xmm1
addss xmm1, dword [esp + 0x60]
movss dword [esp + 0xbc], xmm0
movss xmm0, dword [esp + 0x90]
mulss xmm0, dword [0x100bd4f0]
movss dword [esp + 0xc0], xmm1
fstp dword [esp + 0x8c]
movss dword [esp], xmm0
push 0
push dword [esp + 0xc4]
push dword [esp + 0xc4]
push dword [esp + 0xc4]
push dword [esp + 0xc4]
push edi
call fcn.1003fcd2
mov ecx, dword [esp + 0x94]
add esp, 0x2c
mov eax, ecx
and eax, 0xffffff
push eax
push eax
push ecx
push ecx
lea eax, [esp + 0xb8]
mov ecx, edi
push eax
lea eax, [esp + 0xb4]
push eax
call fcn.1003ac27
movss xmm0, dword [0x100bd4f4]
subss xmm0, dword [esp + 0x78]
push ecx
and dword [esp], 0
push dword [esp + 0xb0]
mulss xmm0, dword [esp + 0x54]
push dword [esp + 0xb0]
addss xmm0, dword [esp + 0x6c]
push dword [esp + 0xb0]
push dword [esp + 0xb0]
addss xmm0, dword [0x100bd4f0]
cvttss2si edi, xmm0
call fcn.10015fed
add esp, 0xc
movd xmm2, esi
cvtdq2ps xmm2, xmm2
movaps xmm0, xmm2
movss dword [esp + 0x2c], xmm2
addss xmm0, dword [0x100bd4f4]
movss dword [esp + 0x28], xmm0
movss xmm0, dword [esp + 0xe4]
subss xmm0, dword [0x100bd4f4]
movss dword [esp + 0xb8], xmm0
movd xmm0, edi
mov edi, dword [esp + 0x10c]
cvtdq2ps xmm0, xmm0
movss dword [esp + 0xbc], xmm0
movss xmm0, dword [edi + 0x37a0]
movss dword [esp + 4], xmm0
movss xmm0, dword [esp + 0x84]
addss xmm0, dword [0x100bd4f8]
movss dword [esp], xmm0
push dword [esp + 0x2c]
push dword [esp + 0x2c]
push dword [esp + 0xc4]
push dword [esp + 0xc4]
push dword [esp + 0x98]
call fcn.1006ced6
add esp, 0x1c
call fcn.1000b9cc
cmp byte [esp + 0x14], 0
je 0x10058310
push dword [esp + 0xf4]
lea eax, [esp + 0x170]
push dword [esp + 0x1c]
push eax
call fcn.100989dc
add esp, 0xc
test eax, eax
jne 0x100582ef
mov byte [esp + 0x14], al
jmp 0x10058310
mov eax, dword [edi + 0x46b4]
mov cl, byte [esp + 0x15]
mov byte [esp + 0x14], cl
test eax, eax
je 0x10058310
push eax
call fcn.10012fc8
mov al, byte [esp + 0x19]
pop ecx
mov byte [esp + 0x14], al
cmp dword [esp + 0x13c], 0
jne 0x10058321
and dword [edi + 0x5964], 0
call fcn.1000bea8
mov al, byte [esp + 0x14]
mov ecx, dword [esp + 0x17c]
pop edi
pop esi
xor ecx, esp
call fcn.1009543c
mov esp, ebp
pop ebp
ret