Function at 0x140100f10
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 [0x1401d7c68]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
mov eax, dword [rax + rcx]
cmp dword [0x1401d77a8], eax
jle 0x140100fcb
lea rcx, [0x1401d77a8]
call fcn.14015e20c
cmp dword [0x1401d77a8], 0xffffffff
jne 0x140100fcb
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.1400d5ae0
mov rcx, rax
call fcn.1400eefe0
mov rdx, rax
lea rcx, [0x1401d7788]
call fcn.140020650
lea rcx, [0x1401663f0]
call fcn.14015e040
nop
lea rcx, [0x1401d77a8]
call fcn.14015e1ac
movss xmm0, dword [0x14016921c]
movss dword [rsp + 0x20], xmm0
movss xmm3, dword [0x140169218]
movss xmm2, dword [0x140169218]
movss xmm1, dword [0x140169218]
lea rcx, [rsp + 0xa0]
call fcn.140038d40
mov rdx, rax
mov ecx, reloc.WLDAP32.dll_Ordinal_22
call fcn.140056080
movss xmm0, dword [0x14016921c]
movss dword [rsp + 0x20], xmm0
movss xmm3, dword [0x140169218]
movss xmm2, dword [0x140169218]
movss xmm1, dword [0x140169218]
lea rcx, [rsp + 0xb0]
call fcn.140038d40
mov rdx, rax
mov ecx, reloc.WS2_32.dll_socket
call fcn.140056080
movss xmm0, dword [0x14016921c]
movss dword [rsp + 0x20], xmm0
movss xmm3, dword [0x140169218]
movss xmm2, dword [0x140169218]
movss xmm1, dword [0x140169218]
lea rcx, [rsp + 0xc0]
call fcn.140038d40
mov rdx, rax
mov ecx, reloc.WS2_32.dll_setsockopt
call fcn.140056080
xorps xmm1, xmm1
mov ecx, reloc.WS2_32.dll_listen
call fcn.1400561d0
movss xmm2, dword [0x140169f84]
xorps xmm1, xmm1
lea rcx, [rsp + 0x80]
call fcn.140038d00
mov rdx, rax
mov ecx, reloc.WS2_32.dll_socket
call fcn.140056120
movss xmm0, dword [0x14016921c]
movss dword [rsp + 0x20], xmm0
movss xmm3, dword [0x1401b5160]
movss xmm2, dword [0x1401b5160]
movss xmm1, dword [0x1401b5160]
lea rcx, [rsp + 0xd0]
call fcn.140038d40
mov rdx, rax
xor ecx, ecx
call fcn.140056080
lea rcx, [0x1401d7788]
call fcn.140020380
movss xmm0, dword [0x140169fb0]
movss dword [rsp + 0x20], xmm0
xor r9d, r9d
xor r8d, r8d
mov rdx, rax
lea rcx, [rsp + 0x40]
call fcn.1400446e0
movss xmm0, dword [rsp + 0x40]
addss xmm0, dword [0x14016d800]
movss xmm2, dword [0x14016d818]
movaps xmm1, xmm0
lea rcx, [rsp + 0x88]
call fcn.140038d00
mov qword [rsp + 0x48], rax
lea rcx, [0x1401d7788]
call fcn.140020380
mov qword [rsp + 0x50], rax
mov rdx, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x50]
call fcn.140091bd0
movzx eax, al
test eax, eax
je 0x140101180
mov byte [0x1401d7784], 1
mov ecx, 2
call fcn.140055c10
mov ecx, 1
call fcn.140055b80
movzx eax, byte [0x1401d7784]
test eax, eax
je 0x140101224
mov dword [rsp + 0x34], 1
jmp 0x1401011b7
mov eax, dword [rsp + 0x34]
inc eax
mov dword [rsp + 0x34], eax
cmp dword [rsp + 0x34], 0x100
jge 0x14010120c
mov ecx, dword [rsp + 0x34]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
cwde
and eax, 0x8000
test eax, eax
je 0x14010120a
cmp dword [rsp + 0x34], 0xc
je 0x14010120a
cmp dword [rsp + 0x34], 0x1b
jne 0x1401011ed
mov dword [rsp + 0x3c], 0
jmp 0x1401011f5
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 [0x1401d7784], 0
jmp 0x1401011ad
lea rdx, [0x1401b3d74]
lea rcx, [0x1401d7788]
call fcn.1400c8180
jmp 0x14010131a
movzx eax, byte [0x1401d7784]
test eax, eax
jne 0x140101254
mov rax, qword [rsp + 0x150]
cmp dword [rax], 0
jne 0x140101254
lea rdx, [0x1401b4274]
lea rcx, [0x1401d7788]
call fcn.1400c8180
jmp 0x14010131a
movzx eax, byte [0x1401d7784]
test eax, eax
jne 0x14010131a
mov rax, qword [rsp + 0x150]
cmp dword [rax], 0
je 0x14010131a
mov rax, qword [rsp + 0x150]
mov edx, dword [rax]
lea rcx, [rsp + 0x120]
call fcn.1400f8290
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x60], rax
mov r8, qword [rsp + 0x60]
lea rdx, [0x1401b3cbc]
lea rcx, [rsp + 0x100]
call fcn.140022410
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x70], rax
lea r8, [0x1401b3ca4]
mov rdx, qword [rsp + 0x70]
lea rcx, [rsp + 0xe0]
call fcn.140022470
mov qword [rsp + 0x78], rax
mov rdx, qword [rsp + 0x78]
lea rcx, [0x1401d7788]
call fcn.140033fc0
lea rcx, [rsp + 0xe0]
call fcn.1400205c0
nop
lea rcx, [rsp + 0x100]
call fcn.1400205c0
nop
lea rcx, [rsp + 0x120]
call fcn.1400205c0
add rsp, 0x140
pop rdi
ret