Function at 0x4348f0
Capabilities:
Get graphical window text

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4821b1
push eax
mov dword fs:[0], esp
sub esp, 0x220
push ebp
mov ebp, ecx
push 0xffff0000
push 0
mov eax, dword [ebp + 0x20]
push 0x1101
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov ecx, dword [ebp + 0xa8]
call fcn.00425a90
test eax, eax
je 0x434c65
mov ecx, dword [ebp + 0xa8]
push esi
push edi
lea edi, [ebp + 0x84]
mov edx, dword [ecx + 0x1a8]
push edi
mov dword [esp + 0x24], edx
mov dword [esp + 0x20], edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea ecx, [esp + 0xc]
call sub.MFC42.DLL_CString::CString_5
mov dword [esp + 0x234], 0
call sub.MFC42.DLL_AfxGetThread
test eax, eax
je 0x434980
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x7c]
jmp 0x434982
xor eax, eax
mov eax, dword [eax + 0x20]
push 0
push eax
call dword [sym.imp.USER32.dll_GetWindow]
push eax
call sub.MFC42.DLL_CWnd::FromHandle
mov esi, eax
test esi, esi
je 0x434c48
push ebx
test esi, esi
mov dword [esp + 0x1c], 0
jne 0x4349af
xor eax, eax
jmp 0x4349b2
mov eax, dword [esi + 0x20]
lea ecx, [esp + 0x1c]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x1c]
cmp edx, eax
jne 0x434c27
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x12d]
mov byte [esp + 0x12c], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x29]
mov byte [esp + 0x28], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [esp + 0x28]
push 0x104
push eax
mov ecx, esi
call sub.MFC42.DLL_CWnd::GetWindowTextA
mov al, byte [esp + 0x28]
test al, al
jne 0x434a44
mov ecx, dword [ebp + 0xa8]
call fcn.004273b0
test eax, eax
je 0x434a44
test esi, esi
jne 0x434a2e
xor eax, eax
jmp 0x434a31
mov eax, dword [esi + 0x20]
lea ecx, [esp + 0x28]
push ecx
push 0x104
push 0xd
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
test esi, esi
jne 0x434a4c
xor eax, eax
jmp 0x434a4f
mov eax, dword [esi + 0x20]
lea edx, [esp + 0x12c]
push 0x104
push edx
push eax
call dword [sym.imp.USER32.dll_GetClassNameA]
mov al, byte [esp + 0x28]
test al, al
je 0x434a98
test esi, esi
jne 0x434a73
xor eax, eax
jmp 0x434a76
mov eax, dword [esi + 0x20]
lea ecx, [esp + 0x28]
lea edx, [esp + 0x12c]
push ecx
push edx
push eax
lea eax, [esp + 0x1c]
push str.HWND0x_p__s____s_
push eax
call sub.MFC42.DLL_CString::Format
add esp, 0x14
jmp 0x434abe
test esi, esi
jne 0x434aa0
xor eax, eax
jmp 0x434aa3
mov eax, dword [esi + 0x20]
lea ecx, [esp + 0x12c]
lea edx, [esp + 0x10]
push ecx
push eax
push str.HWND0x_p__s_
push edx
call sub.MFC42.DLL_CString::Format
add esp, 0x10
mov eax, dword [esp + 0x10]
push 0xffff0002
push 0xffff0000
push 0
push 0
push 0
push 0
push 0
push eax
push 1
mov ecx, ebp
call sub.MFC42.DLL_CTreeCtrl::InsertItem
push 0xffffffffffffffff
push 0
push 0
push 0
push 0
mov edi, eax
push 0
push 4
push edi
mov ecx, ebp
call sub.MFC42.DLL_CTreeCtrl::SetItem
test esi, esi
jne 0x434b00
xor eax, eax
jmp 0x434b03
mov eax, dword [esi + 0x20]
push edi
push eax
mov ecx, ebp
call fcn.00434c80
test esi, esi
jne 0x434b14
xor eax, eax
jmp 0x434b17
mov eax, dword [esi + 0x20]
push 0xfffffffffffffff0
push eax
call dword [sym.imp.USER32.dll_GetWindowLongA]
test eax, 0x40000000
jne 0x434c27
test esi, esi
jne 0x434b33
xor eax, eax
jmp 0x434b36
mov eax, dword [esi + 0x20]
push eax
call dword [sym.imp.USER32.dll_GetMenu]
mov ebx, eax
test ebx, ebx
je 0x434c27
push ebx
call dword [sym.imp.USER32.dll_GetMenuItemCount]
test eax, eax
jle 0x434c27
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::CString_5
lea ecx, [esp + 0x14]
mov byte [esp + 0x238], 1
call sub.MFC42.DLL_CString::CString_5
lea ecx, [esp + 0x14]
mov byte [esp + 0x238], 2
push ecx
mov ecx, esi
call sub.MFC42.DLL_CWnd::GetWindowTextA_1
test esi, esi
jne 0x434b8c
xor eax, eax
jmp 0x434b8f
mov eax, dword [esi + 0x20]
mov edx, dword [esp + 0x14]
push edx
push eax
lea eax, [esp + 0x20]
push 0x4a8f68
push eax
call sub.MFC42.DLL_CString::Format
add esp, 0x10
mov ecx, dword [esp + 0x18]
push 0xffff0002
push 0xffff0000
push 0
push 0
push 0
push 0
push 0
push ecx
push 1
mov ecx, ebp
call sub.MFC42.DLL_CTreeCtrl::InsertItem
test esi, esi
mov edi, eax
jne 0x434bd3
xor eax, eax
jmp 0x434bd6
mov eax, dword [esi + 0x20]
or eax, 0x80000000
mov ecx, ebp
push eax
push 0
push 0
push 0
push 0
push 0
push 4
push edi
call sub.MFC42.DLL_CTreeCtrl::SetItem
test esi, esi
jne 0x434bf8
xor eax, eax
jmp 0x434bfb
mov eax, dword [esi + 0x20]
push eax
push edi
push ebx
mov ecx, ebp
call fcn.00435770
lea ecx, [esp + 0x14]
mov byte [esp + 0x238], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x18]
mov byte [esp + 0x238], 0
call sub.MFC42.DLL_CString::CString
mov edx, dword [esi + 0x20]
push 2
push edx
call dword [sym.imp.USER32.dll_GetWindow]
push eax
call sub.MFC42.DLL_CWnd::FromHandle
mov esi, eax
test esi, esi
jne 0x43499f
mov edi, dword [esp + 0x20]
pop ebx
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
lea ecx, [esp + 0xc]
mov dword [esp + 0x234], 0xffffffff
call sub.MFC42.DLL_CString::CString
pop edi
pop esi
mov ecx, dword [esp + 0x224]
pop ebp
mov dword fs:[0], ecx
add esp, 0x22c
ret