Function at 0x140043a80
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 [0x14017b180]
xor rax, rsp
mov qword [rsp + 0x68], rax
cmp qword [0x1401a67b8], 0
jne 0x140043ab8
call fcn.140025090
mov rcx, qword [0x1401a67d8]
lea rdx, [rsp + 0x48]
mov rdi, qword [0x1401a6620]
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 [0x1401a67e0]
cvtsi2ss xmm0, qword [0x1401a67e8]
cvtsi2ss xmm1, rax
divss xmm1, xmm0
movss dword [rdi + 0x18], xmm1
mov qword [0x1401a67e0], rcx
mov ecx, setsockopt
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 [0x1401a6620]
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 0x140043bcb
cvttss2si eax, dword [rbx]
lea rdx, [rsp + 0x58]
mov dword [rsp + 0x58], eax
cvttss2si eax, dword [rcx + 0x11c]
mov rcx, qword [0x1401a67d8]
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 [0x1401a67d8]
jne 0x140043c27
lea rcx, [rsp + 0x40]
call qword [sym.imp.USER32.dll_GetCursorPos]
test eax, eax
je 0x140043c27
mov rcx, qword [0x1401a67d8]
lea rdx, [rsp + 0x40]
call qword [sym.imp.USER32.dll_ScreenToClient]
test eax, eax
je 0x140043c27
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 0x140043c37
mov eax, 0xffffffff
jmp 0x140043c44
mov rax, qword [0x1401a6620]
mov eax, dword [rax + 0x1ec0]
cmp dword [0x14017d5c0], eax
je 0x140043c57
mov dword [0x14017d5c0], eax
call fcn.140025200
call fcn.1400069f0
mov ecx, 0x2d
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test al, 1
je 0x140043c7d
cmp byte [0x14017d438], 0
sete cl
mov byte [0x14017d438], cl
jmp 0x140043c84
movzx ecx, byte [0x14017d438]
mov rax, qword [0x1401a6620]
xor edi, edi
movdqa xmm0, xmmword [0x140161f40]
xorps xmm1, xmm1
mov dword [rax + 0x1564], 0x442e0000
mov dword [rax + 0x1568], 0x43da8000
mov qword [rax + 0x1558], rdi
mov dword [rax + 0x1554], edi
mov dword [rax + 0x1574], edi
movups xmmword [rax + 0x1610], xmm0
xorps xmm0, xmm0
movups xmmword [rax + 0x1620], xmm0
movdqa xmm0, xmmword [0x140161f50]
movups xmmword [rax + 0x1630], xmm0
movdqa xmm0, xmmword [0x140162080]
movups xmmword [rax + 0x15f0], xmm0
movups xmmword [rax + 0x1600], xmm0
movdqa xmm0, xmmword [0x140161ea0]
movups xmmword [rax + 0x1640], xmm0
xorps xmm0, xmm0
movups xmmword [rax + 0x1690], xmm1
movdqa xmm1, xmmword [0x140161ec0]
movups xmmword [rax + 0x1650], xmm0
movups xmmword [rax + 0x1710], xmm1
movups xmmword [rax + 0x1660], xmm1
movups xmmword [rax + 0x1670], xmm1
movups xmmword [rax + 0x1680], xmm1
movups xmmword [rax + 0x1720], xmm1
movups xmmword [rax + 0x1730], xmm1
movups xmmword [rax + 0x1740], xmm1
movups xmmword [rax + 0x1750], xmm1
test cl, cl
je 0x140043d84
xor edx, edx
mov byte [rax + 0xd0], 1
mov r8d, 0x10b
lea rcx, [0x1400a5ece]
call fcn.14000a240
test al, al
je 0x140043d7d
call fcn.14003a600
call fcn.14000d0b0
jmp 0x140043d8b
mov byte [rax + 0xd0], dil
movss xmm1, dword [0x14019f074]
xorps xmm4, xmm4
movss xmm3, dword [0x140161af0]
ucomiss xmm1, xmm3
movss xmm2, dword [0x1401a6c74]
jp 0x140043dca
jne 0x140043dca
ucomiss xmm2, xmm4
jp 0x140043dca
jne 0x140043dca
movss xmm0, dword [0x1401a6c90]
addss xmm0, xmm3
movss dword [0x1401a6c90], xmm0
jmp 0x140043dd2
movss xmm0, dword [0x1401a6c90]
movss xmm5, dword [0x140161b58]
comiss xmm0, xmm5
movss xmm6, dword [0x140161b5c]
jbe 0x140043e05
ucomiss xmm2, xmm4
jp 0x140043e05
jne 0x140043e05
addss xmm1, xmm3
movss dword [0x1401a6c90], xmm6
movaps xmm0, xmm6
movss dword [0x14019f074], xmm1
comiss xmm1, xmm5
movss xmm7, dword [0x140161c98]
jbe 0x140043e30
ucomiss xmm2, xmm4
jp 0x140043e30
jne 0x140043e30
addss xmm0, xmm7
movss dword [0x14019f074], xmm6
movaps xmm1, xmm6
movss dword [0x1401a6c90], xmm0
comiss xmm3, xmm0
jbe 0x140043e53
ucomiss xmm1, xmm6
jp 0x140043e53
jne 0x140043e53
addss xmm2, xmm3
xorps xmm0, xmm0
movss dword [0x1401a6c90], xmm0
movss dword [0x1401a6c74], xmm2
comiss xmm2, xmm5
jbe 0x140043e76
ucomiss xmm0, xmm4
jp 0x140043e76
jne 0x140043e76
addss xmm1, xmm7
movss dword [0x1401a6c74], xmm6
movaps xmm2, xmm6
movss dword [0x14019f074], xmm1
comiss xmm3, xmm1
jbe 0x140043e99
ucomiss xmm2, xmm6
jp 0x140043e99
jne 0x140043e99
addss xmm0, xmm3
xorps xmm1, xmm1
movss dword [0x14019f074], xmm1
movss dword [0x1401a6c90], xmm0
comiss xmm0, xmm5
jbe 0x140043ebc
ucomiss xmm1, xmm4
jp 0x140043ebc
jne 0x140043ebc
addss xmm2, xmm7
movss dword [0x1401a6c90], xmm6
movaps xmm0, xmm6
movss dword [0x1401a6c74], xmm2
comiss xmm3, xmm2
jbe 0x140043ee9
ucomiss xmm1, xmm4
jp 0x140043ee9
jne 0x140043ee9
addss xmm0, xmm7
mov dword [0x1401a6c74], edi
comiss xmm3, xmm0
movss dword [0x1401a6c90], xmm0
jbe 0x140043ee9
mov dword [0x14019f074], 0x3c23d70a
call fcn.140040910
mov rcx, qword [0x1401a6808]
xor r8d, r8d
mov edx, 7
mov rax, qword [rcx]
call qword [rax + 0x1c8]
mov rcx, qword [0x1401a6808]
xor r8d, r8d
mov edx, 0x1b
mov rax, qword [rcx]
call qword [rax + 0x1c8]
mov rcx, qword [0x1401a6808]
xor r8d, r8d
mov edx, 0xae
mov rax, qword [rcx]
call qword [rax + 0x1c8]
mov rcx, qword [0x1401a6808]
mov r9d, 1
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]
call qword [rax + 0x158]
mov rcx, qword [0x1401a6808]
mov rax, qword [rcx]
call qword [rax + 0x148]
test eax, eax
js 0x140043fa2
call fcn.140007fa0
mov rcx, qword [0x1401a6620]
add rcx, 0x1c70
cmp byte [rcx], dil
cmove rcx, rdi
call fcn.140024790
mov rcx, qword [0x1401a6808]
mov rax, qword [rcx]
call qword [rax + 0x150]
mov rcx, qword [0x1401a6808]
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 0x140044064
mov rcx, qword [0x1401a6808]
mov rax, qword [rcx]
call qword [rax + 0x18]
cmp eax, 0x88760869
jne 0x140044064
cmp qword [0x1401a67c8], rdi
je 0x140044048
mov rcx, qword [0x1401a67d0]
test rcx, rcx
je 0x140044004
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov qword [0x1401a67d0], rdi
mov rcx, qword [0x1401a67c0]
test rcx, rcx
je 0x14004401d
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov qword [0x1401a67c0], rdi
mov rcx, qword [0x1401a67b8]
mov rbx, qword [0x1401a6620]
test rcx, rcx
je 0x140044036
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov qword [0x1401a67b8], rdi
mov rax, qword [rbx + 0xa0]
mov qword [rax + 8], rdi
mov rcx, qword [0x1401a6808]
lea rdx, [0x1401a66b0]
mov rax, qword [rcx]
call qword [rax + 0x80]
call fcn.140025090
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.140099710
mov rbx, qword [rsp + 0xa0]
movaps xmm6, xmmword [rsp + 0x80]
movaps xmm7, xmmword [rsp + 0x70]
add rsp, 0x90
pop rdi
ret