Function at 0x14003d750
Capabilities:
Log keystrokes via polling

Disassembly:
mov rax, rsp
mov qword [rax + 0x18], rbx
mov qword [rax + 0x10], rdx
push rbp
push rsi
push rdi
lea rbp, [rax - 0xa8]
sub rsp, 0x190
movaps xmmword [rax - 0x28], xmm6
movaps xmmword [rax - 0x38], xmm7
movaps xmmword [rax - 0x48], xmm8
mov rbx, rdx
ucomisd xmm0, qword [0x1400d0328]
jp 0x14003d78c
je 0x14003db69
cmp byte [0x140111ad0], 0
je 0x14003db69
mov rax, qword [0x140111bd8]
cmp qword [rax + 0x20], 0
je 0x14003db69
movzx ecx, byte [0x1401118dc]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x14003db69
xorps xmm6, xmm6
mov eax, dword [0x140111af0]
test eax, eax
jne 0x14003d817
mov rax, qword [rbx]
mov rcx, qword [rax + 8]
test rcx, rcx
jne 0x14003d7ed
xorps xmm1, xmm1
movups xmmword [rsp + 0x40], xmm1
xorps xmm0, xmm0
movsd qword [rsp + 0x50], xmm0
jmp 0x14003d802
mov r8d, WSASetLastError
lea rdx, [rsp + 0x40]
call fcn.14003a890
movups xmm1, xmmword [rsp + 0x40]
movaps xmmword [rbp - 0x70], xmm1
movsd xmm0, qword [rsp + 0x50]
movsd qword [rbp - 0x60], xmm0
lea rdx, [rbp - 0x70]
jmp 0x14003d847
cmp eax, 1
jne 0x14003d868
mov rax, qword [rbx]
mov r8d, 0x42
lea rdx, [rbp + 0x10]
mov rcx, qword [rax + 8]
call fcn.14003a890
movups xmm0, xmmword [rax]
movaps xmmword [rbp - 0x50], xmm0
movsd xmm1, qword [rax + 0x10]
movsd qword [rbp - 0x40], xmm1
lea rdx, [rbp - 0x50]
lea rcx, [rsp + 0x30]
call fcn.140030800
movsd xmm8, qword [rax]
movsd xmm7, qword [rax + 8]
movaps xmm6, xmm8
unpcklpd xmm6, xmm7
jmp 0x14003d914
cmp eax, 2
jne 0x14003d909
mov rax, qword [rbx]
mov r8d, Ordinal_41
lea rdx, [rbp + 0x28]
mov rcx, qword [rax + 8]
call fcn.14003a890
movups xmm0, xmmword [rax]
movaps xmmword [rbp - 0x30], xmm0
movsd xmm1, qword [rax + 0x10]
movsd qword [rbp - 0x20], xmm1
lea rdx, [rbp - 0x30]
lea rcx, [rsp + 0x58]
call fcn.140030800
mov rax, qword [rbx]
mov r8d, 8
lea rdx, [rbp + 0x40]
mov rcx, qword [rax + 8]
call fcn.14003a890
movups xmm0, xmmword [rax]
movaps xmmword [rbp - 0x10], xmm0
movsd xmm1, qword [rax + 0x10]
movsd qword [rbp], xmm1
lea rdx, [rbp - 0x10]
lea rcx, [rsp + 0x30]
call fcn.140030800
movsd xmm8, qword [rsp + 0x30]
subsd xmm8, qword [rsp + 0x58]
mulsd xmm8, qword [0x1400d0160]
addsd xmm8, qword [rsp + 0x58]
movsd xmm7, qword [rsp + 0x60]
movaps xmm6, xmm8
unpcklpd xmm6, xmm7
jmp 0x14003d914
xorps xmm7, xmm7
unpckhpd xmm7, xmm6
xorps xmm8, xmm8
cmp byte [0x140111b04], 0
je 0x14003d9e4
mov rax, qword [0x140111810]
mov rax, qword [rax + 0x48a8]
lea r8, str.Foreground
mov edx, 1
mov rcx, qword [rax]
call fcn.1400074f0
mov rdi, rax
movaps xmm0, xmmword [0x1400d0700]
movups xmmword [rsp + 0x68], xmm0
lea rcx, [rsp + 0x68]
call fcn.140003fc0
mov esi, eax
xorps xmm1, xmm1
cvtsd2ss xmm1, xmm7
cvtpd2ps xmm0, xmm8
movss dword [rbp + 0xb0], xmm0
movss dword [rbp + 0xb4], xmm1
test eax, 0xff000000
je 0x14003d9e4
mov dword [rsp + 0x28], Ordinal_50
movss xmm0, dword [0x1400d0238]
movss dword [rsp + 0x20], xmm0
xorps xmm3, xmm3
movss xmm2, dword [0x1400d021c]
lea rdx, [rbp + 0xb0]
mov rcx, rdi
call fcn.140024840
movss xmm0, dword [0x1400d0150]
movss dword [rsp + 0x28], xmm0
mov dword [rsp + 0x20], 1
mov r9d, esi
mov r8d, dword [rdi + 0x78]
mov rdx, qword [rdi + 0x80]
mov rcx, rdi
call fcn.140022dc0
mov dword [rdi + 0x78], 0
mov ecx, dword [0x140111b98]
call qword [sym.imp.KERNEL32.dll_Sleep]
movdqa xmmword [rbp - 0x80], xmm6
lea rcx, [rbp - 0x80]
call fcn.14003d4a0
cmp byte [0x140111abb], 0
je 0x14003db69
mov rax, qword [rbx]
cmp dword [rax + 0x3c], 0xf
jge 0x14003db69
mov rax, qword [0x140111bd8]
mov rdx, qword [rax + 0x18]
add rdx, 0x1830
call fcn.140050f00
mov rdi, rax
lea rdx, [rax + 0x2b0]
call fcn.140050f00
lea rdx, [rax + 0x10d0]
call fcn.140050e40
mov rcx, qword [0x140111bd8]
cmp qword [rcx + 0x20], 0
je 0x14003db69
test rdi, rdi
je 0x14003db69
mov rcx, qword [rbx]
cmp eax, dword [rcx + 0x38]
je 0x14003db69
cmp byte [0x14011180b], 0
je 0x14003dac1
call qword [sym.imp.MSVCP140.dll__Query_perf_frequency]
mov rdi, rax
call qword [sym.imp.MSVCP140.dll__Query_perf_counter]
cmp rdi, 0x989680
jne 0x14003da98
imul rax, rax, 0x64
jmp 0x14003dab3
cqo
idiv rdi
imul rcx, rax, 0x3b9aca00
imul rax, rdx, 0x3b9aca00
cqo
idiv rdi
add rax, rcx
mov qword [0x140111818], rax
mov byte [0x14011180b], 0
call qword [sym.imp.MSVCP140.dll__Query_perf_frequency]
mov rdi, rax
call qword [sym.imp.MSVCP140.dll__Query_perf_counter]
cmp rdi, 0x989680
jne 0x14003dadf
imul rcx, rax, 0x64
jmp 0x14003dafa
cqo
idiv rdi
imul rcx, rax, 0x3b9aca00
imul rax, rdx, 0x3b9aca00
cqo
idiv rdi
add rcx, rax
mov qword [0x1401118c0], rcx
sub rcx, qword [0x140111818]
movabs rax, 0x431bde82d7b634db
imul rcx
sar rdx, 0x12
mov rax, rdx
shr rax, 0x3f
add rdx, rax
mov dword [0x1401118d0], edx
cmp edx, 5
jl 0x14003db69
mov qword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea ecx, [rdx + 2]
call qword [sym.imp.USER32.dll_mouse_event]
mov qword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea ecx, [rdx + 4]
call qword [sym.imp.USER32.dll_mouse_event]
mov byte [0x14011180b], 1
mov rbx, qword [rbx + 8]
test rbx, rbx
je 0x14003db9e
mov edi, 0xffffffff
mov eax, edi
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x14003db9e
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
lock xadd dword [rbx + 0xc], edi
cmp edi, 1
jne 0x14003db9e
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + reloc.WS2_32.dll_htonl]
lea r11, [rsp + 0x190]
mov rbx, qword [r11 + 0x30]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
movaps xmm8, xmmword [r11 - 0x30]
mov rsp, r11
pop rdi
pop rsi
pop rbp
ret