Function at 0x4bd082
Capabilities:
Get graphical window text

Disassembly:
push pe_nt_image_headers32
mov eax, 0x56e1e2
call fcn.0054c36c
mov edi, ecx
mov eax, dword [edi + 0x150]
xor ebx, ebx
test eax, eax
jle 0x4bd0e3
mov esi, ebx
lea ebx, [edi + 0x1b0]
mov eax, dword [edi + 0x1b8]
mov ecx, ebx
dec eax
push eax
mov dword [ebp - 0x118], eax
call fcn.00434c70
mov ecx, dword [eax]
test ecx, ecx
je 0x4bd0c9
mov eax, dword [ecx]
push 1
call dword [eax + 4]
push 1
push dword [ebp - 0x118]
mov ecx, ebx
call fcn.004bf844
inc esi
cmp esi, dword [edi + 0x150]
jl 0x4bd0a7
xor ebx, ebx
mov ecx, edi
mov dword [edi + 0x150], ebx
call fcn.004ba52a
test eax, eax
je 0x4bd341
mov ecx, eax
call fcn.0041ccfd
push eax
push 0x58c0b0
call fcn.0042a983
mov dword [ebp - 0x124], eax
pop ecx
pop ecx
test eax, eax
je 0x4bd341
push 5
push dword [eax + 0x110]
call dword [sym.imp.USER32.dll_GetWindow]
mov esi, eax
mov dword [ebp - 0x11c], ebx
mov dword [ebp - 0x114], esi
mov eax, ebx
jmp 0x4bd2be
cmp eax, 9
jge 0x4bd2c6
push esi
call fcn.0041c8d5
push eax
push 0x58ce6c
call fcn.0042a983
pop ecx
pop ecx
mov ecx, eax
test ecx, ecx
jne 0x4bd175
push 2
push esi
call dword [sym.imp.USER32.dll_GetWindow]
mov esi, eax
mov dword [ebp - 0x114], esi
jmp 0x4bd2b1
mov eax, dword [ecx]
call dword [eax + 0x1e4]
test eax, eax
je 0x4bd15f
cmp dword [ebp - 0x11c], 0
jne 0x4bd1d1
push 0x110
call fcn.0041a33c
pop ecx
mov dword [ebp - 0x120], eax
mov dword [ebp - 4], ebx
test eax, eax
je 0x4bd1ad
push 1
mov ecx, eax
call fcn.004b99da
jmp 0x4bd1af
mov eax, ebx
or dword [ebp - 4], 0xffffffff
mov ecx, edi
push 0xffffffffffffffff
push eax
mov dword [eax + 0xec], 1
call fcn.004bc2e6
mov dword [edi + 0x150], 1
push 0x100
lea eax, [ebp - 0x110]
push eax
push esi
call dword [sym.imp.USER32.dll_GetWindowTextA]
call fcn.00423da6
push eax
lea ecx, [ebp - 0x118]
call fcn.004226c0
lea eax, [ebp - 0x110]
mov dword [ebp - 4], 1
push eax
mov eax, dword [ebp - 0x11c]
inc eax
push eax
lea eax, [ebp - 0x118]
push str._d__s
push eax
call fcn.00402860
push 0x1c4
call fcn.0041a33c
add esp, 0x14
mov dword [ebp - 0x120], eax
mov esi, dword [ebp - 0x118]
mov byte [ebp - 4], 2
test eax, eax
je 0x4bd253
push ebx
push 0xffffffffffffffff
push 0xffffffffffffffff
push esi
push 0xff00
mov ecx, eax
call fcn.004bc091
mov ecx, eax
jmp 0x4bd255
mov ecx, ebx
mov eax, dword [ebp - 0x114]
mov dword [ecx + 0xa0], eax
mov dword [ecx + 0xec], 1
mov eax, dword [edi + 0x84]
push 0xffffffffffffffff
mov dword [ecx + 0x84], eax
push ecx
mov ecx, edi
mov byte [ebp - 4], 1
call fcn.004bc2e6
push 2
push dword [ebp - 0x114]
call dword [sym.imp.USER32.dll_GetWindow]
inc dword [edi + 0x150]
lea ecx, [esi - 0x10]
or dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x114], eax
call fcn.004032a0
mov esi, dword [ebp - 0x114]
mov eax, dword [ebp - 0x11c]
inc eax
mov dword [ebp - 0x11c], eax
test esi, esi
jne 0x4bd13d
mov esi, dword [ebp - 0x124]
cmp dword [esi + 0x11c], ebx
je 0x4bd341
cmp eax, 9
je 0x4bd2e1
cmp dword [esi + 0x12c], ebx
je 0x4bd341
push 0x1c4
call fcn.0041a33c
pop ecx
mov dword [ebp - 0x120], eax
mov dword [ebp - 4], 3
test eax, eax
je 0x4bd317
push ebx
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [esi + 0x114]
mov ecx, eax
push dword [esi + 0x11c]
call fcn.004bc091
mov ebx, eax
or dword [ebp - 4], 0xffffffff
mov ecx, edi
push 0xffffffffffffffff
mov dword [ebx + 0xec], 1
mov eax, dword [edi + 0x84]
push ebx
mov dword [ebx + 0x84], eax
call fcn.004bc2e6
inc dword [edi + 0x150]
call fcn.0054c31b
ret