Function at 0x140060610
Capabilities:
Log keystrokes via application hook
Log keystrokes via polling

Disassembly:
mov r11, rsp
push rbp
lea rbp, [r11 - 0x5f]
sub rsp, 0x90
mov rax, qword [0x140118480]
xor rax, rsp
mov qword [rbp + 0x47], rax
mov r9, qword [rdx]
mov r10, qword [rdx + 8]
sub r10, r9
je 0x140060a23
mov r8d, dword [reloc.WLDAP32.dll_Ordinal_50]
lea rax, [r9 + 1]
mov qword [r11 + 8], rbx
not r9
mov ebx, dword [0x140191f68]
mov qword [r11 + 0x10], rdi
mov r11d, dword [0x140156468]
mov edi, dword [0x140156464]
nop word [rax + rax]
movzx edx, byte [rax + 1]
sub edx, r11d
mov ecx, edx
neg ecx
cmovs ecx, edx
cmp ecx, r8d
jg 0x1400606a6
movzx edx, byte [rax]
sub edx, ebx
mov ecx, edx
neg ecx
cmovs ecx, edx
cmp ecx, r8d
jg 0x1400606a6
movzx edx, byte [rax - 1]
sub edx, edi
mov ecx, edx
neg ecx
cmovs ecx, edx
cmp ecx, r8d
jle 0x1400606b8
add rax, 4
lea rcx, [rax + r9]
cmp rcx, r10
jb 0x140060670
jmp 0x140060a13
cmp byte [0x1401c8f87], 0
je 0x140060765
xor r9d, r9d
lea rdx, [0x14005df70]
xor r8d, r8d
lea ecx, [r9 + 0xe]
call qword [sym.imp.USER32.dll_SetWindowsHookExA]
mov qword [0x1401c8fc0], rax
test rax, rax
je 0x140060700
mov ecx, reloc.WLDAP32.dll_Ordinal_50
call qword [sym.imp.KERNEL32.dll_Sleep]
mov rcx, qword [0x1401c8fc0]
call qword [sym.imp.USER32.dll_UnhookWindowsHookEx]
movzx ebx, byte [0x14015640c]
xor r9d, r9d
movzx ecx, bl
xor r8d, r8d
xor edx, edx
call qword [sym.imp.USER32.dll_keybd_event]
xor r9d, r9d
xor edx, edx
movzx ecx, bl
lea r8d, [r9 + 2]
call qword [sym.imp.USER32.dll_keybd_event]
xor r9d, r9d
lea rdx, [0x14005df70]
xor r8d, r8d
lea ecx, [r9 + 0xe]
call qword [sym.imp.USER32.dll_SetWindowsHookExA]
mov qword [0x1401c8fc0], rax
test rax, rax
je 0x140060765
mov ecx, reloc.WS2_32.dll_ntohs
call qword [sym.imp.KERNEL32.dll_Sleep]
mov rcx, qword [0x1401c8fc0]
call qword [sym.imp.USER32.dll_UnhookWindowsHookEx]
cmp byte [0x1401c9018], 0
movabs rbx, 0x7fffffffffffffff
je 0x140060814
movsx eax, byte [0x14015640c]
lea rdx, [rbp - 9]
xorps xmm0, xmm0
mov r8d, Ordinal_45
movups xmmword [rbp - 9], xmm0
mov dword [rbp - 9], 1
movups xmmword [rbp + 0x17], xmm0
lea ecx, [r8 - 0x27]
mov dword [rbp + 0x1f], 1
movups xmmword [rbp + 0x27], xmm0
mov word [rbp + 0x27], ax
movups xmmword [rbp + 7], xmm0
mov word [rbp - 1], ax
movups xmmword [rbp + 0x37], xmm0
call qword [sym.imp.USER32.dll_SendInput]
lea rcx, [rbp - 0x19]
call fcn.140058ab0
mov rax, qword [rbp - 0x19]
movabs rcx, 0x7ffffffffa0a1eff
cmp rax, rcx
jge 0x1400607ec
add rax, 0x5f5e100
mov qword [rbp - 0x19], rax
jmp 0x1400607f0
mov qword [rbp - 0x19], rbx
lea rcx, [rbp - 0x19]
call fcn.140070c50
mov r8d, Ordinal_45
mov dword [rbp + 0x2b], 2
lea rdx, [rbp + 0x1f]
lea ecx, [r8 - 0x27]
call qword [sym.imp.USER32.dll_SendInput]
xor edi, edi
cmp byte [0x1401c8fcf], dil
je 0x14006089e
mov eax, reloc.WS2_32.dll_recvfrom
mov dword [rbp - 9], 1
lea r8d, [rdi + 0x28]
mov word [rbp - 1], ax
lea rdx, [rbp - 9]
mov word [rbp + 0x27], ax
lea ecx, [rdi + 1]
mov dword [rbp + 3], edi
mov dword [rbp + 0x1f], 1
mov dword [rbp + 0x2b], 2
call qword [sym.imp.USER32.dll_SendInput]
lea rcx, [rbp - 0x19]
call fcn.140058ab0
mov rax, qword [rbp - 0x19]
movabs rcx, 0x7ffffffffe363c7f
cmp rax, rcx
jge 0x14006087d
add rax, 0x1c9c380
mov qword [rbp - 0x19], rax
jmp 0x140060881
mov qword [rbp - 0x19], rbx
lea rcx, [rbp - 0x19]
call fcn.140070c50
mov r8d, Ordinal_45
lea rdx, [rbp + 0x1f]
lea ecx, [r8 - 0x27]
call qword [sym.imp.USER32.dll_SendInput]
movzx ebx, byte [0x14015640c]
xor r9d, r9d
movzx ecx, bl
xor r8d, r8d
xor edx, edx
call qword [sym.imp.USER32.dll_keybd_event]
xor r9d, r9d
xor edx, edx
movzx ecx, bl
lea r8d, [r9 + 2]
call qword [sym.imp.USER32.dll_keybd_event]
cmp byte [0x1401c8f85], dil
je 0x1400609e9
mov cl, 0x77
mov dword [rbp - 9], 1
call qword [sym.imp.USER32.dll_VkKeyScanA]
mov r8d, Ordinal_45
mov dword [rbp + 3], edi
lea rdx, [rbp - 9]
mov word [rbp - 1], ax
lea ecx, [r8 - 0x27]
call qword [sym.imp.USER32.dll_SendInput]
mov r8d, Ordinal_45
mov dword [rbp + 3], 2
lea rdx, [rbp - 9]
lea ecx, [r8 - 0x27]
call qword [sym.imp.USER32.dll_SendInput]
mov cl, reloc.WS2_32.dll_WSAStartup
mov dword [rbp - 9], 1
call qword [sym.imp.USER32.dll_VkKeyScanA]
mov r8d, Ordinal_45
mov dword [rbp + 3], edi
lea rdx, [rbp - 9]
mov word [rbp - 1], ax
lea ecx, [r8 - 0x27]
call qword [sym.imp.USER32.dll_SendInput]
mov r8d, Ordinal_45
mov dword [rbp + 3], 2
lea rdx, [rbp - 9]
lea ecx, [r8 - 0x27]
call qword [sym.imp.USER32.dll_SendInput]
mov cl, 0x61
mov dword [rbp - 9], 1
call qword [sym.imp.USER32.dll_VkKeyScanA]
mov r8d, Ordinal_45
mov dword [rbp + 3], edi
lea rdx, [rbp - 9]
mov word [rbp - 1], ax
lea ecx, [r8 - 0x27]
call qword [sym.imp.USER32.dll_SendInput]
mov r8d, Ordinal_45
mov dword [rbp + 3], 2
lea rdx, [rbp - 9]
lea ecx, [r8 - 0x27]
call qword [sym.imp.USER32.dll_SendInput]
mov cl, 0x64
mov dword [rbp - 9], 1
call qword [sym.imp.USER32.dll_VkKeyScanA]
mov r8d, Ordinal_45
mov dword [rbp + 3], edi
lea rdx, [rbp - 9]
mov word [rbp - 1], ax
lea ecx, [r8 - 0x27]
call qword [sym.imp.USER32.dll_SendInput]
mov r8d, Ordinal_45
mov dword [rbp + 3], 2
lea rdx, [rbp - 9]
lea ecx, [r8 - 0x27]
call qword [sym.imp.USER32.dll_SendInput]
movzx ebx, byte [0x14015640c]
xor r9d, r9d
movzx ecx, bl
xor r8d, r8d
xor edx, edx
call qword [sym.imp.USER32.dll_keybd_event]
xor r9d, r9d
xor edx, edx
movzx ecx, bl
lea r8d, [r9 + 2]
call qword [sym.imp.USER32.dll_keybd_event]
mov rbx, qword [rsp + 0xa0]
mov rdi, qword [rsp + 0xa8]
mov rcx, qword [rbp + 0x47]
xor rcx, rsp
call fcn.1400e4530
add rsp, 0x90
pop rbp
ret