Function at 0x140182d40
Capabilities:
Check for time delay via gettickcount
Log keystrokes via polling

Disassembly:
push rbp
push r12
push r14
push r15
sub rsp, 0x68
mov rax, qword [0x140324030]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov r15, r9
mov r12, r8
mov r14d, edx
mov rbp, rcx
cmp edx, 0xff
jne 0x140183056
lea r9, [rsp + 0x38]
xor r8d, r8d
mov edx, 0x10000003
mov rcx, r15
mov qword [rsp + 0x58], rsi
mov dword [rsp + 0x20], SafeArrayCopy
mov qword [rsp + 0x50], rdi
call qword [sym.imp.USER32.dll_GetRawInputData]
mov ecx, dword [rsp + 0x38]
call fcn.1401e355c
lea r9, [rsp + 0x38]
mov edx, 0x10000003
mov rcx, r15
mov r8, rax
mov dword [rsp + 0x20], SafeArrayCopy
mov rdi, rax
call qword [sym.imp.USER32.dll_GetRawInputData]
mov ecx, 0x10
call qword [sym.imp.USER32.dll_GetKeyState]
movzx esi, ax
mov eax, dword [rdi]
shr esi, 0xf
and esi, 1
test eax, eax
je 0x140182dea
cmp eax, 1
jne 0x140183043
jmp 0x140182df3
cmp eax, 1
jne 0x140182fdf
movzx ecx, word [rdi + 0x1e]
mov eax, 0x84
mov qword [rsp + 0x60], rbx
cmp cx, ax
jne 0x140182e0f
cmp dword [rdi + 0x20], 0x101
je 0x140182e44
cmp cx, 0x53
jne 0x140182e22
cmp dword [rdi + 0x20], 0x101
jne 0x140182e22
test esi, esi
jne 0x140182e44
cmp cx, 0x7b
jne 0x140182e31
cmp dword [rdi + 0x20], 0x101
je 0x140182e44
cmp cx, 0x7a
jne 0x140182ebc
cmp dword [rdi + 0x20], 0x101
jne 0x140182ebc
mov rax, qword [0x14032d910]
test rax, rax
je 0x140182e69
mov ebx, dword [rax + 0x2f40]
call qword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, ebx
cmp eax, 0x1f4
jb 0x140182fda
cmp qword [0x14032d918], 0
je 0x140182fda
lea rdx, str.WindowProc__HotKey_PostMsg__SelectNextPanel_
lea rcx, [rsp + 0x30]
call qword [sym.imp.mfc110u.dll_Ordinal_286]
lea rcx, [0x14034efc0]
mov rdx, rax
call qword [sym.imp.LogMsgInterface.dll_public:_void___cdecl_CLogMsgInterface::writeLogData_class_ATL::CStringT_wchar_t__class_StrTraitMFC_DLL_wchar_t__class_ATL::ChTraitsCRT_wchar_t_______ptr64]
mov rcx, qword [0x14032d918]
movzx r8d, word [rdi + 0x1e]
mov rcx, qword [rcx + 0x40]
movsxd r9, esi
mov edx, 0x917
call qword [sym.imp.USER32.dll_PostMessageW]
jmp 0x140182fda
mov eax, 0x87
cmp cx, ax
jne 0x140182ecf
cmp dword [rdi + 0x20], 0x100
je 0x140182ee6
mov eax, 0xbf
cmp cx, ax
jne 0x140182ef8
cmp dword [rdi + 0x20], 0x101
jne 0x140182ef8
test esi, esi
je 0x140182ef8
mov rcx, qword [0x14032d928]
call qword [sym.imp.mfc110u.dll_Ordinal_13020]
jmp 0x140182fda
lea eax, [rcx - 0x25]
mov edx, 0xfffd
test dx, ax
je 0x140182fc2
test esi, esi
je 0x140182f93
cmp cx, 0x51
jne 0x140182f93
cmp dword [rdi + 0x20], 0x100
jne 0x140182f93
mov rax, qword [0x14032d910]
test rax, rax
je 0x140182f45
mov ebx, dword [rax + 0x2f40]
call qword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, ebx
cmp eax, 0x1f4
jb 0x140182fda
cmp qword [0x14032d908], 0
je 0x140182fda
lea rdx, str.WindowProc__HotKey_PostMsg__MaximizeMinimap_
lea rcx, [rsp + 0x30]
call qword [sym.imp.mfc110u.dll_Ordinal_286]
lea rcx, [0x14034efc0]
mov rdx, rax
call qword [sym.imp.LogMsgInterface.dll_public:_void___cdecl_CLogMsgInterface::writeLogData_class_ATL::CStringT_wchar_t__class_StrTraitMFC_DLL_wchar_t__class_ATL::ChTraitsCRT_wchar_t_______ptr64]
mov rcx, qword [0x14032d908]
xor r9d, r9d
mov rcx, qword [rcx + 0x40]
xor r8d, r8d
mov edx, 0x916
call qword [sym.imp.USER32.dll_PostMessageW]
jmp 0x140182fda
cmp cx, 9
jne 0x140182fda
cmp dword [rdi + 0x20], 0x100
jne 0x140182fda
mov ecx, 0x10
call qword [sym.imp.USER32.dll_GetKeyState]
bt eax, 0xf
jb 0x140182fda
mov rcx, qword [0x14032d8f8]
call qword [sym.imp.mfc110u.dll_Ordinal_13020]
jmp 0x140182fda
mov rcx, qword [0x14032d928]
call qword [sym.imp.mfc110u.dll_Ordinal_13020]
mov ecx, gethostname
call qword [sym.imp.KERNEL32.dll_Sleep]
mov rbx, qword [rsp + 0x60]
lea rcx, [rbp + 0x3cd68]
test rcx, rcx
je 0x140182ffa
cmp qword [rcx + 0x40], 0
je 0x140182ffa
xor edx, edx
call qword [sym.imp.mfc110u.dll_Ordinal_13685]
mov rcx, qword [rbp + 0x40]
mov edx, 0x1f4
call qword [sym.imp.USER32.dll_KillTimer]
cmp byte [0x14034e741], 0
mov rcx, qword [rbp + 0x40]
mov edx, 0x1f4
jne 0x140183034
mov r8d, dword [0x14034e744]
mov eax, 0x4e20
cmp r8d, 0xbb8
cmovl r8d, eax
jmp 0x14018303a
mov r8d, 0x3e8
xor r9d, r9d
call qword [sym.imp.USER32.dll_SetTimer]
mov rcx, rdi
call qword [sym.imp.MSVCR110.dll_void___cdecl_operator_delete___void____ptr64_]
mov rdi, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
mov r9, r15
mov r8, r12
mov edx, r14d
mov rcx, rbp
call qword [sym.imp.mfc110u.dll_Ordinal_14029]
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.1401e3980
add rsp, 0x68
pop r15
pop r14
pop r12
pop rbp
ret