Function at 0x14003d3b0
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x70
mov rax, qword [0x1400e0098]
xor rax, rsp
mov qword [rsp + 0x68], rax
mov ecx, reloc.WLDAP32.dll_Ordinal_45
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test al, 1
jne 0x14003d405
mov ecx, reloc.WS2_32.dll_WSASetLastError
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test al, 1
jne 0x14003d405
mov ecx, reloc.WLDAP32.dll_Ordinal_46
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test al, 1
jne 0x14003d405
mov ecx, 0x24
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test al, 1
je 0x14003d413
cmp byte [reloc.WS2_32.dll_accept], 0
sete byte [0x1400e0108]
cmp qword [0x1401c6e68], 0
jne 0x14003d422
call fcn.1400256f0
mov rcx, qword [0x1401c6e88]
lea rdx, [rsp + 0x58]
mov rdi, qword [0x1401c6a70]
call qword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [rsp + 0x60]
lea rcx, [rsp + 0x50]
sub eax, dword [rsp + 0x58]
movd xmm1, eax
mov eax, dword [rsp + 0x64]
sub eax, dword [rsp + 0x5c]
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 + 0x50]
xorps xmm1, xmm1
mov rax, rcx
xorps xmm0, xmm0
sub rax, qword [0x1401c6e90]
cvtsi2ss xmm0, qword [0x1401c6e98]
cvtsi2ss xmm1, rax
divss xmm1, xmm0
movss dword [rdi + 0x18], xmm1
mov qword [0x1401c6e90], 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 [0x1401c6a70]
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 0x14003d535
cvttss2si eax, dword [rbx]
lea rdx, [rsp + 0x40]
mov dword [rsp + 0x40], eax
cvttss2si eax, dword [rcx + 0x11c]
mov rcx, qword [0x1401c6e88]
mov dword [rsp + 0x44], eax
call qword [sym.imp.USER32.dll_ClientToScreen]
mov edx, dword [rsp + 0x44]
mov ecx, dword [rsp + 0x40]
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 [0x1401c6e88]
jne 0x14003d591
lea rcx, [rsp + 0x48]
call qword [sym.imp.USER32.dll_GetCursorPos]
test eax, eax
je 0x14003d591
mov rcx, qword [0x1401c6e88]
lea rdx, [rsp + 0x48]
call qword [sym.imp.USER32.dll_ScreenToClient]
test eax, eax
je 0x14003d591
movd xmm0, dword [rsp + 0x48]
movd xmm1, dword [rsp + 0x4c]
cvtdq2ps xmm0, xmm0
cvtdq2ps xmm1, xmm1
movss dword [rbx], xmm0
movss dword [rbx + 4], xmm1
cmp byte [rdi + 0xd0], 0
je 0x14003d5a1
mov eax, 0xffffffff
jmp 0x14003d5ae
mov rax, qword [0x1401c6a70]
mov eax, dword [rax + 0x1d70]
cmp dword [reloc.WS2_32.dll_htonl], eax
je 0x14003d5c1
mov dword [reloc.WS2_32.dll_htonl], eax
call fcn.140025840
call fcn.140006e60
cmp byte [reloc.WS2_32.dll_accept], 0
je 0x14003d5d4
call fcn.140043930
call fcn.140048790
call fcn.140008150
mov rcx, qword [0x1401c6ea8]
xor r8d, r8d
mov rax, qword [rcx]
lea edx, [r8 + 7]
call qword [rax + 0x1c8]
mov rcx, qword [0x1401c6ea8]
xor r8d, r8d
mov rax, qword [rcx]
lea edx, [r8 + 0x1b]
call qword [rax + 0x1c8]
mov rcx, qword [0x1401c6ea8]
xor r8d, r8d
mov edx, 0xae
mov rax, qword [rcx]
call qword [rax + 0x1c8]
mov rcx, qword [0x1401c6ea8]
xor edi, edi
movss xmm0, dword [0x1400cf3d4]
xor r8d, r8d
mov dword [rsp + 0x30], edi
xor edx, edx
movss dword [rsp + 0x28], xmm0
mov rax, qword [rcx]
lea r9d, [rdi + 1]
mov dword [rsp + 0x20], edi
call qword [rax + 0x158]
mov rcx, qword [0x1401c6ea8]
mov rax, qword [rcx]
call qword [rax + 0x148]
test eax, eax
js 0x14003d698
call fcn.1400085e0
mov rcx, qword [0x1401c6a70]
add rcx, 0x1c70
cmp byte [rcx], dil
cmove rcx, rdi
call fcn.140024e20
mov rcx, qword [0x1401c6ea8]
mov rax, qword [rcx]
call qword [rax + 0x150]
mov rcx, qword [0x1401c6ea8]
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 0x14003d75a
mov rcx, qword [0x1401c6ea8]
mov rax, qword [rcx]
call qword [rax + Ordinal_26]
cmp eax, 0x88760869
jne 0x14003d75a
cmp qword [0x1401c6e78], rdi
je 0x14003d73e
mov rcx, qword [0x1401c6e80]
test rcx, rcx
je 0x14003d6fa
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov qword [0x1401c6e80], rdi
mov rcx, qword [0x1401c6e70]
test rcx, rcx
je 0x14003d713
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov qword [0x1401c6e70], rdi
mov rcx, qword [0x1401c6e68]
mov rbx, qword [0x1401c6a70]
test rcx, rcx
je 0x14003d72c
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov qword [0x1401c6e68], rdi
mov rax, qword [rbx + 0xa0]
mov qword [rax + 8], rdi
mov rcx, qword [0x1401c6ea8]
lea rdx, [0x1401c6a80]
mov rax, qword [rcx]
call qword [rax + 0x80]
call fcn.1400256f0
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.1400ae260
mov rbx, qword [rsp + 0x80]
add rsp, 0x70
pop rdi
ret