Function at 0x1400425f0
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x90
movaps xmmword [rsp + 0x80], xmm6
movaps xmmword [rsp + 0x70], xmm7
mov rax, qword [0x14014f080]
xor rax, rsp
mov qword [rsp + 0x68], rax
cmp qword [0x140176090], 0
jne 0x140042628
call fcn.140025d70
mov rcx, qword [0x1401760b0]
lea rdx, [rsp + 0x48]
mov rdi, qword [0x140150a90]
call qword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [rsp + 0x50]
lea rcx, [rsp + 0x60]
sub eax, dword [rsp + 0x48]
movd xmm1, eax
mov eax, dword [rsp + 0x54]
sub eax, dword [rsp + 0x4c]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rdi + 0x10], xmm1
movss dword [rdi + 0x14], xmm0
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rcx, qword [rsp + 0x60]
xorps xmm1, xmm1
mov rax, rcx
xorps xmm0, xmm0
sub rax, qword [0x1401760b8]
cvtsi2ss xmm0, qword [0x1401760c0]
cvtsi2ss xmm1, rax
divss xmm1, xmm0
movss dword [rdi + 0x18], xmm1
mov qword [0x1401760b8], rcx
mov ecx, reloc.WS2_32.dll_recvfrom
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
mov ecx, reloc.WS2_32.dll_recv
and al, 1
mov byte [rdi + 0x130], al
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
mov ecx, reloc.WS2_32.dll_select
and al, 1
mov byte [rdi + 0x131], al
call qword [sym.imp.USER32.dll_GetKeyState]
mov rcx, qword [0x140150a90]
shr eax, 0xf
and al, 1
mov byte [rdi + 0x133], 0
mov byte [rdi + 0x132], al
cmp byte [rcx + 0x3af], 0
lea rbx, [rcx + 0x118]
je 0x14004273b
cvttss2si eax, dword [rbx]
lea rdx, [rsp + 0x58]
mov dword [rsp + 0x58], eax
cvttss2si eax, dword [rcx + 0x11c]
mov rcx, qword [0x1401760b0]
mov dword [rsp + 0x5c], eax
call qword [sym.imp.USER32.dll_ClientToScreen]
mov edx, dword [rsp + 0x5c]
mov ecx, dword [rsp + 0x58]
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 [0x1401760b0]
jne 0x140042797
lea rcx, [rsp + 0x40]
call qword [sym.imp.USER32.dll_GetCursorPos]
test eax, eax
je 0x140042797
mov rcx, qword [0x1401760b0]
lea rdx, [rsp + 0x40]
call qword [sym.imp.USER32.dll_ScreenToClient]
test eax, eax
je 0x140042797
movd xmm0, dword [rsp + 0x40]
movd xmm1, dword [rsp + 0x44]
cvtdq2ps xmm0, xmm0
cvtdq2ps xmm1, xmm1
movss dword [rbx], xmm0
movss dword [rbx + 4], xmm1
cmp byte [rdi + 0xd0], 0
je 0x1400427a7
mov eax, 0xffffffff
jmp 0x1400427b4
mov rax, qword [0x140150a90]
mov eax, dword [rax + 0x1ec0]
cmp dword [reloc.WS2_32.dll_htonl], eax
je 0x1400427c7
mov dword [reloc.WS2_32.dll_htonl], eax
call fcn.140025ee0
call fcn.140007460
mov ecx, WSAStartup
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x140042832
mov rax, qword [0x140175d08]
cmp qword [0x140175d00], rax
mov rbx, qword [0x140175cc8]
cmovne rax, qword [0x140175d00]
mov rdi, qword [0x140175cd0]
mov qword [0x140175d08], rax
cmp rbx, rdi
je 0x140042832
nop dword [rax]
mov rcx, rbx
call fcn.14003db60
add rbx, 0xb0
cmp rbx, rdi
jne 0x140042810
mov rax, qword [0x140175cc8]
mov qword [0x140175cd0], rax
mov ecx, reloc.WS2_32.dll_WSASetLastError
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test al, 1
je 0x14004284f
cmp byte [reloc.WS2_32.dll_accept], 0
sete byte [0x14014f0e0]
call fcn.14003b850
cmp byte [reloc.WS2_32.dll_accept], 0
je 0x140042881
xor edx, edx
lea rcx, str.Version:_0.0.000.842
mov r8d, 0x108
call fcn.14000ad60
test al, al
je 0x14004287a
call fcn.14003bae0
call fcn.14000dce0
jmp 0x14004288f
mov rax, qword [0x140150a90]
mov byte [rax + 0xd0], 0
movss xmm1, dword [0x14014f6f0]
xorps xmm4, xmm4
movss xmm3, dword [0x14013c3f4]
ucomiss xmm1, xmm3
movss xmm2, dword [0x140176534]
jp 0x1400428ce
jne 0x1400428ce
ucomiss xmm2, xmm4
jp 0x1400428ce
jne 0x1400428ce
movss xmm0, dword [0x140176558]
addss xmm0, xmm3
movss dword [0x140176558], xmm0
jmp 0x1400428d6
movss xmm0, dword [0x140176558]
movss xmm5, dword [0x14013c458]
comiss xmm0, xmm5
movss xmm6, dword [0x14013c45c]
jbe 0x140042909
ucomiss xmm2, xmm4
jp 0x140042909
jne 0x140042909
addss xmm1, xmm3
movss dword [0x140176558], xmm6
movaps xmm0, xmm6
movss dword [0x14014f6f0], xmm1
comiss xmm1, xmm5
movss xmm7, dword [0x14013c5f0]
jbe 0x140042934
ucomiss xmm2, xmm4
jp 0x140042934
jne 0x140042934
addss xmm0, xmm7
movss dword [0x14014f6f0], xmm6
movaps xmm1, xmm6
movss dword [0x140176558], xmm0
comiss xmm3, xmm0
jbe 0x140042957
ucomiss xmm1, xmm6
jp 0x140042957
jne 0x140042957
addss xmm2, xmm3
xorps xmm0, xmm0
movss dword [0x140176558], xmm0
movss dword [0x140176534], xmm2
comiss xmm2, xmm5
jbe 0x14004297a
ucomiss xmm0, xmm4
jp 0x14004297a
jne 0x14004297a
addss xmm1, xmm7
movss dword [0x140176534], xmm6
movaps xmm2, xmm6
movss dword [0x14014f6f0], xmm1
comiss xmm3, xmm1
jbe 0x14004299d
ucomiss xmm2, xmm6
jp 0x14004299d
jne 0x14004299d
addss xmm0, xmm3
xorps xmm1, xmm1
movss dword [0x14014f6f0], xmm1
movss dword [0x140176558], xmm0
comiss xmm0, xmm5
jbe 0x1400429c0
ucomiss xmm1, xmm4
jp 0x1400429c0
jne 0x1400429c0
addss xmm2, xmm7
movss dword [0x140176558], xmm6
movaps xmm0, xmm6
movss dword [0x140176534], xmm2
comiss xmm3, xmm2
jbe 0x1400429f1
ucomiss xmm1, xmm4
jp 0x1400429f1
jne 0x1400429f1
addss xmm0, xmm7
mov dword [0x140176534], 0
comiss xmm3, xmm0
movss dword [0x140176558], xmm0
jbe 0x1400429f1
mov dword [0x14014f6f0], 0x3c23d70a
call fcn.140040280
mov rcx, qword [0x1401760e0]
xor r8d, r8d
mov rax, qword [rcx]
lea edx, [r8 + 7]
call qword [rax + 0x1c8]
mov rcx, qword [0x1401760e0]
xor r8d, r8d
mov rax, qword [rcx]
lea edx, [r8 + 0x1b]
call qword [rax + 0x1c8]
mov rcx, qword [0x1401760e0]
xor r8d, r8d
mov edx, 0xae
mov rax, qword [rcx]
call qword [rax + 0x1c8]
mov rcx, qword [0x1401760e0]
xor edi, edi
mov dword [rsp + 0x30], edi
xor r8d, r8d
movss dword [rsp + 0x28], xmm6
xor edx, edx
mov dword [rsp + 0x20], edi
mov rax, qword [rcx]
lea r9d, [rdi + 1]
call qword [rax + 0x158]
mov rcx, qword [0x1401760e0]
mov rax, qword [rcx]
call qword [rax + 0x148]
test eax, eax
js 0x140042aa8
call fcn.140008a70
mov rcx, qword [0x140150a90]
add rcx, 0x1c70
cmp byte [rcx], dil
cmove rcx, rdi
call fcn.1400254a0
mov rcx, qword [0x1401760e0]
mov rax, qword [rcx]
call qword [rax + 0x150]
mov rcx, qword [0x1401760e0]
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], rdi
xor edx, edx
mov rax, qword [rcx]
call qword [rax + 0x88]
cmp eax, 0x88760868
jne 0x140042b6a
mov rcx, qword [0x1401760e0]
mov rax, qword [rcx]
call qword [rax + Ordinal_26]
cmp eax, 0x88760869
jne 0x140042b6a
cmp qword [0x1401760a0], rdi
je 0x140042b4e
mov rcx, qword [0x1401760a8]
test rcx, rcx
je 0x140042b0a
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov qword [0x1401760a8], rdi
mov rcx, qword [0x140176098]
test rcx, rcx
je 0x140042b23
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov qword [0x140176098], rdi
mov rcx, qword [0x140176090]
mov rbx, qword [0x140150a90]
test rcx, rcx
je 0x140042b3c
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov qword [0x140176090], rdi
mov rax, qword [rbx + 0xa0]
mov qword [rax + 8], rdi
mov rcx, qword [0x1401760e0]
lea rdx, [0x140175ba0]
mov rax, qword [rcx]
call qword [rax + 0x80]
call fcn.140025d70
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.1400bc580
mov rbx, qword [rsp + 0xa0]
movaps xmm6, xmmword [rsp + 0x80]
movaps xmm7, xmmword [rsp + 0x70]
add rsp, 0x90
pop rdi
ret