Function at 0x140059b10
Capabilities:
Log keystrokes

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
movzx r9d, cl
xor edi, edi
mov word [rdx], di
mov r10b, r8b
mov rbx, rdx
mov ecx, r9d
cmp r9d, 0x5c
ja 0x140059d0f
cmp ecx, 0x5b
jae 0x140059d03
cmp ecx, 0x1b
ja 0x140059c3a
je 0x140059c2e
cmp ecx, 9
ja 0x140059bc5
je 0x140059bb9
mov edx, ecx
test r9b, r9b
je 0x140059e44
sub edx, 1
je 0x140059bad
sub edx, 1
je 0x140059ba1
sub edx, 1
je 0x140059b95
sub edx, 1
je 0x140059b89
cmp edx, 4
jne 0x140059db9
lea r8, str.Backspace
jmp 0x140059e37
lea r8, str.MButton
jmp 0x140059e37
lea r8, str.Break
jmp 0x140059e37
lea r8, str.RButton
jmp 0x140059e37
lea r8, str.LButton
jmp 0x140059e37
lea r8, [0x14018a200]
jmp 0x140059e37
mov edx, ecx
sub edx, 0xd
je 0x140059c22
sub edx, 3
je 0x140059c16
sub edx, 1
je 0x140059c0a
sub edx, 1
je 0x140059bfe
cmp edx, 1
jne 0x140059db9
test r10b, r10b
lea rax, str.Pause
lea r8, str.Break
cmovne r8, rax
jmp 0x140059e37
lea r8, [0x14018a150]
jmp 0x140059e37
lea r8, str.Ctrl
jmp 0x140059e37
lea r8, str.Shift
jmp 0x140059e37
lea r8, [0x1401870f0]
jmp 0x140059e37
lea r8, [0x14018a208]
jmp 0x140059e37
cmp ecx, 0x25
ja 0x140059ca8
je 0x140059c9c
mov edx, ecx
sub edx, 0x20
je 0x140059c90
sub edx, 1
je 0x140059c84
sub edx, 1
je 0x140059c78
sub edx, 1
je 0x140059c6c
cmp edx, 1
jne 0x140059db9
lea r8, str.Home
jmp 0x140059e37
lea r8, [0x14018a240]
jmp 0x140059e37
lea r8, str.PgDn
jmp 0x140059e37
lea r8, str.PgUp
jmp 0x140059e37
lea r8, str.Space
jmp 0x140059e37
lea r8, [0x1401816e0]
jmp 0x140059e37
mov edx, ecx
sub edx, 0x26
je 0x140059cf7
sub edx, 1
je 0x140059ceb
sub edx, 1
je 0x140059cdf
sub edx, 5
je 0x140059cd3
cmp edx, 1
jne 0x140059db9
lea r8, str.Delete
jmp 0x140059e37
lea r8, str.Insert
jmp 0x140059e37
lea r8, [0x14018a1c0]
jmp 0x140059e37
lea r8, str.Right
jmp 0x140059e37
lea r8, [0x14018a1b4]
jmp 0x140059e37
lea r8, [0x14018a118]
jmp 0x140059e37
mov eax, 0xa5
cmp ecx, eax
ja 0x140059d8e
je 0x140059d82
mov edx, ecx
sub edx, 0x5d
je 0x140059d76
sub edx, 0x43
je 0x140059d6a
sub edx, 1
je 0x140059d5e
sub edx, 1
je 0x140059d52
sub edx, 1
je 0x140059d46
cmp edx, 1
jne 0x140059db9
lea r8, str.LAlt
jmp 0x140059e37
lea r8, str.RCtrl
jmp 0x140059e37
lea r8, str.LCtrl
jmp 0x140059e37
lea r8, str.RShift
jmp 0x140059e37
lea r8, str.LShift
jmp 0x140059e37
lea r8, [0x14018a1a8]
jmp 0x140059e37
lea r8, str.RAlt
jmp 0x140059e37
mov edx, ecx
sub edx, 0xbb
je 0x140059e30
sub edx, 2
je 0x140059e27
sub edx, 0x13
je 0x140059e1e
sub edx, 1
je 0x140059e15
sub edx, 1
je 0x140059e0c
cmp edx, 1
je 0x140059e03
lea eax, [r9 - 0x70]
cmp al, 0x17
ja 0x140059dd9
lfence
lea r8d, [r9 - 0x6f]
mov rcx, rbx
lea rdx, [0x14018a318]
call fcn.1400011a0
jmp 0x140059e44
lea eax, [r9 - 0x41]
cmp al, 0x19
jbe 0x140059df9
lea eax, [r9 - 0x30]
cmp al, 9
jbe 0x140059df9
mov edx, 2
call qword [sym.imp.USER32.dll_MapVirtualKeyW]
mov word [rbx], ax
jmp 0x140059dfd
mov word [rbx], r9w
mov word [rbx + 2], di
jmp 0x140059e44
lea r8, str.WheelRight
jmp 0x140059e37
lea r8, str.WheelLeft
jmp 0x140059e37
lea r8, str.WheelDown
jmp 0x140059e37
lea r8, str.WheelUp
jmp 0x140059e37
lea r8, [0x14018a27c]
jmp 0x140059e37
lea r8, [0x14018a284]
mov edx, 0x20
mov rcx, rbx
call fcn.140001e48
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret