Function at 0x1400793e0
Capabilities:
Log keystrokes

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x168
mov rsi, qword [rsp + 0x1d0]
mov rdi, rdx
lea r12, [rsp + 0x48]
mov r13, r9
mov dword [rsp + 0x3c], r8d
mov qword [rsp + 0x48], 0
mov rbx, rcx
mov rcx, r12
mov r14d, r13d
call qword [sym.imp.USER32.dll_GetCursorPos]
mov rax, qword [rdi + 0x10]
mov rdi, rsi
mov rdx, r12
sar rdi, 0x10
mov r15d, dword [rsp + 0x48]
mov ebp, dword [rsp + 0x4c]
mov rcx, qword [rax + 0x30]
movzx edi, dil
call qword [sym.imp.USER32.dll_ScreenToClient]
mov r12, qword [sym.imp.USER32.dll_MapVirtualKeyA]
cmp r13, 0x10
je 0x1400795e0
xor edx, edx
mov ecx, r14d
and esi, 0x1000000
call r12
mov edx, 2
mov ecx, r14d
mov r13d, eax
call r12
cmp byte [rsp + 0x3c], 1
mov r12d, eax
mov eax, 9
adc eax, 0
mov dword [rbx], eax
call qword [sym.imp.USER32.dll_GetMessageTime]
pxor xmm0, xmm0
cvtsi2sd xmm0, eax
mulsd xmm0, qword [0x140230c50]
movsd qword [rbx + 8], xmm0
call fcn.140079350
pxor xmm0, xmm0
mov dword [rbx + 0x34], edi
lea ecx, [r14 + 0xdf90]
cvtsi2sd xmm0, dword [rsp + 0x48]
mov dword [rbx + 0x30], eax
mov edx, eax
lea eax, [r14 - 0x70]
mov dword [rbx + 0x38], 0
movsd qword [rbx + 0x20], xmm0
pxor xmm0, xmm0
cvtsi2sd xmm0, dword [rsp + 0x4c]
movsd qword [rbx + 0x28], xmm0
pxor xmm0, xmm0
cvtsi2sd xmm0, r15d
movsd qword [rbx + 0x10], xmm0
pxor xmm0, xmm0
cvtsi2sd xmm0, ebp
movsd qword [rbx + 0x18], xmm0
cmp eax, 0xb
ja 0x140079520
mov dword [rbx + 0x38], ecx
nop word [rax + rax]
mov dword [rbx + 0x30], edx
add rsp, 0x168
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
cmp rsi, 1
lea r8d, [r14 - 0x21]
sbb eax, eax
and eax, 0x40
add eax, 0xe031
add eax, r8d
cmp r8d, 7
jbe 0x1400795a0
lea eax, [r14 - 0x60]
lea ecx, [r14 + 0xe000]
cmp eax, 9
jbe 0x1400794ff
lea eax, [r14 - 0x6a]
lea ecx, [r14 + 0xe040]
cmp eax, 5
jbe 0x1400794ff
lea eax, [r14 - 0xa0]
cmp eax, 5
ja 0x140079600
lea eax, [r14 + 0xdfb1]
mov dword [rbx + 0x38], eax
cmp eax, 0xe054
ja 0x1400795d0
nop dword [rax]
cmp eax, 0xe052
ja 0x1400795f8
sub eax, 0xe051
cmp eax, 1
ja 0x140079508
and edx, 0xfffffffe
jmp 0x140079508
mov dword [rbx + 0x38], eax
cmp eax, 0xe054
jbe 0x140079580
cmp eax, 0xe056
jbe 0x1400795d0
sub eax, 0xe057
cmp eax, 1
ja 0x140079508
and edx, 0xfffffff7
jmp 0x140079508
and edx, 0xfffffffb
jmp 0x140079508
mov edx, 3
mov ecx, edi
call r12
mov r14d, eax
jmp 0x140079459
and edx, 0xfffffffd
jmp 0x140079508
cmp r14d, 0x2c
ja 0x140079628
cmp r14d, 7
jbe case.0x140079623.9
lea eax, [r14 - 8]
cmp eax, 0x24
ja case.0x140079623.9
lea r8, [0x1402305ac]
movsxd rax, dword [r8 + rax*4]
add rax, r8
jmp rax
cmp r14d, 0x90
je 0x140079880
jbe 0x140079650
cmp r14d, 0x91
jne 0x140079890
mov dword [rbx + 0x38], 0xe046
jmp 0x140079508
cmp r14d, 0x5b
je 0x140079870
cmp r14d, 0x5c
jne case.0x140079623.9
mov dword [rbx + 0x38], 0xe058
jmp 0x1400795bf
mov eax, r14d
test rsi, rsi
je 0x14007989c
sub rax, 0xd
cmp rax, 0x21
ja 0x140079696
lea r8, [0x140238880]
movzx eax, word [r8 + rax*2]
test eax, eax
jne 0x1400795a0
test r12d, r12d
js 0x14007950b
xor eax, eax
mov edx, r13d
lea r9, [rsp + 0x56]
mov ecx, r14d
mov qword [rsp + 0x60], 0
lea r8, [rsp + 0x60]
mov qword [rsp + 0x68], 0
mov qword [rsp + 0x70], 0
mov qword [rsp + 0x78], 0
mov qword [rsp + 0x80], 0
mov qword [rsp + 0x88], 0
mov qword [rsp + 0x90], 0
mov qword [rsp + 0x98], 0
mov qword [rsp + 0xa0], 0
mov qword [rsp + 0xa8], 0
mov qword [rsp + 0xb0], 0
mov qword [rsp + 0xb8], 0
mov qword [rsp + 0xc0], 0
mov qword [rsp + 0xc8], 0
mov qword [rsp + 0xd0], 0
mov qword [rsp + 0xd8], 0
mov qword [rsp + 0xe0], 0
mov qword [rsp + 0xe8], 0
mov qword [rsp + 0xf0], 0
mov qword [rsp + 0xf8], 0
mov qword [rsp + 0x100], 0
mov qword [rsp + 0x108], 0
mov qword [rsp + 0x110], 0
mov qword [rsp + 0x118], 0
mov qword [rsp + 0x120], 0
mov qword [rsp + 0x128], 0
mov qword [rsp + 0x130], 0
mov qword [rsp + 0x138], 0
mov qword [rsp + 0x140], 0
mov qword [rsp + 0x148], 0
mov qword [rsp + 0x150], 0
mov qword [rsp + 0x158], 0
mov qword [rsp + 0x56], 0
mov word [rsp + 0x5e], ax
mov dword [rsp + 0x28], 4
mov dword [rsp + 0x20], 4
call qword [sym.imp.USER32.dll_ToUnicode]
movzx eax, word [rsp + 0x56]
lea edx, [rax - 0xd800]
cmp edx, 0x3ff
mov edx, 0xfffd
cmovbe eax, edx
mov dword [rbx + 0x38], eax
jmp 0x14007950b
mov dword [rbx + 0x38], 0xe057
jmp 0x1400795bf
mov dword [rbx + 0x38], 0xe045
jmp 0x140079508
mov eax, r14d
test rsi, rsi
jne 0x140079696
sub rax, 0x10
cmp rax, 0x1e
ja 0x140079696
lea r8, [0x1402388e0]
mov eax, dword [r8 + rax*4]
jmp 0x14007968e
mov r14d, 0xe09d
mov dword [rbx + 0x38], r14d
jmp 0x140079508
mov dword [rbx + 0x38], 0xe041
jmp 0x140079508
mov dword [rbx + 0x38], 0xe047
jmp 0x140079508
mov dword [rbx + 0x38], 0xe043
jmp 0x140079508