Function at 0x48b18c
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push eax
mov eax, 4
add esp, 0xfffff004
push eax
dec eax
jne 0x48b195
add esp, 0xffffffdc
mov eax, dword [ebp - 4]
mov eax, 0x595cf4
push ebx
push esi
push edi
mov ebx, dword [ebp + 8]
call fcn.004cfcb8
xor edx, edx
mov dword [ebp - 0x28], edx
mov word [ebp - 0x14], 8
push ebx
call sub.USER32.dll_IsWindow
test eax, eax
jne 0x48b1de
mov eax, 1
mov edx, dword [ebp - 0x24]
mov dword fs:[0], edx
jmp 0x48b465
test byte [0x514ff0], 0x10
je 0x48b21b
push pe_nt_image_headers32
lea ecx, [ebp - 0x4028]
push ecx
push ebx
call sub.USER32.dll_GetWindowTextA
test byte [0x514ff0], 0x10
je 0x48b21b
lea eax, [ebp - 0x4028]
push eax
push 0x5d98a4
push 0x514ff4
call fcn.00451068
add esp, 0xc
mov dl, byte [0x5176d4]
test dl, dl
je 0x48b248
push 0
push ebx
call fcn.004840ec
add esp, 8
test eax, eax
je 0x48b248
mov eax, 1
mov edx, dword [ebp - 0x24]
mov dword fs:[0], edx
jmp 0x48b465
test byte [0x514ff0], 0x10
je 0x48b285
push pe_nt_image_headers32
lea ecx, [ebp - 0x4028]
push ecx
push ebx
call sub.USER32.dll_GetWindowTextA
test byte [0x514ff0], 0x10
je 0x48b285
lea eax, [ebp - 0x4028]
push eax
push 0x5d98af
push 0x514ff4
call fcn.00451068
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, 0x5d98ba
mov cl, byte [eax]
cmp cl, byte [edx]
jne 0x48b307
test cl, cl
je 0x48b2c5
mov cl, byte [eax + 1]
cmp cl, byte [edx + 1]
jne 0x48b307
add eax, 2
add edx, 2
test cl, cl
jne 0x48b2a9
jne 0x48b307
inc dword [0x517dec]
push 0x200
call fcn.00483d88
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 0x48b465
lea eax, [ebp - 0x4028]
mov edx, 0x5d98be
mov cl, byte [eax]
cmp cl, byte [edx]
jne 0x48b32e
test cl, cl
je 0x48b330
mov cl, byte [eax + 1]
cmp cl, byte [edx + 1]
jne 0x48b32e
add eax, 2
add edx, 2
test cl, cl
jne 0x48b312
jne 0x48b382
mov eax, dword [0x519085]
cmp eax, 0xebc
jne 0x48b35f
mov eax, dword [0x5173cc]
cmp eax, 1
je 0x48b34b
cmp eax, 3
jne 0x48b382
mov eax, 1
mov edx, dword [ebp - 0x24]
mov dword fs:[0], edx
jmp 0x48b465
mov eax, dword [0x5173d0]
cmp eax, 1
je 0x48b36e
cmp eax, 3
jne 0x48b382
mov eax, 1
mov edx, dword [ebp - 0x24]
mov dword fs:[0], edx
jmp 0x48b465
mov ecx, dword [0x519085]
cmp ecx, 0xebc
jne 0x48b3ad
mov al, byte [0x5173c6]
test al, al
jne 0x48b3cb
mov eax, 1
mov edx, dword [ebp - 0x24]
mov dword fs:[0], edx
jmp 0x48b465
mov cl, byte [0x5173c5]
test cl, cl
jne 0x48b3cb
mov eax, 1
mov edx, dword [ebp - 0x24]
mov dword fs:[0], edx
jmp 0x48b465
test byte [0x514ff0], 0x10
je 0x48b408
push pe_nt_image_headers32
lea ecx, [ebp - 0x4028]
push ecx
push ebx
call sub.USER32.dll_GetWindowTextA
test byte [0x514ff0], 0x10
je 0x48b408
lea eax, [ebp - 0x4028]
push eax
push 0x5d98c6
push 0x514ff4
call fcn.00451068
add esp, 0xc
inc dword [0x517dec]
push pe_nt_image_headers32
call fcn.00483d88
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 0x48b465
mov esp, ebp
mov edi, dword [ebp - 0x4034]
mov esi, dword [ebp - 0x4030]
mov ebx, dword [ebp - 0x402c]
pop ebp
ret