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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x110
mov eax, dword [0x10077008]
xor eax, esp
mov dword [esp + 0x10c], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x28], edx
mov edx, dword [0x10077088]
mov dword [esp + 0x6c], eax
push esi
push edi
mov eax, dword [edx + 0x176c]
mov dword [esp + 0x9c], ecx
mov dword [esp + 0x58], edx
mov byte [eax + 0x8a], 1
mov esi, dword [edx + 0x176c]
mov edi, dword [esi + 0x26c]
mov dword [esp + 0x28], edi
call fcn.1003b400
call fcn.10046400
mov ecx, dword [ebp + 8]
mov edx, ecx
or edx, 0x10
mov eax, ecx
and eax, 0x100
cmovne edx, ecx
mov dword [esp + 0xc], edx
test dl, 8
jne 0x10043d3b
mov edx, dword [esp + 0x30]
mov ecx, dword [esp + 0xc]
call fcn.10042b30
mov edx, dword [esp + 0xc]
test edx, 0xc0000
jne 0x10043d66
mov eax, dword [esp + 0x58]
mov ecx, 0x52000
mov eax, dword [eax + 0x2794]
test eax, 0xc0000
cmovne ecx, eax
and ecx, 0xc0000
or edx, ecx
mov dword [esp + 0xc], edx
test dl, 8
jne 0x10043d80
mov eax, dword [esp + 0x58]
mov eax, dword [eax + 0x2794]
and eax, 0x200
or edx, eax
mov dword [esp + 0xc], edx
movss xmm6, dword [esi + 0xd0]
mov ecx, edx
movss xmm7, dword [esi + 0xcc]
and ecx, 0x202
mov esi, dword [0x10077088]
xorps xmm4, xmm4
movss xmm5, dword [0x10070e90]
mov dword [esp + 0xcc], ecx
movss dword [esp + 0x5c], xmm7
movss xmm3, dword [esi + 0x141c]
addss xmm3, xmm3
movss dword [esp + 0x24], xmm6
movss dword [esp + 0x60], xmm6
addss xmm3, dword [esi + 0x171c]
mov esi, dword [esi + 0x176c]
movss xmm2, dword [esi + 0x138]
comiss xmm4, xmm2
movss dword [esp + 0x6c], xmm3
jbe 0x10043e5f
cmp dword [esi + 0x198], 1
movss xmm3, dword [esi + 0xcc]
subss xmm3, dword [esi + 0x18]
movss xmm1, dword [esi + 0x48]
je 0x10043e4a
mov ecx, dword [esi + 0x194]
movss xmm0, dword [esi + 0x19c]
movss xmm1, dword [esi + 0x1a0]
subss xmm1, xmm0
lea eax, [ecx + 1]
test eax, eax
cmovns ecx, eax
mov eax, dword [esi + 0x1c4]
lea ecx, [ecx + ecx*4]
mulss xmm1, dword [eax + ecx*4]
mov ecx, dword [esp + 0xcc]
addss xmm1, xmm0
subss xmm1, dword [esi + 0x50]
subss xmm1, xmm3
movss xmm3, dword [esp + 0x6c]
addss xmm1, xmm2
movaps xmm2, xmm5
maxss xmm2, xmm1
mov eax, dword [esp + 0x58]
movaps xmm5, xmm3
mov dword [esp + 0x54], 0
movss xmm0, dword [eax + 0x1430]
cvttss2si eax, xmm2
movss dword [esp + 0x2c], xmm0
addss xmm0, xmm3
movd xmm2, eax
xor eax, eax
cmp ecx, 0x200
mov ecx, dword [esp + 0x30]
cvtdq2ps xmm2, xmm2
sete al
inc eax
movd xmm1, eax
cvtdq2ps xmm1, xmm1
mulss xmm1, xmm0
movaps xmm0, xmm7
subss xmm2, xmm1
movss xmm1, dword [esp + 0x2c]
maxss xmm5, xmm2
addss xmm0, xmm5
movss dword [esp + 0x34], xmm5
movaps xmm4, xmm5
mulss xmm4, dword [0x10070e00]
movss dword [esp + 0x64], xmm0
addss xmm0, xmm1
movss dword [esp + 0xbc], xmm4
movss dword [esp + 0x80], xmm0
addss xmm0, xmm3
addss xmm1, xmm0
movss dword [esp + 0xa4], xmm0
movaps xmm0, xmm3
mulss xmm0, dword [0x10070e2c]
movss dword [esp + 0xd8], xmm1
movaps xmm1, xmm5
mulss xmm1, dword [0x10070e5c]
cvttss2si esi, xmm0
movaps xmm0, xmm1
movss dword [esp + 0x78], xmm1
addss xmm0, xmm6
mov dword [esp + 0xc0], esi
movaps xmm2, xmm1
subss xmm2, xmm4
movaps xmm4, xmm5
addss xmm4, xmm3
movss dword [esp + 0xc8], xmm0
movss dword [esp + 0xb0], xmm0
movaps xmm0, xmm5
mulss xmm0, dword [0x10070dcc]
movaps xmm1, xmm2
movaps xmm3, xmm4
movss dword [esp + 0x48], xmm2
mulss xmm3, dword [0x10070e5c]
cvttss2si eax, xmm0
addss xmm3, xmm7
movss dword [esp + 0x98], xmm4
movss xmm7, dword [ecx]
xorps xmm4, xmm4
movss dword [esp + 0x7c], xmm7
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [esp + 0x98], xmm3
subss xmm1, xmm0
movss dword [esp + 0xac], xmm3
movaps xmm0, xmm1
movss dword [esp + 0x50], xmm1
mulss xmm0, dword [0x10070f8c]
movaps xmm2, xmm1
mulss xmm2, dword [0x10070f98]
movss dword [esp + 0x84], xmm0
movss dword [esp + 0x88], xmm0
movss dword [esp + 0xf0], xmm0
movaps xmm0, xmm1
mulss xmm0, dword [0x10070e7c]
movss xmm1, dword [ecx + 4]
movss dword [esp + 0xa8], xmm2
movss dword [esp + 0x8c], xmm2
movss xmm2, dword [ecx + 8]
movss dword [esp + 0x70], xmm0
movss dword [esp + 0xf4], xmm0
comiss xmm2, xmm1
jbe 0x1004402d
movss xmm4, dword [0x10070f9c]
movaps xmm0, xmm1
movaps xmm1, xmm2
movaps xmm2, xmm0
comiss xmm1, xmm7
jbe 0x10044050
movaps xmm0, xmm7
movss dword [esp + 0x7c], xmm1
movaps xmm7, xmm1
movaps xmm1, xmm0
movss xmm0, dword [0x10070f88]
subss xmm0, xmm4
movaps xmm4, xmm0
movaps xmm0, xmm1
mov byte [esp + 0xb], 0
minss xmm0, xmm2
mov byte [esp + 0x12], 0
movaps xmm3, xmm7
mov byte [esp + 0x13], 0
subss xmm1, xmm2
mov eax, edx
movss xmm2, dword [0x10070ee8]
and eax, 0x80000
movss dword [esp + 0xe0], xmm2
subss xmm3, xmm0
mov dword [esp + 0x4c], eax
movaps xmm0, xmm3
mulss xmm0, xmm2
addss xmm0, dword [0x10070d98]
divss xmm1, xmm0
addss xmm1, xmm4
cvtps2pd xmm0, xmm1
andps xmm0, xmmword [0x100719b0]
cvtpd2ps xmm1, xmm0
movaps xmm0, xmm7
addss xmm0, dword [0x10070d98]
movss dword [esp + 0x44], xmm1
divss xmm3, xmm0
movss dword [esp + 0x68], xmm3
je 0x100446d6
movss xmm0, dword [esp + 0x2c]
lea edx, [esp + 0x18]
addss xmm0, xmm5
movss dword [esp + 0x1c], xmm5
mov ecx, 0x10070354
addss xmm0, dword [esp + 0x6c]
movss dword [esp + 0x18], xmm0
call fcn.1003b300
mov eax, dword [0x10077088]
mov ecx, dword [eax + 0x178c]
test ecx, ecx
je 0x10044585
mov eax, dword [eax + 0x176c]
cmp ecx, dword [eax + 0x104]
jne 0x1004458a
mov eax, dword [esp + 0x58]
movss xmm4, dword [esp + 0xc8]
movss xmm0, dword [eax + 0x330]
subss xmm0, dword [esp + 0x98]
movss xmm1, dword [eax + 0x334]
movss xmm3, dword [eax + 0xd0]
subss xmm1, xmm4
movss xmm2, dword [eax + 0xcc]
subss xmm3, xmm4
subss xmm2, dword [esp + 0x98]
movaps xmm4, xmm0
movss dword [esp + 0x38], xmm0
mulss xmm4, xmm0
movaps xmm0, xmm1
movss dword [esp + 0x40], xmm1
mulss xmm0, xmm1
movss xmm1, dword [0x10070e90]
movss dword [esp + 0xd0], xmm2
addss xmm4, xmm0
movss dword [esp + 0xd4], xmm3
movss xmm0, dword [esp + 0x48]
subss xmm0, xmm1
mulss xmm0, xmm0
comiss xmm4, xmm0
jb 0x1004422c
movss xmm0, dword [esp + 0x78]
addss xmm0, xmm1
mulss xmm0, xmm0
comiss xmm0, xmm4
jb 0x1004422c
cvtps2pd xmm0, xmm3
movsd qword [esp + 0x18], xmm0
fld qword [esp + 0x18]
cvtps2pd xmm0, xmm2
movsd qword [esp + 0x18], xmm0
fld qword [esp + 0x18]
call sub.api_ms_win_crt_math_l1_1_0.dll__CIatan2
movss xmm1, dword [0x10070ed8]
xorps xmm3, xmm3
fstp qword [esp + 0x18]
movsd xmm0, qword [esp + 0x18]
cvtpd2ps xmm0, xmm0
divss xmm0, xmm1
mulss xmm0, dword [0x10070e5c]
comiss xmm3, xmm0
movss dword [esp + 0x44], xmm0
jbe 0x10044224
addss xmm0, dword [0x10070e90]
movss dword [esp + 0x44], xmm0
mov dl, 1
mov byte [esp + 0xb], dl
jmp 0x1004423e
mov dl, byte [esp + 0xb]
movss xmm1, dword [0x10070ed8]
movss xmm0, dword [esp + 0x44]
mulss xmm0, dword [0x10070fa4]
mov byte [esp + 0x12], dl
mulss xmm0, xmm1
cvtps2pd xmm0, xmm0
movsd qword [esp + 0x18], xmm0
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_cos_precise
cvtsd2ss xmm0, xmm0
movss dword [esp + 0x14], xmm0
movsd xmm0, qword [esp + 0x18]
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_sin_precise
movss xmm2, dword [esp + 0x38]
xorps xmm5, xmm5
movss xmm1, dword [esp + 0x40]
movaps xmm3, xmm2
mulss xmm3, dword [esp + 0x14]
movss xmm6, dword [esp + 0x84]
cvtsd2ss xmm5, xmm0
movaps xmm0, xmm1
movss xmm7, dword [esp + 0x50]
mulss xmm1, dword [esp + 0x14]
movaps xmm4, xmm6
mulss xmm0, xmm5
subss xmm4, xmm6
mulss xmm2, xmm5
subss xmm3, xmm0
movss dword [esp + 0xe4], xmm5
movss xmm0, dword [esp + 0xa8]
movaps xmm5, xmm7
subss xmm0, dword [esp + 0x70]
addss xmm2, xmm1
movss dword [esp + 0xc4], xmm4
subss xmm5, xmm6
movaps xmm1, xmm3
subss xmm1, xmm6
movss dword [esp + 0xdc], xmm0
movss dword [esp + 0x3c], xmm5
mulss xmm1, xmm0
movaps xmm0, xmm2
subss xmm0, dword [esp + 0x70]
mulss xmm0, xmm4
xorps xmm4, xmm4
subss xmm1, xmm0
xorps xmm0, xmm0
subss xmm0, dword [esp + 0xa8]
comiss xmm4, xmm1
movaps xmm1, xmm3
movss dword [esp + 0xe8], xmm0
subss xmm1, xmm6
seta cl
mulss xmm1, xmm0
movaps xmm0, xmm2
subss xmm0, dword [esp + 0xa8]
mulss xmm0, xmm5
subss xmm1, xmm0
comiss xmm4, xmm1
seta al
cmp al, cl
jne 0x1004457b
movss xmm5, dword [esp + 0x70]
subss xmm3, xmm7
movaps xmm0, xmm6
subss xmm5, xmm4
subss xmm0, xmm7
subss xmm2, xmm4
mulss xmm3, xmm5
mulss xmm2, xmm0
movss dword [esp + 0x38], xmm5
movss dword [esp + 0x40], xmm0
subss xmm3, xmm2
comiss xmm4, xmm3
seta al
cmp cl, al
jne 0x1004457b
movss xmm6, dword [esp + 0xd0]
movss xmm1, dword [esp + 0xd4]
movaps xmm7, xmm6
movss xmm3, dword [esp + 0xe4]
movaps xmm0, xmm1
mulss xmm1, dword [esp + 0x14]
mulss xmm7, dword [esp + 0x14]
movss xmm2, dword [esp + 0x84]
mulss xmm0, xmm3
mulss xmm6, xmm3
subss xmm7, xmm0
addss xmm6, xmm1
movaps xmm1, xmm7
movss dword [esp + 0x18], xmm7
subss xmm1, xmm2
movaps xmm0, xmm6
movss dword [esp + 0x1c], xmm6
subss xmm0, dword [esp + 0x70]
mulss xmm1, dword [esp + 0xdc]
mulss xmm0, dword [esp + 0xc4]
subss xmm1, xmm0
movaps xmm0, xmm6
subss xmm0, dword [esp + 0xa8]
comiss xmm4, xmm1
mulss xmm0, dword [esp + 0x3c]
movaps xmm1, xmm7
subss xmm1, xmm2
seta cl
mulss xmm1, dword [esp + 0xe8]
subss xmm1, xmm0
comiss xmm4, xmm1
seta al
cmp al, cl
jne 0x1004446f
movaps xmm1, xmm7
movaps xmm0, xmm6
subss xmm1, dword [esp + 0x50]
subss xmm0, xmm4
mulss xmm1, xmm5
mulss xmm0, dword [esp + 0x40]
subss xmm1, xmm0
comiss xmm4, xmm1
seta al
cmp cl, al
je 0x100444b2
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0xf4]
push eax
lea eax, [esp + 0x90]
push eax
lea edx, [esp + 0x5c]
lea ecx, [esp + 0xf4]
call fcn.10030a50
movss xmm5, dword [esp + 0x44]
add esp, 0xc
movss xmm2, dword [esp + 0x84]
xorps xmm4, xmm4
movss xmm7, dword [eax]
movss xmm6, dword [eax + 4]
movss xmm0, dword [esp + 0x40]
subss xmm6, xmm4
subss xmm7, dword [esp + 0x50]
movaps xmm3, xmm2
movaps xmm1, xmm5
subss xmm3, dword [esp + 0x50]
movss xmm2, dword [esp + 0xa8]
subss xmm2, xmm4
mulss xmm5, xmm7
mulss xmm1, xmm3
mulss xmm0, xmm2
mulss xmm3, xmm6
subss xmm1, xmm0
mulss xmm2, xmm7
movss xmm0, dword [esp + 0x40]
mulss xmm0, xmm6
subss xmm3, xmm2
subss xmm5, xmm0
divss xmm3, xmm1
divss xmm5, xmm1
movss xmm1, dword [0x10070dac]
movss dword [esp + 0x38], xmm5
movss xmm5, dword [0x10070e90]
movaps xmm0, xmm5
movss dword [esp + 0x68], xmm1
subss xmm0, dword [esp + 0x38]
movss dword [esp + 0x3c], xmm0
subss xmm0, xmm3
movss xmm2, dword [esp + 0x3c]
comiss xmm1, xmm2
jbe 0x1004454c
movaps xmm7, xmm1
jmp 0x10044553
movaps xmm7, xmm5
minss xmm7, xmm2
divss xmm0, xmm7
movss dword [esp + 0x7c], xmm7
comiss xmm1, xmm0
ja 0x1004456f
movaps xmm1, xmm5
minss xmm1, xmm0
movss dword [esp + 0x68], xmm1
mov byte [esp + 0x13], 1
mov byte [esp + 0xb], 1
jmp 0x1004458d
mov al, byte [esp + 0xb]
mov byte [esp + 0x12], al
jmp 0x1004458d
xorps xmm4, xmm4
jmp 0x10044592
xorps xmm4, xmm4
mov eax, dword [0x10077088]
test byte [esp + 0xc], 8
jne 0x100445d5
movss xmm0, dword [eax + 0x384]
mov ecx, dword [eax + 0x176c]
ucomiss xmm0, xmm4
mov dword [esp + 0x3c], ecx
lahf
test ah, 0x44
jp 0x100445d5
call fcn.10032950
test al, al
je 0x100445d5
push ecx
mov ecx, dword [esp + 0x40]
push str.context
call fcn.100325a0
mov dl, 1
mov ecx, eax
call fcn.10035e30
movss xmm6, dword [esp + 0x24]
movss xmm5, dword [esp + 0x34]
mov ecx, dword [0x10077088]
cmp dword [esp + 0xcc], 0x200
jne 0x10044900
mov eax, dword [ecx + 0x176c]
lea edx, [esp + 0x88]
movss xmm0, dword [esp + 0xd8]
movss dword [esp + 0x8c], xmm5
mov byte [eax + 0x8a], 1
mov eax, dword [ecx + 0x176c]
mov ecx, str.alpha
movss dword [eax + 0xcc], xmm0
movss dword [eax + 0xd0], xmm6
movss xmm1, dword [eax + 0xe4]
maxss xmm1, xmm0
movss xmm0, dword [eax + 0xe8]
maxss xmm0, xmm6
movss dword [eax + 0xe4], xmm1
movss dword [eax + 0xe8], xmm0
movss xmm0, dword [esp + 0x6c]
movss dword [esp + 0x88], xmm0
call fcn.1003b300
mov eax, dword [0x10077088]
mov edx, dword [esp + 0x58]
mov ecx, dword [eax + 0x178c]
test ecx, ecx
je 0x10044904
mov eax, dword [eax + 0x176c]
cmp ecx, dword [eax + 0x104]
jne 0x10044904
movss xmm3, dword [edx + 0xd0]
xorps xmm2, xmm2
movss xmm0, dword [esp + 0x34]
movss xmm1, dword [0x10070e90]
subss xmm3, dword [esp + 0x24]
subss xmm0, xmm1
divss xmm3, xmm0
comiss xmm2, xmm3
jbe 0x100448e2
xorps xmm4, xmm4
jmp 0x100448e9
test edx, 0x40000
je 0x100445e1
lea edx, [esp + 0x88]
movss dword [esp + 0x88], xmm5
mov ecx, 0x10070358
movss dword [esp + 0x8c], xmm5
call fcn.1003b300
mov ecx, dword [0x10077088]
mov edx, dword [ecx + 0x178c]
test edx, edx
je 0x1004479c
mov eax, dword [ecx + 0x176c]
cmp edx, dword [eax + 0x104]
jne 0x1004479c
mov eax, dword [esp + 0x58]
xorps xmm0, xmm0
movss xmm3, dword [esp + 0x34]
movss xmm1, dword [0x10070e90]
subss xmm3, xmm1
movss xmm2, dword [eax + 0xcc]
subss xmm2, dword [esp + 0x5c]
divss xmm2, xmm3
comiss xmm0, xmm2
jbe 0x1004475f
movss dword [esp + 0x68], xmm0
jmp 0x1004476c
movaps xmm4, xmm1
minss xmm4, xmm2
movss dword [esp + 0x68], xmm4
movss xmm2, dword [eax + 0xd0]
subss xmm2, dword [esp + 0x24]
divss xmm2, xmm3
comiss xmm0, xmm2
ja 0x1004478a
movaps xmm0, xmm1
minss xmm0, xmm2
subss xmm1, xmm0
mov al, 1
mov byte [esp + 0xb], al
movss dword [esp + 0x7c], xmm1
jmp 0x100447a0
mov al, byte [esp + 0xb]
test byte [esp + 0xc], 8
mov byte [esp + 0xa3], al
jne 0x100447b9
call fcn.10036490
mov ecx, dword [0x10077088]
mov eax, dword [ecx + 0x176c]
lea edx, [esp + 0x88]
movss xmm0, dword [esp + 0x80]
mov byte [eax + 0x8a], 1
mov eax, dword [ecx + 0x176c]
mov ecx, 0x1007035c
movss dword [eax + 0xcc], xmm0
movss xmm0, dword [esp + 0x24]
movss dword [eax + 0xd0], xmm0
movss xmm0, dword [eax + 0xe8]
maxss xmm0, dword [eax + 0xd0]
movss xmm1, dword [eax + 0xe4]
maxss xmm1, dword [eax + 0xcc]
movss dword [eax + 0xe8], xmm0
movss xmm0, dword [esp + 0x6c]
movss dword [esp + 0x88], xmm0
movss xmm0, dword [esp + 0x34]
movss dword [eax + 0xe4], xmm1
movss dword [esp + 0x8c], xmm0
call fcn.1003b300
mov ecx, dword [0x10077088]
mov edx, dword [ecx + 0x178c]
test edx, edx
je 0x1004486b
mov eax, dword [ecx + 0x176c]
cmp edx, dword [eax + 0x104]
sete al
jmp 0x1004486d
xor al, al
mov dl, byte [esp + 0xb]
movss xmm6, dword [esp + 0x24]
mov byte [esp + 0x13], dl
test al, al
je 0x100448d7
mov eax, dword [esp + 0x58]
xorps xmm4, xmm4
movss xmm0, dword [esp + 0x34]
movss xmm5, dword [0x10070e90]
subss xmm0, xmm5
movss xmm2, dword [eax + 0xd0]
subss xmm2, xmm6
divss xmm2, xmm0
comiss xmm4, xmm2
jbe 0x100448b5
movss dword [esp + 0x44], xmm4
jmp 0x100448c2
movaps xmm1, xmm5
minss xmm1, xmm2
movss dword [esp + 0x44], xmm1
mov al, byte [esp + 0xa3]
mov byte [esp + 0x12], 1
mov byte [esp + 0xb], 1
mov byte [esp + 0x13], al
movss xmm5, dword [esp + 0x34]
jmp 0x100445e7
movaps xmm4, xmm1
minss xmm4, xmm3
mov eax, dword [esp + 0x30]
movaps xmm0, xmm1
subss xmm0, xmm4
mov byte [esp + 0xb], 1
movss dword [eax + 0xc], xmm0
jmp 0x10044904
mov edx, dword [esp + 0x58]
mov eax, dword [esp + 0xc]
mov ecx, eax
and ecx, 0x100
mov dword [esp + 0x40], ecx
jne 0x1004492f
movss xmm1, dword [edx + 0x1430]
xorps xmm0, xmm0
call fcn.100466a0
call fcn.10046400
mov eax, dword [esp + 0xc]
mov edx, eax
and edx, 0x80
mov dword [esp + 0x38], edx
jne 0x100449ab
mov ecx, dword [esp + 0x9c]
cmp ecx, 0xffffffff
jae 0x100449ab
nop dword [eax]
mov dl, byte [ecx]
test dl, dl
je 0x10044966
cmp dl, 0x23
jne 0x10044960
cmp byte [ecx + 1], dl
je 0x10044966
inc ecx
cmp ecx, 0xffffffff
jb 0x10044950
mov dword [esp + 0x14], ecx
cmp dword [esp + 0x9c], ecx
je 0x100449a7
cmp dword [esp + 0x40], 0
je 0x10044995
mov eax, dword [esp + 0x58]
xorps xmm3, xmm3
xorps xmm0, xmm0
movss xmm1, dword [eax + 0x1430]
call fcn.100466a0
mov ecx, dword [esp + 0x14]
mov edx, ecx
mov ecx, dword [esp + 0x9c]
call fcn.1003a790
mov eax, dword [esp + 0xc]
mov edx, dword [esp + 0x38]
cmp dword [esp + 0x40], 0
jne 0x10044b49
mov ecx, eax
and ecx, 2
mov dword [esp + 0x14], ecx
mov ecx, dword [esp + 0x30]
je 0x100449cf
movss xmm1, dword [0x10070e90]
jmp 0x100449d4
movss xmm1, dword [ecx + 0xc]
movss xmm0, dword [ecx]
movss dword [esp + 0x88], xmm0
movss xmm0, dword [ecx + 4]
movss dword [esp + 0x8c], xmm0
movss xmm0, dword [ecx + 8]
movss dword [esp + 0x90], xmm0
movss dword [esp + 0x94], xmm1
test edx, edx
je 0x10044a1b
push str.Current
call fcn.1003a770
mov eax, dword [esp + 0x10]
add esp, 4
movss xmm1, dword [esp + 0x6c]
lea edx, [esp + 0x88]
movaps xmm0, xmm1
and eax, 0x1c40
mulss xmm0, dword [0x10070ed4]
mov ecx, str.current
mov dword [esp + 0xc4], eax
movss dword [esp + 0x18], xmm0
movss dword [esp + 0x3c], xmm0
movaps xmm0, xmm1
addss xmm0, xmm1
movss dword [esp + 0x1c], xmm0
push dword [esp + 0x1c]
movss dword [esp + 0xec], xmm0
push dword [esp + 0x1c]
push eax
call fcn.10042370
add esp, 0xc
cmp dword [esp + 0x74], 0
je 0x10044b44
push str.Original
call fcn.1003a770
mov eax, dword [esp + 0x78]
add esp, 4
cmp dword [esp + 0x14], 0
je 0x10044aa4
movss xmm1, dword [0x10070e90]
jmp 0x10044aa9
movss xmm1, dword [eax + 0xc]
movss xmm0, dword [eax]
lea edx, [esp + 0x88]
movss dword [esp + 0x88], xmm0
mov ecx, str.original
movss xmm0, dword [eax + 4]
movss dword [esp + 0x8c], xmm0
movss xmm0, dword [eax + 8]
movss dword [esp + 0x90], xmm0
movss xmm0, dword [esp + 0x3c]
movss dword [esp + 0x18], xmm0
movss xmm0, dword [esp + 0xe8]
movss dword [esp + 0x1c], xmm0
push dword [esp + 0x1c]
movss dword [esp + 0x98], xmm1
push dword [esp + 0x1c]
push dword [esp + 0xcc]
call fcn.10042370
add esp, 0xc
test al, al
je 0x10044b44
xor eax, eax
cmp dword [esp + 0x14], eax
sete al
lea eax, [eax*4 + 0xc]
push eax
push dword [esp + 0x78]
mov eax, dword [esp + 0x38]
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov byte [esp + 0xb], 1
call fcn.10046510
cmp byte [esp + 0x12], 0
jne 0x10044b57
cmp byte [esp + 0x13], 0
je 0x10044bb1
movss xmm1, dword [esp + 0x7c]
xorps xmm0, xmm0
comiss xmm1, xmm0
jbe 0x10044b6a
movaps xmm3, xmm1
jmp 0x10044b72
movss xmm3, dword [0x10070d9c]
movss xmm1, dword [esp + 0x68]
comiss xmm1, xmm0
movss xmm2, dword [0x10070da0]
ja 0x10044b88
movaps xmm1, xmm2
movss xmm0, dword [esp + 0x44]
comiss xmm0, dword [0x10070e90]
jb 0x10044b9b
subss xmm0, xmm2
mov ecx, dword [esp + 0x30]
movaps xmm2, xmm3
lea eax, [ecx + 8]
push eax
lea edx, [ecx + 4]
call fcn.100315e0
add esp, 4
test byte [esp + 0xc], 0x20
jne 0x10044cdd
cmp dword [esp + 0xcc], 0x200
jne 0x10044bd4
movss xmm0, dword [esp + 0xa4]
jmp 0x10044bda
movss xmm0, dword [esp + 0x64]
addss xmm0, dword [esp + 0x2c]
addss xmm0, dword [esp + 0x6c]
subss xmm0, dword [esp + 0x5c]
call fcn.1003a120
mov eax, dword [esp + 0xc]
mov ecx, eax
and ecx, 0x31c1a
or ecx, 4
mov dword [esp + 0x14], ecx
test eax, 0x2000
jne 0x10044c12
test eax, 0xe000
jne 0x10044c36
mov edx, dword [esp + 0x30]
or ecx, 0x2000
push ecx
mov ecx, str.rgb
call fcn.10042de0
mov ecx, dword [esp + 0x18]
add esp, 4
or byte [esp + 0xb], al
mov eax, dword [esp + 0xc]
test eax, 0x4000
jne 0x10044c44
test eax, 0xe000
jne 0x10044c64
mov edx, dword [esp + 0x30]
or ecx, 0x4000
push ecx
mov ecx, str.hsv
call fcn.10042de0
add esp, 4
or byte [esp + 0xb], al
mov eax, dword [esp + 0xc]
test eax, 0x8000
jne 0x10044c72
test eax, 0xe000
jne 0x10044c91
mov eax, dword [esp + 0x14]
mov ecx, str.hex
mov edx, dword [esp + 0x30]
or eax, 0x8000
push eax
call fcn.10042de0
add esp, 4
or byte [esp + 0xb], al
mov ecx, dword [0x10077088]
mov eax, dword [ecx + 0x176c]
mov byte [eax + 0x8a], 1
mov edx, dword [ecx + 0x176c]
dec dword [edx + 0x14c]
cmp dword [edx + 0x14c], 0
jne 0x10044cc3
movss xmm0, dword [edx + 0x208]
jmp 0x10044cd5
mov ecx, dword [edx + 0x14c]
mov eax, dword [edx + 0x154]
movss xmm0, dword [eax + ecx*4 - 4]
movss dword [edx + 0x138], xmm0
cmp byte [esp + 0xb], 0
je 0x10044de8
mov eax, dword [esp + 0x30]
xorps xmm2, xmm2
movss xmm3, dword [eax + 4]
lea ecx, [eax + 4]
movss xmm5, dword [eax + 8]
lea edx, [eax + 8]
comiss xmm5, xmm3
movss xmm4, dword [eax]
xorps xmm6, xmm6
jbe 0x10044d1c
movss xmm6, dword [0x10070f9c]
movaps xmm0, xmm3
movaps xmm3, xmm5
movaps xmm5, xmm0
comiss xmm3, xmm4
jbe 0x10044d39
movaps xmm0, xmm4
movaps xmm4, xmm3
movaps xmm3, xmm0
movss xmm0, dword [0x10070f88]
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 [0x10070d98]
movaps xmm7, xmm1
mulss xmm1, dword [0x10070ee8]
divss xmm7, xmm0
addss xmm1, dword [0x10070d98]
divss xmm3, xmm1
addss xmm3, xmm6
cvtps2pd xmm0, xmm3
andps xmm0, xmmword [0x100719b0]
cvtpd2ps xmm0, xmm0
comiss xmm2, xmm0
jb 0x10044de8
movss xmm0, dword [esp + 0x44]
comiss xmm0, xmm2
jbe 0x10044de8
comiss xmm2, xmm4
jb 0x10044dc5
movss xmm1, dword [esp + 0x7c]
ucomiss xmm1, xmm4
lahf
test ah, 0x44
jnp 0x10044dc1
movaps xmm2, xmm1
movss xmm1, dword [esp + 0x68]
mulss xmm2, dword [0x10070e5c]
push edx
mov edx, ecx
mov ecx, dword [esp + 0x34]
jmp 0x10044de0
mov eax, dword [esp + 0x30]
comiss xmm2, xmm7
jb 0x10044de8
movss xmm1, dword [esp + 0x68]
movaps xmm2, xmm4
mulss xmm1, dword [0x10070e5c]
push edx
mov edx, ecx
mov ecx, eax
call fcn.100315e0
add esp, 4
movaps xmm0, xmmword [0x10071660]
lea eax, [esp + 0x90]
movups xmmword [esp + 0x88], xmm0
lea edx, [esp + 0x8c]
movss xmm0, dword [0x10070e90]
lea ecx, [esp + 0x88]
movaps xmm2, xmm0
movaps xmm1, xmm0
movss xmm0, dword [esp + 0x44]
push eax
call fcn.100315e0
movups xmm2, xmmword [esp + 0x8c]
add esp, 4
movss xmm3, dword [0x10070e90]
xorps xmm1, xmm1
comiss xmm1, xmm2
jbe 0x10044e46
xorps xmm0, xmm0
jmp 0x10044e4d
movaps xmm0, xmm3
minss xmm0, xmm2
movss xmm2, dword [0x10070f58]
movss xmm4, dword [0x10070e5c]
movss xmm5, dword [esp + 0x8c]
comiss xmm1, xmm5
mulss xmm0, xmm2
addss xmm0, xmm4
cvttss2si ecx, xmm0
jbe 0x10044e7c
xorps xmm0, xmm0
jmp 0x10044e83
movaps xmm0, xmm3
minss xmm0, xmm5
movss xmm5, dword [esp + 0x90]
mulss xmm0, xmm2
addss xmm0, xmm4
cvttss2si eax, xmm0
shl eax, 8
or ecx, eax
comiss xmm1, xmm5
jbe 0x10044ea7
xorps xmm0, xmm0
jmp 0x10044eae
movaps xmm0, xmm3
minss xmm0, xmm5
movss xmm5, dword [esp + 0x94]
mulss xmm0, xmm2
addss xmm0, xmm4
cvttss2si eax, xmm0
shl eax, 0x10
or ecx, eax
comiss xmm1, xmm5
jbe 0x10044ed2
xorps xmm0, xmm0
jmp 0x10044ed9
movaps xmm0, xmm3
minss xmm0, xmm5
mulss xmm0, xmm2
addss xmm0, xmm4
cvttss2si edx, xmm0
shl edx, 0x18
or edx, ecx
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x74], edx
movss xmm5, dword [ecx]
comiss xmm1, xmm5
movss xmm6, dword [ecx + 4]
movss xmm7, dword [ecx + 8]
jbe 0x10044f0a
xorps xmm0, xmm0
jmp 0x10044f11
movaps xmm0, xmm3
minss xmm0, xmm5
comiss xmm1, xmm6
mulss xmm0, xmm2
addss xmm0, xmm4
cvttss2si ecx, xmm0
jbe 0x10044f27
xorps xmm0, xmm0
jmp 0x10044f2e
movaps xmm0, xmm3
minss xmm0, xmm6
mulss xmm0, xmm2
addss xmm0, xmm4
cvttss2si eax, xmm0
shl eax, 8
or ecx, eax
comiss xmm1, xmm7
jbe 0x10044f49
xorps xmm0, xmm0
jmp 0x10044f50
movaps xmm0, xmm3
minss xmm0, xmm7
mulss xmm0, xmm2
mov dword [esp + 0xf8], 0xff0000ff
mov dword [esp + 0xfc], 0xff00ffff
mov dword [esp + 0x100], 0xff00ff00
addss xmm0, xmm4
mov dword [esp + 0x104], 0xffffff00
mov dword [esp + 0x108], 0xffff0000
mov dword [esp + 0x10c], 0xffff00ff
mov dword [esp + 0x110], 0xff0000ff
mov dword [esp + 0x1c], 0
cvttss2si eax, xmm0
mov dword [esp + 0x18], 0
shl eax, 0x10
or ecx, eax
or ecx, 0xff000000
cmp dword [esp + 0x4c], 0
mov dword [esp + 0x9c], ecx
je 0x10045a63
movss xmm1, dword [esp + 0x78]
mov eax, 0x2aaaaaab
movss xmm2, dword [0x10070eac]
mov esi, edi
movss xmm0, dword [esp + 0x48]
divss xmm2, xmm1
lea edi, [esi + 0x4c]
mov dword [esp + 0xdc], edi
cvttss2si ecx, xmm1
addss xmm0, xmm1
movss dword [esp + 0xe4], xmm2
imul ecx
movss dword [esp + 0x40], xmm0
movaps xmm5, xmm0
mov eax, 4
mulss xmm5, xmm4
sar edx, 1
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
movss dword [esp + 0xd4], xmm5
cmp ecx, eax
cmovle ecx, eax
xor eax, eax
mov dword [esp + 0xd0], ecx
mov dword [esp + 0x2c], eax
nop dword [eax + eax]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
mov eax, dword [esi + 0x18]
push ecx
push ecx
mov dword [esp + 0xcc], eax
mov ecx, esi
lea eax, [esp + 0xb4]
movaps xmm1, xmm0
addss xmm0, xmm3
divss xmm1, dword [0x10070ee8]
divss xmm0, dword [0x10070ee8]
addss xmm1, xmm1
addss xmm0, xmm0
mulss xmm1, dword [0x10070ed8]
mulss xmm0, dword [0x10070ed8]
subss xmm1, xmm2
addss xmm0, xmm2
movaps xmm2, xmm5
movaps xmm3, xmm1
movss dword [esp + 0x80], xmm1
movss dword [esp], xmm0
push eax
movss dword [esp + 0x20], xmm0
call fcn.100510c0
movss xmm0, dword [esp + 0xbc]
sub esp, 8
mov ecx, esi
movss dword [esp], xmm0
push 0
push 0xffffffffffffffff
push dword [edi]
push dword [esi + 0x54]
call fcn.1004ffa0
mov ecx, dword [edi + 4]
test ecx, ecx
jns 0x10045103
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
xor ecx, ecx
test eax, eax
cmovg ecx, eax
push ecx
mov ecx, edi
call fcn.10048310
movss xmm0, dword [esp + 0x78]
cvtps2pd xmm0, xmm0
mov dword [edi], 0
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_cos_precise
movss xmm1, dword [esp + 0x78]
cvtsd2ss xmm0, xmm0
mulss xmm0, dword [esp + 0x48]
addss xmm0, dword [esp + 0x98]
movss dword [esp + 0x3c], 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 + 0x48]
addss xmm0, dword [esp + 0xc8]
movss dword [esp + 0xe8], xmm0
movss xmm0, dword [esp + 0x14]
cvtps2pd xmm0, xmm0
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_cos_precise
movss xmm1, dword [esp + 0x14]
cvtsd2ss xmm0, xmm0
mulss xmm0, dword [esp + 0x48]
addss xmm0, dword [esp + 0x98]
movss dword [esp + 0x4c], xmm0
cvtps2pd xmm0, xmm1
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_sin_precise
movss xmm4, dword [esp + 0x4c]
xorps xmm5, xmm5
movss xmm6, dword [esp + 0x3c]
movss xmm7, dword [esp + 0xe8]
subss xmm4, xmm6
cvtsd2ss xmm5, xmm0
mov edx, dword [esp + 0x2c]
mov ecx, dword [esi + 0x20]
movss xmm3, dword [0x10070e90]
movaps xmm0, xmm4
mulss xmm5, dword [esp + 0x48]
mov eax, dword [esp + edx*4 + 0xfc]
mulss xmm0, xmm4
mov edx, dword [esp + edx*4 + 0xf8]
addss xmm5, dword [esp + 0xc8]
mov dword [esp + 0x78], eax
mov eax, dword [esi + 0x18]
subss xmm5, xmm7
lea eax, [eax + eax*4]
lea eax, [ecx + eax*4]
mov dword [esp + 0xa4], eax
mov eax, dword [esp + 0xc4]
movaps xmm1, xmm5
mulss xmm1, xmm5
lea eax, [eax + eax*4]
lea eax, [ecx + eax*4]
addss xmm1, xmm0
movaps xmm0, xmm3
mov dword [esp + 0x64], eax
divss xmm0, xmm1
movss dword [esp + 0x4c], xmm0
cmp eax, dword [esp + 0xa4]
jae 0x10045363
movzx eax, dl
mov dword [esp + 0x14], eax
mov eax, edx
shr eax, 8
movzx esi, al
mov eax, dword [esp + 0x78]
shr eax, 0x10
movzx ecx, al
mov eax, dword [esp + 0x78]
shr edx, 0x10
movzx edx, dl
shr eax, 8
sub ecx, edx
mov dword [esp + 0x38], edx
movzx edx, al
mov eax, dword [esp + 0x78]
sub edx, esi
movzx edi, al
sub edi, dword [esp + 0x14]
mov eax, dword [esp + 0x64]
mov dword [esp + 0x3c], esi
mov esi, dword [esp + 0x38]
nop dword [eax + eax]
movss xmm0, dword [eax]
movss xmm2, dword [eax + 4]
subss xmm0, xmm6
subss xmm2, xmm7
mulss xmm0, xmm4
mulss xmm2, xmm5
addss xmm2, xmm0
xorps xmm0, xmm0
mulss xmm2, dword [esp + 0x4c]
comiss xmm0, xmm2
jbe 0x100452b0
xorps xmm1, xmm1
jmp 0x100452b7
movaps xmm1, xmm3
minss xmm1, xmm2
movd xmm2, ecx
movaps xmm0, xmm1
cvtdq2ps xmm2, xmm2
mulss xmm0, xmm2
movd xmm2, esi
cvtdq2ps xmm2, xmm2
mov esi, dword [esp + 0x64]
addss xmm0, xmm2
movd xmm2, edx
cvtdq2ps xmm2, xmm2
cvttss2si eax, xmm0
movaps xmm0, xmm1
mulss xmm0, xmm2
shl eax, 8
movd xmm2, dword [esp + 0x3c]
cvtdq2ps xmm2, xmm2
mov dword [esp + 0xc], eax
addss xmm0, xmm2
cvttss2si eax, xmm0
movd xmm0, edi
or dword [esp + 0xc], eax
shl dword [esp + 0xc], 8
cvtdq2ps xmm0, xmm0
mulss xmm1, xmm0
movd xmm0, dword [esp + 0x14]
cvtdq2ps xmm0, xmm0
addss xmm1, xmm0
cvttss2si eax, xmm1
or dword [esp + 0xc], eax
mov eax, dword [esp + 0x64]
mov eax, dword [eax + 0x10]
and eax, 0xff000000
or dword [esp + 0xc], eax
mov eax, dword [esp + 0xc]
mov dword [esi + 0x10], eax
mov eax, esi
mov esi, dword [esp + 0x38]
add eax, 0x14
mov dword [esp + 0x64], eax
cmp eax, dword [esp + 0xa4]
jb 0x10045280
mov edi, dword [esp + 0xdc]
mov esi, dword [esp + 0x28]
mov eax, dword [esp + 0x2c]
movss xmm2, dword [esp + 0xe4]
inc eax
movss xmm5, dword [esp + 0xd4]
mov ecx, dword [esp + 0xd0]
mov dword [esp + 0x2c], eax
cmp eax, 6
jl 0x10045050
movss xmm0, dword [esp + 0x44]
addss xmm0, xmm0
mulss xmm0, dword [0x10070ed8]
movss dword [esp + 0x44], xmm0
cvtps2pd xmm0, xmm0
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_cos_precise
movss xmm3, dword [esp + 0x44]
cvtsd2ss xmm0, xmm0
movss dword [esp + 0x48], xmm0
cvtps2pd xmm0, xmm3
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_sin_precise
cmp byte [esp + 0x12], 0
xorps xmm3, xmm3
movss xmm2, dword [esp + 0x40]
cvtsd2ss xmm3, xmm0
movaps xmm0, xmm2
mulss xmm0, dword [esp + 0x48]
mulss xmm2, xmm3
mulss xmm0, dword [0x10070e5c]
mulss xmm2, dword [0x10070e5c]
addss xmm0, dword [esp + 0x98]
movss dword [esp + 0x3c], xmm3
addss xmm2, dword [esp + 0xc8]
movss dword [esp + 0x5c], xmm0
movss dword [esp + 0x60], xmm2
je 0x10045425
movss xmm2, dword [0x10070e68]
jmp 0x1004542d
movss xmm2, dword [0x10070e60]
mulss xmm2, dword [esp + 0xbc]
movaps xmm0, xmm2
movss dword [esp + 0xbc], xmm2
divss xmm0, dword [0x10070ea8]
cvttss2si eax, xmm0
cmp eax, 9
jge 0x1004545a
mov eax, 9
jmp 0x10045464
mov ecx, 0x20
cmp eax, ecx
cmovg eax, ecx
test dword [esp + 0x74], 0xff000000
mov esi, dword [esp + 0xc0]
mov dword [esp + 0x2c], eax
je 0x100454f2
movd xmm1, eax
xorps xmm3, xmm3
cvtdq2ps xmm1, xmm1
push eax
push ecx
mov ecx, dword [esp + 0x30]
lea eax, [esp + 0x64]
movaps xmm0, xmm1
subss xmm0, dword [0x10070e90]
mulss xmm0, dword [0x10070eec]
divss xmm0, xmm1
movss dword [esp], xmm0
push eax
call fcn.100510c0
mov eax, dword [esp + 0x28]
push ecx
push dword [esp + 0x78]
mov ecx, eax
push dword [edi]
push dword [eax + 0x54]
call fcn.10050ae0
mov ecx, dword [edi + 4]
test ecx, ecx
jns 0x100454e3
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
xor ecx, ecx
test eax, eax
cmovg ecx, eax
push ecx
mov ecx, edi
call fcn.10048310
movss xmm2, dword [esp + 0xbc]
mov dword [edi], 0
mov eax, dword [esp + 0x2c]
addss xmm2, dword [0x10070e90]
push eax
push ecx
movd xmm0, eax
lea eax, [esp + 0x64]
cvtdq2ps xmm0, xmm0
mov ecx, dword [esp + 0x30]
subss xmm2, dword [0x10070e5c]
movaps xmm3, xmm0
subss xmm3, dword [0x10070e90]
mulss xmm3, dword [0x10070eec]
divss xmm3, xmm0
movss dword [esp], xmm3
movss dword [esp + 0x54], xmm3
xorps xmm3, xmm3
push eax
call fcn.100510c0
mov eax, dword [esp + 0x28]
sub esp, 8
mov ecx, eax
mov dword [esp], 0x3f800000
push 1
push 0xff808080
push dword [edi]
push dword [eax + 0x54]
call fcn.1004ffa0
mov ecx, dword [edi + 4]
test ecx, ecx
jns 0x10045582
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
xor ecx, ecx
test eax, eax
cmovg ecx, eax
push ecx
mov ecx, edi
call fcn.10048310
push dword [esp + 0x2c]
movss xmm2, dword [esp + 0xc0]
lea eax, [esp + 0x60]
movss xmm0, dword [esp + 0x50]
xorps xmm3, xmm3
subss xmm2, dword [0x10070e5c]
push ecx
mov ecx, dword [esp + 0x30]
movss dword [esp], xmm0
push eax
mov dword [edi], 0
call fcn.100510c0
mov eax, dword [esp + 0x28]
sub esp, 8
mov ecx, eax
mov dword [esp], 0x3f800000
push 1
push 0xffffffffffffffff
push dword [edi]
push dword [eax + 0x54]
call fcn.1004ffa0
mov ecx, dword [edi + 4]
test ecx, ecx
jns 0x100455f7
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
xor ecx, ecx
test eax, eax
cmovg ecx, eax
push ecx
mov ecx, edi
call fcn.10048310
movss xmm4, dword [esp + 0x48]
xorps xmm1, xmm1
movss xmm5, dword [esp + 0x3c]
movaps xmm2, xmm4
mulss xmm2, dword [esp + 0x50]
movaps xmm0, xmm5
mov eax, dword [esp + 0x58]
mulss xmm0, xmm1
movaps xmm3, xmm5
mov ecx, dword [esp + 0x28]
mulss xmm3, dword [esp + 0x50]
mov dword [edi], 0
movss xmm7, dword [esp + 0xc8]
subss xmm2, xmm0
movss xmm6, dword [esp + 0x98]
movaps xmm0, xmm4
mulss xmm0, xmm1
movaps xmm1, xmm4
push 6
push 6
addss xmm2, xmm6
addss xmm3, xmm0
movaps xmm0, xmm5
mulss xmm0, dword [esp + 0xb0]
movss dword [esp + 0x34], xmm2
movaps xmm2, xmm4
mulss xmm2, dword [esp + 0xb0]
addss xmm3, xmm7
movss dword [esp + 0x48], xmm3
movss xmm3, dword [esp + 0x8c]
mulss xmm1, xmm3
subss xmm1, xmm0
movaps xmm0, xmm5
mulss xmm0, xmm3
addss xmm1, xmm6
addss xmm2, xmm0
movaps xmm0, xmm5
mulss xmm0, dword [esp + 0x78]
mulss xmm5, xmm3
movss dword [esp + 0x88], xmm1
movaps xmm1, xmm4
mulss xmm4, dword [esp + 0x78]
addss xmm2, xmm7
mulss xmm1, xmm3
addss xmm4, xmm5
movss dword [esp + 0x8c], xmm2
subss xmm1, xmm0
movss xmm0, dword [eax + 0x1724]
movss dword [esp + 0x54], xmm0
movss xmm0, dword [eax + 0x1728]
addss xmm4, xmm7
movss dword [esp + 0x44], xmm0
addss xmm1, xmm6
movss dword [esp + 0x50], xmm4
movss dword [esp + 0x40], xmm1
call fcn.1004fdf0
mov edx, dword [esp + 0x28]
movss xmm2, dword [esp + 0x2c]
movss xmm3, dword [esp + 0x40]
movss xmm0, dword [esp + 0x4c]
mov ecx, dword [edx + 0x30]
movzx eax, word [edx + 0x28]
movss xmm1, dword [esp + 0x3c]
mov word [ecx], ax
mov eax, dword [edx + 0x2c]
add dword [edx + 0x30], 2
mov ecx, dword [esp + 0x74]
movss dword [eax], xmm2
movss dword [eax + 4], xmm3
mov eax, dword [edx + 0x2c]
movss dword [eax + 8], xmm0
movss dword [eax + 0xc], xmm1
mov eax, dword [edx + 0x2c]
mov dword [eax + 0x10], ecx
mov ecx, dword [edx + 0x30]
inc dword [edx + 0x28]
add dword [edx + 0x2c], 0x14
movzx eax, word [edx + 0x28]
mov word [ecx], ax
add dword [edx + 0x30], 2
mov eax, dword [edx + 0x2c]
movss xmm4, dword [esp + 0x80]
movss dword [eax], xmm4
movss xmm5, dword [esp + 0x84]
movss dword [eax + 4], xmm5
mov eax, dword [edx + 0x2c]
mov ecx, dword [esp + 0x74]
movss xmm7, dword [esp + 0x38]
movss xmm6, dword [esp + 0x48]
movss dword [eax + 8], xmm0
movss dword [eax + 0xc], xmm1
mov eax, dword [edx + 0x2c]
mov dword [eax + 0x10], ecx
add dword [edx + 0x2c], 0x14
inc dword [edx + 0x28]
mov ecx, dword [edx + 0x30]
movzx eax, word [edx + 0x28]
mov word [ecx], ax
add dword [edx + 0x30], 2
mov eax, dword [edx + 0x2c]
movss dword [eax], xmm7
movss dword [eax + 4], xmm6
mov eax, dword [edx + 0x2c]
movss dword [eax + 8], xmm0
movss dword [eax + 0xc], xmm1
mov eax, dword [edx + 0x2c]
mov dword [eax + 0x10], 0xffffffff
add dword [edx + 0x2c], 0x14
inc dword [edx + 0x28]
mov ecx, dword [edx + 0x30]
movzx eax, word [edx + 0x28]
mov word [ecx], ax
mov eax, dword [edx + 0x2c]
add dword [edx + 0x30], 2
movss dword [eax], xmm2
movss dword [eax + 4], xmm3
mov eax, dword [edx + 0x2c]
movss dword [eax + 8], xmm0
movss dword [eax + 0xc], xmm1
mov eax, dword [edx + 0x2c]
mov dword [eax + 0x10], 0
add dword [edx + 0x2c], 0x14
inc dword [edx + 0x28]
mov ecx, dword [edx + 0x30]
movzx eax, word [edx + 0x28]
mov word [ecx], ax
mov eax, dword [edx + 0x2c]
add dword [edx + 0x30], 2
movss dword [eax], xmm4
movss dword [eax + 4], xmm5
mov eax, dword [edx + 0x2c]
movss dword [eax + 8], xmm0
movss dword [eax + 0xc], xmm1
mov eax, dword [edx + 0x2c]
mov dword [eax + 0x10], 0xff000000
add dword [edx + 0x2c], 0x14
inc dword [edx + 0x28]
mov ecx, dword [edx + 0x30]
movzx eax, word [edx + 0x28]
mov word [ecx], ax
mov eax, dword [edx + 0x2c]
add dword [edx + 0x30], 2
movss dword [eax], xmm7
movss dword [eax + 4], xmm6
mov eax, dword [edx + 0x2c]
movss dword [eax + 8], xmm0
movss dword [eax + 0xc], xmm1
mov eax, dword [edx + 0x2c]
mov dword [eax + 0x10], 0
add dword [edx + 0x2c], 0x14
inc dword [edx + 0x28]
mov eax, dword [edi + 4]
mov ecx, dword [edi]
cmp ecx, eax
jne 0x100458ce
inc ecx
test eax, eax
je 0x100458b0
cdq
sub eax, edx
sar eax, 1
add eax, dword [edi + 4]
jmp 0x100458b5
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
push ecx
mov ecx, edi
call fcn.10048310
movss xmm2, dword [esp + 0x2c]
movss xmm3, dword [esp + 0x40]
mov ecx, dword [edi]
mov eax, dword [edi + 8]
movss dword [eax + ecx*8], xmm2
movss dword [eax + ecx*8 + 4], xmm3
inc dword [edi]
mov eax, dword [edi + 4]
mov ecx, dword [edi]
cmp ecx, eax
jne 0x1004590a
inc ecx
test eax, eax
je 0x100458f8
cdq
sub eax, edx
sar eax, 1
add eax, dword [edi + 4]
jmp 0x100458fd
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
push ecx
mov ecx, edi
call fcn.10048310
mov ecx, dword [edi]
mov eax, dword [edi + 8]
movss xmm0, dword [esp + 0x80]
movss dword [eax + ecx*8], xmm0
movss xmm0, dword [esp + 0x84]
movss dword [eax + ecx*8 + 4], xmm0
inc dword [edi]
mov eax, dword [edi + 4]
mov ecx, dword [edi]
cmp ecx, eax
jne 0x10045958
inc ecx
test eax, eax
je 0x10045946
cdq
sub eax, edx
sar eax, 1
add eax, dword [edi + 4]
jmp 0x1004594b
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
push ecx
mov ecx, edi
call fcn.10048310
mov ecx, dword [edi]
sub esp, 8
mov eax, dword [edi + 8]
movss xmm0, dword [esp + 0x40]
movss xmm1, dword [esp + 0x50]
mov dword [esp], 0x3fc00000
movss dword [eax + ecx*8], xmm0
movss dword [eax + ecx*8 + 4], xmm1
mov eax, dword [esp + 0x30]
mov ecx, eax
inc dword [edi]
push 1
push 0xff808080
push dword [edi]
push dword [eax + 0x54]
call fcn.1004ffa0
mov ecx, dword [edi + 4]
test ecx, ecx
jns 0x100459b6
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
xor ecx, ecx
test eax, eax
cmovg ecx, eax
push ecx
mov ecx, edi
call fcn.10048310
movss xmm0, dword [0x10070e90]
xorps xmm1, xmm1
movaps xmm2, xmm0
mov dword [edi], 0
subss xmm2, dword [esp + 0x7c]
comiss xmm1, xmm2
jbe 0x100459da
xorps xmm4, xmm4
jmp 0x100459e1
movaps xmm4, xmm0
minss xmm4, xmm2
movss xmm2, dword [esp + 0x68]
comiss xmm1, xmm2
jbe 0x100459f1
xorps xmm3, xmm3
jmp 0x100459f8
movaps xmm3, xmm0
minss xmm3, xmm2
movss xmm0, dword [esp + 0x2c]
subss xmm0, dword [esp + 0x38]
movss xmm2, dword [esp + 0x40]
subss xmm2, dword [esp + 0x48]
mov edi, dword [esp + 0x28]
mulss xmm0, xmm3
mulss xmm2, xmm3
addss xmm0, dword [esp + 0x38]
movss xmm3, dword [esp + 0x80]
addss xmm2, dword [esp + 0x48]
subss xmm3, xmm0
mulss xmm3, xmm4
addss xmm3, xmm0
movss xmm0, dword [esp + 0x84]
subss xmm0, xmm2
movss dword [esp + 0x18], xmm3
mulss xmm0, xmm4
addss xmm0, xmm2
movss dword [esp + 0x1c], xmm0
jmp 0x10045d9d
test dword [esp + 0xc], 0x40000
je 0x10045d9d
movss xmm0, dword [esp + 0x64]
lea eax, [esp + 0xac]
push 0xffffffffffffffff
push edx
movss dword [esp + 0xb4], xmm0
mov ecx, edi
movss xmm0, dword [esp + 0x2c]
addss xmm0, dword [esp + 0x3c]
push edx
push 0xffffffffffffffff
push eax
lea eax, [esp + 0x70]
push eax
movss dword [esp + 0x88], xmm0
movss dword [esp + 0xc8], xmm0
call fcn.10051920
movss xmm0, dword [esp + 0x64]
lea eax, [esp + 0xac]
push 0xff000000
push 0xff000000
push 0
push 0
push eax
movss dword [esp + 0xc0], xmm0
lea eax, [esp + 0x70]
movss xmm0, dword [esp + 0x84]
mov ecx, edi
push eax
movss dword [esp + 0xc8], xmm0
call fcn.10051920
movss xmm0, dword [esp + 0x64]
movss dword [esp + 0x50], xmm0
movss xmm0, dword [esp + 0x70]
movss dword [esp + 0x54], xmm0
xorps xmm0, xmm0
push dword [esp + 0x54]
push dword [esp + 0x54]
push dword [esp + 0x68]
push dword [esp + 0x68]
call fcn.10035640
movss xmm3, dword [esp + 0x78]
xorps xmm0, xmm0
movss xmm1, dword [0x10070e90]
add esp, 0x10
comiss xmm0, xmm3
jbe 0x10045b49
xorps xmm2, xmm2
jmp 0x10045b50
movaps xmm2, xmm1
minss xmm2, xmm3
movss xmm6, dword [esp + 0x34]
movss xmm5, dword [esp + 0x5c]
movss xmm4, dword [0x10070e5c]
mulss xmm2, xmm6
movss xmm7, dword [0x10070ebc]
movss xmm3, dword [esp + 0x64]
addss xmm2, xmm5
addss xmm5, xmm7
subss xmm3, xmm7
addss xmm2, xmm4
cvttss2si eax, xmm2
movd xmm2, eax
cvtdq2ps xmm2, xmm2
comiss xmm5, xmm2
jbe 0x10045b9e
movss dword [esp + 0x18], xmm5
jmp 0x10045bb1
comiss xmm2, xmm3
jbe 0x10045bab
movss dword [esp + 0x18], xmm3
jmp 0x10045bb1
movss dword [esp + 0x18], xmm2
movaps xmm2, xmm1
subss xmm2, dword [esp + 0x7c]
comiss xmm0, xmm2
jbe 0x10045bc4
xorps xmm1, xmm1
jmp 0x10045bc8
minss xmm1, xmm2
movss xmm3, dword [esp + 0x24]
mulss xmm1, xmm6
movss xmm0, dword [esp + 0x70]
subss xmm0, xmm7
addss xmm1, xmm3
addss xmm1, xmm4
cvttss2si eax, xmm1
movaps xmm1, xmm3
addss xmm1, xmm7
movd xmm2, eax
cvtdq2ps xmm2, xmm2
comiss xmm1, xmm2
jbe 0x10045c03
movss dword [esp + 0x1c], xmm1
jmp 0x10045c16
comiss xmm2, xmm0
jbe 0x10045c10
movss dword [esp + 0x1c], xmm0
jmp 0x10045c16
movss dword [esp + 0x1c], xmm2
movss xmm0, dword [esp + 0xa4]
movaps xmm1, xmm6
divss xmm1, dword [0x10070ee8]
xor ecx, ecx
mov esi, edi
movss dword [esp + 0xac], xmm0
movss xmm0, dword [esp + 0x80]
movss dword [esp + 0x4c], xmm1
movss dword [esp + 0x88], xmm0
nop
mov eax, dword [esp + ecx*4 + 0xfc]
lea edi, [ecx + 1]
movd xmm0, edi
cvtdq2ps xmm0, xmm0
push eax
push eax
lea eax, [esp + 0xb4]
mulss xmm0, xmm1
addss xmm0, xmm3
movss dword [esp + 0xb8], xmm0
movd xmm0, ecx
mov ecx, dword [esp + ecx*4 + 0x100]
cvtdq2ps xmm0, xmm0
push ecx
push ecx
push eax
lea eax, [esp + 0x9c]
mov ecx, esi
push eax
mulss xmm0, xmm1
addss xmm0, xmm3
movss dword [esp + 0xa4], xmm0
call fcn.10051920
movss xmm1, dword [esp + 0x4c]
mov ecx, edi
movss xmm3, dword [esp + 0x24]
cmp ecx, 6
jl 0x10045c50
movss xmm0, dword [esp + 0xa4]
movss dword [esp + 0x50], xmm0
movss xmm0, dword [esp + 0x70]
movss dword [esp + 0x54], xmm0
movss xmm0, dword [esp + 0x80]
push dword [esp + 0x54]
movss dword [esp + 0x60], xmm0
movaps xmm0, xmm3
push dword [esp + 0x54]
movss dword [esp + 0x68], xmm0
xorps xmm0, xmm0
push dword [esp + 0x68]
push dword [esp + 0x68]
call fcn.10035640
mov esi, dword [esp + 0xd0]
movss xmm1, dword [esp + 0x7c]
addss xmm1, dword [0x10070ebc]
mov edi, dword [esp + 0x38]
mov ecx, edi
movd xmm2, esi
cvtdq2ps xmm2, xmm2
movaps xmm0, xmm2
movss dword [esp + 0x64], xmm2
addss xmm0, dword [0x10070e90]
push dword [esp + 0x64]
movss dword [esp + 0x64], xmm0
movss xmm0, dword [esp + 0x94]
subss xmm0, dword [0x10070e90]
push dword [esp + 0x64]
movss dword [esp + 0x74], xmm0
movss xmm0, dword [esp + 0x5c]
mulss xmm0, dword [esp + 0x4c]
addss xmm0, dword [esp + 0x3c]
addss xmm0, dword [0x10070e5c]
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [esp + 0x78], xmm0
push dword [esp + 0x78]
push dword [esp + 0x78]
call fcn.10043b00
add esp, 0x20
cmp byte [esp + 0x13], 0
je 0x10045db7
movss xmm2, dword [0x10070efc]
movss dword [esp + 0xe0], xmm2
jmp 0x10045dbf
movss xmm2, dword [0x10070ee8]
mov eax, 0xff000000
test eax, eax
je 0x10045e22
push 0xc
push ecx
lea eax, [esp + 0x20]
mov dword [esp], 0x40b84e89
push eax
xorps xmm3, xmm3
mov ecx, edi
call fcn.100510c0
push ecx
push dword [esp + 0xa0]
mov ecx, edi
push dword [edi + 0x4c]
push dword [edi + 0x54]
call fcn.10050ae0
mov ecx, dword [edi + 0x50]
lea eax, [edi + 0x4c]
test ecx, ecx
jns 0x10045e1c
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
xor ecx, ecx
test eax, eax
cmovg ecx, eax
push ecx
lea ecx, [edi + 0x4c]
call fcn.10048310
lea eax, [edi + 0x4c]
mov dword [eax], 0
movss xmm2, dword [esp + 0xe0]
lea eax, [esp + 0x18]
addss xmm2, dword [0x10070e90]
push 0xc
push ecx
mov dword [esp], 0x40b84e89
xorps xmm3, xmm3
push eax
subss xmm2, dword [0x10070e5c]
mov ecx, edi
call fcn.100510c0
sub esp, 8
lea eax, [edi + 0x4c]
mov ecx, edi
mov dword [esp + 0x54], eax
mov dword [esp], 0x3f800000
push 1
push 0xff808080
push dword [eax]
push dword [edi + 0x54]
call fcn.1004ffa0
mov ecx, dword [edi + 0x50]
lea eax, [edi + 0x4c]
test ecx, ecx
jns 0x10045e9e
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
xor ecx, ecx
test eax, eax
cmovg ecx, eax
push ecx
lea ecx, [edi + 0x4c]
call fcn.10048310
lea eax, [edi + 0x4c]
movss xmm2, dword [esp + 0xe0]
xorps xmm3, xmm3
subss xmm2, dword [0x10070e5c]
push 0xc
push ecx
mov dword [eax], 0
mov ecx, edi
lea eax, [esp + 0x20]
mov dword [esp], 0x40b84e89
push eax
call fcn.100510c0
sub esp, 8
mov ecx, edi
mov dword [esp], 0x3f800000
push 1
push 0xffffffffffffffff
push dword [edi + 0x4c]
push dword [edi + 0x54]
call fcn.1004ffa0
mov edi, dword [esp + 0x4c]
mov ecx, dword [edi + 4]
test ecx, ecx
jns 0x10045f0c
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
xor ecx, ecx
test eax, eax
cmovg ecx, eax
push ecx
mov ecx, edi
call fcn.10048310
cmp dword [esp + 0xcc], 0x200
mov dword [edi], 0
jne 0x100460bd
mov eax, dword [esp + 0x30]
xorps xmm2, xmm2
movss xmm1, dword [eax + 0xc]
comiss xmm2, xmm1
jbe 0x10045f3f
movss dword [esp + 0xc0], xmm2
jmp 0x10045f54
movss xmm0, dword [0x10070e90]
minss xmm0, xmm1
movss dword [esp + 0xc0], xmm0
movss xmm3, dword [esp + 0xd8]
or edx, 0xffffffff
movss xmm0, dword [esp + 0x24]
movaps xmm1, xmm3
addss xmm1, dword [esp + 0x6c]
movss dword [esp + 0xb0], xmm0
xor ecx, ecx
addss xmm0, dword [esp + 0x34]
mov dword [esp + 0x54], 0
push dword [esp + 0x54]
movss dword [esp + 0xb8], xmm1
subss xmm1, xmm3
mov dword [esp + 0x54], 0
push dword [esp + 0x54]
movss dword [esp + 0xc0], xmm0
push dword [esp + 0xc0]
mulss xmm1, dword [0x10070e5c]
push dword [esp + 0xc0]
movss dword [esp + 0xbc], xmm3
push dword [esp + 0xc0]
mov edi, dword [esp + 0xc0]
push edi
call fcn.100420e0
mov ecx, dword [esp + 0xb4]
add esp, 0x18
mov eax, ecx
and eax, 0xffffff
push eax
push eax
push ecx
push ecx
mov ecx, dword [esp + 0x38]
lea eax, [esp + 0xc4]
push eax
lea eax, [esp + 0xc0]
push eax
call fcn.10051920
push dword [esp + 0xb8]
xorps xmm0, xmm0
push dword [esp + 0xb8]
push dword [esp + 0xb8]
push edi
call fcn.10035640
movss xmm1, dword [0x10070e90]
movd xmm2, esi
cvtdq2ps xmm2, xmm2
mov ecx, dword [esp + 0x38]
movaps xmm0, xmm2
movss dword [esp + 0x64], xmm2
addss xmm0, xmm1
push dword [esp + 0x64]
movss dword [esp + 0x64], xmm0
movss xmm0, dword [esp + 0xec]
subss xmm0, xmm1
subss xmm1, dword [esp + 0xd4]
push dword [esp + 0x64]
movss dword [esp + 0x74], xmm0
mulss xmm1, dword [esp + 0x4c]
addss xmm1, dword [esp + 0x3c]
addss xmm1, dword [0x10070e5c]
cvttss2si eax, xmm1
movss xmm1, dword [esp + 0x84]
addss xmm1, dword [0x10070ebc]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [esp + 0x78], xmm0
push dword [esp + 0x78]
push dword [esp + 0x78]
call fcn.10043b00
add esp, 0x20
call fcn.10046510
mov ecx, dword [0x10077088]
mov al, byte [esp + 0xb]
pop edi
pop esi
mov ecx, dword [ecx + 0x176c]
dec dword [ecx + 0x1c8]
mov ecx, dword [esp + 0x10c]
xor ecx, esp
call fcn.100671ce
mov esp, ebp
pop ebp
ret