Function at 0x14003d8d0
Capabilities:
Log keystrokes via polling

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
push rdi
sub rsp, 0xf0
movaps xmmword [rax - 0x18], xmm6
movaps xmmword [rax - 0x28], xmm7
movaps xmmword [rax - 0x38], xmm8
movaps xmmword [rax - 0x48], xmm9
movaps xmmword [rax - 0x58], xmm10
movaps xmmword [rax - 0x68], xmm11
movaps xmmword [rax - 0x78], xmm12
movaps xmmword [rsp + 0x70], xmm13
movaps xmmword [rsp + 0x60], xmm14
movaps xmmword [rsp + 0x50], xmm15
mov rax, qword [0x1401d9080]
xor rax, rsp
mov qword [rsp + 0x40], rax
movaps xmm14, xmm2
mov ebx, dword [0x1401db0e4]
mov edi, dword [0x1401db0f8]
mov ecx, dword [reloc.WS2_32.dll_select]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x14003d966
cmp byte [0x1401dc98a], 0
jne 0x14003d96d
cmp byte [0x1401db0d2], 0
sete byte [0x1401db0d2]
mov byte [0x1401dc98a], 1
jmp 0x14003d96d
mov byte [0x1401dc98a], 0
cmp byte [0x1401dc9c4], 0
je 0x14003db0d
cmp byte [0x1401db0d2], 0
je 0x14003db0d
lea rsi, reloc.WS2_32.dll_bind
mov qword [rsp + 0x28], rsi
mov rcx, rsi
call qword [sym.imp.MSVCP140.dll__Mtx_lock]
test eax, eax
je 0x14003d9ac
mov ecx, 5
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
cmp dword [0x1401d91dc], 0x7fffffff
jne 0x14003d9ce
mov dword [0x1401d91dc], 0x7ffffffe
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
mov eax, dword [reloc.WS2_32.dll_accept]
mov dword [0x1401db0e0], eax
xorps xmm6, xmm6
xorps xmm15, xmm15
movsd qword [rsp + 0x20], xmm6
xorps xmm9, xmm9
xorps xmm7, xmm7
movd xmm0, dword [reloc.WS2_32.dll_accept]
cvtdq2pd xmm0, xmm0
movd xmm12, edi
cvtdq2pd xmm12, xmm12
divsd xmm12, xmm14
mulsd xmm12, xmm0
movd xmm13, ebx
cvtdq2pd xmm13, xmm13
divsd xmm13, xmm14
mulsd xmm13, xmm0
mov ebx, 1
movsd xmm11, qword [0x1401c6b80]
comisd xmm14, xmm11
jb 0x14003db04
movaps xmm0, xmm11
nop
movaps xmm10, xmm12
divsd xmm10, xmm0
movaps xmm8, xmm13
divsd xmm8, xmm0
movsd qword [rsp + 0x30], xmm6
lea rdx, [rsp + 0x30]
movaps xmm0, xmm10
call qword [sym.imp.api_ms_win_crt_math_l1_1_0.dll_modf]
addsd xmm9, xmm0
comisd xmm9, xmm11
jbe 0x14003da8c
movsd qword [rsp + 0x38], xmm6
lea rdx, [rsp + 0x38]
movaps xmm0, xmm9
call qword [sym.imp.api_ms_win_crt_math_l1_1_0.dll_modf]
movaps xmm9, xmm0
movsd qword [rsp + 0x38], xmm6
lea rdx, [rsp + 0x38]
movaps xmm0, xmm8
call qword [sym.imp.api_ms_win_crt_math_l1_1_0.dll_modf]
addsd xmm7, xmm0
comisd xmm7, xmm11
jbe 0x14003dac3
movsd qword [rsp + 0x30], xmm6
lea rdx, [rsp + 0x30]
movaps xmm0, xmm7
call qword [sym.imp.api_ms_win_crt_math_l1_1_0.dll_modf]
movaps xmm7, xmm0
movaps xmm0, xmm10
subsd xmm0, xmm15
cvttsd2si edx, xmm0
movaps xmm1, xmm8
subsd xmm1, qword [rsp + 0x20]
cvttsd2si r8d, xmm1
call fcn.14003d1e0
movaps xmm15, xmm10
movsd qword [rsp + 0x20], xmm8
inc ebx
movd xmm0, ebx
cvtdq2pd xmm0, xmm0
comisd xmm14, xmm0
jae 0x14003da40
mov rcx, rsi
call qword [sym.imp.MSVCP140.dll__Mtx_unlock]
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.1400c1ee0
lea r11, [rsp + 0xf0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
movaps xmm8, xmmword [r11 - 0x30]
movaps xmm9, xmmword [r11 - 0x40]
movaps xmm10, xmmword [r11 - 0x50]
movaps xmm11, xmmword [r11 - 0x60]
movaps xmm12, xmmword [r11 - 0x70]
movaps xmm13, xmmword [r11 - 0x80]
movaps xmm14, xmmword [rsp + 0x60]
movaps xmm15, xmmword [rsp + 0x50]
mov rsp, r11
pop rdi
ret