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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x584060
push eax
mov dword fs:[0], esp
sub esp, 0xa0
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov edi, dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetFocus]
cmp eax, edi
je 0x4b7a75
push edi
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, dword [esi + 0x20]
push eax
call dword [sym.imp.USER32.dll_SetCapture]
push 0xa
lea ecx, [esp + 0x98]
call sub.MFC42.DLL_CPtrList::CPtrList
mov dword [esp + 0x94], 0x599a10
mov eax, dword [esp + 0xc4]
xor ebp, ebp
and eax, 0xc
mov dword [esp + 0xb8], ebp
mov dword [esp + 0x2c], eax
je 0x4b7ac0
lea ecx, [esp + 0x94]
push ecx
mov ecx, esi
call fcn.004b81b0
push esi
lea ecx, [esp + 0x84]
call fcn.00572dba
mov eax, dword [esi + 0x20]
lea edx, [esp + 0x40]
push edx
push eax
mov byte [esp + 0xc0], 1
call dword [sym.imp.USER32.dll_GetClientRect]
mov edi, dword [sym.imp.USER32.dll_GetSystemMetrics]
push 0x45
call edi
push 0x44
mov dword [esp + 0x3c], eax
call edi
mov ecx, dword [esi + 0x20]
mov ebx, 1
push ebp
push 0x4b
push ebx
push ecx
mov dword [esp + 0x4c], eax
mov dword [esp + 0x28], ebp
call dword [sym.imp.USER32.dll_SetTimer]
push ebx
mov ecx, esi
mov dword [esp + 0x38], eax
call sub.MFC42.DLL_CWnd::GetScrollPos
push ebp
mov ecx, esi
mov edi, eax
call sub.MFC42.DLL_CWnd::GetScrollPos
mov edx, dword [esi + 0x20]
mov dword [esp + 0x50], eax
xor eax, eax
mov ebp, edi
push eax
push eax
push 0x110a
push edx
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x40], eax
call dword [sym.imp.USER32.dll_SendMessageA]
test eax, eax
je 0x4b7b7a
lea ecx, [esp + 0x1c]
push 0
push ecx
push eax
mov ecx, esi
call sub.MFC42.DLL_CTreeCtrl::GetItemRect
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x20]
sub eax, ecx
imul edi, eax
mov dword [esp + 0x30], eax
mov ebp, edi
mov edi, dword [esp + 0xc8]
mov ecx, dword [esp + 0x50]
mov eax, dword [esp + 0xcc]
add edi, ecx
add eax, ebp
mov dword [esp + 0xc8], edi
mov dword [esp + 0xcc], eax
push 0
push 0
lea edx, [esp + 0x60]
push 0
push edx
call dword [sym.imp.USER32.dll_GetMessageA]
test eax, eax
je 0x4b7e4f
mov ebp, dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetCapture]
cmp eax, ebp
jne 0x4b7e4f
mov eax, dword [esp + 0x5c]
cmp eax, 0x200
ja 0x4b7e2a
je 0x4b7c6d
sub eax, 0x100
je 0x4b7c51
sub eax, 0x13
jne 0x4b7e36
mov eax, dword [esp + 0x6c]
mov ecx, dword [esp + 0x70]
lea edx, [esp + 0x10]
mov dword [esp + 0x10], eax
push edx
push ebp
mov dword [esp + 0x1c], ecx
call dword [sym.imp.USER32.dll_ScreenToClient]
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
push eax
lea edx, [esp + 0x44]
push ecx
push edx
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
je 0x4b7c32
lea eax, [esp + 0x58]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageA]
jmp 0x4b7b9e
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
and ecx, 0xffff
and edx, 0xffff
shl ecx, 0x10
or ecx, edx
mov dword [esp + 0x64], ecx
jmp 0x4b7c71
cmp word [esp + 0x60], 0x1b
je 0x4b7e46
lea eax, [esp + 0x58]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageA]
jmp 0x4b7b9e
mov ecx, dword [esp + 0x64]
mov edx, dword [esp + 0x18]
movsx eax, cx
shr ecx, 0x10
movsx ecx, cx
test edx, edx
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], ecx
jne 0x4b7d14
sub eax, edi
cdq
xor eax, edx
sub eax, edx
mov edx, dword [esp + 0x3c]
cmp eax, edx
jg 0x4b7cb9
mov edx, dword [esp + 0xcc]
mov eax, ecx
mov ecx, dword [esp + 0x38]
sub eax, edx
cdq
xor eax, edx
sub eax, edx
cmp eax, ecx
jle 0x4b7b9e
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x18], 1
test eax, eax
jne 0x4b7cd2
push 0
mov ecx, esi
call fcn.004b7420
mov eax, dword [esi + 0x20]
push eax
call dword [sym.imp.USER32.dll_UpdateWindow]
mov ebp, dword [esp + 0xcc]
lea ecx, [esp + 0x1c]
push ebp
push edi
push ebp
push edi
push ecx
call dword [sym.imp.USER32.dll_SetRect]
push 0
mov eax, 1
push 0
push eax
push ebx
push 0
push eax
lea edx, [esp + 0x34]
push ebx
push edx
lea ecx, [esp + 0xa0]
call sub.MFC42.DLL_CDC::DrawDragRect
jmp 0x4b7d1b
mov ebp, dword [esp + 0xcc]
push 0
mov eax, 1
push 0
push eax
push ebx
push 0
push eax
lea eax, [esp + 0x34]
push ebx
push eax
lea ecx, [esp + 0xa0]
call sub.MFC42.DLL_CDC::DrawDragRect
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x44]
cmp eax, ecx
jge 0x4b7d56
mov ecx, dword [esi + 0x20]
push 0
push 0
push 0x115
push ecx
jmp 0x4b7d69
cmp eax, dword [esp + 0x4c]
jl 0x4b7d6f
mov edx, dword [esi + 0x20]
push 0
push 1
push 0x115
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x40]
cmp eax, ecx
jge 0x4b7d8a
mov eax, dword [esi + 0x20]
push 0
push 0
push 0x114
push eax
jmp 0x4b7d9d
cmp eax, dword [esp + 0x48]
jl 0x4b7da3
mov ecx, dword [esi + 0x20]
push 0
push 1
push 0x114
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
push 0
mov ecx, esi
mov dword [esp + 0x54], edi
call sub.MFC42.DLL_CWnd::GetScrollPos
push 1
mov ecx, esi
sub edi, eax
call sub.MFC42.DLL_CWnd::GetScrollPos
imul eax, dword [esp + 0x30]
mov edx, dword [esp + 0x14]
sub ebp, eax
mov eax, dword [esp + 0x10]
push edx
push eax
push ebp
lea ecx, [esp + 0x28]
push edi
push ecx
call dword [sym.imp.USER32.dll_SetRect]
lea ecx, [esp + 0x1c]
call sub.MFC42.DLL_CRect::NormalizeRect
mov eax, dword [esp + 0xc4]
lea edx, [esp + 0x94]
push edx
lea ecx, [esp + 0x20]
push eax
push ecx
mov ecx, esi
call fcn.004b7f40
push 0
mov eax, 1
push 0
push eax
push ebx
push 0
push eax
lea edx, [esp + 0x34]
push ebx
push edx
lea ecx, [esp + 0xa0]
call sub.MFC42.DLL_CDC::DrawDragRect
mov edi, dword [esp + 0xc8]
jmp 0x4b7b9e
sub eax, 0x202
je 0x4b7e4f
sub eax, 3
je 0x4b7e4f
lea eax, [esp + 0x58]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageA]
jmp 0x4b7b9e
push 0
mov ecx, esi
call fcn.004b7420
mov ecx, dword [esp + 0x34]
mov edx, dword [esi + 0x20]
push ecx
push edx
call dword [sym.imp.USER32.dll_KillTimer]
call dword [sym.imp.USER32.dll_ReleaseCapture]
mov eax, dword [esp + 0x18]
test eax, eax
je 0x4b7e8e
push 0
mov eax, 1
push 0
push eax
push ebx
push 0
push eax
lea eax, [esp + 0x34]
push ebx
push eax
lea ecx, [esp + 0xa0]
call sub.MFC42.DLL_CDC::DrawDragRect
jmp 0x4b7e9f
mov eax, dword [esp + 0x2c]
test eax, eax
jne 0x4b7e9f
push 0
mov ecx, esi
call fcn.004b7420
mov eax, dword [esi + 0x20]
push eax
mov dword [esp + 0x78], eax
call dword [sym.imp.USER32.dll_GetDlgCtrlID]
mov ecx, dword [esp + 0xc0]
lea edx, [esp + 0x74]
neg ecx
sbb ecx, ecx
push edx
and ecx, 3
mov dword [esp + 0x7c], eax
add ecx, 0xfffffffb
mov dword [esp + 0x80], ecx
mov ecx, esi
call fcn.004b7340
lea eax, [esp + 0x58]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageA]
lea ecx, [esp + 0x80]
mov byte [esp + 0xb8], 0
call sub.MFC42.DLL_CClientDC::CClientDC
lea ecx, [esp + 0x94]
mov dword [esp + 0xb8], 0xffffffff
call fcn.0057362a
mov ecx, dword [esp + 0xb0]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0xac
ret 0x10