Function at 0x1400372c4
Capabilities:
Log keystrokes

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0xd0]
sub rsp, 0x1d0
mov rax, qword [0x1401f5698]
xor rax, rsp
mov qword [rbp + 0xc0], rax
mov ebx, edx
mov r14, rcx
mov dword [rsp + 0x30], edx
xor r15d, r15d
mov edi, r15d
mov rax, qword [rcx + 0xe8]
mov ecx, 0x1800
movzx r12d, word [rax + 0x3ed0]
and r12w, cx
mov esi, r15d
lea rcx, [rsp + 0x38]
call fcn.1401086e4
nop
xor r8d, r8d
lea rdx, [rsp + 0x38]
mov rcx, qword [r14 + 0xe8]
call fcn.140013064
test eax, eax
js 0x14003734e
mov rcx, qword [rsp + 0x40]
call fcn.14010f780
mov rsi, rax
test rsi, rsi
jne 0x14003736b
mov rax, qword [r14 + 0xe8]
mov ecx, 0xe3ff
and word [rax + 0x3ed0], cx
jmp 0x140037669
mov rcx, rsi
call fcn.1400b8174
mov r15d, eax
mov rcx, qword [r14 + 0xe8]
mov eax, 0x1400
test word [rcx + 0x3ed0], ax
setne dl
mov byte [rsp + 0x20], 0
mov r9d, 1
lea r8, [rsp + 0x70]
mov rcx, rsi
call fcn.1400a6fa4
xor ecx, ecx
test al, al
je 0x140037669
lea eax, [rcx + 1]
mov word [rsp + 0x58], ax
mov dword [rsp + 0x68], 0x128
mov word [rsp + 0x62], cx
mov r8, qword [r14 + 0xe8]
mov eax, 0x400
test word [r8 + 0x3ed0], ax
je 0x14003747e
lea ecx, [r15 - 0xd]
movsx edx, word [rsp + 0x30]
cmp edx, ecx
jl 0x140037405
movsx edx, word [r8 + 0x3eda]
lea ecx, [r15 - 0xc]
cmp ecx, edx
cmovge dx, cx
mov word [rsp + 0x30], dx
mov ebx, dword [rsp + 0x30]
movzx eax, word [rsp + 0x32]
mov word [r8 + 0x3edc], ax
mov rcx, qword [r14 + 0xe8]
cmp dx, word [rcx + 0x3eda]
jge 0x140037446
mov eax, 0x25
mov word [rsp + 0x62], ax
movsx edi, word [rcx + 0x3eda]
movsx eax, dx
mov word [rcx + 0x3eda], dx
lea rdx, str.CtrlLeft
jmp 0x14003746e
jle 0x140037518
mov eax, 0x27
mov word [rsp + 0x62], ax
movsx eax, word [rcx + 0x3eda]
movsx edi, dx
mov word [rcx + 0x3eda], dx
lea rdx, str.CtrlRight
sub edi, eax
lea rcx, [rbp - 0x80]
call fcn.14000129c
jmp 0x140037518
movzx eax, word [rsp + 0x30]
mov word [r8 + 0x3eda], ax
mov rdx, qword [r14 + 0xe8]
movsx ecx, word [rsp + 0x32]
mov r15d, 0x1800
cmp cx, word [rdx + 0x3edc]
jge 0x1400374d0
mov eax, 0x26
mov word [rsp + 0x62], ax
movsx edi, word [rdx + 0x3edc]
sub edi, ecx
mov word [rdx + 0x3edc], cx
lea rax, str.CtrlShiftUp
lea rdx, str.CtrlUp
jmp 0x1400374fc
jle 0x14003750d
mov eax, 0x28
mov word [rsp + 0x62], ax
movsx eax, word [rdx + 0x3edc]
mov edi, ecx
sub edi, eax
mov word [rdx + 0x3edc], cx
lea rax, str.CtrlShiftDown
lea rdx, str.CtrlDown
cmp r12w, r15w
cmovne rdx, rax
lea rcx, [rbp - 0x80]
call fcn.14000129c
cmp r12w, r15w
je 0x140037518
or dword [rsp + 0x68], 0x10
movzx ecx, word [rsp + 0x62]
xor r15d, r15d
test cx, cx
je 0x140037669
mov rax, qword [0x14022ab50]
cmp byte [rax + 0x1106f], 2
jne 0x14003761b
lea r12d, [r15 + 1]
mov dl, r12b
mov rcx, rsi
call fcn.1400b92c4
test al, al
je 0x140037669
mov rax, qword [r14 + 0xe8]
mov dword [rax + 0x3eda], ebx
lea eax, [r15 + 0x40]
mov word [rbp - 0x40], ax
mov rcx, rsi
call fcn.1400a8f94
test al, al
je 0x14003759d
lea edx, [r15 + 0x7f]
lea rcx, [rbp - 0x3e]
cmp edi, r12d
jle 0x14003758b
lea r8, str.for_RCounter__i_1__1_do_Keys___s___end
jmp 0x1400375b2
lea r9, [rbp - 0x80]
lea r8, str.Keys___s__
call fcn.1401145a0
jmp 0x14003760a
cmp edi, r12d
jle 0x1400375c5
lea r8, str._Rep___i___s__End
mov edx, 0x7f
lea rcx, [rbp - 0x3e]
lea rax, [rbp - 0x80]
mov r9d, edi
mov qword [rsp + 0x20], rax
call fcn.1401145a0
jmp 0x14003760a
mov ecx, 0x7f
lea rdx, [rbp - 0x3e]
lea r8, [rbp - 0x80]
lea rax, [rbp - 0x3e]
sub r8, rax
lea rax, [rcx + 0x7fffff7f]
test rax, rax
je 0x1400375fb
movzx eax, word [r8 + rdx]
test ax, ax
je 0x1400375fb
mov word [rdx], ax
add rdx, 2
sub rcx, r12
jne 0x1400375d9
lea rax, [rdx - 2]
test rcx, rcx
cmovne rax, rdx
mov word [rax], r15w
xor r8d, r8d
lea rdx, [rbp - 0x40]
mov rcx, rsi
call fcn.1400adedc
jmp 0x140037669
xor edx, edx
call qword [sym.imp.USER32.dll_MapVirtualKeyW]
mov word [rsp + 0x64], ax
mov word [rsp + 0x60], di
mov ebx, 1
mov dword [rsp + 0x5c], ebx
xor r8d, r8d
lea rdx, [rsp + 0x58]
mov rcx, rsi
call fcn.1400ad4dc
mov dword [rsp + 0x5c], r15d
mov word [rsp + 0x60], bx
mov dword [rsp + 0x68], pe_nt_image_headers64
xor r8d, r8d
lea rdx, [rsp + 0x58]
mov rcx, rsi
call fcn.1400ad4dc
nop
lea rcx, [rsp + 0x38]
call fcn.14010878c
mov rcx, qword [rbp + 0xc0]
xor rcx, rsp
call fcn.14012bda0
mov rbx, qword [rsp + 0x220]
add rsp, 0x1d0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret