Function at 0x140004cf0
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x80
mov rax, qword [0x1400c9080]
xor rax, rsp
mov qword [rsp + 0x78], rax
xorps xmm0, xmm0
xor esi, esi
movups xmmword [rsp + 0x38], xmm0
movups xmmword [rsp + 0x48], xmm0
movups xmmword [rsp + 0x58], xmm0
nop word [rax + rax]
mov rcx, qword [0x1400e5398]
call qword [sym.imp.USER32.dll_UpdateWindow]
mov rcx, qword [0x1400e5398]
mov edx, 5
call qword [sym.imp.USER32.dll_ShowWindow]
mov rdx, qword [0x1400e5398]
lea rcx, [rsp + 0x38]
xor r9d, r9d
mov dword [rsp + 0x20], 1
xor r8d, r8d
call qword [sym.imp.USER32.dll_PeekMessageA]
test eax, eax
je 0x140004d89
lea rcx, [rsp + 0x38]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [rsp + 0x38]
call qword [sym.imp.USER32.dll_DispatchMessageW]
mov rbx, qword [0x1400e53e8]
lea rcx, [rsp + 0x30]
mov rax, qword [0x1400e5398]
mov qword [rbx + 0xe38], rax
mov dword [rbx + 0x18], 0x3c888889
call qword [sym.imp.USER32.dll_GetCursorPos]
movd xmm0, dword [rsp + 0x30]
mov ecx, 1
cvtdq2ps xmm0, xmm0
movss dword [rbx + 0xe48], xmm0
movd xmm0, dword [rsp + 0x34]
cvtdq2ps xmm0, xmm0
movss dword [rbx + 0xe4c], xmm0
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x140004dfe
mov byte [rbx + 0xe50], 1
mov eax, dword [rbx + 0xe4c]
mov dword [rbx + 0x3818], eax
mov byte [rbx + 0x3868], 1
jmp 0x140004e05
mov byte [rbx + 0xe50], sil
mov rax, qword [0x1400e53e8]
test rax, rax
je 0x140004e1a
mov rcx, qword [rax + 0x98]
jmp 0x140004e1d
mov rcx, rsi
cmp qword [rcx + 0x48], rsi
jne 0x140004e28
call fcn.140034700
call fcn.140035940
call fcn.14000f020
call fcn.140003c40
call fcn.140001ae0
call fcn.140010f50
mov rcx, qword [0x1400e5380]
lea r8, [0x1400e53a8]
xorps xmm0, xmm0
xor r9d, r9d
movups xmmword [rsp + 0x68], xmm0
mov rax, qword [rcx]
lea edx, [r9 + 1]
call qword [rax + 0x108]
mov rcx, qword [0x1400e5380]
lea r8, [rsp + 0x68]
mov rdx, qword [0x1400e53a8]
mov rax, qword [rcx]
call qword [rax + 0x190]
mov rax, qword [0x1400e53e8]
mov rcx, qword [rax + 0x4b18]
mov rax, qword [rcx]
mov rcx, rsi
add rax, 0x48
cmp byte [rax], sil
cmovne rcx, rax
call fcn.140033ca0
mov rcx, qword [0x1400e5390]
xor r8d, r8d
mov rax, qword [rcx]
lea edx, [r8 + 1]
call qword [rax + 0x40]
cmp dword [rsp + 0x40], 0x12
jne 0x140004d30
mov rbx, qword [0x1400e53e8]
test rbx, rbx
je 0x140004edb
mov rdi, qword [rbx + 0x98]
jmp 0x140004ede
mov rdi, rsi
call fcn.140034c40
mov rcx, qword [rdi + 0x10]
test rcx, rcx
je 0x140004ef2
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov rcx, qword [rdi]
test rcx, rcx
je 0x140004f00
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov rcx, qword [rdi + 8]
test rcx, rcx
je 0x140004f0f
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
and dword [rbx + 0xc], 0xfffffff7
mov r8, qword [0x1400e53e8]
mov qword [rbx + 0x88], rsi
mov qword [rbx + 0x98], rsi
test r8, r8
je 0x140004f8c
movsx rdx, word [r8 + 0x60f8]
lea rcx, [r8 + 0x60fc]
mov r9d, dword [r8 + 0x3f60]
lea rcx, [rcx + rdx*8]
cmp dword [rcx], r9d
je 0x140004f81
lea ecx, [rdx + 1]
mov eax, 0x2aaaaaab
imul ecx
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [rdx + rdx*2]
add eax, eax
sub ecx, eax
mov word [r8 + 0x60f8], cx
movsx rax, cx
lea rcx, [r8 + 0x60fc]
lea rcx, [rcx + rax*8]
mov dword [rcx], r9d
mov dword [rcx + 4], esi
inc word [rcx + 6]
inc dword [r8 + 0x60f4]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov r8, qword [0x1400e53e8]
test r8, r8
je 0x140004faa
mov rdi, qword [r8 + 0x90]
jmp 0x140004fad
mov rdi, rsi
mov rcx, qword [rdi + 0x38]
lea rbx, [r8 + 8]
test rcx, rcx
je 0x140004fc7
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov r8, qword [0x1400e53e8]
and dword [rbx + 4], 0xfffffff8
mov qword [rbx + 0x78], rsi
mov qword [rbx + 0x88], rsi
test r8, r8
je 0x14000503a
movsx rdx, word [r8 + 0x60f8]
mov r9d, dword [r8 + 0x3f60]
lea rcx, [rdx*8 + 0x60fc]
add rcx, r8
cmp dword [rcx], r9d
je 0x14000502f
lea ecx, [rdx + 1]
mov eax, 0x2aaaaaab
imul ecx
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [rdx + rdx*2]
add eax, eax
sub ecx, eax
mov word [r8 + 0x60f8], cx
movsx rax, cx
lea rcx, [rax*8 + 0x60fc]
add rcx, r8
mov dword [rcx], r9d
mov dword [rcx + 4], esi
inc word [rcx + 6]
inc dword [r8 + 0x60f4]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rbx, qword [0x1400e53e8]
mov qword [0x1400e53e8], rbx
call fcn.14000ce10
mov qword [0x1400e53e8], rsi
test rbx, rbx
je 0x1400050df
mov rcx, rbx
call fcn.140022cd0
mov r8, qword [0x1400e53e8]
test r8, r8
je 0x1400050d6
movsx r10, word [r8 + 0x60f8]
lea rdx, [r8 + 0x60fc]
mov r9d, dword [r8 + 0x3f60]
lea rdx, [rdx + r10*8]
cmp dword [rdx], r9d
je 0x1400050cb
lea ecx, [r10 + 1]
mov eax, 0x2aaaaaab
imul ecx
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [rdx + rdx*2]
add eax, eax
lea rdx, [r8 + 0x60fc]
sub ecx, eax
mov word [r8 + 0x60f8], cx
movsx rax, cx
lea rdx, [rdx + rax*8]
mov dword [rdx], r9d
mov dword [rdx + 4], esi
inc word [rdx + 6]
inc dword [r8 + 0x60f4]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rcx, qword [0x1400e5398]
call qword [sym.imp.USER32.dll_DestroyWindow]
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.1400a0dc0
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret