Function at 0x1400af2d0
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x98
mov rax, qword [0x140168080]
xor rax, rsp
mov qword [rsp + 0x88], rax
mov eax, dword [0x1401707f4]
mov rcx, qword [rsp + 0xa0]
add rax, qword [rcx + 0x38]
mov rcx, rax
call fcn.1400185b0
mov dword [0x140171ef0], eax
cmp dword [0x140171ef0], 0
jne 0x1400af31c
jmp 0x1400af57a
cmp dword [0x140171ef0], 0xffffffff
jne 0x1400af32a
jmp 0x1400af57a
lea rcx, [0x140173ba0]
call fcn.140005410
mov rcx, rax
call fcn.140005d20
mov qword [rsp + 0x40], rax
mov eax, dword [0x140171ef0]
shr eax, 9
shl eax, 3
mov eax, eax
mov rcx, qword [rsp + 0x40]
lea rax, [rcx + rax + 0x10]
mov rcx, rax
call fcn.140005d20
mov qword [rsp + 0x48], rax
mov rcx, qword [rsp + 0x48]
call fcn.140005d20
mov qword [0x140171ee8], rax
cmp qword [0x140171ee8], 0
jne 0x1400af388
jmp 0x1400af57a
mov eax, dword [0x140171ef0]
and eax, 0x1ff
imul eax, eax, 0x78
mov eax, eax
mov rcx, qword [0x140171ee8]
add rcx, rax
mov rax, rcx
mov rcx, rax
call fcn.140005d20
mov qword [0x140171ef8], rax
cmp qword [0x140171ef8], 0
jne 0x1400af3c3
jmp 0x1400af57a
lea rdx, [0x140171ef8]
lea rcx, [0x1401731e0]
call fcn.14001bbe0
movzx eax, al
test eax, eax
jne 0x1400af3e2
jmp 0x1400af57a
movzx eax, byte [reloc.WS2_32.dll_accept]
test eax, eax
je 0x1400af42b
mov rax, qword [rsp + 0xa0]
mov ecx, dword [0x1401732ac]
cmp dword [rax + 0xcc], ecx
je 0x1400af416
cmp dword [0x1401732a8], 0
jle 0x1400af416
mov dword [rsp + 0x34], 1
jmp 0x1400af41e
mov dword [rsp + 0x34], 0
movzx eax, byte [rsp + 0x34]
mov byte [0x140171ecb], al
jmp 0x1400af451
cmp dword [0x1401732a8], 0
jle 0x1400af43e
mov dword [rsp + 0x38], 1
jmp 0x1400af446
mov dword [rsp + 0x38], 0
movzx eax, byte [rsp + 0x38]
mov byte [0x140171ecb], al
movzx eax, byte [0x140171ecb]
test eax, eax
jne 0x1400af461
jmp 0x1400af57a
mov eax, 4
mov eax, eax
mov rcx, qword gs:[0x58]
mov rcx, qword [rcx]
mov eax, dword [rax + rcx]
cmp dword [0x1401741b0], eax
jle 0x1400af4ac
lea rcx, [0x1401741b0]
call fcn.14011c818
cmp dword [0x1401741b0], 0xffffffff
jne 0x1400af4ac
lea rcx, [0x1401741b8]
call fcn.140008180
lea rcx, [0x1401741b0]
call fcn.14011c7ac
lea rcx, [rsp + 0x70]
call fcn.140008180
lea rdx, [0x14017080c]
lea rcx, [rsp + 0x60]
call fcn.1400180f0
mov qword [rsp + 0x50], rax
lea r8, [0x1401741b8]
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x68]
call fcn.1400183c0
mov qword [rsp + 0x58], rax
mov rdx, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x58]
call fcn.1400af6f0
movzx eax, al
test eax, eax
je 0x1400af57a
mov ecx, 1
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
cwde
test eax, eax
jge 0x1400af514
mov byte [rsp + 0x30], 1
jmp 0x1400af519
mov byte [rsp + 0x30], 0
movzx eax, byte [rsp + 0x30]
mov byte [rsp + 0x31], al
movzx eax, byte [rsp + 0x31]
test eax, eax
jne 0x1400af56e
mov qword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov ecx, 2
call qword [sym.imp.USER32.dll_mouse_event]
lea rdx, [0x1400af290]
lea rcx, [rsp + 0x78]
call fcn.1400af730
nop
lea rcx, [rsp + 0x78]
call fcn.1400af200
nop
lea rcx, [rsp + 0x78]
call fcn.1400af1a0
mov rax, qword [rsp + 0x70]
mov qword [0x1401741b8], rax
mov rcx, qword [rsp + 0x88]
xor rcx, rsp
call fcn.14011c750
add rsp, 0x98
ret