Function at 0x1400fbdd0
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x140
mov eax, 4
mov eax, eax
mov ecx, dword [0x1401cfca8]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
mov eax, dword [rax + rcx]
cmp dword [0x1401cf7e8], eax
jle 0x1400fbe8b
lea rcx, [0x1401cf7e8]
call fcn.1401577cc
cmp dword [0x1401cf7e8], 0xffffffff
jne 0x1400fbe8b
lea rax, [rsp + 0x30]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rsp + 0x31]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
movzx r9d, byte [rsp + 0x30]
movzx r8d, byte [rsp + 0x31]
movzx edx, byte [rsp + 0x38]
lea rcx, [rsp + 0x90]
call fcn.1400d2570
mov rcx, rax
call fcn.1400eb110
mov rdx, rax
lea rcx, [0x1401cf7c8]
call fcn.14001f6d0
lea rcx, [0x14015f7f0]
call fcn.140157600
nop
lea rcx, [0x1401cf7e8]
call fcn.14015776c
movss xmm0, dword [0x140162224]
movss dword [rsp + 0x20], xmm0
movss xmm3, dword [0x140162220]
movss xmm2, dword [0x140162220]
movss xmm1, dword [0x140162220]
lea rcx, [rsp + 0xa0]
call fcn.140037ef0
mov rdx, rax
mov ecx, reloc.WLDAP32.dll_Ordinal_22
call fcn.140055230
movss xmm0, dword [0x140162224]
movss dword [rsp + 0x20], xmm0
movss xmm3, dword [0x140162220]
movss xmm2, dword [0x140162220]
movss xmm1, dword [0x140162220]
lea rcx, [rsp + 0xb0]
call fcn.140037ef0
mov rdx, rax
mov ecx, reloc.WS2_32.dll_socket
call fcn.140055230
movss xmm0, dword [0x140162224]
movss dword [rsp + 0x20], xmm0
movss xmm3, dword [0x140162220]
movss xmm2, dword [0x140162220]
movss xmm1, dword [0x140162220]
lea rcx, [rsp + 0xc0]
call fcn.140037ef0
mov rdx, rax
mov ecx, reloc.WS2_32.dll_setsockopt
call fcn.140055230
xorps xmm1, xmm1
mov ecx, reloc.WS2_32.dll_listen
call fcn.140055380
movss xmm2, dword [0x140162f94]
xorps xmm1, xmm1
lea rcx, [rsp + 0x80]
call fcn.140037eb0
mov rdx, rax
mov ecx, reloc.WS2_32.dll_socket
call fcn.1400552d0
movss xmm0, dword [0x140162224]
movss dword [rsp + 0x20], xmm0
movss xmm3, dword [0x1401ae060]
movss xmm2, dword [0x1401ae060]
movss xmm1, dword [0x1401ae060]
lea rcx, [rsp + 0xd0]
call fcn.140037ef0
mov rdx, rax
xor ecx, ecx
call fcn.140055230
lea rcx, [0x1401cf7c8]
call fcn.14001f400
movss xmm0, dword [0x140162fc0]
movss dword [rsp + 0x20], xmm0
xor r9d, r9d
xor r8d, r8d
mov rdx, rax
lea rcx, [rsp + 0x40]
call fcn.140043890
movss xmm0, dword [rsp + 0x40]
addss xmm0, dword [0x140166810]
movss xmm2, dword [0x140166828]
movaps xmm1, xmm0
lea rcx, [rsp + 0x88]
call fcn.140037eb0
mov qword [rsp + 0x48], rax
lea rcx, [0x1401cf7c8]
call fcn.14001f400
mov qword [rsp + 0x50], rax
mov rdx, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x50]
call fcn.140090d80
movzx eax, al
test eax, eax
je 0x1400fc040
mov byte [0x1401cf7c4], 1
mov ecx, 2
call fcn.140054dc0
mov ecx, 1
call fcn.140054d30
movzx eax, byte [0x1401cf7c4]
test eax, eax
je 0x1400fc0e4
mov dword [rsp + 0x34], 1
jmp 0x1400fc077
mov eax, dword [rsp + 0x34]
inc eax
mov dword [rsp + 0x34], eax
cmp dword [rsp + 0x34], 0x100
jge 0x1400fc0cc
mov ecx, dword [rsp + 0x34]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
cwde
and eax, 0x8000
test eax, eax
je 0x1400fc0ca
cmp dword [rsp + 0x34], 0xc
je 0x1400fc0ca
cmp dword [rsp + 0x34], 0x1b
jne 0x1400fc0ad
mov dword [rsp + 0x3c], 0
jmp 0x1400fc0b5
mov eax, dword [rsp + 0x34]
mov dword [rsp + 0x3c], eax
mov rax, qword [rsp + 0x150]
mov ecx, dword [rsp + 0x3c]
mov dword [rax], ecx
mov byte [0x1401cf7c4], 0
jmp 0x1400fc06d
lea rdx, [0x1401acd54]
lea rcx, [0x1401cf7c8]
call fcn.1400c7330
jmp 0x1400fc1da
movzx eax, byte [0x1401cf7c4]
test eax, eax
jne 0x1400fc114
mov rax, qword [rsp + 0x150]
cmp dword [rax], 0
jne 0x1400fc114
lea rdx, [0x1401ad24c]
lea rcx, [0x1401cf7c8]
call fcn.1400c7330
jmp 0x1400fc1da
movzx eax, byte [0x1401cf7c4]
test eax, eax
jne 0x1400fc1da
mov rax, qword [rsp + 0x150]
cmp dword [rax], 0
je 0x1400fc1da
mov rax, qword [rsp + 0x150]
mov edx, dword [rax]
lea rcx, [rsp + 0x120]
call fcn.1400f30c0
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x60], rax
mov r8, qword [rsp + 0x60]
lea rdx, [0x1401accf4]
lea rcx, [rsp + 0x100]
call fcn.140021490
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x70], rax
lea r8, [0x1401accc4]
mov rdx, qword [rsp + 0x70]
lea rcx, [rsp + 0xe0]
call fcn.1400214f0
mov qword [rsp + 0x78], rax
mov rdx, qword [rsp + 0x78]
lea rcx, [0x1401cf7c8]
call fcn.1400330a0
lea rcx, [rsp + 0xe0]
call fcn.14001f640
nop
lea rcx, [rsp + 0x100]
call fcn.14001f640
nop
lea rcx, [rsp + 0x120]
call fcn.14001f640
add rsp, 0x140
pop rdi
ret