Function at 0x1400fc1f0
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 [0x1401cf858], eax
jle 0x1400fc2ab
lea rcx, [0x1401cf858]
call fcn.1401577cc
cmp dword [0x1401cf858], 0xffffffff
jne 0x1400fc2ab
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, [0x1401cf838]
call fcn.14001f6d0
lea rcx, [0x14015f810]
call fcn.140157600
nop
lea rcx, [0x1401cf858]
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, [0x1401cf838]
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, [0x1401cf838]
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 0x1400fc460
mov byte [0x1401cf834], 1
mov ecx, 2
call fcn.140054dc0
mov ecx, 1
call fcn.140054d30
movzx eax, byte [0x1401cf834]
test eax, eax
je 0x1400fc504
mov dword [rsp + 0x34], 1
jmp 0x1400fc497
mov eax, dword [rsp + 0x34]
inc eax
mov dword [rsp + 0x34], eax
cmp dword [rsp + 0x34], 0x100
jge 0x1400fc4ec
mov ecx, dword [rsp + 0x34]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
cwde
and eax, 0x8000
test eax, eax
je 0x1400fc4ea
cmp dword [rsp + 0x34], 0xc
je 0x1400fc4ea
cmp dword [rsp + 0x34], 0x1b
jne 0x1400fc4cd
mov dword [rsp + 0x3c], 0
jmp 0x1400fc4d5
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 [0x1401cf834], 0
jmp 0x1400fc48d
lea rdx, [0x1401ad0c4]
lea rcx, [0x1401cf838]
call fcn.1400c7330
jmp 0x1400fc5fa
movzx eax, byte [0x1401cf834]
test eax, eax
jne 0x1400fc534
mov rax, qword [rsp + 0x150]
cmp dword [rax], 0
jne 0x1400fc534
lea rdx, [0x1401ad3e8]
lea rcx, [0x1401cf838]
call fcn.1400c7330
jmp 0x1400fc5fa
movzx eax, byte [0x1401cf834]
test eax, eax
jne 0x1400fc5fa
mov rax, qword [rsp + 0x150]
cmp dword [rax], 0
je 0x1400fc5fa
mov rax, qword [rsp + 0x150]
mov edx, dword [rax]
lea rcx, [rsp + 0x120]
call fcn.1400f3990
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x60], rax
mov r8, qword [rsp + 0x60]
lea rdx, [0x1401acffc]
lea rcx, [rsp + 0x100]
call fcn.140021490
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x70], rax
lea r8, [0x1401acfb4]
mov rdx, qword [rsp + 0x70]
lea rcx, [rsp + 0xe0]
call fcn.1400214f0
mov qword [rsp + 0x78], rax
mov rdx, qword [rsp + 0x78]
lea rcx, [0x1401cf838]
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