Function at 0x457edc
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 0x4581d2
push dword fs:[eax]
mov dword fs:[eax], esp
mov dl, 1
mov eax, dword [0x40d698]
call fcn.00402e28
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.0040272c
mov esi, eax
test ebx, ebx
jbe 0x457f71
push 0xc8
push esi
push ebx
call sub.user32.dll_GetWindowTextA
lea eax, [ebp - 0x14]
mov edx, esi
call fcn.00403d1c
mov eax, dword [ebp - 0x14]
lea edx, [ebp - 0x10]
call fcn.00408b04
cmp dword [ebp - 0x10], 0
je 0x457f63
lea eax, [ebp - 0x18]
mov edx, esi
call fcn.00403d1c
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 0x457f27
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x14]
dec eax
jle 0x4581b7
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x14]
mov ebx, eax
dec ebx
test ebx, ebx
jl 0x4581a8
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.00408930
mov edx, dword [ebp - 0xc]
mov eax, 0x4581e8
call fcn.004040d0
test eax, eax
je 0x457fe6
mov eax, dword [ebp - 0xc]
call fcn.00403fa8
push eax
push 0
call sub.user32.dll_FindWindowA
push 0
push 0
push 0x10
push eax
call sub.user32.dll_PostMessageA
jmp 0x45819e
mov edx, dword [ebp - 0xc]
mov eax, 0x4581fc
call fcn.004040d0
test eax, eax
je 0x458018
mov eax, dword [ebp - 0xc]
call fcn.00403fa8
push eax
push 0
call sub.user32.dll_FindWindowA
push 0
push 0
push 0x10
push eax
call sub.user32.dll_PostMessageA
jmp 0x45819e
mov edx, dword [ebp - 0xc]
mov eax, 0x458210
call fcn.004040d0
test eax, eax
je 0x45804a
mov eax, dword [ebp - 0xc]
call fcn.00403fa8
push eax
push 0
call sub.user32.dll_FindWindowA
push 0
push 0
push 0x10
push eax
call sub.user32.dll_PostMessageA
jmp 0x45819e
mov edx, dword [ebp - 0xc]
mov eax, 0x45822c
call fcn.004040d0
test eax, eax
je 0x45807c
mov eax, dword [ebp - 0xc]
call fcn.00403fa8
push eax
push 0
call sub.user32.dll_FindWindowA
push 0
push 0
push 0x10
push eax
call sub.user32.dll_PostMessageA
jmp 0x45819e
mov edx, dword [ebp - 0xc]
mov eax, 0x45823c
call fcn.004040d0
test eax, eax
je 0x4580ae
mov eax, dword [ebp - 0xc]
call fcn.00403fa8
push eax
push 0
call sub.user32.dll_FindWindowA
push 0
push 0
push 0x10
push eax
call sub.user32.dll_PostMessageA
jmp 0x45819e
mov edx, dword [ebp - 0xc]
mov eax, 0x45824c
call fcn.004040d0
test eax, eax
je 0x4580e0
mov eax, dword [ebp - 0xc]
call fcn.00403fa8
push eax
push 0
call sub.user32.dll_FindWindowA
push 0
push 0
push 0x10
push eax
call sub.user32.dll_PostMessageA
jmp 0x45819e
mov edx, dword [ebp - 0xc]
mov eax, 0x45825c
call fcn.004040d0
test eax, eax
je 0x458112
mov eax, dword [ebp - 0xc]
call fcn.00403fa8
push eax
push 0
call sub.user32.dll_FindWindowA
push 0
push 0
push 0x10
push eax
call sub.user32.dll_PostMessageA
jmp 0x45819e
mov edx, dword [ebp - 0xc]
mov eax, 0x458270
call fcn.004040d0
test eax, eax
je 0x458159
mov eax, dword [ebp - 0xc]
call fcn.00403fa8
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 [0x45ba8c]
mov eax, dword [eax]
call fcn.004473a8
mov eax, dword [0x45ba44]
mov eax, dword [eax]
call fcn.00413ee8
jmp 0x45819e
mov edx, dword [ebp - 0xc]
mov eax, 0x458288
call fcn.004040d0
test eax, eax
je 0x45819e
mov eax, dword [ebp - 0xc]
call fcn.00403fa8
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 [0x45ba8c]
mov eax, dword [eax]
call fcn.004473a8
mov eax, dword [0x45ba44]
mov eax, dword [eax]
call fcn.00413ee8
inc dword [ebp - 8]
dec ebx
jne 0x457f9b
mov eax, esi
call fcn.00402744
mov eax, dword [ebp - 4]
call fcn.00402e58
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4581d9
lea eax, [ebp - 0x1c]
mov edx, 5
call fcn.00403b88
ret