Function at 0x14006c270
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, 0xb0
movaps xmmword [rax - 0x18], xmm6
movaps xmmword [rax - 0x28], xmm7
xor r14d, r14d
movdqa xmm6, xmmword [0x140118510]
mov rbx, qword [0x1401dbf40]
mov dword [rbp - 0x29], reloc.WLDAP32.dll_Ordinal_22
movups xmm0, xmmword [rbx + 0x185c]
movups xmmword [rbp - 0x25], xmm0
lea rcx, [rbx + 0x1ed8]
lea rdx, [rbp - 0x29]
call fcn.1400315d0
movups xmmword [rbx + 0x185c], xmm6
xorps xmm6, xmm6
mov rbx, qword [0x1401dbf40]
mov dword [rbp - 0x29], reloc.WS2_32.dll_socket
movups xmm0, xmmword [rbx + 0x186c]
movups xmmword [rbp - 0x25], xmm0
lea rcx, [rbx + 0x1ed8]
lea rdx, [rbp - 0x29]
call fcn.1400315d0
movups xmmword [rbx + 0x186c], xmm6
movdqa xmm6, xmmword [0x140118510]
mov rbx, qword [0x1401dbf40]
mov dword [rbp - 0x29], Ordinal_26
movups xmm0, xmmword [rbx + 0x187c]
movups xmmword [rbp - 0x25], xmm0
lea rcx, [rbx + 0x1ed8]
lea rdx, [rbp - 0x29]
call fcn.1400315d0
movups xmmword [rbx + 0x187c], xmm6
mov rbx, qword [0x1401dbf40]
mov dword [rbp - 0x29], r14d
lea rdx, [rbp - 0x29]
movups xmm0, xmmword [rbx + 0x16fc]
lea rcx, [rbx + 0x1ed8]
movups xmmword [rbp - 0x25], xmm0
cmp byte [reloc.WS2_32.dll_accept], r14b
je 0x14006c371
movdqa xmm6, xmmword [0x140118670]
jmp 0x14006c379
movdqa xmm6, xmmword [0x140118630]
call fcn.1400315d0
movups xmmword [rbx + 0x16fc], xmm6
mov rbx, qword [0x1401dbf40]
movss xmm1, dword [rbx + 0x16cc]
movss xmm0, dword [rbx + 0x16d0]
mov dword [rbp - 0x29], reloc.WS2_32.dll_setsockopt
movss dword [rbp - 0x25], xmm1
movss dword [rbp - 0x21], xmm0
lea rcx, [rbx + 0x1ee8]
lea rdx, [rbp - 0x29]
call fcn.1400314e0
mov qword [rbx + 0x16cc], r14
mov edx, 4
mov rax, qword gs:[0x58]
mov rcx, qword [rax]
mov eax, dword [rdx + rcx]
cmp dword [0x140211d64], eax
jle 0x14006c44d
lea rcx, [0x140211d64]
call fcn.1400d5a38
cmp dword [0x140211d64], 0xffffffff
jne 0x14006c44d
xorps xmm0, xmm0
movups xmmword [0x140211bf0], xmm0
movdqa xmm1, xmmword [reloc.WS2_32.dll_ioctlsocket]
movdqu xmmword [0x140211c00], xmm1
movsd xmm0, qword [0x140117600]
movsd qword [0x140211bf0], xmm0
movzx eax, word [0x140117608]
mov word [0x140211bf8], ax
mov byte [0x140211bfa], 0
lea rcx, [0x1400d93d0]
call fcn.1400d6110
nop
lea rcx, [0x140211d64]
call fcn.1400d59cc
mov dword [rbp - 0x29], 0x42c80000
mov dword [rbp - 0x25], 0x41d80000
lea rcx, [0x140211bf0]
cmp qword [0x140211c08], 0xf
cmova rcx, qword [0x140211bf0]
lea rdx, [rbp - 0x29]
call fcn.14004af70
test al, al
je 0x14006c488
mov byte [0x1402119d2], 1
jmp 0x14006c491
cmp byte [0x1402119d2], 0
je 0x14006c4e6
mov ebx, 1
mov ecx, ebx
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x14006c4be
cmp ebx, 0xc
je 0x14006c4be
mov eax, ebx
cmp ebx, 0x1b
cmove eax, r14d
mov dword [0x14021192c], eax
mov byte [0x1402119d2], 0
inc ebx
cmp ebx, 0x100
jl 0x14006c496
mov r8d, 9
lea rdx, str._..._28
lea rcx, [0x140211bf0]
call fcn.140077880
jmp 0x14006c789
mov edx, dword [0x14021192c]
test edx, edx
jne 0x14006c50e
mov r8d, 0xa
lea rdx, str._none_28
lea rcx, [0x140211bf0]
call fcn.140077880
jmp 0x14006c789
lea rcx, [rbp + 0x17]
call fcn.140067870
xorps xmm0, xmm0
movups xmmword [rbp - 9], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 7], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rbp - 9], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 7], xmm1
mov qword [rax + 0x10], r14
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
mov rcx, qword [rbp + 7]
mov rdx, qword [rbp + 0xf]
mov rax, rdx
sub rax, rcx
lea rsi, [0x1401173a4]
cmp rax, 1
jb 0x14006c5d9
lea r8, [rcx + 1]
mov qword [rbp + 7], r8
lea rbx, [rbp - 9]
cmp rdx, 0xf
cmova rbx, qword [rbp - 9]
lea rax, [0x1401173a5]
cmp rax, rbx
jbe 0x14006c59b
lea rax, [rbx + rcx]
cmp rsi, rax
ja 0x14006c59b
cmp rbx, rsi
ja 0x14006c593
mov rdi, r14
jmp 0x14006c5a0
mov rdi, rbx
sub rdi, rsi
jmp 0x14006c5a0
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 - 9]
jmp 0x14006c5fb
mov qword [rsp + 0x28], 1
mov qword [rsp + 0x20], rsi
xor r9d, r9d
xor r8d, r8d
mov edx, 1
lea rcx, [rbp - 9]
call fcn.140079490
xorps xmm0, xmm0
movups xmmword [rbp - 0x29], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x19], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x29], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x19], xmm1
mov qword [rax + 0x10], r14
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
mov rcx, qword [rbp - 0x19]
mov rdx, qword [rbp - 0x11]
mov rax, rdx
sub rax, rcx
cmp rax, 5
jb 0x14006c673
lea rax, [rcx + 5]
mov qword [rbp - 0x19], rax
lea rbx, [rbp - 0x29]
cmp rdx, 0xf
cmova rbx, qword [rbp - 0x29]
add rbx, rcx
mov r8d, 5
lea rdx, str._28
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
mov byte [rbx + 5], 0
lea rax, [rbp - 0x29]
jmp 0x14006c694
mov qword [rsp + 0x20], 5
lea r9, str._28
xor r8d, r8d
mov edx, 5
lea rcx, [rbp - 0x29]
call fcn.140078720
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 [0x140211c08]
cmp rdx, 0xf
jbe 0x14006c6ee
inc rdx
mov rcx, qword [0x140211bf0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14006c6e9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14006c6e9
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400d5b00
movups xmmword [0x140211bf0], xmm6
movups xmmword [0x140211c00], xmm7
mov rdx, qword [rbp - 0x11]
cmp rdx, 0xf
jbe 0x14006c73a
inc rdx
mov rcx, qword [rbp - 0x29]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14006c735
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14006c735
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400d5b00
movdqa xmm0, xmmword [0x140118410]
movdqu xmmword [rbp - 0x19], xmm0
mov byte [rbp - 0x29], 0
mov rdx, qword [rbp + 0xf]
cmp rdx, 0xf
jbe 0x14006c789
inc rdx
mov rcx, qword [rbp - 9]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14006c784
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14006c784
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400d5b00
mov ecx, 4
call fcn.14000c0e0
mov ecx, 1
lea r11, [rsp + 0xb0]
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.14000c330