Function at 0x140066780
Capabilities:
Log keystrokes via polling

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xd0
movaps xmmword [rax - 0x28], xmm6
movaps xmmword [rax - 0x38], xmm7
xor r15d, r15d
mov rbx, qword [0x1401d9fe0]
mov dword [rbp - 0x59], reloc.WLDAP32.dll_Ordinal_22
movups xmm0, xmmword [rbx + 0x185c]
movups xmmword [rbp - 0x55], xmm0
lea rcx, [rbx + 0x1ed8]
lea rdx, [rbp - 0x59]
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 - 0x59], reloc.WS2_32.dll_socket
movups xmm0, xmmword [rbx + 0x186c]
movups xmmword [rbp - 0x55], xmm0
lea rcx, [rbx + 0x1ed8]
lea rdx, [rbp - 0x59]
call fcn.1400301b0
mov qword [rbx + 0x186c], r15
mov qword [rbx + 0x1874], r15
mov rbx, qword [0x1401d9fe0]
mov dword [rbp - 0x59], Ordinal_30
movups xmm0, xmmword [rbx + 0x187c]
movups xmmword [rbp - 0x55], xmm0
lea rcx, [rbx + 0x1ed8]
lea rdx, [rbp - 0x59]
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 - 0x59], r15d
lea rdx, [rbp - 0x59]
movups xmm0, xmmword [rbx + 0x16fc]
lea rcx, [rbx + 0x1ed8]
movups xmmword [rbp - 0x55], xmm0
cmp byte [reloc.WS2_32.dll_accept], r15b
je 0x1400668ca
call fcn.1400301b0
mov dword [rbx + 0x16fc], 0x3f800000
mov dword [rbx + 0x1700], 0x3f800000
mov dword [rbx + 0x1704], 0x3f800000
mov dword [rbx + 0x1708], 0x3f333333
jmp 0x1400668f7
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 - 0x59], reloc.WS2_32.dll_setsockopt
movss dword [rbp - 0x55], xmm1
movss dword [rbp - 0x51], xmm0
lea rcx, [rbx + 0x1ee8]
lea rdx, [rbp - 0x59]
call fcn.1400300c0
mov qword [rbx + 0x16cc], r15
mov ecx, 4
mov rax, qword gs:[0x58]
mov rax, qword [rax]
mov eax, dword [rcx + rax]
cmp dword [0x1402100c8], eax
jle 0x1400669c3
lea rcx, [0x1402100c8]
call fcn.1400d4400
cmp dword [0x1402100c8], 0xffffffff
jne 0x1400669c3
xorps xmm0, xmm0
movups xmmword [0x1402100d0], xmm0
mov qword [0x1402100e0], 0xc
mov qword [0x1402100e8], 0xf
movsd xmm0, qword [str._Mouse_1_7]
movsd qword [0x1402100d0], xmm0
mov eax, dword [0x140115ca8]
mov dword [0x1402100d8], eax
mov byte [0x1402100dc], 0
lea rcx, [0x1400d7f90]
call fcn.1400d4338
nop
lea rcx, [0x1402100c8]
call fcn.1400d4394
mov dword [rbp - 0x59], 0x42c80000
mov dword [rbp - 0x55], 0x41d80000
lea rdi, [0x1402100d0]
mov rcx, rdi
cmp qword [0x1402100e8], 0x10
cmovae rcx, qword [0x1402100d0]
lea rdx, [rbp - 0x59]
call fcn.140049830
mov r14d, 1
test al, al
je 0x140066a07
mov byte [0x14020ff00], r14b
jmp 0x140066a14
cmp byte [0x14020ff00], 0
je 0x140066a9c
mov ebx, r14d
mov ecx, ebx
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x140066a3f
cmp ebx, 0xc
je 0x140066a3f
mov eax, ebx
cmp ebx, 0x1b
cmove eax, r14d
mov dword [reloc.WS2_32.dll_accept], eax
mov byte [0x14020ff00], 0
inc ebx
cmp ebx, 0x100
jl 0x140066a17
mov rax, qword [0x1402100e8]
cmp rax, 8
jb 0x140066a83
cmp rax, 0x10
cmovae rdi, qword [0x1402100d0]
mov qword [0x1402100e0], 8
movabs rax, 0x372323292e2e2e28
mov qword [rdi], rax
mov byte [rdi + 8], 0
jmp 0x140066d19
lea r9, str._..._7
mov edx, 8
mov rcx, rdi
call fcn.140072280
jmp 0x140066d19
mov edx, dword [reloc.WS2_32.dll_accept]
test edx, edx
jne 0x140066aff
mov rax, qword [0x1402100e8]
cmp rax, 9
jb 0x140066ae6
cmp rax, 0x10
cmovae rdi, qword [0x1402100d0]
mov qword [0x1402100e0], 9
lea r8d, [rdx + 9]
lea rdx, str._none_7
mov rcx, rdi
call sub.VCRUNTIME140.dll_memmove
mov byte [rdi + 9], 0
jmp 0x140066d19
lea r9, str._none_7
mov edx, 9
mov rcx, rdi
call fcn.140072280
jmp 0x140066d19
lea rcx, [rbp - 1]
call fcn.140065760
xorps xmm0, xmm0
movups xmmword [rbp - 0x41], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x31], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x41], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x31], xmm1
mov qword [rax + 0x10], r15
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
mov rcx, qword [rbp - 0x31]
mov rdx, qword [rbp - 0x29]
mov rax, rdx
sub rax, rcx
lea rsi, [0x140115c9c]
cmp rax, 1
jb 0x140066bc5
lea r8, [rcx + 1]
mov qword [rbp - 0x31], r8
lea rbx, [rbp - 0x41]
cmp rdx, 0x10
cmovae rbx, qword [rbp - 0x41]
lea rax, [0x140115c9d]
cmp rax, rbx
jbe 0x140066b8c
lea rax, [rbx + rcx]
cmp rsi, rax
ja 0x140066b8c
cmp rbx, rsi
ja 0x140066b84
mov rdi, r15
jmp 0x140066b8f
mov rdi, rbx
sub rdi, rsi
jmp 0x140066b8f
mov rdi, r14
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 r8, r14
sub r8, rdi
lea rdx, [rsi + 1]
add rdx, rdi
call sub.VCRUNTIME140.dll_memcpy
lea rax, [rbp - 0x41]
jmp 0x140066be1
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], rsi
xor r9d, r9d
xor r8d, r8d
mov rdx, r14
lea rcx, [rbp - 0x41]
call fcn.140073920
xorps xmm0, xmm0
movups xmmword [rbp - 0x21], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x11], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x21], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x11], xmm1
mov qword [rax + 0x10], r15
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
mov r8d, 4
lea rdx, [0x140115ccc]
lea rcx, [rbp - 0x21]
call fcn.140070c60
movups xmm6, xmmword [rax]
movups xmm7, xmmword [rax + 0x10]
mov qword [rax + 0x10], r15
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
mov rdx, qword [0x1402100e8]
cmp rdx, 0x10
jb 0x140066c7e
inc rdx
mov rcx, qword [0x1402100d0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140066c79
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140066c79
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400d4350
movups xmmword [0x1402100d0], xmm6
movups xmmword [0x1402100e0], xmm7
mov rdx, qword [rbp - 9]
cmp rdx, 0x10
jb 0x140066cca
inc rdx
mov rcx, qword [rbp - 0x21]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140066cc5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140066cc5
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 - 0x11], xmm0
mov byte [rbp - 0x21], 0
mov rdx, qword [rbp - 0x29]
cmp rdx, 0x10
jb 0x140066d19
inc rdx
mov rcx, qword [rbp - 0x41]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140066d14
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140066d14
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, r14d
lea r11, [rsp + 0xd0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
mov rsp, r11
pop r15
pop r14
pop rbp
jmp fcn.14000b310