Function at 0x14009bd30
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 - 0x150]
sub rsp, 0x250
mov rax, qword [0x1401b9d88]
xor rax, rsp
mov qword [rbp + 0x140], rax
mov rax, qword [0x1401c2430]
cmp byte [rax + 0x180], 0
je 0x14009c17f
xorps xmm0, xmm0
movups xmmword [rbp + 0x130], xmm0
xorps xmm1, xmm1
movups xmmword [rsp + 0x50], xmm1
movdqa xmmword [rsp + 0x60], xmm0
mov r8d, 2
lea rdx, [0x14017003c]
lea rcx, [rsp + 0x50]
call fcn.140010770
mov dword [rsp + reloc.WS2_32.dll_WSASetLastError], 0x70
xorps xmm0, xmm0
movups xmmword [rsp + 0x78], xmm0
xor edi, edi
mov qword [rbp - 0x78], rdi
mov qword [rbp - 0x70], rdi
lea r8d, [rdi + 2]
lea rdx, [0x140170040]
lea rcx, [rsp + 0x78]
call fcn.140010770
mov dword [rbp - 0x68], WSAStartup
xorps xmm0, xmm0
movups xmmword [rbp - 0x60], xmm0
xorps xmm1, xmm1
movdqa xmmword [rbp - 0x50], xmm1
lea r8d, [rdi + 2]
lea rdx, [0x140170044]
lea rcx, [rbp - 0x60]
call fcn.140010770
mov dword [rbp - 0x40], WSAStartup
xorps xmm0, xmm0
movups xmmword [rbp - 0x38], xmm0
mov qword [rbp - 0x28], rdi
mov qword [rbp - 0x20], rdi
lea r8d, [rdi + 2]
lea rdx, [0x140170048]
lea rcx, [rbp - 0x38]
call fcn.140010770
mov dword [rbp - 0x18], reloc.WS2_32.dll_WSAStartup
xorps xmm0, xmm0
movups xmmword [rbp - 0x10], xmm0
xorps xmm1, xmm1
movdqa xmmword [rbp], xmm1
lea r8d, [rdi + 2]
lea rdx, [0x14017004c]
lea rcx, [rbp - 0x10]
call fcn.140010770
mov dword [rbp + 0x10], reloc.WS2_32.dll_WSACleanup
xorps xmm0, xmm0
movups xmmword [rbp + 0x18], xmm0
mov qword [rbp + 0x28], rdi
mov qword [rbp + 0x30], rdi
lea r8d, [rdi + 2]
lea rdx, [0x140170050]
lea rcx, [rbp + 0x18]
call fcn.140010770
mov dword [rbp + 0x38], 0x75
xorps xmm0, xmm0
movups xmmword [rbp + 0x40], xmm0
xorps xmm1, xmm1
movdqa xmmword [rbp + 0x50], xmm1
lea r8d, [rdi + 2]
lea rdx, [0x140170054]
lea rcx, [rbp + 0x40]
call fcn.140010770
mov dword [rbp + 0x60], 0x76
xorps xmm0, xmm0
movups xmmword [rbp + 0x68], xmm0
mov qword [rbp + 0x78], rdi
mov qword [rbp + 0x80], rdi
lea r8d, [rdi + 2]
lea rdx, [0x140170058]
lea rcx, [rbp + 0x68]
call fcn.140010770
mov dword [rbp + 0x88], 0x77
xorps xmm0, xmm0
movups xmmword [rbp + 0x90], xmm0
xorps xmm1, xmm1
movdqa xmmword [rbp + 0xa0], xmm1
lea r8d, [rdi + 2]
lea rdx, [0x14017005c]
lea rcx, [rbp + 0x90]
call fcn.140010770
mov dword [rbp + 0xb0], 0x78
xorps xmm0, xmm0
movups xmmword [rbp + 0xb8], xmm0
mov qword [rbp + 0xc8], rdi
mov qword [rbp + 0xd0], rdi
lea r8d, [rdi + 3]
lea rdx, [0x140170060]
lea rcx, [rbp + 0xb8]
call fcn.140010770
mov dword [rbp + 0xd8], 0x79
xorps xmm0, xmm0
movups xmmword [rbp + 0xe0], xmm0
xorps xmm1, xmm1
movdqa xmmword [rbp + 0xf0], xmm1
lea r8d, [rdi + 3]
lea rdx, [0x140170064]
lea rcx, [rbp + 0xe0]
call fcn.140010770
mov dword [rbp + 0x100], 0x7a
xorps xmm0, xmm0
movups xmmword [rbp + 0x108], xmm0
mov qword [rbp + 0x118], rdi
mov qword [rbp + 0x120], rdi
lea r8d, [rdi + 3]
lea rdx, [0x140170068]
lea rcx, [rbp + 0x108]
call fcn.140010770
mov dword [rbp + 0x128], 0x7b
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
lea rax, [rbp + 0x130]
mov qword [rsp + 0x28], rax
lea rdx, [rsp + 0x20]
lea rcx, [rbp + 0x130]
call fcn.1400227d0
nop
lea r9, [fcn.140004970]
lea edx, [rdi + 0x28]
lea r8d, [rdi + 0xc]
lea rcx, [rsp + 0x50]
call fcn.14014359c
mov r13, qword [rbp + 0x130]
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 [0x1401b5518]
cmp byte [rbx + 0x19], dil
jne 0x14009c08f
nop word [rax + rax]
lea rcx, [rbx + 0x20]
lea rdx, [0x1401b5518]
cmp r15, 0x10
cmovae rdx, r12
mov rdi, qword [rcx + 0x10]
cmp qword [rcx + 0x18], 0x10
jb 0x14009c051
mov rcx, qword [rcx]
mov r8, rdi
cmp rsi, rdi
cmovb r8, rsi
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x14009c06a
jns 0x14009c075
mov al, 0xff
jmp 0x14009c077
cmp rdi, rsi
jae 0x14009c073
mov al, 0xff
jmp 0x14009c077
jbe 0x14009c081
mov al, 1
test al, al
jns 0x14009c081
mov rbx, qword [rbx + 0x10]
jmp 0x14009c087
mov r14, rbx
mov rbx, qword [rbx]
cmp byte [rbx + 0x19], 0
je 0x14009c030
xor edi, edi
cmp byte [r14 + 0x19], 0
jne 0x14009c157
lea rdx, [r14 + 0x20]
mov rbx, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0x10
jb 0x14009c0ac
mov rdx, qword [rdx]
lea rcx, [0x1401b5518]
cmp r15, 0x10
cmovae rcx, r12
mov r8, rsi
cmp rbx, rsi
cmovb r8, rbx
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x14009c0d4
jns 0x14009c0df
mov al, 0xff
jmp 0x14009c0e1
cmp rsi, rbx
jae 0x14009c0dd
mov al, 0xff
jmp 0x14009c0e1
jbe 0x14009c0e5
mov al, 1
test al, al
js 0x14009c157
cmp r14, r13
je 0x14009c157
lea rdx, [0x1401b5518]
lea rcx, [rbp + 0x130]
call fcn.14002ad90
mov ecx, dword [rax]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x14009c150
mov qword [rsp + 0x20], reloc.WLDAP32.dll_Ordinal_200
lea rcx, [rsp + 0x20]
call fcn.14001fd50
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x40], rdi
mov qword [rsp + 0x48], rdi
mov r8d, reloc.WS2_32.dll_setsockopt
lea rdx, str.actioninput_ntext__
lea rcx, [rsp + 0x30]
call fcn.140010770
lea rcx, [rsp + 0x30]
call fcn.14004e210
mov r13, qword [rbp + 0x130]
mov r8, qword [r13 + 8]
lea rdx, [rbp + 0x130]
lea rcx, [rbp + 0x130]
call fcn.1400134c0
mov edx, 0x48
mov rcx, qword [rbp + 0x130]
call fcn.1401433c0
mov rcx, qword [rbp + 0x140]
xor rcx, rsp
call fcn.1401434e0
lea r11, [rsp + 0x250]
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