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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x5847c0
push eax
mov dword fs:[0], esp
sub esp, 0x80
lea eax, [esp + 0x18]
push ebx
push ebp
push esi
push edi
mov esi, ecx
push eax
call fcn.004bef80
mov ecx, dword [esi + 0xf4]
mov ebx, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push 0
push 0x1200
push ecx
call ebx
cmp eax, dword [esi + 0x7c]
jle 0x4be737
mov edx, dword [esi + 0xf4]
push 0
push 0
push 0x1200
push edx
call ebx
dec eax
push 0
push eax
mov eax, dword [esi + 0xf4]
push 0x1202
push eax
call ebx
test eax, eax
je 0x4be737
mov ecx, dword [esi + 0xf4]
push 0
push 0
push 0x1200
push ecx
call ebx
cmp eax, dword [esi + 0x7c]
jg 0x4be6f8
mov edx, dword [esi + 0xf4]
push 0
push 0
push 0x1200
push edx
call ebx
cmp eax, dword [esi + 0x7c]
jge 0x4be7cb
mov ebp, 0x5f3788
mov ecx, 9
xor eax, eax
lea edi, [esp + 0x6c]
push eax
rep stosd dword es:[edi], eax
mov dword [esp + 0x80], eax
push eax
mov eax, dword [esi + 0xf4]
push 0x1200
push eax
mov dword [esp + 0x7c], 7
mov dword [esp + 0x80], 0x64
mov dword [esp + 0x90], 0x4002
mov dword [esp + 0x84], ebp
call ebx
mov edx, dword [esi + 0xf4]
lea ecx, [esp + 0x6c]
push ecx
push eax
push 0x1201
push edx
call ebx
test eax, eax
jl 0x4be7cb
mov eax, dword [esi + 0xf4]
push 0
push 0
push 0x1200
push eax
call ebx
cmp eax, dword [esi + 0x7c]
jl 0x4be753
mov edx, dword [esi + 0xf4]
lea ecx, [esp + 0x38]
push ecx
push edx
call dword [sym.imp.USER32.dll_GetWindowRect]
lea eax, [esp + 0x38]
mov ecx, esi
push eax
call sub.MFC42.DLL_CWnd::ScreenToClient
mov eax, dword [esp + 0x28]
mov edx, dword [esi + 0x50]
mov ecx, dword [esp + 0x3c]
sub eax, edx
mov edx, dword [esp + 0x44]
push 1
sub edx, ecx
mov dword [esp + 0x3c], eax
push edx
mov edx, dword [esp + 0x48]
sub edx, eax
push edx
push ecx
push eax
lea ecx, [esi + 0xd4]
call sub.MFC42.DLL_CWnd::MoveWindow
mov eax, dword [esi + 0x7c]
mov dword [esp + 0x10], 0
test eax, eax
jle 0x4be954
lea ebp, [esi + 0x84]
lea ecx, [esp + 0x24]
call sub.MFC42.DLL_CString::CString_5
push 0x5e34fc
lea ecx, [esp + 0x28]
mov dword [esp + 0x9c], 0
mov dword [esp + 0x24], 0x64
call sub.MFC42.DLL_CString::operator_2
lea eax, [esp + 0x10]
lea ecx, [esp + 0x1c]
push eax
push ecx
mov ecx, ebp
mov dword [esp + 0xa0], 1
call fcn.004c0880
mov eax, dword [esi + 0x88]
mov ecx, dword [esp + 0x1c]
cmp ecx, eax
je 0x4be898
mov edx, dword [ecx + 0x10]
add ecx, 0x14
push ecx
lea ecx, [esp + 0x28]
mov dword [esp + 0x24], edx
call fcn.00572d3c
mov edx, dword [esi + 0xf4]
mov ecx, 9
xor eax, eax
lea edi, [esp + 0x48]
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x48]
push eax
push ecx
push 0x1203
push edx
mov dword [esp + 0x58], 3
call ebx
test eax, eax
je 0x4be92c
mov eax, dword [esp + 0x50]
lea ecx, [esp + 0x14]
push eax
call sub.MFC42.DLL_CString::CString_3
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x14]
push ecx
push edx
call dword [sym.imp.MSVCRT.dll__mbscmp]
mov ecx, dword [esp + 0x28]
add esp, 8
test eax, eax
jne 0x4be8f8
cmp dword [esp + 0x4c], ecx
je 0x4be923
mov eax, dword [esp + 0x24]
mov edx, dword [esi + 0xf4]
mov dword [esp + 0x50], eax
mov eax, dword [eax - 8]
mov dword [esp + 0x4c], ecx
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x58], eax
lea eax, [esp + 0x48]
push eax
push ecx
push 0x1204
push edx
call ebx
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x24]
mov dword [esp + 0x98], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov eax, dword [esp + 0x10]
mov ecx, dword [esi + 0x7c]
inc eax
cmp eax, ecx
mov dword [esp + 0x10], eax
jl 0x4be830
mov ecx, dword [esi + 0xa8]
xor ebp, ebp
mov eax, dword [ecx]
cmp eax, ecx
mov dword [esp + 0x18], eax
je 0x4be982
mov edi, dword [eax + 0x10]
lea ecx, [esp + 0x18]
add ebp, edi
call fcn.004c16d0
mov ecx, dword [esi + 0xa8]
mov eax, dword [esp + 0x18]
cmp eax, ecx
jne 0x4be966
mov eax, dword [esp + 0x34]
mov edx, dword [esp + 0x2c]
sub eax, edx
lea edi, [esi + 0x114]
cmp ebp, eax
mov dword [esi + 0x44], ebp
mov dword [esi + 0x40], eax
mov ecx, edi
jg 0x4be9c2
call sub.MFC42.DLL_CWnd::IsWindowEnabled
test eax, eax
je 0x4bea74
push 0
mov ecx, edi
call sub.MFC42.DLL_CWnd::EnableWindow
push 0
mov ecx, edi
call sub.MFC42.DLL_CWnd::ShowWindow
jmp 0x4bea74
call sub.MFC42.DLL_CWnd::IsWindowEnabled
test eax, eax
jne 0x4be9e8
push 1
mov ecx, edi
call sub.MFC42.DLL_CWnd::EnableWindow
mov eax, dword [esi + 0x64]
test eax, eax
je 0x4be9df
push 5
jmp 0x4be9e1
push 0
mov ecx, edi
call sub.MFC42.DLL_CWnd::ShowWindow
mov ebx, dword [esp + 0x34]
mov eax, dword [esp + 0x2c]
sub ebx, eax
mov eax, dword [esi + 0x4c]
mov dword [esp + 0x14], eax
mov ecx, 7
xor eax, eax
lea edi, [esp + 0x48]
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x48]
push 0x17
lea edi, [esi + 0x114]
push ecx
push 2
mov ecx, edi
mov dword [esp + 0x54], 0x1c
mov dword [esp + 0x58], 0x17
call sub.MFC42.DLL_CWnd::GetScrollInfo
mov eax, dword [esp + 0x50]
test eax, eax
jne 0x4bea4c
cmp ebp, dword [esp + 0x54]
jne 0x4bea4c
cmp ebx, dword [esp + 0x58]
jne 0x4bea4c
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x5c]
cmp edx, eax
je 0x4bea74
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x48]
push 1
push ecx
push 2
mov ecx, edi
mov dword [esp + 0x5c], 0
mov dword [esp + 0x60], ebp
mov dword [esp + 0x64], ebx
mov dword [esp + 0x68], eax
call sub.MFC42.DLL_CWnd::SetScrollInfo
mov eax, dword [esi + 0x7c]
xor ebx, ebx
cmp eax, ebx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x10], ebx
jle 0x4beb45
lea edi, [esi + 0x84]
mov ebp, 2
lea ecx, [esp + 0x24]
call sub.MFC42.DLL_CString::CString_5
push 0x5e34fc
lea ecx, [esp + 0x28]
mov dword [esp + 0x9c], ebp
mov dword [esp + 0x24], 0x64
call sub.MFC42.DLL_CString::operator_2
lea edx, [esp + 0x10]
mov ecx, edi
push edx
mov dword [esp + 0x9c], 3
call fcn.004c2390
mov ecx, dword [edi + 4]
mov dword [esp + 0x1c], eax
cmp eax, ecx
je 0x4beaeb
mov edx, dword [esp + 0x10]
cmp edx, dword [eax + 0xc]
jl 0x4beaeb
lea eax, [esp + 0x1c]
jmp 0x4beaf3
mov dword [esp + 0x14], ecx
lea eax, [esp + 0x14]
mov eax, dword [eax]
mov ecx, dword [esi + 0x88]
cmp eax, ecx
je 0x4beb13
mov ecx, dword [eax + 0x10]
add eax, 0x14
mov dword [esp + 0x20], ecx
push eax
lea ecx, [esp + 0x28]
call fcn.00572d3c
mov eax, dword [esp + 0x20]
lea ecx, [esp + 0x24]
add ebx, eax
mov dword [esp + 0x98], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov eax, dword [esp + 0x10]
mov ecx, dword [esi + 0x7c]
inc eax
cmp eax, ecx
mov dword [esp + 0x10], eax
jl 0x4bea94
mov dword [esp + 0x14], ebx
mov edx, dword [esp + 0x30]
mov ecx, dword [esp + 0x28]
sub edx, ecx
cmp ebx, edx
jg 0x4beb7f
add esi, 0x154
mov ecx, esi
call sub.MFC42.DLL_CWnd::IsWindowEnabled
test eax, eax
je 0x4bec3e
push 0
mov ecx, esi
call sub.MFC42.DLL_CWnd::EnableWindow
push 0
mov ecx, esi
call sub.MFC42.DLL_CWnd::ShowWindow
jmp 0x4bec3e
lea ebp, [esi + 0x154]
mov ecx, ebp
call sub.MFC42.DLL_CWnd::IsWindowEnabled
test eax, eax
jne 0x4bebad
push 1
mov ecx, ebp
call sub.MFC42.DLL_CWnd::EnableWindow
mov eax, dword [esi + 0x60]
test eax, eax
je 0x4beba4
push 5
jmp 0x4beba6
push 0
mov ecx, ebp
call sub.MFC42.DLL_CWnd::ShowWindow
mov ebx, dword [esp + 0x30]
mov eax, dword [esp + 0x28]
sub ebx, eax
mov esi, dword [esi + 0x50]
mov ecx, 7
xor eax, eax
lea edi, [esp + 0x6c]
push 0x17
rep stosd dword es:[edi], eax
lea eax, [esp + 0x70]
mov ecx, ebp
push eax
push 2
mov dword [esp + 0x78], 0x1c
mov dword [esp + 0x7c], 0x17
call sub.MFC42.DLL_CWnd::GetScrollInfo
mov eax, dword [esp + 0x74]
test eax, eax
jne 0x4bec0a
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x78]
cmp ecx, eax
jne 0x4bec0a
cmp ebx, dword [esp + 0x7c]
jne 0x4bec0a
cmp esi, dword [esp + 0x80]
je 0x4bec3e
mov edx, dword [esp + 0x14]
lea eax, [esp + 0x6c]
push 1
push eax
push 2
mov ecx, ebp
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], edx
mov dword [esp + 0x88], ebx
mov dword [esp + 0x8c], esi
call sub.MFC42.DLL_CWnd::SetScrollInfo
mov ecx, dword [esp + 0x90]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x8c
ret