Function at 0x48bb60
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push eax
mov eax, 4
add esp, 0xfffff004
push eax
dec eax
jne 0x48bb69
add esp, 0xffffffdc
mov eax, dword [ebp - 4]
mov eax, 0x59727c
push ebx
push esi
push edi
mov ebx, dword [ebp + 8]
call fcn.004d08c0
xor edx, edx
mov dword [ebp - 0x28], edx
mov word [ebp - 0x14], 8
push ebx
call sub.USER32.dll_IsWindow
test eax, eax
jne 0x48bbb2
mov eax, 1
mov edx, dword [ebp - 0x24]
mov dword fs:[0], edx
jmp 0x48be39
test byte [0x516434], 0x10
je 0x48bbef
push pe_nt_image_headers32
lea ecx, [ebp - 0x4028]
push ecx
push ebx
call sub.USER32.dll_GetWindowTextA
test byte [0x516434], 0x10
je 0x48bbef
lea eax, [ebp - 0x4028]
push eax
push 0x5dae57
push 0x516438
call fcn.00451598
add esp, 0xc
mov dl, byte [0x518c2c]
test dl, dl
je 0x48bc1c
push 0
push ebx
call fcn.00484ac0
add esp, 8
test eax, eax
je 0x48bc1c
mov eax, 1
mov edx, dword [ebp - 0x24]
mov dword fs:[0], edx
jmp 0x48be39
test byte [0x516434], 0x10
je 0x48bc59
push pe_nt_image_headers32
lea ecx, [ebp - 0x4028]
push ecx
push ebx
call sub.USER32.dll_GetWindowTextA
test byte [0x516434], 0x10
je 0x48bc59
lea eax, [ebp - 0x4028]
push eax
push 0x5dae62
push 0x516438
call fcn.00451598
add esp, 0xc
mov byte [ebp - 0x4028], 0
push 0x2000
lea edx, [ebp - 0x4028]
push edx
push ebx
call sub.USER32.dll_GetClassNameA
lea eax, [ebp - 0x4028]
mov edx, 0x5dae6d
mov cl, byte [eax]
cmp cl, byte [edx]
jne 0x48bcdb
test cl, cl
je 0x48bc99
mov cl, byte [eax + 1]
cmp cl, byte [edx + 1]
jne 0x48bcdb
add eax, 2
add edx, 2
test cl, cl
jne 0x48bc7d
jne 0x48bcdb
inc dword [0x519344]
push 0x200
call fcn.0048475c
pop ecx
push 0
push 0
push 0x418
push ebx
call sub.USER32.dll_PostMessageA
push 0
push 0
push 2
push ebx
call sub.USER32.dll_PostMessageA
mov eax, 1
mov edx, dword [ebp - 0x24]
mov dword fs:[0], edx
jmp 0x48be39
lea eax, [ebp - 0x4028]
mov edx, 0x5dae71
mov cl, byte [eax]
cmp cl, byte [edx]
jne 0x48bd02
test cl, cl
je 0x48bd04
mov cl, byte [eax + 1]
cmp cl, byte [edx + 1]
jne 0x48bd02
add eax, 2
add edx, 2
test cl, cl
jne 0x48bce6
jne 0x48bd56
mov eax, dword [0x51a5dd]
cmp eax, 0xebc
jne 0x48bd33
mov eax, dword [0x518924]
cmp eax, 1
je 0x48bd1f
cmp eax, 3
jne 0x48bd56
mov eax, 1
mov edx, dword [ebp - 0x24]
mov dword fs:[0], edx
jmp 0x48be39
mov eax, dword [0x518928]
cmp eax, 1
je 0x48bd42
cmp eax, 3
jne 0x48bd56
mov eax, 1
mov edx, dword [ebp - 0x24]
mov dword fs:[0], edx
jmp 0x48be39
mov ecx, dword [0x51a5dd]
cmp ecx, 0xebc
jne 0x48bd81
mov al, byte [0x51891e]
test al, al
jne 0x48bd9f
mov eax, 1
mov edx, dword [ebp - 0x24]
mov dword fs:[0], edx
jmp 0x48be39
mov cl, byte [0x51891d]
test cl, cl
jne 0x48bd9f
mov eax, 1
mov edx, dword [ebp - 0x24]
mov dword fs:[0], edx
jmp 0x48be39
test byte [0x516434], 0x10
je 0x48bddc
push pe_nt_image_headers32
lea ecx, [ebp - 0x4028]
push ecx
push ebx
call sub.USER32.dll_GetWindowTextA
test byte [0x516434], 0x10
je 0x48bddc
lea eax, [ebp - 0x4028]
push eax
push 0x5dae79
push 0x516438
call fcn.00451598
add esp, 0xc
inc dword [0x519344]
push pe_nt_image_headers32
call fcn.0048475c
pop ecx
push 0
push 0
push 0x10
push ebx
call sub.USER32.dll_PostMessageA
mov eax, 1
mov edx, dword [ebp - 0x24]
mov dword fs:[0], edx
jmp 0x48be39
mov esp, ebp
mov edi, dword [ebp - 0x4034]
mov esi, dword [ebp - 0x4030]
mov ebx, dword [ebp - 0x402c]
pop ebp
ret