Function at 0x119c8ba0
Capabilities:
Get graphical window text

Disassembly:
sub esp, 0x42c
push ebx
push ebp
push esi
mov esi, dword [esp + 0x43c]
xor eax, eax
xor ebx, ebx
xor ebp, ebp
push edi
cmp esi, eax
mov edi, ecx
mov dword [esp + 0x10], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x24], eax
je 0x119c8d24
push esi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x119c8d22
lea eax, [esp + 0x24]
mov ecx, edi
push eax
push esi
call fcn.119c8e10
test eax, eax
je 0x119c8d22
mov edi, dword [sym.imp.USER32.dll_GetWindowLongW]
push 0xfffffffffffffff0
push esi
call edi
mov dword [esp + 0x20], eax
and eax, 0x40000000
cmp eax, 0x40000000
je 0x119c8d22
push esi
call dword [sym.imp.USER32.dll_IsWindowVisible]
push esi
mov ebp, eax
call dword [sym.imp.USER32.dll_IsWindowEnabled]
push 0xffffffffffffffec
push esi
mov dword [esp + 0x18], eax
call edi
mov ecx, eax
mov dword [esp + 0x28], eax
and ecx, 0x80
mov edi, 1
cmp cl, 0x80
je 0x119c8c53
mov dword [esp + 0x18], edi
mov ecx, dword [esp + 0x20]
mov edx, ecx
and edx, 0x80000000
cmp edx, 0x80000000
je 0x119c8c9f
mov edx, ecx
and edx, 0x80880000
cmp edx, 0x80880000
je 0x119c8c9f
mov eax, dword [esp + 0x18]
test eax, eax
je 0x119c8d22
test ebp, ebp
mov dword [esp + 0x14], edi
mov ebx, edi
je 0x119c8d22
mov eax, dword [esp + 0x10]
test eax, eax
je 0x119c8d22
jmp 0x119c8d1e
mov edx, ecx
and edx, 0x40000
cmp edx, 0x40000
je 0x119c8ccd
and ecx, 0x20000
cmp ecx, 0x20000
je 0x119c8ccd
mov ecx, eax
and ecx, 0x40000
cmp ecx, 0x40000
jne 0x119c8d22
mov ecx, dword [esp + 0x18]
test ecx, ecx
je 0x119c8d22
mov edx, eax
and edx, 0x80000
cmp edx, 0x80000
jne 0x119c8d08
and eax, 4
cmp al, 4
jne 0x119c8d08
push esi
push str.CTWindowTrace::IsRelatedWndNew__LAYERED___hWnd:__08x_
push str.TFollowWnd
push 0xffffffffffffffff
push 0x11a71844
call fcn.119fb230
add esp, 0x14
jmp 0x119c8d22
test ebp, ebp
mov dword [esp + 0x14], 2
mov ebx, edi
je 0x119c8d22
mov eax, dword [esp + 0x10]
test eax, eax
je 0x119c8d22
mov dword [esp + 0x1c], edi
xor eax, eax
cmp dword [0x11a720d8], eax
je 0x119c8dce
mov word [esp + 0x234], ax
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x236]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [esp + 0x234]
push 0x103
push eax
push esi
call dword [sym.imp.USER32.dll_GetClassNameW]
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x2e]
mov word [esp + 0x2c], 0
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x2c]
push 0x103
push ecx
push esi
stosw word es:[edi], ax
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [esp + 0x28]
lea edx, [esp + 0x2c]
lea eax, [esp + 0x234]
push edx
mov edx, dword [esp + 0x24]
push eax
mov eax, dword [esp + 0x20]
push ecx
mov ecx, dword [esp + 0x1c]
push edx
mov edx, dword [esp + 0x24]
push eax
mov eax, dword [esp + 0x30]
push ecx
push ebp
push edx
push eax
push ebx
push esi
push str.CTWindowTrace::IsRelatedWndNew_1__hWnd:__08x___bRet:__d__bEnsure:__d__Type___d___visible:__d__enable:__d__notoolwindow:__d___style:__08x__exstyle:__08x___Class:__s___Text:__s_
push str.TFollowWnd
push 0xffffffffffffffff
push 0x11a71844
call fcn.119fb230
add esp, 0x3c
xor eax, eax
cmp ebx, eax
je 0x119c8dfc
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x1c]
push ecx
push edx
push eax
push ebx
push esi
push str.CTWindowTrace::IsRelatedWndNew_2__hWnd:__08x___bRet:__d__bEnsure:__d__Type___d___tid:__6d_
push str.TFollowWnd
push 0xffffffffffffffff
push 0x11a71844
call fcn.119fb230
add esp, 0x24
pop edi
pop esi
mov eax, ebx
pop ebp
pop ebx
add esp, 0x42c
ret 4