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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x108
mov dword [esp + 0x30], edx
mov edx, ecx
mov ecx, dword [0x1011f930]
push esi
mov esi, dword [ebp + 8]
push edi
mov eax, dword [ecx + 0x198c]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x54], edx
mov byte [eax + 0x7c], 1
mov eax, dword [ecx + 0x198c]
mov ecx, edx
mov dword [esp + 0x68], eax
mov edi, dword [eax + 0x274]
mov dword [esp + 0x60], edi
call fcn.100349b0
call fcn.10034ab0
mov edx, esi
or edx, 0x10
test esi, 0x100
cmovne edx, esi
mov dword [esp + 0x58], edx
test dl, 8
jne 0x10053f13
mov ecx, dword [esp + 0x38]
call fcn.10057070
mov edx, dword [esp + 0x58]
mov esi, dword [esp + 0x10]
test edx, 0x6000000
jne 0x10053f3c
mov eax, dword [esi + 0x2bf0]
mov ecx, 0x2900000
test eax, 0x6000000
cmovne ecx, eax
and ecx, 0x6000000
or ecx, edx
jmp 0x10053f3e
mov ecx, edx
mov dword [esp + 0x18], ecx
test cl, 8
jne 0x10053f58
mov eax, dword [esi + 0x2bf0]
and eax, 0x10000
or ecx, eax
mov dword [esp + 0x18], ecx
mov eax, ecx
mov edx, ecx
and eax, 2
and edx, 0x10002
mov dword [esp + 0xd8], eax
mov eax, dword [esp + 0x68]
mov dword [esp + 0xcc], edx
movss xmm0, dword [eax + 0xcc]
movss xmm5, dword [eax + 0xc8]
mov eax, dword [0x1011f930]
movss dword [esp + 0x2c], xmm0
movss dword [esp + 0x44], xmm0
xorps xmm0, xmm0
movss dword [esp + 0xc], xmm5
movss xmm4, dword [eax + 0x1538]
addss xmm4, xmm4
movss dword [esp + 0x40], xmm5
addss xmm4, dword [eax + 0x18ac]
mov eax, dword [eax + 0x198c]
mov dword [esp + 0x68], eax
movss xmm2, dword [eax + 0x16c]
comiss xmm0, xmm2
movss dword [esp + 0x48], xmm4
jbe 0x10054056
mov ecx, dword [eax + 0x1bc]
movss xmm3, dword [eax + 0xc8]
movss xmm1, dword [eax + 0x214]
mov dword [esp + 0x58], ecx
subss xmm3, dword [eax + 0xc]
subss xmm1, dword [eax + 0xc]
test ecx, ecx
je 0x10054042
mov edx, dword [ecx + 0xc]
movss xmm0, dword [ecx + 0x14]
lea eax, [edx + 1]
test eax, eax
cmovns edx, eax
lea ecx, [edx*8]
sub ecx, edx
mov edx, dword [esp + 0x58]
movss xmm1, dword [edx + 0x18]
mov eax, dword [edx + 0x34]
subss xmm1, xmm0
mov edx, dword [esp + 0xcc]
mulss xmm1, dword [eax + ecx*4]
mov eax, dword [esp + 0x68]
addss xmm1, xmm0
subss xmm1, dword [eax + 0x3c]
subss xmm1, xmm3
addss xmm1, xmm2
movss xmm2, dword [0x100da4a8]
maxss xmm2, xmm1
movss xmm3, dword [esi + 0x154c]
cvttss2si eax, xmm2
movaps xmm0, xmm3
addss xmm0, xmm4
movd xmm2, eax
xor eax, eax
cmp edx, 0x10000
cvtdq2ps xmm2, xmm2
sete al
inc eax
movd xmm1, eax
xor eax, eax
cvtdq2ps xmm1, xmm1
cmp dword [esp + 0xd8], eax
sete al
mulss xmm1, xmm0
movaps xmm0, xmm4
lea eax, [eax*4 + 0xc]
push eax
push dword [esp + 0x3c]
subss xmm2, xmm1
movaps xmm1, xmm5
lea eax, [esp + 0x108]
push eax
maxss xmm0, xmm2
addss xmm1, xmm0
movss dword [esp + 0x20], xmm0
addss xmm1, xmm3
movaps xmm0, xmm1
movss dword [esp + 0x58], xmm1
addss xmm0, xmm4
addss xmm0, xmm3
movss dword [esp + 0xdc], xmm0
movaps xmm0, xmm4
mulss xmm0, dword [0x100da448]
cvttss2si esi, xmm0
mov dword [esp + 0x74], esi
call sub.VCRUNTIME140.dll_memcpy
movss xmm0, dword [esp + 0x20]
add esp, 0xc
movaps xmm4, xmm0
mov dword [esp + 0x24], 0
mulss xmm4, dword [0x100da468]
movaps xmm3, xmm0
mulss xmm3, dword [0x100da430]
movaps xmm2, xmm4
movss dword [esp + 0x50], xmm4
movaps xmm1, xmm4
addss xmm1, dword [esp + 0x2c]
subss xmm2, xmm3
movss dword [esp + 0x7c], xmm3
movaps xmm3, xmm0
mulss xmm0, dword [0x100da41c]
addss xmm3, dword [esp + 0x48]
movss dword [esp + 0x88], xmm1
cvttss2si eax, xmm0
movss dword [esp + 0xbc], xmm1
movaps xmm1, xmm2
mulss xmm3, dword [0x100da468]
movss dword [esp + 0x78], xmm2
movd xmm0, eax
addss xmm3, dword [esp + 0xc]
cvtdq2ps xmm0, xmm0
mov eax, dword [esp + 0x38]
movss dword [esp + 0x90], xmm3
subss xmm1, xmm0
movss dword [esp + 0xb8], xmm3
movaps xmm0, xmm1
movss dword [esp + 0x20], xmm1
mulss xmm0, dword [0x100da668]
movaps xmm2, xmm1
mulss xmm2, dword [0x100da674]
movss dword [esp + 0xb4], xmm0
movss dword [esp + 0x94], xmm0
movss dword [esp + 0xdc], xmm0
movaps xmm0, xmm1
mulss xmm0, dword [0x100da498]
movss dword [esp + 0xa8], xmm2
movss dword [esp + 0x98], xmm2
movss dword [esp + 0xa4], xmm0
movss dword [esp + 0xe0], xmm0
movss xmm1, dword [eax + 4]
xorps xmm4, xmm4
movss xmm3, dword [eax + 8]
comiss xmm3, xmm1
movss xmm5, dword [eax]
movss dword [esp + 0x6c], xmm5
jbe 0x1005422a
movss xmm4, dword [0x100da678]
movaps xmm0, xmm1
movaps xmm1, xmm3
movaps xmm3, xmm0
comiss xmm1, xmm5
jbe 0x1005424d
movaps xmm0, xmm5
movss dword [esp + 0x6c], xmm1
movaps xmm5, xmm1
movaps xmm1, xmm0
movss xmm0, dword [0x100da664]
subss xmm0, xmm4
movaps xmm4, xmm0
movaps xmm0, xmm1
movaps xmm2, xmm5
minss xmm0, xmm3
subss xmm1, xmm3
movss xmm3, dword [0x100da53c]
movss dword [esp + 0xc8], xmm3
subss xmm2, xmm0
movaps xmm0, xmm2
mulss xmm0, xmm3
addss xmm0, dword [0x100da3d4]
divss xmm1, xmm0
addss xmm1, xmm4
movaps xmm0, xmm1
call fcn.10003050
movss dword [esp + 0x3c], xmm0
mov ecx, 8
movaps xmm0, xmm5
mov byte [esp + 8], 0
addss xmm0, dword [0x100da3d4]
mov byte [esp + 0xb], 0
mov byte [esp + 0xa], 0
divss xmm2, xmm0
movss dword [esp + 0x5c], xmm2
call fcn.10034570
mov eax, dword [esp + 0x18]
test eax, 0x4000000
je 0x10054893
movss xmm1, dword [esp + 0x14]
lea edx, [esp + 0x30]
mov eax, dword [esp + 0x10]
movaps xmm0, xmm1
mov ecx, 0x100d7c18
movss dword [esp + 0x34], xmm1
addss xmm0, dword [eax + 0x154c]
addss xmm0, dword [esp + 0x48]
movss dword [esp + 0x30], xmm0
call fcn.10049880
mov eax, dword [0x1011f930]
mov ecx, dword [eax + 0x19ac]
test ecx, ecx
je 0x10054789
mov eax, dword [eax + 0x198c]
cmp ecx, dword [eax + 0x10c]
jne 0x10054789
mov eax, dword [esp + 0x10]
movss xmm0, dword [eax + 0x384]
subss xmm0, dword [esp + 0x88]
movss xmm1, dword [eax + 0x380]
subss xmm1, dword [esp + 0x90]
movss xmm4, dword [eax + 0xe0]
movss xmm3, dword [eax + 0xe4]
subss xmm4, dword [esp + 0x90]
subss xmm3, dword [esp + 0x88]
movaps xmm2, xmm0
movss dword [esp + 0x8c], xmm0
mulss xmm2, xmm0
movaps xmm0, xmm1
mulss xmm0, xmm1
movss dword [esp + 0x64], xmm1
movss xmm1, dword [0x100da4a8]
addss xmm2, xmm0
movss dword [esp + 0x1c], xmm4
movss xmm0, dword [esp + 0x78]
subss xmm0, xmm1
movss dword [esp + 0xf8], xmm3
mulss xmm0, xmm0
comiss xmm2, xmm0
jb 0x10054437
movss xmm0, dword [esp + 0x50]
addss xmm0, xmm1
mulss xmm0, xmm0
comiss xmm0, xmm2
jb 0x10054437
cvtps2pd xmm0, xmm3
movsd qword [esp + 0x30], xmm0
fld qword [esp + 0x30]
cvtps2pd xmm0, xmm4
movsd qword [esp + 0x30], xmm0
fld qword [esp + 0x30]
call sub.api_ms_win_crt_math_l1_1_0.dll__CIatan2
movss xmm2, dword [0x100da520]
xorps xmm0, xmm0
fstp qword [esp + 0x30]
movsd xmm1, qword [esp + 0x30]
cvtpd2ps xmm1, xmm1
divss xmm1, xmm2
mulss xmm1, dword [0x100da468]
comiss xmm0, xmm1
movss dword [esp + 0x3c], xmm1
jbe 0x1005442f
addss xmm1, dword [0x100da4a8]
movss dword [esp + 0x3c], xmm1
mov al, 1
mov byte [esp + 8], al
jmp 0x10054449
mov al, byte [esp + 8]
movss xmm2, dword [0x100da520]
movss xmm1, dword [esp + 0x3c]
movaps xmm0, xmm1
mov byte [esp + 0xb], al
xorps xmm0, xmmword [0x100dadd0]
addss xmm0, xmm0
mulss xmm0, xmm2
cvtss2sd xmm0, xmm0
movsd qword [esp + 0x30], xmm0
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_cos_precise
cvtsd2ss xmm0, xmm0
movss dword [esp + 0x58], xmm0
movsd xmm0, qword [esp + 0x30]
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_sin_precise
movss xmm4, dword [esp + 0x58]
xorps xmm3, xmm3
cvtsd2ss xmm3, xmm0
movss xmm1, dword [esp + 0xb4]
movaps xmm5, xmm4
mulss xmm5, dword [esp + 0x64]
movaps xmm0, xmm3
mulss xmm0, dword [esp + 0x8c]
movaps xmm7, xmm4
mulss xmm7, dword [esp + 0x8c]
subss xmm5, xmm0
movss xmm6, dword [esp + 0x20]
movaps xmm0, xmm3
movss dword [esp + 0xd4], xmm3
mulss xmm0, dword [esp + 0x64]
movaps xmm3, xmm1
subss xmm3, xmm1
subss xmm6, dword [esp + 0xb4]
addss xmm7, xmm0
movaps xmm2, xmm5
movss xmm0, dword [esp + 0xa8]
subss xmm2, xmm1
subss xmm0, dword [esp + 0xa4]
movss dword [esp + 0x64], xmm3
movss dword [esp + 0xac], xmm6
movaps xmm1, xmm0
movss dword [esp + 0x58], xmm0
movaps xmm0, xmm7
mulss xmm1, xmm2
subss xmm0, dword [esp + 0xa4]
mulss xmm0, xmm3
xorps xmm3, xmm3
subss xmm1, xmm0
xorps xmm0, xmm0
subss xmm0, dword [esp + 0xa8]
comiss xmm3, xmm1
movaps xmm1, xmm0
movss dword [esp + 0x8c], xmm0
movaps xmm0, xmm7
mulss xmm1, xmm2
seta cl
subss xmm0, dword [esp + 0xa8]
mulss xmm0, xmm6
subss xmm1, xmm0
comiss xmm3, xmm1
seta al
cmp al, cl
jne 0x10054781
movss xmm6, dword [esp + 0xa4]
subss xmm7, xmm3
movss xmm2, dword [esp + 0xb4]
subss xmm6, xmm3
subss xmm2, dword [esp + 0x20]
subss xmm5, dword [esp + 0x20]
movss dword [esp + 0x80], xmm6
mulss xmm7, xmm2
mulss xmm5, xmm6
movss dword [esp + 0x70], xmm2
subss xmm5, xmm7
comiss xmm3, xmm5
seta al
cmp cl, al
jne 0x10054781
movss xmm1, dword [esp + 0xd4]
movaps xmm5, xmm4
mulss xmm5, dword [esp + 0x1c]
movaps xmm0, xmm1
mulss xmm1, dword [esp + 0x1c]
mulss xmm0, dword [esp + 0xf8]
mulss xmm4, dword [esp + 0xf8]
subss xmm5, xmm0
addss xmm4, xmm1
movaps xmm1, xmm5
movss dword [esp + 0x30], xmm5
subss xmm1, dword [esp + 0xb4]
movaps xmm0, xmm4
movss dword [esp + 0x34], xmm4
subss xmm0, dword [esp + 0xa4]
mulss xmm1, dword [esp + 0x58]
mulss xmm0, dword [esp + 0x64]
subss xmm1, xmm0
movaps xmm0, xmm4
subss xmm0, dword [esp + 0xa8]
comiss xmm3, xmm1
mulss xmm0, dword [esp + 0xac]
movaps xmm1, xmm5
subss xmm1, dword [esp + 0xb4]
seta cl
mulss xmm1, dword [esp + 0x8c]
subss xmm1, xmm0
comiss xmm3, xmm1
seta al
cmp al, cl
jne 0x10054696
movaps xmm1, xmm5
movaps xmm0, xmm4
subss xmm1, dword [esp + 0x20]
subss xmm0, xmm3
mulss xmm1, xmm6
mulss xmm0, xmm2
subss xmm1, xmm0
comiss xmm3, xmm1
seta al
cmp cl, al
je 0x100546d3
lea eax, [esp + 0x30]
push eax
lea eax, [esp + 0xe0]
push eax
lea eax, [esp + 0x9c]
push eax
lea edx, [esp + 0x2c]
lea ecx, [esp + 0x104]
call fcn.10029eb0
movss xmm6, dword [esp + 0x8c]
add esp, 0xc
xorps xmm3, xmm3
movss xmm5, dword [eax]
movss xmm4, dword [eax + 4]
movss xmm2, dword [esp + 0xa8]
subss xmm4, xmm3
subss xmm5, dword [esp + 0x20]
movss xmm7, dword [esp + 0x70]
subss xmm2, xmm3
movaps xmm1, xmm6
movaps xmm0, xmm7
mulss xmm1, xmm7
mulss xmm4, xmm7
mulss xmm0, xmm2
mulss xmm6, xmm5
subss xmm1, xmm0
mulss xmm5, xmm2
subss xmm6, xmm4
movss xmm0, dword [0x100da4a8]
movss xmm2, dword [0x100da3f8]
movaps xmm3, xmm0
subss xmm4, xmm5
movss dword [esp + 0x5c], xmm2
divss xmm6, xmm1
divss xmm4, xmm1
subss xmm3, xmm6
comiss xmm2, xmm3
movaps xmm1, xmm3
subss xmm1, xmm4
jbe 0x10054752
movaps xmm4, xmm2
movss dword [esp + 0x6c], xmm2
jmp 0x1005475f
movaps xmm4, xmm0
minss xmm4, xmm3
movss dword [esp + 0x6c], xmm4
divss xmm1, xmm4
comiss xmm2, xmm1
ja 0x10054775
movaps xmm2, xmm0
minss xmm2, xmm1
movss dword [esp + 0x5c], xmm2
mov byte [esp + 0xa], 1
mov byte [esp + 8], 1
jmp 0x10054789
mov al, byte [esp + 8]
mov byte [esp + 0xb], al
test byte [esp + 0x18], 8
jne 0x10054795
call fcn.10035260
movss xmm4, dword [esp + 0x14]
movss xmm3, dword [esp + 0x2c]
cmp dword [esp + 0xcc], 0x10000
jne 0x10054aa5
mov ecx, dword [0x1011f930]
lea edx, [esp + 0x94]
movss xmm0, dword [esp + 0xd0]
movss dword [esp + 0x98], xmm4
mov eax, dword [ecx + 0x198c]
mov byte [eax + 0x7c], 1
mov eax, dword [ecx + 0x198c]
mov ecx, 0x100d7c1c
movss dword [eax + 0xc8], xmm0
movss dword [eax + 0xcc], xmm3
movss xmm1, dword [eax + 0xe0]
maxss xmm1, xmm0
movss xmm0, dword [eax + 0xe4]
maxss xmm0, xmm3
movss dword [eax + 0xe0], xmm1
movss dword [eax + 0xe4], xmm0
movss xmm0, dword [esp + 0x48]
movss dword [esp + 0x94], xmm0
call fcn.10049880
mov eax, dword [0x1011f930]
mov edx, dword [esp + 0x10]
mov ecx, dword [eax + 0x19ac]
test ecx, ecx
je 0x10054aa9
mov eax, dword [eax + 0x198c]
cmp ecx, dword [eax + 0x10c]
jne 0x10054aa9
movss xmm3, dword [edx + 0xe4]
xorps xmm2, xmm2
movss xmm0, dword [esp + 0x14]
movss xmm1, dword [0x100da4a8]
subss xmm3, dword [esp + 0x2c]
subss xmm0, xmm1
divss xmm3, xmm0
comiss xmm2, xmm3
jbe 0x10054a87
xorps xmm4, xmm4
jmp 0x10054a8e
test eax, 0x2000000
je 0x10054795
movss xmm0, dword [esp + 0x14]
lea edx, [esp + 0x94]
mov ecx, 0x100d7c14
movss dword [esp + 0x94], xmm0
movss dword [esp + 0x98], xmm0
call fcn.10049880
mov ecx, dword [0x1011f930]
mov edx, dword [ecx + 0x19ac]
test edx, edx
je 0x1005495e
mov eax, dword [ecx + 0x198c]
cmp edx, dword [eax + 0x10c]
jne 0x1005495e
mov eax, dword [esp + 0x10]
xorps xmm0, xmm0
movss xmm4, dword [esp + 0x14]
movss xmm1, dword [0x100da4a8]
subss xmm4, xmm1
movss xmm2, dword [eax + 0xe0]
subss xmm2, dword [esp + 0xc]
divss xmm2, xmm4
comiss xmm0, xmm2
jbe 0x10054921
movss dword [esp + 0x5c], xmm0
jmp 0x1005492e
movaps xmm3, xmm1
minss xmm3, xmm2
movss dword [esp + 0x5c], xmm3
movss xmm2, dword [eax + 0xe4]
subss xmm2, dword [esp + 0x2c]
divss xmm2, xmm4
comiss xmm0, xmm2
ja 0x1005494c
movaps xmm0, xmm1
minss xmm0, xmm2
subss xmm1, xmm0
mov al, 1
mov byte [esp + 8], al
movss dword [esp + 0x6c], xmm1
jmp 0x10054962
mov al, byte [esp + 8]
test byte [esp + 0x18], 8
mov byte [esp + 0xa], al
mov byte [esp + 9], al
jne 0x1005497c
call fcn.10035260
mov ecx, dword [0x1011f930]
mov eax, dword [ecx + 0x198c]
lea edx, [esp + 0x94]
movss xmm0, dword [esp + 0x4c]
movss xmm2, dword [esp + 0x2c]
mov byte [eax + 0x7c], 1
mov eax, dword [ecx + 0x198c]
mov ecx, 0x100d7c24
movss dword [eax + 0xc8], xmm0
movss dword [eax + 0xcc], xmm2
movss xmm1, dword [eax + 0xe0]
maxss xmm1, xmm0
movss xmm0, dword [eax + 0xe4]
maxss xmm0, xmm2
movss dword [eax + 0xe0], xmm1
movss dword [eax + 0xe4], xmm0
movss xmm0, dword [esp + 0x48]
movss dword [esp + 0x94], xmm0
movss xmm0, dword [esp + 0x14]
movss dword [esp + 0x98], xmm0
call fcn.10049880
mov eax, dword [0x1011f930]
mov ecx, dword [eax + 0x19ac]
test ecx, ecx
je 0x10054795
mov eax, dword [eax + 0x198c]
mov dl, byte [esp + 8]
movss xmm3, dword [esp + 0x2c]
movss xmm4, dword [esp + 0x14]
mov byte [esp + 0xa], dl
cmp ecx, dword [eax + 0x10c]
jne 0x100547a1
mov eax, dword [esp + 0x10]
movaps xmm0, xmm4
movss xmm1, dword [0x100da4a8]
subss xmm0, xmm1
movss xmm2, dword [eax + 0xe4]
subss xmm2, xmm3
divss xmm2, xmm0
xorps xmm0, xmm0
comiss xmm0, xmm2
ja 0x10054a6a
movaps xmm0, xmm1
minss xmm0, xmm2
mov al, byte [esp + 9]
movss dword [esp + 0x3c], xmm0
mov byte [esp + 0xb], 1
mov byte [esp + 8], 1
mov byte [esp + 0xa], al
jmp 0x100547a1
movaps xmm4, xmm1
minss xmm4, xmm3
mov eax, dword [esp + 0x38]
movaps xmm0, xmm1
subss xmm0, xmm4
mov byte [esp + 8], 1
movss dword [eax + 0xc], xmm0
jmp 0x10054aa9
mov edx, dword [esp + 0x10]
mov ecx, dword [0x1011f930]
mov eax, dword [ecx + 0x198c]
mov byte [eax + 0x7c], 1
mov ecx, dword [ecx + 0x198c]
mov eax, dword [ecx + 0x174]
add eax, 0xffffffff
mov dword [esp + 0x70], eax
mov dword [ecx + 0x174], eax
jne 0x10054ad8
xor eax, eax
jmp 0x10054aea
mov edi, dword [esp + 0x70]
mov eax, dword [ecx + 0x17c]
mov eax, dword [eax + edi*4 - 4]
mov edi, dword [esp + 0x60]
mov dword [ecx + 0x168], eax
mov eax, dword [esp + 0x18]
test eax, 0x100
jne 0x10054b14
movss xmm1, dword [edx + 0x154c]
xorps xmm0, xmm0
call fcn.10034d80
call fcn.10034ab0
mov eax, dword [esp + 0x18]
test al, al
js 0x10054b71
mov edx, dword [esp + 0x54]
cmp edx, 0xffffffff
jae 0x10054b71
mov cl, byte [edx]
mov byte [esp + 9], cl
test cl, cl
je 0x10054b3b
cmp cl, 0x23
jne 0x10054b35
cmp byte [edx + 1], cl
je 0x10054b3b
inc edx
cmp edx, 0xffffffff
jb 0x10054b21
mov dword [esp + 0x1c], edx
cmp dword [esp + 0x54], edx
je 0x10054b71
test eax, 0x100
je 0x10054b64
mov eax, dword [esp + 0x10]
xorps xmm0, xmm0
movss xmm1, dword [eax + 0x154c]
call fcn.10034d80
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x54]
call fcn.10048770
mov eax, dword [esp + 0x18]
test eax, 0x100
jne 0x10054d52
mov ecx, 0x10
call fcn.10034570
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x38]
test cl, 2
je 0x10054b9d
movss xmm1, dword [0x100da4a8]
jmp 0x10054ba2
movss xmm1, dword [eax + 0xc]
movss xmm0, dword [eax]
movss dword [esp + 0x94], xmm0
movss xmm0, dword [eax + 4]
movss dword [esp + 0x98], xmm0
movss xmm0, dword [eax + 8]
movss dword [esp + 0x9c], xmm0
movss dword [esp + 0xa0], xmm1
test cl, cl
jns 0x10054be9
push str.Current
call fcn.10048de0
mov ecx, dword [esp + 0x1c]
add esp, 4
movss xmm1, dword [esp + 0x48]
lea edx, [esp + 0x94]
movaps xmm0, xmm1
and ecx, 0xe0040
mulss xmm0, dword [0x100da51c]
mov dword [esp + 0xac], ecx
movss dword [esp + 0x30], xmm0
movss dword [esp + 0x70], xmm0
movaps xmm0, xmm1
addss xmm0, xmm1
movss dword [esp + 0x34], xmm0
push dword [esp + 0x34]
movss dword [esp + 0x84], xmm0
push dword [esp + 0x34]
push ecx
mov ecx, str.current
call fcn.10056300
add esp, 0xc
cmp dword [ebp + 0xc], 0
je 0x10054d12
push str.Original
call fcn.10048de0
mov eax, dword [ebp + 0xc]
add esp, 4
test byte [esp + 0x18], 2
je 0x10054c71
movss xmm1, dword [0x100da4a8]
jmp 0x10054c76
movss xmm1, dword [eax + 0xc]
movss xmm0, dword [eax]
lea edx, [esp + 0xdc]
movss dword [esp + 0xdc], xmm0
mov ecx, str.original
movss xmm0, dword [eax + 4]
movss dword [esp + 0xe0], xmm0
movss xmm0, dword [eax + 8]
movss dword [esp + 0xe4], xmm0
movss xmm0, dword [esp + 0x70]
movss dword [esp + 0x30], xmm0
movss xmm0, dword [esp + 0x80]
movss dword [esp + 0x34], xmm0
push dword [esp + 0x34]
movss dword [esp + 0xec], xmm1
push dword [esp + 0x34]
push dword [esp + 0xb4]
call fcn.10056300
add esp, 0xc
test al, al
je 0x10054d12
xor eax, eax
cmp dword [esp + 0xd8], eax
sete al
lea eax, [eax*4 + 0xc]
push eax
push dword [ebp + 0xc]
push dword [esp + 0x40]
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov byte [esp + 8], 1
mov ecx, dword [0x1011f930]
mov eax, dword [ecx + 0x198c]
mov byte [eax + 0x7c], 1
mov ecx, dword [ecx + 0x198c]
mov edx, dword [ecx + 0x174]
sub edx, 1
mov dword [ecx + 0x174], edx
jne 0x10054d3d
xor eax, eax
jmp 0x10054d47
mov eax, dword [ecx + 0x17c]
mov eax, dword [eax + edx*4 - 4]
mov dword [ecx + 0x168], eax
call fcn.10034bf0
cmp byte [esp + 0xb], 0
jne 0x10054d60
cmp byte [esp + 0xa], 0
je 0x10054dbc
mov eax, dword [esp + 0x38]
xorps xmm0, xmm0
movss xmm1, dword [esp + 0x6c]
comiss xmm1, xmm0
lea ecx, [eax + 8]
lea edx, [eax + 4]
jbe 0x10054d7d
movaps xmm3, xmm1
jmp 0x10054d85
movss xmm3, dword [0x100da3e0]
movss xmm1, dword [esp + 0x5c]
comiss xmm1, xmm0
movss xmm2, dword [0x100da3e8]
ja 0x10054d9b
movaps xmm1, xmm2
movss xmm0, dword [esp + 0x3c]
comiss xmm0, dword [0x100da4a8]
jb 0x10054dae
subss xmm0, xmm2
push ecx
mov ecx, eax
movaps xmm2, xmm3
call fcn.1002a7f0
add esp, 4
test byte [esp + 0x18], 0x20
mov byte [esp + 9], 0
jne 0x1005508a
cmp dword [esp + 0xcc], 0x10000
jne 0x10054de4
movss xmm0, dword [esp + 0xd0]
jmp 0x10054dea
movss xmm0, dword [esp + 0x4c]
addss xmm0, dword [esp + 0x48]
mov ecx, dword [0x1011f930]
subss xmm0, dword [esp + 0xc]
mov eax, dword [ecx + 0x198c]
ucomiss xmm0, dword [0x100da3c4]
mov byte [eax + 0x7c], 1
mov ecx, dword [ecx + 0x198c]
mov dword [esp + 0x1c], ecx
lahf
test ah, 0x44
jp 0x10054e25
movss xmm0, dword [ecx + 0x220]
movss dword [ecx + 0x16c], xmm0
add ecx, 0x180
mov dword [esp + 0x80], ecx
mov eax, dword [ecx + 4]
mov edx, dword [ecx]
cmp edx, eax
jne 0x10054e71
inc edx
mov dword [esp + 0x70], edx
test eax, eax
je 0x10054e5a
cdq
sub eax, edx
mov edx, dword [esp + 0x70]
sar eax, 1
add eax, dword [ecx + 4]
jmp 0x10054e5f
mov eax, 8
cmp eax, edx
cmovg edx, eax
push edx
call fcn.1003a610
mov ecx, dword [esp + 0x80]
mov edx, dword [ecx]
mov ecx, dword [ecx + 8]
mov eax, dword [esp + 0x1c]
mov eax, dword [eax + 0x16c]
mov dword [ecx + edx*4], eax
mov eax, dword [esp + 0x1c]
inc dword [eax + 0x180]
mov eax, dword [esp + 0x18]
mov ecx, eax
and ecx, 0x18e001a
mov dword [esp + 0x54], ecx
test eax, 0x100000
jne 0x10054eab
test eax, 0x700000
jne 0x10054ef4
mov edx, dword [esp + 0x38]
or ecx, 0x100004
push ecx
mov ecx, str.rgb
call fcn.10052960
add esp, 4
test al, al
je 0x10054eec
mov eax, dword [esp + 0x10]
cmp dword [eax + 0x19ac], 0
je 0x10054ee2
cmp byte [eax + 0x19bd], 0
mov byte [esp + 9], 1
je 0x10054ee7
mov byte [esp + 9], 0
mov byte [esp + 8], 1
mov ecx, dword [esp + 0x54]
mov eax, dword [esp + 0x18]
test eax, 0x200000
jne 0x10054f02
test eax, 0x700000
jne 0x10054f22
mov edx, dword [esp + 0x38]
or ecx, 0x200004
push ecx
mov ecx, str.hsv
call fcn.10052960
add esp, 4
or byte [esp + 8], al
mov eax, dword [esp + 0x18]
test eax, 0x400000
jne 0x10054f30
test eax, 0x700000
jne 0x10054f4f
mov eax, dword [esp + 0x54]
mov ecx, str.hex
mov edx, dword [esp + 0x38]
or eax, 0x400004
push eax
call fcn.10052960
add esp, 4
or byte [esp + 8], al
mov ecx, dword [0x1011f930]
mov eax, dword [ecx + 0x198c]
mov byte [eax + 0x7c], 1
mov ecx, dword [ecx + 0x198c]
mov edx, dword [ecx + 0x180]
sub edx, 1
mov dword [ecx + 0x180], edx
jne 0x10054f80
movss xmm0, dword [ecx + 0x220]
jmp 0x10054f8c
mov eax, dword [ecx + 0x188]
movss xmm0, dword [eax + edx*4 - 4]
cmp byte [esp + 9], 0
movss dword [ecx + 0x16c], xmm0
je 0x1005508a
mov ecx, dword [esp + 0x38]
xorps xmm2, xmm2
xorps xmm6, xmm6
movss xmm3, dword [ecx + 4]
movss xmm5, dword [ecx + 8]
comiss xmm5, xmm3
movss xmm4, dword [ecx]
jbe 0x10054fcd
movss xmm6, dword [0x100da678]
movaps xmm0, xmm3
movaps xmm3, xmm5
movaps xmm5, xmm0
comiss xmm3, xmm4
jbe 0x10054fea
movaps xmm0, xmm4
movaps xmm4, xmm3
movaps xmm3, xmm0
movss xmm0, dword [0x100da664]
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 [0x100da3d4]
movaps xmm7, xmm1
mulss xmm1, dword [0x100da53c]
divss xmm7, xmm0
addss xmm1, dword [0x100da3d4]
divss xmm3, xmm1
addss xmm3, xmm6
movaps xmm0, xmm3
call fcn.10003050
comiss xmm2, xmm0
jb 0x1005508a
movss xmm0, dword [esp + 0x3c]
comiss xmm0, xmm2
jbe 0x1005508a
comiss xmm2, xmm4
jb 0x10055065
movss xmm1, dword [esp + 0x6c]
ucomiss xmm1, xmm4
lahf
test ah, 0x44
jnp 0x10055065
movaps xmm2, xmm1
movss xmm1, dword [esp + 0x5c]
mulss xmm2, dword [0x100da468]
jmp 0x1005507b
comiss xmm2, xmm7
jb 0x1005508a
movss xmm1, dword [esp + 0x5c]
movaps xmm2, xmm4
mulss xmm1, dword [0x100da468]
lea eax, [ecx + 8]
push eax
lea edx, [ecx + 4]
call fcn.1002a7f0
add esp, 4
movaps xmm0, xmmword [0x100dad30]
lea eax, [esp + 0x9c]
movss xmm2, dword [0x100da4a8]
lea edx, [esp + 0x98]
movups xmmword [esp + 0x94], xmm0
lea ecx, [esp + 0x94]
movss xmm0, dword [esp + 0x3c]
movaps xmm1, xmm2
push eax
call fcn.1002a7f0
movups xmm3, xmmword [esp + 0x98]
add esp, 4
movss xmm2, dword [0x100da4a8]
xorps xmm1, xmm1
comiss xmm1, xmm3
jbe 0x100550e5
xorps xmm0, xmm0
jmp 0x100550ec
movaps xmm0, xmm2
minss xmm0, xmm3
movss xmm3, dword [0x100da5dc]
movss xmm5, dword [0x100da468]
movss xmm4, dword [esp + 0x98]
comiss xmm1, xmm4
mulss xmm0, xmm3
addss xmm0, xmm5
cvttss2si ecx, xmm0
jbe 0x1005511b
xorps xmm0, xmm0
jmp 0x10055122
movaps xmm0, xmm2
minss xmm0, xmm4
movss xmm4, dword [esp + 0x9c]
mulss xmm0, xmm3
addss xmm0, xmm5
cvttss2si eax, xmm0
shl eax, 8
or ecx, eax
comiss xmm1, xmm4
jbe 0x10055146
xorps xmm0, xmm0
jmp 0x1005514d
movaps xmm0, xmm2
minss xmm0, xmm4
movss xmm4, dword [esp + 0xa0]
mulss xmm0, xmm3
addss xmm0, xmm5
cvttss2si eax, xmm0
shl eax, 0x10
or ecx, eax
comiss xmm1, xmm4
jbe 0x10055171
xorps xmm0, xmm0
jmp 0x10055178
movaps xmm0, xmm2
minss xmm0, xmm4
mov eax, dword [esp + 0x38]
mulss xmm0, xmm3
movss xmm4, dword [eax]
movss xmm6, dword [eax + 4]
addss xmm0, xmm5
movss xmm7, dword [eax + 8]
cvttss2si edx, xmm0
shl edx, 0x18
or edx, ecx
comiss xmm1, xmm4
mov dword [esp + 0x1c], edx
jbe 0x100551a9
xorps xmm0, xmm0
jmp 0x100551b0
movaps xmm0, xmm2
minss xmm0, xmm4
comiss xmm1, xmm6
mulss xmm0, xmm3
addss xmm0, xmm5
cvttss2si ecx, xmm0
jbe 0x100551c6
xorps xmm0, xmm0
jmp 0x100551cd
movaps xmm0, xmm2
minss xmm0, xmm6
mulss xmm0, xmm3
addss xmm0, xmm5
cvttss2si eax, xmm0
shl eax, 8
or ecx, eax
comiss xmm1, xmm7
jbe 0x100551e8
xorps xmm0, xmm0
jmp 0x100551ef
movaps xmm0, xmm2
minss xmm0, xmm7
mulss xmm0, xmm3
mov dword [esp + 0xdc], 0xff0000ff
mov dword [esp + 0xe0], 0xff00ffff
mov dword [esp + 0xe4], 0xff00ff00
addss xmm0, xmm5
mov dword [esp + 0xe8], 0xffffff00
mov dword [esp + 0xec], 0xffff0000
mov dword [esp + 0xf0], 0xffff00ff
mov dword [esp + 0xf4], 0xff0000ff
mov dword [esp + 0x34], 0
cvttss2si eax, xmm0
mov dword [esp + 0x30], 0
shl eax, 0x10
or ecx, eax
mov eax, dword [esp + 0x18]
or ecx, 0xff000000
mov dword [esp + 0x58], ecx
test eax, 0x4000000
je 0x10055c9f
movss xmm0, dword [esp + 0x50]
mov eax, 0x2aaaaaab
movss xmm3, dword [0x100da4c8]
movss xmm4, dword [esp + 0x78]
divss xmm3, xmm0
cvttss2si ecx, xmm0
addss xmm4, xmm0
movss dword [esp + 0xd4], xmm3
imul ecx
mulss xmm4, xmm5
mov eax, 4
sar edx, 1
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
movss dword [esp + 0xf8], xmm4
cmp ecx, eax
cmovle ecx, eax
xor eax, eax
mov dword [esp + 0x40], ecx
mov dword [esp + 0x54], eax
movd xmm1, eax
lea eax, [esp + 0xb8]
cvtdq2ps xmm1, xmm1
mov esi, dword [edi + 0x18]
push ecx
push ecx
mov ecx, edi
movaps xmm0, xmm1
addss xmm1, xmm2
divss xmm0, dword [0x100da53c]
divss xmm1, dword [0x100da53c]
addss xmm0, xmm0
movaps xmm2, xmm4
addss xmm1, xmm1
mulss xmm0, dword [0x100da520]
mulss xmm1, dword [0x100da520]
subss xmm0, xmm3
addss xmm1, xmm3
movaps xmm3, xmm0
movss dword [esp + 0x54], xmm0
movss dword [esp], xmm1
push eax
movss dword [esp + 0x18], xmm1
call fcn.10044010
movss xmm0, dword [esp + 0x7c]
push ecx
movss dword [esp], xmm0
mov ecx, edi
push 0
push 0xffffffffffffffff
push dword [edi + 0x54]
push dword [edi + 0x5c]
call fcn.10042fc0
movss xmm0, dword [esp + 0x4c]
cvtps2pd xmm0, xmm0
mov dword [edi + 0x54], 0
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_cos_precise
movss xmm1, dword [esp + 0x4c]
cvtsd2ss xmm0, xmm0
mulss xmm0, dword [esp + 0x78]
addss xmm0, dword [esp + 0x90]
movss dword [esp + 0x80], xmm0
cvtps2pd xmm0, xmm1
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_sin_precise
cvtsd2ss xmm0, xmm0
mulss xmm0, dword [esp + 0x78]
addss xmm0, dword [esp + 0x88]
movss dword [esp + 0xac], xmm0
movss xmm0, dword [esp + 0xc]
cvtps2pd xmm0, xmm0
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_cos_precise
movss xmm1, dword [esp + 0xc]
cvtsd2ss xmm0, xmm0
mulss xmm0, dword [esp + 0x78]
addss xmm0, dword [esp + 0x90]
movss dword [esp + 0x70], xmm0
cvtps2pd xmm0, xmm1
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_sin_precise
movss xmm3, dword [esp + 0x70]
xorps xmm4, xmm4
movss xmm5, dword [esp + 0x80]
movss xmm6, dword [esp + 0xac]
subss xmm3, xmm5
cvtsd2ss xmm4, xmm0
mov edx, dword [esp + 0x54]
mov ecx, dword [edi + 0x20]
movss xmm2, dword [0x100da4a8]
movaps xmm0, xmm3
mulss xmm4, dword [esp + 0x78]
movaps xmm7, xmm2
mov eax, dword [esp + edx*4 + 0xe0]
mov edx, dword [esp + edx*4 + 0xdc]
mulss xmm0, xmm3
mov dword [esp + 0x4c], eax
addss xmm4, dword [esp + 0x88]
mov eax, dword [edi + 0x18]
subss xmm4, xmm6
movaps xmm1, xmm4
mulss xmm1, xmm4
addss xmm1, xmm0
divss xmm7, xmm1
lea eax, [eax + eax*4]
lea eax, [ecx + eax*4]
mov dword [esp + 0x8c], eax
lea eax, [esi + esi*4]
lea eax, [ecx + eax*4]
mov dword [esp + 0xc], eax
cmp eax, dword [esp + 0x8c]
jae 0x100555af
movzx eax, dl
mov dword [esp + 0x18], eax
mov eax, edx
shr eax, 8
movzx esi, al
mov eax, dword [esp + 0x4c]
shr eax, 0x10
movzx ecx, al
mov eax, dword [esp + 0x4c]
shr edx, 0x10
movzx edx, dl
shr eax, 8
sub ecx, edx
mov dword [esp + 0x64], edx
movzx edx, al
mov eax, dword [esp + 0x4c]
sub edx, esi
movzx edi, al
sub edi, dword [esp + 0x18]
mov eax, dword [esp + 0xc]
mov dword [esp + 0x70], esi
mov esi, dword [esp + 0x64]
nop word [eax + eax]
movss xmm0, dword [eax]
movss xmm1, dword [eax + 4]
subss xmm0, xmm5
subss xmm1, xmm6
mulss xmm0, xmm3
mulss xmm1, xmm4
addss xmm1, xmm0
xorps xmm0, xmm0
mulss xmm1, xmm7
comiss xmm0, xmm1
jbe 0x100554fe
xorps xmm2, xmm2
jmp 0x10055502
minss xmm2, xmm1
movd xmm1, ecx
movaps xmm0, xmm2
cvtdq2ps xmm1, xmm1
mulss xmm0, xmm1
movd xmm1, esi
cvtdq2ps xmm1, xmm1
mov esi, dword [esp + 0xc]
addss xmm0, xmm1
movd xmm1, edx
cvtdq2ps xmm1, xmm1
cvttss2si eax, xmm0
movaps xmm0, xmm2
mulss xmm0, xmm1
shl eax, 8
movd xmm1, dword [esp + 0x70]
cvtdq2ps xmm1, xmm1
mov dword [esp + 0x10], eax
addss xmm0, xmm1
cvttss2si eax, xmm0
movd xmm0, edi
or dword [esp + 0x10], eax
shl dword [esp + 0x10], 8
cvtdq2ps xmm0, xmm0
mulss xmm2, xmm0
movd xmm0, dword [esp + 0x18]
cvtdq2ps xmm0, xmm0
addss xmm2, xmm0
cvttss2si eax, xmm2
movss xmm2, dword [0x100da4a8]
or dword [esp + 0x10], eax
mov eax, dword [esp + 0xc]
mov eax, dword [eax + 0x10]
and eax, 0xff000000
or dword [esp + 0x10], eax
mov eax, dword [esp + 0x10]
mov dword [esi + 0x10], eax
mov eax, esi
mov esi, dword [esp + 0x64]
add eax, 0x14
mov dword [esp + 0xc], eax
cmp eax, dword [esp + 0x8c]
jb 0x100554d0
mov edi, dword [esp + 0x60]
mov eax, dword [esp + 0x54]
movss xmm4, dword [esp + 0xf8]
inc eax
movss xmm3, dword [esp + 0xd4]
mov ecx, dword [esp + 0x40]
mov dword [esp + 0x54], eax
cmp eax, 6
jl 0x100552d0
movss xmm0, dword [esp + 0x3c]
addss xmm0, xmm0
mulss xmm0, dword [0x100da520]
movss dword [esp + 0x3c], xmm0
cvtps2pd xmm0, xmm0
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_cos_precise
movss xmm3, dword [esp + 0x3c]
cvtsd2ss xmm0, xmm0
movss dword [esp + 0xc], xmm0
cvtps2pd xmm0, xmm3
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_sin_precise
cmp byte [esp + 0xb], 0
xorps xmm5, xmm5
movss xmm2, dword [esp + 0x78]
addss xmm2, dword [esp + 0x50]
movss xmm3, dword [esp + 0xc]
movss xmm6, dword [esp + 0x90]
movss xmm4, dword [esp + 0x7c]
cvtsd2ss xmm5, xmm0
movaps xmm0, xmm2
mulss xmm0, xmm3
mulss xmm2, xmm5
mulss xmm0, dword [0x100da468]
mulss xmm2, dword [0x100da468]
addss xmm0, xmm6
movss dword [esp + 0x64], xmm5
addss xmm2, dword [esp + 0x88]
movss dword [esp + 0x40], xmm0
movss dword [esp + 0x44], xmm2
je 0x10055682
mulss xmm4, dword [0x100da478]
jmp 0x1005568a
mulss xmm4, dword [0x100da470]
movaps xmm0, xmm4
movss dword [esp + 0x7c], xmm4
divss xmm0, dword [0x100da4c0]
cvttss2si eax, xmm0
cmp eax, 9
jge 0x100556ab
mov eax, 9
jmp 0x100556b5
mov ecx, 0x20
cmp eax, ecx
cmovg eax, ecx
test dword [esp + 0x1c], 0xff000000
movss xmm2, dword [0x100da548]
mov esi, dword [esp + 0x68]
mov dword [esp + 0x50], eax
je 0x10055738
cmp eax, 2
jle 0x1005582c
movd xmm1, eax
xorps xmm3, xmm3
cvtdq2ps xmm1, xmm1
dec eax
push eax
push ecx
lea eax, [esp + 0x48]
mov ecx, edi
movaps xmm0, xmm1
subss xmm0, dword [0x100da4a8]
mulss xmm0, xmm2
movaps xmm2, xmm4
divss xmm0, xmm1
movss dword [esp], xmm0
push eax
call fcn.10044010
push dword [esp + 0x1c]
mov ecx, edi
push dword [edi + 0x54]
push dword [edi + 0x5c]
call fcn.10043b00
movss xmm2, dword [0x100da548]
movss xmm4, dword [esp + 0x7c]
mov eax, dword [esp + 0x50]
mov dword [edi + 0x54], 0
jmp 0x10055741
cmp eax, 2
jle 0x1005582c
movd xmm1, eax
xorps xmm3, xmm3
cvtdq2ps xmm1, xmm1
dec eax
push eax
push ecx
lea eax, [esp + 0x48]
mov ecx, edi
movaps xmm0, xmm1
subss xmm0, dword [0x100da4a8]
mulss xmm0, xmm2
movaps xmm2, xmm4
addss xmm2, dword [0x100da4a8]
divss xmm0, xmm1
subss xmm2, dword [0x100da468]
movss dword [esp], xmm0
push eax
call fcn.10044010
push ecx
mov dword [esp], 0x3f800000
mov ecx, edi
push 1
push 0xff808080
push dword [edi + 0x54]
push dword [edi + 0x5c]
call fcn.10042fc0
mov eax, dword [esp + 0x50]
mov dword [edi + 0x54], 0
cmp eax, 2
jle 0x10055817
movd xmm1, eax
xorps xmm3, xmm3
cvtdq2ps xmm1, xmm1
dec eax
push eax
lea eax, [esp + 0x44]
push ecx
movss xmm2, dword [esp + 0x84]
mov ecx, edi
movaps xmm0, xmm1
subss xmm0, dword [0x100da4a8]
subss xmm2, dword [0x100da468]
mulss xmm0, dword [0x100da548]
divss xmm0, xmm1
movss dword [esp], xmm0
push eax
call fcn.10044010
push ecx
mov dword [esp], 0x3f800000
mov ecx, edi
push 1
push 0xffffffffffffffff
push dword [edi + 0x54]
push dword [edi + 0x5c]
call fcn.10042fc0
mov dword [edi + 0x54], 0
movss xmm6, dword [esp + 0x90]
movss xmm5, dword [esp + 0x64]
movss xmm3, dword [esp + 0xc]
movss xmm4, dword [esp + 0x20]
movaps xmm2, xmm3
mulss xmm2, xmm4
xorps xmm1, xmm1
mov eax, dword [0x1011f930]
mov ecx, edi
movaps xmm0, xmm5
mulss xmm0, xmm1
push 6
push 6
subss xmm2, xmm0
movaps xmm0, xmm3
mulss xmm0, xmm1
movaps xmm1, xmm5
mulss xmm1, dword [esp + 0xbc]
addss xmm2, xmm6
movss dword [esp + 0x28], xmm2
movaps xmm2, xmm5
mulss xmm2, xmm4
movaps xmm4, xmm3
mulss xmm4, dword [esp + 0xbc]
addss xmm2, xmm0
movaps xmm0, xmm5
mulss xmm0, dword [esp + 0xb0]
mulss xmm5, dword [esp + 0xac]
addss xmm2, dword [esp + 0x90]
movss dword [esp + 0x2c], xmm2
movaps xmm2, xmm4
subss xmm2, xmm0
movaps xmm0, xmm3
mulss xmm0, dword [esp + 0xb0]
subss xmm4, xmm5
mulss xmm3, dword [esp + 0xac]
addss xmm0, xmm1
addss xmm2, xmm6
addss xmm3, xmm1
addss xmm4, xmm6
addss xmm0, dword [esp + 0x90]
movss dword [esp + 0x88], xmm2
addss xmm3, dword [esp + 0x90]
movss dword [esp + 0xb4], xmm4
movss dword [esp + 0x8c], xmm0
movss xmm0, dword [eax + 0x18b4]
movss dword [esp + 0x48], xmm0
movss xmm0, dword [eax + 0x18b8]
movss dword [esp + 0x14], xmm3
movss dword [esp + 0xb8], xmm3
movss dword [esp + 0x78], xmm0
call fcn.10042e10
mov ecx, dword [edi + 0x38]
mov ax, word [edi + 0x30]
movss xmm2, dword [esp + 0x20]
movss xmm3, dword [esp + 0x24]
movss xmm0, dword [esp + 0x40]
mov word [ecx], ax
mov eax, dword [edi + 0x34]
add dword [edi + 0x38], 2
movss xmm1, dword [esp + 0x70]
mov edx, dword [esp + 0x1c]
movss dword [eax], xmm2
movss dword [eax + 4], xmm3
mov eax, dword [edi + 0x34]
movss xmm5, dword [esp + 0x80]
movss xmm4, dword [esp + 0x84]
movss dword [eax + 8], xmm0
movss dword [eax + 0xc], xmm1
mov eax, dword [edi + 0x34]
mov dword [eax + 0x10], edx
mov eax, dword [edi + 0x38]
add dword [edi + 0x34], 0x14
inc dword [edi + 0x30]
mov ecx, dword [edi + 0x30]
mov word [eax], cx
mov eax, dword [edi + 0x34]
add dword [edi + 0x38], 2
movss dword [eax], xmm5
movss dword [eax + 4], xmm4
mov eax, dword [edi + 0x34]
movss dword [eax + 8], xmm0
movss dword [eax + 0xc], xmm1
mov eax, dword [edi + 0x34]
mov dword [eax + 0x10], edx
add dword [edi + 0x34], 0x14
inc dword [edi + 0x30]
mov eax, dword [edi + 0x38]
mov ecx, dword [edi + 0x30]
movss xmm7, dword [esp + 0xac]
movss xmm6, dword [esp + 0xc]
mov word [eax], cx
add dword [edi + 0x38], 2
mov eax, dword [edi + 0x34]
movss dword [eax], xmm7
movss dword [eax + 4], xmm6
mov eax, dword [edi + 0x34]
movss dword [eax + 8], xmm0
movss dword [eax + 0xc], xmm1
mov eax, dword [edi + 0x34]
mov dword [eax + 0x10], 0xffffffff
add dword [edi + 0x34], 0x14
inc dword [edi + 0x30]
mov eax, dword [edi + 0x38]
mov ecx, dword [edi + 0x30]
mov word [eax], cx
mov eax, dword [edi + 0x34]
add dword [edi + 0x38], 2
movss dword [eax], xmm2
movss dword [eax + 4], xmm3
mov eax, dword [edi + 0x34]
movss dword [eax + 8], xmm0
movss dword [eax + 0xc], xmm1
mov eax, dword [edi + 0x34]
mov dword [eax + 0x10], 0
add dword [edi + 0x34], 0x14
inc dword [edi + 0x30]
mov eax, dword [edi + 0x38]
mov ecx, dword [edi + 0x30]
mov word [eax], cx
mov eax, dword [edi + 0x34]
add dword [edi + 0x38], 2
movss dword [eax], xmm5
movss dword [eax + 4], xmm4
mov eax, dword [edi + 0x34]
movss dword [eax + 8], xmm0
movss dword [eax + 0xc], xmm1
mov eax, dword [edi + 0x34]
mov dword [eax + 0x10], 0xff000000
add dword [edi + 0x34], 0x14
inc dword [edi + 0x30]
mov eax, dword [edi + 0x38]
mov ecx, dword [edi + 0x30]
mov word [eax], cx
mov eax, dword [edi + 0x34]
add dword [edi + 0x38], 2
movss dword [eax], xmm7
movss dword [eax + 4], xmm6
mov eax, dword [edi + 0x34]
movss dword [eax + 8], xmm0
movss dword [eax + 0xc], xmm1
mov eax, dword [edi + 0x34]
mov dword [eax + 0x10], 0
lea eax, [edi + 0x54]
add dword [edi + 0x34], 0x14
inc dword [edi + 0x30]
mov edx, dword [eax + 4]
mov ecx, dword [eax]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x40], edx
cmp ecx, edx
jne 0x10055af4
inc ecx
test edx, edx
je 0x10055add
mov eax, edx
cdq
sub eax, edx
sar eax, 1
add eax, dword [esp + 0x40]
jmp 0x10055ae2
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
push ecx
lea ecx, [edi + 0x54]
call fcn.1003aa00
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax + 8]
mov eax, dword [eax]
mov edx, dword [esp + 0x20]
mov edi, dword [esp + 0x24]
mov dword [ecx + eax*8], edx
mov dword [ecx + eax*8 + 4], edi
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x60]
add eax, 0x54
mov dword [esp + 0x50], eax
mov edx, dword [ecx]
inc edx
mov dword [ecx], edx
mov edi, dword [ecx + 4]
cmp edx, edi
jne 0x10055b51
lea ecx, [edx + 1]
test edi, edi
je 0x10055b35
mov eax, edi
cdq
sub eax, edx
sar eax, 1
add eax, edi
jmp 0x10055b3a
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
push ecx
mov ecx, dword [esp + 0x54]
call fcn.1003aa00
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x50]
mov eax, dword [eax]
mov ecx, dword [ecx + 8]
mov edx, dword [esp + 0x80]
mov edi, dword [esp + 0x84]
mov dword [ecx + eax*8], edx
mov dword [ecx + eax*8 + 4], edi
mov ecx, dword [esp + 0x50]
mov eax, dword [esp + 0x60]
add eax, 0x54
mov dword [esp + 0x1c], eax
mov edx, dword [ecx]
inc edx
mov dword [ecx], edx
mov edi, dword [eax + 4]
cmp edx, edi
jne 0x10055bb0
lea ecx, [edx + 1]
test edi, edi
je 0x10055b98
mov eax, edi
cdq
sub eax, edx
sar eax, 1
add eax, edi
jmp 0x10055b9d
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
push ecx
mov ecx, dword [esp + 0x20]
call fcn.1003aa00
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax + 8]
mov eax, dword [eax]
mov edx, dword [esp + 0xac]
mov edi, dword [esp + 0xb0]
push ecx
mov dword [ecx + eax*8], edx
mov dword [ecx + eax*8 + 4], edi
mov eax, dword [esp + 0x20]
mov edi, dword [esp + 0x64]
mov ecx, edi
mov dword [esp], 0x3fc00000
push 1
inc dword [eax]
push 0xff808080
push dword [eax]
push dword [edi + 0x5c]
call fcn.10042fc0
movss xmm0, dword [0x100da4a8]
xorps xmm1, xmm1
movaps xmm2, xmm0
mov dword [edi + 0x54], 0
subss xmm2, dword [esp + 0x6c]
comiss xmm1, xmm2
jbe 0x10055c14
xorps xmm4, xmm4
jmp 0x10055c1b
movaps xmm4, xmm0
minss xmm4, xmm2
movss xmm2, dword [esp + 0x5c]
comiss xmm1, xmm2
jbe 0x10055c2b
xorps xmm3, xmm3
jmp 0x10055c32
movaps xmm3, xmm0
minss xmm3, xmm2
movss xmm0, dword [esp + 0x20]
subss xmm0, dword [esp + 0xac]
movss xmm2, dword [esp + 0x24]
subss xmm2, dword [esp + 0xc]
mulss xmm0, xmm3
mulss xmm2, xmm3
addss xmm0, dword [esp + 0xac]
movss xmm3, dword [esp + 0x80]
addss xmm2, dword [esp + 0xc]
subss xmm3, xmm0
mulss xmm3, xmm4
addss xmm3, xmm0
movss xmm0, dword [esp + 0x84]
subss xmm0, xmm2
movss dword [esp + 0x30], xmm3
mulss xmm0, xmm4
addss xmm0, xmm2
movss dword [esp + 0x34], xmm0
jmp 0x10055fb4
test eax, 0x2000000
je 0x10055fb4
movss xmm0, dword [esp + 0xc]
lea eax, [esp + 0x20]
addss xmm0, dword [esp + 0x14]
push 0xffffffffffffffff
push edx
push edx
push 0xffffffffffffffff
movss dword [esp + 0x30], xmm0
mov ecx, edi
movss xmm0, dword [esp + 0x3c]
addss xmm0, dword [esp + 0x24]
push eax
lea eax, [esp + 0x54]
push eax
movss dword [esp + 0x3c], xmm0
call fcn.100447e0
movss xmm0, dword [esp + 0xc]
lea eax, [esp + 0xb8]
addss xmm0, dword [esp + 0x14]
push 0xff000000
push 0xff000000
push 0
push 0
push eax
movss dword [esp + 0xcc], xmm0
lea eax, [esp + 0x54]
movss xmm0, dword [esp + 0x38]
mov ecx, edi
push eax
movss dword [esp + 0xd4], xmm0
call fcn.100447e0
movss xmm0, dword [esp + 0xc]
addss xmm0, dword [esp + 0x14]
movss dword [esp + 0x70], xmm0
movss xmm0, dword [esp + 0x24]
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.1002b180
movss xmm3, dword [esp + 0x6c]
xorps xmm0, xmm0
movss xmm1, dword [0x100da4a8]
add esp, 0x10
comiss xmm0, xmm3
jbe 0x10055d7f
xorps xmm2, xmm2
jmp 0x10055d86
movaps xmm2, xmm1
minss xmm2, xmm3
movss xmm3, dword [esp + 0x14]
movss xmm6, dword [esp + 0xc]
movss xmm5, dword [0x100da468]
mulss xmm2, xmm3
movss xmm7, dword [0x100da4ec]
addss xmm2, xmm6
addss xmm2, xmm5
cvttss2si eax, xmm2
movaps xmm2, xmm6
addss xmm2, xmm7
movd xmm4, eax
cvtdq2ps xmm4, xmm4
comiss xmm2, xmm4
ja 0x10055dd4
movaps xmm2, xmm6
addss xmm2, xmm3
subss xmm2, xmm7
minss xmm2, xmm4
movss dword [esp + 0x30], xmm2
movaps xmm2, xmm1
subss xmm2, dword [esp + 0x6c]
comiss xmm0, xmm2
jbe 0x10055ded
xorps xmm1, xmm1
jmp 0x10055df1
minss xmm1, xmm2
movss xmm2, dword [esp + 0x2c]
mulss xmm1, xmm3
movaps xmm0, xmm2
addss xmm0, xmm7
addss xmm1, xmm2
addss xmm1, xmm5
cvttss2si eax, xmm1
movd xmm1, eax
cvtdq2ps xmm1, xmm1
comiss xmm0, xmm1
ja 0x10055e28
movss xmm0, dword [esp + 0x24]
subss xmm0, xmm7
minss xmm0, xmm1
movss xmm4, dword [esp + 0x4c]
movaps xmm1, xmm3
divss xmm1, dword [0x100da53c]
mov esi, dword [esp + 0x60]
xor ecx, ecx
movss dword [esp + 0x34], xmm0
movaps xmm0, xmm4
addss xmm0, dword [esp + 0x48]
movss dword [esp + 0x40], xmm1
movss dword [esp + 0x94], xmm4
movss dword [esp + 0xb8], xmm0
nop word [eax + eax]
mov eax, dword [esp + ecx*4 + 0xe0]
lea edi, [ecx + 1]
movd xmm0, edi
cvtdq2ps xmm0, xmm0
push eax
push eax
lea eax, [esp + 0xc0]
mulss xmm0, xmm1
addss xmm0, xmm2
movss dword [esp + 0xc4], xmm0
movd xmm0, ecx
mov ecx, dword [esp + ecx*4 + 0xe4]
cvtdq2ps xmm0, xmm0
push ecx
push ecx
push eax
lea eax, [esp + 0xa8]
mov ecx, esi
push eax
mulss xmm0, xmm1
addss xmm0, xmm2
movss dword [esp + 0xb0], xmm0
call fcn.100447e0
movss xmm1, dword [esp + 0x40]
mov ecx, edi
movss xmm2, dword [esp + 0x2c]
cmp ecx, 6
jl 0x10055e70
movss xmm3, dword [esp + 0x4c]
movaps xmm0, xmm2
addss xmm0, dword [esp + 0x14]
movaps xmm1, xmm3
movss dword [esp + 0x44], xmm2
addss xmm1, dword [esp + 0x48]
movss dword [esp + 0x40], xmm3
movss dword [esp + 0x24], xmm0
xorps xmm0, xmm0
push dword [esp + 0x24]
movss dword [esp + 0x24], xmm1
push dword [esp + 0x24]
push dword [esp + 0x4c]
push dword [esp + 0x4c]
call fcn.1002b180
mov esi, dword [esp + 0x78]
movss xmm1, dword [esp + 0x58]
addss xmm1, dword [0x100da4ec]
mov edi, dword [esp + 0x70]
mov ecx, edi
movd xmm2, esi
cvtdq2ps xmm2, xmm2
movaps xmm0, xmm2
movss dword [esp + 0x34], xmm2
addss xmm0, dword [0x100da4a8]
push dword [esp + 0x34]
movss xmm2, dword [esp + 0x60]
subss xmm2, dword [0x100da4a8]
movss dword [esp + 0x34], xmm0
movss xmm0, dword [esp + 0x50]
mulss xmm0, dword [esp + 0x28]
push dword [esp + 0x34]
movss dword [esp + 0x58], xmm2
addss xmm0, dword [esp + 0x44]
addss xmm0, dword [0x100da468]
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [esp + 0x5c], xmm0
push dword [esp + 0x5c]
push dword [esp + 0x5c]
call fcn.10053cc0
add esp, 0x20
cmp byte [esp + 0xa], 0
je 0x10055fcc
movss xmm0, dword [0x100da554]
movss dword [esp + 0xc8], xmm0
movss xmm2, dword [esp + 0xc8]
lea eax, [esp + 0x30]
push 0xb
push ecx
mov dword [esp], 0x40b84e89
xorps xmm3, xmm3
push eax
mov ecx, edi
call fcn.10044010
push dword [esp + 0x58]
mov ecx, edi
push dword [edi + 0x54]
push dword [edi + 0x5c]
call fcn.10043b00
movss xmm2, dword [esp + 0xc8]
lea eax, [esp + 0x30]
addss xmm2, dword [0x100da4a8]
push 0xb
push ecx
mov dword [esp], 0x40b84e89
xorps xmm3, xmm3
push eax
subss xmm2, dword [0x100da468]
mov ecx, edi
mov dword [edi + 0x54], 0
call fcn.10044010
push ecx
mov dword [esp], 0x3f800000
mov ecx, edi
push 1
push 0xff808080
push dword [edi + 0x54]
push dword [edi + 0x5c]
call fcn.10042fc0
movss xmm2, dword [esp + 0xc8]
lea eax, [esp + 0x30]
subss xmm2, dword [0x100da468]
push 0xb
push ecx
mov dword [esp], 0x40b84e89
xorps xmm3, xmm3
push eax
mov ecx, edi
mov dword [edi + 0x54], 0
call fcn.10044010
push ecx
mov dword [esp], 0x3f800000
mov ecx, edi
push 1
push 0xffffffffffffffff
push dword [edi + 0x54]
push dword [edi + 0x5c]
call fcn.10042fc0
cmp dword [esp + 0xcc], 0x10000
mov dword [edi + 0x54], 0
jne 0x10056241
mov eax, dword [esp + 0x38]
xorps xmm2, xmm2
movss xmm1, dword [eax + 0xc]
comiss xmm2, xmm1
jbe 0x100560cf
movss dword [esp + 0x68], xmm2
jmp 0x100560e1
movss xmm0, dword [0x100da4a8]
minss xmm0, xmm1
movss dword [esp + 0x68], xmm0
movss xmm3, dword [esp + 0xd0]
or edx, 0xffffffff
movss xmm0, dword [esp + 0x2c]
movaps xmm1, xmm3
addss xmm1, dword [esp + 0x48]
movss dword [esp + 0xbc], xmm0
xor ecx, ecx
addss xmm0, dword [esp + 0x14]
mov dword [esp + 0x24], 0
push dword [esp + 0x24]
movss dword [esp + 0xc4], xmm1
subss xmm1, xmm3
mov dword [esp + 0x24], 0
push dword [esp + 0x24]
movss dword [esp + 0xcc], xmm0
push dword [esp + 0xcc]
mulss xmm1, dword [0x100da468]
push dword [esp + 0xcc]
movss dword [esp + 0xc8], xmm3
push dword [esp + 0xcc]
mov edi, dword [esp + 0xcc]
push edi
call fcn.100539f0
mov ecx, dword [esp + 0x70]
add esp, 0x18
mov eax, ecx
and eax, 0xffffff
push eax
push eax
push ecx
push ecx
mov ecx, dword [esp + 0x70]
lea eax, [esp + 0xd0]
push eax
lea eax, [esp + 0xcc]
push eax
call fcn.100447e0
push dword [esp + 0xc4]
xorps xmm0, xmm0
push dword [esp + 0xc4]
push dword [esp + 0xc4]
push edi
call fcn.1002b180
movss xmm1, dword [0x100da4a8]
movd xmm2, esi
cvtdq2ps xmm2, xmm2
mov ecx, dword [esp + 0x70]
movaps xmm0, xmm2
movss dword [esp + 0x34], xmm2
movss xmm2, dword [esp + 0xe0]
addss xmm0, xmm1
subss xmm2, xmm1
subss xmm1, dword [esp + 0x78]
push dword [esp + 0x34]
movss dword [esp + 0x34], xmm0
push dword [esp + 0x34]
mulss xmm1, dword [esp + 0x2c]
movss dword [esp + 0x48], xmm2
addss xmm1, dword [esp + 0x44]
addss xmm1, dword [0x100da468]
cvttss2si eax, xmm1
movss xmm1, dword [esp + 0x60]
addss xmm1, dword [0x100da4ec]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [esp + 0x4c], xmm0
push dword [esp + 0x4c]
push dword [esp + 0x4c]
call fcn.10053cc0
add esp, 0x20
call fcn.10034bf0
cmp byte [esp + 8], 0
mov edi, dword [0x1011f930]
je 0x100562de
mov ecx, dword [esp + 0x38]
lea esi, [esp + 0x100]
xor edx, edx
cmp dword [esp + 0xd8], edx
sete dl
lea edx, [edx*4 + 0xc]
sub edx, 4
jb 0x10056291
nop word [eax + eax]
mov eax, dword [esi]
cmp eax, dword [ecx]
jne 0x10056296
add esi, 4
add ecx, 4
sub edx, 4
jae 0x10056280
cmp edx, 0xfffffffc
je 0x100562d9
mov al, byte [esi]
cmp al, byte [ecx]
jne 0x100562c3
cmp edx, 0xfffffffd
je 0x100562d9
mov al, byte [esi + 1]
cmp al, byte [ecx + 1]
jne 0x100562c3
cmp edx, 0xfffffffe
je 0x100562d9
mov al, byte [esi + 2]
cmp al, byte [ecx + 2]
jne 0x100562c3
cmp edx, 0xffffffff
je 0x100562d9
mov al, byte [esi + 3]
cmp al, byte [ecx + 3]
je 0x100562d9
mov eax, dword [edi + 0x198c]
mov byte [edi + 0x19bf], 1
or dword [eax + 0x110], 4
jmp 0x100562de
mov byte [esp + 8], 0
mov ecx, dword [edi + 0x198c]
mov al, byte [esp + 8]
pop edi
pop esi
dec dword [ecx + 0x1c0]
mov esp, ebp
pop ebp
ret