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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x138
mov dword [esp + 0xc0], ecx
mov ecx, dword [0x100a93e8]
push esi
push edi
mov edi, edx
mov dword [esp + 0x34], ecx
mov eax, dword [ecx + 0x3f8c]
mov dword [esp + 0xb4], edi
mov byte [eax + 0xb0], 1
mov esi, dword [ecx + 0x3f8c]
cmp byte [esi + 0xb3], 0
je 0x1004603c
xor al, al
pop edi
pop esi
mov esp, ebp
pop ebp
ret
test byte [ecx + 0x48e8], 1
mov eax, dword [esi + 0x270]
mov dword [esp + 0x30], eax
je 0x10046059
movss xmm1, dword [ecx + 0x48f8]
jmp 0x10046061
movss xmm1, dword [esi + 0x1ac]
xorps xmm0, xmm0
comiss xmm0, xmm1
jbe 0x1004609e
cmp dword [esi + 0x198], 0
jne 0x10046080
cmp dword [ecx + 0x4ce0], 0
mov eax, 0x234
je 0x10046085
mov eax, 0x204
movss xmm0, dword [esi + eax]
subss xmm0, dword [esi + 0xf8]
addss xmm1, xmm0
maxss xmm1, dword [0x100a2280]
mov edx, dword [ecx + 0x48ec]
cvttss2si eax, xmm1
shr edx, 7
mov dword [ecx + 0x48e8], 0
mov dword [ecx + 0x48ec], 0
movd xmm0, eax
mov eax, dword [ecx + 0x48dc]
mov ecx, dword [esp + 0xc8]
cvtdq2ps xmm0, xmm0
shr eax, 7
or dl, al
and edx, 0xffffff01
mov dword [esp + 0x20], edx
movss dword [esp + 0x24], xmm0
call fcn.1001a4a0
mov edx, dword [esp + 0x34]
mov eax, dword [edx + 0x5c98]
mov dword [esp + 0x12c], eax
test eax, eax
jne 0x10046118
mov ecx, dword [esi + 0xec]
mov eax, dword [esi + 0xf4]
mov eax, dword [eax + ecx*4 - 4]
mov dword [edx + 0x5c98], eax
call fcn.1001d170
mov ecx, dword [ebp + 8]
mov edx, ecx
or edx, 0x10
test ecx, 0x100
cmovne edx, ecx
mov dword [esp + 0xbc], edx
test dl, 8
jne 0x10046148
mov ecx, edi
call fcn.10049600
mov edx, dword [esp + 0xbc]
test edx, 0x6000000
jne 0x10046171
mov eax, dword [esp + 0x34]
mov ecx, 0xa900000
mov eax, dword [eax + 0x5c94]
test eax, 0x6000000
cmovne ecx, eax
and ecx, 0x6000000
or ecx, edx
jmp 0x10046173
mov ecx, edx
mov dword [esp + 0x14], ecx
test ecx, 0x18000000
jne 0x100461a2
mov eax, dword [esp + 0x34]
mov edx, 0xa900000
mov eax, dword [eax + 0x5c94]
test eax, 0x18000000
cmovne edx, eax
and edx, 0x18000000
or ecx, edx
mov dword [esp + 0x14], ecx
test cl, 8
jne 0x100461bc
mov eax, dword [esp + 0x34]
mov eax, dword [eax + 0x5c94]
and eax, 0x10000
or ecx, eax
mov dword [esp + 0x14], ecx
mov eax, dword [0x100a93e8]
mov edx, ecx
movss xmm0, dword [esi + 0xfc]
and ecx, 0x10002
movss xmm3, dword [esp + 0x24]
and edx, 2
movss xmm2, dword [esi + 0xf8]
movss xmm4, dword [eax + 0x38e8]
addss xmm4, xmm4
movss dword [esp + 0x2c], xmm0
movss dword [esp + 0x44], xmm0
mov dword [esp + 0xec], edx
mov dword [esp + 0x10c], ecx
movss dword [esp + 0x40], xmm2
addss xmm4, dword [eax + 0x3cf4]
mov eax, dword [esp + 0x34]
movss xmm5, dword [eax + 0x38fc]
xor eax, eax
cmp ecx, 0x10000
movss dword [esp + 0x58], xmm4
movaps xmm0, xmm5
sete al
addss xmm0, xmm4
inc eax
movd xmm1, eax
xor eax, eax
cvtdq2ps xmm1, xmm1
test edx, edx
sete al
mulss xmm1, xmm0
movaps xmm0, xmm2
lea eax, [eax*4 + 0xc]
push eax
mov dword [esp + 0x90], eax
lea eax, [esp + 0x134]
subss xmm3, xmm1
push edi
push eax
maxss xmm3, xmm4
addss xmm0, xmm3
movss dword [esp + 0x30], xmm3
movss dword [esp + 0xac], xmm0
addss xmm0, xmm5
movss dword [esp + 0xf0], xmm0
addss xmm0, xmm4
addss xmm5, xmm0
movss dword [esp + 0xc8], xmm0
movaps xmm0, xmm4
mulss xmm0, dword [0x100a2200]
movss dword [esp + 0x10c], xmm5
cvttss2si esi, xmm0
mov dword [esp + 0x108], esi
call sub.VCRUNTIME140.dll_memcpy
movss xmm3, dword [esp + 0x30]
add esp, 0xc
movaps xmm4, xmm3
movaps xmm1, xmm3
mulss xmm4, dword [0x100a2234]
mulss xmm1, dword [0x100a21e4]
movaps xmm0, xmm4
movss dword [esp + 0x108], xmm4
addss xmm0, dword [esp + 0x2c]
movss dword [esp + 0x50], xmm1
movaps xmm2, xmm4
subss xmm2, xmm1
movss xmm1, dword [esp + 0x58]
mulss xmm1, dword [0x100a2234]
movss dword [esp + 0x104], xmm0
movss dword [esp + 0xd4], xmm0
movaps xmm0, xmm3
mulss xmm0, dword [0x100a21d0]
addss xmm1, xmm4
movss dword [esp + 0x5c], xmm2
cvttss2si eax, xmm0
addss xmm1, dword [esp + 0x40]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [esp + 0xf8], xmm1
movss dword [esp + 0xd0], xmm1
movaps xmm1, xmm2
subss xmm1, xmm0
movss xmm7, dword [edi + 8]
movaps xmm0, xmm1
mulss xmm0, dword [0x100a240c]
movaps xmm2, xmm1
mov eax, dword [esp + 0x14]
mov ecx, eax
mulss xmm2, dword [0x100a2418]
movaps xmm6, xmm7
and ecx, 0x8000000
mov dword [esp + 0x3c], 0
movss xmm3, dword [edi]
movss dword [esp + 0xc4], xmm0
movss dword [esp + 0x90], xmm0
movss dword [esp + 0x110], xmm0
movaps xmm0, xmm1
mulss xmm0, dword [0x100a226c]
mov dword [esp + 0xa4], ecx
movss dword [esp + 0x38], xmm1
movaps xmm1, xmm3
movss dword [esp + 0xb8], xmm6
movss dword [esp + 0xe8], xmm0
movss dword [esp + 0x114], xmm0
movss xmm0, dword [edi + 4]
movaps xmm5, xmm0
movss dword [esp + 0x60], xmm6
movss xmm6, dword [0x100a219c]
movss dword [esp + 0x88], xmm2
movss dword [esp + 0x94], xmm2
movss dword [esp + 0x1c], xmm3
movss dword [esp + 0x28], xmm0
movss dword [esp + 0x4c], xmm7
movss dword [esp + 0xcc], xmm1
movss dword [esp + 0xac], xmm1
movss dword [esp + 0xa8], xmm5
movss dword [esp + 0xb0], xmm5
je 0x1004651a
comiss xmm7, xmm0
xorps xmm4, xmm4
movaps xmm2, xmm0
movaps xmm5, xmm7
jbe 0x10046469
movss xmm4, dword [0x100a241c]
movaps xmm2, xmm7
movaps xmm5, xmm0
comiss xmm2, xmm3
movaps xmm7, xmm3
movss dword [esp + 0x4c], xmm7
jbe 0x10046492
movss xmm0, dword [0x100a2400]
movaps xmm7, xmm2
subss xmm0, xmm4
movss dword [esp + 0x4c], xmm7
movaps xmm2, xmm3
movaps xmm4, xmm0
movaps xmm0, xmm2
movss dword [esp + 0x1c], xmm7
minss xmm0, xmm5
movaps xmm1, xmm7
subss xmm2, xmm5
mov ecx, edi
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x2c]
subss xmm1, xmm0
push eax
lea edx, [esp + 0x80]
movaps xmm0, xmm1
mulss xmm0, dword [0x100a22fc]
addss xmm0, xmm6
divss xmm2, xmm0
movaps xmm0, xmm7
addss xmm0, xmm6
addss xmm2, xmm4
divss xmm1, xmm0
andps xmm2, xmmword [0x100a2930]
movss dword [esp + 0x80], xmm2
movss dword [esp + 0x30], xmm1
call fcn.10044d00
movss xmm0, dword [esp + 0x80]
add esp, 8
movss dword [esp + 0x1c], xmm0
movss xmm0, dword [esp + 0x28]
movss dword [esp + 0x28], xmm0
jmp 0x10046578
test eax, 0x10000000
je 0x10046578
lea eax, [esp + 0x60]
movaps xmm1, xmm0
push eax
lea edx, [esp + 0xb4]
movaps xmm2, xmm7
lea ecx, [esp + 0xb0]
movaps xmm0, xmm3
call fcn.1000c1a0
movss xmm1, dword [esp + 0xb0]
add esp, 4
movss xmm5, dword [esp + 0xb0]
movss xmm6, dword [esp + 0x60]
movss dword [esp + 0xcc], xmm1
movss dword [esp + 0xa8], xmm5
movss dword [esp + 0xb8], xmm6
mov ecx, dword [0x100a93e8]
lea edx, [ecx + 0x49f0]
mov byte [esp + 0x12], 0
mov byte [esp + 0x1a], 0
mov byte [esp + 0x13], 0
mov eax, dword [ecx + 0x48dc]
or eax, 8
mov dword [esp + 0x78], edx
mov dword [ecx + 0x48dc], eax
mov ecx, dword [edx + 4]
mov dword [esp + 0x54], eax
cmp dword [edx], ecx
jne 0x100465dd
test ecx, ecx
je 0x100465c4
mov eax, ecx
cdq
sub eax, edx
mov edx, dword [esp + 0x78]
sar eax, 1
add eax, ecx
jmp 0x100465c9
mov eax, 8
mov ecx, dword [edx]
inc ecx
cmp eax, ecx
cmovg ecx, eax
push ecx
mov ecx, edx
call fcn.10025780
mov edx, dword [esp + 0x78]
mov ecx, dword [edx]
mov eax, dword [edx + 8]
mov esi, dword [esp + 0x54]
mov dword [eax + ecx*4], esi
mov eax, dword [esp + 0x14]
mov ecx, eax
inc dword [edx]
and ecx, 0x4000000
mov dword [esp + 0x70], ecx
je 0x10046b19
movss xmm1, dword [esp + 0x24]
lea edx, [esp + 0x68]
mov eax, dword [esp + 0x34]
movaps xmm0, xmm1
push ecx
mov ecx, 0x1009de18
movss dword [esp + 0x70], xmm1
addss xmm0, dword [eax + 0x38fc]
addss xmm0, dword [esp + 0x5c]
movss dword [esp + 0x6c], xmm0
call fcn.1003ab30
mov eax, dword [0x100a93e8]
add esp, 4
mov ecx, dword [eax + 0x3fdc]
test ecx, ecx
je 0x10046a28
cmp ecx, dword [eax + 0x4908]
jne 0x10046a28
cmp byte [esp + 0x20], 0
jne 0x10046a28
mov eax, dword [esp + 0x34]
movss xmm2, dword [eax + 0xe00]
subss xmm2, dword [esp + 0xf8]
movss xmm0, dword [eax + 0x37d4]
subss xmm0, dword [esp + 0x104]
movss xmm1, dword [eax + 0x37d0]
subss xmm1, dword [esp + 0xf8]
movss dword [esp + 0x64], xmm2
movss dword [esp + 0x20], xmm2
movss xmm2, dword [eax + 0xe04]
subss xmm2, dword [esp + 0x104]
movss dword [esp + 0xf0], xmm0
movss dword [esp + 0x78], xmm1
movss dword [esp + 0x68], xmm2
movss dword [esp + 0x54], xmm2
movaps xmm2, xmm0
mulss xmm2, xmm0
movaps xmm0, xmm1
mulss xmm0, xmm1
movss xmm1, dword [0x100a2280]
addss xmm2, xmm0
movss xmm0, dword [esp + 0x5c]
subss xmm0, xmm1
mulss xmm0, xmm0
comiss xmm2, xmm0
jb 0x10046752
movss xmm0, dword [esp + 0x108]
addss xmm0, xmm1
mulss xmm0, xmm0
comiss xmm0, xmm2
jb 0x10046752
fld dword [esp + 0x54]
xorps xmm0, xmm0
fld dword [esp + 0x20]
fpatan
fstp dword [esp + 0x54]
movss xmm2, dword [esp + 0x54]
mulss xmm2, dword [0x100a21f4]
comiss xmm0, xmm2
movss dword [esp + 0x1c], xmm2
jbe 0x1004674a
addss xmm2, xmm1
movss dword [esp + 0x1c], xmm2
mov cl, 1
mov byte [esp + 0x12], cl
jmp 0x1004675c
mov cl, byte [esp + 0x12]
movss xmm2, dword [esp + 0x1c]
movaps xmm1, xmm2
mov byte [esp + 0x1a], cl
mulss xmm1, dword [0x100a2420]
mulss xmm1, dword [0x100a22ec]
movaps xmm0, xmm1
call fcn.10077550
movaps xmm7, xmm0
xorps xmm3, xmm3
movaps xmm6, xmm7
movaps xmm1, xmm7
mulss xmm1, dword [esp + 0xf0]
movaps xmm0, xmm7
mulss xmm0, dword [esp + 0x78]
shufps xmm6, xmm7, 1
movaps xmm4, xmm6
movaps xmm5, xmm6
mulss xmm4, dword [esp + 0x78]
mulss xmm5, dword [esp + 0xf0]
subss xmm4, xmm1
movss xmm1, dword [esp + 0x88]
subss xmm1, dword [esp + 0xe8]
addss xmm5, xmm0
movaps xmm2, xmm4
subss xmm2, dword [esp + 0xc4]
movss dword [esp + 0xf0], xmm1
movaps xmm0, xmm2
mulss xmm0, xmm1
movss xmm1, dword [esp + 0x38]
subss xmm1, dword [esp + 0xc4]
comiss xmm3, xmm0
movss xmm0, dword [esp + 0x88]
xorps xmm0, xmmword [0x100a2960]
movss dword [esp + 0x20], xmm1
seta cl
movaps xmm1, xmm0
movss dword [esp + 0x54], xmm0
movaps xmm0, xmm5
mulss xmm1, xmm2
subss xmm0, dword [esp + 0x88]
mulss xmm0, dword [esp + 0x20]
subss xmm1, xmm0
comiss xmm3, xmm1
seta al
cmp al, cl
jne 0x10046a20
movss xmm0, dword [esp + 0xc4]
subss xmm4, dword [esp + 0x38]
subss xmm0, dword [esp + 0x38]
mulss xmm4, dword [esp + 0xe8]
mulss xmm0, xmm5
subss xmm4, xmm0
comiss xmm3, xmm4
seta al
cmp cl, al
jne 0x10046a20
movss xmm2, dword [esp + 0x68]
movaps xmm5, xmm6
mulss xmm5, dword [esp + 0x64]
movaps xmm0, xmm7
movss xmm4, dword [esp + 0xc4]
mulss xmm7, dword [esp + 0x64]
mulss xmm0, xmm2
mulss xmm6, xmm2
subss xmm5, xmm0
addss xmm6, xmm7
movaps xmm0, xmm5
movss dword [esp + 0x68], xmm5
subss xmm0, xmm4
movaps xmm1, xmm5
subss xmm1, xmm4
movss dword [esp + 0x6c], xmm6
mulss xmm0, dword [esp + 0xf0]
mulss xmm1, dword [esp + 0x54]
comiss xmm3, xmm0
movaps xmm0, xmm6
subss xmm0, dword [esp + 0x88]
seta cl
mulss xmm0, dword [esp + 0x20]
subss xmm1, xmm0
comiss xmm3, xmm1
seta al
cmp al, cl
jne 0x1004692b
movss xmm2, dword [esp + 0x38]
movaps xmm1, xmm5
movss xmm7, dword [esp + 0xe8]
subss xmm1, xmm2
movaps xmm0, xmm4
subss xmm0, xmm2
mulss xmm1, xmm7
mulss xmm0, xmm6
subss xmm1, xmm0
comiss xmm3, xmm1
seta al
cmp cl, al
je 0x10046974
lea eax, [esp + 0x68]
push eax
lea eax, [esp + 0x114]
push eax
lea eax, [esp + 0x98]
push eax
lea edx, [esp + 0x44]
lea ecx, [esp + 0xfc]
call fcn.1000b6c0
movss xmm2, dword [esp + 0x44]
add esp, 0xc
movss xmm4, dword [esp + 0xc4]
movss xmm7, dword [esp + 0xe8]
movss xmm5, dword [eax]
movss xmm6, dword [eax + 4]
movss xmm0, dword [esp + 0x88]
subss xmm5, xmm2
movaps xmm3, xmm4
movaps xmm1, xmm7
movss xmm4, dword [0x100a2280]
subss xmm3, xmm2
movaps xmm2, xmm4
mulss xmm0, xmm3
mulss xmm1, xmm3
mulss xmm3, xmm6
movaps xmm6, xmm4
subss xmm1, xmm0
movaps xmm0, xmm7
mulss xmm0, xmm5
divss xmm2, xmm1
subss xmm0, xmm3
mulss xmm0, xmm2
subss xmm6, xmm0
movss xmm0, dword [esp + 0x88]
mulss xmm0, xmm5
subss xmm3, xmm0
movaps xmm1, xmm6
movss xmm0, dword [0x100a21b4]
comiss xmm0, xmm6
mulss xmm3, xmm2
movss dword [esp + 0x28], xmm0
subss xmm1, xmm3
jbe 0x100469f4
movaps xmm6, xmm0
jmp 0x100469f8
minss xmm6, xmm4
divss xmm1, xmm6
movss dword [esp + 0x4c], xmm6
comiss xmm0, xmm1
ja 0x10046a14
movaps xmm0, xmm1
minss xmm0, xmm4
movss dword [esp + 0x28], xmm0
mov byte [esp + 0x13], 1
mov byte [esp + 0x12], 1
jmp 0x10046a28
mov al, byte [esp + 0x12]
mov byte [esp + 0x1a], al
test byte [esp + 0x14], 8
jne 0x10046a34
call fcn.1001e4a0
movss xmm3, dword [esp + 0x2c]
movss xmm4, dword [esp + 0x24]
cmp dword [esp + 0x10c], 0x10000
mov esi, dword [esp + 0xfc]
jne 0x10046de2
mov ecx, dword [0x100a93e8]
lea edx, [esp + 0x90]
movss xmm0, dword [esp + 0x100]
push ecx
movss dword [esp + 0x98], xmm4
mov eax, dword [ecx + 0x3f8c]
mov byte [eax + 0xb0], 1
mov eax, dword [ecx + 0x3f8c]
mov ecx, str.alpha
movss dword [eax + 0xf8], xmm0
movss xmm0, dword [esp + 0x5c]
movss dword [eax + 0xfc], xmm3
mov byte [eax + 0x139], 1
movss dword [esp + 0x94], xmm0
call fcn.1003ab30
mov eax, dword [0x100a93e8]
add esp, 4
mov ecx, dword [eax + 0x3fdc]
test ecx, ecx
je 0x10046de2
cmp ecx, dword [eax + 0x4908]
jne 0x10046de2
mov eax, dword [esp + 0x34]
xorps xmm2, xmm2
movss xmm0, dword [esp + 0x24]
movss xmm1, dword [0x100a2280]
subss xmm0, xmm1
movss xmm3, dword [eax + 0xe04]
subss xmm3, dword [esp + 0x2c]
divss xmm3, xmm0
comiss xmm2, xmm3
jbe 0x10046dcd
xorps xmm3, xmm3
jmp 0x10046dd1
test eax, 0x2000000
je 0x10046a34
movss xmm0, dword [esp + 0x24]
lea edx, [esp + 0x90]
push ecx
mov ecx, 0x1009de1c
movss dword [esp + 0x94], xmm0
movss dword [esp + 0x98], xmm0
call fcn.1003ab30
mov ecx, dword [0x100a93e8]
add esp, 4
mov eax, dword [ecx + 0x3fdc]
test eax, eax
je 0x10046c98
cmp eax, dword [ecx + 0x4908]
jne 0x10046c98
cmp byte [esp + 0x20], 0
jne 0x10046c98
movss xmm0, dword [esp + 0x24]
movss xmm1, dword [0x100a2280]
mov eax, dword [esp + 0x34]
subss xmm0, xmm1
movaps xmm3, xmm1
movss xmm2, dword [eax + 0xe00]
subss xmm2, dword [esp + 0x40]
divss xmm3, xmm0
xorps xmm0, xmm0
mulss xmm2, xmm3
comiss xmm0, xmm2
jbe 0x10046bbb
movss dword [esp + 0x28], xmm0
jmp 0x10046bc5
minss xmm2, xmm1
movss dword [esp + 0x28], xmm2
movss xmm2, dword [eax + 0xe04]
subss xmm2, dword [esp + 0x2c]
mulss xmm2, xmm3
comiss xmm0, xmm2
jbe 0x10046be1
xorps xmm2, xmm2
jmp 0x10046be5
minss xmm2, xmm1
mov eax, dword [ecx + 0x5c9c]
movaps xmm3, xmm1
subss xmm3, xmm2
movss dword [esp + 0x4c], xmm3
cmp eax, dword [ecx + 0x5c98]
jne 0x10046c90
movss xmm2, dword [edi]
comiss xmm0, xmm2
movss xmm3, dword [edi + 4]
movss xmm4, dword [edi + 8]
jbe 0x10046c1c
xorps xmm2, xmm2
jmp 0x10046c20
minss xmm2, xmm1
comiss xmm0, xmm3
movss xmm5, dword [0x100a239c]
movss xmm6, dword [0x100a2234]
mulss xmm2, xmm5
addss xmm2, xmm6
cvttss2si edx, xmm2
jbe 0x10046c46
xorps xmm3, xmm3
jmp 0x10046c4a
minss xmm3, xmm1
mulss xmm3, xmm5
addss xmm3, xmm6
cvttss2si eax, xmm3
shl eax, 8
or edx, eax
comiss xmm0, xmm4
jbe 0x10046c65
xorps xmm4, xmm4
jmp 0x10046c69
minss xmm4, xmm1
mulss xmm4, xmm5
addss xmm4, xmm6
cvttss2si eax, xmm4
shl eax, 0x10
or eax, edx
cmp dword [ecx + 0x5ca8], eax
jne 0x10046c90
movss xmm0, dword [ecx + 0x5ca0]
movss dword [esp + 0x1c], xmm0
mov al, 1
mov byte [esp + 0x12], al
jmp 0x10046c9c
mov al, byte [esp + 0x12]
test byte [esp + 0x14], 8
mov byte [esp + 0x13], al
mov byte [esp + 0x1b], al
jne 0x10046cb6
call fcn.1001e4a0
mov ecx, dword [0x100a93e8]
mov eax, dword [ecx + 0x3f8c]
lea edx, [esp + 0x90]
movss xmm0, dword [esp + 0xe4]
push ecx
mov byte [eax + 0xb0], 1
mov eax, dword [ecx + 0x3f8c]
mov ecx, 0x1009de20
movss dword [eax + 0xf8], xmm0
movss xmm0, dword [esp + 0x30]
movss dword [eax + 0xfc], xmm0
movss xmm0, dword [esp + 0x5c]
movss dword [esp + 0x94], xmm0
movss xmm0, dword [esp + 0x28]
mov byte [eax + 0x139], 1
movss dword [esp + 0x98], xmm0
call fcn.1003ab30
mov eax, dword [0x100a93e8]
add esp, 4
mov ecx, dword [eax + 0x3fdc]
test ecx, ecx
je 0x10046a34
mov dl, byte [esp + 0x12]
mov byte [esp + 0x13], dl
cmp ecx, dword [eax + 0x4908]
jne 0x10046a34
cmp byte [esp + 0x20], 0
movss xmm3, dword [esp + 0x2c]
movss xmm4, dword [esp + 0x24]
mov byte [esp + 0x13], dl
jne 0x10046a40
mov eax, dword [esp + 0x34]
movaps xmm0, xmm4
movss xmm1, dword [0x100a2280]
subss xmm0, xmm1
movss xmm2, dword [eax + 0xe04]
subss xmm2, xmm3
divss xmm2, xmm0
xorps xmm0, xmm0
comiss xmm0, xmm2
jbe 0x10046dac
mov al, byte [esp + 0x1b]
movss dword [esp + 0x1c], xmm0
mov byte [esp + 0x1a], 1
mov byte [esp + 0x12], 1
mov byte [esp + 0x13], al
jmp 0x10046a40
mov al, byte [esp + 0x1b]
minss xmm2, xmm1
mov byte [esp + 0x1a], 1
mov byte [esp + 0x12], 1
mov byte [esp + 0x13], al
movss dword [esp + 0x1c], xmm2
jmp 0x10046a40
minss xmm3, xmm1
movaps xmm0, xmm1
mov byte [esp + 0x12], 1
subss xmm0, xmm3
movss dword [edi + 0xc], xmm0
mov edx, dword [0x100a93e8]
dec dword [edx + 0x49f0]
mov eax, dword [edx + 0x49f8]
mov ecx, dword [edx + 0x49f0]
mov eax, dword [eax + ecx*4 - 4]
mov dword [edx + 0x48dc], eax
mov eax, dword [esp + 0x14]
mov edx, eax
and edx, 0x100
mov dword [esp + 0x20], edx
jne 0x10046e37
mov eax, dword [esp + 0x34]
xorps xmm0, xmm0
movss xmm1, dword [eax + 0x38fc]
call fcn.1001d010
call fcn.1001d170
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x20]
and eax, 0x80
mov dword [esp + 0x64], eax
jne 0x10046ea5
mov edi, dword [esp + 0xc8]
cmp edi, 0xffffffff
jae 0x10046e9e
nop
mov cl, byte [edi]
test cl, cl
je 0x10046e66
cmp cl, 0x23
jne 0x10046e60
cmp byte [edi + 1], cl
je 0x10046e66
inc edi
cmp edi, 0xffffffff
jb 0x10046e50
mov eax, dword [esp + 0xc8]
cmp eax, edi
je 0x10046e9e
test edx, edx
je 0x10046e90
mov eax, dword [esp + 0x34]
xorps xmm0, xmm0
movss xmm1, dword [eax + 0x38fc]
call fcn.1001d010
mov eax, dword [esp + 0xc8]
push 0
mov edx, edi
mov ecx, eax
call fcn.10039880
add esp, 4
mov edi, dword [esp + 0xb4]
cmp dword [esp + 0x20], 0
jne 0x100470bc
mov eax, dword [0x100a93e8]
lea edx, [eax + 0x49f0]
mov dword [esp + 0x20], edx
mov ecx, dword [eax + 0x48dc]
or ecx, 0x10
mov dword [eax + 0x48dc], ecx
mov dword [esp + 0x68], ecx
mov ecx, dword [edx + 4]
cmp dword [edx], ecx
jne 0x10046f05
test ecx, ecx
je 0x10046eec
mov eax, ecx
cdq
sub eax, edx
mov edx, dword [esp + 0x20]
sar eax, 1
add eax, ecx
jmp 0x10046ef1
mov eax, 8
mov ecx, dword [edx]
inc ecx
cmp eax, ecx
cmovg ecx, eax
push ecx
mov ecx, edx
call fcn.10025780
mov edx, dword [esp + 0x20]
mov ecx, dword [edx]
mov eax, dword [edx + 8]
mov esi, dword [esp + 0x68]
mov dword [eax + ecx*4], esi
inc dword [edx]
cmp dword [esp + 0xec], 0
je 0x10046f27
movss xmm1, dword [0x100a2280]
jmp 0x10046f2c
movss xmm1, dword [edi + 0xc]
cmp dword [esp + 0x64], 0
movss xmm0, dword [edi]
mov esi, dword [esp + 0xfc]
movss dword [esp + 0x110], xmm0
movss xmm0, dword [edi + 4]
movss dword [esp + 0x114], xmm0
movss xmm0, dword [edi + 8]
movss dword [esp + 0x118], xmm0
movss dword [esp + 0x11c], xmm1
je 0x10046f79
push str.Current
call fcn.10039de0
add esp, 4
movss xmm1, dword [esp + 0x58]
lea ecx, [esp + 0x90]
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x110]
movaps xmm0, xmm1
and eax, 0x180e0040
mulss xmm0, dword [0x100a22e8]
push ecx
push eax
mov ecx, str.current
mov dword [esp + 0xf8], eax
movss dword [esp + 0x70], xmm0
movss dword [esp + 0x98], xmm0
movaps xmm0, xmm1
addss xmm0, xmm1
movss dword [esp + 0x6c], xmm0
movss dword [esp + 0x9c], xmm0
call fcn.10048710
add esp, 8
cmp dword [ebp + 0xc], 0
je 0x10047095
push str.Original
call fcn.10039de0
mov eax, dword [ebp + 0xc]
add esp, 4
cmp dword [esp + 0xec], 0
je 0x1004700a
movss xmm1, dword [0x100a2280]
jmp 0x1004700f
movss xmm1, dword [eax + 0xc]
movss xmm0, dword [eax]
lea edx, [esp + 0x78]
movss dword [esp + 0x78], xmm0
mov ecx, str.original
movss xmm0, dword [eax + 4]
movss dword [esp + 0x7c], xmm0
movss xmm0, dword [eax + 8]
lea eax, [esp + 0x90]
movss dword [esp + 0x80], xmm0
movss xmm0, dword [esp + 0x68]
push eax
push dword [esp + 0xf4]
movss dword [esp + 0x98], xmm0
movss xmm0, dword [esp + 0x6c]
movss dword [esp + 0x8c], xmm1
movss dword [esp + 0x9c], xmm0
call fcn.10048710
add esp, 8
test al, al
je 0x10047095
push dword [esp + 0x8c]
push dword [ebp + 0xc]
push edi
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov byte [esp + 0x12], 1
mov edx, dword [0x100a93e8]
dec dword [edx + 0x49f0]
mov eax, dword [edx + 0x49f8]
mov ecx, dword [edx + 0x49f0]
mov eax, dword [eax + ecx*4 - 4]
mov dword [edx + 0x48dc], eax
call fcn.1001d2d0
cmp byte [esp + 0x1a], 0
jne 0x100470ce
cmp byte [esp + 0x13], 0
je 0x100471b2
cmp dword [esp + 0xa4], 0
je 0x100471db
movss xmm2, dword [esp + 0x4c]
lea eax, [edi + 8]
movss xmm1, dword [esp + 0x28]
lea edx, [edi + 4]
movss xmm0, dword [esp + 0x1c]
mov ecx, edi
push eax
call fcn.1000c1a0
mov ecx, dword [esp + 0x38]
add esp, 4
movss xmm0, dword [esp + 0x1c]
movss xmm1, dword [0x100a2280]
mov eax, dword [ecx + 0x5c98]
movss dword [ecx + 0x5ca0], xmm0
movss xmm0, dword [esp + 0x28]
movss dword [ecx + 0x5ca4], xmm0
xorps xmm0, xmm0
mov dword [ecx + 0x5c9c], eax
movss xmm2, dword [edi]
comiss xmm0, xmm2
movss xmm3, dword [edi + 4]
movss xmm4, dword [edi + 8]
jbe 0x1004714e
xorps xmm2, xmm2
jmp 0x10047152
minss xmm2, xmm1
comiss xmm0, xmm3
movss xmm5, dword [0x100a239c]
movss xmm6, dword [0x100a2234]
mulss xmm2, xmm5
addss xmm2, xmm6
cvttss2si edx, xmm2
jbe 0x10047178
xorps xmm3, xmm3
jmp 0x1004717c
minss xmm3, xmm1
mulss xmm3, xmm5
addss xmm3, xmm6
cvttss2si eax, xmm3
shl eax, 8
or edx, eax
comiss xmm0, xmm4
jbe 0x10047197
xorps xmm4, xmm4
jmp 0x1004719b
minss xmm4, xmm1
mulss xmm4, xmm5
addss xmm4, xmm6
cvttss2si eax, xmm4
shl eax, 0x10
or eax, edx
mov dword [ecx + 0x5ca8], eax
mov eax, dword [esp + 0x14]
mov byte [esp + 0x1b], 0
test al, 0x20
jne 0x1004756d
cmp dword [esp + 0x10c], 0x10000
jne 0x10047208
movss xmm0, dword [esp + 0x100]
jmp 0x10047211
mov eax, dword [esp + 0x14]
test eax, 0x10000000
je 0x100471b6
movss xmm0, dword [esp + 0x1c]
movss dword [edi], xmm0
movss xmm0, dword [esp + 0x28]
movss dword [edi + 4], xmm0
movss xmm0, dword [esp + 0x4c]
movss dword [edi + 8], xmm0
jmp 0x100471b6
movss xmm0, dword [esp + 0xe4]
addss xmm0, dword [esp + 0x58]
subss xmm0, dword [esp + 0x40]
call fcn.1001d0d0
mov eax, dword [esp + 0x14]
mov edx, eax
and edx, 0x198e005a
mov dword [esp + 0x20], edx
test eax, 0x100000
jne 0x1004724d
mov ecx, eax
and ecx, 0x700000
mov dword [esp + 0x78], ecx
jne 0x100472ab
mov dword [esp + 0x78], ecx
jmp 0x10047256
and eax, 0x700000
mov dword [esp + 0x78], eax
or edx, 0x100004
mov ecx, str.rgb
push edx
mov edx, edi
call fcn.10044e00
add esp, 4
test al, al
je 0x1004729f
mov eax, dword [esp + 0x34]
cmp dword [eax + 0x3fdc], 0
je 0x1004728b
cmp byte [eax + 0x3fe9], 0
mov byte [esp + 0x1b], 1
je 0x10047290
mov byte [esp + 0x1b], 0
mov ecx, dword [esp + 0x78]
mov byte [esp + 0x12], 1
mov dword [esp + 0x78], ecx
jmp 0x100472a3
mov ecx, dword [esp + 0x78]
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x14]
test eax, 0x200000
jne 0x100472b6
test ecx, ecx
jne 0x100472d8
or edx, 0x200004
mov ecx, str.hsv
push edx
mov edx, edi
call fcn.10044e00
mov ecx, dword [esp + 0x7c]
add esp, 4
or byte [esp + 0x12], al
mov eax, dword [esp + 0x14]
test eax, 0x400000
jne 0x100472e3
test ecx, ecx
jne 0x10047300
mov eax, dword [esp + 0x20]
mov edx, edi
or eax, 0x400004
mov ecx, str.hex
push eax
call fcn.10044e00
add esp, 4
or byte [esp + 0x12], al
cmp byte [esp + 0x1b], 0
mov ecx, dword [0x100a93e8]
mov eax, dword [ecx + 0x3f8c]
mov byte [eax + 0xb0], 1
mov edx, dword [ecx + 0x3f8c]
mov ecx, dword [edx + 0x1b4]
mov eax, dword [edx + 0x1bc]
mov eax, dword [eax + ecx*4 - 4]
mov dword [edx + 0x1ac], eax
lea eax, [ecx - 1]
mov dword [edx + 0x1b4], eax
lea edx, [edi + 8]
je 0x1004742b
cmp dword [esp + 0xa4], 0
je 0x1004742b
movss xmm3, dword [edi + 4]
xorps xmm2, xmm2
movss xmm5, dword [edx]
xorps xmm6, xmm6
comiss xmm5, xmm3
movss xmm4, dword [edi]
jbe 0x1004737d
movss xmm6, dword [0x100a241c]
movaps xmm0, xmm3
movaps xmm3, xmm5
movaps xmm5, xmm0
comiss xmm3, xmm4
jbe 0x1004739a
movaps xmm0, xmm4
movaps xmm4, xmm3
movaps xmm3, xmm0
movss xmm0, dword [0x100a2400]
subss xmm0, xmm6
movaps xmm6, xmm0
movaps xmm0, xmm3
movaps xmm1, xmm4
minss xmm0, xmm5
subss xmm3, xmm5
subss xmm1, xmm0
movaps xmm0, xmm4
addss xmm0, dword [0x100a219c]
movaps xmm7, xmm1
mulss xmm1, dword [0x100a22fc]
divss xmm7, xmm0
addss xmm1, dword [0x100a219c]
divss xmm3, xmm1
addss xmm3, xmm6
andps xmm3, xmmword [0x100a2930]
comiss xmm2, xmm3
jb 0x1004742b
movss xmm0, dword [esp + 0x1c]
comiss xmm0, xmm2
jbe 0x1004742b
comiss xmm2, xmm4
jb 0x10047548
movss xmm1, dword [esp + 0x4c]
ucomiss xmm1, xmm4
lahf
test ah, 0x44
jnp 0x10047548
movaps xmm2, xmm1
mov ecx, edi
mulss xmm2, dword [0x100a2234]
push edx
movss xmm1, dword [esp + 0x2c]
lea edx, [edi + 4]
call fcn.1000c1a0
add esp, 4
lea edx, [edi + 8]
mov eax, dword [esp + 0x14]
cmp byte [esp + 0x12], 0
je 0x100475f2
cmp dword [esp + 0xa4], 0
je 0x10047575
movss xmm5, dword [edi + 4]
xorps xmm3, xmm3
movss xmm6, dword [edx]
movaps xmm2, xmm5
comiss xmm6, xmm5
movss xmm1, dword [edi]
movaps xmm4, xmm6
movss dword [esp + 0xcc], xmm1
movss dword [esp + 0xa8], xmm5
movss dword [esp + 0xb8], xmm6
jbe 0x1004748c
movss xmm3, dword [0x100a241c]
movaps xmm2, xmm6
movaps xmm4, xmm5
comiss xmm2, xmm1
movaps xmm5, xmm1
movss dword [esp + 0x4c], xmm5
jbe 0x100474b5
movss xmm0, dword [0x100a2400]
movaps xmm5, xmm2
subss xmm0, xmm3
movss dword [esp + 0x4c], xmm5
movaps xmm2, xmm1
movaps xmm3, xmm0
movaps xmm0, xmm2
movss dword [esp + 0x1c], xmm5
minss xmm0, xmm4
movaps xmm1, xmm5
subss xmm2, xmm4
mov ecx, edi
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x2c]
subss xmm1, xmm0
push eax
lea edx, [esp + 0x80]
movaps xmm0, xmm1
mulss xmm0, dword [0x100a22fc]
addss xmm0, dword [0x100a219c]
divss xmm2, xmm0
movaps xmm0, xmm5
addss xmm0, dword [0x100a219c]
addss xmm2, xmm3
divss xmm1, xmm0
andps xmm2, xmmword [0x100a2930]
movss dword [esp + 0x80], xmm2
movss dword [esp + 0x30], xmm1
call fcn.10044d00
movss xmm3, dword [esp + 0x80]
add esp, 8
movss xmm0, dword [esp + 0x28]
movss dword [esp + 0x1c], xmm3
movss dword [esp + 0x28], xmm0
jmp 0x100475f8
comiss xmm2, xmm7
jb 0x1004742b
movss xmm1, dword [esp + 0x28]
mov ecx, edi
mulss xmm1, dword [0x100a2234]
movaps xmm2, xmm4
push edx
lea edx, [edi + 4]
jmp 0x10047420
lea edx, [edi + 8]
jmp 0x1004742f
test eax, 0x10000000
je 0x100475f2
movss xmm1, dword [edx]
lea eax, [esp + 0x60]
movss xmm0, dword [edi + 4]
lea edx, [esp + 0xb0]
movss xmm3, dword [edi]
lea ecx, [esp + 0xac]
movss dword [esp + 0x4c], xmm1
movaps xmm2, xmm1
movss dword [esp + 0x28], xmm0
movaps xmm1, xmm0
push eax
movaps xmm0, xmm3
movss dword [esp + 0x20], xmm3
call fcn.1000c1a0
movss xmm1, dword [esp + 0xb0]
add esp, 4
movss xmm5, dword [esp + 0xb0]
movss xmm6, dword [esp + 0x60]
movss dword [esp + 0xcc], xmm1
movss dword [esp + 0xa8], xmm5
movss dword [esp + 0xb8], xmm6
movss xmm3, dword [esp + 0x1c]
mov edi, dword [esp + 0x34]
xorps xmm0, xmm0
movss xmm1, dword [edi + 0x38a8]
comiss xmm0, xmm1
movss xmm0, dword [0x100a2280]
jbe 0x10047619
xorps xmm2, xmm2
jmp 0x10047620
movaps xmm2, xmm1
minss xmm2, xmm0
mulss xmm2, dword [0x100a239c]
mov dword [esp + 0x90], 0x3f800000
movss dword [esp + 0x9c], xmm1
movaps xmm1, xmm0
mov dword [esp + 0x94], 0x3f800000
addss xmm2, dword [0x100a2234]
mov dword [esp + 0x98], 0x3f800000
cvttss2si edx, xmm2
movaps xmm2, xmm0
movaps xmm0, xmm3
shl edx, 0x18
mov eax, edx
mov dword [esp + 0xac], edx
or eax, 0xffffff
mov ecx, edx
mov dword [esp + 0x60], eax
or ecx, 0xff
mov eax, edx
mov dword [esp + 0x110], ecx
or eax, 0x808080
mov dword [esp + 0x128], ecx
mov dword [esp + 0xa4], eax
lea ecx, [esp + 0x90]
mov eax, edx
or eax, 0xffff
mov dword [esp + 0x114], eax
mov eax, edx
or eax, 0xff00
mov dword [esp + 0x118], eax
mov eax, edx
or eax, 0xffff00
mov dword [esp + 0x11c], eax
mov eax, edx
or eax, 0xff0000
mov dword [esp + 0x120], eax
mov eax, edx
or eax, 0xff00ff
lea edx, [esp + 0x94]
mov dword [esp + 0x124], eax
lea eax, [esp + 0x98]
push eax
call fcn.1000c1a0
movss xmm2, dword [esp + 0x94]
xorps xmm0, xmm0
movss xmm1, dword [0x100a2280]
add esp, 4
comiss xmm0, xmm2
jbe 0x10047722
xorps xmm2, xmm2
jmp 0x10047726
minss xmm2, xmm1
movss xmm3, dword [0x100a239c]
movss xmm4, dword [0x100a2234]
mulss xmm2, xmm3
addss xmm2, xmm4
cvttss2si ecx, xmm2
movss xmm2, dword [esp + 0x94]
comiss xmm0, xmm2
jbe 0x10047755
xorps xmm2, xmm2
jmp 0x10047759
minss xmm2, xmm1
mulss xmm2, xmm3
addss xmm2, xmm4
cvttss2si eax, xmm2
movss xmm2, dword [esp + 0x98]
shl eax, 8
or ecx, eax
comiss xmm0, xmm2
jbe 0x1004777d
xorps xmm2, xmm2
jmp 0x10047781
minss xmm2, xmm1
mulss xmm2, xmm3
addss xmm2, xmm4
cvttss2si eax, xmm2
movss xmm2, dword [esp + 0x9c]
shl eax, 0x10
or ecx, eax
comiss xmm0, xmm2
jbe 0x100477a5
xorps xmm2, xmm2
jmp 0x100477a9
minss xmm2, xmm1
mulss xmm2, xmm3
addss xmm2, xmm4
cvttss2si edx, xmm2
movss xmm2, dword [esp + 0xcc]
shl edx, 0x18
or edx, ecx
comiss xmm0, xmm2
mov dword [esp + 0xb0], edx
jbe 0x100477d4
xorps xmm2, xmm2
jmp 0x100477d8
minss xmm2, xmm1
mulss xmm2, xmm3
addss xmm2, xmm4
cvttss2si ecx, xmm2
movss xmm2, dword [esp + 0xa8]
comiss xmm0, xmm2
jbe 0x100477f7
xorps xmm2, xmm2
jmp 0x100477fb
minss xmm2, xmm1
mulss xmm2, xmm3
addss xmm2, xmm4
cvttss2si eax, xmm2
movss xmm2, dword [esp + 0xb8]
shl eax, 8
or ecx, eax
comiss xmm0, xmm2
jbe 0x1004781f
xorps xmm2, xmm2
jmp 0x10047823
minss xmm2, xmm1
mulss xmm2, xmm3
addss xmm2, xmm4
cvttss2si eax, xmm2
movss xmm2, dword [edi + 0x38a8]
shl eax, 0x10
or ecx, eax
comiss xmm0, xmm2
jbe 0x10047846
xorps xmm2, xmm2
jmp 0x1004784a
minss xmm2, xmm1
mulss xmm2, xmm3
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
addss xmm2, xmm4
cvttss2si eax, xmm2
shl eax, 0x18
or eax, ecx
cmp dword [esp + 0x70], 0
mov dword [esp + 0x20], eax
je 0x10047f41
movss xmm0, dword [esp + 0x108]
movaps xmm3, xmm4
divss xmm3, xmm0
mov eax, 0x2aaaaaab
movss xmm5, dword [0x100a2284]
movaps xmm2, xmm0
addss xmm2, dword [esp + 0x5c]
cvttss2si ecx, xmm0
mulss xmm2, xmm4
imul ecx
movss dword [esp + 0xcc], xmm3
movss dword [esp + 0xbc], xmm2
mov eax, 4
sar edx, 1
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
cmp ecx, eax
cmovle ecx, eax
xor esi, esi
mov dword [esp + 0xc8], ecx
mov dword [esp + 0xa8], esi
nop
mov eax, dword [esp + 0x30]
movd xmm1, esi
cvtdq2ps xmm1, xmm1
push ecx
mov edi, dword [eax + 0x18]
push ecx
lea ecx, [esp + 0xd8]
mulss xmm1, xmm5
movaps xmm0, xmm1
addss xmm1, xmm5
subss xmm0, xmm3
addss xmm1, xmm3
movaps xmm3, xmm0
movss dword [esp + 0x78], xmm0
movss dword [esp], xmm1
push ecx
mov ecx, eax
movss dword [esp + 0x74], xmm1
call fcn.1002fcf0
movss xmm0, dword [esp + 0x50]
mov eax, dword [esp + 0x30]
push ecx
movss dword [esp], xmm0
mov ecx, eax
push 0
push dword [esp + 0x68]
push dword [eax + 0x54]
push dword [eax + 0x5c]
call fcn.1002e840
mov eax, dword [esp + 0x30]
movss xmm0, dword [esp + 0x70]
movss xmm1, dword [esp + 0x68]
mov dword [eax + 0x54], 0
call fcn.100775a0
movaps xmm5, xmm0
movss xmm2, dword [0x100a2280]
movss xmm0, dword [esp + 0x5c]
movaps xmm3, xmm5
shufps xmm3, xmm5, 0xe
movaps xmm6, xmm5
movaps xmm4, xmm3
shufps xmm6, xmm5, 1
shufps xmm4, xmm3, 1
mulss xmm3, xmm0
mov eax, dword [esp + 0x30]
mulss xmm4, xmm0
mov ecx, dword [esp + esi*4 + 0x110]
addss xmm3, dword [esp + 0x104]
mulss xmm6, xmm0
mov edx, dword [eax + 0x20]
addss xmm4, dword [esp + 0xf8]
mulss xmm5, xmm0
mov eax, dword [eax + 0x18]
addss xmm6, dword [esp + 0xf8]
addss xmm5, dword [esp + 0x104]
lea eax, [eax + eax*4]
lea eax, [edx + eax*4]
subss xmm4, xmm6
mov dword [esp + 0x70], eax
movzx eax, cl
subss xmm3, xmm5
mov dword [esp + 0xb8], eax
mov eax, ecx
shr ecx, 0x10
shr eax, 8
movaps xmm0, xmm4
movzx eax, al
mulss xmm0, xmm4
mov dword [esp + 0xa0], eax
movaps xmm1, xmm3
movzx eax, cl
mulss xmm1, xmm3
mov ecx, dword [esp + esi*4 + 0x114]
mov dword [esp + 0xec], eax
movzx eax, cl
addss xmm1, xmm0
sub eax, dword [esp + 0xb8]
movaps xmm0, xmm2
mov dword [esp + 0x64], eax
divss xmm0, xmm1
movss dword [esp + 0xf0], xmm0
mov eax, ecx
shr ecx, 0x10
shr eax, 8
movzx eax, al
sub eax, dword [esp + 0xa0]
mov dword [esp + 0x68], eax
lea eax, [edi + edi*4]
mov edi, dword [esp + 0x70]
lea edx, [edx + eax*4]
movzx ecx, cl
sub ecx, dword [esp + 0xec]
cmp edx, edi
jae 0x10047b53
movd xmm0, dword [esp + 0xec]
mov esi, dword [esp + 0x64]
cvtdq2ps xmm0, xmm0
movd xmm7, ecx
movss dword [esp + 0x70], xmm0
movd xmm0, dword [esp + 0x68]
cvtdq2ps xmm0, xmm0
cvtdq2ps xmm7, xmm7
movss dword [esp + 0x68], xmm0
movd xmm0, dword [esp + 0xa0]
cvtdq2ps xmm0, xmm0
movss dword [esp + 0x54], xmm0
nop
movss xmm0, dword [edx]
movss xmm1, dword [edx + 4]
subss xmm0, xmm6
subss xmm1, xmm5
mulss xmm0, xmm4
mulss xmm1, xmm3
addss xmm1, xmm0
xorps xmm0, xmm0
mulss xmm1, dword [esp + 0xf0]
comiss xmm0, xmm1
jbe 0x10047ae3
xorps xmm1, xmm1
jmp 0x10047ae7
minss xmm1, xmm2
movaps xmm0, xmm1
mulss xmm0, xmm7
addss xmm0, dword [esp + 0x70]
cvttss2si ecx, xmm0
movaps xmm0, xmm1
mulss xmm0, dword [esp + 0x68]
shl ecx, 8
addss xmm0, dword [esp + 0x54]
cvttss2si eax, xmm0
movd xmm0, esi
cvtdq2ps xmm0, xmm0
or ecx, eax
shl ecx, 8
mulss xmm1, xmm0
movd xmm0, dword [esp + 0xb8]
cvtdq2ps xmm0, xmm0
addss xmm1, xmm0
cvttss2si eax, xmm1
or ecx, eax
mov eax, dword [edx + 0x10]
and eax, 0xff000000
or ecx, eax
mov dword [edx + 0x10], ecx
add edx, 0x14
cmp edx, edi
jb 0x10047ab0
mov esi, dword [esp + 0xa8]
movss xmm2, dword [esp + 0xbc]
inc esi
movss xmm3, dword [esp + 0xcc]
movss xmm5, dword [0x100a2284]
mov ecx, dword [esp + 0xc8]
mov dword [esp + 0xa8], esi
cmp esi, 6
jl 0x100478e0
movss xmm1, dword [esp + 0x1c]
mulss xmm1, dword [0x100a22c0]
mulss xmm1, dword [0x100a22ec]
movaps xmm0, xmm1
call fcn.10077550
cmp byte [esp + 0x1a], 0
movaps xmm1, xmm0
movss xmm3, dword [esp + 0x5c]
movaps xmm4, xmm1
addss xmm3, dword [esp + 0x108]
shufps xmm4, xmm1, 1
movups xmmword [esp + 0x90], xmm1
movaps xmmword [esp + 0xd0], xmm4
movaps xmm0, xmm3
mulss xmm3, xmm1
mulss xmm0, xmm4
mulss xmm3, dword [0x100a2234]
mulss xmm0, dword [0x100a2234]
addss xmm3, dword [esp + 0x104]
addss xmm0, dword [esp + 0xf8]
movss dword [esp + 0x44], xmm3
movss dword [esp + 0x40], xmm0
movss xmm0, dword [esp + 0x50]
je 0x10047c1c
mulss xmm0, dword [0x100a2240]
jmp 0x10047c24
mulss xmm0, dword [0x100a2238]
mov esi, dword [esp + 0x30]
movaps xmm1, xmm0
mov ecx, esi
movss dword [esp + 0x5c], xmm0
call fcn.1002e580
movss xmm2, dword [esp + 0x5c]
mov edi, eax
push edi
push dword [esp + 0xb4]
lea eax, [esp + 0x48]
mov ecx, esi
push eax
call fcn.10030d00
movss xmm2, dword [esp + 0x5c]
lea eax, [esp + 0x40]
addss xmm2, dword [0x100a2280]
push ecx
mov dword [esp], 0x3f800000
mov ecx, esi
push edi
push dword [esp + 0xac]
push eax
call fcn.10030c40
movss xmm2, dword [esp + 0x5c]
lea eax, [esp + 0x40]
push ecx
mov dword [esp], 0x3f800000
mov ecx, esi
push edi
mov edi, dword [esp + 0x68]
push edi
push eax
call fcn.10030c40
movaps xmm3, xmmword [esp + 0xd0]
mov ecx, esi
movss xmm6, dword [esp + 0xf8]
movaps xmm0, xmm3
mulss xmm0, dword [esp + 0x38]
movaps xmm5, xmm3
mov eax, dword [0x100a93e8]
movups xmm4, xmmword [esp + 0x90]
push 3
movss xmm7, dword [esp + 0x108]
addss xmm0, xmm6
mulss xmm5, dword [esp + 0xc8]
movaps xmm1, xmm4
push 3
mulss xmm1, dword [esp + 0xcc]
movss dword [esp + 0x6c], xmm0
movaps xmm2, xmm5
movss dword [esp + 0xc4], xmm0
movaps xmm0, xmm4
mulss xmm0, dword [esp + 0x40]
addss xmm0, xmm7
movss dword [esp + 0x5c], xmm0
movss dword [esp + 0xc8], xmm0
movaps xmm0, xmm4
mulss xmm0, dword [esp + 0x90]
mulss xmm4, dword [esp + 0xf0]
subss xmm2, xmm0
movaps xmm0, xmm3
mulss xmm0, dword [esp + 0x90]
mulss xmm3, dword [esp + 0xf0]
subss xmm5, xmm4
addss xmm0, xmm1
addss xmm2, xmm6
addss xmm3, xmm1
addss xmm5, xmm6
addss xmm0, xmm7
movss dword [esp + 0x40], xmm2
addss xmm3, xmm7
movss dword [esp + 0xf8], xmm5
movss dword [esp + 0x48], xmm5
movss dword [esp + 0x44], xmm0
movss xmm0, dword [eax + 0x3cfc]
movss dword [esp + 0x78], xmm0
movss xmm0, dword [eax + 0x3d00]
movaps xmmword [esp + 0xd8], xmm3
movss dword [esp + 0x4c], xmm3
movss dword [esp + 0x70], xmm0
call fcn.1002e620
mov ecx, dword [esi + 0x38]
mov ax, word [esi + 0x28]
mov edx, dword [esp + 0xc0]
movss xmm0, dword [esp + 0x70]
mov word [ecx], ax
mov eax, dword [esi + 0x34]
add dword [esi + 0x38], 2
mov ecx, dword [esp + 0xbc]
movss xmm1, dword [esp + 0x68]
mov dword [eax], ecx
mov dword [eax + 4], edx
mov eax, dword [esi + 0x34]
mov ecx, dword [esp + 0xb0]
mov edx, dword [esp + 0x3c]
movss dword [eax + 8], xmm0
movss dword [eax + 0xc], xmm1
mov eax, dword [esi + 0x34]
mov dword [eax + 0x10], ecx
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
mov ecx, dword [esp + 0x38]
mov dword [eax], ecx
mov dword [eax + 4], edx
mov eax, dword [esi + 0x34]
mov ecx, dword [esp + 0xac]
mov edx, dword [esp + 0x44]
movss dword [eax + 8], xmm0
movss dword [eax + 0xc], xmm1
mov eax, dword [esi + 0x34]
mov dword [eax + 0x10], ecx
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 + 0x40]
push ecx
push dword [esp + 0xa8]
mov dword [eax], ecx
mov ecx, esi
mov dword [eax + 4], edx
mov eax, dword [esi + 0x34]
movss dword [eax + 8], xmm0
movss dword [eax + 0xc], xmm1
mov eax, dword [esi + 0x34]
mov dword [eax + 0x10], edi
lea eax, [esp + 0x48]
add dword [esi + 0x34], 0x14
inc dword [esi + 0x28]
push eax
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0xcc]
push eax
call fcn.10030a20
movss xmm2, dword [0x100a2280]
xorps xmm0, xmm0
movaps xmm5, xmm2
subss xmm5, dword [esp + 0x4c]
comiss xmm0, xmm5
jbe 0x10047eb7
xorps xmm5, xmm5
jmp 0x10047ebb
minss xmm5, xmm2
movss xmm1, dword [esp + 0x28]
comiss xmm0, xmm1
jbe 0x10047ecb
xorps xmm1, xmm1
jmp 0x10047ecf
minss xmm1, xmm2
movss xmm0, dword [esp + 0x64]
subss xmm0, dword [esp + 0xf0]
movss xmm3, dword [esp + 0x38]
movaps xmm4, xmmword [esp + 0xd0]
mov esi, dword [esp + 0xfc]
mulss xmm0, xmm1
addss xmm0, dword [esp + 0xf0]
subss xmm3, xmm0
mulss xmm3, xmm5
addss xmm3, xmm0
movss xmm0, dword [esp + 0x54]
subss xmm0, xmm4
movss dword [esp + 0x78], xmm3
mulss xmm0, xmm1
movss xmm1, dword [esp + 0x3c]
addss xmm0, xmm4
subss xmm1, xmm0
mulss xmm1, xmm5
addss xmm1, xmm0
movss dword [esp + 0x7c], xmm1
jmp 0x1004828f
test dword [esp + 0x14], 0x2000000
je 0x10048287
mov eax, dword [esp + 0x60]
movss xmm0, dword [esp + 0xa0]
mov ecx, dword [esp + 0x30]
push eax
push edx
push edx
movss dword [esp + 0x44], xmm0
movss xmm0, dword [esp + 0x38]
addss xmm0, dword [esp + 0x30]
push eax
lea eax, [esp + 0x48]
push eax
lea eax, [esp + 0x54]
push eax
movss dword [esp + 0x54], xmm0
call fcn.100308a0
mov ecx, dword [esp + 0xac]
lea eax, [esp + 0xd0]
movss xmm0, dword [esp + 0xa0]
push ecx
push ecx
mov ecx, dword [esp + 0x38]
push 0
push 0
push eax
movss dword [esp + 0xe4], xmm0
lea eax, [esp + 0x54]
movss xmm0, dword [esp + 0x50]
push eax
movss dword [esp + 0xec], xmm0
call fcn.100308a0
movss xmm0, dword [esp + 0xa0]
movss dword [esp + 0x70], xmm0
movss xmm0, dword [esp + 0x3c]
movss dword [esp + 0x74], xmm0
xorps xmm0, xmm0
push dword [esp + 0x74]
push dword [esp + 0x74]
push dword [esp + 0x4c]
push dword [esp + 0x4c]
call fcn.1000ddb0
movss xmm2, dword [esp + 0x38]
xorps xmm0, xmm0
movss xmm1, dword [0x100a2280]
add esp, 0x10
comiss xmm0, xmm2
jbe 0x10048020
xorps xmm2, xmm2
jmp 0x10048024
minss xmm2, xmm1
movss xmm7, dword [esp + 0x24]
movss xmm5, dword [esp + 0x40]
movss xmm4, dword [0x100a2234]
mulss xmm2, xmm7
movss xmm3, dword [0x100a22c0]
movss xmm6, dword [esp + 0xa0]
addss xmm2, xmm5
addss xmm5, xmm3
subss xmm6, xmm3
addss xmm2, xmm4
cvttss2si eax, xmm2
movd xmm2, eax
cvtdq2ps xmm2, xmm2
comiss xmm5, xmm2
jbe 0x10048075
movss dword [esp + 0x78], xmm5
jmp 0x10048088
comiss xmm2, xmm6
jbe 0x10048082
movss dword [esp + 0x78], xmm6
jmp 0x10048088
movss dword [esp + 0x78], xmm2
movaps xmm2, xmm1
subss xmm2, dword [esp + 0x4c]
comiss xmm0, xmm2
jbe 0x1004809b
xorps xmm2, xmm2
jmp 0x1004809f
minss xmm2, xmm1
movss xmm5, dword [esp + 0x2c]
mulss xmm2, xmm7
movaps xmm1, xmm5
movss xmm0, dword [esp + 0x3c]
addss xmm1, xmm3
subss xmm0, xmm3
addss xmm2, xmm5
addss xmm2, xmm4
cvttss2si eax, xmm2
movd xmm2, eax
cvtdq2ps xmm2, xmm2
comiss xmm1, xmm2
jbe 0x100480da
movss dword [esp + 0x7c], xmm1
jmp 0x100480ed
comiss xmm2, xmm0
jbe 0x100480e7
movss dword [esp + 0x7c], xmm0
jmp 0x100480ed
movss dword [esp + 0x7c], xmm2
movss xmm0, dword [esp + 0xbc]
movaps xmm1, xmm7
mulss xmm1, dword [0x100a21f8]
xor ecx, ecx
mov esi, dword [esp + 0x30]
movss dword [esp + 0xd0], xmm0
movss xmm0, dword [esp + 0xe4]
movss dword [esp + 0x70], xmm1
movss dword [esp + 0x90], xmm0
nop dword [eax + eax]
mov eax, dword [esp + ecx*4 + 0x114]
lea edi, [ecx + 1]
movd xmm0, edi
cvtdq2ps xmm0, xmm0
push eax
push eax
lea eax, [esp + 0xd8]
mulss xmm0, xmm1
addss xmm0, xmm5
movss dword [esp + 0xdc], xmm0
movd xmm0, ecx
mov ecx, dword [esp + ecx*4 + 0x118]
cvtdq2ps xmm0, xmm0
push ecx
push ecx
push eax
lea eax, [esp + 0xa4]
mov ecx, esi
push eax
mulss xmm0, xmm1
addss xmm0, xmm5
movss dword [esp + 0xac], xmm0
call fcn.100308a0
movss xmm1, dword [esp + 0x70]
mov ecx, edi
movss xmm5, dword [esp + 0x2c]
cmp ecx, 6
jl 0x10048130
movss xmm0, dword [esp + 0xbc]
movss dword [esp + 0x40], xmm0
movss xmm0, dword [esp + 0x3c]
movss dword [esp + 0x44], xmm0
movss xmm0, dword [esp + 0xe4]
push dword [esp + 0x44]
movss dword [esp + 0x3c], xmm0
movaps xmm0, xmm5
push dword [esp + 0x44]
movss dword [esp + 0x44], xmm0
xorps xmm0, xmm0
push dword [esp + 0x44]
push dword [esp + 0x44]
call fcn.1000ddb0
mov esi, dword [esp + 0x10c]
movss xmm1, dword [esp + 0x68]
addss xmm1, dword [0x100a22c0]
mov ecx, dword [esp + 0x40]
movd xmm2, esi
cvtdq2ps xmm2, xmm2
movaps xmm0, xmm2
movss dword [esp + 0x4c], xmm2
addss xmm0, dword [0x100a2280]
movss xmm2, dword [esp + 0xf4]
push dword [esp + 0x4c]
subss xmm2, dword [0x100a2280]
movss dword [esp + 0x4c], xmm0
movss xmm0, dword [esp + 0x30]
mulss xmm0, dword [esp + 0x38]
push dword [esp + 0x4c]
movss dword [esp + 0x58], xmm2
addss xmm0, dword [esp + 0x44]
addss xmm0, dword [0x100a2234]
cvttss2si eax, xmm0
movd xmm0, eax
mov eax, dword [esp + 0x4c]
cvtdq2ps xmm0, xmm0
movss xmm2, dword [eax + 0x38a8]
movss dword [esp + 0x5c], xmm0
push dword [esp + 0x5c]
push dword [esp + 0x5c]
call fcn.10045df0
add esp, 0x20
movss xmm2, dword [0x100a2280]
cmp byte [esp + 0x13], 0
movss xmm4, dword [esp + 0x50]
je 0x100482a6
mulss xmm4, dword [0x100a2238]
jmp 0x100482ae
mulss xmm4, dword [0x100a2224]
mov edx, dword [esp + 0x30]
movaps xmm0, xmm4
addss xmm0, dword [0x100a227c]
movss dword [esp + 0x50], xmm4
mov ecx, dword [edx + 0x2c]
cvttss2si eax, xmm0
cmp eax, 0x3f
ja 0x100482de
movzx edi, byte [ecx + eax + 0x1bc]
mov ecx, 0x200
jmp 0x10048352
movss xmm1, dword [ecx + 0x14]
movaps xmm0, xmm2
minss xmm1, xmm4
divss xmm1, xmm4
subss xmm0, xmm1
call sub.api_ms_win_crt_math_l1_1_0.dll___libm_sse2_acosf
movss xmm1, dword [0x100a22ec]
sub esp, 8
divss xmm1, xmm0
movss dword [esp + 0x78], xmm1
fld dword [esp + 0x78]
fstp qword [esp]
call sub.api_ms_win_crt_math_l1_1_0.dll_ceil
movss xmm4, dword [esp + 0x58]
add esp, 8
fstp dword [esp + 0x70]
cvttss2si eax, dword [esp + 0x70]
mov ecx, 0x200
inc eax
cdq
sub eax, edx
mov edx, dword [esp + 0x30]
mov edi, eax
and edi, 0xfffffffe
cmp edi, 4
jge 0x10048349
mov edi, 4
jmp 0x10048352
cmp edi, 0x200
cmovg edi, ecx
test dword [esp + 0x20], 0xff000000
je 0x10048402
movss xmm0, dword [0x100a2234]
comiss xmm0, xmm4
ja 0x10048402
test edi, edi
jg 0x10048395
push ecx
push 0x30
push 0
lea eax, [esp + 0x84]
movaps xmm2, xmm4
push eax
mov ecx, edx
call fcn.1002f900
mov ecx, dword [esp + 0x30]
dec dword [ecx + 0x54]
jmp 0x100483e8
cmp edi, 3
jge 0x100483a1
mov eax, 3
jmp 0x100483ac
cmp edi, 0x200
mov eax, edi
cmovg eax, ecx
movd xmm1, eax
xorps xmm3, xmm3
cvtdq2ps xmm1, xmm1
dec eax
push eax
lea eax, [esp + 0x7c]
push ecx
movaps xmm2, xmm4
mov ecx, edx
movaps xmm0, xmm1
subss xmm0, dword [0x100a2280]
mulss xmm0, dword [0x100a2300]
divss xmm0, xmm1
movss dword [esp], xmm0
push eax
call fcn.1002fcf0
mov ecx, dword [esp + 0x30]
push dword [esp + 0x20]
push dword [ecx + 0x54]
push dword [ecx + 0x5c]
call fcn.1002f530
mov edx, dword [esp + 0x30]
mov dword [edx + 0x54], 0
movss xmm2, dword [esp + 0x50]
lea eax, [esp + 0x78]
addss xmm2, dword [0x100a2280]
push ecx
mov dword [esp], 0x3f800000
mov ecx, edx
push edi
push dword [esp + 0xac]
push eax
call fcn.10030c40
movss xmm2, dword [esp + 0x50]
lea eax, [esp + 0x78]
push ecx
mov ecx, dword [esp + 0x34]
mov dword [esp], 0x3f800000
push edi
push dword [esp + 0x68]
push eax
call fcn.10030c40
cmp dword [esp + 0x10c], 0x10000
jne 0x10048607
mov eax, dword [esp + 0xb4]
xorps xmm1, xmm1
movss xmm0, dword [eax + 0xc]
comiss xmm1, xmm0
jbe 0x1004847d
movss dword [esp + 0xbc], xmm1
jmp 0x1004848e
minss xmm0, dword [0x100a2280]
movss dword [esp + 0xbc], xmm0
movss xmm0, dword [esp + 0x100]
xorps xmm3, xmm3
movss xmm2, dword [esp + 0x2c]
xor edx, edx
movss dword [esp + 0xd0], xmm0
addss xmm0, dword [esp + 0x58]
mov edi, dword [esp + 0xd0]
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x3c], 0
push dword [esp + 0x3c]
movss dword [esp + 0xdc], xmm0
movaps xmm0, xmm2
addss xmm0, dword [esp + 0x28]
mov dword [esp + 0x3c], 0
push dword [esp + 0x3c]
movss dword [esp + 0xdc], xmm2
movss xmm2, dword [esp + 0x60]
mulss xmm2, dword [0x100a2234]
movss dword [esp + 0xe4], xmm0
push dword [esp + 0xe4]
push dword [esp + 0xe4]
push dword [esp + 0xe4]
push edi
push 0
call fcn.10034d60
mov ecx, dword [esp + 0x3c]
add esp, 0x1c
mov eax, ecx
and eax, 0xffffff
push eax
push eax
push ecx
push ecx
mov ecx, dword [esp + 0x40]
lea eax, [esp + 0xe8]
push eax
lea eax, [esp + 0xe4]
push eax
call fcn.100308a0
push dword [esp + 0xdc]
xorps xmm0, xmm0
push dword [esp + 0xdc]
push dword [esp + 0xdc]
push edi
call fcn.1000ddb0
movss xmm1, dword [0x100a2280]
movd xmm2, esi
cvtdq2ps xmm2, xmm2
mov edi, dword [esp + 0x44]
mov ecx, dword [esp + 0x40]
movaps xmm0, xmm2
movss dword [esp + 0x4c], xmm2
movss xmm2, dword [esp + 0x110]
addss xmm0, xmm1
subss xmm2, xmm1
subss xmm1, dword [esp + 0xcc]
push dword [esp + 0x4c]
movss dword [esp + 0x4c], xmm0
push dword [esp + 0x4c]
mulss xmm1, dword [esp + 0x3c]
movss dword [esp + 0x58], xmm2
movss xmm2, dword [edi + 0x38a8]
addss xmm1, dword [esp + 0x44]
addss xmm1, dword [0x100a2234]
cvttss2si eax, xmm1
movss xmm1, dword [esp + 0x70]
addss xmm1, dword [0x100a22c0]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [esp + 0x5c], xmm0
push dword [esp + 0x5c]
push dword [esp + 0x5c]
call fcn.10045df0
add esp, 0x20
jmp 0x1004860b
mov edi, dword [esp + 0x34]
call fcn.1001d2d0
mov al, byte [esp + 0x12]
mov edx, dword [0x100a93e8]
test al, al
je 0x100486e1
mov eax, dword [esp + 0x8c]
lea ecx, [esp + 0x130]
mov esi, dword [esp + 0xb4]
sub eax, 4
mov dword [esp + 0x8c], eax
jb 0x10048662
mov eax, dword [ecx]
cmp eax, dword [esi]
jne 0x1004866b
mov eax, dword [esp + 0x8c]
add ecx, 4
add esi, 4
sub eax, 4
mov dword [esp + 0x8c], eax
jae 0x10048643
cmp eax, 0xfffffffc
je 0x10048707
mov al, byte [ecx]
cmp al, byte [esi]
jne 0x100486ab
cmp dword [esp + 0x8c], 0xfffffffd
je 0x10048707
mov al, byte [ecx + 1]
cmp al, byte [esi + 1]
jne 0x100486ab
cmp dword [esp + 0x8c], 0xfffffffe
je 0x10048707
mov al, byte [ecx + 2]
cmp al, byte [esi + 2]
jne 0x100486ab
cmp dword [esp + 0x8c], 0xffffffff
je 0x10048707
mov al, byte [ecx + 3]
cmp al, byte [esi + 3]
je 0x10048707
mov eax, dword [edi + 0x4908]
test eax, eax
je 0x100486dd
cmp word [edx + 0x5d1e], 0
jg 0x100486dd
mov ecx, dword [edx + 0x3fdc]
cmp ecx, eax
je 0x100486cd
test ecx, ecx
jne 0x100486d6
mov word [edx + 0x3fec], 0x101
or dword [edx + 0x4910], 4
mov al, byte [esp + 0x12]
cmp dword [esp + 0x12c], 0
jne 0x100486f5
mov dword [edi + 0x5c98], 0
mov ecx, dword [edx + 0x3f8c]
pop edi
pop esi
dec dword [ecx + 0xec]
mov esp, ebp
pop ebp
ret
xor al, al
jmp 0x100486e1