Function at 0x1400661a0
Capabilities:
Log keystrokes via polling

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r14
push rbp
lea rbp, [rax - 0x5f]
sub rsp, 0xd0
movaps xmmword [rax - 0x18], xmm6
movaps xmmword [rax - 0x28], xmm7
xor r14d, r14d
mov rbx, qword [0x1401d9fe0]
mov dword [rbp - 0x49], reloc.WLDAP32.dll_Ordinal_22
movups xmm0, xmmword [rbx + 0x185c]
movups xmmword [rbp - 0x45], xmm0
lea rcx, [rbx + 0x1ed8]
lea rdx, [rbp - 0x49]
call fcn.1400301b0
mov dword [rbx + 0x185c], 0x3e851eb8
mov dword [rbx + 0x1860], 0x3e851eb8
mov qword [rbx + 0x1864], 0x3e851eb8
mov rbx, qword [0x1401d9fe0]
mov dword [rbp - 0x49], reloc.WS2_32.dll_socket
movups xmm0, xmmword [rbx + 0x186c]
movups xmmword [rbp - 0x45], xmm0
lea rcx, [rbx + 0x1ed8]
lea rdx, [rbp - 0x49]
call fcn.1400301b0
mov qword [rbx + 0x186c], r14
mov qword [rbx + 0x1874], r14
mov rbx, qword [0x1401d9fe0]
mov dword [rbp - 0x49], Ordinal_30
movups xmm0, xmmword [rbx + 0x187c]
movups xmmword [rbp - 0x45], xmm0
lea rcx, [rbx + 0x1ed8]
lea rdx, [rbp - 0x49]
call fcn.1400301b0
mov dword [rbx + 0x187c], 0x3e851eb8
mov dword [rbx + 0x1880], 0x3e851eb8
mov qword [rbx + 0x1884], 0x3e851eb8
mov rbx, qword [0x1401d9fe0]
mov dword [rbp - 0x49], r14d
lea rdx, [rbp - 0x49]
movups xmm0, xmmword [rbx + 0x16fc]
lea rcx, [rbx + 0x1ed8]
movups xmmword [rbp - 0x45], xmm0
cmp byte [reloc.WS2_32.dll_accept], r14b
je 0x1400662ea
call fcn.1400301b0
mov dword [rbx + 0x16fc], 0x3f800000
mov dword [rbx + 0x1700], 0x3f800000
mov dword [rbx + 0x1704], 0x3f800000
mov dword [rbx + 0x1708], 0x3f333333
jmp 0x140066317
call fcn.1400301b0
mov dword [rbx + 0x16fc], 0x3ec28f5c
mov dword [rbx + 0x1700], 0x3ec28f5c
mov dword [rbx + 0x1704], 0x3ec28f5c
mov dword [rbx + 0x1708], 0x3f000000
mov rbx, qword [0x1401d9fe0]
movss xmm1, dword [rbx + 0x16cc]
movss xmm0, dword [rbx + 0x16d0]
mov dword [rbp - 0x49], reloc.WS2_32.dll_setsockopt
movss dword [rbp - 0x45], xmm1
movss dword [rbp - 0x41], xmm0
lea rcx, [rbx + 0x1ee8]
lea rdx, [rbp - 0x49]
call fcn.1400300c0
mov qword [rbx + 0x16cc], r14
mov ecx, 4
mov rax, qword gs:[0x58]
mov rax, qword [rax]
mov eax, dword [rcx + rax]
cmp dword [0x140210028], eax
jle 0x1400663e4
lea rcx, [0x140210028]
call fcn.1400d4400
cmp dword [0x140210028], 0xffffffff
jne 0x1400663e4
xorps xmm0, xmm0
movups xmmword [0x140210030], xmm0
mov qword [0x140210040], 9
mov qword [0x140210048], 0xf
movsd xmm0, qword [0x140115c68]
movsd qword [0x140210030], xmm0
movzx eax, byte [0x140115c70]
mov byte [0x140210038], al
mov byte [0x140210039], 0
lea rcx, [0x1400d7f20]
call fcn.1400d4338
nop
lea rcx, [0x140210028]
call fcn.1400d4394
mov dword [rbp - 0x49], 0x42c80000
mov dword [rbp - 0x45], 0x41d80000
lea rdi, [0x140210030]
mov rcx, rdi
cmp qword [0x140210048], 0x10
cmovae rcx, qword [0x140210030]
lea rdx, [rbp - 0x49]
call fcn.140049830
test al, al
je 0x140066422
mov byte [0x14020ff18], 1
jmp 0x14006642f
cmp byte [0x14020ff18], 0
je 0x1400664b9
mov ebx, 1
mov ecx, ebx
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x14006645c
cmp ebx, 0xc
je 0x14006645c
mov eax, ebx
cmp ebx, 0x1b
cmove eax, r14d
mov dword [0x14020feec], eax
mov byte [0x14020ff18], 0
inc ebx
cmp ebx, 0x100
jl 0x140066434
mov rax, qword [0x140210048]
cmp rax, 8
jb 0x1400664a0
cmp rax, 0x10
cmovae rdi, qword [0x140210030]
mov qword [0x140210040], 8
movabs rax, 0x302323292e2e2e28
mov qword [rdi], rax
mov byte [rdi + 8], 0
jmp 0x140066740
lea r9, str._..._0
mov edx, 8
mov rcx, rdi
call fcn.140072280
jmp 0x140066740
mov edx, dword [0x14020feec]
test edx, edx
jne 0x14006651c
mov rax, qword [0x140210048]
cmp rax, 9
jb 0x140066503
cmp rax, 0x10
cmovae rdi, qword [0x140210030]
mov qword [0x140210040], 9
lea r8d, [rdx + 9]
lea rdx, str._none_0
mov rcx, rdi
call sub.VCRUNTIME140.dll_memmove
mov byte [rdi + 9], 0
jmp 0x140066740
lea r9, str._none_0
mov edx, 9
mov rcx, rdi
call fcn.140072280
jmp 0x140066740
lea rcx, [rbp + 0xf]
call fcn.140065760
xorps xmm0, xmm0
movups xmmword [rbp - 0x31], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x21], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x31], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x21], xmm1
mov qword [rax + 0x10], r14
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
mov rcx, qword [rbp - 0x21]
mov rdx, qword [rbp - 0x19]
mov rax, rdx
sub rax, rcx
lea rsi, [0x140115c9c]
cmp rax, 1
jb 0x1400665e7
lea r8, [rcx + 1]
mov qword [rbp - 0x21], r8
lea rbx, [rbp - 0x31]
cmp rdx, 0x10
cmovae rbx, qword [rbp - 0x31]
lea rax, [0x140115c9d]
cmp rax, rbx
jbe 0x1400665a9
lea rax, [rbx + rcx]
cmp rsi, rax
ja 0x1400665a9
cmp rbx, rsi
ja 0x1400665a1
mov rdi, r14
jmp 0x1400665ae
mov rdi, rbx
sub rdi, rsi
jmp 0x1400665ae
mov edi, 1
lea rcx, [rbx + 1]
mov rdx, rbx
call sub.VCRUNTIME140.dll_memmove
mov r8, rdi
mov rdx, rsi
mov rcx, rbx
call sub.VCRUNTIME140.dll_memcpy
lea rcx, [rbx + rdi]
mov r8d, 1
sub r8, rdi
lea rdx, [rsi + 1]
add rdx, rdi
call sub.VCRUNTIME140.dll_memcpy
lea rax, [rbp - 0x31]
jmp 0x140066608
mov qword [rsp + 0x28], 1
mov qword [rsp + 0x20], rsi
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 1]
lea rcx, [rbp - 0x31]
call fcn.140073920
xorps xmm0, xmm0
movups xmmword [rbp - 0x11], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 1], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x11], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 1], xmm1
mov qword [rax + 0x10], r14
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
mov r8d, 4
lea rdx, str._0
lea rcx, [rbp - 0x11]
call fcn.140070c60
movups xmm6, xmmword [rax]
movups xmm7, xmmword [rax + 0x10]
mov qword [rax + 0x10], r14
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
mov rdx, qword [0x140210048]
cmp rdx, 0x10
jb 0x1400666a5
inc rdx
mov rcx, qword [0x140210030]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400666a0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400666a0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400d4350
movups xmmword [0x140210030], xmm6
movups xmmword [0x140210040], xmm7
mov rdx, qword [rbp + 7]
cmp rdx, 0x10
jb 0x1400666f1
inc rdx
mov rcx, qword [rbp - 0x11]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400666ec
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400666ec
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400d4350
movdqa xmm0, xmmword [0x140116a30]
movdqu xmmword [rbp - 1], xmm0
mov byte [rbp - 0x11], 0
mov rdx, qword [rbp - 0x19]
cmp rdx, 0x10
jb 0x140066740
inc rdx
mov rcx, qword [rbp - 0x31]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14006673b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14006673b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400d4350
mov ecx, 4
call fcn.14000b0c0
mov ecx, 1
lea r11, [rsp + 0xd0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
mov rsp, r11
pop rbp
jmp fcn.14000b310