Function at 0x1000f980
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 0x101111a0
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.100114d0
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.100114d0
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 0x1000fab8
cmp eax, 0xaaaaaaa
ja 0x1000fdc9
lea edi, [eax + eax*2]
shl edi, 3
cmp edi, 0x1000
jb 0x1000fa77
lea eax, [edi + 0x23]
cmp eax, edi
jbe 0x1000fdce
push eax
call fcn.1010e213
add esp, 4
test eax, eax
je 0x1000fa71
lea esi, [eax + 0x23]
and esi, 0xffffffe0
mov dword [esi - 4], eax
jmp 0x1000fa8a
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
test edi, edi
je 0x1000fa88
push edi
call fcn.1010e213
add esp, 4
mov esi, eax
jmp 0x1000fa8a
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 0x1000fab5
mov edi, ecx
nop
push edi
mov ecx, esi
call fcn.10010cd0
add esi, 0x18
add edi, 0x18
lea eax, [ebp - 0x50]
cmp edi, eax
jne 0x1000faa0
mov dword [ebp - 0x24], esi
mov esi, 2
lea edi, [ebp - 0x50]
sub edi, 0x18
mov ecx, edi
call fcn.10003100
sub esi, 1
jne 0x1000fac0
mov dword [ebp - 4], esi
wait
mov ecx, dword [0x101f56ec]
test ecx, ecx
je 0x1000fae6
cmp ecx, 0xffffffff
jne 0x1000fbd8
mov eax, dword [0x101f55e8]
movss xmm0, dword [eax]
addss xmm0, dword [0x101b6428]
comiss xmm0, dword [0x101f586c]
jbe 0x1000fbd8
push 0
call dword [sym.imp.USER32.dll_GetTopWindow]
mov edi, eax
test edi, edi
je 0x1000fd07
mov eax, dword [0x101f55e8]
movss xmm0, dword [eax]
movss dword [0x101f586c], xmm0
push edi
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x1000fbca
push edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
test eax, eax
je 0x1000fbca
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.10010530
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.10011110
add esp, 0xc
lea ecx, [ebp - 0x50]
test al, al
je 0x1000fbc5
mov dword [0x101f56ec], edi
call fcn.10003100
wait
jmp 0x1000fd4b
call fcn.10003100
push 2
push edi
call dword [sym.imp.USER32.dll_GetWindow]
jmp 0x1000fb0c
test ecx, ecx
je 0x1000fd07
cmp ecx, 0xffffffff
je 0x1000fd07
push ecx
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x1000fca0
push dword [0x101f56ec]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x1000fca0
push 0x12c
lea eax, [ebp - 0x550]
push eax
push dword [0x101f56ec]
call dword [sym.imp.USER32.dll_GetWindowTextW]
test eax, eax
je 0x1000fcf3
lea eax, [ebp - 0x550]
push eax
lea ecx, [ebp - 0x98]
call fcn.10010530
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.10011380
lea eax, [ebp - 0x50]
push eax
mov ecx, 0x101be7a4
call fcn.10010650
lea ecx, [ebp - 0x50]
call fcn.10002f70
lea ecx, [ebp - 0x98]
call fcn.10003100
wait
jmp 0x1000fd4b
lea eax, [ebp - 0x1c]
push eax
push dword [0x101f56ec]
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 0x1000fd07
mov dword [ebp - 0x38], 0x1f4
mov dword [ebp - 0x34], 0
lea ecx, [ebp - 0x38]
call fcn.10011230
push 0
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x1000fcf3
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
wait
jmp 0x1000fd4b
mov ecx, 0x101be7a4
call fcn.10010580
mov dword [0x101f56ec], 0
wait
jmp 0x1000fd4b
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [0x101bf740]
mov eax, dword fs:[0x2c]
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x101f5ef8]
cmp eax, dword [ecx + 4]
jle 0x1000fdad
push 0x101f5ef8
call fcn.1010e5e4
add esp, 4
cmp dword [0x101f5ef8], 0xffffffff
jne 0x1000fdad
push 0x101be7a4
mov ecx, 0x101fad30
call fcn.1000eb00
push 0x10112040
call fcn.1010e548
add esp, 4
push 0x101f5ef8
call fcn.1010e593
add esp, 4
lea ecx, [ebp - 0x28]
call fcn.100108d0
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.10005b90
call fcn.10002830
int3