Function at 0x111827d0
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1bc
mov eax, dword [0x11279148]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, ecx
mov eax, dword [esi + 4]
mov ecx, dword [esi + 8]
push edi
xor edi, edi
mov dword [ebp - 0x1b8], eax
mov dword [ebp - 0x1b0], ecx
mov byte [ebp - 0x1b4], 0
cmp ebx, edi
jne 0x11182917
xor edx, edx
xor eax, eax
mov word [ebp - 0x84], dx
mov word [ebp - 0x184], ax
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov ebx, eax
cmp ebx, edi
je 0x111828f6
lea ecx, [ebp - 0x1bc]
push ecx
push ebx
mov dword [ebp - 0x1bc], edi
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp dword [ebp - 0x1bc], eax
je 0x111828f6
push 0x40
lea edx, [ebp - 0x84]
push edx
push ebx
call dword [sym.imp.USER32.dll_GetClassNameW]
push 0x80
lea eax, [ebp - 0x184]
push eax
push ebx
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, str.NativeHWNDHost
lea eax, [ebp - 0x84]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x111828aa
cmp dx, di
je 0x111828a6
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x111828aa
add eax, 4
add ecx, 4
cmp dx, di
jne 0x11182884
xor eax, eax
jmp 0x111828af
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, edi
jne 0x111828f6
mov ecx, str.Charm_Bar
lea eax, [ebp - 0x184]
mov edi, edi
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x111828e6
cmp dx, di
je 0x111828e2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x111828e6
add eax, 4
add ecx, 4
cmp dx, di
jne 0x111828c0
xor eax, eax
jmp 0x111828eb
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, edi
jne 0x111828f6
mov byte [ebp - 0x1b4], 1
lea ecx, [ebp - 0x184]
push ecx
lea edx, [ebp - 0x84]
push edx
push ebx
push str.Remote_Activate_0___hFore_x___s__s_n
call fcn.111bd7b0
mov ebx, dword [ebp + 8]
add esp, 0x10
jmp 0x11182924
push str.Remote_Activate_1__n
call fcn.111bd7b0
add esp, 4
mov dword [esi + 0xf4], ebx
cmp dword [esi + 0x19c], edi
je 0x1118293b
mov eax, ebx
mov ecx, esi
call fcn.1117e070
mov bl, 2
cmp dword [ebp + 8], edi
je 0x11182970
cmp dword [esi + 0x19c], edi
jne 0x11182951
mov eax, esi
call fcn.11175810
call fcn.111b8710
cmp eax, 0xf
je 0x11182ac7
mov ecx, dword [ebp - 0x1b8]
push edi
call fcn.1117c2a0
jmp 0x11182ac7
call fcn.111b8710
cmp eax, 0xf
je 0x11182987
mov ecx, dword [ebp - 0x1b8]
push 8
call fcn.1117c2a0
test byte [esi + 0xc4], bl
je 0x11182ac7
xor eax, eax
mov dword [ebp - 0x1ac], eax
mov dword [ebp - 0x1a8], eax
mov dword [ebp - 0x1a4], eax
mov dword [ebp - 0x1a0], eax
mov dword [ebp - 0x19c], eax
mov dword [ebp - 0x198], eax
mov dword [ebp - 0x194], eax
mov dword [ebp - 0x190], eax
mov dword [ebp - 0x18c], eax
mov byte [ebp - 0x188], al
cmp dword [esi + 0x314], edi
je 0x111829f3
lea eax, [ebp - 0x1ac]
push eax
push 0xb8
call fcn.111752b0
add esp, 8
mov dword [esi + 0x314], edi
cmp dword [esi + 0x310], edi
je 0x11182a15
lea ecx, [ebp - 0x1ac]
push ecx
push 0x9d
call fcn.111752b0
add esp, 8
mov dword [esi + 0x310], edi
cmp byte [ebp - 0x1b4], 0
je 0x11182aa3
mov ecx, dword [ebp - 0x1b0]
push edi
push edi
push str.FullScreen
push str.View
call fcn.110bbc00
test eax, eax
jne 0x11182a45
cmp dword [esi + 0xc0], edi
je 0x11182aa3
lea edx, [ebp - 0x1ac]
push edx
push 0x5b
call fcn.111752b0
lea eax, [ebp - 0x1ac]
push eax
push 0x2e
call fcn.111752b0
lea ecx, [ebp - 0x1ac]
push ecx
push 0xae
call fcn.111752b0
lea edx, [ebp - 0x1ac]
push edx
push 0xdb
call fcn.111752b0
add esp, 0x20
push edi
push edi
mov edi, dword [sym.imp.USER32.dll_keybd_event]
push 1
push 0x1b
call edi
push 0
push 0
push 0x81
push 0x1b
call edi
xor edi, edi
cmp word [ebp - 0x1aa], di
je 0x11182ac0
mov ecx, dword [esi + 0x10]
lea eax, [ebp - 0x1ac]
push eax
push ecx
push esi
call fcn.111752d0
add esp, 0xc
and dword [esi + 0x2e4], 0xfffffff3
test byte [esi + 0xc4], 1
je 0x11182b77
cmp dword [ebp + 8], edi
je 0x11182b06
mov ecx, dword [ebp - 0x1b8]
call fcn.1117a410
test al, al
jne 0x11182b64
mov edx, dword [esi + 0x370]
mov eax, dword [esi + 0x368]
mov ebx, dword [esi + 0x364]
push edx
push eax
call fcn.11176b30
add esp, 8
jmp 0x11182b64
mov ecx, dword [ebp - 0x1b0]
push edi
push edi
push str.AlwaysFullScreen
push str.View
call fcn.110bbc00
test eax, eax
jne 0x11182b77
mov ecx, dword [ebp - 0x1b0]
push edi
push edi
push str.FullScreen
push str.View
call fcn.110bbc00
test eax, eax
je 0x11182b64
cmp byte [ebp - 0x1b4], 0
je 0x11182b4d
test byte [esi + 0xc4], bl
jne 0x11182b64
mov ecx, dword [ebp - 0x1b0]
push edi
push edi
push str.FullScreen
push str.View
call fcn.110bbd40
mov ecx, dword [ebp - 0x1b4]
push ecx
push 1
mov eax, esi
call fcn.11181d20
add esp, 8
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.111d9022
mov esp, ebp
pop ebp
ret