Function at 0x412f90
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
sub esp, 0x6f4
mov eax, dword [0x42400c]
xor eax, esp
mov dword [esp + 0x6f0], eax
push ebx
push esi
push edi
mov edi, ecx
test edi, edi
je 0x4134d2
movss xmm0, dword [edi + 0x320]
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
movss dword [0x46fa18], xmm0
movss xmm0, dword [edi + 0x324]
movss dword [0x46fa1c], xmm0
movss xmm0, dword [edi + 0x328]
movss dword [0x46fa20], xmm0
movss xmm0, dword [edi + 0x32c]
movss dword [0x46fa24], xmm0
mov eax, dword [edi]
mov dword [0x46f888], eax
movss xmm0, dword [edi + 0x348]
comiss xmm0, dword [edi + 0x330]
jb 0x4130f5
push 0
push 1
push 0x405
push dword [0x443dec]
call ebx
movss xmm2, dword [edi + 0x330]
movss xmm0, dword [edi + 0x348]
comiss xmm2, xmm0
movss xmm3, dword [edi + 0x344]
movss dword [esp + 0x44], xmm2
jbe 0x413052
movaps xmm1, xmm0
jmp 0x413059
movaps xmm1, xmm3
maxss xmm1, xmm2
subss xmm0, xmm3
subss xmm1, xmm3
divss xmm1, xmm0
movd xmm0, dword [edi + 0x6c]
cvtdq2ps xmm0, xmm0
mulss xmm1, xmm0
cvttss2si esi, xmm1
push esi
push 1
push 0x405
push dword [0x443de8]
call ebx
movss xmm0, dword [esp + 0x44]
lea eax, [esp + 0x48]
push esi
cvtps2pd xmm0, xmm0
sub esp, 8
movsd qword [esp], xmm0
push str._nSETTRACKpOs__input___f__TracKPos___d
push eax
call fcn.004016a0
add esp, 0x14
lea eax, [esp + 0x48]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push dword [edi + 0x6c]
movss xmm0, dword [edi + 0x348]
lea eax, [esp + 0x244]
cvtps2pd xmm0, xmm0
sub esp, 0x10
movsd qword [esp + 8], xmm0
movss xmm0, dword [edi + 0x330]
cvtps2pd xmm0, xmm0
movsd qword [esp], xmm0
push str.fVars_4___f__fVars_10____f__iVars_27____d
push eax
call fcn.004016a0
add esp, 0x1c
jmp 0x413195
push dword [edi + 0x6c]
push 1
push 0x405
push dword [0x443de8]
call ebx
movss xmm0, dword [edi + 0x348]
movss xmm2, dword [edi + 0x330]
movss xmm3, dword [edi + 0x344]
subss xmm2, xmm0
comiss xmm2, xmm0
movss dword [esp + 0x44], xmm2
jbe 0x413133
movaps xmm1, xmm0
jmp 0x41313a
movaps xmm1, xmm3
maxss xmm1, xmm2
subss xmm0, xmm3
subss xmm1, xmm3
divss xmm1, xmm0
movd xmm0, dword [edi + 0x6c]
cvtdq2ps xmm0, xmm0
mulss xmm1, xmm0
cvttss2si esi, xmm1
push esi
push 1
push 0x405
push dword [0x443dec]
call ebx
movss xmm0, dword [esp + 0x44]
lea eax, [esp + 0x48]
push esi
cvtps2pd xmm0, xmm0
sub esp, 8
movsd qword [esp], xmm0
push str._nSETTRACKpOs__input___f__TracKPos___d
push eax
call fcn.004016a0
add esp, 0x14
lea eax, [esp + 0x48]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
movss xmm0, dword [edi + 0x330]
movss dword [0x46f3e4], xmm0
movss xmm0, dword [edi + 0x348]
comiss xmm0, dword [edi + 0x33c]
jb 0x413222
push 0
push 1
push 0x405
push dword [0x443df4]
call ebx
movss xmm2, dword [edi + 0x33c]
movss xmm0, dword [edi + 0x348]
comiss xmm2, xmm0
movss xmm3, dword [edi + 0x344]
movss dword [esp + 0x44], xmm2
jbe 0x4131ef
movaps xmm1, xmm0
jmp 0x4131f6
movaps xmm1, xmm3
maxss xmm1, xmm2
subss xmm0, xmm3
subss xmm1, xmm3
divss xmm1, xmm0
movd xmm0, dword [edi + 0x6c]
cvtdq2ps xmm0, xmm0
mulss xmm1, xmm0
cvttss2si esi, xmm1
push esi
push 1
push 0x405
push dword [0x443df0]
jmp 0x413295
push dword [edi + 0x6c]
push 1
push 0x405
push dword [0x443df0]
call ebx
movss xmm0, dword [edi + 0x33c]
subss xmm0, dword [edi + 0x348]
movss xmm2, dword [edi + 0x354]
movss xmm3, dword [edi + 0x34c]
comiss xmm0, xmm2
movss dword [esp + 0x44], xmm0
jbe 0x413264
movaps xmm1, xmm2
jmp 0x41326b
movaps xmm1, xmm3
maxss xmm1, xmm0
subss xmm1, xmm3
movd xmm0, dword [edi + 0x6c]
subss xmm2, xmm3
cvtdq2ps xmm0, xmm0
divss xmm1, xmm2
mulss xmm1, xmm0
cvttss2si esi, xmm1
push esi
push 1
push 0x405
push dword [0x443df4]
call ebx
movss xmm0, dword [esp + 0x44]
lea eax, [esp + 0x48]
push esi
cvtps2pd xmm0, xmm0
sub esp, 8
movsd qword [esp], xmm0
push str._nSETTRACKpOs__input___f__TracKPos___d
push eax
call fcn.004016a0
add esp, 0x14
lea eax, [esp + 0x48]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
movss xmm0, dword [0x46fa34]
movss dword [0x46f4e0], xmm0
mov dword [0x46f3f4], 1
movss xmm0, dword [edi + 0x358]
movss dword [0x46fa50], xmm0
movss xmm0, dword [0x41f744]
comiss xmm0, dword [edi + 0x358]
jb 0x413388
push 0
push 1
push 0x405
push dword [0x443e0c]
call ebx
movss xmm1, dword [edi + 0x358]
xorps xmm0, xmm0
maxss xmm0, xmm1
movss dword [esp + 0x44], xmm1
movss xmm1, dword [0x41f744]
xorps xmm2, xmm2
minss xmm1, xmm0
movd xmm0, dword [edi + 0x6c]
cvtdq2ps xmm0, xmm0
subss xmm1, xmm2
mulss xmm1, xmm0
cvttss2si esi, xmm1
push esi
push 1
push 0x405
push dword [0x443e08]
call ebx
movss xmm0, dword [esp + 0x44]
lea eax, [esp + 0x48]
push esi
cvtps2pd xmm0, xmm0
sub esp, 8
movsd qword [esp], xmm0
push str._nSETTRACKpOs__input___f__TracKPos___d
push eax
call fcn.004016a0
lea eax, [esp + 0x5c]
jmp 0x413424
push dword [edi + 0x6c]
push 1
push 0x405
push dword [0x443e08]
call ebx
movss xmm0, dword [edi + 0x358]
xorps xmm2, xmm2
cvtps2pd xmm0, xmm0
subsd xmm0, qword [0x41f778]
cvtpd2ps xmm1, xmm0
xorps xmm0, xmm0
maxss xmm0, xmm1
movss dword [esp + 0x44], xmm1
movss xmm1, dword [0x41f780]
minss xmm1, xmm0
movd xmm0, dword [edi + 0x6c]
cvtdq2ps xmm0, xmm0
subss xmm1, xmm2
mulss xmm1, dword [0x41f72c]
mulss xmm1, xmm0
cvttss2si esi, xmm1
push esi
push 1
push 0x405
push dword [0x443e0c]
call ebx
movss xmm0, dword [esp + 0x44]
lea eax, [esp + 0x308]
push esi
cvtps2pd xmm0, xmm0
sub esp, 8
movsd qword [esp], xmm0
push str._nSETTRACKpOs__input___f__TracKPos___d
push eax
call fcn.004016a0
lea eax, [esp + 0x31c]
add esp, 0x14
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
cmp dword [0x46f994], 1
jne 0x4134d2
movss xmm0, dword [edi + 0x360]
xorps xmm2, xmm2
movss dword [0x46fa58], xmm0
xorps xmm0, xmm0
mov eax, dword [edi + 0xc8]
mov dword [0x46f950], eax
movss xmm1, dword [edi + 0x360]
maxss xmm0, xmm1
movss dword [esp + 0x44], xmm1
movss xmm1, dword [0x41f744]
minss xmm1, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
subss xmm1, xmm2
mulss xmm1, xmm0
cvttss2si esi, xmm1
push esi
push 1
push 0x405
push dword [0x443de4]
call ebx
movss xmm0, dword [esp + 0x44]
lea eax, [esp + 0x500]
push esi
cvtps2pd xmm0, xmm0
sub esp, 8
movsd qword [esp], xmm0
push str._nSETTRACKpOs__input___f__TracKPos___d
push eax
call fcn.004016a0
add esp, 0x14
lea eax, [esp + 0x500]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov ecx, dword [esp + 0x6fc]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0041a150
mov esp, ebp
pop ebp
ret