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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x138
mov eax, dword [0x1004300c]
xor eax, esp
mov dword [esp + 0x134], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x64], ecx
mov ecx, dword [0x10043a6c]
mov dword [esp + 0x1c], eax
push esi
push edi
mov eax, dword [ecx + 0x19b0]
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], ecx
mov byte [eax + 0x7c], 1
mov eax, dword [ecx + 0x19b0]
mov dword [esp + 0xd8], eax
cmp byte [eax + 0x7f], 0
je 0x10030de8
xor al, al
pop edi
pop esi
mov ecx, dword [esp + 0x134]
xor ecx, esp
call fcn.10038f5a
mov esp, ebp
pop ebp
ret
test byte [ecx + 0x1a84], 1
mov edi, dword [eax + 0x278]
mov dword [esp + 0x8c], edi
je 0x10030e08
movss xmm1, dword [ecx + 0x1a88]
jmp 0x10030e10
movss xmm1, dword [eax + 0x1a8]
xorps xmm0, xmm0
comiss xmm0, xmm1
jbe 0x10030e4b
mov edx, eax
cmp dword [edx + 0x190], 0
movss xmm0, dword [edx + 0x244]
je 0x10030e33
movss xmm0, dword [edx + 0x224]
subss xmm0, dword [eax + 0xc8]
addss xmm0, xmm1
movss xmm1, dword [0x1003fe64]
maxss xmm1, xmm0
mov dword [ecx + 0x1a84], 0
mov ecx, dword [esp + 0x6c]
cvttss2si esi, xmm1
call fcn.10011c70
call fcn.10011d90
mov ecx, dword [ebp + 8]
mov edx, ecx
or edx, 0x10
mov eax, ecx
and eax, 0x100
cmovne edx, ecx
mov dword [esp + 0x9c], edx
test dl, 8
jne 0x10030e95
mov ecx, dword [esp + 0x14]
call fcn.10034700
mov edx, dword [esp + 0x9c]
test edx, 0x6000000
jne 0x10030ec3
mov edx, dword [esp + 0x18]
mov ecx, 0xa900000
mov eax, dword [edx + 0x2cd8]
test eax, 0x6000000
cmovne ecx, eax
and ecx, 0x6000000
or ecx, dword [esp + 0x9c]
jmp 0x10030ec9
mov ecx, edx
mov edx, dword [esp + 0x18]
mov dword [esp + 0xc], ecx
test ecx, 0x18000000
jne 0x10030f03
mov eax, dword [edx + 0x2cd8]
mov edi, 0xa900000
test eax, 0x18000000
cmovne edi, eax
mov eax, edi
mov dword [esp + 0x94], edi
mov edi, dword [esp + 0x8c]
and eax, 0x18000000
or ecx, eax
mov dword [esp + 0xc], ecx
test cl, 8
jne 0x10030f19
mov eax, dword [edx + 0x2cd8]
and eax, 0x10000
or ecx, eax
mov dword [esp + 0xc], ecx
mov eax, ecx
movss xmm2, dword [edx + 0x1560]
and eax, 2
and ecx, 0x10002
mov dword [esp + 0xcc], eax
mov eax, dword [esp + 0xd8]
mov dword [esp + 0x9c], ecx
movss xmm0, dword [eax + 0xcc]
movss xmm3, dword [eax + 0xc8]
mov eax, dword [0x10043a6c]
movss dword [esp + 0x2c], xmm0
movss dword [esp + 0x58], xmm0
movaps xmm0, xmm2
movss dword [esp + 0x54], xmm3
movss xmm4, dword [eax + 0x154c]
addss xmm4, xmm4
addss xmm4, dword [eax + 0x18c4]
xor eax, eax
cmp ecx, 0x10000
sete al
inc eax
addss xmm0, xmm4
movss dword [esp + 0x70], xmm4
movd xmm1, eax
xor eax, eax
cvtdq2ps xmm1, xmm1
cmp dword [esp + 0xcc], eax
sete al
mulss xmm1, xmm0
lea eax, [eax*4 + 0xc]
movd xmm0, esi
cvtdq2ps xmm0, xmm0
push eax
lea eax, [esp + 0x130]
push dword [esp + 0x18]
subss xmm0, xmm1
movaps xmm1, xmm4
push eax
maxss xmm1, xmm0
movaps xmm0, xmm3
addss xmm0, xmm1
movss dword [esp + 0x34], xmm1
movss dword [esp + 0xf0], xmm0
addss xmm0, xmm2
movss dword [esp + 0xc0], xmm0
addss xmm0, xmm4
movss dword [esp + 0xe4], xmm0
addss xmm0, xmm2
movss dword [esp + 0xf4], xmm0
movaps xmm0, xmm4
mulss xmm0, dword [0x1003fe00]
cvttss2si esi, xmm0
mov dword [esp + 0xa0], esi
call sub.VCRUNTIME140.dll_memcpy
movss xmm1, dword [esp + 0x34]
add esp, 0xc
movaps xmm3, xmm1
movaps xmm2, xmm1
mulss xmm3, dword [0x1003fe24]
mulss xmm2, dword [0x1003fdd8]
movaps xmm0, xmm3
movss dword [esp + 0x60], xmm3
addss xmm0, dword [esp + 0x2c]
movss dword [esp + 0x98], xmm2
movaps xmm4, xmm3
subss xmm4, xmm2
movaps xmm2, xmm1
addss xmm2, dword [esp + 0x70]
movss dword [esp + 0xbc], xmm0
movss dword [esp + 0xa8], xmm0
movaps xmm0, xmm1
mulss xmm0, dword [0x1003fdcc]
movaps xmm1, xmm4
mulss xmm2, dword [0x1003fe24]
cvttss2si eax, xmm0
addss xmm2, dword [esp + 0x54]
movss dword [esp + 0x5c], xmm4
movd xmm0, eax
movss dword [esp + 0xc0], xmm2
movss dword [esp + 0xa4], xmm2
cvtdq2ps xmm0, xmm0
mov ecx, dword [esp + 0x14]
subss xmm1, xmm0
movss xmm3, dword [ecx + 4]
lea eax, [ecx + 4]
mov dword [esp + 0x7c], eax
lea eax, [ecx + 8]
mov dword [esp + 0x64], eax
mov dword [esp + 0x34], 0
movaps xmm0, xmm1
movss dword [esp + 0x30], xmm1
mulss xmm0, dword [0x1003ff94]
movaps xmm2, xmm1
mulss xmm2, dword [0x1003ffa0]
movss dword [esp + 0xc8], xmm0
movss dword [esp + 0x100], xmm0
movss dword [esp + 0x110], xmm0
movaps xmm0, xmm1
mulss xmm0, dword [0x1003fe5c]
movss dword [esp + 0xa0], xmm2
movss dword [esp + 0x104], xmm2
movss xmm2, dword [eax]
mov eax, dword [esp + 0xc]
mov edx, eax
movss dword [esp + 0xb8], xmm0
and edx, 0x8000000
movss dword [esp + 0x114], xmm0
movss xmm0, dword [ecx]
movaps xmm1, xmm0
movss dword [esp + 0x1c], xmm0
movss dword [esp + 0xdc], xmm1
movss dword [esp + 0xe0], xmm1
movaps xmm1, xmm3
movss dword [esp + 0x74], xmm1
movss dword [esp + 0x90], xmm1
movaps xmm1, xmm2
movss dword [esp + 0x40], xmm1
movss dword [esp + 0x80], xmm1
movss xmm1, dword [0x1003fed4]
movss dword [esp + 0x38], xmm3
movss dword [esp + 0x44], xmm2
mov dword [esp + 0x20], edx
movss dword [esp + 0xec], xmm1
je 0x100312bf
comiss xmm2, xmm3
xorps xmm1, xmm1
xorps xmm6, xmm6
movaps xmm5, xmm3
movaps xmm7, xmm2
jbe 0x100311e4
movss xmm6, dword [0x1003ffa4]
movaps xmm5, xmm2
movaps xmm7, xmm3
comiss xmm5, xmm0
movaps xmm4, xmm0
movss dword [esp + 0x44], xmm4
jbe 0x1003120d
movaps xmm4, xmm5
movaps xmm5, xmm0
movss xmm0, dword [0x1003ff90]
subss xmm0, xmm6
movss dword [esp + 0x44], xmm4
movaps xmm6, xmm0
movaps xmm0, xmm5
mov edx, dword [esp + 0x18]
minss xmm0, xmm7
movaps xmm3, xmm4
movaps xmm2, xmm5
subss xmm2, xmm7
mov eax, dword [edx + 0x2ce4]
subss xmm3, xmm0
movaps xmm0, xmm3
mulss xmm0, dword [0x1003fed4]
addss xmm0, dword [0x1003fdac]
divss xmm2, xmm0
movaps xmm0, xmm4
addss xmm2, xmm6
addss xmm0, dword [0x1003fdac]
andps xmm2, xmmword [0x100403c0]
divss xmm3, xmm0
movss dword [esp + 0x1c], xmm2
movss dword [esp + 0x38], xmm3
cmp eax, dword [ecx]
jne 0x10031317
mov eax, dword [edx + 0x2ce8]
cmp eax, dword [ecx + 4]
jne 0x10031317
mov eax, dword [edx + 0x2cec]
cmp eax, dword [ecx + 8]
jne 0x10031317
ucomiss xmm3, xmm1
lahf
test ah, 0x44
jp 0x100312a6
movss xmm0, dword [edx + 0x2cdc]
movss dword [esp + 0x1c], xmm0
ucomiss xmm4, xmm1
lahf
test ah, 0x44
jp 0x10031317
movss xmm0, dword [edx + 0x2ce0]
movss dword [esp + 0x38], xmm0
jmp 0x10031317
test eax, 0x10000000
je 0x10031317
lea eax, [esp + 0x80]
movaps xmm1, xmm3
push eax
lea edx, [esp + 0x94]
lea ecx, [esp + 0xe4]
call fcn.10007e00
movss xmm0, dword [esp + 0xe4]
add esp, 4
movss dword [esp + 0xdc], xmm0
movss xmm0, dword [esp + 0x90]
movss dword [esp + 0x74], xmm0
movss xmm0, dword [esp + 0x80]
movss dword [esp + 0x40], xmm0
mov ecx, 8
mov byte [esp + 0xb], 0
mov byte [esp + 0x12], 0
mov byte [esp + 0x11], 0
call fcn.100119c0
mov eax, dword [esp + 0xc]
mov ecx, eax
and ecx, 0x4000000
mov dword [esp + 0x68], ecx
je 0x10031932
movss xmm1, dword [esp + 0x28]
lea edx, [esp + 0x48]
mov eax, dword [esp + 0x18]
movaps xmm0, xmm1
mov ecx, 0x1003fb70
movss dword [esp + 0x4c], xmm1
addss xmm0, dword [eax + 0x1560]
addss xmm0, dword [esp + 0x70]
movss dword [esp + 0x48], xmm0
call fcn.10028280
mov eax, dword [0x10043a6c]
mov ecx, dword [eax + 0x19e4]
test ecx, ecx
je 0x10031825
mov eax, dword [eax + 0x19b0]
cmp ecx, dword [eax + 0x10c]
jne 0x10031825
mov eax, dword [esp + 0x18]
movss xmm0, dword [eax + 0x38c]
subss xmm0, dword [esp + 0xbc]
movss xmm1, dword [eax + 0x388]
subss xmm1, dword [esp + 0xc0]
movss xmm4, dword [eax + 0xe8]
movss xmm3, dword [eax + 0xec]
subss xmm4, dword [esp + 0xc0]
subss xmm3, dword [esp + 0xbc]
movaps xmm2, xmm0
movss dword [esp + 0x84], xmm0
mulss xmm2, xmm0
movaps xmm0, xmm1
mulss xmm0, xmm1
movss dword [esp + 0x3c], xmm1
movss xmm1, dword [0x1003fe64]
addss xmm2, xmm0
movss dword [esp + 0xf0], xmm4
movss xmm0, dword [esp + 0x5c]
subss xmm0, xmm1
movss dword [esp + 0xd0], xmm3
mulss xmm0, xmm0
comiss xmm2, xmm0
jb 0x100314ae
movss xmm0, dword [esp + 0x60]
addss xmm0, xmm1
mulss xmm0, xmm0
comiss xmm0, xmm2
jb 0x100314ae
cvtps2pd xmm0, xmm3
movsd qword [esp + 0x48], xmm0
fld qword [esp + 0x48]
cvtps2pd xmm0, xmm4
movsd qword [esp + 0x48], xmm0
fld qword [esp + 0x48]
call sub.api_ms_win_crt_math_l1_1_0.dll__CIatan2
movss xmm2, dword [0x1003fec0]
xorps xmm0, xmm0
fstp qword [esp + 0x48]
movsd xmm1, qword [esp + 0x48]
cvtpd2ps xmm1, xmm1
divss xmm1, xmm2
mulss xmm1, dword [0x1003fe24]
comiss xmm0, xmm1
movss dword [esp + 0x1c], xmm1
jbe 0x100314a6
addss xmm1, dword [0x1003fe64]
movss dword [esp + 0x1c], xmm1
mov al, 1
mov byte [esp + 0xb], al
jmp 0x100314c0
mov al, byte [esp + 0xb]
movss xmm2, dword [0x1003fec0]
movss xmm1, dword [esp + 0x1c]
movaps xmm0, xmm1
mov byte [esp + 0x12], al
xorps xmm0, xmmword [0x100403e0]
addss xmm0, xmm0
mulss xmm0, xmm2
cvtss2sd xmm0, xmm0
movsd qword [esp + 0x48], xmm0
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_cos_precise
cvtsd2ss xmm0, xmm0
movss dword [esp + 0x78], xmm0
movsd xmm0, qword [esp + 0x48]
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_sin_precise
movss xmm5, dword [esp + 0x78]
xorps xmm6, xmm6
cvtsd2ss xmm6, xmm0
movss xmm7, dword [esp + 0xc8]
movaps xmm3, xmm5
mulss xmm3, dword [esp + 0x3c]
movaps xmm0, xmm6
mulss xmm0, dword [esp + 0x84]
movaps xmm4, xmm5
mulss xmm4, dword [esp + 0x84]
movaps xmm2, xmm7
subss xmm2, xmm7
movss dword [esp + 0xf4], xmm6
subss xmm3, xmm0
movaps xmm0, xmm6
mulss xmm0, dword [esp + 0x3c]
movss xmm6, dword [esp + 0x30]
movss dword [esp + 0x78], xmm2
subss xmm6, xmm7
addss xmm4, xmm0
movaps xmm1, xmm3
movss xmm0, dword [esp + 0xa0]
subss xmm1, xmm7
subss xmm0, dword [esp + 0xb8]
movss dword [esp + 0xf8], xmm6
mulss xmm1, xmm0
movss dword [esp + 0x84], xmm0
movaps xmm0, xmm4
subss xmm0, dword [esp + 0xb8]
mulss xmm0, xmm2
xorps xmm2, xmm2
subss xmm1, xmm0
xorps xmm0, xmm0
subss xmm0, dword [esp + 0xa0]
comiss xmm2, xmm1
movaps xmm1, xmm3
movss dword [esp + 0xc4], xmm0
subss xmm1, xmm7
seta cl
mulss xmm1, xmm0
movaps xmm0, xmm4
subss xmm0, dword [esp + 0xa0]
mulss xmm0, xmm6
subss xmm1, xmm0
comiss xmm2, xmm1
seta al
cmp al, cl
jne 0x1003181d
movss xmm7, dword [esp + 0xb8]
subss xmm4, xmm2
movss xmm0, dword [esp + 0xc8]
subss xmm7, xmm2
subss xmm0, dword [esp + 0x30]
subss xmm3, dword [esp + 0x30]
movss dword [esp + 0x48], xmm7
mulss xmm4, xmm0
mulss xmm3, xmm7
movss dword [esp + 0x3c], xmm0
subss xmm3, xmm4
comiss xmm2, xmm3
seta al
cmp cl, al
jne 0x1003181d
movss xmm1, dword [esp + 0xf4]
movaps xmm6, xmm5
movss xmm3, dword [esp + 0xd0]
movaps xmm0, xmm1
mulss xmm1, dword [esp + 0xf0]
mulss xmm6, dword [esp + 0xf0]
mulss xmm0, xmm3
mulss xmm5, xmm3
movss xmm3, dword [esp + 0xc8]
subss xmm6, xmm0
addss xmm5, xmm1
movaps xmm1, xmm6
movss dword [esp + 0xd0], xmm6
subss xmm1, xmm3
movaps xmm0, xmm5
movss dword [esp + 0xd4], xmm5
subss xmm0, dword [esp + 0xb8]
mulss xmm1, dword [esp + 0x84]
mulss xmm0, dword [esp + 0x78]
subss xmm1, xmm0
movaps xmm0, xmm5
subss xmm0, dword [esp + 0xa0]
comiss xmm2, xmm1
mulss xmm0, dword [esp + 0xf8]
movaps xmm1, xmm6
subss xmm1, xmm3
seta cl
mulss xmm1, dword [esp + 0xc4]
subss xmm1, xmm0
comiss xmm2, xmm1
seta al
cmp al, cl
jne 0x10031718
movaps xmm1, xmm6
movaps xmm0, xmm5
subss xmm1, dword [esp + 0x30]
subss xmm0, xmm2
mulss xmm1, xmm7
mulss xmm0, dword [esp + 0x3c]
subss xmm1, xmm0
comiss xmm2, xmm1
seta al
cmp cl, al
je 0x1003175e
lea eax, [esp + 0xd0]
push eax
lea eax, [esp + 0x114]
push eax
lea eax, [esp + 0x108]
push eax
lea edx, [esp + 0x3c]
lea ecx, [esp + 0x104]
call fcn.100074b0
movss xmm7, dword [esp + 0x54]
add esp, 0xc
movss xmm3, dword [esp + 0xc8]
xorps xmm2, xmm2
movss xmm6, dword [eax]
movss xmm5, dword [eax + 4]
subss xmm6, dword [esp + 0x30]
movaps xmm4, xmm3
subss xmm5, xmm2
movss xmm3, dword [esp + 0xa0]
subss xmm4, dword [esp + 0x30]
subss xmm3, xmm2
movaps xmm1, xmm6
mulss xmm1, xmm7
movaps xmm2, xmm4
movaps xmm0, xmm3
mulss xmm2, xmm7
mulss xmm0, dword [esp + 0x3c]
mulss xmm6, xmm3
subss xmm2, xmm0
movaps xmm0, xmm5
mulss xmm0, dword [esp + 0x3c]
mulss xmm5, xmm4
subss xmm1, xmm0
movss xmm0, dword [0x1003fe64]
movaps xmm7, xmm0
subss xmm5, xmm6
divss xmm1, xmm2
divss xmm5, xmm2
subss xmm7, xmm1
movss xmm1, dword [0x1003fdc0]
movss dword [esp + 0x38], xmm1
comiss xmm1, xmm7
movaps xmm3, xmm7
subss xmm3, xmm5
jbe 0x100317ee
movaps xmm2, xmm1
movss dword [esp + 0x44], xmm1
jmp 0x100317fb
movaps xmm2, xmm0
minss xmm2, xmm7
movss dword [esp + 0x44], xmm2
divss xmm3, xmm2
comiss xmm1, xmm3
ja 0x10031811
movaps xmm1, xmm0
minss xmm1, xmm3
movss dword [esp + 0x38], xmm1
mov byte [esp + 0x11], 1
mov byte [esp + 0xb], 1
jmp 0x10031825
mov al, byte [esp + 0xb]
mov byte [esp + 0x12], al
mov edx, dword [esp + 0xc]
test dl, 8
jne 0x10031833
call fcn.10013070
mov edx, dword [0x10043a6c]
movss xmm3, dword [esp + 0x2c]
movss xmm4, dword [esp + 0x28]
cmp dword [esp + 0x9c], 0x10000
jne 0x10031b56
mov eax, dword [edx + 0x19b0]
mov ecx, str.alpha
movss xmm0, dword [esp + 0xe8]
movss dword [esp + 0x104], xmm4
mov byte [eax + 0x7c], 1
mov eax, dword [edx + 0x19b0]
lea edx, [esp + 0x100]
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 + 0x70]
movss dword [esp + 0x100], xmm0
call fcn.10028280
mov edx, dword [0x10043a6c]
mov ecx, dword [edx + 0x19e4]
test ecx, ecx
je 0x10031b56
mov eax, dword [edx + 0x19b0]
cmp ecx, dword [eax + 0x10c]
mov ecx, dword [esp + 0x18]
jne 0x10031b5a
movss xmm3, dword [ecx + 0xec]
xorps xmm2, xmm2
movss xmm0, dword [esp + 0x28]
movss xmm1, dword [0x1003fe64]
subss xmm3, dword [esp + 0x2c]
subss xmm0, xmm1
divss xmm3, xmm0
comiss xmm2, xmm3
jbe 0x10031b38
xorps xmm4, xmm4
jmp 0x10031b3f
test eax, 0x2000000
je 0x10031833
movss xmm0, dword [esp + 0x28]
lea edx, [esp + 0x100]
mov ecx, 0x1003fb74
movss dword [esp + 0x100], xmm0
movss dword [esp + 0x104], xmm0
call fcn.10028280
mov ecx, dword [0x10043a6c]
mov edx, dword [ecx + 0x19e4]
test edx, edx
je 0x10031a05
mov eax, dword [ecx + 0x19b0]
cmp edx, dword [eax + 0x10c]
jne 0x10031a05
mov eax, dword [esp + 0x18]
xorps xmm0, xmm0
movss xmm4, dword [esp + 0x28]
movss xmm1, dword [0x1003fe64]
subss xmm4, xmm1
movss xmm3, dword [eax + 0xe8]
subss xmm3, dword [esp + 0x54]
divss xmm3, xmm4
comiss xmm0, xmm3
jbe 0x100319c0
movss dword [esp + 0x38], xmm0
jmp 0x100319cd
movaps xmm2, xmm1
minss xmm2, xmm3
movss dword [esp + 0x38], xmm2
movss xmm2, dword [eax + 0xec]
subss xmm2, dword [esp + 0x2c]
divss xmm2, xmm4
comiss xmm0, xmm2
jbe 0x100319e9
xorps xmm3, xmm3
jmp 0x100319f0
movaps xmm3, xmm1
minss xmm3, xmm2
movaps xmm0, xmm1
mov al, 1
subss xmm0, xmm3
mov byte [esp + 0xb], al
movss dword [esp + 0x44], xmm0
jmp 0x10031a09
mov al, byte [esp + 0xb]
mov edx, dword [esp + 0xc]
mov byte [esp + 0x11], al
mov byte [esp + 0x13], al
test dl, 8
jne 0x10031a25
call fcn.10013070
mov ecx, dword [0x10043a6c]
mov eax, dword [ecx + 0x19b0]
lea edx, [esp + 0x100]
movss xmm2, dword [esp + 0xb4]
movss xmm0, dword [esp + 0x2c]
mov byte [eax + 0x7c], 1
mov eax, dword [ecx + 0x19b0]
mov ecx, 0x1003fb78
movss dword [eax + 0xcc], xmm0
movss dword [eax + 0xc8], xmm2
movss xmm0, dword [eax + 0xe4]
maxss xmm0, dword [eax + 0xcc]
movss xmm1, dword [eax + 0xe0]
maxss xmm1, xmm2
movss dword [eax + 0xe4], xmm0
movss xmm0, dword [esp + 0x70]
movss dword [esp + 0x100], xmm0
movss xmm0, dword [esp + 0x28]
movss dword [eax + 0xe0], xmm1
movss dword [esp + 0x104], xmm0
call fcn.10028280
mov edx, dword [0x10043a6c]
mov ecx, dword [edx + 0x19e4]
test ecx, ecx
je 0x10031839
mov al, byte [esp + 0xb]
mov byte [esp + 0x11], al
mov eax, dword [edx + 0x19b0]
cmp ecx, dword [eax + 0x10c]
jne 0x10031839
mov eax, dword [esp + 0x18]
movss xmm4, dword [esp + 0x28]
movss xmm3, dword [esp + 0x2c]
movaps xmm0, xmm4
movss xmm1, dword [0x1003fe64]
movss xmm2, dword [eax + 0xec]
subss xmm0, xmm1
subss xmm2, xmm3
divss xmm2, xmm0
xorps xmm0, xmm0
comiss xmm0, xmm2
ja 0x10031b1b
movaps xmm0, xmm1
minss xmm0, xmm2
mov al, byte [esp + 0x13]
movss dword [esp + 0x1c], xmm0
mov byte [esp + 0x12], 1
mov byte [esp + 0xb], 1
mov byte [esp + 0x11], al
jmp 0x10031845
movaps xmm4, xmm1
minss xmm4, xmm3
mov eax, dword [esp + 0x14]
movaps xmm0, xmm1
subss xmm0, xmm4
mov byte [esp + 0xb], 1
movss dword [eax + 0xc], xmm0
jmp 0x10031b5a
mov ecx, dword [esp + 0x18]
mov eax, dword [edx + 0x19b0]
mov byte [eax + 0x7c], 1
mov edx, dword [edx + 0x19b0]
mov eax, dword [edx + 0x1b0]
add eax, 0xffffffff
mov dword [esp + 0x48], eax
mov dword [edx + 0x1b0], eax
jne 0x10031b83
xor eax, eax
jmp 0x10031b98
mov edi, dword [esp + 0x48]
mov eax, dword [edx + 0x1b8]
mov eax, dword [eax + edi*4 - 4]
mov edi, dword [esp + 0x8c]
mov dword [edx + 0x1a4], eax
mov eax, dword [esp + 0xc]
mov edx, eax
and edx, 0x100
mov dword [esp + 0x78], edx
jne 0x10031bcd
movss xmm1, dword [ecx + 0x1560]
xorps xmm0, xmm0
call fcn.10012100
call fcn.10011d90
mov eax, dword [esp + 0xc]
mov edx, dword [esp + 0x78]
and eax, 0x80
mov dword [esp + 0x48], eax
jne 0x10031c2d
mov eax, dword [esp + 0x6c]
cmp eax, 0xffffffff
jae 0x10031c2d
mov cl, byte [eax]
test cl, cl
je 0x10031bf7
cmp cl, 0x23
jne 0x10031bf1
cmp byte [eax + 1], cl
je 0x10031bf7
inc eax
cmp eax, 0xffffffff
jb 0x10031be1
mov dword [esp + 0x3c], eax
cmp dword [esp + 0x6c], eax
je 0x10031c2d
test edx, edx
je 0x10031c1d
mov eax, dword [esp + 0x18]
xorps xmm0, xmm0
movss xmm1, dword [eax + 0x1560]
call fcn.10012100
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x6c]
mov edx, eax
push 0
call fcn.10026d20
add esp, 4
cmp dword [esp + 0x78], 0
jne 0x10031e23
mov ecx, 0x10
call fcn.100119c0
cmp dword [esp + 0xcc], 0
mov eax, dword [esp + 0x14]
je 0x10031c5a
movss xmm1, dword [0x1003fe64]
jmp 0x10031c5f
movss xmm1, dword [eax + 0xc]
cmp dword [esp + 0x48], 0
movss xmm0, dword [eax]
movss dword [esp + 0x100], xmm0
movss xmm0, dword [eax + 4]
movss dword [esp + 0x104], xmm0
movss xmm0, dword [eax + 8]
movss dword [esp + 0x108], xmm0
movss dword [esp + 0x10c], xmm1
je 0x10031ca5
push str.Current
call fcn.100273e0
add esp, 4
movss xmm1, dword [esp + 0x70]
lea edx, [esp + 0x100]
mov eax, dword [esp + 0xc]
movaps xmm0, xmm1
mulss xmm0, dword [0x1003febc]
and eax, 0x180e0040
mov ecx, str.current
mov dword [esp + 0xc4], eax
movss dword [esp + 0xd0], xmm0
movss dword [esp + 0x48], xmm0
movaps xmm0, xmm1
addss xmm0, xmm1
movss dword [esp + 0xd4], xmm0
push dword [esp + 0xd4]
movss dword [esp + 0xfc], xmm0
push dword [esp + 0xd4]
push eax
call fcn.10033640
add esp, 0xc
cmp dword [esp + 0x24], 0
je 0x10031de3
push str.Original
call fcn.100273e0
mov eax, dword [esp + 0x28]
add esp, 4
cmp dword [esp + 0xcc], 0
je 0x10031d41
movss xmm1, dword [0x1003fe64]
jmp 0x10031d46
movss xmm1, dword [eax + 0xc]
movss xmm0, dword [eax]
lea edx, [esp + 0x110]
movss dword [esp + 0x110], xmm0
mov ecx, str.original
movss xmm0, dword [eax + 4]
movss dword [esp + 0x114], xmm0
movss xmm0, dword [eax + 8]
movss dword [esp + 0x118], xmm0
movss xmm0, dword [esp + 0x48]
movss dword [esp + 0x48], xmm0
movss xmm0, dword [esp + 0xf8]
movss dword [esp + 0x4c], xmm0
push dword [esp + 0x4c]
movss dword [esp + 0x120], xmm1
push dword [esp + 0x4c]
push dword [esp + 0xcc]
call fcn.10033640
add esp, 0xc
test al, al
je 0x10031de3
xor eax, eax
cmp dword [esp + 0xcc], eax
sete al
lea eax, [eax*4 + 0xc]
push eax
push dword [esp + 0x28]
push dword [esp + 0x1c]
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov byte [esp + 0xb], 1
mov ecx, dword [0x10043a6c]
mov eax, dword [ecx + 0x19b0]
mov byte [eax + 0x7c], 1
mov ecx, dword [ecx + 0x19b0]
mov edx, dword [ecx + 0x1b0]
sub edx, 1
mov dword [ecx + 0x1b0], edx
jne 0x10031e0e
xor eax, eax
jmp 0x10031e18
mov eax, dword [ecx + 0x1b8]
mov eax, dword [eax + edx*4 - 4]
mov dword [ecx + 0x1a4], eax
call fcn.10011ec0
cmp byte [esp + 0x12], 0
jne 0x10031e35
cmp byte [esp + 0x11], 0
je 0x10031ed7
cmp dword [esp + 0x20], 0
je 0x10031f01
movss xmm1, dword [esp + 0x44]
xorps xmm0, xmm0
comiss xmm1, xmm0
jbe 0x10031e53
movaps xmm3, xmm1
jmp 0x10031e5b
movss xmm3, dword [0x1003fdb0]
movss xmm1, dword [esp + 0x38]
comiss xmm1, xmm0
movss xmm2, dword [0x1003fdb4]
ja 0x10031e71
movaps xmm1, xmm2
movss xmm0, dword [esp + 0x1c]
comiss xmm0, dword [0x1003fe64]
jb 0x10031e84
subss xmm0, xmm2
push dword [esp + 0x64]
mov edx, dword [esp + 0x80]
movaps xmm2, xmm3
mov ecx, dword [esp + 0x18]
call fcn.10007e00
mov ecx, dword [esp + 0x1c]
add esp, 4
mov eax, dword [esp + 0x14]
movss xmm0, dword [esp + 0x38]
movss xmm1, dword [esp + 0x1c]
movss dword [ecx + 0x2cdc], xmm1
movss dword [ecx + 0x2ce0], xmm0
movq xmm0, qword [eax]
movq qword [ecx + 0x2ce4], xmm0
mov eax, dword [eax + 8]
mov dword [ecx + 0x2cec], eax
mov edx, dword [esp + 0xc]
mov byte [esp + 0x13], 0
test dl, 0x20
jne 0x100322d4
cmp dword [esp + 0x9c], 0x10000
jne 0x10031f39
movss xmm0, dword [esp + 0xe8]
jmp 0x10031f42
mov edx, dword [esp + 0xc]
test edx, 0x10000000
je 0x10031edb
mov eax, dword [esp + 0x14]
movss xmm1, dword [esp + 0x1c]
movss xmm0, dword [esp + 0x38]
movss dword [eax], xmm1
mov eax, dword [esp + 0x7c]
movss dword [eax], xmm0
mov eax, dword [esp + 0x64]
movss xmm0, dword [esp + 0x44]
movss dword [eax], xmm0
jmp 0x10031edb
movss xmm0, dword [esp + 0xb4]
addss xmm0, dword [esp + 0x70]
subss xmm0, dword [esp + 0x54]
call fcn.10011720
mov eax, dword [esp + 0xc]
mov edx, eax
and edx, 0x198e001a
mov dword [esp + 0x3c], edx
test eax, 0x100000
jne 0x10031f7e
mov ecx, eax
and ecx, 0x700000
mov dword [esp + 0x24], ecx
jne 0x10031fde
mov dword [esp + 0x24], ecx
jmp 0x10031f87
and eax, 0x700000
mov dword [esp + 0x24], eax
or edx, 0x100004
mov ecx, str.rgb
push edx
mov edx, dword [esp + 0x18]
call fcn.1002f860
add esp, 4
test al, al
je 0x10031fd2
mov eax, dword [esp + 0x18]
cmp dword [eax + 0x19e4], 0
je 0x10031fbe
cmp byte [eax + 0x19f1], 0
mov byte [esp + 0x13], 1
je 0x10031fc3
mov byte [esp + 0x13], 0
mov ecx, dword [esp + 0x24]
mov byte [esp + 0xb], 1
mov dword [esp + 0x24], ecx
jmp 0x10031fd6
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x3c]
mov eax, dword [esp + 0xc]
test eax, 0x200000
jne 0x10031fe9
test ecx, ecx
jne 0x1003200d
or edx, 0x200004
mov ecx, str.hsv
push edx
mov edx, dword [esp + 0x18]
call fcn.1002f860
mov ecx, dword [esp + 0x28]
add esp, 4
or byte [esp + 0xb], al
mov eax, dword [esp + 0xc]
test eax, 0x400000
jne 0x10032018
test ecx, ecx
jne 0x10032037
mov eax, dword [esp + 0x3c]
mov ecx, str.hex
mov edx, dword [esp + 0x14]
or eax, 0x400004
push eax
call fcn.1002f860
add esp, 4
or byte [esp + 0xb], al
mov ecx, dword [0x10043a6c]
mov eax, dword [ecx + 0x19b0]
mov byte [eax + 0x7c], 1
mov ecx, dword [ecx + 0x19b0]
mov edx, dword [ecx + 0x1bc]
sub edx, 1
mov dword [ecx + 0x1bc], edx
jne 0x10032068
movss xmm0, dword [ecx + 0x254]
jmp 0x10032074
mov eax, dword [ecx + 0x1c4]
movss xmm0, dword [eax + edx*4 - 4]
cmp byte [esp + 0x13], 0
xorps xmm2, xmm2
mov eax, dword [esp + 0x20]
movss dword [ecx + 0x1a8], xmm0
mov ecx, dword [esp + 0x14]
je 0x100322e4
test eax, eax
je 0x100322e4
movss xmm3, dword [ecx + 4]
lea edx, [ecx + 4]
movss xmm5, dword [ecx + 8]
lea eax, [ecx + 8]
comiss xmm5, xmm3
movss xmm4, dword [ecx]
xorps xmm6, xmm6
jbe 0x100320c7
movss xmm6, dword [0x1003ffa4]
movaps xmm0, xmm3
movaps xmm3, xmm5
movaps xmm5, xmm0
comiss xmm3, xmm4
jbe 0x100320e4
movaps xmm0, xmm4
movaps xmm4, xmm3
movaps xmm3, xmm0
movss xmm0, dword [0x1003ff90]
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 [0x1003fdac]
movaps xmm7, xmm1
mulss xmm1, dword [0x1003fed4]
divss xmm7, xmm0
addss xmm1, dword [0x1003fdac]
divss xmm3, xmm1
addss xmm3, xmm6
andps xmm3, xmmword [0x100403c0]
comiss xmm2, xmm3
jb 0x100322e0
movss xmm0, dword [esp + 0x1c]
comiss xmm0, xmm2
jbe 0x1003217b
comiss xmm2, xmm4
jb 0x100322b4
movss xmm1, dword [esp + 0x44]
ucomiss xmm1, xmm4
lahf
test ah, 0x44
lea eax, [ecx + 8]
jnp 0x100322b4
movaps xmm2, xmm1
movss xmm1, dword [esp + 0x38]
mulss xmm2, dword [0x1003fe24]
push eax
call fcn.10007e00
mov ecx, dword [esp + 0x18]
add esp, 4
xorps xmm2, xmm2
mov edx, dword [esp + 0xc]
mov eax, dword [esp + 0x20]
cmp byte [esp + 0xb], 0
je 0x10032363
test eax, eax
je 0x100322ed
movss xmm0, dword [ecx + 4]
xorps xmm5, xmm5
movss xmm3, dword [ecx + 8]
movaps xmm1, xmm0
comiss xmm3, xmm0
movss xmm7, dword [ecx]
movaps xmm6, xmm3
movss dword [esp + 0xdc], xmm7
movss dword [esp + 0x74], xmm0
movss dword [esp + 0x40], xmm3
jbe 0x100321d5
movss xmm5, dword [0x1003ffa4]
movaps xmm1, xmm3
movaps xmm6, xmm0
comiss xmm1, xmm7
movaps xmm4, xmm7
movss dword [esp + 0x44], xmm4
jbe 0x100321fe
movss xmm0, dword [0x1003ff90]
movaps xmm4, xmm1
subss xmm0, xmm5
movss dword [esp + 0x44], xmm4
movaps xmm1, xmm7
movaps xmm5, xmm0
movaps xmm0, xmm1
mov edx, dword [esp + 0x18]
minss xmm0, xmm6
movaps xmm3, xmm4
subss xmm1, xmm6
mov eax, dword [edx + 0x2ce4]
subss xmm3, xmm0
movaps xmm0, xmm3
mulss xmm0, dword [0x1003fed4]
addss xmm0, dword [0x1003fdac]
divss xmm1, xmm0
movaps xmm0, xmm4
addss xmm1, xmm5
addss xmm0, dword [0x1003fdac]
andps xmm1, xmmword [0x100403c0]
divss xmm3, xmm0
movss dword [esp + 0x1c], xmm1
movss dword [esp + 0x38], xmm3
cmp eax, dword [ecx]
jne 0x10032367
mov eax, dword [edx + 0x2ce8]
cmp eax, dword [ecx + 4]
jne 0x10032367
mov eax, dword [edx + 0x2cec]
cmp eax, dword [ecx + 8]
jne 0x10032367
ucomiss xmm3, xmm2
lahf
test ah, 0x44
jp 0x10032294
movss xmm0, dword [edx + 0x2cdc]
movss dword [esp + 0x1c], xmm0
ucomiss xmm4, xmm2
lahf
test ah, 0x44
jp 0x10032367
movss xmm0, dword [edx + 0x2ce0]
movss dword [esp + 0x38], xmm0
jmp 0x10032367
comiss xmm2, xmm7
jb 0x1003217b
movss xmm1, dword [esp + 0x38]
movaps xmm2, xmm4
mulss xmm1, dword [0x1003fe24]
push eax
jmp 0x1003216c
mov ecx, dword [esp + 0x14]
xorps xmm2, xmm2
jmp 0x1003217f
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0xc]
jmp 0x10032183
test edx, 0x10000000
je 0x10032363
movss xmm0, dword [ecx]
lea eax, [esp + 0x80]
movss xmm1, dword [ecx + 4]
lea edx, [esp + 0x90]
movss xmm2, dword [ecx + 8]
lea ecx, [esp + 0xe0]
push eax
movss dword [esp + 0x20], xmm0
movss dword [esp + 0x3c], xmm1
movss dword [esp + 0x48], xmm2
call fcn.10007e00
movss xmm0, dword [esp + 0xe4]
add esp, 4
movss dword [esp + 0xdc], xmm0
movss xmm0, dword [esp + 0x90]
movss dword [esp + 0x74], xmm0
movss xmm0, dword [esp + 0x80]
movss dword [esp + 0x40], xmm0
mov edx, dword [esp + 0x18]
movss xmm2, dword [edx + 0x1510]
xorps xmm0, xmm0
comiss xmm0, xmm2
movss xmm0, dword [0x1003fe64]
jbe 0x10032384
xorps xmm1, xmm1
jmp 0x1003238b
movaps xmm1, xmm0
minss xmm1, xmm2
mulss xmm1, dword [0x1003ff2c]
mov dword [esp + 0x100], 0x3f800000
movss dword [esp + 0x10c], xmm2
movaps xmm2, xmm0
mov dword [esp + 0x104], 0x3f800000
addss xmm1, dword [0x1003fe24]
mov dword [esp + 0x108], 0x3f800000
cvttss2si edx, xmm1
movaps xmm1, xmm0
movss xmm0, dword [esp + 0x1c]
shl edx, 0x18
mov eax, edx
mov dword [esp + 0x90], edx
or eax, 0xffffff
mov ecx, edx
mov dword [esp + 0x24], eax
or ecx, 0xff
mov eax, edx
mov dword [esp + 0x110], ecx
or eax, 0x808080
mov dword [esp + 0x128], ecx
mov dword [esp + 0x6c], eax
lea ecx, [esp + 0x100]
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 + 0x104]
mov dword [esp + 0x124], eax
lea eax, [esp + 0x108]
push eax
call fcn.10007e00
movss xmm3, dword [esp + 0x104]
xorps xmm1, xmm1
movss xmm2, dword [0x1003fe64]
add esp, 4
comiss xmm1, xmm3
jbe 0x1003248d
xorps xmm0, xmm0
jmp 0x10032494
movaps xmm0, xmm2
minss xmm0, xmm3
movss xmm3, dword [0x1003ff2c]
movss xmm5, dword [0x1003fe24]
movss xmm4, dword [esp + 0x104]
comiss xmm1, xmm4
mulss xmm0, xmm3
addss xmm0, xmm5
cvttss2si ecx, xmm0
jbe 0x100324c3
xorps xmm0, xmm0
jmp 0x100324ca
movaps xmm0, xmm2
minss xmm0, xmm4
movss xmm4, dword [esp + 0x108]
mulss xmm0, xmm3
addss xmm0, xmm5
cvttss2si eax, xmm0
shl eax, 8
or ecx, eax
comiss xmm1, xmm4
jbe 0x100324ee
xorps xmm0, xmm0
jmp 0x100324f5
movaps xmm0, xmm2
minss xmm0, xmm4
movss xmm4, dword [esp + 0x10c]
mulss xmm0, xmm3
addss xmm0, xmm5
cvttss2si eax, xmm0
shl eax, 0x10
or ecx, eax
comiss xmm1, xmm4
jbe 0x10032519
xorps xmm0, xmm0
jmp 0x10032520
movaps xmm0, xmm2
minss xmm0, xmm4
movss xmm4, dword [esp + 0xdc]
mulss xmm0, xmm3
addss xmm0, xmm5
cvttss2si edx, xmm0
shl edx, 0x18
or edx, ecx
comiss xmm1, xmm4
mov dword [esp + 0x80], edx
jbe 0x1003254b
xorps xmm0, xmm0
jmp 0x10032552
movaps xmm0, xmm2
minss xmm0, xmm4
movss xmm4, dword [esp + 0x74]
comiss xmm1, xmm4
mulss xmm0, xmm3
addss xmm0, xmm5
cvttss2si ecx, xmm0
jbe 0x1003256e
xorps xmm0, xmm0
jmp 0x10032575
movaps xmm0, xmm2
minss xmm0, xmm4
movss xmm4, dword [esp + 0x40]
mulss xmm0, xmm3
addss xmm0, xmm5
cvttss2si eax, xmm0
shl eax, 8
or ecx, eax
comiss xmm1, xmm4
jbe 0x10032596
xorps xmm0, xmm0
jmp 0x1003259d
movaps xmm0, xmm2
minss xmm0, xmm4
mulss xmm0, xmm3
addss xmm0, xmm5
cvttss2si eax, xmm0
shl eax, 0x10
or ecx, eax
mov eax, dword [esp + 0x18]
movss xmm4, dword [eax + 0x1510]
comiss xmm1, xmm4
jbe 0x100325c4
xorps xmm0, xmm0
jmp 0x100325cb
movaps xmm0, xmm2
minss xmm0, xmm4
mulss xmm0, xmm3
mov dword [esp + 0x88], 0
mov dword [esp + 0x84], 0
addss xmm0, xmm5
cvttss2si eax, xmm0
shl eax, 0x18
or eax, ecx
cmp dword [esp + 0x68], 0
mov dword [esp + 0x74], eax
je 0x10032f34
movss xmm1, dword [esp + 0x60]
movaps xmm3, xmm5
movss xmm0, dword [esp + 0x5c]
mov eax, 0x2aaaaaab
divss xmm3, xmm1
cvttss2si ecx, xmm1
addss xmm0, xmm1
movss dword [esp + 0xc4], xmm3
imul ecx
movss dword [esp + 0xf0], xmm0
movaps xmm4, xmm0
mov eax, 4
mulss xmm4, xmm5
sar edx, 1
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
movss dword [esp + 0xd0], xmm4
cmp ecx, eax
cmovle ecx, eax
xor eax, eax
mov dword [esp + 0xf4], ecx
mov dword [esp + 0x3c], eax
nop word [eax + eax]
movd xmm1, eax
lea eax, [esp + 0xa4]
cvtdq2ps xmm1, xmm1
mov esi, dword [edi + 0x18]
push ecx
push ecx
mov ecx, edi
movaps xmm0, xmm1
addss xmm1, xmm2
divss xmm0, dword [0x1003fed4]
divss xmm1, dword [0x1003fed4]
addss xmm0, xmm0
movaps xmm2, xmm4
addss xmm1, xmm1
mulss xmm0, dword [0x1003fec0]
mulss xmm1, dword [0x1003fec0]
subss xmm0, xmm3
addss xmm1, xmm3
movaps xmm3, xmm0
movss dword [esp + 0x68], xmm0
movss dword [esp], xmm1
push eax
movss dword [esp + 0x70], xmm1
call fcn.10020b90
movss xmm0, dword [esp + 0x98]
push ecx
movss dword [esp], xmm0
mov ecx, edi
push 0
push dword [esp + 0x2c]
push dword [edi + 0x58]
push dword [edi + 0x60]
call fcn.1001fbe0
movss xmm0, dword [esp + 0x60]
cvtps2pd xmm0, xmm0
mov dword [edi + 0x58], 0
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_cos_precise
movss xmm1, dword [esp + 0x60]
cvtsd2ss xmm0, xmm0
mulss xmm0, dword [esp + 0x5c]
addss xmm0, dword [esp + 0xc0]
movss dword [esp + 0x48], 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 + 0x5c]
addss xmm0, dword [esp + 0xbc]
movss dword [esp + 0xf8], xmm0
movss xmm0, dword [esp + 0x64]
cvtps2pd xmm0, xmm0
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_cos_precise
movss xmm1, dword [esp + 0x64]
cvtsd2ss xmm0, xmm0
mulss xmm0, dword [esp + 0x5c]
addss xmm0, dword [esp + 0xc0]
movss dword [esp + 0x68], xmm0
cvtps2pd xmm0, xmm1
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_sin_precise
movss xmm3, dword [esp + 0x68]
xorps xmm4, xmm4
movss xmm5, dword [esp + 0x48]
movss xmm6, dword [esp + 0xf8]
subss xmm3, xmm5
cvtsd2ss xmm4, xmm0
mov edx, dword [esp + 0x3c]
mov ecx, dword [edi + 0x20]
movss xmm2, dword [0x1003fe64]
movaps xmm0, xmm3
mulss xmm4, dword [esp + 0x5c]
movaps xmm7, xmm2
mov eax, dword [esp + edx*4 + 0x114]
mov edx, dword [esp + edx*4 + 0x110]
mulss xmm0, xmm3
mov dword [esp + 0x60], eax
addss xmm4, dword [esp + 0xbc]
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 + 0x7c], eax
lea eax, [esi + esi*4]
lea eax, [ecx + eax*4]
mov dword [esp + 0xc], eax
cmp eax, dword [esp + 0x7c]
jae 0x10032939
movzx eax, dl
mov dword [esp + 0x64], eax
mov eax, edx
shr eax, 8
movzx esi, al
mov eax, dword [esp + 0x60]
shr eax, 0x10
movzx ecx, al
mov eax, dword [esp + 0x60]
shr edx, 0x10
movzx edx, dl
shr eax, 8
sub ecx, edx
mov dword [esp + 0x78], edx
movzx edx, al
mov eax, dword [esp + 0x60]
sub edx, esi
movzx edi, al
sub edi, dword [esp + 0x64]
mov eax, dword [esp + 0xc]
mov dword [esp + 0x68], esi
mov esi, dword [esp + 0x78]
nop
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 0x1003288e
xorps xmm2, xmm2
jmp 0x10032892
minss xmm2, xmm1
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
movd xmm1, esi
mulss xmm0, xmm2
mov esi, dword [esp + 0xc]
cvtdq2ps xmm1, xmm1
addss xmm0, xmm1
movd xmm1, dword [esp + 0x68]
cvtdq2ps xmm1, xmm1
cvttss2si eax, xmm0
movd xmm0, edx
cvtdq2ps xmm0, xmm0
shl eax, 8
mov dword [esp + 0x20], eax
mulss xmm0, xmm2
addss xmm0, xmm1
movd xmm1, dword [esp + 0x64]
cvtdq2ps xmm1, xmm1
cvttss2si eax, xmm0
movd xmm0, edi
or dword [esp + 0x20], eax
shl dword [esp + 0x20], 8
cvtdq2ps xmm0, xmm0
mulss xmm0, xmm2
movss xmm2, dword [0x1003fe64]
addss xmm0, xmm1
cvttss2si eax, xmm0
or dword [esp + 0x20], eax
mov eax, dword [esp + 0xc]
mov eax, dword [eax + 0x10]
and eax, 0xff000000
or dword [esp + 0x20], eax
mov eax, dword [esp + 0x20]
mov dword [esi + 0x10], eax
mov eax, esi
mov esi, dword [esp + 0x78]
add eax, 0x14
mov dword [esp + 0xc], eax
cmp eax, dword [esp + 0x7c]
jb 0x10032860
mov edi, dword [esp + 0x8c]
mov eax, dword [esp + 0x3c]
movss xmm3, dword [esp + 0xc4]
inc eax
movss xmm4, dword [esp + 0xd0]
mov ecx, dword [esp + 0xf4]
mov dword [esp + 0x3c], eax
cmp eax, 6
jl 0x10032670
movss xmm0, dword [esp + 0x1c]
addss xmm0, xmm0
mulss xmm0, dword [0x1003fec0]
movss dword [esp + 0x1c], xmm0
cvtps2pd xmm0, xmm0
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_cos_precise
movss xmm1, dword [esp + 0x1c]
cvtsd2ss xmm0, xmm0
movss dword [esp + 0x5c], xmm0
cvtps2pd xmm0, xmm1
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_sin_precise
cmp byte [esp + 0x12], 0
xorps xmm1, xmm1
movss xmm4, dword [0x1003fe24]
cvtsd2ss xmm1, xmm0
movss xmm0, dword [esp + 0x5c]
mulss xmm0, dword [esp + 0xf0]
movss xmm5, dword [esp + 0x98]
movss dword [esp + 0x68], xmm1
mulss xmm0, xmm4
addss xmm0, dword [esp + 0xc0]
movss dword [esp + 0x54], xmm0
movaps xmm0, xmm1
mulss xmm0, dword [esp + 0xf0]
mulss xmm0, xmm4
addss xmm0, dword [esp + 0xbc]
movss dword [esp + 0x58], xmm0
je 0x10032a0c
mulss xmm5, dword [0x1003fe34]
jmp 0x10032a14
mulss xmm5, dword [0x1003fe28]
movaps xmm0, xmm5
movss dword [esp + 0x98], xmm5
divss xmm0, dword [0x1003fe70]
cvttss2si eax, xmm0
cmp eax, 9
jge 0x10032a38
mov eax, 9
jmp 0x10032a42
mov ecx, 0x20
cmp eax, ecx
cmovg eax, ecx
test dword [esp + 0x80], 0xff000000
movss xmm2, dword [0x1003fed8]
mov esi, dword [esp + 0x94]
mov dword [esp + 0x40], eax
je 0x10032acf
cmp eax, 2
jle 0x10032acf
movd xmm1, eax
xorps xmm3, xmm3
cvtdq2ps xmm1, xmm1
dec eax
push eax
push ecx
lea eax, [esp + 0x5c]
mov ecx, edi
movaps xmm0, xmm1
subss xmm0, dword [0x1003fe64]
mulss xmm0, xmm2
movaps xmm2, xmm5
divss xmm0, xmm1
movss dword [esp], xmm0
push eax
call fcn.10020b90
push dword [esp + 0x80]
mov ecx, edi
push dword [edi + 0x58]
push dword [edi + 0x60]
call fcn.100206a0
movss xmm2, dword [0x1003fed8]
movss xmm4, dword [0x1003fe24]
movss xmm5, dword [esp + 0x98]
mov dword [edi + 0x58], 0
test dword [esp + 0x6c], 0xff000000
mov eax, dword [esp + 0x40]
je 0x10032b48
cmp eax, 2
jle 0x10032b48
movd xmm1, eax
xorps xmm3, xmm3
cvtdq2ps xmm1, xmm1
dec eax
push eax
push ecx
lea eax, [esp + 0x5c]
mov ecx, edi
movaps xmm0, xmm1
subss xmm0, dword [0x1003fe64]
mulss xmm0, xmm2
movaps xmm2, xmm5
addss xmm2, dword [0x1003fe64]
divss xmm0, xmm1
subss xmm2, xmm4
movss dword [esp], xmm0
push eax
call fcn.10020b90
push ecx
mov dword [esp], 0x3f800000
mov ecx, edi
push 1
push dword [esp + 0x74]
push dword [edi + 0x58]
push dword [edi + 0x60]
call fcn.1001fbe0
mov eax, dword [esp + 0x40]
mov dword [edi + 0x58], 0
test dword [esp + 0x24], 0xff000000
je 0x10032bbf
cmp eax, 2
jle 0x10032bbf
movd xmm1, eax
xorps xmm3, xmm3
cvtdq2ps xmm1, xmm1
dec eax
push eax
lea eax, [esp + 0x58]
push ecx
movss xmm2, dword [esp + 0xa0]
mov ecx, edi
movaps xmm0, xmm1
subss xmm0, dword [0x1003fe64]
subss xmm2, dword [0x1003fe24]
mulss xmm0, dword [0x1003fed8]
divss xmm0, xmm1
movss dword [esp], xmm0
push eax
call fcn.10020b90
push ecx
mov dword [esp], 0x3f800000
mov ecx, edi
push 1
push dword [esp + 0x2c]
push dword [edi + 0x58]
push dword [edi + 0x60]
call fcn.1001fbe0
mov dword [edi + 0x58], 0
movss xmm3, dword [esp + 0x5c]
xorps xmm1, xmm1
movss xmm5, dword [esp + 0x68]
movaps xmm2, xmm3
mulss xmm2, dword [esp + 0x30]
movaps xmm0, xmm5
mov eax, dword [0x10043a6c]
mov ecx, edi
movss xmm6, dword [esp + 0xc0]
movaps xmm4, xmm3
mulss xmm0, xmm1
push 6
movss xmm7, dword [esp + 0xc0]
mulss xmm4, dword [esp + 0xcc]
push 6
subss xmm2, xmm0
movaps xmm0, xmm3
mulss xmm0, xmm1
movaps xmm1, xmm5
mulss xmm1, dword [esp + 0xd0]
addss xmm2, xmm6
movss dword [esp + 0x68], xmm2
movss dword [esp + 0x108], xmm2
movaps xmm2, xmm5
mulss xmm2, dword [esp + 0x38]
addss xmm2, xmm0
movaps xmm0, xmm5
mulss xmm0, dword [esp + 0xa8]
mulss xmm5, dword [esp + 0xc0]
addss xmm2, xmm7
movss dword [esp + 0x84], xmm2
movss dword [esp + 0x10c], xmm2
movaps xmm2, xmm4
subss xmm2, xmm0
movaps xmm0, xmm3
mulss xmm0, dword [esp + 0xa8]
subss xmm4, xmm5
mulss xmm3, dword [esp + 0xc0]
addss xmm0, xmm1
addss xmm4, xmm6
addss xmm3, xmm1
addss xmm2, xmm6
addss xmm0, xmm7
movss dword [esp + 0x6c], xmm4
addss xmm3, xmm7
movss dword [esp + 0xac], xmm4
movss dword [esp + 0x38], xmm2
movss dword [esp + 0x3c], xmm0
movss xmm0, dword [eax + 0x18cc]
movss dword [esp + 0x70], xmm0
movss xmm0, dword [eax + 0x18d0]
movss dword [esp + 0x64], xmm3
movss dword [esp + 0xb0], xmm3
movss dword [esp + 0x50], xmm0
call fcn.1001f9e0
mov ecx, dword [edi + 0x3c]
mov ax, word [edi + 0x34]
movss xmm2, dword [esp + 0x60]
movss xmm3, dword [esp + 0x7c]
movss xmm0, dword [esp + 0x68]
movss xmm1, dword [esp + 0x48]
mov word [ecx], ax
mov eax, dword [edi + 0x38]
add dword [edi + 0x3c], 2
mov edx, dword [esp + 0x80]
movss xmm5, dword [esp + 0x30]
movss dword [eax], xmm2
movss dword [eax + 4], xmm3
mov eax, dword [edi + 0x38]
movss dword [eax + 8], xmm0
movss dword [eax + 0xc], xmm1
mov eax, dword [edi + 0x38]
mov dword [eax + 0x10], edx
mov eax, dword [edi + 0x3c]
inc dword [edi + 0x34]
add dword [edi + 0x38], 0x14
mov ecx, dword [edi + 0x34]
mov word [eax], cx
mov eax, dword [edi + 0x38]
add dword [edi + 0x3c], 2
movss dword [eax], xmm5
movss xmm4, dword [esp + 0x34]
movss dword [eax + 4], xmm4
mov eax, dword [edi + 0x38]
movss xmm7, dword [esp + 0x64]
movss xmm6, dword [esp + 0x5c]
movss dword [eax + 8], xmm0
movss dword [eax + 0xc], xmm1
mov eax, dword [edi + 0x38]
mov dword [eax + 0x10], edx
add dword [edi + 0x38], 0x14
inc dword [edi + 0x34]
mov eax, dword [edi + 0x3c]
mov ecx, dword [edi + 0x34]
mov word [eax], cx
mov eax, dword [edi + 0x38]
add dword [edi + 0x3c], 2
mov ecx, dword [esp + 0x24]
movss dword [eax], xmm7
movss dword [eax + 4], xmm6
mov eax, dword [edi + 0x38]
movss dword [eax + 8], xmm0
movss dword [eax + 0xc], xmm1
mov eax, dword [edi + 0x38]
mov dword [eax + 0x10], ecx
add dword [edi + 0x38], 0x14
mov eax, dword [edi + 0x3c]
inc dword [edi + 0x34]
mov ecx, dword [edi + 0x34]
mov word [eax], cx
mov eax, dword [edi + 0x38]
add dword [edi + 0x3c], 2
movss dword [eax], xmm2
movss dword [eax + 4], xmm3
mov eax, dword [edi + 0x38]
movss dword [eax + 8], xmm0
movss dword [eax + 0xc], xmm1
mov eax, dword [edi + 0x38]
mov dword [eax + 0x10], 0
add dword [edi + 0x38], 0x14
mov eax, dword [edi + 0x3c]
inc dword [edi + 0x34]
mov ecx, dword [edi + 0x34]
mov word [eax], cx
mov eax, dword [edi + 0x38]
add dword [edi + 0x3c], 2
mov ecx, dword [esp + 0x90]
movss dword [eax], xmm5
movss dword [eax + 4], xmm4
mov eax, dword [edi + 0x38]
movss dword [eax + 8], xmm0
movss dword [eax + 0xc], xmm1
mov eax, dword [edi + 0x38]
mov dword [eax + 0x10], ecx
mov eax, dword [edi + 0x3c]
add dword [edi + 0x38], 0x14
inc dword [edi + 0x34]
mov ecx, dword [edi + 0x34]
mov word [eax], cx
mov eax, dword [edi + 0x38]
add dword [edi + 0x3c], 2
push ecx
mov dword [esp], 0x3fc00000
mov ecx, edi
push dword [esp + 0x70]
movss dword [eax], xmm7
movss dword [eax + 4], xmm6
mov eax, dword [edi + 0x38]
movss dword [eax + 8], xmm0
movss dword [eax + 0xc], xmm1
mov eax, dword [edi + 0x38]
mov dword [eax + 0x10], 0
lea eax, [esp + 0xac]
add dword [edi + 0x38], 0x14
inc dword [edi + 0x34]
push eax
lea eax, [esp + 0x3c]
push eax
lea eax, [esp + 0x110]
push eax
call fcn.10021430
movss xmm0, dword [0x1003fe64]
movaps xmm2, xmm0
xorps xmm1, xmm1
subss xmm2, dword [esp + 0x44]
comiss xmm1, xmm2
jbe 0x10032eaf
xorps xmm4, xmm4
jmp 0x10032eb6
movaps xmm4, xmm0
minss xmm4, xmm2
movss xmm2, dword [esp + 0x38]
comiss xmm1, xmm2
jbe 0x10032ec6
xorps xmm3, xmm3
jmp 0x10032ecd
movaps xmm3, xmm0
minss xmm3, xmm2
movss xmm0, dword [esp + 0x60]
subss xmm0, dword [esp + 0x64]
movss xmm2, dword [esp + 0x7c]
subss xmm2, dword [esp + 0x5c]
mulss xmm0, xmm3
mulss xmm2, xmm3
addss xmm0, dword [esp + 0x64]
movss xmm3, dword [esp + 0x30]
addss xmm2, dword [esp + 0x5c]
subss xmm3, xmm0
mulss xmm3, xmm4
addss xmm3, xmm0
movss xmm0, dword [esp + 0x34]
subss xmm0, xmm2
movss dword [esp + 0x84], xmm3
mulss xmm0, xmm4
addss xmm0, xmm2
movss dword [esp + 0x88], xmm0
jmp 0x1003329f
test dword [esp + 0xc], 0x2000000
je 0x100332a3
mov eax, dword [esp + 0x24]
mov ecx, edi
movss xmm0, dword [esp + 0xe4]
push eax
push edx
push edx
movss dword [esp + 0xb0], xmm0
movss xmm0, dword [esp + 0x38]
addss xmm0, dword [esp + 0x34]
push eax
lea eax, [esp + 0xb4]
push eax
lea eax, [esp + 0x68]
push eax
movss dword [esp + 0x58], xmm0
movss dword [esp + 0xc0], xmm0
call fcn.100212b0
mov ecx, dword [esp + 0x90]
lea eax, [esp + 0xa4]
movss xmm0, dword [esp + 0xe4]
push ecx
push ecx
push 0
push 0
push eax
movss dword [esp + 0xb8], xmm0
lea eax, [esp + 0x68]
movss xmm0, dword [esp + 0x54]
mov ecx, edi
push eax
movss dword [esp + 0xc0], xmm0
call fcn.100212b0
movss xmm0, dword [esp + 0xe4]
movss dword [esp + 0x30], xmm0
movss xmm0, dword [esp + 0x40]
movss dword [esp + 0x34], xmm0
xorps xmm0, xmm0
push dword [esp + 0x34]
push dword [esp + 0x34]
push dword [esp + 0x60]
push dword [esp + 0x60]
call fcn.10008810
movss xmm2, dword [esp + 0x48]
xorps xmm0, xmm0
movss xmm1, dword [0x1003fe64]
add esp, 0x10
comiss xmm0, xmm2
jbe 0x1003301e
xorps xmm3, xmm3
jmp 0x10033025
movaps xmm3, xmm1
minss xmm3, xmm2
movss xmm6, dword [esp + 0x28]
movss xmm7, dword [esp + 0x54]
movss xmm4, dword [0x1003fe24]
mulss xmm3, xmm6
movss xmm5, dword [0x1003fe94]
addss xmm3, xmm7
addss xmm7, xmm5
addss xmm3, xmm4
cvttss2si eax, xmm3
movss xmm3, dword [esp + 0xe4]
subss xmm3, xmm5
movd xmm2, eax
cvtdq2ps xmm2, xmm2
comiss xmm7, xmm2
jbe 0x10033079
movss dword [esp + 0x84], xmm7
jmp 0x10033092
comiss xmm2, xmm3
jbe 0x10033089
movss dword [esp + 0x84], xmm3
jmp 0x10033092
movss dword [esp + 0x84], xmm2
movaps xmm2, xmm1
subss xmm2, dword [esp + 0x44]
comiss xmm0, xmm2
jbe 0x100330a5
xorps xmm1, xmm1
jmp 0x100330a9
minss xmm1, xmm2
movss xmm3, dword [esp + 0x2c]
mulss xmm1, xmm6
movss xmm0, dword [esp + 0x40]
subss xmm0, xmm5
addss xmm1, xmm3
addss xmm1, xmm4
cvttss2si eax, xmm1
movaps xmm1, xmm3
addss xmm1, xmm5
movd xmm2, eax
cvtdq2ps xmm2, xmm2
comiss xmm1, xmm2
jbe 0x100330e7
movss dword [esp + 0x88], xmm1
jmp 0x10033100
comiss xmm2, xmm0
jbe 0x100330f7
movss dword [esp + 0x88], xmm0
jmp 0x10033100
movss dword [esp + 0x88], xmm2
movss xmm0, dword [esp + 0xd8]
movaps xmm1, xmm6
divss xmm1, dword [0x1003fed4]
mov esi, dword [esp + 0x8c]
xor ecx, ecx
movss dword [esp + 0xa4], xmm0
movss xmm0, dword [esp + 0xb4]
movss dword [esp + 0x68], xmm1
movss dword [esp + 0x100], xmm0
nop
mov eax, dword [esp + ecx*4 + 0x114]
lea edi, [ecx + 1]
movd xmm0, edi
cvtdq2ps xmm0, xmm0
push eax
push eax
lea eax, [esp + 0xac]
mulss xmm0, xmm1
addss xmm0, xmm3
movss dword [esp + 0xb0], xmm0
movd xmm0, ecx
mov ecx, dword [esp + ecx*4 + 0x118]
cvtdq2ps xmm0, xmm0
push ecx
push ecx
push eax
lea eax, [esp + 0x114]
mov ecx, esi
push eax
mulss xmm0, xmm1
addss xmm0, xmm3
movss dword [esp + 0x11c], xmm0
call fcn.100212b0
movss xmm1, dword [esp + 0x68]
mov ecx, edi
movss xmm3, dword [esp + 0x2c]
cmp ecx, 6
jl 0x10033140
movss xmm0, dword [esp + 0xd8]
movss dword [esp + 0x30], xmm0
movss xmm0, dword [esp + 0x40]
movss dword [esp + 0x34], xmm0
movss xmm0, dword [esp + 0xb4]
push dword [esp + 0x34]
movss dword [esp + 0x58], xmm0
movaps xmm0, xmm3
push dword [esp + 0x34]
movss dword [esp + 0x60], xmm0
xorps xmm0, xmm0
push dword [esp + 0x60]
push dword [esp + 0x60]
call fcn.10008810
mov esi, dword [esp + 0xa4]
movss xmm1, dword [esp + 0x80]
addss xmm1, dword [0x1003fe94]
mov edi, dword [esp + 0x9c]
mov ecx, edi
movd xmm2, esi
cvtdq2ps xmm2, xmm2
movaps xmm0, xmm2
movss dword [esp + 0x44], xmm2
addss xmm0, dword [0x1003fe64]
push dword [esp + 0x44]
movss dword [esp + 0x44], xmm0
movss xmm0, dword [esp + 0xc8]
subss xmm0, dword [0x1003fe64]
push dword [esp + 0x44]
movss dword [esp + 0x6c], xmm0
movss xmm0, dword [esp + 0x34]
mulss xmm0, dword [esp + 0x40]
addss xmm0, dword [esp + 0x44]
addss xmm0, dword [0x1003fe24]
cvttss2si eax, xmm0
movd xmm0, eax
mov eax, dword [esp + 0x30]
cvtdq2ps xmm0, xmm0
movss xmm2, dword [eax + 0x1510]
movss dword [esp + 0x70], xmm0
push dword [esp + 0x70]
push dword [esp + 0x70]
call fcn.10030b90
add esp, 0x20
mov eax, dword [esp + 0x74]
cmp byte [esp + 0x11], 0
je 0x100332bd
movss xmm2, dword [0x1003fee0]
movss dword [esp + 0xec], xmm2
jmp 0x100332c5
movss xmm2, dword [0x1003fed4]
test eax, 0xff000000
je 0x10033300
push 0xb
push ecx
lea eax, [esp + 0x8c]
mov dword [esp], 0x40b84e89
push eax
xorps xmm3, xmm3
mov ecx, edi
call fcn.10020b90
push dword [esp + 0x74]
mov ecx, edi
push dword [edi + 0x58]
push dword [edi + 0x60]
call fcn.100206a0
mov dword [edi + 0x58], 0
test dword [esp + 0x6c], 0xff000000
je 0x10033361
movss xmm2, dword [esp + 0xec]
lea eax, [esp + 0x84]
addss xmm2, dword [0x1003fe64]
push 0xb
push ecx
mov dword [esp], 0x40b84e89
xorps xmm3, xmm3
push eax
subss xmm2, dword [0x1003fe24]
mov ecx, edi
call fcn.10020b90
push ecx
mov dword [esp], 0x3f800000
mov ecx, edi
push 1
push dword [esp + 0x74]
push dword [edi + 0x58]
push dword [edi + 0x60]
call fcn.1001fbe0
mov dword [edi + 0x58], 0
test dword [esp + 0x24], 0xff000000
je 0x100333ba
movss xmm2, dword [esp + 0xec]
lea eax, [esp + 0x84]
subss xmm2, dword [0x1003fe24]
push 0xb
push ecx
mov dword [esp], 0x40b84e89
xorps xmm3, xmm3
push eax
mov ecx, edi
call fcn.10020b90
push ecx
mov dword [esp], 0x3f800000
mov ecx, edi
push 1
push dword [esp + 0x2c]
push dword [edi + 0x58]
push dword [edi + 0x60]
call fcn.1001fbe0
mov dword [edi + 0x58], 0
cmp dword [esp + 0x9c], 0x10000
jne 0x10033577
mov eax, dword [esp + 0x14]
xorps xmm2, xmm2
movss xmm1, dword [eax + 0xc]
comiss xmm2, xmm1
jbe 0x100333e7
movss dword [esp + 0x94], xmm2
jmp 0x100333fc
movss xmm0, dword [0x1003fe64]
minss xmm0, xmm1
movss dword [esp + 0x94], xmm0
movss xmm3, dword [esp + 0xe8]
or edx, 0xffffffff
movss xmm0, dword [esp + 0x2c]
movaps xmm1, xmm3
addss xmm1, dword [esp + 0x70]
movss dword [esp + 0xa8], xmm0
xor ecx, ecx
addss xmm0, dword [esp + 0x28]
mov dword [esp + 0x34], 0
push dword [esp + 0x34]
movss dword [esp + 0xb0], xmm1
subss xmm1, xmm3
mov dword [esp + 0x34], 0
push dword [esp + 0x34]
movss dword [esp + 0xb8], xmm0
push dword [esp + 0xb8]
mulss xmm1, dword [0x1003fe24]
push dword [esp + 0xb8]
movss dword [esp + 0xb4], xmm3
push dword [esp + 0xb8]
mov edi, dword [esp + 0xb8]
push edi
call fcn.100308c0
mov ecx, dword [esp + 0x8c]
add esp, 0x18
mov eax, ecx
and eax, 0xffffff
push eax
push eax
push ecx
push ecx
mov ecx, dword [esp + 0x9c]
lea eax, [esp + 0xbc]
push eax
lea eax, [esp + 0xb8]
push eax
call fcn.100212b0
push dword [esp + 0xb0]
xorps xmm0, xmm0
push dword [esp + 0xb0]
push dword [esp + 0xb0]
push edi
call fcn.10008810
movss xmm1, dword [0x1003fe64]
movd xmm2, esi
cvtdq2ps xmm2, xmm2
mov ecx, dword [esp + 0x9c]
movaps xmm0, xmm2
movss dword [esp + 0x44], xmm2
addss xmm0, xmm1
push dword [esp + 0x44]
movss dword [esp + 0x44], xmm0
movss xmm0, dword [esp + 0xfc]
subss xmm0, xmm1
subss xmm1, dword [esp + 0xa8]
push dword [esp + 0x44]
movss dword [esp + 0x6c], xmm0
mulss xmm1, dword [esp + 0x40]
addss xmm1, dword [esp + 0x44]
addss xmm1, dword [0x1003fe24]
cvttss2si eax, xmm1
movss xmm1, dword [esp + 0x88]
addss xmm1, dword [0x1003fe94]
movd xmm0, eax
mov eax, dword [esp + 0x30]
cvtdq2ps xmm0, xmm0
movss xmm2, dword [eax + 0x1510]
movss dword [esp + 0x70], xmm0
push dword [esp + 0x70]
push dword [esp + 0x70]
call fcn.10030b90
add esp, 0x20
call fcn.10011ec0
cmp byte [esp + 0xb], 0
mov edi, dword [0x10043a6c]
je 0x10033610
mov edx, dword [esp + 0x14]
lea esi, [esp + 0x12c]
xor ecx, ecx
cmp dword [esp + 0xcc], ecx
sete cl
lea ecx, [ecx*4 + 0xc]
sub ecx, 4
jb 0x100335c1
mov eax, dword [esi]
cmp eax, dword [edx]
jne 0x100335c6
add esi, 4
add edx, 4
sub ecx, 4
jae 0x100335b0
cmp ecx, 0xfffffffc
je 0x1003360b
mov al, byte [esi]
cmp al, byte [edx]
jne 0x100335f3
cmp ecx, 0xfffffffd
je 0x1003360b
mov al, byte [esi + 1]
cmp al, byte [edx + 1]
jne 0x100335f3
cmp ecx, 0xfffffffe
je 0x1003360b
mov al, byte [esi + 2]
cmp al, byte [edx + 2]
jne 0x100335f3
cmp ecx, 0xffffffff
je 0x1003360b
mov al, byte [esi + 3]
cmp al, byte [edx + 3]
je 0x1003360b
mov eax, dword [edi + 0x19b0]
mov word [edi + 0x19f3], 0x101
or dword [eax + 0x110], 4
jmp 0x10033610
mov byte [esp + 0xb], 0
mov ecx, dword [edi + 0x19b0]
mov al, byte [esp + 0xb]
pop edi
pop esi
dec dword [ecx + 0xbc]
mov ecx, dword [esp + 0x134]
xor ecx, esp
call fcn.10038f5a
mov esp, ebp
pop ebp
ret