Function at 0x140007ab0
Capabilities:
Log keystrokes via polling

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rdi
mov qword [rax + 0x10], rdx
push rbp
lea rbp, [rax - 0x5f]
sub rsp, 0xf0
movaps xmmword [rax - 0x18], xmm6
mov rbx, rdx
movaps xmm6, xmm0
ucomisd xmm0, qword [0x1400c8550]
jp 0x140007ae5
je 0x140007cd1
cmp byte [0x14018d48a], 0
je 0x140007cd1
mov rax, qword [0x1401b7ae0]
cmp qword [rax + 0x20], 0
je 0x140007cd1
movzx ecx, byte [reloc.WS2_32.dll_bind]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x140007cd1
xorps xmm1, xmm1
mov eax, dword [0x14018d484]
test eax, eax
jne 0x140007b64
mov rax, qword [rbx]
mov rcx, qword [rax + 8]
test rcx, rcx
jne 0x140007b41
movups xmmword [rbp - 0x49], xmm1
xorps xmm0, xmm0
movsd qword [rbp - 0x39], xmm0
jmp 0x140007b54
mov r8d, WSAGetLastError
lea rdx, [rbp - 0x49]
call fcn.140004870
movups xmm1, xmmword [rbp - 0x49]
movaps xmmword [rbp - 0x69], xmm1
movsd xmm0, qword [rbp - 0x39]
movsd qword [rbp - 0x59], xmm0
jmp 0x140007b90
cmp eax, 1
jne 0x140007ba6
mov rax, qword [rbx]
mov r8d, 0x42
lea rdx, [rbp - 0x19]
mov rcx, qword [rax + 8]
call fcn.140004870
movups xmm0, xmmword [rax]
movaps xmmword [rbp - 0x69], xmm0
movsd xmm1, qword [rax + 0x10]
movsd qword [rbp - 0x59], xmm1
lea rdx, [rbp - 0x69]
lea rcx, [rbp - 0x31]
call fcn.1400044d0
movupd xmm1, xmmword [rax]
jmp 0x140007c37
cmp eax, 2
jne 0x140007c37
mov rax, qword [rbx]
mov r8d, Ordinal_41
lea rdx, [rbp + 0x17]
mov rcx, qword [rax + 8]
call fcn.140004870
movups xmm0, xmmword [rax]
movaps xmmword [rbp - 0x69], xmm0
movsd xmm1, qword [rax + 0x10]
movsd qword [rbp - 0x59], xmm1
lea rdx, [rbp - 0x69]
lea rcx, [rbp - 0x49]
call fcn.1400044d0
mov rax, qword [rbx]
mov r8d, 8
lea rdx, [rbp + 0x2f]
mov rcx, qword [rax + 8]
call fcn.140004870
movups xmm0, xmmword [rax]
movaps xmmword [rbp - 0x19], xmm0
movsd xmm1, qword [rax + 0x10]
movsd qword [rbp - 9], xmm1
lea rdx, [rbp - 0x19]
lea rcx, [rbp - 0x31]
call fcn.1400044d0
movsd xmm1, qword [rbp - 0x31]
subsd xmm1, qword [rbp - 0x49]
mulsd xmm1, qword [0x1400c83d8]
addsd xmm1, qword [rbp - 0x49]
movsd xmm0, qword [rbp - 0x41]
unpcklpd xmm1, xmm0
movdqa xmmword [rbp + 7], xmm1
movd xmm2, dword [0x14018d4d0]
cvtdq2ps xmm2, xmm2
movd xmm1, dword [0x14018d4cc]
cvtdq2ps xmm1, xmm1
lea rcx, [rbp + 7]
call fcn.140004a20
cmp byte [0x14018d48b], 0
je 0x140007cd1
movsd xmm0, qword [0x1400c8428]
comisd xmm0, xmm6
jbe 0x140007cd1
mov rax, qword [rbx]
cmp dword [rax + 0x3c], 0xf
jge 0x140007cd1
mov rcx, qword [0x1401b7ae0]
add rcx, 0x48
cmp qword [rcx + 0x18], 0xf
jbe 0x140007c90
mov rcx, qword [rcx]
lea rdx, str.Shotgun
call qword [sym.imp.VCRUNTIME140.dll_strstr]
test rax, rax
je 0x140007cd1
xor edi, edi
mov qword [rsp + 0x20], rdi
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea ecx, [rdi + 2]
call qword [sym.imp.USER32.dll_mouse_event]
mov qword [rsp + 0x20], rdi
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea ecx, [rdi + 4]
call qword [sym.imp.USER32.dll_mouse_event]
nop
mov rbx, qword [rbx + 8]
test rbx, rbx
je 0x140007d06
mov edi, 0xffffffff
mov eax, edi
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x140007d06
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
lock xadd dword [rbx + 0xc], edi
cmp edi, 1
jne 0x140007d06
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + reloc.WS2_32.dll_htonl]
lea r11, [rsp + 0xf0]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x20]
movaps xmm6, xmmword [r11 - 0x10]
mov rsp, r11
pop rbp
ret