Function at 0x14000d860
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x90
mov rax, qword [0x140025040]
xor rax, rsp
mov qword [rsp + 0x88], rax
mov r14, rdx
mov qword [rsp + 0x60], rdx
mov rbx, qword [rdx]
cmp qword [rbx + 0x128], 0xc
ja 0x14000d8b5
mov rbx, qword [rdx + 8]
test rbx, rbx
je 0x14000db1a
mov rdi, 0xffffffffffffffff
jmp 0x14000daf3
add rbx, 0x118
cmp qword [rbx + 0x18], 0xf
jbe 0x14000d8c6
mov rbx, qword [rbx]
add rbx, 0xd
movzx eax, byte [rbx]
mov rdi, 0xffffffffffffffff
test al, al
je 0x14000daea
xor ebp, ebp
nop
cmp al, 0x5c
je 0x14000d91e
movzx ecx, al
call qword [sym.imp.USER32.dll_VkKeyScanA]
movzx ecx, ax
xor r9d, r9d
xor r8d, r8d
xor edx, edx
call qword [sym.imp.USER32.dll_keybd_event]
movzx ecx, byte [rbx]
call qword [sym.imp.USER32.dll_VkKeyScanA]
movzx ecx, ax
xor r9d, r9d
xor edx, edx
lea r8d, [r9 + 2]
call qword [sym.imp.USER32.dll_keybd_event]
jmp 0x14000dadc
xorps xmm0, xmm0
movups xmmword [rsp + 0x68], xmm0
mov qword [rsp + 0x78], rbp
mov qword [rsp + 0x80], rbp
mov r8, rdi
inc r8
cmp byte [rbx + r8], 0
jne 0x14000d936
mov rdx, rbx
lea rcx, [rsp + 0x68]
call fcn.140013570
nop
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
mov qword [rsp + 0x30], rbp
mov qword [rsp + 0x38], rbp
mov r8d, 9
lea rdx, str._switch_
lea rcx, [rsp + 0x20]
call fcn.140013570
nop
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x68]
call qword [sym.imp.TgBot.dll_bool___cdecl_StringTools::startsWith_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const____ptr64__class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const____ptr64_]
movzx esi, al
mov rdx, qword [rsp + 0x38]
cmp rdx, 0xf
jbe 0x14000d9c8
inc rdx
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000d9c3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000db42
call fcn.140017a20
test sil, sil
je 0x14000d9f0
add rbx, 8
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov rcx, rax
xor r9d, r9d
lea edx, [r9 + 0x50]
lea r8d, [r9 + 2]
call qword [sym.imp.USER32.dll_PostMessageA]
jmp 0x14000daa0
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], rbp
mov qword [rsp + 0x58], rbp
mov r8d, 7
lea rdx, str._caps_
lea rcx, [rsp + 0x40]
call fcn.140013570
nop
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x68]
call qword [sym.imp.TgBot.dll_bool___cdecl_StringTools::startsWith_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const____ptr64__class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const____ptr64_]
movzx esi, al
mov rdx, qword [rsp + 0x58]
cmp rdx, 0xf
jbe 0x14000da6a
inc rdx
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000da65
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000db49
call fcn.140017a20
test sil, sil
je 0x14000daa0
add rbx, 6
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov cl, 0x14
call qword [sym.imp.USER32.dll_keybd_event]
mov ecx, 0xa
call qword [sym.imp.KERNEL32.dll_Sleep]
xor r9d, r9d
xor edx, edx
lea r8d, [r9 + 2]
mov cl, 0x14
call qword [sym.imp.USER32.dll_keybd_event]
nop
mov rdx, qword [rsp + 0x80]
cmp rdx, 0xf
jbe 0x14000dadc
inc rdx
mov rcx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000dad7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000db50
call fcn.140017a20
inc rbx
movzx eax, byte [rbx]
test al, al
jne 0x14000d8e0
mov rbx, qword [r14 + 8]
test rbx, rbx
je 0x14000db1a
mov eax, edi
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x14000db1a
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
lock xadd dword [rbx + 0xc], edi
cmp edi, 1
jne 0x14000db1a
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rcx, qword [rsp + 0x88]
xor rcx, rsp
call fcn.140017a00
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3