Function at 0x140045b60
Capabilities:
Get keyboard layout
Identify system language via api

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
push rbp
lea rbp, [rsp - 0x20]
sub rsp, 0x120
mov rax, qword [0x1400cfdf0]
xor rax, rsp
mov qword [rbp + 0x10], rax
xor ebx, ebx
lea rdx, [rsp + 0x20]
lea ecx, [rbx + 0x1e]
call qword [sym.imp.USER32.dll_GetKeyboardLayoutList]
call qword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
movzx edi, ax
call qword [sym.imp.KERNEL32.dll_GetSystemDefaultUILanguage]
cmp di, ax
jne 0x140045d13
call qword [sym.imp.KERNEL32.dll_GetSystemDefaultLangID]
movzx edx, ax
mov rcx, qword [rsp + 0x20]
cmp ax, cx
cmove rbx, rcx
mov rcx, qword [rsp + 0x28]
cmp ax, cx
cmove rbx, rcx
mov rcx, qword [rsp + 0x30]
cmp ax, cx
mov rax, qword [rsp + 0x38]
cmove rbx, rcx
cmp dx, ax
cmove rbx, rax
mov rax, qword [rsp + 0x40]
cmp dx, ax
cmove rbx, rax
mov rax, qword [rsp + 0x48]
cmp dx, ax
cmove rbx, rax
mov rax, qword [rsp + 0x50]
cmp dx, ax
cmove rbx, rax
mov rax, qword [rsp + 0x58]
cmp dx, ax
cmove rbx, rax
mov rax, qword [rsp + 0x60]
cmp dx, ax
cmove rbx, rax
mov rax, qword [rsp + 0x68]
cmp dx, ax
cmove rbx, rax
mov rax, qword [rsp + 0x70]
cmp dx, ax
cmove rbx, rax
mov rax, qword [rsp + 0x78]
cmp dx, ax
cmove rbx, rax
mov rax, qword [rbp - 0x80]
cmp dx, ax
cmove rbx, rax
mov rax, qword [rbp - 0x78]
cmp dx, ax
cmove rbx, rax
mov rax, qword [rbp - 0x70]
cmp dx, ax
cmove rbx, rax
mov rax, qword [rbp - 0x68]
cmp dx, ax
cmove rbx, rax
mov rax, qword [rbp - 0x60]
cmp dx, ax
cmove rbx, rax
mov rax, qword [rbp - 0x58]
cmp dx, ax
cmove rbx, rax
mov rax, qword [rbp - 0x50]
cmp dx, ax
cmove rbx, rax
mov rax, qword [rbp - 0x48]
cmp dx, ax
cmove rbx, rax
mov rax, qword [rbp - 0x40]
cmp dx, ax
cmove rbx, rax
mov rax, qword [rbp - 0x38]
cmp dx, ax
cmove rbx, rax
mov rax, qword [rbp - 0x30]
cmp dx, ax
cmove rbx, rax
mov rax, qword [rbp - 0x28]
cmp dx, ax
cmove rbx, rax
mov rax, qword [rbp - 0x20]
cmp dx, ax
cmove rbx, rax
mov rax, qword [rbp - 0x18]
cmp dx, ax
cmove rbx, rax
mov rax, qword [rbp - 0x10]
cmp dx, ax
cmove rbx, rax
mov rax, qword [rbp - 8]
cmp dx, ax
cmove rbx, rax
mov rax, qword [rbp]
cmp dx, ax
cmove rbx, rax
mov rax, qword [rbp + 8]
cmp dx, ax
je 0x140045e6c
jmp 0x140045e69
mov rax, qword [rsp + 0x20]
cmp di, ax
cmove rbx, rax
mov rax, qword [rsp + 0x28]
cmp di, ax
cmove rbx, rax
mov rax, qword [rsp + 0x30]
cmp di, ax
cmove rbx, rax
mov rax, qword [rsp + 0x38]
cmp di, ax
cmove rbx, rax
mov rax, qword [rsp + 0x40]
cmp di, ax
cmove rbx, rax
mov rax, qword [rsp + 0x48]
cmp di, ax
cmove rbx, rax
mov rax, qword [rsp + 0x50]
cmp di, ax
cmove rbx, rax
mov rax, qword [rsp + 0x58]
cmp di, ax
cmove rbx, rax
mov rax, qword [rsp + 0x60]
cmp di, ax
cmove rbx, rax
mov rax, qword [rsp + 0x68]
cmp di, ax
cmove rbx, rax
mov rax, qword [rsp + 0x70]
cmp di, ax
cmove rbx, rax
mov rax, qword [rsp + 0x78]
cmp di, ax
cmove rbx, rax
mov rax, qword [rbp - 0x80]
cmp di, ax
cmove rbx, rax
mov rax, qword [rbp - 0x78]
cmp di, ax
cmove rbx, rax
mov rax, qword [rbp - 0x70]
cmp di, ax
cmove rbx, rax
mov rax, qword [rbp - 0x68]
cmp di, ax
cmove rbx, rax
mov rax, qword [rbp - 0x60]
cmp di, ax
cmove rbx, rax
mov rax, qword [rbp - 0x58]
cmp di, ax
cmove rbx, rax
mov rax, qword [rbp - 0x50]
cmp di, ax
cmove rbx, rax
mov rax, qword [rbp - 0x48]
cmp di, ax
cmove rbx, rax
mov rax, qword [rbp - 0x40]
cmp di, ax
cmove rbx, rax
mov rax, qword [rbp - 0x38]
cmp di, ax
cmove rbx, rax
mov rax, qword [rbp - 0x30]
cmp di, ax
cmove rbx, rax
mov rax, qword [rbp - 0x28]
cmp di, ax
cmove rbx, rax
mov rax, qword [rbp - 0x20]
cmp di, ax
cmove rbx, rax
mov rax, qword [rbp - 0x18]
cmp di, ax
cmove rbx, rax
mov rax, qword [rbp - 0x10]
cmp di, ax
cmove rbx, rax
mov rcx, qword [rbp - 8]
cmp di, cx
cmove rbx, rcx
mov rcx, qword [rbp]
cmp di, cx
cmove rbx, rcx
mov rcx, qword [rbp + 8]
cmp di, cx
cmove rbx, rcx
mov rax, rbx
mov rcx, qword [rbp + 0x10]
xor rcx, rsp
call fcn.14004e4a0
lea r11, [rsp + 0x120]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov rsp, r11
pop rbp
ret