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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x158
mov eax, dword [0x1010300c]
xor eax, esp
mov dword [esp + 0x154], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x18], edx
mov edx, ecx
mov ecx, dword [0x1014ec70]
mov dword [esp + 0xd0], eax
push esi
push edi
mov eax, dword [ecx + 0x3e18]
mov dword [esp + 0x74], edx
mov dword [esp + 0x2c], ecx
mov byte [eax + 0x90], 1
mov eax, dword [ecx + 0x3e18]
mov dword [esp + 0x80], eax
cmp byte [eax + 0x93], 0
je 0x1004abf3
xor al, al
pop edi
pop esi
mov ecx, dword [esp + 0x154]
xor ecx, esp
call fcn.1008dd76
mov esp, ebp
pop ebp
ret
test byte [ecx + 0x3eac], 1
mov edi, dword [eax + 0x24c]
mov dword [esp + 0x58], edi
je 0x1004ac10
movss xmm1, dword [ecx + 0x3eb0]
jmp 0x1004ac18
movss xmm1, dword [eax + 0x188]
xorps xmm0, xmm0
comiss xmm0, xmm1
jbe 0x1004ac5a
cmp dword [eax + 0x178], 0
movss xmm0, dword [eax + 0x210]
jne 0x1004ac3a
cmp dword [ecx + 0x41ec], 0
je 0x1004ac42
movss xmm0, dword [eax + 0x1e0]
subss xmm0, dword [eax + 0xd4]
addss xmm0, xmm1
movss xmm1, dword [0x100fca9c]
maxss xmm1, xmm0
mov dword [ecx + 0x3eac], 0
mov ecx, edx
cvttss2si esi, xmm1
call fcn.1001c180
call fcn.1001d1d0
mov ecx, dword [ebp + 8]
mov edx, ecx
or edx, 0x10
test ecx, 0x100
cmovne edx, ecx
mov dword [esp + 0xdc], edx
test dl, 8
jne 0x1004aca1
mov ecx, dword [esp + 0x20]
call fcn.1004e6d0
mov edx, dword [esp + 0xdc]
test edx, 0x6000000
jne 0x1004acca
mov eax, dword [esp + 0x2c]
mov ecx, 0xa900000
mov eax, dword [eax + 0x515c]
test eax, 0x6000000
cmovne ecx, eax
and ecx, 0x6000000
or ecx, edx
jmp 0x1004accc
mov ecx, edx
mov dword [esp + 0x14], ecx
test ecx, 0x18000000
jne 0x1004acfb
mov eax, dword [esp + 0x2c]
mov edx, 0xa900000
mov eax, dword [eax + 0x515c]
test eax, 0x18000000
cmovne edx, eax
and edx, 0x18000000
or ecx, edx
mov dword [esp + 0x14], ecx
test cl, 8
jne 0x1004ad15
mov eax, dword [esp + 0x2c]
mov eax, dword [eax + 0x515c]
and eax, 0x10000
or ecx, eax
mov dword [esp + 0x14], ecx
mov eax, dword [esp + 0x80]
mov edx, ecx
and ecx, 0x10002
and edx, 2
mov dword [esp + 0x60], edx
mov dword [esp + 0xf4], ecx
movss xmm0, dword [eax + 0xd8]
movss xmm3, dword [eax + 0xd4]
mov eax, dword [0x1014ec70]
movss dword [esp + 0x28], xmm0
movss dword [esp + 0x4c], xmm0
movss dword [esp + 0x48], xmm3
movss xmm4, dword [eax + 0x37d8]
addss xmm4, xmm4
addss xmm4, dword [eax + 0x3bb4]
mov eax, dword [esp + 0x2c]
movss xmm2, dword [eax + 0x37ec]
xor eax, eax
cmp ecx, 0x10000
movss dword [esp + 0x7c], xmm4
movaps xmm0, xmm2
sete al
addss xmm0, xmm4
inc eax
movd xmm1, eax
xor eax, eax
cvtdq2ps xmm1, xmm1
test edx, edx
sete al
mulss xmm1, xmm0
lea eax, [eax*4 + 0xc]
movd xmm0, esi
cvtdq2ps xmm0, xmm0
push eax
mov dword [esp + 0xe0], eax
lea eax, [esp + 0x150]
push dword [esp + 0x24]
subss xmm0, xmm1
movaps xmm1, xmm4
push eax
maxss xmm1, xmm0
movaps xmm0, xmm3
addss xmm0, xmm1
movss dword [esp + 0x60], xmm1
movss dword [esp + 0xd8], xmm0
addss xmm0, xmm2
movss dword [esp + 0xcc], xmm0
addss xmm0, xmm4
movss dword [esp + 0x8c], xmm0
addss xmm0, xmm2
movss dword [esp + 0xdc], xmm0
movaps xmm0, xmm4
mulss xmm0, dword [0x100fca40]
cvttss2si esi, xmm0
mov dword [esp + 0xf8], esi
call sub.VCRUNTIME140.dll_memcpy
movss xmm2, dword [esp + 0x60]
add esp, 0xc
movaps xmm3, xmm2
movaps xmm1, xmm2
mulss xmm3, dword [0x100fca58]
mulss xmm1, dword [0x100fca20]
movaps xmm0, xmm3
movss dword [esp + 0x40], xmm3
addss xmm0, dword [esp + 0x28]
movss dword [esp + 0xa8], xmm1
movaps xmm4, xmm3
subss xmm4, xmm1
movaps xmm1, xmm2
addss xmm1, dword [esp + 0x7c]
movss dword [esp + 0xc8], xmm0
movss dword [esp + 0x120], xmm0
movaps xmm0, xmm2
mulss xmm0, dword [0x100fca0c]
mulss xmm1, dword [0x100fca58]
cvttss2si eax, xmm0
addss xmm1, dword [esp + 0x48]
movss dword [esp + 0x5c], xmm4
movd xmm0, eax
movss dword [esp + 0xbc], xmm1
movss dword [esp + 0x11c], xmm1
mov ecx, dword [esp + 0x20]
movaps xmm1, xmm4
cvtdq2ps xmm0, xmm0
lea eax, [ecx + 4]
mov dword [esp + 0x3c], 0
mov dword [esp + 0xd4], eax
movss xmm7, dword [ecx + 8]
subss xmm1, xmm0
movss xmm6, dword [0x100fcb28]
movss xmm5, dword [0x100fc9e4]
movss dword [esp + 0x50], xmm7
movss dword [esp + 0xf0], xmm6
movaps xmm0, xmm1
movss dword [esp + 0x38], xmm1
mulss xmm0, dword [0x100fcc68]
movaps xmm2, xmm1
mulss xmm2, dword [0x100fcc74]
movss dword [esp + 0xac], xmm0
movss dword [esp + 0x8c], xmm0
movss dword [esp + 0x12c], xmm0
movaps xmm0, xmm1
mulss xmm0, dword [0x100fca88]
movss xmm1, dword [eax]
lea eax, [ecx + 8]
movss dword [esp + 0xa4], xmm2
movss dword [esp + 0x90], xmm2
movss dword [esp + 0xb0], xmm0
movss dword [esp + 0x130], xmm0
movss xmm0, dword [ecx]
movaps xmm2, xmm0
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x14]
mov edx, eax
movss dword [esp + 0x84], xmm2
and edx, 0x8000000
movss dword [esp + 0xe4], xmm2
movaps xmm2, xmm1
movss dword [esp + 0x78], xmm2
movss dword [esp + 0xe0], xmm2
movaps xmm2, xmm7
movss dword [esp + 0x18], xmm0
movss dword [esp + 0x24], xmm1
movss dword [esp + 0x44], xmm2
movss dword [esp + 0x9c], xmm2
mov dword [esp + 0xa0], edx
je 0x1004b090
comiss xmm7, xmm1
xorps xmm3, xmm3
movaps xmm2, xmm1
movaps xmm4, xmm7
jbe 0x1004afee
movss xmm3, dword [0x100fcc78]
movaps xmm2, xmm7
movaps xmm4, xmm1
comiss xmm2, xmm0
movaps xmm7, xmm0
movss dword [esp + 0x50], xmm7
jbe 0x1004b017
movaps xmm7, xmm2
movaps xmm2, xmm0
movss xmm0, dword [0x100fcc64]
subss xmm0, xmm3
movss dword [esp + 0x50], xmm7
movaps xmm3, xmm0
movaps xmm0, xmm2
movss dword [esp + 0x18], xmm7
minss xmm0, xmm4
movaps xmm1, xmm7
subss xmm2, xmm4
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0x28]
subss xmm1, xmm0
push eax
lea edx, [esp + 0x14]
movaps xmm0, xmm1
mulss xmm0, xmm6
addss xmm0, xmm5
divss xmm2, xmm0
movaps xmm0, xmm7
addss xmm0, xmm5
addss xmm2, xmm3
divss xmm1, xmm0
andps xmm2, xmmword [0x100fd090]
movss dword [esp + 0x14], xmm2
movss dword [esp + 0x2c], xmm1
call fcn.100498b0
movss xmm0, dword [esp + 0x14]
add esp, 8
movss dword [esp + 0x18], xmm0
movss xmm0, dword [esp + 0x24]
movss dword [esp + 0x24], xmm0
jmp 0x1004b0e5
test eax, 0x10000000
je 0x1004b0e5
lea eax, [esp + 0x9c]
push eax
lea edx, [esp + 0xe4]
lea ecx, [esp + 0xe8]
call fcn.1000f490
movss xmm0, dword [esp + 0xe8]
add esp, 4
movss dword [esp + 0x84], xmm0
movss xmm0, dword [esp + 0xe0]
movss dword [esp + 0x78], xmm0
movss xmm0, dword [esp + 0x9c]
movss dword [esp + 0x44], xmm0
mov ecx, dword [0x1014ec70]
lea edx, [ecx + 0x3f8c]
mov byte [esp + 0xb], 0
mov byte [esp + 0x1e], 0
mov byte [esp + 0x13], 0
mov eax, dword [ecx + 0x3ea8]
or eax, 8
mov dword [esp + 0xc], edx
mov dword [ecx + 0x3ea8], eax
mov ecx, dword [edx + 4]
mov dword [esp + 0x34], eax
cmp dword [edx], ecx
jne 0x1004b14a
test ecx, ecx
je 0x1004b131
mov eax, ecx
cdq
sub eax, edx
mov edx, dword [esp + 0xc]
sar eax, 1
add eax, ecx
jmp 0x1004b136
mov eax, 8
mov ecx, dword [edx]
inc ecx
cmp eax, ecx
cmovg ecx, eax
push ecx
mov ecx, edx
call fcn.100241f0
mov edx, dword [esp + 0xc]
mov ecx, dword [edx]
mov eax, dword [edx + 8]
mov esi, dword [esp + 0x34]
mov dword [eax + ecx*4], esi
mov eax, dword [esp + 0x14]
mov ecx, eax
inc dword [edx]
and ecx, 0x4000000
mov dword [esp + 0x64], ecx
je 0x1004b73c
movss xmm1, dword [esp + 0x54]
lea edx, [esp + 0x68]
mov eax, dword [esp + 0x2c]
movaps xmm0, xmm1
push ecx
mov ecx, 0x100fb98c
movss dword [esp + 0x70], xmm1
addss xmm0, dword [eax + 0x37ec]
addss xmm0, dword [esp + 0x80]
movss dword [esp + 0x6c], xmm0
call fcn.1003f670
mov eax, dword [0x1014ec70]
add esp, 4
mov ecx, dword [eax + 0x3e50]
test ecx, ecx
je 0x1004b648
cmp ecx, dword [eax + 0x3ec0]
jne 0x1004b648
mov eax, dword [esp + 0x2c]
movss xmm0, dword [eax + 0x36a8]
subss xmm0, dword [esp + 0xc8]
movss xmm1, dword [eax + 0x36a4]
subss xmm1, dword [esp + 0xbc]
movss xmm4, dword [eax + 0xdb8]
movss xmm3, dword [eax + 0xdbc]
subss xmm4, dword [esp + 0xbc]
subss xmm3, dword [esp + 0xc8]
movaps xmm2, xmm0
movss dword [esp + 0xc4], xmm0
mulss xmm2, xmm0
movaps xmm0, xmm1
mulss xmm0, xmm1
movss dword [esp + 0xc], xmm1
movss xmm1, dword [0x100fca9c]
addss xmm2, xmm0
movss dword [esp + 0xe8], xmm4
movss xmm0, dword [esp + 0x5c]
subss xmm0, xmm1
movss dword [esp + 0xb4], xmm3
mulss xmm0, xmm0
comiss xmm2, xmm0
jb 0x1004b2d7
movss xmm0, dword [esp + 0x40]
addss xmm0, xmm1
mulss xmm0, xmm0
comiss xmm0, xmm2
jb 0x1004b2d7
cvtps2pd xmm0, xmm3
movsd qword [esp + 0x68], xmm0
fld qword [esp + 0x68]
cvtps2pd xmm0, xmm4
movsd qword [esp + 0x68], xmm0
fld qword [esp + 0x68]
call sub.api_ms_win_crt_math_l1_1_0.dll__CIatan2
movss xmm2, dword [0x100fcb08]
xorps xmm0, xmm0
fstp qword [esp + 0x68]
movsd xmm1, qword [esp + 0x68]
cvtpd2ps xmm1, xmm1
divss xmm1, xmm2
mulss xmm1, dword [0x100fca58]
comiss xmm0, xmm1
movss dword [esp + 0x18], xmm1
jbe 0x1004b2cf
addss xmm1, dword [0x100fca9c]
movss dword [esp + 0x18], xmm1
mov al, 1
mov byte [esp + 0xb], al
jmp 0x1004b2e9
mov al, byte [esp + 0xb]
movss xmm2, dword [0x100fcb08]
movss xmm1, dword [esp + 0x18]
movaps xmm0, xmm1
mov byte [esp + 0x1e], al
xorps xmm0, xmmword [0x100fd0a0]
addss xmm0, xmm0
mulss xmm0, xmm2
cvtss2sd xmm0, xmm0
movsd qword [esp + 0x68], xmm0
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_cos_precise
cvtsd2ss xmm0, xmm0
movss dword [esp + 0x34], xmm0
movsd xmm0, qword [esp + 0x68]
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_sin_precise
movss xmm6, dword [esp + 0x34]
xorps xmm5, xmm5
cvtsd2ss xmm5, xmm0
movss xmm1, dword [esp + 0xac]
movaps xmm3, xmm6
mulss xmm3, dword [esp + 0xc]
movaps xmm0, xmm5
mulss xmm0, dword [esp + 0xc4]
movaps xmm4, xmm6
mulss xmm4, dword [esp + 0xc4]
subss xmm3, xmm0
movss dword [esp + 0xf8], xmm5
movaps xmm0, xmm5
movss xmm7, dword [esp + 0x38]
mulss xmm0, dword [esp + 0xc]
movaps xmm5, xmm1
subss xmm5, xmm1
movaps xmm2, xmm3
addss xmm4, xmm0
movss xmm0, dword [esp + 0xa4]
subss xmm0, dword [esp + 0xb0]
subss xmm2, xmm1
subss xmm7, dword [esp + 0xac]
movss dword [esp + 0x34], xmm5
movss dword [esp + 0xc4], xmm0
movaps xmm1, xmm2
mulss xmm1, xmm0
movaps xmm0, xmm4
subss xmm0, dword [esp + 0xb0]
movss dword [esp + 0x68], xmm7
mulss xmm0, xmm5
xorps xmm5, xmm5
subss xmm1, xmm0
xorps xmm0, xmm0
subss xmm0, dword [esp + 0xa4]
comiss xmm5, xmm1
movaps xmm1, xmm0
movss dword [esp + 0xc], xmm0
movaps xmm0, xmm4
mulss xmm1, xmm2
seta cl
subss xmm0, dword [esp + 0xa4]
mulss xmm0, xmm7
subss xmm1, xmm0
comiss xmm5, xmm1
seta al
cmp al, cl
jne 0x1004b640
movss xmm0, dword [esp + 0xb0]
subss xmm4, xmm5
subss xmm3, dword [esp + 0x38]
subss xmm0, xmm5
mulss xmm3, xmm0
movss xmm0, dword [esp + 0xac]
subss xmm0, dword [esp + 0x38]
mulss xmm0, xmm4
subss xmm3, xmm0
comiss xmm5, xmm3
seta al
cmp cl, al
jne 0x1004b640
movss xmm1, dword [esp + 0xf8]
movaps xmm7, xmm6
movss xmm2, dword [esp + 0xb4]
movaps xmm0, xmm1
mulss xmm1, dword [esp + 0xe8]
mulss xmm7, dword [esp + 0xe8]
movss xmm4, dword [esp + 0xac]
mulss xmm0, xmm2
mulss xmm6, xmm2
subss xmm7, xmm0
addss xmm6, xmm1
movaps xmm1, xmm7
movss dword [esp + 0xb4], xmm7
subss xmm1, xmm4
movaps xmm0, xmm6
movss dword [esp + 0xb8], xmm6
subss xmm0, dword [esp + 0xb0]
mulss xmm1, dword [esp + 0xc4]
mulss xmm0, dword [esp + 0x34]
subss xmm1, xmm0
movaps xmm0, xmm6
subss xmm0, dword [esp + 0xa4]
comiss xmm5, xmm1
mulss xmm0, dword [esp + 0x68]
movaps xmm1, xmm7
subss xmm1, xmm4
seta cl
mulss xmm1, dword [esp + 0xc]
subss xmm1, xmm0
comiss xmm5, xmm1
seta al
cmp al, cl
jne 0x1004b543
movss xmm3, dword [esp + 0x38]
movaps xmm2, xmm7
movss xmm0, dword [esp + 0xb0]
subss xmm2, xmm3
subss xmm0, xmm5
movaps xmm1, xmm4
subss xmm1, xmm3
mulss xmm2, xmm0
movaps xmm0, xmm6
subss xmm0, xmm5
mulss xmm1, xmm0
subss xmm2, xmm1
comiss xmm5, xmm2
seta al
cmp cl, al
je 0x1004b589
lea eax, [esp + 0xb4]
push eax
lea eax, [esp + 0x130]
push eax
lea eax, [esp + 0x94]
push eax
lea edx, [esp + 0x44]
lea ecx, [esp + 0x104]
call fcn.1000eae0
movss xmm3, dword [esp + 0x44]
add esp, 0xc
movss xmm4, dword [esp + 0xac]
xorps xmm5, xmm5
movss xmm7, dword [eax]
movss xmm6, dword [eax + 4]
movss xmm1, dword [esp + 0xb0]
subss xmm7, xmm3
movaps xmm2, xmm4
subss xmm1, xmm5
movss xmm4, dword [esp + 0xa4]
subss xmm2, xmm3
subss xmm4, xmm5
subss xmm6, xmm5
movaps xmm3, xmm2
movaps xmm0, xmm4
mulss xmm3, xmm1
mulss xmm0, xmm2
mulss xmm6, xmm2
subss xmm3, xmm0
movaps xmm0, xmm7
mulss xmm0, xmm1
mulss xmm7, xmm4
subss xmm0, xmm6
movss xmm1, dword [0x100fca9c]
movss xmm4, dword [0x100fc9f8]
movaps xmm2, xmm1
subss xmm6, xmm7
movss dword [esp + 0x24], xmm4
divss xmm0, xmm3
divss xmm6, xmm3
subss xmm2, xmm0
comiss xmm4, xmm2
movaps xmm0, xmm2
subss xmm0, xmm6
jbe 0x1004b611
movaps xmm3, xmm4
jmp 0x1004b618
movaps xmm3, xmm1
minss xmm3, xmm2
divss xmm0, xmm3
movss dword [esp + 0x50], xmm3
comiss xmm4, xmm0
ja 0x1004b634
movaps xmm4, xmm1
minss xmm4, xmm0
movss dword [esp + 0x24], xmm4
mov byte [esp + 0x13], 1
mov byte [esp + 0xb], 1
jmp 0x1004b648
mov al, byte [esp + 0xb]
mov byte [esp + 0x1e], al
test byte [esp + 0x14], 8
jne 0x1004b654
call fcn.1001e3b0
movss xmm2, dword [esp + 0x28]
cmp dword [esp + 0xf4], 0x10000
mov esi, dword [esp + 0xec]
jne 0x1004b9e7
mov ecx, dword [0x1014ec70]
lea edx, [esp + 0x8c]
movss xmm0, dword [esp + 0xd0]
push ecx
mov eax, dword [ecx + 0x3e18]
mov byte [eax + 0x90], 1
mov eax, dword [ecx + 0x3e18]
mov ecx, str.alpha
movss dword [eax + 0xd4], xmm0
movss xmm0, dword [esp + 0x80]
movss dword [esp + 0x90], xmm0
movss xmm0, dword [esp + 0x58]
movss dword [eax + 0xd8], xmm2
mov byte [eax + 0x115], 1
movss dword [esp + 0x94], xmm0
call fcn.1003f670
mov eax, dword [0x1014ec70]
add esp, 4
mov ecx, dword [eax + 0x3e50]
test ecx, ecx
je 0x1004b9e7
cmp ecx, dword [eax + 0x3ec0]
jne 0x1004b9e7
mov eax, dword [esp + 0x2c]
xorps xmm2, xmm2
movss xmm0, dword [esp + 0x54]
movss xmm1, dword [0x100fca9c]
subss xmm0, xmm1
movss xmm3, dword [eax + 0xdbc]
subss xmm3, dword [esp + 0x28]
divss xmm3, xmm0
comiss xmm2, xmm3
jbe 0x1004b9cb
xorps xmm4, xmm4
jmp 0x1004b9d2
test eax, 0x2000000
je 0x1004b654
movss xmm0, dword [esp + 0x54]
lea edx, [esp + 0x8c]
push ecx
mov ecx, 0x100fb990
movss dword [esp + 0x90], xmm0
movss dword [esp + 0x94], xmm0
call fcn.1003f670
mov edx, dword [0x1014ec70]
add esp, 4
mov eax, dword [edx + 0x3e50]
test eax, eax
je 0x1004b8b6
cmp eax, dword [edx + 0x3ec0]
jne 0x1004b8b6
mov ecx, dword [esp + 0x2c]
xorps xmm0, xmm0
movss xmm4, dword [esp + 0x54]
movss xmm1, dword [0x100fca9c]
subss xmm4, xmm1
movss xmm2, dword [ecx + 0xdb8]
subss xmm2, dword [esp + 0x48]
movss dword [esp + 0xc], xmm4
divss xmm2, xmm4
comiss xmm0, xmm2
jbe 0x1004b7d2
movss dword [esp + 0x24], xmm0
jmp 0x1004b7df
movaps xmm3, xmm1
minss xmm3, xmm2
movss dword [esp + 0x24], xmm3
movss xmm2, dword [ecx + 0xdbc]
subss xmm2, dword [esp + 0x28]
divss xmm2, xmm4
comiss xmm0, xmm2
jbe 0x1004b7fb
xorps xmm3, xmm3
jmp 0x1004b802
movaps xmm3, xmm1
minss xmm3, xmm2
mov eax, dword [esp + 0xd4]
movaps xmm2, xmm1
subss xmm2, xmm3
movss xmm4, dword [eax]
mov eax, dword [esp + 0x30]
movss dword [esp + 0x50], xmm2
movss xmm5, dword [eax]
mov eax, dword [esp + 0x20]
movss xmm2, dword [eax]
comiss xmm0, xmm2
jbe 0x1004b834
xorps xmm3, xmm3
jmp 0x1004b83b
movaps xmm3, xmm1
minss xmm3, xmm2
comiss xmm0, xmm4
movss xmm6, dword [0x100fcc04]
movss xmm2, dword [0x100fca58]
mulss xmm3, xmm6
addss xmm3, xmm2
cvttss2si esi, xmm3
jbe 0x1004b861
xorps xmm3, xmm3
jmp 0x1004b868
movaps xmm3, xmm1
minss xmm3, xmm4
mulss xmm3, xmm6
addss xmm3, xmm2
cvttss2si eax, xmm3
shl eax, 8
or esi, eax
comiss xmm0, xmm5
jbe 0x1004b883
xorps xmm1, xmm1
jmp 0x1004b887
minss xmm1, xmm5
mulss xmm1, xmm6
addss xmm1, xmm2
cvttss2si eax, xmm1
shl eax, 0x10
or eax, esi
cmp dword [ecx + 0x5168], eax
jne 0x1004b8ae
movss xmm0, dword [ecx + 0x5160]
movss dword [esp + 0x18], xmm0
mov al, 1
mov byte [esp + 0xb], al
jmp 0x1004b8ce
movss xmm0, dword [esp + 0x54]
subss xmm0, dword [0x100fca9c]
mov al, byte [esp + 0xb]
movss dword [esp + 0xc], xmm0
test byte [esp + 0x14], 8
mov byte [esp + 0x13], al
mov byte [esp + 0x1f], al
jne 0x1004b8e8
call fcn.1001e3b0
mov edx, dword [0x1014ec70]
mov eax, dword [edx + 0x3e18]
movss xmm0, dword [esp + 0xc0]
push ecx
mov ecx, 0x100fb994
mov byte [eax + 0x90], 1
mov eax, dword [edx + 0x3e18]
lea edx, [esp + 0x90]
movss dword [eax + 0xd4], xmm0
movss xmm0, dword [esp + 0x2c]
movss dword [eax + 0xd8], xmm0
movss xmm0, dword [esp + 0x80]
movss dword [esp + 0x90], xmm0
movss xmm0, dword [esp + 0x58]
mov byte [eax + 0x115], 1
movss dword [esp + 0x94], xmm0
call fcn.1003f670
mov eax, dword [0x1014ec70]
add esp, 4
mov ecx, dword [eax + 0x3e50]
test ecx, ecx
je 0x1004b654
mov dl, byte [esp + 0xb]
mov byte [esp + 0x13], dl
cmp ecx, dword [eax + 0x3ec0]
jne 0x1004b654
mov eax, dword [esp + 0x2c]
xorps xmm0, xmm0
movss xmm2, dword [esp + 0x28]
movss xmm1, dword [eax + 0xdbc]
subss xmm1, xmm2
divss xmm1, dword [esp + 0xc]
comiss xmm0, xmm1
ja 0x1004b9ae
movss xmm0, dword [0x100fca9c]
minss xmm0, xmm1
mov al, byte [esp + 0x1f]
movss dword [esp + 0x18], xmm0
mov byte [esp + 0x1e], 1
mov byte [esp + 0xb], 1
mov byte [esp + 0x13], al
jmp 0x1004b65a
movaps xmm4, xmm1
minss xmm4, xmm3
mov eax, dword [esp + 0x20]
movaps xmm0, xmm1
subss xmm0, xmm4
mov byte [esp + 0xb], 1
movss dword [eax + 0xc], xmm0
mov edx, dword [0x1014ec70]
dec dword [edx + 0x3f8c]
mov ecx, dword [edx + 0x3f8c]
mov eax, dword [edx + 0x3f94]
mov eax, dword [eax + ecx*4 - 4]
mov dword [edx + 0x3ea8], eax
mov eax, dword [esp + 0x14]
mov ecx, eax
and ecx, 0x100
mov dword [esp + 0x34], ecx
jne 0x1004ba38
mov eax, dword [esp + 0x2c]
xorps xmm0, xmm0
movss xmm1, dword [eax + 0x37ec]
call fcn.1001cfa0
call fcn.1001d1d0
mov eax, dword [esp + 0x14]
and eax, 0x80
mov dword [esp + 0xb4], eax
jne 0x1004baa3
mov ecx, dword [esp + 0x74]
cmp ecx, 0xffffffff
jae 0x1004baa3
nop
mov dl, byte [ecx]
test dl, dl
je 0x1004ba66
cmp dl, 0x23
jne 0x1004ba60
cmp byte [ecx + 1], dl
je 0x1004ba66
inc ecx
cmp ecx, 0xffffffff
jb 0x1004ba50
mov eax, dword [esp + 0x74]
mov dword [esp + 0xc], ecx
cmp eax, ecx
je 0x1004baa3
cmp dword [esp + 0x34], 0
je 0x1004ba95
mov eax, dword [esp + 0x2c]
xorps xmm0, xmm0
movss xmm1, dword [eax + 0x37ec]
call fcn.1001cfa0
mov ecx, dword [esp + 0xc]
mov eax, dword [esp + 0x74]
mov edx, ecx
mov ecx, eax
push 0
call fcn.1003e370
add esp, 4
cmp dword [esp + 0x34], 0
jne 0x1004bcdf
mov eax, dword [0x1014ec70]
lea edx, [eax + 0x3f8c]
mov dword [esp + 0x34], edx
mov ecx, dword [eax + 0x3ea8]
or ecx, 0x10
mov dword [eax + 0x3ea8], ecx
mov dword [esp + 0x68], ecx
mov ecx, dword [edx + 4]
cmp dword [edx], ecx
jne 0x1004bb03
test ecx, ecx
je 0x1004baea
mov eax, ecx
cdq
sub eax, edx
mov edx, dword [esp + 0x34]
sar eax, 1
add eax, ecx
jmp 0x1004baef
mov eax, 8
mov ecx, dword [edx]
inc ecx
cmp eax, ecx
cmovg ecx, eax
push ecx
mov ecx, edx
call fcn.100241f0
mov edx, dword [esp + 0x34]
mov ecx, dword [edx]
mov eax, dword [edx + 8]
mov edi, dword [esp + 0x68]
mov dword [eax + ecx*4], edi
inc dword [edx]
cmp dword [esp + 0x60], 0
mov eax, dword [esp + 0x20]
je 0x1004bb26
movss xmm1, dword [0x100fca9c]
jmp 0x1004bb2b
movss xmm1, dword [eax + 0xc]
cmp dword [esp + 0xb4], 0
movss xmm0, dword [eax]
mov eax, dword [esp + 0xd4]
mov edi, dword [esp + 0x58]
movss dword [esp + 0x12c], xmm0
movss dword [esp + 0x138], xmm1
movss xmm0, dword [eax]
mov eax, dword [esp + 0x30]
movss dword [esp + 0x130], xmm0
movss xmm0, dword [eax]
movss dword [esp + 0x134], xmm0
je 0x1004bb81
push str.Current
call fcn.1003ea50
add esp, 4
movss xmm1, dword [esp + 0x7c]
lea ecx, [esp + 0x8c]
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x12c]
movaps xmm0, xmm1
and eax, 0x180e0040
mulss xmm0, dword [0x100fcb04]
push ecx
push eax
mov ecx, str.current
mov dword [esp + 0x100], eax
movss dword [esp + 0x70], xmm0
movss dword [esp + 0x94], xmm0
movaps xmm0, xmm1
addss xmm0, xmm1
movss dword [esp + 0xbc], xmm0
movss dword [esp + 0x98], xmm0
call fcn.1004d560
add esp, 8
cmp dword [esp + 0xd8], 0
je 0x1004bcb8
push str.Original
call fcn.1003ea50
mov eax, dword [esp + 0xdc]
add esp, 4
cmp dword [esp + 0x60], 0
je 0x1004bc1a
movss xmm1, dword [0x100fca9c]
jmp 0x1004bc1f
movss xmm1, dword [eax + 0xc]
movss xmm0, dword [eax]
lea edx, [esp + 0x13c]
movss dword [esp + 0x13c], xmm0
mov ecx, str.original
movss xmm0, dword [eax + 4]
movss dword [esp + 0x140], xmm0
movss xmm0, dword [eax + 8]
lea eax, [esp + 0x8c]
movss dword [esp + 0x144], xmm0
movss xmm0, dword [esp + 0x68]
push eax
push dword [esp + 0xfc]
movss dword [esp + 0x94], xmm0
movss xmm0, dword [esp + 0xbc]
movss dword [esp + 0x150], xmm1
movss dword [esp + 0x98], xmm0
call fcn.1004d560
add esp, 8
test al, al
je 0x1004bcb8
push dword [esp + 0xdc]
push dword [esp + 0xdc]
push dword [esp + 0x28]
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov byte [esp + 0xb], 1
mov edx, dword [0x1014ec70]
dec dword [edx + 0x3f8c]
mov eax, dword [edx + 0x3f94]
mov ecx, dword [edx + 0x3f8c]
mov eax, dword [eax + ecx*4 - 4]
mov dword [edx + 0x3ea8], eax
call fcn.1001d300
cmp byte [esp + 0x1e], 0
jne 0x1004bcf1
cmp byte [esp + 0x13], 0
je 0x1004bde2
cmp dword [esp + 0xa0], 0
je 0x1004be0b
push dword [esp + 0x30]
mov edx, dword [esp + 0xd8]
mov ecx, dword [esp + 0x24]
movss xmm2, dword [esp + 0x54]
movss xmm1, dword [esp + 0x28]
movss xmm0, dword [esp + 0x1c]
call fcn.1000f490
mov ecx, dword [esp + 0x30]
add esp, 4
movss xmm0, dword [esp + 0x18]
mov eax, dword [esp + 0xd4]
movss xmm1, dword [0x100fca9c]
movss dword [ecx + 0x5160], xmm0
movss xmm0, dword [esp + 0x24]
movss dword [ecx + 0x5164], xmm0
xorps xmm0, xmm0
movss xmm4, dword [eax]
mov eax, dword [esp + 0x30]
movss xmm5, dword [eax]
mov eax, dword [esp + 0x20]
movss xmm2, dword [eax]
comiss xmm0, xmm2
jbe 0x1004bd78
xorps xmm3, xmm3
jmp 0x1004bd7f
movaps xmm3, xmm1
minss xmm3, xmm2
comiss xmm0, xmm4
movss xmm6, dword [0x100fcc04]
movss xmm2, dword [0x100fca58]
mulss xmm3, xmm6
addss xmm3, xmm2
cvttss2si edx, xmm3
jbe 0x1004bda5
xorps xmm3, xmm3
jmp 0x1004bdac
movaps xmm3, xmm1
minss xmm3, xmm4
mulss xmm3, xmm6
addss xmm3, xmm2
cvttss2si eax, xmm3
shl eax, 8
or edx, eax
comiss xmm0, xmm5
jbe 0x1004bdc7
xorps xmm1, xmm1
jmp 0x1004bdcb
minss xmm1, xmm5
mulss xmm1, xmm6
addss xmm1, xmm2
cvttss2si eax, xmm1
shl eax, 0x10
or eax, edx
mov dword [ecx + 0x5168], eax
mov eax, dword [esp + 0x14]
mov byte [esp + 0x1f], 0
test al, 0x20
jne 0x1004c1a9
cmp dword [esp + 0xf4], 0x10000
jne 0x1004be3c
movss xmm0, dword [esp + 0xd0]
jmp 0x1004be45
mov eax, dword [esp + 0x14]
test eax, 0x10000000
je 0x1004bde6
mov ecx, dword [esp + 0x20]
movss xmm0, dword [esp + 0x18]
movss dword [ecx], xmm0
movss xmm0, dword [esp + 0x24]
movss dword [ecx + 4], xmm0
movss xmm0, dword [esp + 0x50]
movss dword [ecx + 8], xmm0
jmp 0x1004bde6
movss xmm0, dword [esp + 0xc0]
addss xmm0, dword [esp + 0x7c]
subss xmm0, dword [esp + 0x48]
call fcn.1001d050
mov eax, dword [esp + 0x14]
mov edx, eax
and edx, 0x198e001a
mov dword [esp + 0x74], edx
test eax, 0x100000
jne 0x1004be81
mov ecx, eax
and ecx, 0x700000
mov dword [esp + 0xc], ecx
jne 0x1004bee1
mov dword [esp + 0xc], ecx
jmp 0x1004be8a
and eax, 0x700000
mov dword [esp + 0xc], eax
or edx, 0x100004
mov ecx, str.rgb
push edx
mov edx, dword [esp + 0x24]
call fcn.100499a0
add esp, 4
test al, al
je 0x1004bed5
mov eax, dword [esp + 0x2c]
cmp dword [eax + 0x3e50], 0
je 0x1004bec1
cmp byte [eax + 0x3e5d], 0
mov byte [esp + 0x1f], 1
je 0x1004bec6
mov byte [esp + 0x1f], 0
mov ecx, dword [esp + 0xc]
mov byte [esp + 0xb], 1
mov dword [esp + 0xc], ecx
jmp 0x1004bed9
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x74]
mov eax, dword [esp + 0x14]
test eax, 0x200000
jne 0x1004beec
test ecx, ecx
jne 0x1004bf10
or edx, 0x200004
mov ecx, str.hsv
push edx
mov edx, dword [esp + 0x24]
call fcn.100499a0
mov ecx, dword [esp + 0x10]
add esp, 4
or byte [esp + 0xb], al
mov eax, dword [esp + 0x14]
test eax, 0x400000
jne 0x1004bf1b
test ecx, ecx
jne 0x1004bf3a
mov eax, dword [esp + 0x74]
mov ecx, str.hex
mov edx, dword [esp + 0x20]
or eax, 0x400004
push eax
call fcn.100499a0
add esp, 4
or byte [esp + 0xb], al
cmp byte [esp + 0x1f], 0
mov ecx, dword [0x1014ec70]
mov eax, dword [ecx + 0x3e18]
mov byte [eax + 0x90], 1
mov edx, dword [ecx + 0x3e18]
mov ecx, dword [edx + 0x190]
mov eax, dword [edx + 0x198]
mov eax, dword [eax + ecx*4 - 4]
mov dword [edx + 0x188], eax
lea eax, [ecx - 1]
mov ecx, dword [esp + 0x20]
mov dword [edx + 0x190], eax
je 0x1004c070
cmp dword [esp + 0xa0], 0
je 0x1004c070
movss xmm3, dword [ecx + 4]
lea eax, [ecx + 4]
movss xmm5, dword [ecx + 8]
lea edx, [ecx + 8]
comiss xmm5, xmm3
movss xmm4, dword [ecx]
xorps xmm2, xmm2
xorps xmm6, xmm6
jbe 0x1004bfbf
movss xmm6, dword [0x100fcc78]
movaps xmm0, xmm3
movaps xmm3, xmm5
movaps xmm5, xmm0
comiss xmm3, xmm4
jbe 0x1004bfdc
movaps xmm0, xmm4
movaps xmm4, xmm3
movaps xmm3, xmm0
movss xmm0, dword [0x100fcc64]
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 [0x100fc9e4]
movaps xmm7, xmm1
mulss xmm1, dword [0x100fcb28]
divss xmm7, xmm0
addss xmm1, dword [0x100fc9e4]
divss xmm3, xmm1
addss xmm3, xmm6
movss xmm6, dword [0x100fd090]
andps xmm3, xmm6
comiss xmm2, xmm3
jb 0x1004c07c
movss xmm0, dword [esp + 0x18]
comiss xmm0, xmm2
jbe 0x1004c07c
comiss xmm2, xmm4
jb 0x1004c187
movss xmm1, dword [esp + 0x50]
ucomiss xmm1, xmm4
lahf
test ah, 0x44
jnp 0x1004c184
movaps xmm2, xmm1
movss xmm1, dword [esp + 0x24]
mulss xmm2, dword [0x100fca58]
push edx
lea edx, [ecx + 4]
call fcn.1000f490
mov ecx, dword [esp + 0x24]
add esp, 4
movss xmm6, dword [0x100fd090]
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x14]
cmp byte [esp + 0xb], 0
je 0x1004c238
cmp dword [esp + 0xa0], 0
je 0x1004c1be
movss xmm0, dword [ecx + 4]
xorps xmm3, xmm3
movss xmm1, dword [edx]
movaps xmm2, xmm0
comiss xmm1, xmm0
movss xmm7, dword [ecx]
movaps xmm5, xmm1
movss dword [esp + 0x84], xmm7
movss dword [esp + 0x78], xmm0
movss dword [esp + 0x44], xmm1
jbe 0x1004c0d7
movss xmm3, dword [0x100fcc78]
movaps xmm2, xmm1
movaps xmm5, xmm0
comiss xmm2, xmm7
movaps xmm4, xmm7
movss dword [esp + 0x50], xmm4
jbe 0x1004c100
movss xmm0, dword [0x100fcc64]
movaps xmm4, xmm2
subss xmm0, xmm3
movss dword [esp + 0x50], xmm4
movaps xmm2, xmm7
movaps xmm3, xmm0
movaps xmm0, xmm2
movss dword [esp + 0x18], xmm4
minss xmm0, xmm5
movaps xmm1, xmm4
subss xmm2, xmm5
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0x28]
subss xmm1, xmm0
push eax
lea edx, [esp + 0x14]
movaps xmm0, xmm1
mulss xmm0, dword [0x100fcb28]
addss xmm0, dword [0x100fc9e4]
divss xmm2, xmm0
movaps xmm0, xmm4
addss xmm0, dword [0x100fc9e4]
addss xmm2, xmm3
divss xmm1, xmm0
andps xmm2, xmm6
movss dword [esp + 0x14], xmm2
movss dword [esp + 0x2c], xmm1
call fcn.100498b0
movss xmm3, dword [esp + 0x14]
add esp, 8
movss xmm0, dword [esp + 0x24]
movss dword [esp + 0x18], xmm3
movss dword [esp + 0x24], xmm0
jmp 0x1004c23e
lea eax, [ecx + 4]
comiss xmm2, xmm7
jb 0x1004c07c
movss xmm1, dword [esp + 0x24]
movaps xmm2, xmm4
mulss xmm1, dword [0x100fca58]
push edx
mov edx, eax
jmp 0x1004c064
movss xmm6, dword [0x100fd090]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x30]
jmp 0x1004c080
test eax, 0x10000000
je 0x1004c238
movss xmm1, dword [edx]
lea eax, [esp + 0x9c]
movss xmm3, dword [ecx + 4]
lea edx, [esp + 0xe0]
movss xmm0, dword [ecx]
movaps xmm2, xmm1
movss dword [esp + 0x50], xmm1
lea ecx, [esp + 0xe4]
push eax
movaps xmm1, xmm3
movss dword [esp + 0x1c], xmm0
movss dword [esp + 0x28], xmm3
call fcn.1000f490
movss xmm0, dword [esp + 0xe8]
add esp, 4
movss dword [esp + 0x84], xmm0
movss xmm0, dword [esp + 0xe0]
movss dword [esp + 0x78], xmm0
movss xmm0, dword [esp + 0x9c]
movss dword [esp + 0x44], xmm0
movss xmm3, dword [esp + 0x18]
mov eax, dword [esp + 0x2c]
xorps xmm0, xmm0
movss xmm2, dword [eax + 0x3798]
comiss xmm0, xmm2
movss xmm0, dword [0x100fca9c]
jbe 0x1004c25f
xorps xmm1, xmm1
jmp 0x1004c266
movaps xmm1, xmm0
minss xmm1, xmm2
mulss xmm1, dword [0x100fcc04]
mov dword [esp + 0x8c], 0x3f800000
movss dword [esp + 0x98], xmm2
movaps xmm2, xmm0
mov dword [esp + 0x90], 0x3f800000
addss xmm1, dword [0x100fca58]
mov dword [esp + 0x94], 0x3f800000
cvttss2si edx, xmm1
movaps xmm1, xmm0
movaps xmm0, xmm3
shl edx, 0x18
mov eax, edx
mov dword [esp + 0x9c], edx
or eax, 0xffffff
mov ecx, edx
mov dword [esp + 0x30], eax
or ecx, 0xff
mov eax, edx
mov dword [esp + 0x100], ecx
or eax, 0x808080
mov dword [esp + 0x118], ecx
mov dword [esp + 0xc], eax
lea ecx, [esp + 0x8c]
mov eax, edx
or eax, 0xffff
mov dword [esp + 0x104], eax
mov eax, edx
or eax, 0xff00
mov dword [esp + 0x108], eax
mov eax, edx
or eax, 0xffff00
mov dword [esp + 0x10c], eax
mov eax, edx
or eax, 0xff0000
mov dword [esp + 0x110], eax
mov eax, edx
or eax, 0xff00ff
lea edx, [esp + 0x90]
mov dword [esp + 0x114], eax
lea eax, [esp + 0x94]
push eax
call fcn.1000f490
movss xmm3, dword [esp + 0x90]
xorps xmm1, xmm1
movss xmm2, dword [0x100fca9c]
add esp, 4
comiss xmm1, xmm3
jbe 0x1004c365
xorps xmm0, xmm0
jmp 0x1004c36c
movaps xmm0, xmm2
minss xmm0, xmm3
movss xmm5, dword [0x100fcc04]
movss xmm3, dword [0x100fca58]
movss xmm4, dword [esp + 0x90]
comiss xmm1, xmm4
mulss xmm0, xmm5
addss xmm0, xmm3
cvttss2si ecx, xmm0
jbe 0x1004c39b
xorps xmm0, xmm0
jmp 0x1004c3a2
movaps xmm0, xmm2
minss xmm0, xmm4
movss xmm4, dword [esp + 0x94]
mulss xmm0, xmm5
addss xmm0, xmm3
cvttss2si eax, xmm0
shl eax, 8
or ecx, eax
comiss xmm1, xmm4
jbe 0x1004c3c6
xorps xmm0, xmm0
jmp 0x1004c3cd
movaps xmm0, xmm2
minss xmm0, xmm4
movss xmm4, dword [esp + 0x98]
mulss xmm0, xmm5
addss xmm0, xmm3
cvttss2si eax, xmm0
shl eax, 0x10
or ecx, eax
comiss xmm1, xmm4
jbe 0x1004c3f1
xorps xmm0, xmm0
jmp 0x1004c3f8
movaps xmm0, xmm2
minss xmm0, xmm4
movss xmm4, dword [esp + 0x84]
mulss xmm0, xmm5
addss xmm0, xmm3
cvttss2si edx, xmm0
shl edx, 0x18
or edx, ecx
comiss xmm1, xmm4
mov dword [esp + 0x74], edx
jbe 0x1004c420
xorps xmm0, xmm0
jmp 0x1004c427
movaps xmm0, xmm2
minss xmm0, xmm4
movss xmm4, dword [esp + 0x78]
comiss xmm1, xmm4
mulss xmm0, xmm5
addss xmm0, xmm3
cvttss2si ecx, xmm0
jbe 0x1004c443
xorps xmm0, xmm0
jmp 0x1004c44a
movaps xmm0, xmm2
minss xmm0, xmm4
movss xmm4, dword [esp + 0x44]
mulss xmm0, xmm5
addss xmm0, xmm3
cvttss2si eax, xmm0
shl eax, 8
or ecx, eax
comiss xmm1, xmm4
jbe 0x1004c46b
xorps xmm0, xmm0
jmp 0x1004c472
movaps xmm0, xmm2
minss xmm0, xmm4
mulss xmm0, xmm5
addss xmm0, xmm3
cvttss2si eax, xmm0
shl eax, 0x10
or ecx, eax
mov eax, dword [esp + 0x2c]
movss xmm4, dword [eax + 0x3798]
comiss xmm1, xmm4
jbe 0x1004c499
xorps xmm0, xmm0
jmp 0x1004c4a0
movaps xmm0, xmm2
minss xmm0, xmm4
mulss xmm0, xmm5
mov dword [esp + 0x84], 0
mov dword [esp + 0x88], 0
addss xmm0, xmm3
cvttss2si eax, xmm0
shl eax, 0x18
or eax, ecx
cmp dword [esp + 0x64], 0
mov dword [esp + 0x78], eax
je 0x1004ce54
movss xmm1, dword [esp + 0x40]
movaps xmm4, xmm3
movss xmm0, dword [esp + 0x5c]
mov eax, 0x2aaaaaab
divss xmm4, xmm1
mov esi, dword [esp + 0x58]
addss xmm0, xmm1
cvttss2si ecx, xmm1
movaps xmm5, xmm0
movss dword [esp + 0xf8], xmm4
imul ecx
mulss xmm5, xmm3
movss dword [esp + 0x80], xmm0
mov eax, 4
movss dword [esp + 0xe8], xmm5
sar edx, 1
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
cmp ecx, eax
cmovle ecx, eax
xor eax, eax
mov dword [esp + 0xc4], ecx
mov dword [esp + 0x44], eax
nop
movd xmm1, eax
lea eax, [esp + 0x11c]
cvtdq2ps xmm1, xmm1
mov edi, dword [esi + 0x18]
push ecx
push ecx
mov ecx, esi
movaps xmm0, xmm1
addss xmm1, xmm2
divss xmm0, dword [0x100fcb28]
divss xmm1, dword [0x100fcb28]
addss xmm0, xmm0
movaps xmm2, xmm5
addss xmm1, xmm1
mulss xmm0, dword [0x100fcb08]
mulss xmm1, dword [0x100fcb08]
subss xmm0, xmm4
addss xmm1, xmm4
movaps xmm3, xmm0
movss dword [esp + 0x48], xmm0
movss dword [esp], xmm1
push eax
movss dword [esp + 0x6c], xmm1
call fcn.1002dff0
movss xmm0, dword [esp + 0xa8]
push ecx
movss dword [esp], xmm0
mov ecx, esi
push 0
push dword [esp + 0x38]
push dword [esi + 0x54]
push dword [esi + 0x5c]
call fcn.1002caf0
movss xmm0, dword [esp + 0x40]
cvtps2pd xmm0, xmm0
mov dword [esi + 0x54], 0
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_cos_precise
movss xmm1, dword [esp + 0x40]
cvtsd2ss xmm0, xmm0
mulss xmm0, dword [esp + 0x5c]
addss xmm0, dword [esp + 0xbc]
movss dword [esp + 0x68], 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 + 0xc8]
movss dword [esp + 0xb4], xmm0
movss xmm0, dword [esp + 0x60]
cvtps2pd xmm0, xmm0
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 + 0xbc]
movss dword [esp + 0x64], xmm0
cvtps2pd xmm0, xmm1
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_sin_precise
movss xmm3, dword [esp + 0x64]
xorps xmm4, xmm4
movss xmm6, dword [esp + 0xb4]
movss xmm5, dword [esp + 0x68]
cvtsd2ss xmm4, xmm0
mov eax, dword [esp + 0x44]
mov edx, dword [esi + 0x20]
movss xmm2, dword [0x100fca9c]
subss xmm3, xmm5
mulss xmm4, dword [esp + 0x5c]
mov ecx, dword [esp + eax*4 + 0x100]
mov eax, dword [esi + 0x18]
addss xmm4, dword [esp + 0xc8]
movaps xmm0, xmm3
mulss xmm0, xmm3
lea eax, [eax + eax*4]
subss xmm4, xmm6
movaps xmm1, xmm4
mulss xmm1, xmm4
addss xmm1, xmm0
movaps xmm0, xmm2
divss xmm0, xmm1
movss dword [esp + 0xb4], xmm0
lea eax, [edx + eax*4]
mov dword [esp + 0x64], eax
movzx eax, cl
mov dword [esp + 0x60], eax
mov eax, ecx
shr eax, 8
movzx eax, al
mov dword [esp + 0x40], eax
shr ecx, 0x10
movzx eax, cl
mov dword [esp + 0xa0], eax
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + eax*4 + 0x104]
movzx eax, cl
sub eax, dword [esp + 0x60]
mov dword [esp + 0x68], eax
mov eax, ecx
shr eax, 8
movzx eax, al
sub eax, dword [esp + 0x40]
shr ecx, 0x10
mov dword [esp + 0x34], eax
lea eax, [edi + edi*4]
mov edi, dword [esp + 0x64]
lea edx, [edx + eax*4]
movzx ecx, cl
sub ecx, dword [esp + 0xa0]
cmp edx, edi
jae 0x1004c811
mov eax, dword [esp + 0x34]
mov esi, dword [esp + 0x68]
movd xmm7, ecx
mov ecx, dword [esp + 0xa0]
cvtdq2ps xmm7, xmm7
nop dword [eax + eax]
movss xmm0, dword [edx]
movss xmm1, dword [edx + 4]
subss xmm0, xmm5
subss xmm1, xmm6
mulss xmm0, xmm3
mulss xmm1, xmm4
addss xmm1, xmm0
xorps xmm0, xmm0
mulss xmm1, dword [esp + 0xb4]
comiss xmm0, xmm1
jbe 0x1004c783
xorps xmm2, xmm2
jmp 0x1004c787
minss xmm2, xmm1
movd xmm1, ecx
movaps xmm0, xmm2
mulss xmm0, xmm7
cvtdq2ps xmm1, xmm1
addss xmm0, xmm1
movd xmm1, eax
cvtdq2ps xmm1, xmm1
cvttss2si ecx, xmm0
movaps xmm0, xmm2
mulss xmm0, xmm1
shl ecx, 8
movd xmm1, dword [esp + 0x40]
cvtdq2ps xmm1, xmm1
addss xmm0, xmm1
cvttss2si eax, xmm0
movd xmm0, esi
cvtdq2ps xmm0, xmm0
or ecx, eax
shl ecx, 8
mulss xmm2, xmm0
movd xmm0, dword [esp + 0x60]
cvtdq2ps xmm0, xmm0
addss xmm2, xmm0
cvttss2si eax, xmm2
movss xmm2, dword [0x100fca9c]
or ecx, eax
mov eax, dword [edx + 0x10]
and eax, 0xff000000
or ecx, eax
mov eax, dword [esp + 0x34]
mov dword [edx + 0x10], ecx
add edx, 0x14
mov ecx, dword [esp + 0xa0]
cmp edx, edi
jb 0x1004c750
mov esi, dword [esp + 0x58]
mov eax, dword [esp + 0x44]
movss xmm4, dword [esp + 0xf8]
inc eax
movss xmm5, dword [esp + 0xe8]
mov ecx, dword [esp + 0xc4]
mov dword [esp + 0x44], eax
cmp eax, 6
jl 0x1004c540
movss xmm0, dword [esp + 0x18]
mulss xmm0, dword [0x100fcae0]
mulss xmm0, dword [0x100fcb08]
movss dword [esp + 0x18], xmm0
cvtps2pd xmm0, xmm0
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_cos_precise
movss xmm3, dword [esp + 0x18]
cvtsd2ss xmm0, xmm0
movss dword [esp + 0x5c], xmm0
cvtps2pd xmm0, xmm3
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_sin_precise
cmp byte [esp + 0x1e], 0
xorps xmm2, xmm2
cvtsd2ss xmm2, xmm0
movss xmm0, dword [esp + 0x5c]
mulss xmm0, dword [esp + 0x80]
movss xmm1, dword [esp + 0xa8]
movss dword [esp + 0x64], xmm2
mulss xmm0, dword [0x100fca58]
addss xmm0, dword [esp + 0xbc]
movss dword [esp + 0x48], xmm0
movaps xmm0, xmm2
mulss xmm0, dword [esp + 0x80]
mulss xmm0, dword [0x100fca58]
addss xmm0, dword [esp + 0xc8]
movss dword [esp + 0x4c], xmm0
je 0x1004c8e8
mulss xmm1, dword [0x100fca64]
jmp 0x1004c8f0
mulss xmm1, dword [0x100fca5c]
movaps xmm0, xmm1
movss dword [esp + 0xa8], xmm1
divss xmm0, dword [0x100fcac0]
cvttss2si edi, xmm0
cmp edi, 9
jge 0x1004c914
mov edi, 9
jmp 0x1004c91e
mov eax, 0x20
cmp edi, eax
cmovg edi, eax
push edi
push dword [esp + 0x78]
lea eax, [esp + 0x50]
mov dword [esp + 0x48], edi
push eax
movaps xmm2, xmm1
mov ecx, esi
call fcn.1002f3f0
test dword [esp + 0xc], 0xff000000
mov ecx, 0x200
movss xmm6, dword [esp + 0xa8]
movss xmm2, dword [0x100fca9c]
movaps xmm4, xmm6
movss xmm5, dword [0x100fcb2c]
addss xmm4, xmm2
mov esi, dword [esp + 0xec]
movss xmm3, dword [0x100fca58]
je 0x1004ca3b
comiss xmm3, xmm4
ja 0x1004ca3b
test edi, edi
jg 0x1004c9a6
mov edi, dword [esp + 0x58]
subss xmm4, xmm3
push ecx
push 0x30
push 0
lea eax, [esp + 0x54]
mov ecx, edi
push eax
movaps xmm2, xmm4
call fcn.1002dc00
dec dword [edi + 0x54]
jmp 0x1004c9f1
cmp edi, 3
jge 0x1004c9b2
mov eax, 3
jmp 0x1004c9b9
cmp edi, ecx
mov eax, edi
cmovg eax, ecx
movd xmm1, eax
subss xmm4, xmm3
cvtdq2ps xmm1, xmm1
mov edi, dword [esp + 0x58]
dec eax
push eax
push ecx
lea eax, [esp + 0x50]
mov ecx, edi
xorps xmm3, xmm3
movaps xmm0, xmm1
subss xmm0, xmm2
movaps xmm2, xmm4
mulss xmm0, xmm5
divss xmm0, xmm1
movss dword [esp], xmm0
push eax
call fcn.1002dff0
push ecx
mov dword [esp], 0x3f800000
mov ecx, edi
push 1
push dword [esp + 0x14]
push dword [edi + 0x54]
push dword [edi + 0x5c]
call fcn.1002caf0
movss xmm2, dword [0x100fca9c]
mov ecx, 0x200
movss xmm3, dword [0x100fca58]
movss xmm5, dword [0x100fcb2c]
movss xmm6, dword [esp + 0xa8]
mov dword [edi + 0x54], 0
jmp 0x1004ca3f
mov edi, dword [esp + 0x58]
test dword [esp + 0x30], 0xff000000
je 0x1004cae5
comiss xmm3, xmm6
ja 0x1004cae5
mov eax, dword [esp + 0x40]
test eax, eax
jg 0x1004ca7b
push ecx
subss xmm6, xmm3
mov ecx, edi
push 0x30
push 0
lea eax, [esp + 0x54]
push eax
movaps xmm2, xmm6
call fcn.1002dc00
dec dword [edi + 0x54]
jmp 0x1004cac3
cmp eax, 3
jge 0x1004ca87
mov eax, 3
jmp 0x1004ca8f
cmp eax, 0x200
cmovg eax, ecx
movd xmm1, eax
subss xmm6, xmm3
cvtdq2ps xmm1, xmm1
dec eax
push eax
lea eax, [esp + 0x4c]
push ecx
xorps xmm3, xmm3
mov ecx, edi
movaps xmm0, xmm1
subss xmm0, xmm2
movaps xmm2, xmm6
mulss xmm0, xmm5
divss xmm0, xmm1
movss dword [esp], xmm0
push eax
call fcn.1002dff0
push ecx
mov dword [esp], 0x3f800000
mov ecx, edi
push 1
push dword [esp + 0x38]
push dword [edi + 0x54]
push dword [edi + 0x5c]
call fcn.1002caf0
mov dword [edi + 0x54], 0
movss xmm3, dword [esp + 0x5c]
xorps xmm1, xmm1
movss xmm5, dword [esp + 0x64]
movaps xmm2, xmm3
mulss xmm2, dword [esp + 0x38]
movaps xmm0, xmm5
mov eax, dword [0x1014ec70]
mov ecx, edi
movss xmm6, dword [esp + 0xbc]
movaps xmm4, xmm3
mulss xmm0, xmm1
push 6
movss xmm7, dword [esp + 0xcc]
mulss xmm4, dword [esp + 0xb0]
push 6
subss xmm2, xmm0
movaps xmm0, xmm3
mulss xmm0, xmm1
movaps xmm1, xmm5
mulss xmm1, dword [esp + 0xb4]
addss xmm2, xmm6
movss dword [esp + 0x48], xmm2
movss dword [esp + 0x94], xmm2
movaps xmm2, xmm5
mulss xmm2, dword [esp + 0x40]
addss xmm2, xmm0
movaps xmm0, xmm5
mulss xmm0, dword [esp + 0xac]
mulss xmm5, dword [esp + 0xb8]
addss xmm2, xmm7
movss dword [esp + 0x3c], xmm2
movss dword [esp + 0x98], xmm2
movaps xmm2, xmm4
subss xmm2, xmm0
movaps xmm0, xmm3
mulss xmm0, dword [esp + 0xac]
subss xmm4, xmm5
mulss xmm3, dword [esp + 0xb8]
addss xmm0, xmm1
addss xmm4, xmm6
addss xmm3, xmm1
addss xmm2, xmm6
addss xmm0, xmm7
movss dword [esp + 0x68], xmm4
addss xmm3, xmm7
movss dword [esp + 0x124], xmm4
movss dword [esp + 0x40], xmm2
movss dword [esp + 0x44], xmm0
movss xmm0, dword [eax + 0x3bbc]
movss dword [esp + 0x6c], xmm0
movss xmm0, dword [eax + 0x3bc0]
movss dword [esp + 0x64], xmm3
movss dword [esp + 0x128], xmm3
movss dword [esp + 0x70], xmm0
call fcn.1002c8d0
mov ecx, dword [edi + 0x38]
mov ax, word [edi + 0x28]
movss xmm2, dword [esp + 0x40]
movss xmm3, dword [esp + 0x34]
movss xmm0, dword [esp + 0x64]
movss xmm1, dword [esp + 0x68]
mov word [ecx], ax
mov eax, dword [edi + 0x34]
add dword [edi + 0x38], 2
mov edx, dword [esp + 0x74]
movss xmm5, dword [esp + 0x38]
movss dword [eax], xmm2
movss dword [eax + 4], xmm3
mov eax, dword [edi + 0x34]
movss dword [eax + 8], xmm0
movss dword [eax + 0xc], xmm1
mov eax, dword [edi + 0x34]
mov dword [eax + 0x10], edx
mov eax, dword [edi + 0x38]
inc dword [edi + 0x28]
add dword [edi + 0x34], 0x14
mov ecx, dword [edi + 0x28]
mov word [eax], cx
mov eax, dword [edi + 0x34]
add dword [edi + 0x38], 2
movss dword [eax], xmm5
movss xmm4, dword [esp + 0x3c]
movss dword [eax + 4], xmm4
mov eax, dword [edi + 0x34]
movss xmm7, dword [esp + 0x60]
movss xmm6, dword [esp + 0x5c]
movss dword [eax + 8], xmm0
movss dword [eax + 0xc], xmm1
mov eax, dword [edi + 0x34]
mov dword [eax + 0x10], edx
add dword [edi + 0x34], 0x14
inc dword [edi + 0x28]
mov eax, dword [edi + 0x38]
mov ecx, dword [edi + 0x28]
mov word [eax], cx
mov eax, dword [edi + 0x34]
add dword [edi + 0x38], 2
mov ecx, dword [esp + 0x30]
movss dword [eax], xmm7
movss dword [eax + 4], xmm6
mov eax, dword [edi + 0x34]
movss dword [eax + 8], xmm0
movss dword [eax + 0xc], xmm1
mov eax, dword [edi + 0x34]
mov dword [eax + 0x10], ecx
add dword [edi + 0x34], 0x14
mov eax, dword [edi + 0x38]
inc dword [edi + 0x28]
mov ecx, dword [edi + 0x28]
mov word [eax], cx
mov eax, dword [edi + 0x34]
add dword [edi + 0x38], 2
movss dword [eax], xmm2
movss dword [eax + 4], xmm3
mov eax, dword [edi + 0x34]
movss dword [eax + 8], xmm0
movss dword [eax + 0xc], xmm1
mov eax, dword [edi + 0x34]
mov dword [eax + 0x10], 0
add dword [edi + 0x34], 0x14
mov eax, dword [edi + 0x38]
inc dword [edi + 0x28]
mov ecx, dword [edi + 0x28]
mov word [eax], cx
mov eax, dword [edi + 0x34]
add dword [edi + 0x38], 2
mov ecx, dword [esp + 0x9c]
movss dword [eax], xmm5
movss dword [eax + 4], xmm4
mov eax, dword [edi + 0x34]
movss dword [eax + 8], xmm0
movss dword [eax + 0xc], xmm1
mov eax, dword [edi + 0x34]
mov dword [eax + 0x10], ecx
mov eax, dword [edi + 0x38]
add dword [edi + 0x34], 0x14
inc dword [edi + 0x28]
mov ecx, dword [edi + 0x28]
mov word [eax], cx
mov eax, dword [edi + 0x34]
add dword [edi + 0x38], 2
push ecx
mov dword [esp], 0x3fc00000
mov ecx, edi
push dword [esp + 0x10]
movss dword [eax], xmm7
movss dword [eax + 4], xmm6
mov eax, dword [edi + 0x34]
movss dword [eax + 8], xmm0
movss dword [eax + 0xc], xmm1
mov eax, dword [edi + 0x34]
mov dword [eax + 0x10], 0
lea eax, [esp + 0x124]
add dword [edi + 0x34], 0x14
inc dword [edi + 0x28]
push eax
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x9c]
push eax
call fcn.1002f1c0
movss xmm0, dword [0x100fca9c]
movaps xmm2, xmm0
xorps xmm1, xmm1
subss xmm2, dword [esp + 0x50]
comiss xmm1, xmm2
jbe 0x1004cdcf
xorps xmm4, xmm4
jmp 0x1004cdd6
movaps xmm4, xmm0
minss xmm4, xmm2
movss xmm3, dword [esp + 0x24]
comiss xmm1, xmm3
jbe 0x1004cde6
xorps xmm2, xmm2
jmp 0x1004cded
movaps xmm2, xmm0
minss xmm2, xmm3
movss xmm0, dword [esp + 0x40]
subss xmm0, dword [esp + 0x60]
movss xmm3, dword [esp + 0x38]
mulss xmm0, xmm2
addss xmm0, dword [esp + 0x60]
subss xmm3, xmm0
mulss xmm3, xmm4
addss xmm3, xmm0
movss xmm0, dword [esp + 0x34]
subss xmm0, dword [esp + 0x5c]
movss dword [esp + 0x84], xmm3
mulss xmm0, xmm2
movss xmm2, dword [esp + 0x3c]
addss xmm0, dword [esp + 0x5c]
subss xmm2, xmm0
mulss xmm2, xmm4
addss xmm2, xmm0
movss dword [esp + 0x88], xmm2
jmp 0x1004d1bc
test dword [esp + 0x14], 0x2000000
je 0x1004d1c8
mov eax, dword [esp + 0x30]
mov ecx, edi
movss xmm0, dword [esp + 0xcc]
push eax
push edx
push edx
movss dword [esp + 0x128], xmm0
movss xmm0, dword [esp + 0x34]
addss xmm0, dword [esp + 0x60]
push eax
lea eax, [esp + 0x12c]
push eax
lea eax, [esp + 0x5c]
push eax
movss dword [esp + 0x5c], xmm0
movss dword [esp + 0x138], xmm0
call fcn.1002ec00
mov ecx, dword [esp + 0x9c]
lea eax, [esp + 0x11c]
movss xmm0, dword [esp + 0xcc]
push ecx
push ecx
push 0
push 0
push eax
movss dword [esp + 0x130], xmm0
lea eax, [esp + 0x5c]
movss xmm0, dword [esp + 0x58]
mov ecx, edi
push eax
movss dword [esp + 0x138], xmm0
call fcn.1002ec00
movss xmm0, dword [esp + 0xcc]
movss dword [esp + 0x38], xmm0
movss xmm0, dword [esp + 0x44]
movss dword [esp + 0x3c], xmm0
xorps xmm0, xmm0
push dword [esp + 0x3c]
push dword [esp + 0x3c]
push dword [esp + 0x54]
push dword [esp + 0x54]
call fcn.10010630
movss xmm2, dword [esp + 0x34]
xorps xmm0, xmm0
movss xmm1, dword [0x100fca9c]
add esp, 0x10
comiss xmm0, xmm2
jbe 0x1004cf3e
xorps xmm3, xmm3
jmp 0x1004cf45
movaps xmm3, xmm1
minss xmm3, xmm2
movss xmm7, dword [esp + 0x54]
movss xmm6, dword [esp + 0x48]
movss xmm2, dword [0x100fca58]
mulss xmm3, xmm7
movss xmm4, dword [0x100fcae0]
movss xmm5, dword [esp + 0xcc]
addss xmm3, xmm6
addss xmm6, xmm4
subss xmm5, xmm4
addss xmm3, xmm2
cvttss2si eax, xmm3
movd xmm3, eax
cvtdq2ps xmm3, xmm3
comiss xmm6, xmm3
jbe 0x1004cf99
movss dword [esp + 0x84], xmm6
jmp 0x1004cfb2
comiss xmm3, xmm5
jbe 0x1004cfa9
movss dword [esp + 0x84], xmm5
jmp 0x1004cfb2
movss dword [esp + 0x84], xmm3
movaps xmm3, xmm1
subss xmm3, dword [esp + 0x50]
comiss xmm0, xmm3
jbe 0x1004cfc5
xorps xmm1, xmm1
jmp 0x1004cfc9
minss xmm1, xmm3
movss xmm3, dword [esp + 0x28]
mulss xmm1, xmm7
movss xmm0, dword [esp + 0x44]
subss xmm0, xmm4
addss xmm1, xmm3
addss xmm1, xmm2
cvttss2si eax, xmm1
movaps xmm1, xmm3
addss xmm1, xmm4
movd xmm2, eax
cvtdq2ps xmm2, xmm2
comiss xmm1, xmm2
jbe 0x1004d007
movss dword [esp + 0x88], xmm1
jmp 0x1004d020
comiss xmm2, xmm0
jbe 0x1004d017
movss dword [esp + 0x88], xmm0
jmp 0x1004d020
movss dword [esp + 0x88], xmm2
movss xmm0, dword [esp + 0x80]
movaps xmm1, xmm7
divss xmm1, dword [0x100fcb28]
mov esi, dword [esp + 0x58]
xor ecx, ecx
movss dword [esp + 0x11c], xmm0
movss xmm0, dword [esp + 0xc0]
movss dword [esp + 0x64], xmm1
movss dword [esp + 0x8c], xmm0
nop dword [eax + eax]
mov eax, dword [esp + ecx*4 + 0x104]
lea edi, [ecx + 1]
movd xmm0, edi
cvtdq2ps xmm0, xmm0
push eax
push eax
lea eax, [esp + 0x124]
mulss xmm0, xmm1
addss xmm0, xmm3
movss dword [esp + 0x128], xmm0
movd xmm0, ecx
mov ecx, dword [esp + ecx*4 + 0x108]
cvtdq2ps xmm0, xmm0
push ecx
push ecx
push eax
lea eax, [esp + 0xa0]
mov ecx, esi
push eax
mulss xmm0, xmm1
addss xmm0, xmm3
movss dword [esp + 0xa8], xmm0
call fcn.1002ec00
movss xmm1, dword [esp + 0x64]
mov ecx, edi
movss xmm3, dword [esp + 0x28]
cmp ecx, 6
jl 0x1004d060
movss xmm0, dword [esp + 0x80]
movss dword [esp + 0x38], xmm0
movss xmm0, dword [esp + 0x44]
movss dword [esp + 0x3c], xmm0
movss xmm0, dword [esp + 0xc0]
push dword [esp + 0x3c]
movss dword [esp + 0x4c], xmm0
movaps xmm0, xmm3
push dword [esp + 0x3c]
movss dword [esp + 0x54], xmm0
xorps xmm0, xmm0
push dword [esp + 0x54]
push dword [esp + 0x54]
call fcn.10010630
mov esi, dword [esp + 0xfc]
movss xmm1, dword [esp + 0x8c]
addss xmm1, dword [0x100fcae0]
mov edi, dword [esp + 0x68]
mov ecx, edi
movd xmm2, esi
cvtdq2ps xmm2, xmm2
movaps xmm0, xmm2
movss dword [esp + 0x4c], xmm2
addss xmm0, dword [0x100fca9c]
movss xmm2, dword [esp + 0xd0]
push dword [esp + 0x4c]
subss xmm2, dword [0x100fca9c]
movss dword [esp + 0x4c], xmm0
movss xmm0, dword [esp + 0x2c]
mulss xmm0, dword [esp + 0x68]
push dword [esp + 0x4c]
movss dword [esp + 0x60], xmm2
addss xmm0, dword [esp + 0x40]
addss xmm0, dword [0x100fca58]
cvttss2si eax, xmm0
movd xmm0, eax
mov eax, dword [esp + 0x44]
cvtdq2ps xmm0, xmm0
movss xmm2, dword [eax + 0x3798]
movss dword [esp + 0x64], xmm0
push dword [esp + 0x64]
push dword [esp + 0x64]
call fcn.1004a970
add esp, 0x20
mov eax, dword [esp + 0x78]
movss xmm3, dword [0x100fca58]
cmp byte [esp + 0x13], 0
je 0x1004d1e2
movss xmm2, dword [0x100fcb4c]
movss dword [esp + 0xf0], xmm2
jmp 0x1004d1ea
movss xmm2, dword [0x100fcb28]
test eax, 0xff000000
je 0x1004d22a
comiss xmm3, xmm2
ja 0x1004d22a
push 0xb
push ecx
lea eax, [esp + 0x8c]
mov dword [esp], 0x40b84e89
push eax
xorps xmm3, xmm3
mov ecx, edi
call fcn.1002dff0
push dword [esp + 0x78]
mov ecx, edi
push dword [edi + 0x54]
push dword [edi + 0x5c]
call fcn.1002d810
mov dword [edi + 0x54], 0
test dword [esp + 0xc], 0xff000000
movss xmm1, dword [esp + 0xf0]
movss xmm0, dword [0x100fca58]
movaps xmm2, xmm1
addss xmm2, dword [0x100fca9c]
je 0x1004d2a8
comiss xmm0, xmm2
ja 0x1004d2a8
push 0xb
push ecx
subss xmm2, xmm0
mov dword [esp], 0x40b84e89
lea eax, [esp + 0x8c]
xorps xmm3, xmm3
push eax
mov ecx, edi
call fcn.1002dff0
push ecx
mov dword [esp], 0x3f800000
mov ecx, edi
push 1
push dword [esp + 0x14]
push dword [edi + 0x54]
push dword [edi + 0x5c]
call fcn.1002caf0
movss xmm0, dword [0x100fca58]
movss xmm1, dword [esp + 0xf0]
mov dword [edi + 0x54], 0
test dword [esp + 0x30], 0xff000000
je 0x1004d2fc
comiss xmm0, xmm1
ja 0x1004d2fc
push 0xb
subss xmm1, xmm0
xorps xmm3, xmm3
push ecx
lea eax, [esp + 0x8c]
mov dword [esp], 0x40b84e89
push eax
mov ecx, edi
movaps xmm2, xmm1
call fcn.1002dff0
push ecx
mov dword [esp], 0x3f800000
mov ecx, edi
push 1
push dword [esp + 0x38]
push dword [edi + 0x54]
push dword [edi + 0x5c]
call fcn.1002caf0
mov dword [edi + 0x54], 0
cmp dword [esp + 0xf4], 0x10000
jne 0x1004d4b9
mov eax, dword [esp + 0x20]
xorps xmm1, xmm1
movss xmm2, dword [eax + 0xc]
comiss xmm1, xmm2
jbe 0x1004d329
movss dword [esp + 0x80], xmm1
jmp 0x1004d33e
movss xmm0, dword [0x100fca9c]
minss xmm0, xmm2
movss dword [esp + 0x80], xmm0
movss xmm3, dword [esp + 0xd0]
xor edx, edx
movss xmm0, dword [esp + 0x28]
movaps xmm2, xmm3
addss xmm2, dword [esp + 0x7c]
mov ecx, dword [esp + 0x58]
movss dword [esp + 0x120], xmm0
addss xmm0, dword [esp + 0x54]
mov dword [esp + 0x3c], 0
push dword [esp + 0x3c]
mov dword [esp + 0x3c], 0
push dword [esp + 0x3c]
movss dword [esp + 0x12c], xmm2
subss xmm2, xmm3
movss dword [esp + 0x130], xmm0
push dword [esp + 0x130]
movss dword [esp + 0x128], xmm3
xorps xmm3, xmm3
push dword [esp + 0x130]
mov edi, dword [esp + 0x12c]
push dword [esp + 0x130]
mulss xmm2, dword [0x100fca58]
push edi
push 0
call fcn.10033b20
mov ecx, dword [esp + 0x94]
add esp, 0x1c
mov eax, ecx
and eax, 0xffffff
push eax
push eax
push ecx
push ecx
mov ecx, dword [esp + 0x68]
lea eax, [esp + 0x134]
push eax
lea eax, [esp + 0x130]
push eax
call fcn.1002ec00
push dword [esp + 0x128]
xorps xmm0, xmm0
push dword [esp + 0x128]
push dword [esp + 0x128]
push edi
call fcn.10010630
movss xmm1, dword [0x100fca9c]
movd xmm2, esi
cvtdq2ps xmm2, xmm2
mov ecx, dword [esp + 0x68]
movaps xmm0, xmm2
movss dword [esp + 0x4c], xmm2
movss xmm2, dword [esp + 0xe0]
addss xmm0, xmm1
subss xmm2, xmm1
subss xmm1, dword [esp + 0x90]
push dword [esp + 0x4c]
movss dword [esp + 0x4c], xmm0
push dword [esp + 0x4c]
mulss xmm1, dword [esp + 0x6c]
movss dword [esp + 0x60], xmm2
addss xmm1, dword [esp + 0x40]
addss xmm1, dword [0x100fca58]
cvttss2si eax, xmm1
movss xmm1, dword [esp + 0x94]
addss xmm1, dword [0x100fcae0]
movd xmm0, eax
mov eax, dword [esp + 0x44]
cvtdq2ps xmm0, xmm0
movss xmm2, dword [eax + 0x3798]
movss dword [esp + 0x64], xmm0
push dword [esp + 0x64]
push dword [esp + 0x64]
call fcn.1004a970
add esp, 0x20
call fcn.1001d300
cmp byte [esp + 0xb], 0
mov esi, dword [0x1014ec70]
je 0x1004d53c
mov edi, dword [esp + 0xdc]
lea ecx, [esp + 0x14c]
mov edx, dword [esp + 0x20]
sub edi, 4
jb 0x1004d4f3
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x1004d4f8
add ecx, 4
add edx, 4
sub edi, 4
jae 0x1004d4e2
cmp edi, 0xfffffffc
je 0x1004d537
mov al, byte [ecx]
cmp al, byte [edx]
jne 0x1004d525
cmp edi, 0xfffffffd
je 0x1004d537
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x1004d525
cmp edi, 0xfffffffe
je 0x1004d537
mov al, byte [ecx + 2]
cmp al, byte [edx + 2]
jne 0x1004d525
cmp edi, 0xffffffff
je 0x1004d537
mov al, byte [ecx + 3]
cmp al, byte [edx + 3]
je 0x1004d537
or dword [esi + 0x3ec8], 4
mov word [esi + 0x3e60], 0x101
jmp 0x1004d53c
mov byte [esp + 0xb], 0
mov ecx, dword [esi + 0x3e18]
mov al, byte [esp + 0xb]
pop edi
pop esi
dec dword [ecx + 0xc8]
mov ecx, dword [esp + 0x154]
xor ecx, esp
call fcn.1008dd76
mov esp, ebp
pop ebp
ret