Function at 0x10000b1a0
Capabilities:
Get keyboard layout

Disassembly:
jmp 0x100009444
xor ecx, ecx
call qword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov rdi, rax
cmp rax, r14
je 0x1000094f9
movzx ecx, byte [rsp + 0xe8]
lea rax, [rsp + 0xea]
xor r9d, r9d
mov qword [rsp + 0x68], rax
mov dword [rsp + 0x60], r14d
mov dword [rsp + 0x58], r14d
mov dword [rsp + 0x50], r14d
mov dword [rsp + 0x48], r14d
mov dword [rsp + 0x40], ecx
mov dword [rsp + 0x38], r14d
mov dword [rsp + 0x30], r14d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
mov dword [rsp + 0x28], r14d
mov dword [rsp + 0x20], r14d
call qword [sym.imp.GDI32.dll_CreateFontW]
mov rsi, rax
cmp rax, r14
je 0x1000094f0
mov rdx, rax
mov rcx, rdi
call qword [sym.imp.GDI32.dll_SelectObject]
mov rbp, rax
cmp rax, r14
je 0x1000094e7
lea r8, [rsp + 0xea]
mov edx, 0x20
mov rcx, rdi
call qword [sym.imp.GDI32.dll_GetTextFaceW]
mov rdx, rbp
mov rcx, rdi
call qword [sym.imp.GDI32.dll_SelectObject]
mov rcx, rsi
call qword [sym.imp.GDI32.dll_DeleteObject]
mov rcx, rdi
call qword [sym.imp.GDI32.dll_DeleteDC]
lea r9, [rsp + 0xd0]
xor r8d, r8d
mov edx, 0x444
mov rcx, r12
mov qword [rsp + 0x70], r14
call qword [sym.imp.USER32.dll_SendMessageW]
nop
jmp 0x100009768
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x160
mov rax, qword [0x1000f6188]
xor rax, rsp
mov qword [rsp + 0x150], rax
xor r14d, r14d
mov r12, r8
mov rbx, rcx
mov r13d, r14d
mov edx, dword [rbx + 0x18]
mov edi, 1
cmp edx, dword [rbx + 0x1c]
jge 0x10000978e
mov rcx, qword [rbx + 0x10]
mov qword [rsp + 0x70], r14
mov qword [rsp + 0x78], r14
mov rax, qword [rcx]
lea r8, [rsp + 0x70]
call qword [rax + 0x38]
cmp eax, r14d
jne 0x100033de6
mov rdx, qword [rsp + 0x70]
lea r8, [rsp + 0x80]
xor r9d, r9d
mov rcx, rbx
call fcn.1000091b0
cmp eax, r14d
jne 0x100033de6
mov rdx, qword [rsp + 0x70]
lea r8, [rsp + 0x80]
mov r9d, edi
mov rcx, rbx
call fcn.1000091b0
cmp eax, r14d
jne 0x100033de6
mov rcx, qword [rsp + 0x70]
lea rdx, [rsp + 0x78]
mov rax, qword [rcx]
call qword [rax + 0x68]
cmp eax, r14d
jne 0x100033de6
mov rdx, qword [rsp + 0x78]
lea r9d, [rdi + 1]
lea r8, [rsp + 0x80]
mov rcx, rbx
call fcn.1000091b0
cmp eax, r14d
jne 0x100033de6
mov rdx, qword [rsp + 0x78]
lea r9d, [rdi + 2]
lea r8, [rsp + 0x80]
mov rcx, rbx
call fcn.1000091b0
cmp eax, r14d
jne 0x100033de6
mov rcx, qword [rsp + 0x78]
cmp rcx, r14
je 0x100009642
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
mov qword [rsp + 0x78], r14
mov rcx, qword [rsp + 0x70]
cmp rcx, r14
je 0x100009652
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
inc dword [rbx + 0x18]
cmp edi, r14d
je 0x100009792
xor edx, edx
lea rcx, [rsp + 0xd0]
lea r8d, [rdx + 0x74]
call sub.msvcrt.dll_memset
lea r9, [rsp + 0xd0]
xor r8d, r8d
mov edx, reloc.MFC42u.dll_CObList::AddTail
mov rcx, r12
mov dword [rsp + 0xd0], 0x74
mov qword [rsp + 0x70], r14
call qword [sym.imp.USER32.dll_SendMessageW]
mov r11d, dword [rsp + 0xd4]
movzx edi, word [rsp + 0x82]
bts r11d, 0x19
lea r8, [rsp + 0x88]
shl di, 0xa
bts r11d, 0x1f
mov edx, 0x20
or di, word [rsp + 0x80]
bts r11d, 0x1d
lea rcx, [rsp + 0xea]
movzx eax, di
mov dword [rsp + 0xd4], r11d
mov dword [rsp + 0x134], eax
mov eax, dword [rsp + 0x84]
mov dword [rsp + 0xdc], eax
lea rax, [rsp + 0xea]
sub r8, rax
lea rax, [rdx + 0x7fffffde]
cmp rax, r14
je 0x100009729
movzx eax, word [r8 + rcx]
cmp ax, r14w
je 0x100009729
mov word [rcx], ax
add rcx, 2
sub rdx, 1
jne 0x100009705
cmp rdx, r14
je 0x100033df7
mov word [rcx], r14w
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetKeyboardLayout]
cmp r13d, r14d
jne 0x100009768
cmp ax, di
je 0x100033e00
cmp r14w, word [rsp + 0x82]
jne 0x100009768
xor ax, di
mov ecx, COleDropTarget::XDropTarget::AddRef
test cx, ax
je 0x100009442
lea r9, [rsp + 0xd0]
mov edx, 0x444
mov r8d, reloc.OLEAUT32.dll_SafeArrayGetDim
mov rcx, r12
mov qword [rsp + 0x70], r14
call qword [sym.imp.USER32.dll_SendMessageW]
jmp 0x10000955b
mov dword [rbx + 0x18], r14d
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.1000011e0
lea r11, [rsp + 0x160]
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x48]
mov rsp, r11
pop r14
pop r13
pop r12
pop rdi
pop rsi
ret
mov r8, rdx
xor r9d, r9d
mov dl, 1
jmp 0x100009524
mov rcx, rbx
mov edi, r14d
call fcn.100013478
nop
jmp 0x10000962d
sub rcx, 2
jmp 0x100009732
mov r13d, 1
jmp 0x100009444