Function at 0x140050990
Capabilities:
Enumerate gui resources

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r14
mov rbp, rsp
sub rsp, 0x80
mov rax, qword [0x140075040]
xor rax, rsp
mov qword [rbp - 8], rax
mov rdi, rcx
mov qword [rbp - 0x48], rcx
xor r12d, r12d
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x40], xmm1
mov qword [rbp - 0x30], r12
lea rdx, [rbp - 0x40]
lea rcx, [0x1400507f0]
call qword [sym.imp.USER32.dll_EnumWindows]
mov rdx, qword [rbp - 0x40]
mov r8, qword [rbp - 0x38]
cmp rdx, r8
je 0x140050c34
lea rcx, [rdx + 0x20]
cmp rcx, r8
je 0x140050a15
nop dword [rax]
mov rax, qword [rcx + 0x10]
cmp qword [rdx + 0x10], rax
cmovb rdx, rcx
add rcx, 0x20
cmp rcx, r8
jne 0x140050a00
lea rcx, [rbp - 0x28]
call fcn.140003440
nop
lea rcx, [rbp - 0x28]
mov r14, qword [rbp - 0x28]
cmp qword [rbp - 0x10], 0xf
cmova rcx, r14
mov qword [rsp + 0x20], 0xc
lea r9, str.Spotify_Free
mov rbx, qword [rbp - 0x18]
mov rdx, rbx
call fcn.14000e240
cmp rax, 0xffffffffffffffff
jne 0x140050b6d
lea rsi, [rbp - 0x28]
cmp qword [rbp - 0x10], 0xf
cmova rsi, r14
cmp rbx, 0xf
jb 0x140050ad7
lea r14, [rbx + rsi]
lea r8, [r14 - 0xe]
sub r8, rsi
mov edx, 0x53
mov rcx, rsi
call sub.VCRUNTIME140.dll_memchr
mov rbx, rax
test rax, rax
je 0x140050ad7
nop dword [rax]
mov r8d, 0xf
lea rdx, str.Spotify_Premium
mov rcx, rbx
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x140050aca
inc rbx
lea r8, [r14 - 0xe]
sub r8, rbx
mov edx, 0x53
mov rcx, rbx
call sub.VCRUNTIME140.dll_memchr
mov rbx, rax
test rax, rax
jne 0x140050a90
jmp 0x140050ad7
sub rbx, rsi
cmp rbx, 0xffffffffffffffff
jne 0x140050b6d
movups xmm0, xmmword [rbp - 0x28]
movups xmmword [rdi], xmm0
movups xmm1, xmmword [rbp - 0x18]
movups xmmword [rdi + 0x10], xmm1
mov qword [rbp - 0x18], r12
mov qword [rbp - 0x10], 0xf
mov byte [rbp - 0x28], 0
mov rcx, qword [rbp - 0x40]
test rcx, rcx
je 0x140050b41
mov rdx, qword [rbp - 0x38]
call fcn.1400562d0
mov rdx, qword [rbp - 0x30]
mov rcx, qword [rbp - 0x40]
sub rdx, rcx
and rdx, 0xffffffffffffffe0
mov rax, rcx
cmp rdx, 0x1000
jb 0x140050b3c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140050c2d
call fcn.140057274
mov rax, rdi
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.1400570f0
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop r12
pop rbp
ret
xorps xmm0, xmm0
movups xmmword [rdi], xmm0
mov qword [rdi + 0x10], r12
mov qword [rdi + 0x18], r12
mov r8d, 0x10
lea rdx, str.No_song_playing.
mov rcx, rdi
call fcn.140002b50
nop
mov rdx, qword [rbp - 0x10]
cmp rdx, 0xf
jbe 0x140050bcf
inc rdx
mov rcx, qword [rbp - 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140050bca
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140050bca
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140057274
mov qword [rbp - 0x18], r12
mov qword [rbp - 0x10], 0xf
mov byte [rbp - 0x28], 0
mov rcx, qword [rbp - 0x40]
test rcx, rcx
je 0x140050b41
mov rdx, qword [rbp - 0x38]
call fcn.1400562d0
mov rdx, qword [rbp - 0x30]
mov rcx, qword [rbp - 0x40]
sub rdx, rcx
and rdx, 0xffffffffffffffe0
mov rax, rcx
cmp rdx, 0x1000
jb 0x140050b3c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140050b3c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
xorps xmm0, xmm0
movups xmmword [rdi], xmm0
mov qword [rdi + 0x10], r12
mov qword [rdi + 0x18], r12
mov r8d, 0x17
lea rdx, str.Spotify_is_not_running.
mov rcx, rdi
call fcn.140002b50
nop
mov rcx, qword [rbp - 0x40]
test rcx, rcx
je 0x140050b41
mov rdx, qword [rbp - 0x38]
call fcn.1400562d0
mov rdx, qword [rbp - 0x30]
mov rcx, qword [rbp - 0x40]
sub rdx, rcx
and rdx, 0xffffffffffffffe0
mov rax, rcx
cmp rdx, 0x1000
jb 0x140050b3c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140050b3c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3