Function at 0x4ffa10
Capabilities:
Get graphical window text

Disassembly:
push 0xffffffffffffffff
push 0x59401e
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 0x4ffa51
mov ecx, eax
call fcn.004f0900
mov esi, eax
jmp 0x4ffa53
xor esi, esi
or ebx, 0xffffffff
mov ecx, esi
mov dword [esp + 0x2c], ebx
call fcn.004f13e0
cmp esi, ebp
mov dword [esp + 0x14], eax
je 0x4ffa71
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 0x4ffa94
mov ecx, eax
call fcn.005030e0
mov ebp, eax
push 0x5fd02c
lea ecx, [esp + 0x14]
mov dword [esp + 0x30], ebx
call sub.MFC42.DLL_CString::CString_4
mov ebx, 2
push 0x472
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 + 0x1c], esp
push str.Pallal
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_JwDlgPrtSetType_PrintType_Pallal
call sub.MFC42.DLL_CString::CString_4
mov edx, dword [esp + 0x1c]
lea eax, [esp + 0x24]
push edx
push eax
mov ecx, ebp
mov byte [esp + 0x3c], bl
call fcn.0052b140
mov ecx, dword [eax]
push 0x472
mov dword [esp + 0x1c], ecx
mov ecx, edi
mov byte [esp + 0x30], 4
call sub.MFC42.DLL_CWnd::GetDlgItem
mov edx, dword [esp + 0x18]
mov eax, dword [eax + 0x20]
push edx
push 0
push 0x14a
push eax
call esi
lea ecx, [esp + 0x1c]
mov byte [esp + 0x2c], bl
call sub.MFC42.DLL_CString::CString
push ecx
mov ecx, esp
mov dword [esp + 0x24], esp
push str.Serial
call sub.MFC42.DLL_CString::CString_4
push ecx
mov byte [esp + 0x34], 5
mov ecx, esp
mov dword [esp + 0x24], esp
push str.IDC_JwDlgPrtSetType_PrintType_Serial
call sub.MFC42.DLL_CString::CString_4
mov ecx, dword [esp + 0x1c]
lea edx, [esp + 0x20]
push ecx
push edx
mov ecx, ebp
mov byte [esp + 0x3c], bl
call fcn.0052b140
mov eax, dword [eax]
push 0x472
mov ecx, edi
mov byte [esp + 0x30], 6
mov dword [esp + 0x20], eax
call sub.MFC42.DLL_CWnd::GetDlgItem
mov ecx, dword [esp + 0x1c]
push ecx
mov edx, dword [eax + 0x20]
push 1
push 0x14a
push edx
call esi
lea ecx, [esp + 0x18]
mov byte [esp + 0x2c], bl
call sub.MFC42.DLL_CString::CString
push str.Modbus
lea eax, [esp + 0x14]
push 0x5e227c
push eax
call sub.MFC42.DLL_CString::Format
mov ecx, dword [esp + 0x1c]
add esp, 0xc
mov dword [esp + 0x1c], ecx
mov ecx, edi
push 0x472
call sub.MFC42.DLL_CWnd::GetDlgItem
mov edx, dword [esp + 0x1c]
mov eax, dword [eax + 0x20]
push edx
push ebx
push 0x14a
push eax
call esi
push 0x5ef6cc
lea ecx, [esp + 0x14]
push 0x5e227c
push ecx
call sub.MFC42.DLL_CString::Format
mov edx, dword [esp + 0x1c]
add esp, 0xc
mov ecx, edi
mov dword [esp + 0x1c], edx
push 0x472
call sub.MFC42.DLL_CWnd::GetDlgItem
mov ecx, dword [esp + 0x1c]
mov edx, dword [eax + 0x20]
push ecx
push 3
push 0x14a
push edx
call esi
push str.JWIC
lea eax, [esp + 0x14]
push 0x5e227c
push eax
call sub.MFC42.DLL_CString::Format
mov ecx, dword [esp + 0x1c]
add esp, 0xc
mov dword [esp + 0x1c], ecx
mov ecx, edi
push 0x472
call sub.MFC42.DLL_CWnd::GetDlgItem
mov edx, dword [esp + 0x1c]
mov eax, dword [eax + 0x20]
push edx
push 4
push 0x14a
push eax
call esi
push str.Delta
lea ecx, [esp + 0x14]
push 0x5e227c
push ecx
call sub.MFC42.DLL_CString::Format
mov edx, dword [esp + 0x1c]
add esp, 0xc
mov ecx, edi
mov dword [esp + 0x1c], edx
push 0x472
call sub.MFC42.DLL_CWnd::GetDlgItem
mov ecx, dword [esp + 0x1c]
mov edx, dword [eax + 0x20]
push ecx
push 5
push 0x14a
push edx
call esi
push 0x5ef6b8
lea eax, [esp + 0x14]
push 0x5e227c
push eax
call sub.MFC42.DLL_CString::Format
mov ecx, dword [esp + 0x1c]
add esp, 0xc
mov dword [esp + 0x1c], ecx
mov ecx, edi
push 0x472
call sub.MFC42.DLL_CWnd::GetDlgItem
mov edx, dword [esp + 0x1c]
mov eax, dword [eax + 0x20]
push edx
push 6
push 0x14a
push eax
call esi
push 0x47b
mov ecx, edi
call sub.MFC42.DLL_CWnd::GetDlgItem
mov ecx, dword [eax + 0x20]
push 0
push 0
push 0x14b
push ecx
call esi
push ecx
mov ecx, esp
mov dword [esp + 0x24], esp
push str.Not_Divide_Cut
call sub.MFC42.DLL_CString::CString_4
push ecx
mov byte [esp + 0x34], 7
mov ecx, esp
mov dword [esp + 0x24], esp
push str.IDC_JwDlgPrtSetType_DblMacPrintType_NotDivideCut
call sub.MFC42.DLL_CString::CString_4
mov edx, dword [esp + 0x1c]
lea eax, [esp + 0x20]
push edx
push eax
mov ecx, ebp
mov byte [esp + 0x3c], bl
call fcn.0052b140
mov ecx, dword [eax]
push 0x47b
mov dword [esp + 0x20], ecx
mov ecx, edi
mov byte [esp + 0x30], 8
call sub.MFC42.DLL_CWnd::GetDlgItem
mov edx, dword [esp + 0x1c]
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.Divide_Cut
call sub.MFC42.DLL_CString::CString_4
push ecx
mov byte [esp + 0x34], 9
mov ecx, esp
mov dword [esp + 0x24], esp
push str.IDC_JwDlgPrtSetType_DblMacPrintType_DivideCut
call sub.MFC42.DLL_CString::CString_4
mov ecx, dword [esp + 0x1c]
lea edx, [esp + 0x20]
push ecx
push edx
mov ecx, ebp
mov byte [esp + 0x3c], bl
call fcn.0052b140
mov eax, dword [eax]
push 0x47b
mov ecx, edi
mov byte [esp + 0x30], 0xa
mov dword [esp + 0x20], eax
call sub.MFC42.DLL_CWnd::GetDlgItem
mov ecx, dword [esp + 0x1c]
mov edx, dword [eax + 0x20]
push ecx
push 1
push 0x14a
push edx
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.Cut_Receipt
call sub.MFC42.DLL_CString::CString_4
push ecx
mov byte [esp + 0x34], 0xb
mov ecx, esp
mov dword [esp + 0x24], esp
push str.IDC_JwDlgPrtSetType_DblMacPrintType_ReceiptCut
call sub.MFC42.DLL_CString::CString_4
mov eax, dword [esp + 0x1c]
lea ecx, [esp + 0x20]
push eax
push ecx
mov ecx, ebp
mov byte [esp + 0x3c], bl
call fcn.0052b140
mov edx, dword [eax]
push 0x47b
mov ecx, edi
mov byte [esp + 0x30], 0xc
mov dword [esp + 0x20], edx
call sub.MFC42.DLL_CWnd::GetDlgItem
mov ecx, dword [esp + 0x1c]
mov edx, dword [eax + 0x20]
push ecx
push ebx
push 0x14a
push edx
call esi
lea ecx, [esp + 0x18]
mov byte [esp + 0x2c], bl
call sub.MFC42.DLL_CString::CString
push 0x54d
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 str.Equal
call sub.MFC42.DLL_CString::CString_4
push ecx
mov byte [esp + 0x34], 0xd
mov ecx, esp
mov dword [esp + 0x24], esp
push str.IDC_JwDlgPrtSetType_DblMacSplitType_Equal
call sub.MFC42.DLL_CString::CString_4
mov ecx, dword [esp + 0x1c]
lea edx, [esp + 0x20]
push ecx
push edx
mov ecx, ebp
mov byte [esp + 0x3c], bl
call fcn.0052b140
mov eax, dword [eax]
push 0x54d
mov ecx, edi
mov byte [esp + 0x30], 0xe
mov dword [esp + 0x20], eax
call sub.MFC42.DLL_CWnd::GetDlgItem
mov ecx, dword [esp + 0x1c]
mov edx, dword [eax + 0x20]
push ecx
push 0
push 0x14a
push edx
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.Synchronize
call sub.MFC42.DLL_CString::CString_4
push ecx
mov byte [esp + 0x34], 0xf
mov ecx, esp
mov dword [esp + 0x24], esp
push str.IDC_JwDlgPrtSetType_DblMacSplitType_Synchronize
call sub.MFC42.DLL_CString::CString_4
mov eax, dword [esp + 0x1c]
lea ecx, [esp + 0x20]
push eax
push ecx
mov ecx, ebp
mov byte [esp + 0x3c], bl
call fcn.0052b140
mov edx, dword [eax]
push 0x54d
mov ecx, edi
mov byte [esp + 0x30], 0x10
mov dword [esp + 0x20], edx
call sub.MFC42.DLL_CWnd::GetDlgItem
mov ecx, dword [esp + 0x1c]
mov edx, dword [eax + 0x20]
push ecx
push 1
push 0x14a
push edx
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.Interaction
call sub.MFC42.DLL_CString::CString_4
push ecx
mov byte [esp + 0x34], 0x11
mov ecx, esp
mov dword [esp + 0x24], esp
push str.IDC_JwDlgPrtSetType_DblMacSplitType_Interaction
call sub.MFC42.DLL_CString::CString_4
mov eax, dword [esp + 0x1c]
lea ecx, [esp + 0x20]
push eax
push ecx
mov ecx, ebp
mov byte [esp + 0x3c], bl
call fcn.0052b140
mov edx, dword [eax]
push 0x54d
mov ecx, edi
mov byte [esp + 0x30], 0x12
mov dword [esp + 0x20], edx
call sub.MFC42.DLL_CWnd::GetDlgItem
mov ecx, dword [esp + 0x1c]
push ecx
mov edx, dword [eax + 0x20]
push ebx
push 0x14a
push edx
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.Equal2
call sub.MFC42.DLL_CString::CString_4
push ecx
mov byte [esp + 0x34], 0x13
mov ecx, esp
mov dword [esp + 0x24], esp
push str.IDC_JwDlgPrtSetType_DblMacSplitType_Equal2
call sub.MFC42.DLL_CString::CString_4
mov eax, dword [esp + 0x1c]
lea ecx, [esp + 0x20]
push eax
push ecx
mov ecx, ebp
mov byte [esp + 0x3c], bl
call fcn.0052b140
mov edx, dword [eax]
push 0x54d
mov ecx, edi
mov byte [esp + 0x30], 0x14
mov dword [esp + 0x20], edx
call sub.MFC42.DLL_CWnd::GetDlgItem
mov ecx, dword [esp + 0x1c]
mov edx, dword [eax + 0x20]
push ecx
push 3
push 0x14a
push edx
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.SPinteraction
call sub.MFC42.DLL_CString::CString_4
push ecx
mov byte [esp + 0x34], 0x15
mov ecx, esp
mov dword [esp + 0x24], esp
push str.IDC_JwDlgPrtSetType_DblMacSplitType_SPinteraction
call sub.MFC42.DLL_CString::CString_4
mov eax, dword [esp + 0x1c]
lea ecx, [esp + 0x20]
push eax
push ecx
mov ecx, ebp
mov byte [esp + 0x3c], bl
call fcn.0052b140
mov edx, dword [eax]
push 0x54d
mov ecx, edi
mov byte [esp + 0x30], 0x16
mov dword [esp + 0x20], edx
call sub.MFC42.DLL_CWnd::GetDlgItem
mov ecx, dword [esp + 0x1c]
mov edx, dword [eax + 0x20]
push ecx
push 4
push 0x14a
push edx
call esi
lea ecx, [esp + 0x18]
mov byte [esp + 0x2c], bl
call sub.MFC42.DLL_CString::CString
mov dword [esp + 0x2c], 0xffffffff
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString
test ebp, ebp
je 0x5000c6
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