Function at 0x10011b90
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x1019c3d9
push eax
mov dword fs:[0], esp
sub esp, 0x500
mov ecx, dword [0x102a0564]
push ebx
push esi
push edi
test ecx, ecx
je 0x10011bc4
cmp ecx, 0xffffffff
jne 0x10011ce8
mov eax, dword [0x102a02f8]
movss xmm0, dword [eax]
addss xmm0, dword [0x102515f0]
comiss xmm0, dword [0x102a03f0]
jbe 0x10011ce8
push 0
call dword [sym.imp.USER32.dll_GetTopWindow]
mov esi, eax
test esi, esi
je 0x10011e96
mov ebx, dword [sym.imp.USER32.dll_GetWindow]
nop word [eax + eax]
mov eax, dword [0x102a02f8]
push esi
movss xmm0, dword [eax]
movss dword [0x102a03f0], xmm0
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x10011cd4
push esi
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
test eax, eax
je 0x10011cd4
lea eax, [ebp - 0x10]
push eax
push esi
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
push dword [ebp - 0x10]
push 0
push 0x400
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
lea eax, [ebp - 0x2b0]
push 0x12c
push eax
push 0
push edi
call dword [sym.imp.KERNEL32.dll_K32GetModuleFileNameExW]
mov dword [ebp - 0x58], 0
lea ecx, [ebp - 0x2b0]
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 7
lea edx, [ecx + 2]
mov dword [ebp - 4], 0xffffffff
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10011c86
sub ecx, edx
lea eax, [ebp - 0x2b0]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x58]
call fcn.10013030
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push ecx
push str.Spotify.exe
lea ecx, [ebp - 0x58]
call fcn.10012730
mov ecx, dword [0x102a0564]
cmp eax, 0xffffffff
cmovne ecx, esi
mov dword [0x102a0564], ecx
lea ecx, [ebp - 0x58]
call fcn.10004d40
push 2
push esi
call ebx
mov esi, eax
test esi, esi
jne 0x10011c00
jmp 0x10011e96
test ecx, ecx
je 0x10011e96
cmp ecx, 0xffffffff
je 0x10011e96
push 0x12c
lea eax, [ebp - 0x508]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetWindowTextW]
test eax, eax
jne 0x10011d1a
mov dword [0x102a0564], eax
jmp 0x10011e96
mov dword [ebp - 0x40], 0
xor eax, eax
mov dword [ebp - 0x30], 0
lea ecx, [ebp - 0x508]
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
lea edx, [ecx + 2]
mov dword [ebp - 4], 0xffffffff
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10011d45
sub ecx, edx
lea eax, [ebp - 0x508]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x40]
call fcn.10013030
mov dword [ebp - 4], 2
lea ecx, [ebp - 0x40]
cmp dword [ebp - 0x2c], 8
mov eax, dword [ebp - 0x30]
jb 0x10011d7f
mov edi, dword [ebp - 0x40]
lea esi, [edi + eax*2]
jmp 0x10011d85
lea esi, [ecx + eax*2]
lea edi, [ebp - 0x40]
mov dword [ebp - 0x28], 0
mov eax, esi
mov dword [ebp - 0x18], 0
sub eax, edi
mov dword [ebp - 0x14], 0xf
sar eax, 1
lea ecx, [ebp - 0x28]
push eax
mov byte [ebp - 0x28], 0
mov byte [ebp - 4], 2
call fcn.100127f0
lea eax, [ebp - 0x28]
mov dword [ebp - 0x10], eax
mov byte [ebp - 4], 4
cmp edi, esi
je 0x10011dd3
nop
movzx eax, byte [edi]
lea ecx, [ebp - 0x28]
push eax
call fcn.10013130
add edi, 2
cmp edi, esi
jne 0x10011dc0
push ecx
push 0x10211be8
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 5
call fcn.10012730
cmp eax, 0xffffffff
je 0x10011dfb
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
push dword [ebp - 0x18]
cmovae eax, dword [ebp - 0x28]
push eax
jmp 0x10011e31
push ecx
push str.Advertisment
lea ecx, [ebp - 0x40]
call fcn.10012730
cmp eax, 0xffffffff
jne 0x10011e2a
push ecx
push 0x10211bec
lea ecx, [ebp - 0x40]
call fcn.10012730
cmp eax, 0xffffffff
je 0x10011e2a
push 0x16
push str._stopped___not_playing
jmp 0x10011e31
push 0xd
push str._advertisment
mov ecx, 0x102687a8
call fcn.10004200
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x14]
cmp edx, 0x10
jb 0x10011e75
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10011e6b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10011e6b
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.1019a4a2
add esp, 8
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
mov dword [ebp - 4], 0xffffffff
call fcn.10004d40
mov eax, dword fs:[0x2c]
mov ecx, dword [0x1026a304]
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x102a5f48]
cmp eax, dword [ecx + 4]
jle 0x10011efc
push 0x102a5f48
call fcn.1019a606
add esp, 4
cmp dword [0x102a5f48], 0xffffffff
jne 0x10011efc
push 0x102687a8
mov ecx, 0x102a5f2c
mov dword [ebp - 4], 6
call fcn.10011ff0
push 0x101a4720
call fcn.1019a488
push 0x102a5f48
mov dword [ebp - 4], 0xffffffff
call fcn.1019a5bc
add esp, 8
cmp dword [0x102687bc], 0x10
mov edx, 0x102687a8
mov esi, dword [0x102687a8]
mov ecx, 0x102a5f2c
mov edi, dword [0x102687b8]
cmovae edx, esi
setae bl
cmp dword [0x102a5f40], 0x10
push edi
cmovae ecx, dword [0x102a5f2c]
push edx
mov edx, dword [0x102a5f3c]
call fcn.10014480
add esp, 8
test al, al
jne 0x10011fd8
cmp byte [0x102a044a], al
je 0x10011fb8
push 0x16
test bl, bl
mov ecx, 0x102687a8
push str._stopped___not_playing
cmovne ecx, esi
mov edx, edi
push 0
call fcn.10013900
add esp, 0xc
cmp eax, 0xffffffff
je 0x10011f76
push str.delusional_spotify_paused
jmp 0x10011fa4
push 0xd
test bl, bl
mov ecx, 0x102687a8
push str._advertisment
cmovne ecx, esi
mov edx, edi
push 0
call fcn.10013900
add esp, 0xc
cmp eax, 0xffffffff
je 0x10011f9f
push str.delusional_spotify_advertisement
jmp 0x10011fa4
push str.delusional_spotify_switch
push dword [0x102a03e8]
call fcn.1000c3b0
mov esi, dword [0x102687a8]
add esp, 8
cmp dword [0x102687bc], 0x10
mov eax, 0x102687a8
push dword [0x102687b8]
cmovae eax, esi
mov ecx, 0x102a5f2c
push eax
call fcn.10004200
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret