Function at 0x1400baf40
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
sub rsp, 0x50
xorps xmm0, xmm0
movaps xmmword [rsp + 0x40], xmm6
movss xmm6, dword [0x140333dc4]
xor ebp, ebp
movups xmmword [0x140de8130], xmm0
movups xmmword [0x140de8140], xmm0
movups xmmword [0x140de8150], xmm0
nop dword [rax]
nop word [rax + rax]
mov rdx, qword [0x140de8a18]
lea rcx, [0x140de8130]
xor r9d, r9d
mov dword [rsp + 0x20], 1
xor r8d, r8d
call qword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
je 0x1400bafc0
lea rcx, [0x140de8130]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [0x140de8130]
call qword [sym.imp.USER32.dll_DispatchMessageW]
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov rcx, qword [0x140de8258]
cmp rax, rcx
jne 0x1400bb018
mov edx, 3
mov rcx, rax
call qword [sym.imp.USER32.dll_GetWindow]
mov rcx, qword [0x140de8a18]
mov r9d, 2
mov dword [rsp + 0x30], 3
mov r8d, r9d
mov dword [rsp + 0x28], 0xfffffffd
mov rdx, rax
mov dword [rsp + 0x20], 0xfffffffd
call qword [sym.imp.USER32.dll_SetWindowPos]
mov rcx, qword [0x140de8258]
xorps xmm0, xmm0
mov qword [rsp + 0x70], rbp
lea rdx, [0x140de7ff0]
movups xmmword [0x140de7ff0], xmm0
call qword [sym.imp.USER32.dll_GetClientRect]
mov rcx, qword [0x140de8258]
lea rdx, [rsp + 0x70]
call qword [sym.imp.USER32.dll_ClientToScreen]
mov eax, dword [rsp + 0x70]
lea rcx, [rsp + 0x78]
mov rbx, qword [0x140de7fa0]
mov dword [0x140de7ff0], eax
mov eax, dword [rsp + 0x74]
mov dword [0x140de7ff4], eax
mov rax, qword [0x140de8258]
mov qword [rbx + 0xc8], rax
mov dword [rbx + 0x18], 0x3c888889
call qword [sym.imp.USER32.dll_GetCursorPos]
mov eax, dword [rsp + 0x78]
mov ecx, 1
sub eax, dword [rsp + 0x70]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rbx + 0xe00], xmm0
mov eax, dword [rsp + 0x7c]
sub eax, dword [rsp + 0x74]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rbx + 0xe04], xmm0
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x1400bb0db
mov byte [rbx + 0xe08], 1
mov eax, dword [rbx + 0xe04]
mov dword [rbx + 0x36f0], eax
mov byte [rbx + 0x3740], 1
jmp 0x1400bb0e2
mov byte [rbx + 0xe08], bpl
mov eax, dword [0x140de8d98]
cmp dword [0x140de7ff0], eax
mov ecx, dword [0x140de7ffc]
mov edx, dword [0x140de7ff8]
jne 0x1400bb11e
cmp edx, dword [0x140de8da0]
jne 0x1400bb11e
mov eax, dword [0x140de8d9c]
cmp dword [0x140de7ff4], eax
jne 0x1400bb11e
cmp ecx, dword [0x140de8da4]
je 0x1400bb1b8
movups xmm0, xmmword [0x140de7ff0]
mov r9d, dword [rsp + 0x74]
mov r8d, dword [rsp + 0x70]
add r9d, 2
movups xmmword [0x140de8d98], xmm0
add r8d, 2
mov dword [rsp + 0x30], 8
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
movd xmm1, edx
xor edx, edx
cvtdq2ps xmm1, xmm1
movss dword [0x140de8208], xmm0
cvttss2si rax, xmm1
movss dword [0x140de8038], xmm1
subss xmm1, xmm6
mov dword [0x140de8070], eax
cvttss2si rax, xmm0
subss xmm0, xmm6
mov dword [0x140de8074], eax
cvttss2si eax, xmm1
cvttss2si ecx, xmm0
mov dword [rsp + 0x28], ecx
mov rcx, qword [0x140de8a18]
mov dword [rsp + 0x20], eax
call qword [sym.imp.USER32.dll_SetWindowPos]
mov rcx, qword [0x140de8a30]
lea rdx, [0x140de8070]
mov rax, qword [rcx]
call qword [rax + 0x80]
cmp byte [reloc.WS2_32.dll_accept], bpl
mov rcx, qword [0x140de8a18]
je 0x1400bb1cf
mov edx, reloc.WS2_32.dll_recvfrom
jmp 0x1400bb1d1
xor edx, edx
call qword [sym.imp.USER32.dll_SetWindowDisplayAffinity]
call fcn.1400b8e50
cmp dword [0x140de8138], 0x12
jne 0x1400baf80
mov rcx, qword [0x140de7fa0]
test rcx, rcx
je 0x1400bb1fe
mov rsi, qword [rcx + 0x98]
jmp 0x1400bb201
mov rsi, rbp
lea rdi, [rcx + 8]
test rcx, rcx
je 0x1400bb27a
mov rbx, qword [rcx + 0x98]
test rbx, rbx
je 0x1400bb27a
cmp qword [rbx], rbp
je 0x1400bb27a
mov rdx, qword [rbx + 8]
test rdx, rdx
je 0x1400bb238
mov rax, qword [rdx]
mov rcx, rdx
call qword [rax + reloc.WS2_32.dll_recv]
mov rcx, qword [0x140de7fa0]
mov qword [rbx + 8], rbp
mov rdx, qword [rbx + 0x10]
test rdx, rdx
je 0x1400bb255
mov rax, qword [rdx]
mov rcx, rdx
call qword [rax + reloc.WS2_32.dll_recv]
mov rcx, qword [0x140de7fa0]
mov qword [rbx + 0x10], rbp
mov rdx, qword [rbx + 0x18]
test rdx, rdx
je 0x1400bb27a
mov rax, qword [rdx]
mov rcx, rdx
call qword [rax + reloc.WS2_32.dll_recv]
mov rcx, qword [0x140de7fa0]
mov qword [rbx + 0x18], rbp
mov rax, qword [rcx + 0x38]
mov qword [rax + 8], rbp
mov rdx, qword [rsi]
test rdx, rdx
je 0x1400bb292
mov rax, qword [rdx]
mov rcx, rdx
call qword [rax + reloc.WS2_32.dll_recv]
mov rcx, qword [0x140de7fa0]
and dword [rdi + 4], 0xfffffff7
mov qword [rdi + 0x80], rbp
mov qword [rdi + 0x90], rbp
test rcx, rcx
je 0x1400bb2af
dec dword [rcx + 0xf0]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rax, qword [0x140de7fa0]
test rax, rax
je 0x1400bb2cd
mov rdi, qword [rax + 0x90]
jmp 0x1400bb2d0
mov rdi, rbp
mov rcx, qword [rdi + 0x38]
lea rbx, [rax + 8]
test rcx, rcx
je 0x1400bb2ea
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov rax, qword [0x140de7fa0]
and dword [rbx + 4], 0xfffffff8
mov qword [rbx + 0x78], rbp
mov qword [rbx + 0x88], rbp
test rax, rax
je 0x1400bb304
dec dword [rax + 0xf0]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rbx, qword [0x140de7fa0]
mov qword [0x140de7fa0], rbx
call fcn.140063bc0
mov qword [0x140de7fa0], rbp
test rbx, rbx
je 0x1400bb34f
mov rcx, rbx
call fcn.14007ae70
mov rax, qword [0x140de7fa0]
test rax, rax
je 0x1400bb346
dec dword [rax + 0xf0]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rcx, qword [0x140de8a18]
mov rbx, qword [rsp + 0x80]
movaps xmm6, xmmword [rsp + 0x40]
add rsp, 0x50
pop rdi
pop rsi
pop rbp
jmp qword [sym.imp.USER32.dll_DestroyWindow]