Function at 0x5495ac
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x20
push 0
push 0
dec ecx
jne 0x5495b4
push ecx
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
xor eax, eax
push ebp
push 0x549a6c
push dword fs:[eax]
mov dword fs:[eax], esp
cmp ebx, dword [esi + 8]
je 0x549a41
push ebx
call sub.user32.dll_GetParent
mov edi, eax
cmp edi, dword [esi + 8]
je 0x549a41
mov ecx, dword [esi + 4]
inc ecx
and ecx, 0x87ffffff
jns 0x5495ff
dec ecx
or ecx, 0xf8000000
inc ecx
mov dword [esi + 4], ecx
mov eax, ecx
mov ecx, 0xa
cdq
idiv ecx
test edx, edx
jne 0x549615
call fcn.005478ac
lea eax, [ebp - 0xf2]
push eax
push 0x64
push 0xd
push ebx
call sub.user32.dll_SendMessageW
lea eax, [ebp - 4]
lea edx, [ebp - 0xf2]
mov ecx, 0x65
call fcn.00407778
push 0x64
lea eax, [ebp - 0xf2]
push eax
push ebx
call sub.user32.dll_GetClassNameW
lea eax, [ebp - 0xc]
lea edx, [ebp - 0xf2]
mov ecx, 0x65
call fcn.00407778
lea eax, [ebp - 0xf2]
push eax
push 0x64
push 0xd
push edi
call sub.user32.dll_SendMessageW
lea edx, [ebp - 8]
lea eax, [ebp - 0xf2]
call fcn.0041640c
push 0x64
lea eax, [ebp - 0xf2]
push eax
push edi
call sub.user32.dll_GetClassNameW
lea eax, [ebp - 0x10]
lea edx, [ebp - 0xf2]
mov ecx, 0x65
call fcn.00407778
mov edx, dword [ebp - 0xc]
mov eax, dword [esi + 0xc]
call fcn.004080c8
test eax, eax
jne 0x549a41
push 2
mov ecx, 0x63eddc
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
call fcn.00548b54
test al, al
jne 0x549a41
mov eax, dword [ebp - 0xc]
mov edx, 0x549a88
call fcn.00407cf0
je 0x5496eb
mov eax, dword [ebp - 0xc]
mov edx, 0x549ab0
call fcn.00407cf0
jne 0x54976c
lea edx, [ebp - 0x14]
mov eax, ebx
call fcn.00530eec
lea edx, [ebp - 0xf8]
mov eax, dword [ebp - 4]
call fcn.0041407c
mov eax, dword [ebp - 0xf8]
push eax
lea edx, [ebp - 0xfc]
mov eax, dword [esi + 0x10]
call fcn.0041407c
mov eax, dword [ebp - 0xfc]
pop edx
call fcn.004080c8
test eax, eax
jne 0x54975b
lea edx, [ebp - 0x100]
mov eax, dword [ebp - 0x14]
call fcn.0041407c
mov eax, dword [ebp - 0x100]
push eax
lea edx, [ebp - 0x104]
mov eax, dword [esi + 0x10]
call fcn.0041407c
mov eax, dword [ebp - 0x104]
pop edx
call fcn.004080c8
test eax, eax
je 0x54976c
push 0
push 0
push 0x10
push ebx
call sub.user32.dll_PostMessageW
jmp 0x549a41
push 0xd
mov ecx, 0x63ede0
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
call fcn.00548a04
inc eax
je 0x549792
push 0
push 0
push 0x10
push ebx
call sub.user32.dll_PostMessageW
jmp 0x549a41
push 2
mov ecx, 0x63edf0
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
call fcn.00548b54
test al, al
je 0x549885
lea eax, [ebp - 0x28]
push eax
call sub.user32.dll_GetCursorPos
lea edx, [ebp - 0x18]
lea eax, [ebp - 0x28]
call fcn.00549550
mov eax, dword [ebp - 0x18]
mov edx, 0x549ad8
call fcn.00407cf0
je 0x549802
mov edx, dword [ebp - 0x18]
mov eax, 0x549af4
call fcn.004080c8
test eax, eax
jne 0x549802
mov edx, dword [ebp - 0x18]
mov eax, 0x549b18
call fcn.004080c8
test eax, eax
jne 0x549802
mov edx, dword [ebp - 0x18]
mov eax, 0x549b3c
call fcn.004080c8
test eax, eax
je 0x54980e
mov eax, ebx
call fcn.0054952c
jmp 0x549a41
add dword [ebp - 0x28], 0x50
add dword [ebp - 0x24], 0x50
lea edx, [ebp - 0x18]
lea eax, [ebp - 0x28]
call fcn.00549550
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x28], eax
sub dword [ebp - 0x24], 0xb4
lea edx, [ebp - 0x1c]
lea eax, [ebp - 0x28]
call fcn.00549550
mov eax, dword [ebp - 0x18]
mov edx, 0x549ad8
call fcn.00407cf0
je 0x549879
mov eax, dword [ebp - 0x1c]
mov edx, 0x549ad8
call fcn.00407cf0
je 0x549879
mov edx, dword [ebp - 0x18]
mov eax, 0x549af4
call fcn.004080c8
test eax, eax
jne 0x549879
mov edx, dword [ebp - 0x1c]
mov eax, 0x549af4
call fcn.004080c8
test eax, eax
je 0x549885
mov eax, ebx
call fcn.0054952c
jmp 0x549a41
mov eax, ebx
call fcn.00549440
test al, al
je 0x5498da
cmp byte [esi + 0x14], 0
je 0x549a41
push 7
mov ecx, 0x63ee24
xor edx, edx
mov eax, dword [ebp - 8]
call fcn.00548b54
test al, al
je 0x549a41
mov ecx, 0x549b60
mov edx, 0x549b70
mov eax, ebx
call fcn.00549094
mov edx, 0x549b70
mov ecx, 0x549b8c
mov eax, ebx
call fcn.00549094
jmp 0x549a41
push 0
mov ecx, 0x63ee20
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 8]
call fcn.00548b54
test al, al
je 0x549908
mov eax, ebx
call fcn.0054952c
push 0
push 0
push 0x10
push ebx
call sub.user32.dll_PostMessageW
jmp 0x549a41
cmp byte [esi + 0x1c], 0
je 0x54993c
push 2
mov ecx, 0x63ee34
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
call fcn.00548b54
test al, al
je 0x54993c
mov eax, ebx
call fcn.0054952c
push 0
push 0
push 0x10
push ebx
call sub.user32.dll_PostMessageW
jmp 0x549a41
push 1
mov ecx, 0x63edfc
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
call fcn.00548b54
test al, al
je 0x549971
mov dword [ebp - 0x20], 2
mov edi, 0x63edf4
mov edx, dword [edi]
xor ecx, ecx
mov eax, ebx
call fcn.00549094
add edi, 4
dec dword [ebp - 0x20]
jne 0x54995e
cmp byte [esi + 0x1d], 0
je 0x5499a9
push 1
mov ecx, 0x63ee30
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
call fcn.00548b54
test al, al
je 0x5499a9
xor ecx, ecx
mov edx, 0x549ba0
mov eax, ebx
call fcn.00549094
xor ecx, ecx
mov edx, 0x549c20
mov eax, ebx
call fcn.00549094
push 0xf
mov ecx, 0x63ee10
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
call fcn.00548b54
test al, al
je 0x5499cd
mov edx, 0x549ba0
xor ecx, ecx
mov eax, ebx
call fcn.00549094
push 0xd
mov ecx, 0x63ee00
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
call fcn.00548b54
test al, al
je 0x549a15
xor ecx, ecx
mov edx, ebx
mov eax, esi
call fcn.00549118
mov cl, 3
mov edx, ebx
mov eax, esi
call fcn.00549118
mov cl, 2
mov edx, ebx
mov eax, esi
call fcn.00549118
cmp byte [esi + 0x1c], 0
je 0x549a15
mov cl, 1
mov edx, ebx
mov eax, esi
call fcn.00549118
push 1
mov ecx, 0x63ee2c
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
call fcn.00548b54
test al, al
je 0x549a41
mov eax, ebx
call fcn.0054952c
push 0
push 0
push 0x202
push ebx
call sub.user32.dll_PostMessageW
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x549a73
lea eax, [ebp - 0x104]
mov edx, 4
call fcn.00407578
lea eax, [ebp - 0x1c]
mov edx, 7
call fcn.00407578
ret