Function at 0x14004e020
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x37]
sub rsp, 0xe0
mov rsi, rdx
xor edi, edi
xorps xmm0, xmm0
movups xmmword [rbp - 0x49], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x39], xmm1
mov r14, 0xffffffffffffffff
mov r8, r14
inc r8
cmp byte [rcx + r8], dil
jne 0x14004e062
mov rdx, rcx
lea rcx, [rbp - 0x49]
call fcn.140047820
nop
mov rcx, qword [rbp - 0x39]
mov rdx, qword [rbp - 0x31]
mov rax, rdx
sub rax, rcx
cmp rax, 2
jb 0x14004e0b2
lea rax, [rcx + 2]
mov qword [rbp - 0x39], rax
lea rax, [rbp - 0x49]
cmp rdx, 0xf
cmova rax, qword [rbp - 0x49]
mov word [rax + rcx], 0x2323
mov byte [rax + rcx + 2], 0
lea rax, [rbp - 0x49]
jmp 0x14004e0d0
mov qword [rsp + 0x20], 2
lea r9, [0x14007f248]
mov edx, 2
lea rcx, [rbp - 0x49]
call fcn.140066820
xorps xmm0, xmm0
movups xmmword [rbp - 0x69], xmm0
mov qword [rbp - 0x59], rdi
mov qword [rbp - 0x51], rdi
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x69], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x59], xmm1
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], sendto
mov byte [rax], 0
mov rdx, qword [rbp - 0x31]
cmp rdx, 0xf
jbe 0x14004e13b
inc rdx
mov rcx, qword [rbp - 0x49]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004e136
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14004e136
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14006eb78
movdqa xmm0, xmmword [0x140085050]
movdqu xmmword [rbp - 0x39], xmm0
mov byte [rbp - 0x49], 0
mov r15, qword [0x1400eeea8]
mov rbx, qword [r15 + 8]
mov r13, r15
mov rax, qword [rbp - 0x51]
mov r12, qword [rbp - 0x59]
mov r8, qword [rbp - 0x69]
cmp byte [rbx + 0x19], 0
jne 0x14004e1be
nop dword [rax]
lea rcx, [rbx + 0x20]
lea rdx, [rbp - 0x69]
cmp rax, 0xf
cmova rdx, r8
mov r15, qword [rcx + 0x10]
cmp qword [rcx + 0x18], 0xf
jbe 0x14004e18e
mov rcx, qword [rcx]
mov r8, r15
cmp r12, r15
cmovb r8, r12
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x14004e1fa
js 0x14004e1ff
mov r13, rbx
mov rbx, qword [rbx]
cmp byte [rbx + 0x19], 0
mov rax, qword [rbp - 0x51]
mov r8, qword [rbp - 0x69]
je 0x14004e170
mov r15, qword [0x1400eeea8]
cmp byte [r13 + 0x19], 0
jne 0x14004e20a
lea rdx, [r13 + 0x20]
mov rbx, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0xf
jbe 0x14004e1d7
mov rdx, qword [rdx]
lea rcx, [rbp - 0x69]
cmp rax, 0xf
cmova rcx, r8
mov r8, r12
cmp rbx, r12
cmovb r8, rbx
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x14004e205
js 0x14004e20a
jmp 0x14004e20d
cmp r15, r12
jae 0x14004e1a3
mov rbx, qword [rbx + 0x10]
jmp 0x14004e1a9
cmp r12, rbx
jae 0x14004e20d
mov r13, r15
cmp r13, r15
jne 0x14004e251
lea rdx, [rbp - 0x69]
call fcn.140064920
mov byte [rax], 0
lea rdx, [rbp - 0x69]
call fcn.140064aa0
cmp rax, rsi
je 0x14004e245
mov rdx, rsi
cmp qword [rsi + 0x18], 0xf
jbe 0x14004e239
mov rdx, qword [rsi]
mov r8, qword [rsi + 0x10]
mov rcx, rax
call fcn.1400653d0
lea rdx, [rbp - 0x69]
call fcn.1400647a0
mov dword [rax], r14d
lea rdx, [rbp - 0x69]
call fcn.140064920
mov r15, rax
lea rdx, [rbp - 0x69]
call fcn.140064aa0
mov rbx, rax
lea rdx, [rbp - 0x69]
call fcn.1400647a0
mov r12, rax
mov rdx, rbx
cmp qword [rbx + 0x18], 0xf
jbe 0x14004e282
mov rdx, qword [rbx]
mov r8d, 0x3f
lea rcx, [rbp - 9]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncpy]
mov byte [rbp + 0x36], 0
lea rcx, [rbp - 0x69]
cmp qword [rbp - 0x51], 0xf
cmova rcx, qword [rbp - 0x69]
mov qword [rbp + 0x77], 0
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x28], 0x4000
lea rax, [rbp + 0x77]
mov qword [rsp + 0x20], rax
mov r9d, 0x40
lea r8, [rbp - 9]
xor edx, edx
call fcn.1400408a0
mov rcx, qword [0x1400ee950]
mov edx, dword [rcx + 0x3f24]
test edx, edx
je 0x14004e57f
mov eax, dword [rcx + 0x3fa0]
cmp edx, eax
jne 0x14004e57f
cmp byte [r15], 0
je 0x14004e542
mov ecx, edi
call fcn.1400172e0
test al, al
jne 0x14004e31f
inc edi
cmp edi, 0x285
jl 0x14004e305
jmp 0x14004e457
cmp edi, 8
jne 0x14004e342
mov r8d, 4
lea rdx, [0x140083070]
mov rcx, rbx
call fcn.1400653d0
mov dword [r12], r14d
jmp 0x14004e418
mov ecx, edi
call fcn.140017210
lea rdx, [0x14007614a]
test rax, rax
cmovne rdx, rax
xorps xmm0, xmm0
movups xmmword [rbp - 0x29], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x19], xmm1
inc r14
cmp byte [rdx + r14], 0
jne 0x14004e366
mov r8, r14
lea rcx, [rbp - 0x29]
call fcn.140047820
lea rax, [rbp - 0x29]
cmp rbx, rax
je 0x14004e3d5
mov rdx, qword [rbx + 0x18]
cmp rdx, 0xf
jbe 0x14004e3bb
mov rcx, qword [rbx]
inc rdx
cmp rdx, 0x1000
jb 0x14004e3b6
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14004e408
mov rcx, r8
call fcn.14006eb78
movups xmm0, xmmword [rbp - 0x29]
movups xmmword [rbx], xmm0
movups xmm1, xmmword [rbp - 0x19]
movups xmmword [rbx + 0x10], xmm1
mov byte [rbp - 0x29], 0
mov eax, recvfrom
jmp 0x14004e3d9
mov rax, qword [rbp - 0x11]
cmp rax, 0xf
jbe 0x14004e414
lea rdx, [rax + 1]
mov rcx, qword [rbp - 0x29]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004e40f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14004e40f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14006eb78
mov dword [r12], edi
cmp qword [rbx + 0x18], 0xf
mov rdx, rbx
jbe 0x14004e425
mov rdx, qword [rbx]
mov r8d, 0x3f
lea rcx, [rbp - 9]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncpy]
cmp rsi, rbx
mov byte [rbp + 0x36], 0
je 0x14004e457
cmp qword [rbx + 0x18], 0xf
mov rdx, rbx
jbe 0x14004e44b
mov rdx, qword [rbx]
mov r8, qword [rbx + 0x10]
mov rcx, rsi
call fcn.1400653d0
mov ecx, 5
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x14004e4cc
mov r8d, 6
lea rdx, str.Mouse4
mov rcx, rbx
call fcn.1400653d0
mov dword [r12], 5
mov rdx, rbx
cmp qword [rbx + 0x18], 0xf
jbe 0x14004e491
mov rdx, qword [rbx]
mov r8d, 0x3f
lea rcx, [rbp - 9]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncpy]
mov byte [rbp + 0x36], 0
cmp rsi, rbx
je 0x14004e5a2
mov rdx, rbx
cmp qword [rbx + 0x18], 0xf
jbe 0x14004e4bb
mov rdx, qword [rbx]
mov r8, qword [rbx + 0x10]
mov rcx, rsi
call fcn.1400653d0
jmp 0x14004e588
mov ecx, 6
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x14004e583
mov r8d, 6
lea rdx, str.Mouse5
mov rcx, rbx
call fcn.1400653d0
mov dword [r12], 6
mov rdx, rbx
cmp qword [rbx + 0x18], 0xf
jbe 0x14004e50a
mov rdx, qword [rbx]
mov r8d, 0x3f
lea rcx, [rbp - 9]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncpy]
mov byte [rbp + 0x36], 0
cmp rsi, rbx
je 0x14004e5a2
mov rdx, rbx
cmp qword [rbx + 0x18], 0xf
jbe 0x14004e534
mov rdx, qword [rbx]
mov r8, qword [rbx + 0x10]
mov rcx, rsi
call fcn.1400653d0
jmp 0x14004e588
cmp dword [rcx + 0x3f50], eax
je 0x14004e583
mov byte [r15], 1
mov r8d, 0x40
lea rdx, [0x14007614a]
lea rcx, [rbp - 9]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncpy]
mov qword [rsi + 0x10], rdi
mov rax, rsi
cmp qword [rsi + 0x18], 0xf
jbe 0x14004e576
mov rax, qword [rsi]
mov byte [rax], 0
mov dword [r12], r14d
jmp 0x14004e583
mov byte [r15], 0
cmp rsi, rbx
je 0x14004e5a2
mov r8, qword [rbx + 0x10]
cmp qword [rbx + 0x18], 0xf
jbe 0x14004e596
mov rbx, qword [rbx]
mov rdx, rbx
mov rcx, rsi
call fcn.1400653d0
nop
mov rdx, qword [rbp - 0x51]
cmp rdx, 0xf
jbe 0x14004e5e0
inc rdx
mov rcx, qword [rbp - 0x69]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004e5db
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14004e5db
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14006eb78
lea r11, [rsp + 0xe0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret