Function at 0x140020060
Capabilities:
Log keystrokes via polling

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rdi
push rbp
lea rbp, [rax - 0x98]
sub rsp, 0x190
movaps xmmword [rax - 0x18], xmm6
movaps xmmword [rax - 0x28], xmm7
movaps xmmword [rax - 0x38], xmm8
movaps xmmword [rax - 0x48], xmm9
movaps xmmword [rax - 0x58], xmm10
movaps xmmword [rax - 0x68], xmm11
movaps xmmword [rax - 0x78], xmm12
movaps xmmword [rax - 0x88], xmm13
movaps xmmword [rax - 0x98], xmm14
mov rax, qword [0x1401a4080]
xor rax, rsp
mov qword [rbp - 0x10], rax
cmp byte [0x1401be18c], 1
jne 0x14002034d
movdqa xmm14, xmmword [0x1401865e0]
xor edi, edi
movdqa xmm12, xmmword [0x140187150]
xorps xmm6, xmm6
movss xmm13, dword [0x1401863e4]
nop word [rax + rax]
mov rcx, qword [0x1401be1b0]
add rcx, 0x100
call fcn.14006b310
lea rcx, [rax + 0x298]
call fcn.14006b310
xorps xmm0, xmm0
mov qword [rsp + 0x70], rax
movups xmmword [rbp - 0x40], xmm0
mov word [rsp + 0x68], reloc.WS2_32.dll_WSACleanup
lea rax, [rsp + 0x59]
movdqu xmmword [rsp + 0x58], xmm12
mov qword [rbp - 0x30], rdi
mov r8, 0xffffffffffffffff
mov qword [rbp - 0x28], rdi
nop dword [rax]
inc r8
cmp byte [rax + r8], dil
jne 0x140020140
lea rdx, [rsp + 0x59]
lea rcx, [rbp - 0x40]
call fcn.14000d680
lea r8, [rbp - 0x40]
lea rdx, [rsp + 0x78]
lea rcx, [rsp + 0x70]
call fcn.14006abf0
mov ecx, dword [reloc.WS2_32.dll_accept]
test ecx, ecx
je 0x1400201a3
sub ecx, 1
je 0x140020189
cmp ecx, 1
jne 0x1400201c5
movzx eax, cl
mov byte [0x1401ba718], cl
jmp 0x1400201cc
mov ecx, dword [0x1401ba708]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
setne al
mov byte [0x1401ba718], al
jmp 0x1400201cc
mov ecx, dword [0x1401ba708]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test al, 1
je 0x1400201c5
cmp byte [0x1401ba718], dil
sete al
mov byte [0x1401ba718], al
jmp 0x1400201cc
movzx eax, byte [0x1401ba718]
cmp byte [0x1401be18e], dil
je 0x1400200f0
test al, al
je 0x1400200f0
mov rbx, qword [rsp + 0x78]
movaps xmm11, xmm6
add rbx, 0x158
movaps xmm9, xmm6
mov rcx, rbx
movaps xmm10, xmm6
call fcn.14006b310
test rax, rax
je 0x14002023d
xor ecx, ecx
lea rdx, [rsp + 0x40]
mov qword [rsp + 0x40], rcx
mov r8d, listen
mov dword [rsp + 0x48], ecx
lea rcx, [rax + 0x140]
call fcn.140068ab0
movss xmm11, dword [rsp + 0x40]
movss xmm9, dword [rsp + 0x44]
movss xmm10, dword [rsp + 0x48]
mov rcx, rbx
movaps xmm7, xmm6
movaps xmm8, xmm6
call fcn.14006b310
test rax, rax
je 0x140020280
xor ecx, ecx
lea rdx, [rsp + 0x4c]
mov qword [rsp + 0x4c], rcx
mov r8d, listen
mov dword [rsp + 0x54], ecx
lea rcx, [rax + 0x14c]
call fcn.140068ab0
movss xmm7, dword [rsp + 0x4c]
movss xmm8, dword [rsp + 0x54]
movd xmm0, dword [reloc.WS2_32.dll_accept]
addss xmm9, xmm6
cvtdq2ps xmm0, xmm0
mov rcx, rbx
mov dword [rbp - 0x20], 0x3f800000
mulss xmm7, xmm13
movaps xmm1, xmm0
mulss xmm8, xmm13
mulss xmm1, xmm7
mulss xmm0, xmm8
addss xmm1, xmm11
addss xmm10, xmm0
unpcklps xmm1, xmm9
movsd qword [rbp - 0x1c], xmm1
movss dword [rbp - 0x14], xmm10
call fcn.14006b310
movups xmm0, xmmword [rbp - 0x20]
mov rcx, qword [0x1401be370]
lea r8, [rbp - 0x40]
add rax, 0x11c
mov qword [rsp + 0x38], rdi
mov qword [rbp - 0x38], rax
mov r9d, Ordinal_45
lea rax, [rbp - 0x70]
mov qword [rsp + 0x30], rdi
mov qword [rbp - 0x30], rax
mov edx, 0x2201c4
mov eax, dword [0x1401be1dc]
mov dword [rsp + 0x28], edi
mov dword [rbp - 0x3c], eax
movaps xmmword [rbp - 0x70], xmm14
movaps xmmword [rbp - 0x60], xmm14
movaps xmmword [rbp - 0x50], xmm0
mov dword [rbp - 0x1f], edi
mov word [rbp - 0x1b], di
mov byte [rbp - 0x19], dil
mov dword [rbp - 0x40], 0x85b3e12
mov qword [rbp - 0x28], Ordinal_50
mov byte [rbp - 0x20], 1
mov qword [rsp + 0x20], rdi
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
jmp 0x1400200f0
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.140143120
lea r11, [rsp + 0x190]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
movaps xmm8, xmmword [r11 - 0x30]
movaps xmm9, xmmword [r11 - 0x40]
movaps xmm10, xmmword [r11 - 0x50]
movaps xmm11, xmmword [r11 - 0x60]
movaps xmm12, xmmword [r11 - 0x70]
movaps xmm13, xmmword [r11 - 0x80]
movaps xmm14, xmmword [r11 - 0x90]
mov rsp, r11
pop rbp
ret