Function at 0x140043310
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 [0x140110040]
xor rax, rsp
mov qword [rsp + 0x68], rax
cmp qword [0x140110fd0], 0
jne 0x140043348
call fcn.1400254e0
mov rcx, qword [0x140110ff0]
lea rdx, [rsp + 0x48]
mov rdi, qword [0x140110de0]
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 [0x140110ff8]
cvtsi2ss xmm0, qword [0x140111000]
cvtsi2ss xmm1, rax
divss xmm1, xmm0
movss dword [rdi + 0x18], xmm1
mov qword [0x140110ff8], rcx
mov ecx, 0x11
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
mov ecx, 0x10
and al, 1
mov byte [rdi + 0x130], al
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
mov ecx, 0x12
and al, 1
mov byte [rdi + 0x131], al
call qword [sym.imp.USER32.dll_GetKeyState]
mov rcx, qword [0x140110de0]
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 0x14004345b
cvttss2si eax, dword [rbx]
lea rdx, [rsp + 0x58]
mov dword [rsp + 0x58], eax
cvttss2si eax, dword [rcx + 0x11c]
mov rcx, qword [0x140110ff0]
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 [0x140110ff0]
jne 0x1400434b7
lea rcx, [rsp + 0x40]
call qword [sym.imp.USER32.dll_GetCursorPos]
test eax, eax
je 0x1400434b7
mov rcx, qword [0x140110ff0]
lea rdx, [rsp + 0x40]
call qword [sym.imp.USER32.dll_ScreenToClient]
test eax, eax
je 0x1400434b7
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 0x1400434c7
mov eax, 0xffffffff
jmp 0x1400434d4
mov rax, qword [0x140110de0]
mov eax, dword [rax + 0x1ec0]
cmp dword [0x140110270], eax
je 0x1400434e7
mov dword [0x140110270], eax
call fcn.140025650
call fcn.1400069e0
mov ecx, 0x2d
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test al, 1
je 0x14004350d
cmp byte [0x1401100e8], 0
sete cl
mov byte [0x1401100e8], cl
jmp 0x140043514
movzx ecx, byte [0x1401100e8]
mov rax, qword [0x140110de0]
xorps xmm1, xmm1
movaps xmm0, xmmword [0x140107390]
xor edi, edi
mov dword [rax + 0x1564], 0x442e0000
mov dword [rax + 0x1568], 0x43da8000
mov dword [rax + 0x155c], 0x40e00000
mov qword [rax + 0x1554], rdi
mov dword [rax + 0x1574], 0x40a00000
movups xmmword [rax + 0x1610], xmm0
xorps xmm0, xmm0
movups xmmword [rax + 0x1620], xmm1
movaps xmm1, xmmword [0x1401073a0]
movups xmmword [rax + 0x1690], xmm0
movaps xmm0, xmmword [0x140107380]
movups xmmword [rax + 0x1630], xmm1
movaps xmm1, xmmword [0x1401073d0]
movups xmmword [rax + 0x1710], xmm0
movaps xmm0, xmm1
xorps xmm0, xmm0
movups xmmword [rax + 0x15f0], xmm1
movups xmmword [rax + 0x1600], xmm1
movaps xmm1, xmmword [0x140107340]
movups xmmword [rax + 0x1640], xmm1
movaps xmm1, xmmword [0x140107350]
movups xmmword [rax + 0x1650], xmm0
movaps xmm0, xmmword [0x140107360]
movups xmmword [rax + 0x1660], xmm1
movaps xmm1, xmm0
movaps xmm1, xmmword [0x140107380]
movups xmmword [rax + 0x1670], xmm0
movups xmmword [rax + 0x1680], xmm0
movaps xmm0, xmmword [0x140107370]
movups xmmword [rax + 0x1720], xmm0
movaps xmm0, xmm1
movups xmmword [rax + 0x1730], xmm1
movups xmmword [rax + 0x1740], xmm1
movups xmmword [rax + 0x1750], xmm1
test cl, cl
je 0x14004363c
xor edx, edx
mov byte [rax + 0xd0], 1
mov r8d, 0x10b
lea rcx, str.Nightware.pw
call fcn.14000a1e0
test al, al
je 0x140043635
call fcn.14003a230
call fcn.14000d000
jmp 0x140043643
mov byte [rax + 0xd0], dil
movss xmm1, dword [0x14011031c]
xorps xmm4, xmm4
movss xmm3, dword [0x140107060]
ucomiss xmm1, xmm3
movss xmm2, dword [0x140111474]
jp 0x140043682
jne 0x140043682
ucomiss xmm2, xmm4
jp 0x140043682
jne 0x140043682
movss xmm0, dword [0x140111488]
addss xmm0, xmm3
movss dword [0x140111488], xmm0
jmp 0x14004368a
movss xmm0, dword [0x140111488]
movss xmm5, dword [0x1401070c8]
comiss xmm0, xmm5
movss xmm6, dword [0x1401070cc]
jbe 0x1400436bd
ucomiss xmm2, xmm4
jp 0x1400436bd
jne 0x1400436bd
addss xmm1, xmm3
movss dword [0x140111488], xmm6
movaps xmm0, xmm6
movss dword [0x14011031c], xmm1
comiss xmm1, xmm5
movss xmm7, dword [0x140107210]
jbe 0x1400436e8
ucomiss xmm2, xmm4
jp 0x1400436e8
jne 0x1400436e8
addss xmm0, xmm7
movss dword [0x14011031c], xmm6
movaps xmm1, xmm6
movss dword [0x140111488], xmm0
comiss xmm3, xmm0
jbe 0x14004370b
ucomiss xmm1, xmm6
jp 0x14004370b
jne 0x14004370b
addss xmm2, xmm3
xorps xmm0, xmm0
movss dword [0x140111488], xmm0
movss dword [0x140111474], xmm2
comiss xmm2, xmm5
jbe 0x14004372e
ucomiss xmm0, xmm4
jp 0x14004372e
jne 0x14004372e
addss xmm1, xmm7
movss dword [0x140111474], xmm6
movaps xmm2, xmm6
movss dword [0x14011031c], xmm1
comiss xmm3, xmm1
jbe 0x140043751
ucomiss xmm2, xmm6
jp 0x140043751
jne 0x140043751
addss xmm0, xmm3
xorps xmm1, xmm1
movss dword [0x14011031c], xmm1
movss dword [0x140111488], xmm0
comiss xmm0, xmm5
jbe 0x140043774
ucomiss xmm1, xmm4
jp 0x140043774
jne 0x140043774
addss xmm2, xmm7
movss dword [0x140111488], xmm6
movaps xmm0, xmm6
movss dword [0x140111474], xmm2
comiss xmm3, xmm2
jbe 0x1400437a1
ucomiss xmm1, xmm4
jp 0x1400437a1
jne 0x1400437a1
addss xmm0, xmm7
mov dword [0x140111474], edi
comiss xmm3, xmm0
movss dword [0x140111488], xmm0
jbe 0x1400437a1
mov dword [0x14011031c], 0x3c23d70a
call fcn.1400401b0
mov rcx, qword [0x140111020]
xor r8d, r8d
mov rax, qword [rcx]
lea edx, [r8 + 7]
call qword [rax + 0x1c8]
mov rcx, qword [0x140111020]
xor r8d, r8d
mov rax, qword [rcx]
lea edx, [r8 + 0x1b]
call qword [rax + 0x1c8]
mov rcx, qword [0x140111020]
xor r8d, r8d
mov edx, 0xae
mov rax, qword [rcx]
call qword [rax + 0x1c8]
mov rcx, qword [0x140111020]
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 [0x140111020]
mov rax, qword [rcx]
call qword [rax + 0x148]
test eax, eax
js 0x140043858
call fcn.140007fa0
mov rcx, qword [0x140110de0]
add rcx, 0x1c70
cmp byte [rcx], dil
cmove rcx, rdi
call fcn.140024c00
mov rcx, qword [0x140111020]
mov rax, qword [rcx]
call qword [rax + 0x150]
mov rcx, qword [0x140111020]
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 0x14004391a
mov rcx, qword [0x140111020]
mov rax, qword [rcx]
call qword [rax + 0x18]
cmp eax, 0x88760869
jne 0x14004391a
cmp qword [0x140110fe0], rdi
je 0x1400438fe
mov rcx, qword [0x140110fe8]
test rcx, rcx
je 0x1400438ba
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [0x140110fe8], rdi
mov rcx, qword [0x140110fd8]
test rcx, rcx
je 0x1400438d3
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [0x140110fd8], rdi
mov rcx, qword [0x140110fd0]
mov rbx, qword [0x140110de0]
test rcx, rcx
je 0x1400438ec
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [0x140110fd0], rdi
mov rax, qword [rbx + 0xa0]
mov qword [rax + 8], rdi
mov rcx, qword [0x140111020]
lea rdx, [0x140110e70]
mov rax, qword [rcx]
call qword [rax + 0x80]
call fcn.1400254e0
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.140049590
mov rbx, qword [rsp + 0xa0]
movaps xmm6, xmmword [rsp + 0x80]
movaps xmm7, xmmword [rsp + 0x70]
add rsp, 0x90
pop rdi
ret