Function at 0x11019000
Capabilities:
Get keyboard layout
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x111898be
mov eax, dword fs:[0]
push eax
sub esp, 0x240
mov eax, dword [0x112194bc]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x248], ecx
mov edi, dword [ebp + 8]
xor ecx, ecx
movzx eax, word [ebp + 0xc]
movzx ebx, word [ebp + 0x10]
mov dword [ebp - 0x24c], edi
mov dword [ebp - 0x240], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 7
mov word [edi], cx
mov dword [ebp - 0x244], eax
mov dword [edi + 0x18], ecx
mov dword [ebp - 4], ecx
mov ecx, dword [0x1119ad38]
mov dword [ebp - 0x18], ecx
mov ecx, dword [0x1119ad3c]
mov dword [ebp - 0x240], 1
mov dword [ebp - 0x14], ecx
test ax, ax
jne 0x11019098
test bx, bx
je 0x110192eb
mov esi, dword [sym.imp.USER32.dll_MapVirtualKeyExW]
mov eax, dword [sym.imp.USER32.dll_GetKeyboardLayout]
test bl, 2
je 0x11019155
push 0
call eax
push eax
push 0
push 0x11
call esi
push 0x208
mov esi, eax
lea eax, [ebp - 0x220]
push 0
push eax
call fcn.111228c0
add esp, 0xc
shl esi, 0x10
lea eax, [ebp - 0x220]
push 0x104
push eax
push esi
call dword [sym.imp.USER32.dll_GetKeyNameTextW]
push dword [section..data]
lea eax, [ebp - 0x220]
push eax
lea ecx, [ebp - 0x23c]
call fcn.11010af0
mov dword [ebp - 0x240], 3
cmp dword [ebp - 0x228], 8
lea eax, [ebp - 0x23c]
push dword [ebp - 0x22c]
cmovae eax, dword [ebp - 0x23c]
mov ecx, edi
push eax
mov dword [ebp - 4], 1
call fcn.110170b0
lea ecx, [ebp - 0x23c]
mov byte [ebp - 4], 0
call fcn.1100e280
lea eax, [ebp - 0x18]
mov ecx, edi
push eax
call fcn.11018710
mov esi, dword [sym.imp.USER32.dll_MapVirtualKeyExW]
mov eax, dword [sym.imp.USER32.dll_GetKeyboardLayout]
test bl, 1
je 0x110191f9
push 0
call eax
push eax
push 0
push 0x10
call esi
push 0x208
mov esi, eax
lea eax, [ebp - 0x220]
push 0
push eax
call fcn.111228c0
add esp, 0xc
shl esi, 0x10
lea eax, [ebp - 0x220]
push 0x104
push eax
push esi
call dword [sym.imp.USER32.dll_GetKeyNameTextW]
push dword [section..data]
lea eax, [ebp - 0x220]
push eax
lea ecx, [ebp - 0x23c]
call fcn.11010af0
or dword [ebp - 0x240], 4
cmp dword [ebp - 0x228], 8
lea eax, [ebp - 0x23c]
push dword [ebp - 0x22c]
cmovae eax, dword [ebp - 0x23c]
mov ecx, edi
push eax
mov dword [ebp - 4], 2
call fcn.110170b0
lea ecx, [ebp - 0x23c]
mov byte [ebp - 4], 0
call fcn.1100e280
lea eax, [ebp - 0x18]
mov ecx, edi
push eax
call fcn.11018710
test bl, 4
je 0x110192a5
push 0
call dword [sym.imp.USER32.dll_GetKeyboardLayout]
push eax
push 0
push 0x12
call dword [sym.imp.USER32.dll_MapVirtualKeyExW]
push 0x208
mov esi, eax
lea eax, [ebp - 0x220]
push 0
push eax
call fcn.111228c0
add esp, 0xc
shl esi, 0x10
lea eax, [ebp - 0x220]
push 0x104
push eax
push esi
call dword [sym.imp.USER32.dll_GetKeyNameTextW]
push dword [section..data]
lea eax, [ebp - 0x220]
push eax
lea ecx, [ebp - 0x23c]
call fcn.11010af0
or dword [ebp - 0x240], 8
cmp dword [ebp - 0x228], 8
lea eax, [ebp - 0x23c]
push dword [ebp - 0x22c]
cmovae eax, dword [ebp - 0x23c]
mov ecx, edi
push eax
mov dword [ebp - 4], 3
call fcn.110170b0
lea ecx, [ebp - 0x23c]
mov byte [ebp - 4], 0
call fcn.1100e280
lea eax, [ebp - 0x18]
mov ecx, edi
push eax
call fcn.11018710
mov eax, dword [ebp - 0x244]
and ebx, 8
mov ecx, dword [ebp - 0x248]
push ebx
movzx eax, ax
push eax
lea eax, [ebp - 0x23c]
push eax
call sym.DuiLib.dll_public:_class_faw::String___thiscall_DuiLib::CHotKeyUI::GetKeyName_unsigned_int__int_
cmp dword [eax + 0x14], 8
mov ecx, dword [eax + 0x10]
mov dword [ebp - 4], 4
jb 0x110192d7
mov eax, dword [eax]
push ecx
push eax
mov ecx, edi
call fcn.110170b0
lea ecx, [ebp - 0x23c]
call fcn.1100e280
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.110d0a88
mov esp, ebp
pop ebp
ret 0xc