Function at 0x140010120
Capabilities:
Log keystrokes via polling

Disassembly:
mov rax, rsp
push rbp
mov rbp, rsp
sub rsp, 0x70
mov qword [rbp - 0x30], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x14009f650]
xor rax, rsp
mov qword [rbp - 8], rax
mov rbx, rcx
mov ecx, 0x11
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
shr eax, 0xf
test al, 1
je 0x140010202
movsxd rsi, dword [rbx + 0x144]
cmp esi, 0xff
jge 0x1400108d2
mov ecx, esi
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
movzx edx, ax
shr edx, 0xf
lea rdi, [0x1400a92c0]
and dl, 1
je 0x1400101fa
cmp byte [rsi + rdi], 0
jne 0x1400101fa
mov byte [rsi + rdi], 1
mov rcx, rbx
call fcn.14000fab0
test al, al
je 0x1400108d2
mov qword [rbp - 0x10], 0xf
xor edi, edi
mov qword [rbp - 0x18], rdi
mov byte [rbp - 0x28], dil
lea r8d, [rdi + 2]
lea rdx, [0x14008abdc]
lea rcx, [rbp - 0x28]
call fcn.140005b10
nop
lea rdx, [rbp - 0x28]
mov rcx, rbx
call fcn.140010900
nop
cmp qword [rbp - 0x10], 0x10
jb 0x1400108d2
mov rcx, qword [rbp - 0x28]
call fcn.14003f3c4
jmp 0x1400108d2
mov byte [rsi + rdi], dl
jmp 0x1400108d2
mov ecx, 0x12
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
shr eax, 0xf
test al, 1
je 0x140010516
mov ecx, 0x11
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
shr eax, 0xf
test al, 1
jne 0x1400108d2
mov edx, dword [rbx + 0x144]
call fcn.140011210
test al, al
je 0x1400102e8
mov rcx, rbx
call fcn.14000fab0
test al, al
je 0x1400102e8
mov qword [rbp - 0x10], 0xf
xor edi, edi
mov qword [rbp - 0x18], rdi
mov byte [rbp - 0x28], dil
lea r8d, [rdi + 4]
lea rdx, str.MTP1
lea rcx, [rbp - 0x28]
call fcn.140005b10
nop
lea rdx, [rbp - 0x28]
mov rcx, rbx
call fcn.140011fc0
mov dword [rax + 0x30], 2
cmp qword [rbp - 0x10], 0x10
jb 0x14001029b
mov rcx, qword [rbp - 0x28]
call fcn.14003f3c4
mov qword [rbp - 0x10], 0xf
mov qword [rbp - 0x18], rdi
mov byte [rbp - 0x28], 0
mov r8d, 4
lea rdx, str.MTP1
lea rcx, [rbp - 0x28]
call fcn.140005b10
nop
lea rdx, [rbp - 0x28]
mov rcx, rbx
call fcn.140010900
nop
cmp qword [rbp - 0x10], 0x10
jb 0x1400108d2
mov rcx, qword [rbp - 0x28]
call fcn.14003f3c4
jmp 0x1400108d2
mov edx, dword [rbx + 0x148]
call fcn.140011210
test al, al
je 0x1400103a2
mov rcx, rbx
call fcn.14000fab0
test al, al
je 0x1400103a2
mov qword [rbp - 0x10], 0xf
xor edi, edi
mov qword [rbp - 0x18], rdi
mov byte [rbp - 0x28], dil
lea r8d, [rdi + 4]
lea rdx, str.MTP1
lea rcx, [rbp - 0x28]
call fcn.140005b10
nop
lea rdx, [rbp - 0x28]
mov rcx, rbx
call fcn.140011fc0
mov dword [rax + 0x30], 4
cmp qword [rbp - 0x10], 0x10
jb 0x140010355
mov rcx, qword [rbp - 0x28]
call fcn.14003f3c4
mov qword [rbp - 0x10], 0xf
mov qword [rbp - 0x18], rdi
mov byte [rbp - 0x28], 0
mov r8d, 4
lea rdx, str.MTP1
lea rcx, [rbp - 0x28]
call fcn.140005b10
nop
lea rdx, [rbp - 0x28]
mov rcx, rbx
call fcn.140010900
nop
cmp qword [rbp - 0x10], 0x10
jb 0x1400108d2
mov rcx, qword [rbp - 0x28]
call fcn.14003f3c4
jmp 0x1400108d2
mov edx, dword [rbx + 0x14c]
call fcn.140011210
test al, al
je 0x14001045c
mov rcx, rbx
call fcn.14000fab0
test al, al
je 0x14001045c
mov qword [rbp - 0x10], 0xf
xor edi, edi
mov qword [rbp - 0x18], rdi
mov byte [rbp - 0x28], dil
lea r8d, [rdi + 4]
lea rdx, str.MTP1
lea rcx, [rbp - 0x28]
call fcn.140005b10
nop
lea rdx, [rbp - 0x28]
mov rcx, rbx
call fcn.140011fc0
mov dword [rax + 0x30], 8
cmp qword [rbp - 0x10], 0x10
jb 0x14001040f
mov rcx, qword [rbp - 0x28]
call fcn.14003f3c4
mov qword [rbp - 0x10], 0xf
mov qword [rbp - 0x18], rdi
mov byte [rbp - 0x28], 0
mov r8d, 4
lea rdx, str.MTP1
lea rcx, [rbp - 0x28]
call fcn.140005b10
nop
lea rdx, [rbp - 0x28]
mov rcx, rbx
call fcn.140010900
nop
cmp qword [rbp - 0x10], 0x10
jb 0x1400108d2
mov rcx, qword [rbp - 0x28]
call fcn.14003f3c4
jmp 0x1400108d2
mov edx, dword [rbx + 0x150]
call fcn.140011210
test al, al
je 0x1400108d2
mov rcx, rbx
call fcn.14000fab0
test al, al
je 0x1400108d2
mov qword [rbp - 0x10], 0xf
xor edi, edi
mov qword [rbp - 0x18], rdi
mov byte [rbp - 0x28], dil
lea r8d, [rdi + 4]
lea rdx, str.MTP1
lea rcx, [rbp - 0x28]
call fcn.140005b10
nop
lea rdx, [rbp - 0x28]
mov rcx, rbx
call fcn.140011fc0
mov dword [rax + 0x30], 0x10
cmp qword [rbp - 0x10], 0x10
jb 0x1400104c9
mov rcx, qword [rbp - 0x28]
call fcn.14003f3c4
mov qword [rbp - 0x10], 0xf
mov qword [rbp - 0x18], rdi
mov byte [rbp - 0x28], 0
mov r8d, 4
lea rdx, str.MTP1
lea rcx, [rbp - 0x28]
call fcn.140005b10
nop
lea rdx, [rbp - 0x28]
mov rcx, rbx
call fcn.140010900
nop
cmp qword [rbp - 0x10], 0x10
jb 0x1400108d2
mov rcx, qword [rbp - 0x28]
call fcn.14003f3c4
jmp 0x1400108d2
movsxd rsi, dword [rbx + 0x144]
lea rdi, [0x1400a92c0]
cmp esi, 0xff
jge 0x1400105a5
mov ecx, esi
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
movzx edx, ax
shr edx, 0xf
and dl, 1
je 0x1400105a2
cmp byte [rsi + rdi], 0
jne 0x1400105a2
mov byte [rsi + rdi], 1
mov rcx, rbx
call fcn.14000f5b0
test al, al
je 0x1400105a5
mov qword [rbp - 0x10], 0xf
xor edi, edi
mov qword [rbp - 0x18], rdi
mov byte [rbp - 0x28], dil
lea r8d, [rdi + 1]
lea rdx, [0x14008aadc]
lea rcx, [rbp - 0x28]
call fcn.140005b10
nop
lea rdx, [rbp - 0x28]
mov rcx, rbx
call fcn.140010900
nop
cmp qword [rbp - 0x10], 0x10
jb 0x1400108d2
mov rcx, qword [rbp - 0x28]
call fcn.14003f3c4
jmp 0x1400108d2
mov byte [rsi + rdi], dl
movsxd rsi, dword [rbx + 0x148]
cmp esi, 0xff
jge 0x140010621
mov ecx, esi
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
movzx edx, ax
shr edx, 0xf
and dl, 1
je 0x14001061e
cmp byte [rsi + rdi], 0
jne 0x14001061e
mov byte [rsi + rdi], 1
mov qword [rbp - 0x10], 0xf
xor edi, edi
mov qword [rbp - 0x18], rdi
mov byte [rbp - 0x28], dil
lea r8d, [rdi + 1]
lea rdx, str.23456789.
lea rcx, [rbp - 0x28]
call fcn.140005b10
nop
lea rdx, [rbp - 0x28]
mov rcx, rbx
call fcn.140010900
nop
cmp qword [rbp - 0x10], 0x10
jb 0x1400108d2
mov rcx, qword [rbp - 0x28]
call fcn.14003f3c4
jmp 0x1400108d2
mov byte [rsi + rdi], dl
mov edx, dword [rbx + 0x14c]
call fcn.140011210
test al, al
je 0x14001067d
mov qword [rbp - 0x10], 0xf
xor edi, edi
mov qword [rbp - 0x18], rdi
mov byte [rbp - 0x28], dil
lea r8d, [rdi + 1]
lea rdx, [0x14008ac0c]
lea rcx, [rbp - 0x28]
call fcn.140005b10
nop
lea rdx, [rbp - 0x28]
mov rcx, rbx
call fcn.140010900
nop
cmp qword [rbp - 0x10], 0x10
jb 0x1400108d2
mov rcx, qword [rbp - 0x28]
call fcn.14003f3c4
jmp 0x1400108d2
mov edx, dword [rbx + 0x150]
call fcn.140011210
test al, al
je 0x1400106d9
mov qword [rbp - 0x10], 0xf
xor edi, edi
mov qword [rbp - 0x18], rdi
mov byte [rbp - 0x28], dil
lea r8d, [rdi + 1]
lea rdx, [0x14008ac10]
lea rcx, [rbp - 0x28]
call fcn.140005b10
nop
lea rdx, [rbp - 0x28]
mov rcx, rbx
call fcn.140010900
nop
cmp qword [rbp - 0x10], 0x10
jb 0x1400108d2
mov rcx, qword [rbp - 0x28]
call fcn.14003f3c4
jmp 0x1400108d2
mov edx, dword [rbx + 0x154]
call fcn.140011210
test al, al
je 0x140010735
mov qword [rbp - 0x10], 0xf
xor edi, edi
mov qword [rbp - 0x18], rdi
mov byte [rbp - 0x28], dil
lea r8d, [rdi + 1]
lea rdx, [0x14008ac14]
lea rcx, [rbp - 0x28]
call fcn.140005b10
nop
lea rdx, [rbp - 0x28]
mov rcx, rbx
call fcn.140010900
nop
cmp qword [rbp - 0x10], 0x10
jb 0x1400108d2
mov rcx, qword [rbp - 0x28]
call fcn.14003f3c4
jmp 0x1400108d2
mov edx, dword [rbx + 0x158]
call fcn.140011210
test al, al
je 0x140010791
mov qword [rbp - 0x10], 0xf
xor edi, edi
mov qword [rbp - 0x18], rdi
mov byte [rbp - 0x28], dil
lea r8d, [rdi + 1]
lea rdx, [0x14008ac18]
lea rcx, [rbp - 0x28]
call fcn.140005b10
nop
lea rdx, [rbp - 0x28]
mov rcx, rbx
call fcn.140010900
nop
cmp qword [rbp - 0x10], 0x10
jb 0x1400108d2
mov rcx, qword [rbp - 0x28]
call fcn.14003f3c4
jmp 0x1400108d2
mov edx, dword [rbx + 0x15c]
call fcn.140011210
test al, al
je 0x1400107ed
mov qword [rbp - 0x10], 0xf
xor edi, edi
mov qword [rbp - 0x18], rdi
mov byte [rbp - 0x28], dil
lea r8d, [rdi + 1]
lea rdx, [0x14008ac1c]
lea rcx, [rbp - 0x28]
call fcn.140005b10
nop
lea rdx, [rbp - 0x28]
mov rcx, rbx
call fcn.140010900
nop
cmp qword [rbp - 0x10], 0x10
jb 0x1400108d2
mov rcx, qword [rbp - 0x28]
call fcn.14003f3c4
jmp 0x1400108d2
mov edx, dword [rbx + 0x160]
call fcn.140011210
test al, al
je 0x140010849
mov qword [rbp - 0x10], 0xf
xor edi, edi
mov qword [rbp - 0x18], rdi
mov byte [rbp - 0x28], dil
lea r8d, [rdi + 1]
lea rdx, [0x14008ac20]
lea rcx, [rbp - 0x28]
call fcn.140005b10
nop
lea rdx, [rbp - 0x28]
mov rcx, rbx
call fcn.140010900
nop
cmp qword [rbp - 0x10], 0x10
jb 0x1400108d2
mov rcx, qword [rbp - 0x28]
call fcn.14003f3c4
jmp 0x1400108d2
mov edx, dword [rbx + 0x164]
call fcn.140011210
test al, al
je 0x14001089e
mov qword [rbp - 0x10], 0xf
xor edi, edi
mov qword [rbp - 0x18], rdi
mov byte [rbp - 0x28], dil
lea r8d, [rdi + 1]
lea rdx, [0x14008ac24]
lea rcx, [rbp - 0x28]
call fcn.140005b10
nop
lea rdx, [rbp - 0x28]
mov rcx, rbx
call fcn.140010900
nop
cmp qword [rbp - 0x10], 0x10
jb 0x1400108d2
mov rcx, qword [rbp - 0x28]
call fcn.14003f3c4
jmp 0x1400108d2
mov ecx, 0x24
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
shr eax, 0xf
and al, 1
je 0x1400108cc
cmp byte [0x1400a92e4], 0
jne 0x1400108cc
mov byte [0x1400a92e4], 1
xor edx, edx
mov rcx, rbx
call fcn.140011520
jmp 0x1400108d2
mov byte [0x1400a92e4], al
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.14003f3e0
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret