Function at 0x45265c
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ebx
push esi
push edi
xor eax, eax
push ebp
push 0x452984
push dword fs:[eax]
mov dword fs:[eax], esp
mov dl, 1
mov eax, dword [0x40dbe8]
call fcn.00402e00
mov dword [ebp - 4], eax
call sub.user32.dll_GetDesktopWindow
push 5
push eax
call sub.user32.dll_GetWindow
mov ebx, eax
mov eax, 0xc8
call fcn.004026fc
mov esi, eax
test ebx, ebx
jbe 0x4526f1
push 0xc8
push esi
push ebx
call sub.user32.dll_GetWindowTextA
lea eax, [ebp - 0x14]
mov edx, esi
call fcn.00403cf4
mov eax, dword [ebp - 0x14]
lea edx, [ebp - 0x10]
call fcn.00407f50
cmp dword [ebp - 0x10], 0
je 0x4526e3
lea eax, [ebp - 0x18]
mov edx, esi
call fcn.00403cf4
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x34]
push 2
push ebx
call sub.user32.dll_GetWindow
mov ebx, eax
test ebx, ebx
ja 0x4526a7
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x14]
dec eax
jle 0x452969
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x14]
mov ebx, eax
dec ebx
test ebx, ebx
jl 0x45295a
inc ebx
mov dword [ebp - 8], 0
lea ecx, [ebp - 0x1c]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0x1c]
lea edx, [ebp - 0xc]
call fcn.00407d7c
mov edx, dword [ebp - 0xc]
mov eax, 0x45299c
call fcn.004040a8
test eax, eax
je 0x452766
mov eax, dword [ebp - 0xc]
call fcn.00403f80
push eax
push 0
call sub.user32.dll_FindWindowA
push 0
push 0
push 0x10
push eax
call sub.user32.dll_PostMessageA
jmp 0x452950
mov edx, dword [ebp - 0xc]
mov eax, 0x4529b0
call fcn.004040a8
test eax, eax
je 0x452798
mov eax, dword [ebp - 0xc]
call fcn.00403f80
push eax
push 0
call sub.user32.dll_FindWindowA
push 0
push 0
push 0x10
push eax
call sub.user32.dll_PostMessageA
jmp 0x452950
mov edx, dword [ebp - 0xc]
mov eax, 0x4529c4
call fcn.004040a8
test eax, eax
je 0x4527ca
mov eax, dword [ebp - 0xc]
call fcn.00403f80
push eax
push 0
call sub.user32.dll_FindWindowA
push 0
push 0
push 0x10
push eax
call sub.user32.dll_PostMessageA
jmp 0x452950
mov edx, dword [ebp - 0xc]
mov eax, 0x4529d8
call fcn.004040a8
test eax, eax
je 0x4527fc
mov eax, dword [ebp - 0xc]
call fcn.00403f80
push eax
push 0
call sub.user32.dll_FindWindowA
push 0
push 0
push 0x10
push eax
call sub.user32.dll_PostMessageA
jmp 0x452950
mov edx, dword [ebp - 0xc]
mov eax, 0x4529f4
call fcn.004040a8
test eax, eax
je 0x45282e
mov eax, dword [ebp - 0xc]
call fcn.00403f80
push eax
push 0
call sub.user32.dll_FindWindowA
push 0
push 0
push 0x10
push eax
call sub.user32.dll_PostMessageA
jmp 0x452950
mov edx, dword [ebp - 0xc]
mov eax, 0x452a04
call fcn.004040a8
test eax, eax
je 0x452860
mov eax, dword [ebp - 0xc]
call fcn.00403f80
push eax
push 0
call sub.user32.dll_FindWindowA
push 0
push 0
push 0x10
push eax
call sub.user32.dll_PostMessageA
jmp 0x452950
mov edx, dword [ebp - 0xc]
mov eax, 0x452a14
call fcn.004040a8
test eax, eax
je 0x452892
mov eax, dword [ebp - 0xc]
call fcn.00403f80
push eax
push 0
call sub.user32.dll_FindWindowA
push 0
push 0
push 0x10
push eax
call sub.user32.dll_PostMessageA
jmp 0x452950
mov edx, dword [ebp - 0xc]
mov eax, 0x452a24
call fcn.004040a8
test eax, eax
je 0x4528c4
mov eax, dword [ebp - 0xc]
call fcn.00403f80
push eax
push 0
call sub.user32.dll_FindWindowA
push 0
push 0
push 0x10
push eax
call sub.user32.dll_PostMessageA
jmp 0x452950
mov edx, dword [ebp - 0xc]
mov eax, 0x452a38
call fcn.004040a8
test eax, eax
je 0x45290b
mov eax, dword [ebp - 0xc]
call fcn.00403f80
push eax
push 0
call sub.user32.dll_FindWindowA
push 0
push 0
push 0x10
push eax
call sub.user32.dll_PostMessageA
mov eax, dword [0x455e1c]
mov eax, dword [eax]
call fcn.004468b0
mov eax, dword [0x455dcc]
mov eax, dword [eax]
call fcn.00414588
jmp 0x452950
mov edx, dword [ebp - 0xc]
mov eax, 0x452a50
call fcn.004040a8
test eax, eax
je 0x452950
mov eax, dword [ebp - 0xc]
call fcn.00403f80
push eax
push 0
call sub.user32.dll_FindWindowA
push 0
push 0
push 0x10
push eax
call sub.user32.dll_PostMessageA
mov eax, dword [0x455e1c]
mov eax, dword [eax]
call fcn.004468b0
mov eax, dword [0x455dcc]
mov eax, dword [eax]
call fcn.00414588
inc dword [ebp - 8]
dec ebx
jne 0x45271b
mov eax, esi
call fcn.00402714
mov eax, dword [ebp - 4]
call fcn.00402e30
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45298b
lea eax, [ebp - 0x1c]
mov edx, 5
call fcn.00403b60
ret