Function at 0x41317c
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 0x413603
push dword fs:[eax]
mov dword fs:[eax], esp
mov dl, 1
mov eax, dword [0x40b6d8]
call fcn.00402af4
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 0x413211
push 0xc8
push esi
push ebx
call sub.user32.dll_GetWindowTextA
lea eax, [ebp - 0x14]
mov edx, esi
call fcn.0040364c
mov eax, dword [ebp - 0x14]
lea edx, [ebp - 0x10]
call fcn.00406c34
cmp dword [ebp - 0x10], 0
je 0x413203
lea eax, [ebp - 0x18]
mov edx, esi
call fcn.0040364c
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 0x4131c7
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x14]
dec eax
jle 0x4135e8
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x14]
mov ebx, eax
dec ebx
test ebx, ebx
jl 0x4135d9
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.00406b48
mov edx, dword [ebp - 0xc]
mov eax, 0x41361c
call fcn.00403980
test eax, eax
je 0x413288
mov eax, dword [ebp - 0xc]
call fcn.004038b4
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 0x4135cf
mov edx, dword [ebp - 0xc]
mov eax, 0x413630
call fcn.00403980
test eax, eax
je 0x4132bc
mov eax, dword [ebp - 0xc]
call fcn.004038b4
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 0x4135cf
mov edx, dword [ebp - 0xc]
mov eax, 0x413644
call fcn.00403980
test eax, eax
je 0x4132f0
mov eax, dword [ebp - 0xc]
call fcn.004038b4
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 0x4135cf
mov edx, dword [ebp - 0xc]
mov eax, 0x413658
call fcn.00403980
test eax, eax
je 0x413324
mov eax, dword [ebp - 0xc]
call fcn.004038b4
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 0x4135cf
mov edx, dword [ebp - 0xc]
mov eax, 0x413670
call fcn.00403980
test eax, eax
je 0x413358
mov eax, dword [ebp - 0xc]
call fcn.004038b4
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 0x4135cf
mov edx, dword [ebp - 0xc]
mov eax, 0x413680
call fcn.00403980
test eax, eax
je 0x41338c
mov eax, dword [ebp - 0xc]
call fcn.004038b4
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 0x4135cf
mov edx, dword [ebp - 0xc]
mov eax, 0x413690
call fcn.00403980
test eax, eax
je 0x4133c0
mov eax, dword [ebp - 0xc]
call fcn.004038b4
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 0x4135cf
mov edx, dword [ebp - 0xc]
mov eax, 0x4136a0
call fcn.00403980
test eax, eax
je 0x4133f4
mov eax, dword [ebp - 0xc]
call fcn.004038b4
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 0x4135cf
mov edx, dword [ebp - 0xc]
mov eax, 0x4136b4
call fcn.00403980
test eax, eax
je 0x413428
mov eax, dword [ebp - 0xc]
call fcn.004038b4
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 0x4135cf
mov edx, dword [ebp - 0xc]
mov eax, 0x4136e4
call fcn.00403980
test eax, eax
je 0x4134b3
mov eax, dword [ebp - 0xc]
call fcn.004038b4
push eax
push 0
call sub.user32.dll_FindWindowA
mov edi, eax
mov edx, dword [ebp - 0xc]
mov eax, 0x4136fc
call fcn.00403980
test eax, eax
je 0x41347f
push 0
push 0
push 0x82
push edi
call sub.user32.dll_PostMessageA
mov eax, 0x1388
call fcn.004116f0
call fcn.004116c4
jmp 0x4135cf
push 0
push 0
push 0x10
push edi
call sub.user32.dll_PostMessageA
call fcn.004116c4
mov eax, dword [0x419710]
call fcn.0040e3fc
mov eax, 0x3e8
call fcn.004116f0
mov eax, dword [0x419710]
call fcn.0040e3ec
jmp 0x4135cf
mov edx, dword [ebp - 0xc]
mov eax, 0x413718
call fcn.00403980
test eax, eax
je 0x41350a
mov eax, dword [ebp - 0xc]
call fcn.004038b4
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.004116c4
mov eax, dword [0x419710]
call fcn.0040e3fc
mov eax, 0x3e8
call fcn.004116f0
mov eax, dword [0x419710]
call fcn.0040e3ec
jmp 0x4135cf
mov edx, dword [ebp - 0xc]
mov eax, 0x41372c
call fcn.00403980
test eax, eax
je 0x41353e
mov eax, dword [ebp - 0xc]
call fcn.004038b4
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 0x4135cf
mov edx, dword [ebp - 0xc]
mov eax, 0x413754
call fcn.00403980
test eax, eax
je 0x41356f
mov eax, dword [ebp - 0xc]
call fcn.004038b4
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 0x4135cf
mov edx, dword [ebp - 0xc]
mov eax, 0x413770
call fcn.00403980
test eax, eax
je 0x4135a0
mov eax, dword [ebp - 0xc]
call fcn.004038b4
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 0x4135cf
mov edx, dword [ebp - 0xc]
mov eax, 0x413794
call fcn.00403980
test eax, eax
je 0x4135cf
mov eax, dword [ebp - 0xc]
call fcn.004038b4
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 0x41323b
mov eax, esi
call fcn.004025c0
mov eax, dword [ebp - 4]
call fcn.00402b24
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x41360a
lea eax, [ebp - 0x1c]
mov edx, 5
call fcn.004034b8
ret