Function at 0x425a50
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x68
mov eax, dword [0x447150]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [0x4486e8], 1
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0x10]
mov ebx, ecx
mov dword [ebp - 0x58], eax
jne 0x425c8a
push edi
push esi
push dword [ebp + 0xc]
lea edi, [ebx + 0xa4]
push edi
call dword [sym.imp.USER32.dll_PtInRect]
cmp eax, 1
jne 0x425ad0
cmp dword [ebx + 0xb8], 0
jne 0x425aa9
push dword [ebp - 0x58]
mov dword [ebx + 0xb8], eax
call dword [sym.imp.USER32.dll_SetCapture]
sub esi, dword [ebx + 0xa8]
push 0
push edi
push dword [ebp - 0x58]
mov dword [ebx + 0xbc], esi
mov dword [ebx + 0xb4], 1
call dword [sym.imp.USER32.dll_InvalidateRect]
jmp 0x425c89
movd xmm0, dword [ebx + 0x80]
xor eax, eax
cmp esi, dword [ebx]
mov ecx, 1
mov esi, dword [sym.imp.USER32.dll_SendMessageA]
cvtdq2ps xmm0, xmm0
push 0
push 0
push 0x1028
cmovl eax, ecx
push dword [ebx + 0x2c]
subss xmm0, dword [ebx + 0x88]
mov dword [ebp - 0x60], eax
subss xmm0, dword [0x43ef30]
cvttss2si edi, xmm0
mov dword [ebp - 0x64], edi
call esi
mov ecx, dword [ebx + 0x10]
sub ecx, eax
movd xmm1, edi
cvtdq2ps xmm1, xmm1
mov dword [ebp - 0x5c], eax
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
divss xmm1, xmm0
cvttss2si ecx, xmm1
mulss xmm1, dword [0x43ef34]
lea eax, [ecx + ecx*4]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
subss xmm1, xmm0
movss xmm0, dword [0x43ef2c]
addss xmm1, dword [ebx + 0x18]
movss dword [ebx + 0x18], xmm1
cmp eax, 1
jge 0x425b67
comiss xmm1, xmm0
jb 0x425bbc
jmp 0x425b6c
comiss xmm1, xmm0
jb 0x425b6d
inc eax
cmp dword [ebp - 0x60], 0
je 0x425b77
sub dword [ebx], eax
jmp 0x425b79
add dword [ebx], eax
mov eax, dword [ebx]
cmp eax, edi
jle 0x425b83
mov dword [ebx], edi
jmp 0x425b8d
test eax, eax
jns 0x425b8d
mov dword [ebx], 0
comiss xmm1, xmm0
jb 0x425b9b
subss xmm1, xmm0
movss dword [ebx + 0x18], xmm1
mov eax, dword [ebx]
mov dword [ebx + 0xa8], eax
movd xmm0, eax
cvtdq2ps xmm0, xmm0
addss xmm0, dword [ebx + 0x88]
cvttss2si eax, xmm0
mov dword [ebx + 0xb0], eax
push 0
push 0
push 0x1004
push dword [ebx + 0x2c]
call esi
mov esi, dword [ebx + 0x10]
sub esi, dword [ebp - 0x5c]
push 1
push dword [ebx + 0x2c]
call dword [sym.imp.USER32.dll_GetScrollPos]
mov edi, eax
lea eax, [ebp - 0x54]
push eax
push dword [ebx + 0x2c]
call dword [sym.imp.USER32.dll_GetClientRect]
movd xmm0, dword [ebp - 0x64]
cvtdq2pd xmm0, xmm0
movd xmm2, esi
cvtdq2pd xmm2, xmm2
movd xmm1, dword [ebx]
divsd xmm0, xmm2
cvtdq2pd xmm1, xmm1
push dword [ebx + 0x80]
divsd xmm1, xmm0
sub esp, 8
movd xmm0, dword [ebp - 0x5c]
cvttsd2si eax, xmm1
movd xmm1, dword [ebp - 0x48]
cvtdq2ps xmm1, xmm1
sub eax, edi
cvtdq2ps xmm0, xmm0
movd xmm2, eax
lea eax, [ebp - 0x44]
divss xmm1, xmm0
cvtdq2ps xmm2, xmm2
addss xmm1, dword [0x43ef2c]
mulss xmm2, xmm1
cvtps2pd xmm0, xmm2
movsd qword [esp], xmm0
push str.pos___f__d
push eax
movsd qword [ebp - 0x68], xmm0
call fcn.0040d440
add esp, 0x14
lea eax, [ebp - 0x44]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
cvttsd2si eax, qword [ebp - 0x68]
push eax
push 0
push 0x1014
push dword [ebx + 0x2c]
call dword [sym.imp.USER32.dll_SendMessageA]
push dword [ebp - 0x58]
mov ecx, ebx
call fcn.00425730
pop edi
mov ecx, dword [ebp - 4]
xor eax, eax
pop esi
xor ecx, ebp
pop ebx
call fcn.004271bb
mov esp, ebp
pop ebp
ret 0xc