Function at 0x140052b20
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x130]
sub rsp, 0x230
mov rax, qword [0x1400af010]
xor rax, rsp
mov qword [rbp + 0x128], rax
mov dword [rbp + 0xb0], 0x50
mov dword [rbp + 0xb4], 0x40
lea rax, [0x140053500]
mov qword [rbp + 0xb8], rax
xor r12d, r12d
mov qword [rbp + 0xc0], r12
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov qword [rbp + 0xc8], rax
xorps xmm0, xmm0
movdqa xmmword [rbp + 0xd0], xmm0
xorps xmm1, xmm1
movdqa xmmword [rbp + 0xe0], xmm1
lea rax, str.luhspotify
mov qword [rbp + 0xf0], rax
mov qword [rbp + 0xf8], r12
lea rcx, [rbp + 0xb0]
call qword [sym.imp.USER32.dll_RegisterClassExW]
mov r13d, 1
mov ecx, r13d
call qword [sym.imp.USER32.dll_GetSystemMetrics]
mov ebx, eax
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetSystemMetrics]
mov qword [rsp + 0x58], r12
mov rcx, qword [rbp + 0xc8]
mov qword [rsp + 0x50], rcx
mov qword [rsp + 0x48], r12
mov qword [rsp + 0x40], r12
mov dword [rsp + 0x38], ebx
mov dword [rsp + 0x30], eax
mov dword [rsp + 0x28], r12d
mov dword [rsp + 0x20], r12d
mov r9d, 0x80000000
lea r8, str.spotifyfr
mov rdx, qword [rbp + 0xf0]
mov ecx, 0x8000028
call qword [sym.imp.USER32.dll_CreateWindowExW]
mov r14, rax
lea r9d, [r12 + 2]
mov r8b, 0xff
xor edx, edx
mov rcx, rax
call qword [sym.imp.USER32.dll_SetLayeredWindowAttributes]
movdqa xmm0, xmmword [0x1400a6d10]
movdqu xmmword [rbp + 0x108], xmm0
lea rdx, [rbp + 0x108]
mov rcx, r14
call qword [sym.imp.dwmapi.dll_DwmExtendFrameIntoClientArea]
mov qword [rbp + 0x34], r12
mov qword [rbp + 0x48], 2
mov qword [rbp + 0x60], 2
mov qword [rbp + 0x20], r12
mov dword [rbp + 0x30], 0x1c
mov dword [rbp + 0x28], 0x3c
mov dword [rbp + 0x2c], r13d
mov dword [rbp + 0x44], 0x20
mov qword [rbp + 0x50], r14
mov qword [rbp + 0x3c], r13
mov qword [rbp + 0x58], r13
mov dword [rbp], 0xb000
mov dword [rbp + 4], 0xa000
lea rbx, [0x1400d8bb8]
mov qword [rsp + 0x58], rbx
lea rax, [rbp + 0x100]
mov qword [rsp + 0x50], rax
lea rdi, [0x1400d8bb0]
mov qword [rsp + 0x48], rdi
lea rsi, [0x1400d8ba0]
mov qword [rsp + 0x40], rsi
lea rax, [rbp + 0x20]
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x30], 7
mov dword [rsp + 0x28], 2
lea rax, [rbp]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov edx, r13d
xor ecx, ecx
call qword [sym.imp.d3d11.dll_D3D11CreateDeviceAndSwapChain]
cmp eax, 0x887a0004
jne 0x140052d6b
mov qword [rsp + 0x58], rbx
lea rax, [rbp + 0x100]
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x48], rdi
mov qword [rsp + 0x40], rsi
lea rax, [rbp + 0x20]
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x30], 7
mov dword [rsp + 0x28], 2
lea rax, [rbp]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea edx, [r12 + 5]
xor ecx, ecx
call qword [sym.imp.d3d11.dll_D3D11CreateDeviceAndSwapChain]
test eax, eax
je 0x140052d79
call fcn.140053480
jmp 0x14005342f
mov rcx, qword [0x1400d8ba0]
mov rax, qword [rcx]
lea r9, [rbp + 8]
lea r8, [0x1400a6aa0]
xor edx, edx
call qword [rax + 0x48]
mov rcx, qword [0x1400d8bb0]
mov rax, qword [rcx]
lea r9, [0x1400d8b98]
xor r8d, r8d
mov rdx, qword [rbp + 8]
call qword [rax + 0x48]
mov rcx, qword [rbp + 8]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov edx, 0xa
mov rcx, r14
call qword [sym.imp.USER32.dll_ShowWindow]
mov rcx, r14
call qword [sym.imp.USER32.dll_UpdateWindow]
mov rbx, qword [0x1400d8a68]
test rbx, rbx
je 0x140052de1
inc dword [rbx + 0xec]
mov ecx, 0x5e68
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov qword [rbp + 0x10], rax
lea rcx, [rsp + 0x60]
mov qword [rbp + 0x18], rcx
mov qword [rbp + 8], rax
test rax, rax
je 0x140052e0e
xor edx, edx
mov rcx, rax
call fcn.140005540
jmp 0x140052e11
mov rax, r12
mov qword [0x1400d8a68], rax
call fcn.140009440
test rbx, rbx
je 0x140052e2b
mov qword [0x1400d8a68], rbx
jmp 0x140052e32
mov rbx, qword [0x1400d8a68]
xorps xmm2, xmm2
xor eax, eax
movups xmmword [rbp + 0x20], xmm2
movups xmmword [rbp + 0x30], xmm2
movups xmmword [rbp + 0x60], xmm2
movups xmmword [rbp + 0x70], xmm2
mov qword [rbp + 0xa0], rax
mov dword [rbp + 0x38], 3
mov dword [rbp + 0x3c], r13d
mov dword [rbp + 0x64], 0x7f7fffff
mov dword [rbp + 0x70], 0x3f800000
mov eax, 0xffff
mov word [rbp + 0x74], ax
mov byte [rbp + 0x2c], 0
movaps xmm0, xmmword [rbp + 0x20]
movaps xmmword [rsp + 0x70], xmm0
movaps xmm1, xmmword [rbp + 0x30]
movaps xmmword [rbp - 0x80], xmm1
movaps xmmword [rbp - 0x70], xmm2
movaps xmmword [rbp - 0x60], xmm2
movaps xmm0, xmmword [rbp + 0x60]
movaps xmmword [rbp - 0x50], xmm0
movaps xmm1, xmmword [rbp + 0x70]
movaps xmmword [rbp - 0x40], xmm1
movaps xmmword [rbp - 0x30], xmm2
movaps xmmword [rbp - 0x20], xmm2
movsd xmm0, qword [rbp + 0xa0]
movsd qword [rbp - 0x10], xmm0
lea rax, [0x1400d2310]
mov qword [rsp + 0x70], rax
mov dword [rsp + 0x78], 0x602c
mov dword [rbp - 0x7c], 0x41600000
lea rdx, [rsp + 0x70]
mov rcx, qword [rbx + 0x38]
call fcn.14002b030
mov qword [rbx + 0x48], rax
mov qword [rbx + 0x20], r12
or dword [rbx + 8], 3
call fcn.140052a20
call fcn.140052170
mov rcx, r14
call fcn.140030720
mov r15, qword [0x1400d8bb8]
mov rsi, qword [0x1400d8bb0]
mov rdi, qword [0x1400d8a68]
test rdi, rdi
je 0x140052f19
inc dword [rdi + 0xec]
mov ecx, 0x78
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rbx, rax
test rax, rax
je 0x140052f5a
xorps xmm0, xmm0
movups xmmword [rax], xmm0
movups xmmword [rax + 0x10], xmm0
movups xmmword [rax + 0x20], xmm0
movups xmmword [rax + 0x30], xmm0
movups xmmword [rax + 0x40], xmm0
movups xmmword [rax + 0x50], xmm0
movups xmmword [rax + 0x60], xmm0
mov dword [rax + 0x70], 0x1388
mov dword [rax + 0x74], 0x2710
jmp 0x140052f5d
mov rbx, r12
mov qword [rdi + 0x98], rbx
lea rax, str.imgui_impl_dx11
mov qword [rdi + 0x88], rax
or dword [rdi + 0xc], 8
mov qword [rbp], r12
mov qword [rbp + 8], r12
mov qword [rbp + 0x18], r12
mov rax, qword [rsi]
lea r8, [rbp]
lea rdx, [0x1400a6118]
mov rcx, rsi
call qword [rax]
test eax, eax
jne 0x140052fda
mov rcx, qword [rbp]
mov rax, qword [rcx]
lea r8, [rbp + 8]
lea rdx, [0x1400a6128]
call qword [rax + 0x30]
test eax, eax
jne 0x140052fda
mov rcx, qword [rbp + 8]
mov rax, qword [rcx]
lea r8, [rbp + 0x18]
lea rdx, [0x1400a6138]
call qword [rax + 0x30]
test eax, eax
jne 0x140052fda
mov qword [rbx], rsi
mov qword [rbx + 8], r15
mov rax, qword [rbp + 0x18]
mov qword [rbx + 0x10], rax
mov rcx, qword [rbp]
test rcx, rcx
je 0x140052fe9
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rbp + 8]
test rcx, rcx
je 0x140052ff8
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rbx]
mov rax, qword [rcx]
call qword [rax + 8]
mov rcx, qword [rbx + 8]
mov rax, qword [rcx]
call qword [rax + 8]
xor bl, bl
mov esi, dword [rbp + 0x100]
call qword [sym.imp.api_ms_win_crt_time_l1_1_0.dll_clock]
test eax, eax
js 0x14005303f
lea rdx, [rbp + 0x100]
mov rcx, qword [0x1400d8b00]
call qword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
movzx ebx, bl
cmp dword [rbp + 0x100], 0
cmove ebx, r13d
mov ecx, 0x2d
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test al, 1
je 0x14005305c
cmp byte [0x1400d8bd8], 0
sete byte [0x1400d8bd8]
mov dword [rsp + 0x20], r13d
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [rbp + 0x20]
call qword [sym.imp.USER32.dll_PeekMessageA]
test eax, eax
je 0x1400530ba
nop word [rax + rax]
lea rcx, [rbp + 0x20]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [rbp + 0x20]
call qword [sym.imp.USER32.dll_DispatchMessageA]
movzx ebx, bl
cmp dword [rbp + 0x28], 0x12
cmove ebx, r13d
mov dword [rsp + 0x20], r13d
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [rbp + 0x20]
call qword [sym.imp.USER32.dll_PeekMessageA]
test eax, eax
jne 0x140053080
test bl, bl
jne 0x140053314
mov r8d, dword [0x1400d8b74]
test r8d, r8d
je 0x14005316f
mov r9d, dword [0x1400d8ba8]
test r9d, r9d
je 0x14005316f
mov rcx, qword [0x1400d8b98]
test rcx, rcx
je 0x140053109
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [0x1400d8b98], r12
mov r8d, dword [0x1400d8b74]
mov r9d, dword [0x1400d8ba8]
mov rcx, qword [0x1400d8ba0]
mov rax, qword [rcx]
mov dword [rsp + 0x28], r12d
mov dword [rsp + 0x20], r12d
xor edx, edx
call qword [rax + 0x68]
mov dword [0x1400d8ba8], r12d
mov dword [0x1400d8b74], r12d
mov rcx, qword [0x1400d8ba0]
mov rax, qword [rcx]
lea r9, [rbp + 0x10]
lea r8, [0x1400a6aa0]
xor edx, edx
call qword [rax + 0x48]
mov rcx, qword [0x1400d8bb0]
mov rax, qword [rcx]
lea r9, [0x1400d8b98]
xor r8d, r8d
mov rdx, qword [rbp + 0x10]
call qword [rax + 0x48]
mov rcx, qword [rbp + 0x10]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rax, qword [0x1400d8a68]
test rax, rax
je 0x140053184
mov rcx, qword [rax + 0x98]
jmp 0x140053187
mov rcx, r12
cmp qword [rcx + 0x48], 0
jne 0x140053193
call fcn.1400300c0
call fcn.1400310a0
call fcn.14000b740
cmp byte [0x1400d8bd8], 0
je 0x1400531b3
call fcn.140001230
mov r8d, 0x80088
jmp 0x1400531b9
mov r8d, 0x800a8
mov edx, 0xffffffec
mov rcx, r14
call qword [sym.imp.USER32.dll_SetWindowLongA]
call fcn.140003c50
call qword [sym.imp.MSVCP140.dll__Query_perf_frequency]
mov rdi, rax
call qword [sym.imp.MSVCP140.dll__Query_perf_counter]
cmp rdi, 0x989680
jne 0x1400531ea
imul rax, rax, 0x64
jmp 0x140053208
cqo
idiv rdi
mov rcx, rax
imul rax, rdx, 0x3b9aca00
cqo
idiv rdi
imul rcx, rcx, 0x3b9aca00
add rax, rcx
sub rax, qword [0x1400d8b10]
cmp rax, 0x77359400
jge 0x140053221
mov eax, dword [0x1400d8b18]
inc eax
jmp 0x14005327f
call qword [sym.imp.MSVCP140.dll__Query_perf_frequency]
mov rdi, rax
call qword [sym.imp.MSVCP140.dll__Query_perf_counter]
cmp rdi, 0x989680
jne 0x14005323f
imul rax, rax, 0x64
jmp 0x14005325d
cqo
idiv rdi
mov rcx, rax
imul rax, rdx, 0x3b9aca00
cqo
idiv rdi
imul rcx, rcx, 0x3b9aca00
add rax, rcx
mov qword [0x1400d8b10], rax
mov esi, dword [0x1400d8b18]
mov dword [0x1400d8b1c], esi
inc dword [0x1400d8ae8]
add dword [0x1400d8aec], esi
mov eax, r12d
mov dword [0x1400d8b18], eax
mov dword [0x1400d8a14], esi
call fcn.14000d870
xorps xmm0, xmm0
movups xmmword [rbp + 0x118], xmm0
mov rcx, qword [0x1400d8bb8]
mov rax, qword [rcx]
xor r9d, r9d
lea r8, [0x1400d8b98]
mov edx, r13d
call qword [rax + 0x108]
mov rcx, qword [0x1400d8bb8]
mov rax, qword [rcx]
lea r8, [rbp + 0x118]
mov rdx, qword [0x1400d8b98]
call qword [rax + 0x190]
mov rax, qword [0x1400d8a68]
mov rcx, qword [rax + 0x48b8]
mov rax, qword [rcx]
add rax, 0x48
mov rcx, r12
cmp byte [rax], r12b
cmovne rcx, rax
call fcn.14002f650
mov rcx, qword [0x1400d8ba0]
mov rax, qword [rcx]
xor r8d, r8d
mov edx, dword [0x1400d89e8]
call qword [rax + 0x40]
jmp 0x140053013
mov rbx, qword [0x1400d8a68]
test rbx, rbx
je 0x140053329
mov rdi, qword [rbx + 0x98]
jmp 0x14005332c
mov rdi, r12
call fcn.140030600
mov rcx, qword [rdi + 0x10]
test rcx, rcx
je 0x140053340
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rdi]
test rcx, rcx
je 0x14005334e
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rdi + 8]
test rcx, rcx
je 0x14005335d
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [rbx + 0x88], r12
mov qword [rbx + 0x98], r12
and dword [rbx + 0xc], 0xfffffff7
mov rax, qword [0x1400d8a68]
test rax, rax
je 0x140053381
dec dword [rax + 0xec]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rax, qword [0x1400d8a68]
test rax, rax
je 0x14005339f
mov rdi, qword [rax + 0x90]
jmp 0x1400533a2
mov rdi, r12
lea rbx, [rax + 8]
mov rcx, qword [rdi + 0x30]
test rcx, rcx
je 0x1400533bc
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov rax, qword [0x1400d8a68]
mov qword [rbx + 0x78], r12
mov qword [rbx + 0x88], r12
and dword [rbx + 4], 0xfffffff8
test rax, rax
je 0x1400533d6
dec dword [rax + 0xec]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rbx, qword [0x1400d8a68]
mov qword [0x1400d8a68], rbx
call fcn.140009880
mov qword [0x1400d8a68], r12
test rbx, rbx
je 0x140053421
mov rcx, rbx
call fcn.14001f0b0
mov rax, qword [0x1400d8a68]
test rax, rax
je 0x140053418
dec dword [rax + 0xec]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
call fcn.140053480
mov rcx, r14
call qword [sym.imp.USER32.dll_DestroyWindow]
mov rdx, qword [rbp + 0xc8]
mov rcx, qword [rbp + 0xf0]
call qword [sym.imp.USER32.dll_UnregisterClassW]
mov rcx, qword [rbp + 0x128]
xor rcx, rsp
call fcn.140054800
lea r11, [rsp + 0x230]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret