Function at 0x4fcd10
Capabilities:
Get graphical window text

Disassembly:
push 0xffffffffffffffff
push 0x593c7e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push ebp
push esi
push edi
mov edi, ecx
push 0x14
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 0x1c], eax
xor ebp, ebp
cmp eax, ebp
mov dword [esp + 0x2c], ebp
je 0x4fcd51
mov ecx, eax
call fcn.004f0900
mov esi, eax
jmp 0x4fcd53
xor esi, esi
or ebx, 0xffffffff
mov ecx, esi
mov dword [esp + 0x2c], ebx
call fcn.004f13e0
cmp esi, ebp
mov dword [esp + 0x10], eax
je 0x4fcd71
mov eax, dword [esi]
push 1
mov ecx, esi
call dword [eax]
push 0x18
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 0x1c], eax
cmp eax, ebp
mov dword [esp + 0x2c], 1
je 0x4fcd94
mov ecx, eax
call fcn.005030e0
mov ebp, eax
push 0x5fd02c
lea ecx, [esp + 0x20]
mov dword [esp + 0x30], ebx
call sub.MFC42.DLL_CString::CString_4
mov ebx, 2
push 0x558
mov ecx, edi
mov dword [esp + 0x30], ebx
call sub.MFC42.DLL_CWnd::GetDlgItem
mov ecx, dword [eax + 0x20]
mov esi, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push 0
push 0x14b
push ecx
call esi
push ecx
mov ecx, esp
mov dword [esp + 0x18], esp
push str.Not_Scan
call sub.MFC42.DLL_CString::CString_4
push ecx
mov byte [esp + 0x34], 3
mov ecx, esp
mov dword [esp + 0x28], esp
push str.IDC_PrtSetPrinter_NotScan
call sub.MFC42.DLL_CString::CString_4
mov edx, dword [esp + 0x18]
lea eax, [esp + 0x20]
push edx
push eax
mov ecx, ebp
mov byte [esp + 0x3c], bl
call fcn.0052b140
mov ecx, dword [eax]
push 0x558
mov dword [esp + 0x18], ecx
mov ecx, edi
mov byte [esp + 0x30], 4
call sub.MFC42.DLL_CWnd::GetDlgItem
mov edx, dword [esp + 0x14]
mov eax, dword [eax + 0x20]
push edx
push 0
push 0x14a
push eax
call esi
lea ecx, [esp + 0x18]
mov byte [esp + 0x2c], bl
call sub.MFC42.DLL_CString::CString
push ecx
mov ecx, esp
mov dword [esp + 0x24], esp
push str.Scan_Boundary
call sub.MFC42.DLL_CString::CString_4
push ecx
mov byte [esp + 0x34], 5
mov ecx, esp
mov dword [esp + 0x20], esp
push str.IDC_PrtSetPrinter_ScanBoundary
call sub.MFC42.DLL_CString::CString_4
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0x1c]
push ecx
push edx
mov ecx, ebp
mov byte [esp + 0x3c], bl
call fcn.0052b140
mov eax, dword [eax]
push 0x558
mov ecx, edi
mov byte [esp + 0x30], 6
mov dword [esp + 0x1c], eax
call sub.MFC42.DLL_CWnd::GetDlgItem
mov ecx, dword [esp + 0x18]
push ecx
mov edx, dword [eax + 0x20]
push 1
push 0x14a
push edx
call esi
lea ecx, [esp + 0x14]
mov byte [esp + 0x2c], bl
call sub.MFC42.DLL_CString::CString
push ecx
mov ecx, esp
mov dword [esp + 0x24], esp
push str.Scan_Diagonal
call sub.MFC42.DLL_CString::CString_4
push ecx
mov byte [esp + 0x34], 7
mov ecx, esp
mov dword [esp + 0x20], esp
push str.IDC_PrtSetPrinter_ScanDiagonal
call sub.MFC42.DLL_CString::CString_4
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0x1c]
push eax
push ecx
mov ecx, ebp
mov byte [esp + 0x3c], bl
call fcn.0052b140
mov edx, dword [eax]
push 0x558
mov ecx, edi
mov byte [esp + 0x30], 8
mov dword [esp + 0x1c], edx
call sub.MFC42.DLL_CWnd::GetDlgItem
mov ecx, dword [esp + 0x18]
mov edx, dword [eax + 0x20]
push ecx
push ebx
push 0x14a
push edx
call esi
lea ecx, [esp + 0x14]
mov byte [esp + 0x2c], bl
call sub.MFC42.DLL_CString::CString
push 0x5be
mov ecx, edi
call sub.MFC42.DLL_CWnd::GetDlgItem
mov eax, dword [eax + 0x20]
push 0
push 0
push 0x14b
push eax
call esi
push ecx
mov ecx, esp
mov dword [esp + 0x24], esp
push 0x5ef448
call sub.MFC42.DLL_CString::CString_4
push ecx
mov byte [esp + 0x34], 9
mov ecx, esp
mov dword [esp + 0x20], esp
push str.IDC_PrtSetPrinter_OutUnit_MM
call sub.MFC42.DLL_CString::CString_4
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0x1c]
push ecx
push edx
mov ecx, ebp
mov byte [esp + 0x3c], bl
call fcn.0052b140
mov eax, dword [eax]
push 0x5be
mov ecx, edi
mov byte [esp + 0x30], 0xa
mov dword [esp + 0x1c], eax
call sub.MFC42.DLL_CWnd::GetDlgItem
mov ecx, dword [esp + 0x18]
push ecx
mov edx, dword [eax + 0x20]
push 0
push 0x14a
push edx
call esi
lea ecx, [esp + 0x14]
mov byte [esp + 0x2c], bl
call sub.MFC42.DLL_CString::CString
push ecx
mov ecx, esp
mov dword [esp + 0x24], esp
push 0x5ef424
call sub.MFC42.DLL_CString::CString_4
push ecx
mov byte [esp + 0x34], 0xb
mov ecx, esp
mov dword [esp + 0x20], esp
push str.IDC_PrtSetPrinter_OutUnit_CM
call sub.MFC42.DLL_CString::CString_4
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0x1c]
push eax
push ecx
mov ecx, ebp
mov byte [esp + 0x3c], bl
call fcn.0052b140
mov edx, dword [eax]
push 0x5be
mov ecx, edi
mov byte [esp + 0x30], 0xc
mov dword [esp + 0x1c], edx
call sub.MFC42.DLL_CWnd::GetDlgItem
mov ecx, dword [esp + 0x18]
mov edx, dword [eax + 0x20]
push ecx
push 1
push 0x14a
push edx
call esi
lea ecx, [esp + 0x14]
mov byte [esp + 0x2c], bl
call sub.MFC42.DLL_CString::CString
push ecx
mov ecx, esp
mov dword [esp + 0x24], esp
push 0x5ef400
call sub.MFC42.DLL_CString::CString_4
push ecx
mov byte [esp + 0x34], 0xd
mov ecx, esp
mov dword [esp + 0x20], esp
push str.IDC_PrtSetPrinter_OutUnit_DM
call sub.MFC42.DLL_CString::CString_4
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0x1c]
push eax
push ecx
mov ecx, ebp
mov byte [esp + 0x3c], bl
call fcn.0052b140
mov edx, dword [eax]
push 0x5be
mov ecx, edi
mov byte [esp + 0x30], 0xe
mov dword [esp + 0x1c], edx
call sub.MFC42.DLL_CWnd::GetDlgItem
mov ecx, dword [esp + 0x18]
mov edx, dword [eax + 0x20]
push ecx
push ebx
push 0x14a
push edx
call esi
lea ecx, [esp + 0x14]
mov byte [esp + 0x2c], bl
call sub.MFC42.DLL_CString::CString
push ecx
mov ecx, esp
mov dword [esp + 0x24], esp
push 0x5ef3dc
call sub.MFC42.DLL_CString::CString_4
push ecx
mov byte [esp + 0x34], 0xf
mov ecx, esp
mov dword [esp + 0x20], esp
push str.IDC_PrtSetPrinter_OutUnit_M
call sub.MFC42.DLL_CString::CString_4
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0x1c]
push eax
push ecx
mov ecx, ebp
mov byte [esp + 0x3c], bl
call fcn.0052b140
mov edx, dword [eax]
push 0x5be
mov ecx, edi
mov byte [esp + 0x30], 0x10
mov dword [esp + 0x1c], edx
call sub.MFC42.DLL_CWnd::GetDlgItem
mov ecx, dword [esp + 0x18]
mov edx, dword [eax + 0x20]
push ecx
push 3
push 0x14a
push edx
call esi
lea ecx, [esp + 0x14]
mov byte [esp + 0x2c], bl
call sub.MFC42.DLL_CString::CString
push ecx
mov ecx, esp
mov dword [esp + 0x24], esp
push str.Inch
call sub.MFC42.DLL_CString::CString_4
push ecx
mov byte [esp + 0x34], 0x11
mov ecx, esp
mov dword [esp + 0x20], esp
push str.IDC_PrtSetPrinter_OutUnit_Inch
call sub.MFC42.DLL_CString::CString_4
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0x1c]
push eax
push ecx
mov ecx, ebp
mov byte [esp + 0x3c], bl
call fcn.0052b140
mov edx, dword [eax]
push 0x5be
mov ecx, edi
mov byte [esp + 0x30], 0x12
mov dword [esp + 0x1c], edx
call sub.MFC42.DLL_CWnd::GetDlgItem
mov ecx, dword [esp + 0x18]
mov edx, dword [eax + 0x20]
push ecx
push 4
push 0x14a
push edx
call esi
lea ecx, [esp + 0x14]
mov byte [esp + 0x2c], bl
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x1c]
mov dword [esp + 0x2c], 0xffffffff
call sub.MFC42.DLL_CString::CString
test ebp, ebp
je 0x4fd197
mov eax, dword [ebp]
push 1
mov ecx, ebp
call dword [eax]
push 0
mov ecx, edi
call sub.MFC42.DLL_CWnd::UpdateData
mov ecx, dword [esp + 0x24]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x20
ret