Function at 0x14008a770
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 [0x140194d38]
xor rax, rsp
mov qword [rbp + 0x170], rax
xor ebx, ebx
mov rax, qword [0x14019d398]
cmp byte [rax + 0x1a0], bl
je 0x14008ac09
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, [0x14014ef74]
lea rcx, [rsp + 0x60]
call fcn.14000ff90
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, [0x14014ef78]
lea rcx, [rbp - 0x78]
call fcn.14000ff90
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, [0x14014ef7c]
lea rcx, [rbp - 0x50]
call fcn.14000ff90
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, [0x14014ef80]
lea rcx, [rbp - 0x28]
call fcn.14000ff90
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, [0x14014ef84]
lea rcx, [rbp]
call fcn.14000ff90
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, [0x14014ef88]
lea rcx, [rbp + 0x28]
call fcn.14000ff90
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, [0x14014ef8c]
lea rcx, [rbp + 0x50]
call fcn.14000ff90
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, [0x14014ef90]
lea rcx, [rbp + 0x78]
call fcn.14000ff90
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, [0x14014ef94]
lea rcx, [rbp + 0xa0]
call fcn.14000ff90
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, [0x14014ef98]
lea rcx, [rbp + 0xc8]
call fcn.14000ff90
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, [0x14014ef9c]
lea rcx, [rbp + 0xf0]
call fcn.14000ff90
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, [0x14014efa0]
lea rcx, [rbp + 0x118]
call fcn.14000ff90
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.140022010
nop
lea r9, [fcn.140004970]
lea edx, [rbx + 0x28]
lea r8d, [rbx + 0xc]
lea rcx, [rsp + 0x60]
call fcn.14012701c
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 [0x1401905e0]
cmp byte [rbx + 0x19], 0
jne 0x14008aacd
nop word [rax + rax]
lea rcx, [rbx + 0x20]
lea rdx, [0x1401905e0]
cmp r15, 0x10
cmovae rdx, r12
mov rdi, qword [rcx + 0x10]
cmp qword [rcx + 0x18], 0x10
jb 0x14008aa91
mov rcx, qword [rcx]
mov r8, rdi
cmp rsi, rdi
cmovb r8, rsi
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x14008aaaa
jns 0x14008aab5
mov al, 0xff
jmp 0x14008aab7
cmp rdi, rsi
jae 0x14008aab3
mov al, 0xff
jmp 0x14008aab7
jbe 0x14008aac1
mov al, 1
test al, al
jns 0x14008aac1
mov rbx, qword [rbx + 0x10]
jmp 0x14008aac7
mov r14, rbx
mov rbx, qword [rbx]
cmp byte [rbx + 0x19], 0
je 0x14008aa70
cmp byte [r14 + 0x19], 0
jne 0x14008abe1
lea rdx, [r14 + 0x20]
mov rbx, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0x10
jb 0x14008aaea
mov rdx, qword [rdx]
lea rcx, [0x1401905e0]
cmp r15, 0x10
cmovae rcx, r12
mov r8, rsi
cmp rbx, rsi
cmovb r8, rbx
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x14008ab12
jns 0x14008ab1d
mov al, 0xff
jmp 0x14008ab1f
cmp rsi, rbx
jae 0x14008ab1b
mov al, 0xff
jmp 0x14008ab1f
jbe 0x14008ab27
mov al, 1
test al, al
js 0x14008abe1
cmp r14, r13
je 0x14008abe1
lea rdx, [0x1401905e0]
lea rcx, [rbp + 0x160]
call fcn.14002a490
mov ecx, dword [rax]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x14008abda
mov qword [rsp + 0x50], reloc.WLDAP32.dll_Ordinal_200
lea rcx, [rsp + 0x50]
call fcn.14001f5a0
mov rcx, qword [reloc.WS2_32.dll_ntohl]
movabs rax, 0x7fffffffffffffff
sub rax, rcx
cmp rax, 0x14
jb 0x14008ac39
lea rax, [0x140190480]
cmp qword [reloc.WS2_32.dll_ntohs], 0x10
cmovae rax, qword [0x140190480]
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, [0x140190480]
movzx edx, byte [rsp + 0x40]
lea rcx, [rbp + 0x140]
call fcn.140004850
lea rcx, [rbp + 0x140]
call fcn.14004a2a0
mov r13, qword [rbp + 0x160]
mov r8, qword [r13 + 8]
lea rdx, [rbp + 0x160]
lea rcx, [rbp + 0x160]
call fcn.140012d20
mov edx, 0x48
mov rcx, qword [rbp + 0x160]
call fcn.140126e48
mov rcx, qword [rbp + 0x170]
xor rcx, rsp
call fcn.140126f60
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