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

Disassembly:
push 0xffffffffffffffff
push 0x56f40e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x78
push ebx
push ebp
push esi
push edi
mov edi, ecx
push edi
lea ecx, [esp + 0x78]
mov ebp, dword [edi + 0x40]
mov dword [esp + 0x18], edi
mov dword [esp + 0x14], ebp
call sub.MFC42.DLL_CClientDC::CClientDC
mov eax, dword [ebp + 0x360]
xor ebx, ebx
or esi, 0xffffffff
cmp eax, 1
mov dword [esp + 0x90], ebx
mov dword [esp + 0x2c], esi
jne 0x4d9d6d
push 0x40
push 0x5b62e8
push 0x5bc058
mov ecx, edi
call sub.MFC42.DLL_CWnd::MessageBoxA
mov dword [esp + 0x90], esi
jmp 0x4db6bc
mov eax, dword [ebp + 0x1e8]
mov esi, dword [sym.imp.USER32.dll_IsWindowVisible]
push eax
call esi
cmp eax, ebx
jne 0x4d9db2
mov ecx, dword [ebp + 0x25c]
push ecx
call esi
cmp eax, ebx
jne 0x4d9db2
mov edx, dword [ebp + 0x2d0]
push edx
call esi
cmp eax, ebx
jne 0x4d9db2
push 0x30
push 0x5b62e8
push 0x5bc044
mov ecx, edi
call sub.MFC42.DLL_CWnd::MessageBoxA
jmp 0x4db6b1
push ecx
lea eax, [ebp + 0x370]
mov ecx, esp
mov dword [esp + 0x34], esp
push eax
call sub.MFC42.DLL_CString::CString_2
push ecx
lea edx, [ebp + 0x36c]
mov ecx, esp
mov dword [esp + 0x30], esp
push edx
mov byte [esp + 0x9c], 1
call sub.MFC42.DLL_CString::CString_2
push ecx
mov byte [esp + 0x9c], 2
mov ecx, esp
mov dword [esp + 0x30], esp
push 0x5c031c
call sub.MFC42.DLL_CString::CString_2
push ecx
mov byte [esp + 0xa0], 3
mov ecx, esp
mov dword [esp + 0x30], esp
push 0x5c03d8
call sub.MFC42.DLL_CString::CString_2
mov ecx, dword [0x5c0424]
push 0x5c02c8
mov byte [esp + 0xa4], 0
call fcn.004f5990
cmp eax, ebx
je 0x4d9e4e
push 0x2034
push 0x5b62e8
push 0x5bc000
push ebx
call dword [sym.imp.USER32.dll_MessageBoxA]
cmp eax, 7
jne 0x4d9e78
jmp 0x4db6b1
cmp dword [0x5c0398], ebx
je 0x4d9e78
push 0x24
push 0x5b726c
push 0x5bbfec
mov ecx, edi
mov dword [0x5c0398], ebx
call sub.MFC42.DLL_CWnd::MessageBoxA
cmp eax, 6
jne 0x4db6b1
mov eax, dword [ebp + 0x1e8]
push eax
call esi
mov edi, dword [sym.imp.USER32.dll_GetWindowRect]
mov ebx, dword [sym.imp.GDI32.dll_DPtoLP]
test eax, eax
je 0x4d9f71
mov edx, dword [ebp + 0x1e8]
lea ecx, [esp + 0x54]
push ecx
push edx
call edi
mov esi, dword [esp + 0x14]
lea eax, [esp + 0x54]
push eax
mov ecx, esi
call sub.MFC42.DLL_CWnd::ScreenToClient
mov edx, dword [esp + 0x7c]
lea ecx, [esp + 0x54]
push 2
push ecx
push edx
call ebx
lea eax, [esp + 0x30]
mov ecx, esi
push eax
call sub.MFC42.DLL_CScrollView::GetScrollPosition
mov edx, dword [esp + 0x54]
mov esi, dword [esp + 0x5c]
mov edi, dword [esp + 0x60]
mov ecx, eax
sub esp, 0x10
mov eax, dword [ecx]
add edx, eax
add esi, eax
mov ecx, dword [ecx + 4]
mov eax, dword [esp + 0x68]
add eax, ecx
add edi, ecx
mov ecx, esp
push ebp
mov dword [esp + 0x68], edx
mov dword [esp + 0x70], esi
mov dword [ecx], edx
mov dword [esp + 0x6c], eax
mov dword [esp + 0x74], edi
mov dword [ecx + 4], eax
mov dword [ecx + 8], esi
mov dword [ecx + 0xc], edi
call fcn.004c1470
mov esi, eax
add esp, 0x14
cmp esi, 0xffffffff
je 0x4d9f57
push esi
lea edx, [esp + 0x34]
push ebp
push edx
call fcn.004bfc60
add esp, 0xc
push eax
push esi
mov ecx, ebp
mov byte [esp + 0x98], 4
call fcn.004ccd90
mov ecx, eax
add ecx, 0x50
call sub.MFC42.DLL_CString::operator_2
lea ecx, [esp + 0x30]
mov byte [esp + 0x90], 0
call sub.MFC42.DLL_CString::CString
push 0
lea ecx, [ebp + 0x1c8]
call sub.MFC42.DLL_CWnd::ShowWindow
mov dword [esp + 0x2c], 0
jmp 0x4da146
mov eax, dword [ebp + 0x25c]
push eax
call esi
test eax, eax
je 0x4da05e
mov edx, dword [ebp + 0x25c]
lea ecx, [esp + 0x54]
push ecx
push edx
call edi
mov esi, dword [esp + 0x14]
lea eax, [esp + 0x54]
push eax
mov ecx, esi
call sub.MFC42.DLL_CWnd::ScreenToClient
mov edx, dword [esp + 0x7c]
lea ecx, [esp + 0x54]
push 2
push ecx
push edx
call ebx
lea eax, [esp + 0x30]
mov ecx, esi
push eax
call sub.MFC42.DLL_CScrollView::GetScrollPosition
mov edx, dword [esp + 0x54]
mov esi, dword [esp + 0x5c]
mov edi, dword [esp + 0x60]
mov ecx, eax
sub esp, 0x10
mov eax, dword [ecx]
add edx, eax
add esi, eax
mov ecx, dword [ecx + 4]
mov eax, dword [esp + 0x68]
add eax, ecx
add edi, ecx
mov ecx, esp
push ebp
mov dword [esp + 0x68], edx
mov dword [esp + 0x70], esi
mov dword [ecx], edx
mov dword [esp + 0x6c], eax
mov dword [esp + 0x74], edi
mov dword [ecx + 4], eax
mov dword [ecx + 8], esi
mov dword [ecx + 0xc], edi
call fcn.004c1470
mov esi, eax
add esp, 0x14
cmp esi, 0xffffffff
je 0x4da044
push esi
lea edx, [esp + 0x34]
push ebp
push edx
call fcn.004bfef0
add esp, 0xc
push eax
push esi
mov ecx, ebp
mov byte [esp + 0x98], 5
call fcn.004ccd90
mov ecx, eax
add ecx, 0x50
call sub.MFC42.DLL_CString::operator_2
lea ecx, [esp + 0x30]
mov byte [esp + 0x90], 0
call sub.MFC42.DLL_CString::CString
push 0
lea ecx, [ebp + 0x23c]
call sub.MFC42.DLL_CWnd::ShowWindow
mov dword [esp + 0x2c], 1
jmp 0x4da146
mov eax, dword [ebp + 0x2d0]
push eax
call esi
test eax, eax
je 0x4da146
mov edx, dword [ebp + 0x2d0]
lea ecx, [esp + 0x54]
push ecx
push edx
call edi
mov esi, dword [esp + 0x14]
lea eax, [esp + 0x54]
push eax
mov ecx, esi
call sub.MFC42.DLL_CWnd::ScreenToClient
mov edx, dword [esp + 0x7c]
lea ecx, [esp + 0x54]
push 2
push ecx
push edx
call ebx
lea eax, [esp + 0x30]
mov ecx, esi
push eax
call sub.MFC42.DLL_CScrollView::GetScrollPosition
mov edx, dword [esp + 0x54]
mov esi, dword [esp + 0x5c]
mov edi, dword [esp + 0x60]
mov ecx, eax
sub esp, 0x10
mov eax, dword [ecx]
add edx, eax
add esi, eax
mov ecx, dword [ecx + 4]
mov eax, dword [esp + 0x68]
add eax, ecx
add edi, ecx
mov ecx, esp
push ebp
mov dword [esp + 0x68], edx
mov dword [esp + 0x70], esi
mov dword [ecx], edx
mov dword [esp + 0x6c], eax
mov dword [esp + 0x74], edi
mov dword [ecx + 4], eax
mov dword [ecx + 8], esi
mov dword [ecx + 0xc], edi
call fcn.004c1470
mov esi, eax
add esp, 0x14
cmp esi, 0xffffffff
je 0x4da131
push esi
lea edx, [esp + 0x34]
push ebp
push edx
call fcn.004c0b40
add esp, 0xc
push eax
push esi
mov ecx, ebp
mov byte [esp + 0x98], 6
call fcn.004ccd90
mov ecx, eax
add ecx, 0x50
call sub.MFC42.DLL_CString::operator_2
lea ecx, [esp + 0x30]
mov byte [esp + 0x90], 0
call sub.MFC42.DLL_CString::CString
push 0
lea ecx, [ebp + 0x2b0]
call sub.MFC42.DLL_CWnd::ShowWindow
mov dword [esp + 0x2c], 2
mov ebx, dword [esp + 0x14]
mov ecx, ebx
call fcn.004e8500
mov ecx, dword [esp + 0x54]
mov edx, dword [esp + 0x58]
sub esp, 0x10
mov eax, esp
push ebp
mov dword [eax], ecx
mov ecx, dword [esp + 0x70]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x74]
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
call fcn.004c1470
add esp, 0x14
mov edi, eax
mov ecx, ebp
mov dword [esp + 0x28], edi
push edi
call fcn.004ccd90
add eax, 0x54
mov esi, 0x5b6314
mov eax, dword [eax]
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x4da1b6
test cl, cl
je 0x4da1b2
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x4da1b6
add eax, 2
add esi, 2
test cl, cl
jne 0x4da192
xor eax, eax
jmp 0x4da1bb
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x4db66b
push edi
mov ecx, ebp
call fcn.004ccd90
add eax, 0x54
mov esi, 0x5b62bc
mov eax, dword [eax]
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x4da1f9
test cl, cl
je 0x4da1f5
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x4da1f9
add eax, 2
add esi, 2
test cl, cl
jne 0x4da1d5
xor eax, eax
jmp 0x4da1fe
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x4db66b
push edi
mov ecx, ebp
call fcn.004ccd90
add eax, 0x54
mov esi, 0x5b630c
mov eax, dword [eax]
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x4da23c
test cl, cl
je 0x4da238
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x4da23c
add eax, 2
add esi, 2
test cl, cl
jne 0x4da218
xor eax, eax
jmp 0x4da241
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x4db66b
push edi
mov ecx, ebp
call fcn.004ccd90
add eax, 0x54
mov esi, 0x5b62b4
mov eax, dword [eax]
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x4da27f
test cl, cl
je 0x4da27b
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x4da27f
add eax, 2
add esi, 2
test cl, cl
jne 0x4da25b
xor eax, eax
jmp 0x4da284
sbb eax, eax
sbb eax, 0xffffffff
xor ecx, ecx
cmp eax, ecx
je 0x4db66b
mov eax, dword [ebp + 0x364]
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], ecx
mov ecx, eax
dec eax
test ecx, ecx
je 0x4da33d
mov edx, dword [ebp + 0x350]
lea edx, [edx + eax*4]
inc eax
mov dword [esp + 0x30], eax
mov edi, dword [edx]
mov esi, 0x5b6304
mov eax, dword [edi + 8]
mov bl, byte [eax]
mov cl, bl
cmp bl, byte [esi]
jne 0x4da2e3
test cl, cl
je 0x4da2df
mov bl, byte [eax + 1]
mov cl, bl
cmp bl, byte [esi + 1]
jne 0x4da2e3
add eax, 2
add esi, 2
test cl, cl
jne 0x4da2bf
xor eax, eax
jmp 0x4da2e8
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x4da2f0
inc dword [esp + 0x18]
mov eax, dword [edi + 8]
mov esi, 0x5b6224
mov bl, byte [eax]
mov cl, bl
cmp bl, byte [esi]
jne 0x4da31c
test cl, cl
je 0x4da318
mov bl, byte [eax + 1]
mov cl, bl
cmp bl, byte [esi + 1]
jne 0x4da31c
add eax, 2
add esi, 2
test cl, cl
jne 0x4da2f8
xor eax, eax
jmp 0x4da321
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x4da329
inc dword [esp + 0x1c]
mov eax, dword [esp + 0x30]
sub edx, 4
dec eax
test eax, eax
mov dword [esp + 0x30], eax
ja 0x4da2b5
mov edi, dword [esp + 0x28]
mov ecx, ebp
push edi
call fcn.004ccd90
mov ebx, eax
mov eax, dword [esp + 0x18]
test eax, eax
mov dword [esp + 0x28], ebx
jne 0x4da41a
mov eax, dword [esp + 0x1c]
test eax, eax
jne 0x4da41a
mov edi, dword [ebx + 0x54]
mov esi, 0x5b6224
mov eax, edi
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x4da395
test cl, cl
je 0x4da391
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x4da395
add eax, 2
add esi, 2
test cl, cl
jne 0x4da371
xor eax, eax
jmp 0x4da39a
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x4da5c9
mov esi, 0x5b6304
mov eax, edi
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x4da3cd
test cl, cl
je 0x4da3c9
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x4da3cd
add eax, 2
add esi, 2
test cl, cl
jne 0x4da3a9
xor eax, eax
jmp 0x4da3d2
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x4da5c9
mov ecx, ebp
call fcn.004ccdc0
mov esi, eax
dec esi
test eax, eax
je 0x4da5c9
push esi
mov ecx, ebp
call fcn.004ccd90
mov ecx, dword [eax + 8]
mov edx, dword [ebx + 8]
cmp ecx, edx
jg 0x4da40a
mov edx, dword [eax + 0x10]
mov ecx, dword [ebx + 0x10]
cmp edx, ecx
jl 0x4da40a
mov ebx, eax
mov eax, esi
dec esi
test eax, eax
jne 0x4da3ec
mov dword [esp + 0x28], ebx
jmp 0x4da5c9
push edi
mov ecx, ebp
call fcn.004ccd90
add eax, 0x54
mov esi, 0x5b6224
mov eax, dword [eax]
mov dl, byte [eax]
mov bl, byte [esi]
mov cl, dl
cmp dl, bl
jne 0x4da454
test cl, cl
je 0x4da450
mov dl, byte [eax + 1]
mov bl, byte [esi + 1]
mov cl, dl
cmp dl, bl
jne 0x4da454
add eax, 2
add esi, 2
test cl, cl
jne 0x4da42c
xor eax, eax
jmp 0x4da459
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x4da4ee
push edi
mov ecx, ebp
call fcn.004ccd90
add eax, 0x54
mov esi, 0x5b6304
mov eax, dword [eax]
mov dl, byte [eax]
mov bl, byte [esi]
mov cl, dl
cmp dl, bl
jne 0x4da49b
test cl, cl
je 0x4da497
mov dl, byte [eax + 1]
mov bl, byte [esi + 1]
mov cl, dl
cmp dl, bl
jne 0x4da49b
add eax, 2
add esi, 2
test cl, cl
jne 0x4da473
xor eax, eax
jmp 0x4da4a0
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x4da4ee
mov ecx, dword [esp + 0x14]
push 0x30
push 0x5b62e8
push 0x5bbfcc
call sub.MFC42.DLL_CWnd::MessageBoxA
mov eax, dword [esp + 0x2c]
test eax, eax
jne 0x4da4ce
push 5
lea ecx, [ebp + 0x1c8]
jmp 0x4db6ac
cmp eax, 1
jne 0x4da4e0
push 5
lea ecx, [ebp + 0x23c]
jmp 0x4db6ac
cmp eax, 2
jne 0x4db6b1
jmp 0x4db6a4
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
add eax, ecx
mov ecx, ebp
mov dword [esp + 0x24], eax
call fcn.004ccdc0
mov ebx, eax
mov edx, ebx
dec ebx
test edx, edx
je 0x4da5c9
mov ecx, dword [esp + 0x10]
push ebx
call fcn.004ccd90
mov ebp, eax
mov eax, dword [esp + 0x28]
mov ecx, dword [eax + 8]
mov edx, dword [ebp + 8]
cmp ecx, edx
jl 0x4da5be
mov edx, dword [eax + 0x10]
mov eax, dword [ebp + 0x10]
cmp edx, eax
jg 0x4da5be
mov edi, dword [ebp + 0x54]
mov esi, 0x5b6224
mov ecx, edi
mov al, byte [ecx]
mov dl, al
cmp al, byte [esi]
jne 0x4da56a
test dl, dl
je 0x4da566
mov al, byte [ecx + 1]
mov dl, al
cmp al, byte [esi + 1]
jne 0x4da56a
add ecx, 2
add esi, 2
test dl, dl
jne 0x4da546
xor ecx, ecx
jmp 0x4da56f
sbb ecx, ecx
sbb ecx, 0xffffffff
test ecx, ecx
je 0x4da5a7
mov esi, 0x5b6304
mov ecx, edi
mov al, byte [ecx]
mov dl, al
cmp al, byte [esi]
jne 0x4da59e
test dl, dl
je 0x4da59a
mov al, byte [ecx + 1]
mov dl, al
cmp al, byte [esi + 1]
jne 0x4da59e
add ecx, 2
add esi, 2
test dl, dl
jne 0x4da57a
xor ecx, ecx
jmp 0x4da5a3
sbb ecx, ecx
sbb ecx, 0xffffffff
test ecx, ecx
jne 0x4da5be
mov eax, dword [esp + 0x24]
test eax, eax
jle 0x4da5be
dec eax
mov dword [esp + 0x28], ebp
test eax, eax
mov dword [esp + 0x24], eax
jg 0x4da5be
xor ebx, ebx
mov ecx, ebx
dec ebx
test ecx, ecx
jne 0x4da510
mov ebp, dword [esp + 0x10]
mov dword [esp + 0x18], 0
mov ecx, ebp
call fcn.004cc990
mov edi, dword [esp + 0x28]
mov esi, eax
mov edx, esi
dec esi
test edx, edx
je 0x4da616
push esi
mov ecx, ebp
call fcn.004cc960
mov ecx, dword [eax + 8]
mov edx, dword [eax + 0x10]
cmp ecx, edx
jne 0x4da60f
mov edx, dword [edi + 0x10]
add ecx, 0xfffffffd
cmp ecx, edx
jne 0x4da60f
mov dword [esp + 0x30], esi
mov dword [esp + 0x18], eax
xor esi, esi
mov eax, esi
dec esi
test eax, eax
jne 0x4da5e9
xor ebx, ebx
mov ecx, ebp
mov dword [esp + 0x28], ebx
call fcn.004cc990
mov esi, eax
mov ecx, esi
dec esi
test ecx, ecx
je 0x4da67a
push esi
mov ecx, ebp
call fcn.004cc960
mov ecx, dword [eax + 8]
mov edx, dword [eax + 0x10]
cmp ecx, edx
jne 0x4da665
lea ebp, [ecx + 3]
cmp ebp, dword [edi + 8]
jne 0x4da648
mov ebx, eax
mov ebp, dword [esp + 0x10]
cmp ecx, edx
jne 0x4da665
mov edx, dword [edi + 0x10]
add ecx, 0xfffffffd
cmp ecx, edx
jne 0x4da665
mov dword [esp + 0x28], eax
mov dword [eax + 0x2c], 1
test ebx, ebx
je 0x4da673
mov eax, dword [esp + 0x28]
test eax, eax
je 0x4da673
xor esi, esi
mov edx, esi
dec esi
test edx, edx
jne 0x4da62c
mov esi, dword [esp + 0x14]
push 1
push ebp
call fcn.004bfb60
push 1
push ebp
call fcn.004bfbe0
add esp, 0x10
lea eax, [esp + 0x44]
lea ecx, [esp + 0x4c]
lea edx, [esp + 0x3c]
push eax
push ecx
lea eax, [esp + 0x40]
push edx
push eax
mov ecx, esi
call sub.MFC42.DLL_CScrollView::GetDeviceScrollSizes
lea ecx, [esp + 0x3c]
push ecx
lea ecx, [esp + 0x78]
call sub.MFC42.DLL_CDC::DPtoLP
push 0x30
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 0x24], eax
test eax, eax
mov byte [esp + 0x90], 7
je 0x4da6fb
mov edx, dword [esp + 0x18]
mov ecx, dword [edi + 8]
add ecx, 0xfffffffd
mov edi, dword [edx + 0x18]
push edi
mov edi, dword [edx + 0x14]
push edi
mov edi, dword [edx + 0xc]
mov edx, dword [edx + 4]
push ecx
push edi
push ecx
push edx
mov ecx, eax
call fcn.00523f10
mov edi, eax
jmp 0x4da6fd
xor edi, edi
mov eax, dword [ebx + 0x14]
mov byte [esp + 0x90], 0
mov dword [edi + 0x14], eax
mov eax, dword [esi + 0xd0]
cmp dword [ebx + 4], eax
jne 0x4da72f
mov ecx, dword [ebx + 0xc]
mov edx, dword [esi + 0xd8]
cmp ecx, edx
jne 0x4da72f
mov dword [edi + 4], eax
mov edx, dword [esi + 0xd8]
mov dword [edi + 0xc], edx
mov ecx, dword [ebx + 0x28]
mov eax, 1
cmp ecx, eax
je 0x4da74b
mov ecx, dword [esp + 0x28]
cmp dword [ecx + 0x28], eax
jne 0x4da74b
mov dword [edi + 0x28], 0
mov eax, dword [esp + 0x30]
mov dword [edi + 0x24], 1
mov edx, dword [ebp + 0x328]
mov ecx, ebp
mov dword [edx + eax*4], edi
call fcn.004cc990
mov ebx, dword [esp + 0x18]
mov esi, eax
mov ecx, esi
dec esi
test ecx, ecx
je 0x4da7c2
push esi
mov ecx, ebp
call fcn.004cc960
mov edx, dword [eax + 4]
mov ecx, dword [eax + 0xc]
cmp edx, ecx
jne 0x4da7a0
mov ecx, dword [eax + 8]
mov edx, dword [edi + 8]
cmp ecx, edx
jl 0x4da7a0
mov edx, dword [eax + 0x10]
mov ecx, dword [ebx + 8]
cmp edx, ecx
jg 0x4da7a0
mov dword [eax + 0x2c], 1
mov ecx, dword [eax + 8]
mov edx, dword [eax + 0x10]
cmp ecx, edx
jne 0x4da7bb
cmp ecx, dword [edi + 8]
jle 0x4da7bb
cmp ecx, dword [ebx + 8]
jge 0x4da7bb
mov dword [eax + 0x2c], 1
mov eax, esi
dec esi
test eax, eax
jne 0x4da773
mov ecx, ebp
call fcn.004cc990
mov ecx, eax
dec eax
test ecx, ecx
mov dword [esp + 0x28], eax
je 0x4da8c4
jmp 0x4da7de
mov eax, dword [esp + 0x28]
push eax
mov ecx, ebp
call fcn.004cc960
mov edx, dword [eax + 4]
mov ecx, dword [eax + 0xc]
cmp edx, ecx
jne 0x4da8ad
mov ecx, dword [esp + 0x18]
mov esi, dword [eax + 8]
mov ecx, dword [ecx + 8]
cmp esi, ecx
jle 0x4da827
mov edx, dword [eax + 0x10]
cmp edx, ecx
jle 0x4da827
mov ebx, dword [edi + 8]
sub ebx, ecx
add ebx, esi
mov esi, dword [esp + 0x18]
mov dword [eax + 8], ebx
mov ecx, dword [edi + 8]
sub ecx, dword [esi + 8]
add ecx, edx
mov dword [eax + 0x10], ecx
jmp 0x4da8ad
mov ebx, dword [eax + 0x10]
cmp ebx, ecx
jne 0x4da833
mov edx, dword [edi + 0x10]
jmp 0x4da8aa
cmp esi, ecx
jne 0x4da84b
mov ecx, dword [edi + 8]
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x18]
mov edx, dword [edi + 8]
sub edx, dword [ecx + 8]
add edx, ebx
jmp 0x4da8aa
jge 0x4da86b
cmp ebx, ecx
jle 0x4da86b
mov edx, dword [edi + 8]
cmp esi, edx
jg 0x4da86b
cmp ebx, esi
jle 0x4da862
sub edx, ecx
add edx, ebx
jmp 0x4da8aa
sub edx, ecx
add edx, esi
mov dword [eax + 8], edx
jmp 0x4da8ad
cmp esi, ecx
jge 0x4da89b
cmp ebx, ecx
jle 0x4da89b
mov edx, dword [edi + 8]
cmp esi, edx
jle 0x4da89b
cmp ebx, esi
jle 0x4da88f
mov ecx, dword [esp + 0x18]
mov dword [eax + 8], edx
mov edx, dword [edi + 8]
sub edx, dword [ecx + 8]
add edx, ebx
jmp 0x4da8aa
sub edx, ecx
add edx, esi
mov dword [eax + 8], edx
mov edx, dword [edi + 8]
jmp 0x4da8aa
mov edx, dword [edi + 8]
cmp esi, edx
jge 0x4da8ad
cmp ebx, edx
jle 0x4da8ad
cmp ebx, ecx
jg 0x4da8ad
mov dword [eax + 0x10], edx
mov eax, dword [esp + 0x28]
mov ecx, eax
dec eax
test ecx, ecx
mov dword [esp + 0x28], eax
jne 0x4da7da
mov ebx, dword [esp + 0x18]
mov ecx, ebp
call fcn.004ccdc0
mov esi, eax
mov edx, esi
dec esi
test edx, edx
je 0x4da8fe
push esi
mov ecx, ebp
call fcn.004ccd90
mov ecx, dword [eax + 8]
mov edx, dword [edi + 8]
cmp ecx, edx
jle 0x4da8f7
mov edx, dword [eax + 0x10]
mov ecx, dword [ebx + 8]
cmp edx, ecx
jge 0x4da8f7
mov dword [eax + 0x6c], 1
mov eax, esi
dec esi
test eax, eax
jne 0x4da8d4
mov ecx, ebp
call fcn.004ccdc0
mov ebx, eax
mov ecx, ebx
dec ebx
test ecx, ecx
je 0x4da9ca
push ebx
mov ecx, ebp
call fcn.004ccd90
mov edx, dword [esp + 0x18]
mov esi, eax
mov ecx, dword [esi + 8]
mov eax, dword [edx + 8]
cmp ecx, eax
jge 0x4da952
cmp ecx, dword [edi + 8]
jle 0x4da952
cmp dword [esi + 0x10], eax
jl 0x4da952
add eax, 3
push 0x30
mov dword [esi + 8], eax
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 0x30], eax
mov byte [esp + 0x90], 8
jmp 0x4da983
mov edx, dword [edi + 8]
cmp ecx, edx
jge 0x4da9bf
mov ecx, dword [esi + 0x10]
cmp ecx, edx
jl 0x4da9bf
add ecx, 3
cmp ecx, eax
jg 0x4da9bf
add edx, 0xfffffffd
push 0x30
mov dword [esi + 0x10], edx
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 0x30], eax
mov byte [esp + 0x90], 9
test eax, eax
je 0x4da9ae
mov ecx, dword [esi + 8]
lea edx, [ecx - 3]
mov ecx, dword [edi + 0x18]
push ecx
mov ecx, dword [edi + 0x14]
push ecx
mov ecx, dword [esi + 0xc]
add ecx, 3
push edx
push ecx
push edx
mov edx, dword [esi + 4]
mov ecx, eax
sub edx, 3
push edx
call fcn.00523f10
jmp 0x4da9b0
xor eax, eax
mov byte [esp + 0x90], 0
mov dword [eax + 0x28], 0
mov eax, ebx
dec ebx
test eax, eax
jne 0x4da912
mov ecx, ebp
call fcn.004ccdc0
mov esi, eax
mov ecx, esi
dec esi
test ecx, ecx
je 0x4daa2a
push esi
mov ecx, ebp
call fcn.004ccd90
mov ebx, dword [esp + 0x18]
mov ecx, dword [eax + 8]
mov edx, dword [ebx + 8]
sub ecx, edx
cmp ecx, 3
jl 0x4daa0d
mov edx, dword [edi + 8]
add edx, ecx
mov dword [eax + 8], edx
mov ecx, dword [edi + 8]
mov edx, dword [ebx + 8]
sub ecx, edx
mov edx, dword [eax + 0x10]
add edx, ecx
mov dword [eax + 0x10], edx
jmp 0x4daa23
mov ecx, dword [eax + 0x10]
mov ebx, edx
sub ebx, ecx
cmp ebx, 3
jg 0x4daa23
mov ebx, dword [edi + 8]
sub ebx, edx
add ebx, ecx
mov dword [eax + 0x10], ebx
mov edx, esi
dec esi
test edx, edx
jne 0x4da9da
mov ecx, ebp
call fcn.004cc990
mov ecx, eax
dec eax
test ecx, ecx
je 0x4daaa1
mov edx, dword [ebp + 0x328]
mov edx, dword [edx + eax*4]
mov ecx, dword [edx + 8]
mov esi, dword [edx + 0x10]
cmp ecx, esi
jne 0x4daa9a
mov ebx, dword [edi + 8]
cmp ecx, ebx
jne 0x4daa7a
mov ecx, dword [edx + 0x24]
cmp ecx, 1
je 0x4daa71
mov esi, dword [esp + 0x18]
cmp ebx, dword [esi + 8]
jge 0x4daa6c
mov dword [edx + 0x2c], 1
jmp 0x4daa9a
cmp ecx, 1
jne 0x4daa9a
mov dword [edx + 0x24], 0
jmp 0x4daa9a
cmp ecx, esi
jne 0x4daa9a
mov esi, dword [edi + 8]
cmp ecx, esi
je 0x4daa9a
mov ebx, dword [esp + 0x18]
mov ebx, dword [ebx + 8]
cmp ecx, ebx
jl 0x4daa9a
sub esi, ebx
add ecx, esi
mov dword [edx + 8], ecx
mov dword [edx + 0x10], ecx
mov ecx, eax
dec eax
test ecx, ecx
jne 0x4daa38
mov edi, dword [ebp + 0x360]
mov ecx, ebp
dec edi
mov dword [ebp + 0x360], edi
call fcn.004cc990
mov edx, eax
dec eax
test edx, edx
je 0x4dab03
lea edi, [eax + 1]
mov ecx, ebp
call fcn.004cc990
mov esi, eax
dec esi
test eax, eax
je 0x4dab00
push esi
mov ecx, ebp
call fcn.004cc960
mov ecx, dword [eax + 0x2c]
test ecx, ecx
jne 0x4daae5
mov ecx, esi
dec esi
test ecx, ecx
jne 0x4daacd
jmp 0x4dab00
test eax, eax
je 0x4daaf2
mov edx, dword [eax]
push 1
mov ecx, eax
call dword [edx + 4]
push 1
push esi
lea ecx, [ebp + 0x324]
call sub.MFC42.DLL_CObArray::RemoveAt
dec edi
jne 0x4daabf
mov ecx, ebp
call fcn.004ccdc0
mov ecx, eax
dec eax
test ecx, ecx
je 0x4dab5a
lea edi, [eax + 1]
mov ecx, ebp
call fcn.004ccdc0
mov esi, eax
mov edx, esi
dec esi
test edx, edx
je 0x4dab57
push esi
mov ecx, ebp
call fcn.004ccd90
mov ecx, dword [eax + 0x6c]
test ecx, ecx
jne 0x4dab3c
mov eax, esi
dec esi
test eax, eax
jne 0x4dab24
jmp 0x4dab57
test eax, eax
je 0x4dab49
mov edx, dword [eax]
push 1
mov ecx, eax
call dword [edx + 4]
push 1
push esi
lea ecx, [ebp + 0x338]
call sub.MFC42.DLL_CObArray::RemoveAt
dec edi
jne 0x4dab14
mov eax, dword [ebp + 0x364]
xor ecx, ecx
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], ecx
mov ecx, eax
dec eax
test ecx, ecx
je 0x4dabfe
mov edx, dword [ebp + 0x350]
lea ebp, [edx + eax*4]
lea edx, [eax + 1]
mov edi, dword [ebp]
mov esi, 0x5b6304
mov eax, dword [edi + 8]
mov bl, byte [eax]
mov cl, bl
cmp bl, byte [esi]
jne 0x4dabb0
test cl, cl
je 0x4dabac
mov bl, byte [eax + 1]
mov cl, bl
cmp bl, byte [esi + 1]
jne 0x4dabb0
add eax, 2
add esi, 2
test cl, cl
jne 0x4dab8c
xor eax, eax
jmp 0x4dabb5
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x4dabbd
inc dword [esp + 0x18]
mov eax, dword [edi + 8]
mov esi, 0x5b6224
mov bl, byte [eax]
mov cl, bl
cmp bl, byte [esi]
jne 0x4dabe9
test cl, cl
je 0x4dabe5
mov bl, byte [eax + 1]
mov cl, bl
cmp bl, byte [esi + 1]
jne 0x4dabe9
add eax, 2
add esi, 2
test cl, cl
jne 0x4dabc5
xor eax, eax
jmp 0x4dabee
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x4dabf6
inc dword [esp + 0x1c]
dec edx
sub ebp, 4
test edx, edx
ja 0x4dab81
mov ecx, dword [esp + 0x10]
call fcn.004ccdc0
mov ebx, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov ebp, 1
mov dword [esp + 0x30], eax
test ebx, ebx
mov dword [esp + 0x24], 2
mov dword [esp + 0x20], ecx
mov dword [esp + 0x28], ebp
jle 0x4dae4b
test ecx, ecx
jle 0x4dad8d
cmp eax, 2
jle 0x4daee9
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x10]
push eax
call fcn.004ccd90
mov edi, eax
mov esi, 0x5b6304
mov eax, dword [edi + 0x54]
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x4dac7d
test cl, cl
je 0x4dac79
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x4dac7d
add eax, 2
add esi, 2
test cl, cl
jne 0x4dac59
xor eax, eax
jmp 0x4dac82
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x4dacec
test ebx, ebx
jle 0x4dacc0
push 0x14
mov dword [esp + 0x2c], 1
call sub.MFC42.DLL_operatornew
mov esi, eax
push 0xa
push esi
push ebp
call dword [sym.imp.MSVCRT.dll__itoa]
add esp, 0x10
lea ecx, [edi + 0x50]
push esi
call sub.MFC42.DLL_CString::operator_1
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 0x360]
add ebp, ecx
dec ebx
test ebx, ebx
jne 0x4dacec
mov eax, dword [esp + 0x20]
test eax, eax
jne 0x4dacec
mov ecx, dword [esp + 0x10]
mov ebx, dword [esp + 0x18]
mov eax, 1
mov edx, dword [ecx + 0x360]
mov ecx, dword [esp + 0x1c]
imul edx, ebx
sub eax, edx
mov dword [esp + 0x20], ecx
add ebp, eax
mov eax, dword [edi + 0x54]
mov esi, 0x5b6224
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x4dad18
test cl, cl
je 0x4dad14
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x4dad18
add eax, 2
add esi, 2
test cl, cl
jne 0x4dacf4
xor eax, eax
jmp 0x4dad1d
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x4dad73
mov ecx, dword [esp + 0x20]
test ecx, ecx
jle 0x4dad49
mov edx, dword [esp + 0x10]
mov eax, ebp
sub eax, dword [edx + 0x360]
mov dword [edi + 0x58], eax
mov eax, dword [esp + 0x28]
mov dword [edi + 0x5c], eax
inc eax
dec ecx
mov dword [esp + 0x28], eax
mov dword [esp + 0x20], ecx
test ebx, ebx
jne 0x4dad73
test ecx, ecx
jne 0x4dad73
mov eax, dword [esp + 0x10]
mov ebx, dword [esp + 0x18]
mov edx, 1
mov ecx, dword [eax + 0x360]
mov eax, dword [esp + 0x1c]
imul ecx, ebx
sub edx, ecx
mov dword [esp + 0x20], eax
add ebp, edx
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x30]
inc eax
cmp eax, ecx
mov dword [esp + 0x24], eax
jl 0x4dac41
jmp 0x4daee9
jne 0x4dae49
cmp eax, 2
jle 0x4daee9
mov ecx, dword [esp + 0x24]
push ecx
mov ecx, dword [esp + 0x14]
call fcn.004ccd90
mov edi, eax
mov esi, 0x5b6304
mov eax, dword [edi + 0x54]
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x4dadd8
test cl, cl
je 0x4dadd4
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x4dadd8
add eax, 2
add esi, 2
test cl, cl
jne 0x4dadb4
xor eax, eax
jmp 0x4daddd
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x4dae2f
test ebx, ebx
jle 0x4dae13
push 0x14
call sub.MFC42.DLL_operatornew
mov esi, eax
push 0xa
push esi
push ebp
call dword [sym.imp.MSVCRT.dll__itoa]
add esp, 0x10
lea ecx, [edi + 0x50]
push esi
call sub.MFC42.DLL_CString::operator_1
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 0x360]
add ebp, ecx
dec ebx
test ebx, ebx
jne 0x4dae2f
mov ecx, dword [esp + 0x10]
mov ebx, dword [esp + 0x18]
mov eax, 1
mov edx, dword [ecx + 0x360]
imul edx, ebx
sub eax, edx
add ebp, eax
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x30]
inc eax
cmp eax, ecx
mov dword [esp + 0x24], eax
jl 0x4dad9c
jmp 0x4daee9
test ebx, ebx
jne 0x4daee9
test ecx, ecx
jle 0x4daee9
cmp eax, 2
jle 0x4daee9
mov ebx, dword [esp + 0x24]
mov ecx, dword [esp + 0x10]
push ebx
call fcn.004ccd90
mov edi, eax
mov esi, 0x5b6224
mov ecx, dword [edi + 0x54]
mov al, byte [ecx]
mov dl, al
cmp al, byte [esi]
jne 0x4dae9e
test dl, dl
je 0x4dae9a
mov al, byte [ecx + 1]
mov dl, al
cmp al, byte [esi + 1]
jne 0x4dae9e
add ecx, 2
add esi, 2
test dl, dl
jne 0x4dae7a
xor ecx, ecx
jmp 0x4daea3
sbb ecx, ecx
sbb ecx, 0xffffffff
test ecx, ecx
jne 0x4daed8
mov eax, dword [esp + 0x20]
test eax, eax
jle 0x4daec5
mov ecx, dword [esp + 0x28]
mov dword [edi + 0x58], ebp
mov dword [edi + 0x5c], ecx
inc ecx
dec eax
mov dword [esp + 0x28], ecx
mov dword [esp + 0x20], eax
test eax, eax
jne 0x4daed8
mov ecx, dword [esp + 0x1c]
inc ebp
mov dword [esp + 0x20], ecx
mov dword [esp + 0x28], 1
mov eax, dword [esp + 0x30]
inc ebx
cmp ebx, eax
mov dword [esp + 0x24], ebx
jl 0x4dae62
mov edx, dword [esp + 0x14]
push 1
push 0
mov eax, dword [edx + 0x20]
push eax
call dword [sym.imp.USER32.dll_InvalidateRect]
mov eax, dword [esp + 0x2c]
test eax, eax
jne 0x4db16f
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0x64]
push ecx
mov eax, dword [edx + 0x1e8]
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
mov esi, dword [esp + 0x14]
lea ecx, [esp + 0x64]
push ecx
mov ecx, esi
call sub.MFC42.DLL_CWnd::ScreenToClient
mov eax, dword [esp + 0x7c]
lea edx, [esp + 0x64]
push 2
push edx
push eax
call dword [sym.imp.GDI32.dll_DPtoLP]
lea ecx, [esp + 0x4c]
push ecx
mov ecx, esi
call sub.MFC42.DLL_CScrollView::GetScrollPosition
mov ebx, dword [eax]
mov edx, dword [esp + 0x68]
mov ecx, dword [esp + 0x6c]
sub esp, 0x10
mov ebp, dword [eax + 4]
mov eax, dword [esp + 0x74]
mov esi, dword [esp + 0x80]
mov edi, esp
add eax, ebx
add edx, ebp
mov dword [edi], eax
add ecx, ebx
mov dword [esp + 0x78], edx
add esi, ebp
mov dword [edi + 4], edx
mov edx, dword [esp + 0x20]
push edx
mov dword [esp + 0x78], eax
mov dword [edi + 8], ecx
mov dword [esp + 0x80], ecx
mov dword [esp + 0x84], esi
mov dword [edi + 0xc], esi
call fcn.004c3950
add esp, 0x14
cmp eax, 0xffffffff
je 0x4db65e
mov edi, dword [esp + 0x10]
push eax
mov ecx, edi
call fcn.004ccd90
mov esi, eax
push 8
add edi, 0x1c8
mov eax, dword [esi + 8]
mov edx, dword [esi + 0x10]
mov ecx, dword [esi + 4]
sub edx, eax
push edx
mov edx, dword [esi + 0xc]
sub edx, ecx
sub eax, ebp
push edx
push eax
mov eax, dword [sym.imp.MFC42.DLL_CWndconstCWnd::wndTop]
sub ecx, ebx
push ecx
push eax
mov ecx, edi
call sub.MFC42.DLL_CWnd::SetWindowPos
mov ecx, dword [edi + 0x20]
mov ebx, dword [sym.imp.USER32.dll_SendMessageA]
push 0xffffffffffffffff
push 0
push 0xb1
push ecx
call ebx
mov edx, dword [edi + 0x20]
push 0
push 0
push 0xb7
push edx
call ebx
mov eax, dword [esp + 0x10]
push 0
push 0
push 0x303
mov ecx, dword [eax + 0x1e8]
push ecx
call ebx
push ecx
lea edx, [esi + 0x50]
mov ecx, esp
mov dword [esp + 0x3c], esp
push edx
call sub.MFC42.DLL_CString::CString_2
lea eax, [esp + 0x34]
push eax
call fcn.004c2530
add esp, 8
mov eax, dword [eax]
mov ecx, edi
push eax
mov byte [esp + 0x94], 0xa
call sub.MFC42.DLL_CWnd::SetWindowTextA
lea ecx, [esp + 0x30]
mov byte [esp + 0x90], 0
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esi + 0x64]
mov ebp, 0x5b6224
mov dword [0x5c03b4], ecx
mov eax, dword [esi + 0x54]
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [ebp]
jne 0x4db092
test cl, cl
je 0x4db08e
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [ebp + 1]
jne 0x4db092
add eax, 2
add ebp, 2
test cl, cl
jne 0x4db06d
xor eax, eax
jmp 0x4db097
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x4db0a7
mov ecx, dword [esp + 0x14]
push esi
call fcn.004e8200
jmp 0x4db0b0
mov ecx, dword [esp + 0x14]
call fcn.004e8500
push 5
mov ecx, edi
call sub.MFC42.DLL_CWnd::ShowWindow
mov esi, dword [esi + 0x54]
mov edi, 0x5b6304
mov eax, esi
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [edi]
jne 0x4db0e7
test cl, cl
je 0x4db0e3
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [edi + 1]
jne 0x4db0e7
add eax, 2
add edi, 2
test cl, cl
jne 0x4db0c3
xor eax, eax
jmp 0x4db0ec
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x4db154
mov edi, 0x5b62bc
mov eax, esi
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [edi]
jne 0x4db11b
test cl, cl
je 0x4db117
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [edi + 1]
jne 0x4db11b
add eax, 2
add edi, 2
test cl, cl
jne 0x4db0f7
xor eax, eax
jmp 0x4db120
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x4db154
mov eax, dword [esp + 0x10]
push 0
push 0
push 0xcf
mov ecx, dword [eax + 0x1e8]
push ecx
call ebx
mov ecx, dword [esp + 0x10]
mov dword [0x5c0364], 0
push 1
mov edx, dword [ecx]
call dword [edx + 0x64]
jmp 0x4db6b1
mov edx, dword [esp + 0x10]
push 0
push 1
push 0xcf
mov eax, dword [edx + 0x1e8]
push eax
call ebx
jmp 0x4db654
cmp eax, 1
jne 0x4db3e0
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0x64]
push ecx
mov eax, dword [edx + 0x25c]
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
mov esi, dword [esp + 0x14]
lea ecx, [esp + 0x64]
push ecx
mov ecx, esi
call sub.MFC42.DLL_CWnd::ScreenToClient
mov eax, dword [esp + 0x7c]
lea edx, [esp + 0x64]
push 2
push edx
push eax
call dword [sym.imp.GDI32.dll_DPtoLP]
lea ecx, [esp + 0x4c]
push ecx
mov ecx, esi
call sub.MFC42.DLL_CScrollView::GetScrollPosition
mov ebx, dword [eax]
mov edx, dword [esp + 0x68]
mov ecx, dword [esp + 0x6c]
sub esp, 0x10
mov ebp, dword [eax + 4]
mov eax, dword [esp + 0x74]
mov esi, dword [esp + 0x80]
mov edi, esp
add eax, ebx
add edx, ebp
mov dword [edi], eax
add ecx, ebx
mov dword [esp + 0x78], edx
add esi, ebp
mov dword [edi + 4], edx
mov edx, dword [esp + 0x20]
push edx
mov dword [esp + 0x78], eax
mov dword [edi + 8], ecx
mov dword [esp + 0x80], ecx
mov dword [esp + 0x84], esi
mov dword [edi + 0xc], esi
call fcn.004c3950
add esp, 0x14
cmp eax, 0xffffffff
je 0x4db65e
mov edi, dword [esp + 0x10]
push eax
mov ecx, edi
call fcn.004ccd90
mov esi, eax
push 8
add edi, 0x23c
mov eax, dword [esi + 8]
mov edx, dword [esi + 0x10]
mov ecx, dword [esi + 4]
sub edx, eax
push edx
mov edx, dword [esi + 0xc]
sub edx, ecx
sub eax, ebp
push edx
push eax
mov eax, dword [sym.imp.MFC42.DLL_CWndconstCWnd::wndTop]
sub ecx, ebx
push ecx
push eax
mov ecx, edi
call sub.MFC42.DLL_CWnd::SetWindowPos
mov ecx, dword [edi + 0x20]
mov ebx, dword [sym.imp.USER32.dll_SendMessageA]
push 0xffffffffffffffff
push 0
push 0xb1
push ecx
call ebx
mov edx, dword [edi + 0x20]
push 0
push 0
push 0xb7
push edx
call ebx
mov eax, dword [esp + 0x10]
push 0
push 0
push 0x303
mov ecx, dword [eax + 0x25c]
push ecx
call ebx
mov edx, dword [esi + 0x64]
push ecx
lea eax, [esi + 0x50]
mov ecx, esp
mov dword [esp + 0x3c], esp
push eax
mov dword [0x5c03b4], edx
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esp + 0x34]
push ecx
call fcn.004c2530
add esp, 8
mov eax, dword [eax]
mov ecx, edi
push eax
mov byte [esp + 0x94], 0xb
call sub.MFC42.DLL_CWnd::SetWindowTextA
lea ecx, [esp + 0x30]
mov byte [esp + 0x90], 0
call sub.MFC42.DLL_CString::CString
mov eax, dword [esi + 0x54]
mov ebp, 0x5b6224
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [ebp]
jne 0x4db303
test cl, cl
je 0x4db2ff
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [ebp + 1]
jne 0x4db303
add eax, 2
add ebp, 2
test cl, cl
jne 0x4db2de
xor eax, eax
jmp 0x4db308
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x4db318
mov ecx, dword [esp + 0x14]
push esi
call fcn.004e8200
jmp 0x4db321
mov ecx, dword [esp + 0x14]
call fcn.004e8500
push 5
mov ecx, edi
call sub.MFC42.DLL_CWnd::ShowWindow
mov esi, dword [esi + 0x54]
mov edi, 0x5b6304
mov eax, esi
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [edi]
jne 0x4db358
test cl, cl
je 0x4db354
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [edi + 1]
jne 0x4db358
add eax, 2
add edi, 2
test cl, cl
jne 0x4db334
xor eax, eax
jmp 0x4db35d
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x4db3c5
mov edi, 0x5b62bc
mov eax, esi
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [edi]
jne 0x4db38c
test cl, cl
je 0x4db388
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [edi + 1]
jne 0x4db38c
add eax, 2
add edi, 2
test cl, cl
jne 0x4db368
xor eax, eax
jmp 0x4db391
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x4db3c5
mov eax, dword [esp + 0x10]
push 0
push 0
push 0xcf
mov ecx, dword [eax + 0x25c]
push ecx
call ebx
mov ecx, dword [esp + 0x10]
mov dword [0x5c0364], 0
push 1
mov edx, dword [ecx]
call dword [edx + 0x64]
jmp 0x4db6b1
mov edx, dword [esp + 0x10]
push 0
push 1
push 0xcf
mov eax, dword [edx + 0x25c]
push eax
call ebx
jmp 0x4db654
cmp eax, 2
jne 0x4db65e
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0x64]
push ecx
mov eax, dword [edx + 0x2d0]
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
mov esi, dword [esp + 0x14]
lea ecx, [esp + 0x64]
push ecx
mov ecx, esi
call sub.MFC42.DLL_CWnd::ScreenToClient
mov eax, dword [esp + 0x7c]
lea edx, [esp + 0x64]
push 2
push edx
push eax
call dword [sym.imp.GDI32.dll_DPtoLP]
lea ecx, [esp + 0x4c]
push ecx
mov ecx, esi
call sub.MFC42.DLL_CScrollView::GetScrollPosition
mov ebp, dword [eax]
mov edx, dword [esp + 0x68]
mov ecx, dword [esp + 0x6c]
sub esp, 0x10
mov ebx, dword [eax + 4]
mov eax, dword [esp + 0x74]
mov esi, dword [esp + 0x80]
mov edi, esp
add eax, ebp
add edx, ebx
mov dword [edi], eax
add ecx, ebp
mov dword [esp + 0x78], edx
add esi, ebx
mov dword [edi + 4], edx
mov edx, dword [esp + 0x20]
push edx
mov dword [esp + 0x78], eax
mov dword [edi + 8], ecx
mov dword [esp + 0x80], ecx
mov dword [esp + 0x84], esi
mov dword [edi + 0xc], esi
call fcn.004c3950
add esp, 0x14
cmp eax, 0xffffffff
je 0x4db65e
mov edi, dword [esp + 0x10]
push eax
mov ecx, edi
call fcn.004ccd90
mov esi, eax
push 8
add edi, 0x2b0
mov eax, dword [esi + 8]
mov edx, dword [esi + 0x10]
mov ecx, dword [esi + 4]
sub edx, eax
push edx
mov edx, dword [esi + 0xc]
sub edx, ecx
sub eax, ebx
push edx
push eax
mov eax, dword [sym.imp.MFC42.DLL_CWndconstCWnd::wndTop]
sub ecx, ebp
push ecx
push eax
mov ecx, edi
call sub.MFC42.DLL_CWnd::SetWindowPos
mov ecx, dword [edi + 0x20]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 0xffffffffffffffff
push 0
push 0xb1
push ecx
call ebp
mov edx, dword [edi + 0x20]
push 0
push 0
push 0xb7
push edx
call ebp
mov eax, dword [esp + 0x10]
push 0
push 0
push 0x303
mov ecx, dword [eax + 0x2d0]
push ecx
call ebp
mov edx, dword [esi + 0x64]
push ecx
lea eax, [esi + 0x50]
mov ecx, esp
mov dword [esp + 0x3c], esp
push eax
mov dword [0x5c03b4], edx
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esp + 0x34]
push ecx
call fcn.004c2530
add esp, 8
mov eax, dword [eax]
mov ecx, edi
push eax
mov byte [esp + 0x94], 0xc
call sub.MFC42.DLL_CWnd::SetWindowTextA
lea ecx, [esp + 0x30]
mov byte [esp + 0x90], 0
call sub.MFC42.DLL_CString::CString
push 5
mov ecx, edi
call sub.MFC42.DLL_CWnd::ShowWindow
mov eax, dword [esi + 0x54]
mov edi, 0x5b6224
mov dl, byte [eax]
mov bl, byte [edi]
mov cl, dl
cmp dl, bl
jne 0x4db580
test cl, cl
je 0x4db57c
mov dl, byte [eax + 1]
mov bl, byte [edi + 1]
mov cl, dl
cmp dl, bl
jne 0x4db580
add eax, 2
add edi, 2
test cl, cl
jne 0x4db558
xor eax, eax
jmp 0x4db585
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x4db595
mov ecx, dword [esp + 0x14]
push esi
call fcn.004e8200
jmp 0x4db59e
mov ecx, dword [esp + 0x14]
call fcn.004e8500
mov esi, dword [esi + 0x54]
mov edi, 0x5b6304
mov eax, esi
mov dl, byte [eax]
mov bl, byte [edi]
mov cl, dl
cmp dl, bl
jne 0x4db5d0
test cl, cl
je 0x4db5cc
mov dl, byte [eax + 1]
mov bl, byte [edi + 1]
mov cl, dl
cmp dl, bl
jne 0x4db5d0
add eax, 2
add edi, 2
test cl, cl
jne 0x4db5a8
xor eax, eax
jmp 0x4db5d5
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x4db63e
mov edi, 0x5b62bc
mov eax, esi
mov dl, byte [eax]
mov bl, byte [edi]
mov cl, dl
cmp dl, bl
jne 0x4db608
test cl, cl
je 0x4db604
mov dl, byte [eax + 1]
mov bl, byte [edi + 1]
mov cl, dl
cmp dl, bl
jne 0x4db608
add eax, 2
add edi, 2
test cl, cl
jne 0x4db5e0
xor eax, eax
jmp 0x4db60d
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x4db63e
mov eax, dword [esp + 0x10]
push 0
push 0
push 0xcf
mov ecx, dword [eax + 0x2d0]
push ecx
call ebp
mov ecx, dword [esp + 0x10]
mov dword [0x5c0364], 0
push 1
mov edx, dword [ecx]
call dword [edx + 0x64]
jmp 0x4db6b1
mov edx, dword [esp + 0x10]
push 0
push 1
push 0xcf
mov eax, dword [edx + 0x2d0]
push eax
call ebp
mov dword [0x5c0364], 1
mov ecx, dword [esp + 0x10]
push 1
mov edx, dword [ecx]
call dword [edx + 0x64]
jmp 0x4db6b1
push 0x30
push 0x5b62e8
push 0x5bbfb8
mov ecx, ebx
call sub.MFC42.DLL_CWnd::MessageBoxA
mov eax, dword [esp + 0x2c]
test eax, eax
jne 0x4db690
push 5
lea ecx, [ebp + 0x1c8]
jmp 0x4db6ac
cmp eax, 1
jne 0x4db69f
push 5
lea ecx, [ebp + 0x23c]
jmp 0x4db6ac
cmp eax, 2
jne 0x4db6b1
push 5
lea ecx, [ebp + 0x2b0]
call sub.MFC42.DLL_CWnd::ShowWindow
mov dword [esp + 0x90], 0xffffffff
lea ecx, [esp + 0x74]
call fcn.0055722e
mov ecx, dword [esp + 0x88]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x84
ret