Function at 0x140066d60
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 0x140066eaa
call fcn.1400301b0
mov dword [rbx + 0x16fc], 0x3f800000
mov dword [rbx + 0x1700], 0x3f800000
mov dword [rbx + 0x1704], 0x3f800000
mov dword [rbx + 0x1708], 0x3f333333
jmp 0x140066ed7
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 [0x140210024], eax
jle 0x140066fa3
lea rcx, [0x140210024]
call fcn.1400d4400
cmp dword [0x140210024], 0xffffffff
jne 0x140066fa3
xorps xmm0, xmm0
movups xmmword [0x140210050], xmm0
mov qword [0x140210060], 0xc
mov qword [0x140210068], 0xf
movsd xmm0, qword [str._mouse_2_8]
movsd qword [0x140210050], xmm0
mov eax, dword [0x140115ce0]
mov dword [0x140210058], eax
mov byte [0x14021005c], 0
lea rcx, [0x1400d8000]
call fcn.1400d4338
nop
lea rcx, [0x140210024]
call fcn.1400d4394
mov dword [rbp - 0x49], 0x42c80000
mov dword [rbp - 0x45], 0x41d80000
lea rdi, [0x140210050]
mov rcx, rdi
cmp qword [0x140210068], 0x10
cmovae rcx, qword [0x140210050]
lea rdx, [rbp - 0x49]
call fcn.140049830
test al, al
je 0x140066fe1
mov byte [0x14020ff19], 1
jmp 0x140066fee
cmp byte [0x14020ff19], 0
je 0x14006707a
mov ebx, 1
lea esi, [rbx + 1]
mov ecx, ebx
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x14006701d
cmp ebx, 0xc
je 0x14006701d
mov eax, ebx
cmp ebx, 0x1b
cmove eax, esi
mov dword [reloc.XINPUT1_3.dll_Ordinal_2], eax
mov byte [0x14020ff19], 0
inc ebx
cmp ebx, 0x100
jl 0x140066ff6
mov rax, qword [0x140210068]
cmp rax, 8
jb 0x140067061
cmp rax, 0x10
cmovae rdi, qword [0x140210050]
mov qword [0x140210060], 8
movabs rax, 0x382323292e2e2e28
mov qword [rdi], rax
mov byte [rdi + 8], 0
jmp 0x140067301
lea r9, str._..._8
mov edx, 8
mov rcx, rdi
call fcn.140072280
jmp 0x140067301
mov edx, dword [reloc.XINPUT1_3.dll_Ordinal_2]
test edx, edx
jne 0x1400670dd
mov rax, qword [0x140210068]
cmp rax, 9
jb 0x1400670c4
cmp rax, 0x10
cmovae rdi, qword [0x140210050]
mov qword [0x140210060], 9
lea r8d, [rdx + 9]
lea rdx, str._none_8
mov rcx, rdi
call sub.VCRUNTIME140.dll_memmove
mov byte [rdi + 9], 0
jmp 0x140067301
lea r9, str._none_8
mov edx, 9
mov rcx, rdi
call fcn.140072280
jmp 0x140067301
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 0x1400671a8
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 0x14006716a
lea rax, [rbx + rcx]
cmp rsi, rax
ja 0x14006716a
cmp rbx, rsi
ja 0x140067162
mov rdi, r14
jmp 0x14006716f
mov rdi, rbx
sub rdi, rsi
jmp 0x14006716f
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 0x1400671c9
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, [0x140115d04]
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 [0x140210068]
cmp rdx, 0x10
jb 0x140067266
inc rdx
mov rcx, qword [0x140210050]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140067261
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140067261
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400d4350
movups xmmword [0x140210050], xmm6
movups xmmword [0x140210060], xmm7
mov rdx, qword [rbp + 7]
cmp rdx, 0x10
jb 0x1400672b2
inc rdx
mov rcx, qword [rbp - 0x11]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400672ad
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400672ad
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 0x140067301
inc rdx
mov rcx, qword [rbp - 0x31]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400672fc
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400672fc
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