Function at 0x140050750
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x37]
sub rsp, 0x90
mov rdi, rcx
xor r12d, r12d
mov rax, qword gs:[0x58]
mov edx, 4
mov rax, qword [rax]
mov edx, dword [rdx + rax]
cmp dword [0x140068bb4], edx
jle 0x1400507bd
lea rcx, [0x140068bb4]
call fcn.1400560f8
cmp dword [0x140068bb4], 0xffffffff
jne 0x1400507bd
lea rcx, [0x140057ac0]
call fcn.140056478
lea rcx, [0x140068bb4]
call fcn.14005608c
xorps xmm1, xmm1
mov ecx, 0xd
call fcn.1400041f0
mov rbx, qword [0x1400689d0]
lea rcx, [rbx + 0x1ec8]
movss xmm1, dword [rbx + 0x16e8]
movss xmm0, dword [rbx + 0x16ec]
mov dword [rbp - 0x29], 0x17
movss dword [rbp - 0x25], xmm1
movss dword [rbp - 0x21], xmm0
lea rdx, [rbp - 0x29]
call fcn.140025070
mov dword [rbx + 0x16e8], r12d
mov dword [rbx + 0x16ec], 0x3f000000
mov rbx, qword [0x1400689d0]
mov dword [rbp - 0x29], r12d
movups xmm0, xmmword [rbx + 0x1718]
movups xmmword [rbp - 0x25], xmm0
lea rcx, [rbx + 0x1eb8]
lea rdx, [rbp - 0x29]
call fcn.140025160
mov dword [rbx + 0x1718], 0x3ebd70a4
mov dword [rbx + 0x171c], 0x3ebd70a4
mov dword [rbx + 0x1720], 0x3ebd70a4
mov dword [rbx + 0x1724], 0x3f800000
mov dword [rbp - 0x29], 0x428c0000
mov dword [rbp - 0x25], 0x41a00000
lea rcx, str._No_Bind_
cmp qword [0x140068060], 0x10
cmovae rcx, qword [str._No_Bind_]
xor r8d, r8d
lea rdx, [rbp - 0x29]
call fcn.14003d300
test al, al
je 0x1400508a2
mov r9b, 1
mov byte [0x140068b9c], r9b
jmp 0x1400508aa
movzx r9d, byte [0x140068b9c]
mov r8, qword [0x1400689d0]
movsxd rax, dword [r8 + 0x1ec8]
lea rcx, [rax + rax*2]
mov rdx, qword [r8 + 0x1ed0]
movsxd rax, dword [rdx + rcx*4 - 0xc]
lea r11, [rax + rax*2]
lea rbx, [0x140059d60]
mov r10d, dword [rbx + r11*4 + 8]
cmp dword [rbx + r11*4], 8
jne 0x140050914
mov eax, dword [rbx + r11*4 + 4]
cmp eax, 1
jne 0x1400508f7
mov eax, dword [rdx + rcx*4 - 8]
mov dword [r10 + r8 + 0x1650], eax
jmp 0x140050914
cmp eax, 2
jne 0x140050914
mov eax, dword [rdx + rcx*4 - 8]
mov dword [r10 + r8 + 0x1650], eax
mov eax, dword [rdx + rcx*4 - 4]
mov dword [r10 + r8 + 0x1654], eax
movsxd rcx, dword [r8 + 0x1ec8]
lea eax, [rcx - 1]
mov dword [r8 + 0x1ec8], eax
lea rax, [rcx - 2]
lea rcx, [rax + rax*2]
mov rdx, qword [r8 + 0x1ed0]
movsxd rax, dword [rdx + rcx*4]
lea rax, [rax + rax*2]
mov r10d, dword [rbx + rax*4 + 8]
cmp dword [rbx + rax*4], 8
jne 0x14005097b
mov eax, dword [rbx + rax*4 + 4]
cmp eax, 1
jne 0x14005095e
mov eax, dword [rdx + rcx*4 + 4]
mov dword [r10 + r8 + 0x1650], eax
jmp 0x14005097b
cmp eax, 2
jne 0x14005097b
mov eax, dword [rdx + rcx*4 + 4]
mov dword [r10 + r8 + 0x1650], eax
mov eax, dword [rdx + rcx*4 + 8]
mov dword [r10 + r8 + 0x1654], eax
dec dword [r8 + 0x1ec8]
movsxd rax, dword [r8 + 0x1eb8]
lea rdx, [rax + rax*4]
mov rcx, qword [r8 + 0x1ec0]
movsxd rax, dword [rcx + rdx*4 - 0x14]
add rax, rax
movups xmm0, xmmword [rcx + rdx*4 - 0x10]
movups xmmword [r8 + rax*8 + 0x1718], xmm0
dec dword [r8 + 0x1eb8]
test r9b, r9b
je 0x140050a0c
mov ebx, 1
nop dword [rax + rax]
mov ecx, ebx
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x1400509e4
cmp ebx, 0xc
je 0x1400509e4
mov eax, ebx
cmp ebx, 0x1b
cmove eax, r12d
mov dword [rdi], eax
mov byte [0x140068b9c], r12b
inc ebx
cmp ebx, 0x100
jl 0x1400509c0
mov r8d, 5
lea rdx, str._..._
lea rcx, str._No_Bind_
call fcn.140055120
jmp 0x140050c19
mov edx, dword [rdi]
test edx, edx
jne 0x140050a2e
lea r8d, [rdx + 9]
lea rdx, [0x14005e410]
lea rcx, str._No_Bind_
call fcn.140055120
jmp 0x140050c19
lea rcx, [rbp + 0x17]
call fcn.14004f8a0
mov rdi, rax
mov rcx, qword [rax + 0x10]
mov rdx, qword [rax + 0x18]
mov rax, rdx
sub rax, rcx
cmp rax, 1
jb 0x140050aca
lea r8, [rcx + 1]
mov qword [rdi + 0x10], r8
mov rsi, rdi
cmp rdx, 0x10
jb 0x140050a62
mov rsi, qword [rdi]
lea rax, [0x14005e15d]
mov ebx, 1
lea r14, [0x14005e15c]
cmp rax, rsi
jbe 0x140050a95
lea rax, [rsi + rcx]
cmp r14, rax
ja 0x140050a95
cmp rsi, r14
ja 0x140050a8d
mov r15, r12
jmp 0x140050a98
mov r15, rsi
sub r15, r14
jmp 0x140050a98
mov r15, rbx
lea rcx, [rsi + 1]
mov rdx, rsi
call sub.VCRUNTIME140.dll_memmove
mov r8, r15
mov rdx, r14
mov rcx, rsi
call sub.VCRUNTIME140.dll_memcpy
mov r8, rbx
sub r8, r15
lea rdx, [r14 + 1]
add rdx, r15
lea rcx, [rsi + r15]
call sub.VCRUNTIME140.dll_memcpy
jmp 0x140050aed
mov ebx, 1
mov qword [rsp + 0x28], rbx
lea r14, [0x14005e15c]
mov qword [rsp + 0x20], r14
mov edx, ebx
mov rcx, rdi
call fcn.140055e90
mov rdi, rax
xorps xmm0, xmm0
movups xmmword [rbp - 0x29], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x19], xmm1
movups xmm0, xmmword [rdi]
movups xmmword [rbp - 0x29], xmm0
movups xmm1, xmmword [rdi + 0x10]
movups xmmword [rbp - 0x19], xmm1
mov qword [rdi + 0x10], r12
mov qword [rdi + 0x18], 0xf
mov byte [rdi], 0
mov r8, rbx
lea rcx, [rbp - 0x29]
call fcn.140054f50
movups xmm0, xmmword [rax]
movups xmmword [rbp - 9], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 7], xmm1
mov qword [rax + 0x10], r12
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
lea rdx, [rbp - 9]
call fcn.140054d80
mov rdx, qword [rbp + 0xf]
cmp rdx, 0x10
jb 0x140050b8c
inc rdx
mov rcx, qword [rbp - 9]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140050b86
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140050b86
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140056490
nop
mov rdx, qword [rbp - 0x11]
cmp rdx, 0x10
jb 0x140050bca
inc rdx
mov rcx, qword [rbp - 0x29]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140050bc5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140050bc5
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140056490
movdqa xmm0, xmmword [0x14005e950]
movdqu xmmword [rbp - 0x19], xmm0
mov byte [rbp - 0x29], 0
mov rdx, qword [rbp + 0x2f]
cmp rdx, 0x10
jb 0x140050c19
inc rdx
mov rcx, qword [rbp + 0x17]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140050c14
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140050c14
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140056490
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret