Function at 0x48f6c4
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push eax
mov eax, 4
add esp, 0xfffff004
push eax
dec eax
jne 0x48f6cd
add esp, 0xffffffdc
mov eax, dword [ebp - 4]
mov eax, 0x5afdf8
push ebx
push esi
push edi
mov ebx, dword [ebp + 8]
call fcn.004d57f0
xor edx, edx
mov dword [ebp - 0x28], edx
mov word [ebp - 0x14], 8
push ebx
call sub.USER32.dll_IsWindow
test eax, eax
jne 0x48f716
mov eax, 1
mov edx, dword [ebp - 0x24]
mov dword fs:[0], edx
jmp 0x48f99d
test byte [0x528c3c], 0x10
je 0x48f753
push pe_nt_image_headers32
lea ecx, [ebp - 0x4028]
push ecx
push ebx
call sub.USER32.dll_GetWindowTextA
test byte [0x528c3c], 0x10
je 0x48f753
lea eax, [ebp - 0x4028]
push eax
push 0x5f4777
push 0x528c40
call fcn.004541dc
add esp, 0xc
mov dl, byte [0x52d434]
test dl, dl
je 0x48f780
push 0
push ebx
call fcn.00488624
add esp, 8
test eax, eax
je 0x48f780
mov eax, 1
mov edx, dword [ebp - 0x24]
mov dword fs:[0], edx
jmp 0x48f99d
test byte [0x528c3c], 0x10
je 0x48f7bd
push pe_nt_image_headers32
lea ecx, [ebp - 0x4028]
push ecx
push ebx
call sub.USER32.dll_GetWindowTextA
test byte [0x528c3c], 0x10
je 0x48f7bd
lea eax, [ebp - 0x4028]
push eax
push 0x5f4782
push 0x528c40
call fcn.004541dc
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, 0x5f478d
mov cl, byte [eax]
cmp cl, byte [edx]
jne 0x48f83f
test cl, cl
je 0x48f7fd
mov cl, byte [eax + 1]
cmp cl, byte [edx + 1]
jne 0x48f83f
add eax, 2
add edx, 2
test cl, cl
jne 0x48f7e1
jne 0x48f83f
inc dword [0x52db4c]
push 0x200
call fcn.004882bc
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 0x48f99d
lea eax, [ebp - 0x4028]
mov edx, 0x5f4791
mov cl, byte [eax]
cmp cl, byte [edx]
jne 0x48f866
test cl, cl
je 0x48f868
mov cl, byte [eax + 1]
cmp cl, byte [edx + 1]
jne 0x48f866
add eax, 2
add edx, 2
test cl, cl
jne 0x48f84a
jne 0x48f8ba
mov eax, dword [0x52ede5]
cmp eax, 0xebc
jne 0x48f897
mov eax, dword [0x52d12c]
cmp eax, 1
je 0x48f883
cmp eax, 3
jne 0x48f8ba
mov eax, 1
mov edx, dword [ebp - 0x24]
mov dword fs:[0], edx
jmp 0x48f99d
mov eax, dword [0x52d130]
cmp eax, 1
je 0x48f8a6
cmp eax, 3
jne 0x48f8ba
mov eax, 1
mov edx, dword [ebp - 0x24]
mov dword fs:[0], edx
jmp 0x48f99d
mov ecx, dword [0x52ede5]
cmp ecx, 0xebc
jne 0x48f8e5
mov al, byte [0x52d127]
test al, al
jne 0x48f903
mov eax, 1
mov edx, dword [ebp - 0x24]
mov dword fs:[0], edx
jmp 0x48f99d
mov cl, byte [0x52d126]
test cl, cl
jne 0x48f903
mov eax, 1
mov edx, dword [ebp - 0x24]
mov dword fs:[0], edx
jmp 0x48f99d
test byte [0x528c3c], 0x10
je 0x48f940
push pe_nt_image_headers32
lea ecx, [ebp - 0x4028]
push ecx
push ebx
call sub.USER32.dll_GetWindowTextA
test byte [0x528c3c], 0x10
je 0x48f940
lea eax, [ebp - 0x4028]
push eax
push 0x5f4799
push 0x528c40
call fcn.004541dc
add esp, 0xc
inc dword [0x52db4c]
push pe_nt_image_headers32
call fcn.004882bc
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 0x48f99d
mov esp, ebp
mov edi, dword [ebp - 0x4034]
mov esi, dword [ebp - 0x4030]
mov ebx, dword [ebp - 0x402c]
pop ebp
ret