Function at 0x140044f10
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 [0x14013f080]
xor rax, rsp
mov qword [rsp + 0x68], rax
cmp qword [0x140164360], 0
jne 0x140044f48
call fcn.1400262e0
mov rcx, qword [0x140164380]
lea rdx, [rsp + 0x48]
mov rdi, qword [0x140163ec0]
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 [0x140164388]
cvtsi2ss xmm0, qword [0x140164390]
cvtsi2ss xmm1, rax
divss xmm1, xmm0
movss dword [rdi + 0x18], xmm1
mov qword [0x140164388], 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 [0x140163ec0]
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 0x14004505b
cvttss2si eax, dword [rbx]
lea rdx, [rsp + 0x58]
mov dword [rsp + 0x58], eax
cvttss2si eax, dword [rcx + 0x11c]
mov rcx, qword [0x140164380]
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 [0x140164380]
jne 0x1400450b7
lea rcx, [rsp + 0x40]
call qword [sym.imp.USER32.dll_GetCursorPos]
test eax, eax
je 0x1400450b7
mov rcx, qword [0x140164380]
lea rdx, [rsp + 0x40]
call qword [sym.imp.USER32.dll_ScreenToClient]
test eax, eax
je 0x1400450b7
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 0x1400450c7
mov eax, 0xffffffff
jmp 0x1400450d4
mov rax, qword [0x140163ec0]
mov eax, dword [rax + 0x1ec0]
cmp dword [reloc.WS2_32.dll_htonl], eax
je 0x1400450e7
mov dword [reloc.WS2_32.dll_htonl], eax
call fcn.140026450
call fcn.140006bb0
mov ecx, WSAStartup
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test al, 1
je 0x14004510d
cmp byte [0x140163eb9], 0
sete al
mov byte [0x140163eb9], al
jmp 0x140045114
movzx eax, byte [0x140163eb9]
test al, al
mov rax, qword [0x140163ec0]
je 0x1400451c7
xor edx, edx
mov dword [rax + 0x1af4], 0x43fa0000
mov r8d, 0x10a
mov dword [rax + 0x1af8], 0x43d20000
lea rcx, str.EternitySKL
mov dword [rax + 0x1acc], 1
call fcn.14000a3b0
test al, al
je 0x1400451c0
mov ecx, reloc.WS2_32.dll_WSACleanup
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x14004518a
mov ecx, 0x64
call qword [sym.imp.KERNEL32.dll_Sleep]
cmp byte [0x140164821], 0
sete al
mov byte [0x140164821], al
mov byte [0x140162ec4], al
mov ecx, reloc.WS2_32.dll_WSAStartup
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x1400451bb
mov ecx, 0x64
call qword [sym.imp.KERNEL32.dll_Sleep]
cmp byte [0x140164828], 0
sete al
mov byte [0x140164828], al
mov byte [0x140162ee6], al
call fcn.14003a7c0
call fcn.14000d1d0
jmp 0x1400451ce
mov byte [rax + 0xd0], 0
mov ecx, reloc.WS2_32.dll_WSACleanup
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x1400451ff
mov ecx, 0x64
call qword [sym.imp.KERNEL32.dll_Sleep]
cmp byte [0x140164820], 0
sete al
mov byte [0x140164820], al
mov byte [0x140162ec4], al
mov ecx, reloc.WS2_32.dll_WSAStartup
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x140045230
mov ecx, 0x64
call qword [sym.imp.KERNEL32.dll_Sleep]
cmp byte [0x140164804], 0
sete al
mov byte [0x140164804], al
mov byte [0x140162ee6], al
movss xmm1, dword [0x140162fbc]
xorps xmm4, xmm4
movss xmm3, dword [0x14012e7a0]
ucomiss xmm1, xmm3
movss xmm2, dword [0x140164808]
jp 0x14004526f
jne 0x14004526f
ucomiss xmm2, xmm4
jp 0x14004526f
jne 0x14004526f
movss xmm0, dword [0x140164824]
addss xmm0, xmm3
movss dword [0x140164824], xmm0
jmp 0x140045277
movss xmm0, dword [0x140164824]
movss xmm5, dword [0x14012e804]
comiss xmm0, xmm5
movss xmm6, dword [0x14012e808]
jbe 0x1400452aa
ucomiss xmm2, xmm4
jp 0x1400452aa
jne 0x1400452aa
addss xmm1, xmm3
movss dword [0x140164824], xmm6
movaps xmm0, xmm6
movss dword [0x140162fbc], xmm1
comiss xmm1, xmm5
movss xmm7, dword [0x14012e940]
jbe 0x1400452d5
ucomiss xmm2, xmm4
jp 0x1400452d5
jne 0x1400452d5
addss xmm0, xmm7
movss dword [0x140162fbc], xmm6
movaps xmm1, xmm6
movss dword [0x140164824], xmm0
comiss xmm3, xmm0
jbe 0x1400452f8
ucomiss xmm1, xmm6
jp 0x1400452f8
jne 0x1400452f8
addss xmm2, xmm3
xorps xmm0, xmm0
movss dword [0x140164824], xmm0
movss dword [0x140164808], xmm2
comiss xmm2, xmm5
jbe 0x14004531b
ucomiss xmm0, xmm4
jp 0x14004531b
jne 0x14004531b
addss xmm1, xmm7
movss dword [0x140164808], xmm6
movaps xmm2, xmm6
movss dword [0x140162fbc], xmm1
comiss xmm3, xmm1
jbe 0x14004533e
ucomiss xmm2, xmm6
jp 0x14004533e
jne 0x14004533e
addss xmm0, xmm3
xorps xmm1, xmm1
movss dword [0x140162fbc], xmm1
movss dword [0x140164824], xmm0
comiss xmm0, xmm5
jbe 0x140045361
ucomiss xmm1, xmm4
jp 0x140045361
jne 0x140045361
addss xmm2, xmm7
movss dword [0x140164824], xmm6
movaps xmm0, xmm6
movss dword [0x140164808], xmm2
comiss xmm3, xmm2
jbe 0x140045392
ucomiss xmm1, xmm4
jp 0x140045392
jne 0x140045392
addss xmm0, xmm7
mov dword [0x140164808], 0
comiss xmm3, xmm0
movss dword [0x140164824], xmm0
jbe 0x140045392
mov dword [0x140162fbc], 0x3c23d70a
call fcn.14003fc10
mov rcx, qword [0x1401643b0]
xor r8d, r8d
mov rax, qword [rcx]
lea edx, [r8 + 7]
call qword [rax + 0x1c8]
mov rcx, qword [0x1401643b0]
xor r8d, r8d
mov rax, qword [rcx]
lea edx, [r8 + 0x1b]
call qword [rax + 0x1c8]
mov rcx, qword [0x1401643b0]
xor r8d, r8d
mov edx, 0xae
mov rax, qword [rcx]
call qword [rax + 0x1c8]
mov rcx, qword [0x1401643b0]
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 [0x1401643b0]
mov rax, qword [rcx]
call qword [rax + 0x148]
test eax, eax
js 0x140045449
call fcn.140008170
mov rcx, qword [0x140163ec0]
add rcx, 0x1c70
cmp byte [rcx], dil
cmove rcx, rdi
call fcn.140025a00
mov rcx, qword [0x1401643b0]
mov rax, qword [rcx]
call qword [rax + 0x150]
mov rcx, qword [0x1401643b0]
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 0x14004550b
mov rcx, qword [0x1401643b0]
mov rax, qword [rcx]
call qword [rax + Ordinal_26]
cmp eax, 0x88760869
jne 0x14004550b
cmp qword [0x140164370], rdi
je 0x1400454ef
mov rcx, qword [0x140164378]
test rcx, rcx
je 0x1400454ab
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov qword [0x140164378], rdi
mov rcx, qword [0x140164368]
test rcx, rcx
je 0x1400454c4
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov qword [0x140164368], rdi
mov rcx, qword [0x140164360]
mov rbx, qword [0x140163ec0]
test rcx, rcx
je 0x1400454dd
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov qword [0x140164360], rdi
mov rax, qword [rbx + 0xa0]
mov qword [rax + 8], rdi
mov rcx, qword [0x1401643b0]
lea rdx, [0x140163f50]
mov rax, qword [rcx]
call qword [rax + 0x80]
call fcn.1400262e0
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.1400b0c80
mov rbx, qword [rsp + 0xa0]
movaps xmm6, xmmword [rsp + 0x80]
movaps xmm7, xmmword [rsp + 0x70]
add rsp, 0x90
pop rdi
ret