Function at 0x4b91ac
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 ebx
push esi
mov esi, eax
xor eax, eax
push ebp
push 0x4b9602
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, 0x40
call fcn.00402f50
mov ebx, eax
push 0x40
push ebx
push esi
call sub.user32.dll_GetWindowTextA
lea eax, [ebp - 4]
mov edx, ebx
call fcn.004053a0
mov eax, ebx
call fcn.00402f6c
mov eax, 0x40
call fcn.00402f50
mov ebx, eax
push 0x40
push ebx
push esi
call sub.user32.dll_GetClassNameA
lea eax, [ebp - 8]
mov edx, ebx
call fcn.004053a0
mov eax, ebx
call fcn.00402f6c
movzx eax, byte [0x4b9610]
push eax
lea eax, [ebp - 0xc]
push eax
xor ecx, ecx
mov edx, 0x4b961c
mov eax, dword [ebp - 8]
call fcn.0040f6f0
mov edx, dword [ebp - 0xc]
lea eax, [ebp - 8]
call fcn.00405240
movzx eax, byte [0x4b9610]
push eax
lea eax, [ebp - 0x10]
push eax
xor ecx, ecx
mov edx, 0x4b961c
mov eax, dword [ebp - 4]
call fcn.0040f6f0
mov edx, dword [ebp - 0x10]
lea eax, [ebp - 4]
call fcn.00405240
mov eax, dword [ebp + 8]
push eax
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.004b9044
pop ecx
test al, al
jne 0x4b95e7
mov eax, dword [ebp + 8]
cmp dword [eax - 0x234], 0
je 0x4b929e
mov eax, dword [ebp + 8]
mov edx, dword [eax - 0x234]
mov eax, dword [ebp - 8]
call fcn.00409b44
test al, al
je 0x4b95e7
mov eax, dword [ebp + 8]
cmp dword [eax - 0x238], 0
je 0x4b95d5
mov eax, dword [ebp + 8]
cmp byte [eax - 4], 0
je 0x4b92d5
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x238]
mov edx, dword [ebp - 4]
call fcn.00405784
test eax, eax
jle 0x4b95e7
jmp 0x4b95d5
mov eax, dword [ebp + 8]
cmp dword [eax - 0x20c], 0
jbe 0x4b95d5
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x234]
mov edx, 0x4b9628
call fcn.004055d0
jne 0x4b9356
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x238]
mov edx, 0x4b9638
call fcn.004055d0
jne 0x4b9356
mov eax, dword [ebp + 8]
add eax, 0xfffffde0
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x20c]
push eax
call sub.user32.dll_GetWindowRect
mov eax, dword [ebp + 8]
add eax, 0xfffffdd0
push eax
push esi
call sub.user32.dll_GetWindowRect
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x214]
mov edx, dword [ebp + 8]
sub eax, dword [edx - 0x224]
cmp eax, 0x3c
jg 0x4b95e7
jmp 0x4b95d5
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x234]
mov edx, 0x4b9628
call fcn.004055d0
jne 0x4b9397
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x238]
mov edx, 0x4b9650
call fcn.004055d0
jne 0x4b9397
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0xc]
mov dword [eax], esi
mov eax, dword [ebp + 8]
mov byte [eax - 0x239], 1
jmp 0x4b95e7
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x234]
mov edx, 0x4b9628
call fcn.004055d0
jne 0x4b93d8
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x238]
mov edx, 0x4b9664
call fcn.004055d0
jne 0x4b93d8
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0xc]
mov dword [eax], esi
mov eax, dword [ebp + 8]
mov byte [eax - 0x239], 0
jmp 0x4b95e7
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x234]
mov edx, 0x4b9678
call fcn.004055d0
je 0x4b9402
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x234]
mov edx, 0x4b9688
call fcn.004055d0
jne 0x4b942e
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x238]
mov edx, 0x4b969c
call fcn.004055d0
jne 0x4b942e
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0xc]
mov dword [eax], esi
mov eax, dword [ebp + 8]
mov byte [eax - 0x239], 1
jmp 0x4b95e7
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x234]
mov edx, 0x4b9678
call fcn.004055d0
je 0x4b9458
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x234]
mov edx, 0x4b9688
call fcn.004055d0
jne 0x4b9484
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x238]
mov edx, 0x4b96b0
call fcn.004055d0
jne 0x4b9484
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0xc]
mov dword [eax], esi
mov eax, dword [ebp + 8]
mov byte [eax - 0x239], 0
jmp 0x4b95e7
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x234]
mov edx, 0x4b9678
call fcn.004055d0
jne 0x4b94ef
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x238]
mov edx, 0x4b96c4
call fcn.004055d0
jne 0x4b94ef
push 0xfffffffffffffff0
mov eax, dword [ebp + 8]
mov eax, dword [eax + 8]
push eax
call sub.user32.dll_GetWindowLongA
mov edx, dword [ebp + 8]
mov dword [edx - 0x240], eax
mov eax, dword [ebp + 8]
test dword [eax - 0x240], 0x20
jbe 0x4b95d5
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0xc]
mov dword [eax], esi
mov eax, dword [ebp + 8]
mov byte [eax - 0x239], 1
jmp 0x4b95e7
mov eax, dword [ebp + 8]
mov edx, dword [eax - 0x238]
mov eax, 0x4b96d8
call fcn.00405784
mov edx, dword [ebp + 8]
mov dword [edx - 0x244], eax
mov eax, dword [ebp + 8]
cmp dword [eax - 0x244], 0
jle 0x4b95c0
mov eax, dword [ebp + 8]
add eax, 0xfffffdd0
push eax
push esi
call sub.user32.dll_GetWindowRect
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax - 0x244]
dec ecx
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x238]
mov edx, 1
call fcn.004056a0
mov eax, dword [ebp - 0x14]
xor edx, edx
call fcn.0040a188
mov edx, dword [ebp + 8]
mov edx, dword [edx - 0x228]
mov ecx, dword [ebp + 8]
sub edx, dword [ecx - 0x230]
cmp eax, edx
jne 0x4b95e7
lea eax, [ebp - 0x18]
push eax
mov eax, dword [ebp + 8]
mov edx, dword [eax - 0x244]
inc edx
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x238]
mov ecx, 0x7fffffff
call fcn.004056a0
mov eax, dword [ebp - 0x18]
xor edx, edx
call fcn.0040a188
mov edx, dword [ebp + 8]
mov edx, dword [edx - 0x224]
mov ecx, dword [ebp + 8]
sub edx, dword [ecx - 0x22c]
cmp eax, edx
jne 0x4b95e7
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0xc]
mov dword [eax], esi
mov eax, dword [ebp + 8]
mov byte [eax - 0x239], 0
jmp 0x4b95e7
mov eax, dword [ebp + 8]
mov edx, dword [eax - 0x238]
mov eax, dword [ebp - 4]
call fcn.00409b44
test al, al
je 0x4b95e7
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0xc]
mov dword [eax], esi
mov eax, dword [ebp + 8]
mov byte [eax - 0x239], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b9609
lea eax, [ebp - 0x18]
mov edx, 6
call fcn.004051cc
ret