Function at 0x4121c8
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 0x41264f
push dword fs:[eax]
mov dword fs:[eax], esp
mov dl, 1
mov eax, dword [0x40b61c]
call fcn.00402a94
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.004025a8
mov esi, eax
test ebx, ebx
jbe 0x41225d
push 0xc8
push esi
push ebx
call sub.user32.dll_GetWindowTextA
lea eax, [ebp - 0x14]
mov edx, esi
call fcn.004035ec
mov eax, dword [ebp - 0x14]
lea edx, [ebp - 0x10]
call fcn.00406bac
cmp dword [ebp - 0x10], 0
je 0x41224f
lea eax, [ebp - 0x18]
mov edx, esi
call fcn.004035ec
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 0x412213
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x14]
dec eax
jle 0x412634
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x14]
mov ebx, eax
dec ebx
test ebx, ebx
jl 0x412625
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.00406ac0
mov edx, dword [ebp - 0xc]
mov eax, 0x412668
call fcn.00403920
test eax, eax
je 0x4122d4
mov eax, dword [ebp - 0xc]
call fcn.00403854
push eax
push 0
call sub.user32.dll_FindWindowA
mov edi, eax
push 0
push 0
push 0x10
push edi
call sub.user32.dll_PostMessageA
jmp 0x41261b
mov edx, dword [ebp - 0xc]
mov eax, 0x41267c
call fcn.00403920
test eax, eax
je 0x412308
mov eax, dword [ebp - 0xc]
call fcn.00403854
push eax
push 0
call sub.user32.dll_FindWindowA
mov edi, eax
push 0
push 0
push 0x10
push edi
call sub.user32.dll_PostMessageA
jmp 0x41261b
mov edx, dword [ebp - 0xc]
mov eax, 0x412690
call fcn.00403920
test eax, eax
je 0x41233c
mov eax, dword [ebp - 0xc]
call fcn.00403854
push eax
push 0
call sub.user32.dll_FindWindowA
mov edi, eax
push 0
push 0
push 0x10
push edi
call sub.user32.dll_PostMessageA
jmp 0x41261b
mov edx, dword [ebp - 0xc]
mov eax, 0x4126a4
call fcn.00403920
test eax, eax
je 0x412370
mov eax, dword [ebp - 0xc]
call fcn.00403854
push eax
push 0
call sub.user32.dll_FindWindowA
mov edi, eax
push 0
push 0
push 0x10
push edi
call sub.user32.dll_PostMessageA
jmp 0x41261b
mov edx, dword [ebp - 0xc]
mov eax, 0x4126bc
call fcn.00403920
test eax, eax
je 0x4123a4
mov eax, dword [ebp - 0xc]
call fcn.00403854
push eax
push 0
call sub.user32.dll_FindWindowA
mov edi, eax
push 0
push 0
push 0x10
push edi
call sub.user32.dll_PostMessageA
jmp 0x41261b
mov edx, dword [ebp - 0xc]
mov eax, 0x4126cc
call fcn.00403920
test eax, eax
je 0x4123d8
mov eax, dword [ebp - 0xc]
call fcn.00403854
push eax
push 0
call sub.user32.dll_FindWindowA
mov edi, eax
push 0
push 0
push 0x10
push edi
call sub.user32.dll_PostMessageA
jmp 0x41261b
mov edx, dword [ebp - 0xc]
mov eax, 0x4126dc
call fcn.00403920
test eax, eax
je 0x41240c
mov eax, dword [ebp - 0xc]
call fcn.00403854
push eax
push 0
call sub.user32.dll_FindWindowA
mov edi, eax
push 0
push 0
push 0x10
push edi
call sub.user32.dll_PostMessageA
jmp 0x41261b
mov edx, dword [ebp - 0xc]
mov eax, 0x4126ec
call fcn.00403920
test eax, eax
je 0x412440
mov eax, dword [ebp - 0xc]
call fcn.00403854
push eax
push 0
call sub.user32.dll_FindWindowA
mov edi, eax
push 0
push 0
push 0x10
push edi
call sub.user32.dll_PostMessageA
jmp 0x41261b
mov edx, dword [ebp - 0xc]
mov eax, 0x412700
call fcn.00403920
test eax, eax
je 0x412474
mov eax, dword [ebp - 0xc]
call fcn.00403854
push eax
push 0
call sub.user32.dll_FindWindowA
mov edi, eax
push 0
push 0
push 0x10
push edi
call sub.user32.dll_PostMessageA
jmp 0x41261b
mov edx, dword [ebp - 0xc]
mov eax, 0x412730
call fcn.00403920
test eax, eax
je 0x4124ff
mov eax, dword [ebp - 0xc]
call fcn.00403854
push eax
push 0
call sub.user32.dll_FindWindowA
mov edi, eax
mov edx, dword [ebp - 0xc]
mov eax, 0x412748
call fcn.00403920
test eax, eax
je 0x4124cb
push 0
push 0
push 0x82
push edi
call sub.user32.dll_PostMessageA
mov eax, 0x1388
call fcn.00410d18
call fcn.00410cec
jmp 0x41261b
push 0
push 0
push 0x10
push edi
call sub.user32.dll_PostMessageA
call fcn.00410cec
mov eax, dword [0x4186f4]
call fcn.0040e340
mov eax, 0x3e8
call fcn.00410d18
mov eax, dword [0x4186f4]
call fcn.0040e330
jmp 0x41261b
mov edx, dword [ebp - 0xc]
mov eax, 0x412764
call fcn.00403920
test eax, eax
je 0x412556
mov eax, dword [ebp - 0xc]
call fcn.00403854
push eax
push 0
call sub.user32.dll_FindWindowA
mov edi, eax
push 0
push 0
push 0x10
push edi
call sub.user32.dll_PostMessageA
call fcn.00410cec
mov eax, dword [0x4186f4]
call fcn.0040e340
mov eax, 0x3e8
call fcn.00410d18
mov eax, dword [0x4186f4]
call fcn.0040e330
jmp 0x41261b
mov edx, dword [ebp - 0xc]
mov eax, 0x412778
call fcn.00403920
test eax, eax
je 0x41258a
mov eax, dword [ebp - 0xc]
call fcn.00403854
push eax
push 0
call sub.user32.dll_FindWindowA
mov edi, eax
push 0
push 0
push 0x10
push edi
call sub.user32.dll_PostMessageA
jmp 0x41261b
mov edx, dword [ebp - 0xc]
mov eax, 0x4127a0
call fcn.00403920
test eax, eax
je 0x4125bb
mov eax, dword [ebp - 0xc]
call fcn.00403854
push eax
push 0
call sub.user32.dll_FindWindowA
mov edi, eax
push 0
push 0
push 0x10
push edi
call sub.user32.dll_PostMessageA
jmp 0x41261b
mov edx, dword [ebp - 0xc]
mov eax, 0x4127bc
call fcn.00403920
test eax, eax
je 0x4125ec
mov eax, dword [ebp - 0xc]
call fcn.00403854
push eax
push 0
call sub.user32.dll_FindWindowA
mov edi, eax
push 0
push 0
push 0x10
push edi
call sub.user32.dll_PostMessageA
jmp 0x41261b
mov edx, dword [ebp - 0xc]
mov eax, 0x4127e0
call fcn.00403920
test eax, eax
je 0x41261b
mov eax, dword [ebp - 0xc]
call fcn.00403854
push eax
push 0
call sub.user32.dll_FindWindowA
mov edi, eax
push 0
push 0
push 0x10
push edi
call sub.user32.dll_PostMessageA
inc dword [ebp - 8]
dec ebx
jne 0x412287
mov eax, esi
call fcn.004025c0
mov eax, dword [ebp - 4]
call fcn.00402ac4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x412656
lea eax, [ebp - 0x1c]
mov edx, 5
call fcn.00403458
ret