Function at 0x140091240
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x140]
sub rsp, 0x240
mov rax, qword [0x140181f80]
xor rax, rsp
mov qword [rbp + 0x130], rax
mov rax, qword [0x140188410]
cmp byte [rax + 0x5fe8], 0
je 0x1400916c8
xorps xmm0, xmm0
movups xmmword [rbp + 0x120], xmm0
xorps xmm1, xmm1
movups xmmword [rsp + 0x40], xmm1
movdqa xmmword [rsp + 0x50], xmm0
mov r8d, 2
lea rdx, [0x14013fce4]
lea rcx, [rsp + 0x40]
call fcn.140011c40
mov dword [rsp + 0x60], reloc.WS2_32.dll_WSASetLastError
xorps xmm0, xmm0
movups xmmword [rsp + 0x68], xmm0
xor edi, edi
mov qword [rsp + 0x78], rdi
mov qword [rbp - 0x80], rdi
lea r8d, [rdi + 2]
lea rdx, [0x14013fcf4]
lea rcx, [rsp + 0x68]
call fcn.140011c40
mov dword [rbp - 0x78], WSACleanup
xorps xmm0, xmm0
movups xmmword [rbp - 0x70], xmm0
xorps xmm1, xmm1
movdqa xmmword [rbp - 0x60], xmm1
lea r8d, [rdi + 2]
lea rdx, [0x14013fd04]
lea rcx, [rbp - 0x70]
call fcn.140011c40
mov dword [rbp - 0x50], WSACleanup
xorps xmm0, xmm0
movups xmmword [rbp - 0x48], xmm0
mov qword [rbp - 0x38], rdi
mov qword [rbp - 0x30], rdi
lea r8d, [rdi + 2]
lea rdx, [0x14013fd14]
lea rcx, [rbp - 0x48]
call fcn.140011c40
mov dword [rbp - 0x28], reloc.WS2_32.dll_WSAStartup
xorps xmm0, xmm0
movups xmmword [rbp - 0x20], xmm0
xorps xmm1, xmm1
movdqa xmmword [rbp - 0x10], xmm1
lea r8d, [rdi + 2]
lea rdx, [0x14013fd24]
lea rcx, [rbp - 0x20]
call fcn.140011c40
mov dword [rbp], reloc.WS2_32.dll_WSACleanup
xorps xmm0, xmm0
movups xmmword [rbp + 8], xmm0
mov qword [rbp + 0x18], rdi
mov qword [rbp + 0x20], rdi
lea r8d, [rdi + 2]
lea rdx, [0x14013fd34]
lea rcx, [rbp + 8]
call fcn.140011c40
mov dword [rbp + 0x28], 0x75
xorps xmm0, xmm0
movups xmmword [rbp + 0x30], xmm0
xorps xmm1, xmm1
movdqa xmmword [rbp + 0x40], xmm1
lea r8d, [rdi + 2]
lea rdx, [0x14013fd44]
lea rcx, [rbp + 0x30]
call fcn.140011c40
mov dword [rbp + 0x50], 0x76
xorps xmm0, xmm0
movups xmmword [rbp + 0x58], xmm0
mov qword [rbp + 0x68], rdi
mov qword [rbp + 0x70], rdi
lea r8d, [rdi + 2]
lea rdx, [0x14013fd54]
lea rcx, [rbp + 0x58]
call fcn.140011c40
mov dword [rbp + 0x78], 0x77
xorps xmm0, xmm0
movups xmmword [rbp + 0x80], xmm0
xorps xmm1, xmm1
movdqa xmmword [rbp + 0x90], xmm1
lea r8d, [rdi + 2]
lea rdx, [0x14013fd64]
lea rcx, [rbp + 0x80]
call fcn.140011c40
mov dword [rbp + 0xa0], 0x78
xorps xmm0, xmm0
movups xmmword [rbp + 0xa8], xmm0
mov qword [rbp + 0xb8], rdi
mov qword [rbp + 0xc0], rdi
lea r8d, [rdi + 3]
lea rdx, [0x14013fd74]
lea rcx, [rbp + 0xa8]
call fcn.140011c40
mov dword [rbp + 0xc8], 0x79
xorps xmm0, xmm0
movups xmmword [rbp + 0xd0], xmm0
xorps xmm1, xmm1
movdqa xmmword [rbp + 0xe0], xmm1
lea r8d, [rdi + 3]
lea rdx, [0x14013fd84]
lea rcx, [rbp + 0xd0]
call fcn.140011c40
mov dword [rbp + 0xf0], 0x7a
xorps xmm0, xmm0
movups xmmword [rbp + 0xf8], xmm0
mov qword [rbp + 0x108], rdi
mov qword [rbp + 0x110], rdi
lea r8d, [rdi + 3]
lea rdx, [0x14013fd94]
lea rcx, [rbp + 0xf8]
call fcn.140011c40
mov dword [rbp + 0x118], 0x7b
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
lea rax, [rbp + 0x120]
mov qword [rsp + 0x28], rax
lea rdx, [rsp + 0x20]
lea rcx, [rbp + 0x120]
call fcn.1400771b0
nop
lea r9, [fcn.140006e10]
lea edx, [rdi + 0x28]
lea r8d, [rdi + 0xc]
lea rcx, [rsp + 0x40]
call fcn.14011bbec
mov r13, qword [rbp + 0x120]
mov rbx, qword [r13 + 8]
mov r14, r13
mov r15, qword [0x140185d00]
mov rsi, qword [0x140185cf8]
mov r12, qword [0x140185ce8]
cmp byte [rbx + 0x19], dil
jne 0x1400915a3
nop word [rax + rax]
lea rcx, [rbx + 0x20]
lea rdx, [0x140185ce8]
cmp r15, 0xf
cmova rdx, r12
mov rdi, qword [rcx + 0x10]
cmp qword [rcx + 0x18], 0xf
jbe 0x140091561
mov rcx, qword [rcx]
mov r8, rdi
cmp rsi, rdi
cmovb r8, rsi
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x140091588
cmp rdi, rsi
jae 0x140091580
mov eax, 0xffffffff
jmp 0x140091588
xor eax, eax
cmp rdi, rsi
seta al
shr eax, 0x1f
test al, al
je 0x140091595
mov rbx, qword [rbx + 0x10]
jmp 0x14009159b
mov r14, rbx
mov rbx, qword [rbx]
cmp byte [rbx + 0x19], 0
je 0x140091540
xor edi, edi
cmp byte [r14 + 0x19], 0
jne 0x1400916a0
lea rdx, [r14 + 0x20]
mov rbx, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0xf
jbe 0x1400915c0
mov rdx, qword [rdx]
lea rcx, [0x140185ce8]
cmp r15, 0xf
cmova rcx, r12
mov r8, rsi
cmp rbx, rsi
cmovb r8, rbx
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x1400915f3
cmp rsi, rbx
jae 0x1400915ee
mov eax, 0xffffffff
jmp 0x1400915f3
mov eax, edi
seta al
shr eax, 0x1f
test al, al
jne 0x1400916a0
cmp r14, r13
je 0x1400916a0
lea rdx, [0x140185ce8]
lea rcx, [rbp + 0x120]
call fcn.14007cc30
mov ecx, dword [rax]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x140091699
lea rcx, [rsp + 0x20]
call fcn.14004dc80
movabs rcx, 0x7ffffffffd050f7f
mov rax, qword [rsp + 0x20]
cmp rax, rcx
jge 0x14009164d
add rax, 0x2faf080
jmp 0x140091657
movabs rax, 0x7fffffffffffffff
mov qword [rsp + 0x20], rax
lea rcx, [rsp + 0x20]
call fcn.14001a510
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x38], rdi
mov r8d, reloc.WS2_32.dll_setsockopt
lea rdx, str.actioninput_ntext__
lea rcx, [rsp + 0x20]
call fcn.140011c40
lea rcx, [rsp + 0x20]
call fcn.14002c9d0
mov r13, qword [rbp + 0x120]
mov r8, qword [r13 + 8]
lea rdx, [rbp + 0x120]
lea rcx, [rbp + 0x120]
call fcn.140071020
mov edx, 0x48
mov rcx, qword [rbp + 0x120]
call fcn.14011ba14
mov rcx, qword [rbp + 0x130]
xor rcx, rsp
call fcn.14011bb30
lea r11, [rsp + 0x240]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret