Function at 0x1000fb90
Capabilities:
Get graphical window text

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10112990
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
sub esp, 0x540
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
xorps xmm0, xmm0
movups xmmword [ebp - 0x80], xmm0
mov dword [ebp - 0x70], 0
mov dword [ebp - 0x6c], 0
push 0xa
push str.chrome.exe
lea ecx, [ebp - 0x80]
call fcn.10011590
xorps xmm0, xmm0
movups xmmword [ebp - 0x68], xmm0
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x54], 0
push 9
push str.brave.exe
lea ecx, [ebp - 0x68]
call fcn.10011590
lea edx, [ebp - 0x80]
lea ecx, [ebp - 0x50]
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
sub ecx, edx
mov eax, 0x2aaaaaab
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x1000fcc8
cmp eax, 0xaaaaaaa
ja 0x1000ffd9
lea edi, [eax + eax*2]
shl edi, 3
cmp edi, 0x1000
jb 0x1000fc87
lea eax, [edi + 0x23]
cmp eax, edi
jbe 0x1000ffde
push eax
call fcn.1010fa03
add esp, 4
test eax, eax
je 0x1000fc81
lea esi, [eax + 0x23]
and esi, 0xffffffe0
mov dword [esi - 4], eax
jmp 0x1000fc9a
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
test edi, edi
je 0x1000fc98
push edi
call fcn.1010fa03
add esp, 4
mov esi, eax
jmp 0x1000fc9a
xor esi, esi
mov dword [ebp - 0x28], esi
lea eax, [edi + esi]
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x50]
lea ecx, [ebp - 0x80]
cmp ecx, eax
je 0x1000fcc5
mov edi, ecx
nop
push edi
mov ecx, esi
call fcn.10010ee0
add esi, 0x18
add edi, 0x18
lea eax, [ebp - 0x50]
cmp edi, eax
jne 0x1000fcb0
mov dword [ebp - 0x24], esi
mov esi, 2
lea edi, [ebp - 0x50]
sub edi, 0x18
mov ecx, edi
call fcn.10003360
sub esi, 1
jne 0x1000fcd0
mov dword [ebp - 4], esi
wait
mov ecx, dword [0x101f76dc]
test ecx, ecx
je 0x1000fcf6
cmp ecx, 0xffffffff
jne 0x1000fde8
mov eax, dword [0x101f75d8]
movss xmm0, dword [eax]
addss xmm0, dword [0x101b83b0]
comiss xmm0, dword [0x101f7864]
jbe 0x1000fde8
push 0
call dword [sym.imp.USER32.dll_GetTopWindow]
mov edi, eax
test edi, edi
je 0x1000ff17
mov eax, dword [0x101f75d8]
movss xmm0, dword [eax]
movss dword [0x101f7864], xmm0
push edi
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x1000fdda
push edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
test eax, eax
je 0x1000fdda
lea eax, [ebp - 0x2c]
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
push dword [ebp - 0x2c]
push 0
push 0x400
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
push 0x12c
lea eax, [ebp - 0x2f8]
push eax
push 0
push esi
call dword [sym.imp.KERNEL32.dll_K32GetModuleFileNameExW]
lea eax, [ebp - 0x2f8]
push eax
lea ecx, [ebp - 0x50]
call fcn.10010740
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp - 0x50]
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x24]
mov dword [ebp - 0x1c], ecx
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x1c], eax
lea edx, [ebp - 0x50]
push edx
push ecx
push eax
call fcn.10011320
add esp, 0xc
lea ecx, [ebp - 0x50]
test al, al
je 0x1000fdd5
mov dword [0x101f76dc], edi
call fcn.10003360
wait
jmp 0x1000ff5b
call fcn.10003360
push 2
push edi
call dword [sym.imp.USER32.dll_GetWindow]
jmp 0x1000fd1c
test ecx, ecx
je 0x1000ff17
cmp ecx, 0xffffffff
je 0x1000ff17
push ecx
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x1000feb0
push dword [0x101f76dc]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x1000feb0
push 0x12c
lea eax, [ebp - 0x550]
push eax
push dword [0x101f76dc]
call dword [sym.imp.USER32.dll_GetWindowTextW]
test eax, eax
je 0x1000ff03
lea eax, [ebp - 0x550]
push eax
lea ecx, [ebp - 0x98]
call fcn.10010740
lea ecx, [ebp - 0x98]
cmp dword [ebp - 0x84], 7
cmova ecx, dword [ebp - 0x98]
mov eax, dword [ebp - 0x88]
lea ecx, [ecx + eax*2]
mov dword [ebp - 0x1c], ecx
lea eax, [ebp - 0x98]
cmova eax, dword [ebp - 0x98]
mov dword [ebp - 0x1c], eax
push ecx
push ecx
push eax
lea ecx, [ebp - 0x50]
call fcn.10011440
lea eax, [ebp - 0x50]
push eax
mov ecx, 0x101c079c
call fcn.10010860
lea ecx, [ebp - 0x50]
call fcn.100031d0
lea ecx, [ebp - 0x98]
call fcn.10003360
wait
jmp 0x1000ff5b
lea eax, [ebp - 0x1c]
push eax
push dword [0x101f76dc]
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
push dword [ebp - 0x1c]
push 0
push 0x400
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x1000ff17
mov dword [ebp - 0x38], 0x1f4
mov dword [ebp - 0x34], 0
lea ecx, [ebp - 0x38]
call fcn.100035c0
push 0
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x1000ff03
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
wait
jmp 0x1000ff5b
mov ecx, 0x101c079c
call fcn.10010790
mov dword [0x101f76dc], 0
wait
jmp 0x1000ff5b
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [0x101c1730]
mov eax, dword fs:[0x2c]
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x101f7ef4]
cmp eax, dword [ecx + 4]
jle 0x1000ffbd
push 0x101f7ef4
call fcn.1010fdd4
add esp, 4
cmp dword [0x101f7ef4], 0xffffffff
jne 0x1000ffbd
push 0x101c079c
mov ecx, 0x101fcd28
call fcn.1000ed10
push 0x10113820
call fcn.1010fd38
add esp, 4
push 0x101f7ef4
call fcn.1010fd83
add esp, 4
lea ecx, [ebp - 0x28]
call fcn.10010ae0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.10005f60
call fcn.10002950
int3