Function at 0x468590
Capabilities:
Get graphical window text

Disassembly:
push 0xffffffffffffffff
push 0x4840fb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x21c
push ebx
push esi
mov ebx, ecx
push edi
xor esi, esi
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x22]
mov word [esp + 0x20], si
rep stosd dword es:[edi], eax
lea ecx, [esp + 0xc]
stosw word es:[edi], ax
call sub.MFC42u.DLL_CString::CString_4
lea eax, [esp + 0x14]
mov dword [esp + 0x230], esi
push eax
mov dword [esp + 0x18], esi
call fcn.0041fc00
add esp, 4
cmp al, 1
jne 0x4687b8
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx]
cmp eax, esi
jbe 0x4687a5
push ebp
mov ebp, 8
mov dword [esp + 0x1c], eax
mov edx, dword [esp + 0x18]
lea eax, [esp + 0x14]
push eax
mov edi, dword [edx + ebp - 4]
push edi
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov dword [esp + 0x20], eax
mov eax, dword [ebx + 0xd0]
test eax, eax
jne 0x468640
mov ecx, dword [esp + 0x18]
mov eax, dword [ebx + 0xd4]
mov edx, dword [ecx + ebp]
cmp edx, eax
jne 0x468792
jmp 0x468649
cmp eax, 1
jne 0x468792
mov eax, dword [ebx + 0x80]
push 0
push 0
push 0x1004
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
push edi
lea ecx, [esp + 0x14]
push str.0x_08X
push ecx
mov dword [esp + 0x20], eax
call sub.MFC42u.DLL_CString::Format
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x20]
add esp, 0xc
lea esi, [ebx + 0x60]
mov ecx, esi
push 0
push 0
push 0
push 0
push edx
push eax
push 1
call sub.MFC42u.DLL_CListCtrl::InsertItem
lea ecx, [esp + 0x24]
push 0x104
push ecx
push edi
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x24]
push edx
push 1
push eax
mov ecx, esi
mov word [esp + 0x236], 0
call sub.MFC42u.DLL_CListCtrl::SetItemText
lea ecx, [esp + 0x24]
push 0x104
push ecx
push edi
call dword [sym.imp.USER32.dll_GetClassNameW]
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x24]
push edx
push 2
push eax
mov ecx, esi
mov word [esp + 0x236], 0
call sub.MFC42u.DLL_CListCtrl::SetItemText
lea ecx, [esp + 0x10]
push 0x49c298
push ecx
call sub.MFC42u.DLL_CString::Format
add esp, 8
push edi
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x468728
mov edx, dword [0x50cb5c]
lea ecx, [esp + 0x10]
mov eax, dword [edx*4 + 0x4de324]
push eax
push ecx
call sub.MFC42u.DLL_CString::Format
add esp, 8
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
push edx
push 3
push eax
mov ecx, esi
call sub.MFC42u.DLL_CListCtrl::SetItemText
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0x10]
mov edx, dword [ecx + ebp]
push edx
push 0x49c3f0
push eax
call sub.MFC42u.DLL_CString::Format
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
add esp, 0xc
push ecx
push 4
push edx
mov ecx, esi
call sub.MFC42u.DLL_CListCtrl::SetItemText
mov eax, dword [esp + 0x20]
lea ecx, [esp + 0x10]
push eax
push 0x49c3f0
push ecx
call sub.MFC42u.DLL_CString::Format
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x20]
add esp, 0xc
mov ecx, esi
push edx
push 5
push eax
call sub.MFC42u.DLL_CListCtrl::SetItemText
mov eax, dword [esp + 0x1c]
add ebp, 8
dec eax
mov dword [esp + 0x1c], eax
jne 0x468607
pop ebp
mov ecx, dword [esp + 0x14]
push ecx
call dword [sym.imp.MSVCRT.dll_free]
add esp, 4
mov esi, 1
lea ecx, [esp + 0xc]
mov dword [esp + 0x230], 0xffffffff
call sub.MFC42u.DLL_CString::CString
mov ecx, dword [esp + 0x228]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x228
ret