Function at 0x140044f00
Capabilities:
Check for unmoving mouse cursor
Log keystrokes via polling

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
lea rbp, [rax - 0x5f]
sub rsp, 0xc0
movaps xmmword [rax - 0x18], xmm6
mov rax, qword [0x1401060c0]
xor rax, rsp
mov qword [rbp + 0x3f], rax
xorps xmm0, xmm0
movups xmmword [0x140122e10], xmm0
movups xmmword [0x140122e20], xmm0
movups xmmword [0x140122e30], xmm0
xor esi, esi
movss xmm6, dword [0x1400f3284]
nop
mov dword [rsp + 0x20], 1
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [0x140122e40]
lea rcx, [0x140122e10]
call qword [sym.imp.USER32.dll_PeekMessageA]
test eax, eax
je 0x140044f90
lea rcx, [0x140122e10]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [0x140122e10]
call qword [sym.imp.USER32.dll_DispatchMessageA]
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov rcx, qword [0x140122df8]
cmp rax, rcx
jne 0x140044fdd
mov edx, 3
mov rcx, rax
call qword [sym.imp.USER32.dll_GetWindow]
mov dword [rsp + 0x30], 3
mov dword [rsp + 0x28], esi
mov dword [rsp + 0x20], esi
xor r9d, r9d
xor r8d, r8d
mov rdx, rax
mov rcx, qword [0x140122e40]
call qword [sym.imp.USER32.dll_SetWindowPos]
mov rcx, qword [0x140122df8]
xorps xmm0, xmm0
movups xmmword [rbp - 1], xmm0
mov qword [rbp - 0x11], rsi
lea rdx, [rbp - 1]
call qword [sym.imp.USER32.dll_GetClientRect]
lea rdx, [rbp - 0x11]
mov rcx, qword [0x140122df8]
call qword [sym.imp.USER32.dll_ClientToScreen]
mov eax, dword [rbp - 0x11]
mov dword [rbp - 1], eax
mov eax, dword [rbp - 0xd]
mov dword [rbp + 3], eax
mov rbx, qword [0x140122dd0]
mov rax, qword [0x140122df8]
mov qword [rbx + 0x108], rax
mov dword [rbx + 0x18], 0x3c888889
lea rcx, [rbp + 0xf]
call qword [sym.imp.USER32.dll_GetCursorPos]
mov eax, dword [rbp + 0xf]
sub eax, dword [rbp - 0x11]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rbx + 0x118], xmm0
mov eax, dword [rbp + 0x13]
sub eax, dword [rbp - 0xd]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rbx + 0x11c], xmm0
mov ecx, 1
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x14004508b
mov byte [rbx + 0x120], 1
mov byte [rbx + 0x430], 1
mov eax, dword [rbx + 0x11c]
mov dword [rbx + 0x3dc], eax
jmp 0x140045092
mov byte [rbx + 0x120], 0
mov ecx, dword [rbp + 0xb]
mov edx, dword [rbp + 7]
mov eax, dword [0x140123798]
cmp dword [rbp - 1], eax
jne 0x1400450be
cmp edx, dword [0x1401237a0]
jne 0x1400450be
mov eax, dword [0x14012379c]
cmp dword [rbp + 3], eax
jne 0x1400450be
cmp ecx, dword [0x1401237a4]
je 0x14004511f
movups xmm0, xmmword [rbp - 1]
movups xmmword [0x140123798], xmm0
mov dword [0x140122eec], edx
mov dword [0x140122ee8], ecx
mov dword [0x140122ea0], edx
mov dword [0x140122ea4], ecx
mov dword [rsp + 0x30], 8
mov dword [rsp + 0x28], ecx
mov dword [rsp + 0x20], edx
mov r9d, dword [rbp - 0xd]
mov r8d, dword [rbp - 0x11]
xor edx, edx
mov rcx, qword [0x140122e40]
call qword [sym.imp.USER32.dll_SetWindowPos]
mov rcx, qword [0x140122e98]
mov rax, qword [rcx]
lea rdx, [0x140122ea0]
call qword [rax + 0x80]
cmp qword [0x140123278], 0
jne 0x140045138
cmp qword [0x140123288], 0
je 0x140045138
call fcn.140023e90
mov rdi, qword [0x140122dd0]
lea rdx, [rbp - 0x21]
mov rcx, qword [0x140123298]
call qword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [rbp - 0x15]
sub eax, dword [rbp - 0x1d]
movd xmm1, eax
cvtdq2ps xmm1, xmm1
mov eax, dword [rbp - 0x19]
sub eax, dword [rbp - 0x21]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rdi + 0x10], xmm0
movss dword [rdi + 0x14], xmm1
lea rcx, [rbp + 0x17]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rcx, qword [rbp + 0x17]
mov rax, rcx
sub rax, qword [0x1401232a0]
xorps xmm1, xmm1
cvtsi2ss xmm1, rax
xorps xmm0, xmm0
cvtsi2ss xmm0, qword [0x1401232a8]
divss xmm1, xmm0
movss dword [rdi + 0x18], xmm1
mov qword [0x1401232a0], rcx
mov ecx, reloc.WS2_32.dll_recvfrom
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
and al, 1
mov byte [rdi + 0x130], al
mov ecx, reloc.WS2_32.dll_recv
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
and al, 1
mov byte [rdi + 0x131], al
mov ecx, reloc.WS2_32.dll_select
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
and al, 1
mov byte [rdi + 0x132], al
mov byte [rdi + 0x133], 0
mov rcx, qword [0x140122dd0]
lea rbx, [rcx + 0x118]
cmp byte [rcx + 0x3af], 0
je 0x14004523f
cvttss2si eax, dword [rbx]
mov dword [rbp - 9], eax
cvttss2si eax, dword [rcx + 0x11c]
mov dword [rbp - 5], eax
lea rdx, [rbp - 9]
mov rcx, qword [0x140123298]
call qword [sym.imp.USER32.dll_ClientToScreen]
mov edx, dword [rbp - 5]
mov ecx, dword [rbp - 9]
call qword [sym.imp.USER32.dll_SetCursorPos]
mov dword [rbx], 0xff7fffff
mov dword [rbx + 4], 0xff7fffff
call qword [sym.imp.USER32.dll_GetActiveWindow]
cmp rax, qword [0x140123298]
jne 0x140045297
lea rcx, [rbp - 0x29]
call qword [sym.imp.USER32.dll_GetCursorPos]
test eax, eax
je 0x140045297
lea rdx, [rbp - 0x29]
mov rcx, qword [0x140123298]
call qword [sym.imp.USER32.dll_ScreenToClient]
test eax, eax
je 0x140045297
movd xmm1, dword [rbp - 0x25]
cvtdq2ps xmm1, xmm1
movd xmm0, dword [rbp - 0x29]
cvtdq2ps xmm0, xmm0
movss dword [rbx], xmm0
movss dword [rbx + 4], xmm1
cmp byte [rdi + 0xd0], 0
je 0x1400452a7
mov eax, 0xffffffff
jmp 0x1400452b4
mov rax, qword [0x140122dd0]
mov eax, dword [rax + 0x1d70]
cmp dword [reloc.WS2_32.dll_htonl], eax
je 0x1400452c7
mov dword [reloc.WS2_32.dll_htonl], eax
call fcn.140024050
call fcn.140006650
call fcn.140041440
mov ecx, dword [reloc.WS2_32.dll_bind]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x140045348
cmp byte [0x1401237c3], 0
je 0x140045348
mov eax, dword [0x140122f5c]
test eax, eax
je 0x14004533e
cmp eax, 1
je 0x140045337
cmp eax, 2
je 0x140045330
cmp eax, 3
jne 0x140045348
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
mov r8d, eax
mov eax, 0x55555556
imul r8d
mov ecx, edx
shr ecx, 0x1f
add edx, ecx
lea ecx, [rdx + rdx*2]
sub r8d, ecx
je 0x14004533e
cmp r8d, 1
je 0x140045337
cmp r8d, 2
jne 0x140045348
mov ecx, Ordinal_41
jmp 0x140045343
mov ecx, 0x43
jmp 0x140045343
mov ecx, WSASetLastError
call fcn.1400400d0
mov ecx, dword [reloc.WS2_32.dll_bind]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x14004536c
cmp byte [0x1401237bf], 0
je 0x14004536c
mov ecx, 0x43
call fcn.1400400d0
mov ecx, dword [reloc.WS2_32.dll_bind]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x1400453d8
cmp byte [0x1401237be], 0
je 0x1400453d8
mov r8, qword [0x140122e88]
lea rdx, [rbp + 0x1f]
call fcn.140033290
nop
call fcn.140040e40
nop
mov rdx, qword [rbp + 0x37]
cmp rdx, 0xf
jbe 0x1400453d8
inc rdx
mov rcx, qword [rbp + 0x1f]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400453d3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14004569f
call fcn.1400ba830
call fcn.14003d5a0
call fcn.140007750
mov rcx, qword [0x140122e98]
mov rax, qword [rcx]
xor r8d, r8d
mov edx, 7
call qword [rax + 0x1c8]
mov rcx, qword [0x140122e98]
mov rax, qword [rcx]
xor r8d, r8d
mov edx, reloc.WLDAP32.dll_Ordinal_27
call qword [rax + 0x1c8]
mov rcx, qword [0x140122e98]
mov rax, qword [rcx]
xor r8d, r8d
mov edx, 0xae
call qword [rax + 0x1c8]
mov rcx, qword [0x140122e98]
mov rax, qword [rcx]
mov dword [rsp + 0x30], esi
movss dword [rsp + 0x28], xmm6
mov dword [rsp + 0x20], esi
mov r9d, 1
xor r8d, r8d
xor edx, edx
call qword [rax + 0x158]
mov rcx, qword [0x140122e98]
mov rax, qword [rcx]
call qword [rax + 0x148]
test eax, eax
js 0x140045497
call fcn.140007c00
mov rax, qword [0x140122dd0]
add rax, 0x1c70
mov rcx, rsi
cmp byte [rax], cl
cmovne rcx, rax
call fcn.140023590
mov rcx, qword [0x140122e98]
mov rax, qword [rcx]
call qword [rax + 0x150]
mov rcx, qword [0x140122e98]
mov rax, qword [rcx]
mov qword [rsp + 0x20], rsi
xor r9d, r9d
xor r8d, r8d
xor edx, edx
call qword [rax + 0x88]
cmp eax, 0x88760868
jne 0x140045564
mov rcx, qword [0x140122e98]
mov rax, qword [rcx]
call qword [rax + Ordinal_26]
cmp eax, 0x88760869
jne 0x140045564
cmp qword [0x140123288], 0
je 0x14004553e
mov rcx, qword [0x140123290]
test rcx, rcx
je 0x1400454fa
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov qword [0x140123290], rsi
mov rcx, qword [0x140123280]
test rcx, rcx
je 0x140045513
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov qword [0x140123280], rsi
mov rbx, qword [0x140122dd0]
mov rcx, qword [0x140123278]
test rcx, rcx
je 0x14004552c
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov qword [0x140123278], rsi
mov rax, qword [rbx + 0xa0]
mov qword [rax + 8], rsi
mov rcx, qword [0x140122e98]
mov rax, qword [rcx]
lea rdx, [0x140122ea0]
call qword [rax + 0x80]
cmp qword [0x140123288], 0
je 0x140045564
call fcn.140023e90
cmp dword [0x140122e18], 0x12
jne 0x140044f50
cmp qword [0x140123288], 0
je 0x1400455d8
mov rcx, qword [0x140123290]
test rcx, rcx
je 0x140045594
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov qword [0x140123290], rsi
mov rcx, qword [0x140123280]
test rcx, rcx
je 0x1400455ad
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov qword [0x140123280], rsi
mov rbx, qword [0x140122dd0]
mov rcx, qword [0x140123278]
test rcx, rcx
je 0x1400455c6
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov qword [0x140123278], rsi
mov rax, qword [rbx + 0xa0]
mov qword [rax + 8], rsi
mov qword [0x140123288], rsi
mov qword [0x140123298], rsi
mov rbx, qword [0x140122dd0]
mov rcx, rbx
call fcn.140006ee0
cmp qword [0x140122dd0], rbx
jne 0x140045605
mov qword [0x140122dd0], rsi
test rbx, rbx
je 0x14004562d
mov rcx, rbx
call fcn.1400141e0
mov rax, qword [0x140122dd0]
test rax, rax
je 0x140045624
dec dword [rax + 0x3c8]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rcx, qword [0x140122e98]
test rcx, rcx
je 0x14004564f
mov rax, qword [rcx]
call qword [rax + 0x150]
mov rcx, qword [0x140122e98]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov rcx, qword [0x140122e48]
test rcx, rcx
je 0x140045661
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov rcx, qword [0x140122e40]
call qword [sym.imp.USER32.dll_DestroyWindow]
mov rax, qword [0x140122e20]
mov rcx, qword [rbp + 0x3f]
xor rcx, rsp
call fcn.1400ba3e0
lea r11, [rsp + 0xc0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
movaps xmm6, xmmword [r11 - 0x10]
mov rsp, r11
pop rbp
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3