Function at 0x14004f8a0
Capabilities:
Log keystrokes via polling

Disassembly:
push rsi
push rdi
sub rsp, 0x898
mov rax, qword [0x1403f4280]
xor rax, rsp
mov qword [rsp + 0x880], rax
movzx eax, byte [0x1403f5294]
test eax, eax
jne 0x14004fea1
lea rdx, [0x1403f52a4]
lea rcx, [rsp + 0xf0]
call fcn.140019af0
mov rcx, rax
call fcn.14001df20
nop
movzx eax, byte [0x1403f5184]
test eax, eax
je 0x14004f90d
lea rdx, [rsp + 0x170]
lea rcx, [0x1403f4e80]
call fcn.14004d5f0
cmp qword [rax], 0
jne 0x14004f90f
jmp 0x14004f8bc
lea rcx, [rsp + 0x7e0]
call fcn.14004f350
nop
cvtsi2ss xmm0, dword [0x1403f5198]
lea rax, [rsp + 0x7e0]
mov qword [rsp + 0x20], rax
movzx r9d, byte [0x1403f518c]
mov r8d, dword [0x1403f5194]
movaps xmm1, xmm0
lea rcx, [0x1403f4e80]
call fcn.14005b7e0
movzx eax, al
test eax, eax
je 0x14004fe8e
movzx eax, byte [rsp + 0x820]
test eax, eax
je 0x14004f97a
lea rcx, [rsp + 0x7e0]
call fcn.14001fcf0
nop
jmp 0x14004f8bc
lea rdx, [rsp + 0x7e0]
lea rcx, [0x1403f4e80]
call fcn.14004f710
movzx eax, byte [rax + 0x40]
test eax, eax
je 0x14004f9a9
lea rcx, [rsp + 0x7e0]
call fcn.14001fcf0
nop
jmp 0x14004f8bc
lea rdx, [rsp + 0x7e0]
lea rcx, [0x1403f4e80]
call fcn.14004f710
movzx eax, byte [rax + 0x40]
test eax, eax
jne 0x14004f9d6
mov ecx, dword [0x1403f5188]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
cwde
test eax, eax
jne 0x14004f9e9
lea rcx, [rsp + 0x7e0]
call fcn.14001fcf0
nop
jmp 0x14004f8bc
movzx eax, byte [0x1403f518d]
test eax, eax
je 0x14004fa13
movzx eax, byte [rsp + 0x874]
test eax, eax
jne 0x14004fa13
lea rcx, [rsp + 0x7e0]
call fcn.14001fcf0
nop
jmp 0x14004f8bc
mov ecx, dword [0x1403f5188]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
cwde
test eax, eax
jne 0x14004fa37
lea rcx, [rsp + 0x7e0]
call fcn.14001fcf0
nop
jmp 0x14004f8bc
lea rcx, [rsp + 0x7d0]
call fcn.140012fb0
nop
mov eax, dword [0x1403f5190]
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 9
ja case.default.0x14004fa70
movsxd rax, dword [rsp + 0x30]
lea rcx, [0x140000000]
mov eax, dword [rcx + rax*4 + 0x4febc]
add rax, rcx
jmp rax
lea rax, [rsp + 0x230]
mov qword [rsp + 0x38], rax
lea rdx, [rsp + 0x7e0]
mov rcx, qword [rsp + 0x38]
call fcn.14004f2c0
mov qword [rsp + 0x40], rax
mov r9d, 0x796e
mov r8, qword [rsp + 0x40]
lea rdx, [rsp + 0xf8]
lea rcx, [0x1403f4e80]
call fcn.14005be90
lea rcx, [rsp + 0x7d0]
mov rdi, rcx
mov rsi, rax
mov ecx, 0xc
rep movsb byte [rdi], byte [rsi]
jmp case.default.0x14004fa70
lea rax, [rsp + 0x2d0]
mov qword [rsp + 0x48], rax
lea rdx, [rsp + 0x7e0]
mov rcx, qword [rsp + 0x48]
call fcn.14004f2c0
mov qword [rsp + 0x50], rax
mov r9d, 0x9995
mov r8, qword [rsp + 0x50]
lea rdx, [rsp + 0x104]
lea rcx, [0x1403f4e80]
call fcn.14005be90
lea rcx, [rsp + 0x7d0]
mov rdi, rcx
mov rsi, rax
mov ecx, 0xc
rep movsb byte [rdi], byte [rsi]
jmp case.default.0x14004fa70
lea rax, [rsp + 0x370]
mov qword [rsp + 0x58], rax
lea rdx, [rsp + 0x7e0]
mov rcx, qword [rsp + 0x58]
call fcn.14004f2c0
mov qword [rsp + 0x60], rax
mov r9d, 0x60f2
mov r8, qword [rsp + 0x60]
lea rdx, [rsp + 0x110]
lea rcx, [0x1403f4e80]
call fcn.14005be90
lea rcx, [rsp + 0x7d0]
mov rdi, rcx
mov rsi, rax
mov ecx, 0xc
rep movsb byte [rdi], byte [rsi]
jmp case.default.0x14004fa70
lea rax, [rsp + 0x410]
mov qword [rsp + 0x68], rax
lea rdx, [rsp + 0x7e0]
mov rcx, qword [rsp + 0x68]
call fcn.14004f2c0
mov qword [rsp + 0x70], rax
mov r9d, 0x60f1
mov r8, qword [rsp + 0x70]
lea rdx, [rsp + 0x11c]
lea rcx, [0x1403f4e80]
call fcn.14005be90
lea rcx, [rsp + 0x7d0]
mov rdi, rcx
mov rsi, rax
mov ecx, 0xc
rep movsb byte [rdi], byte [rsi]
jmp case.default.0x14004fa70
lea rax, [rsp + 0x190]
mov qword [rsp + 0x78], rax
lea rdx, [rsp + 0x7e0]
mov rcx, qword [rsp + 0x78]
call fcn.14004f2c0
mov qword [rsp + 0x80], rax
mov r9d, 0x60f0
mov r8, qword [rsp + 0x80]
lea rdx, [rsp + 0x128]
lea rcx, [0x1403f4e80]
call fcn.14005be90
lea rcx, [rsp + 0x7d0]
mov rdi, rcx
mov rsi, rax
mov ecx, 0xc
rep movsb byte [rdi], byte [rsi]
jmp case.default.0x14004fa70
lea rax, [rsp + 0x550]
mov qword [rsp + 0x88], rax
lea rdx, [rsp + 0x7e0]
mov rcx, qword [rsp + 0x88]
call fcn.14004f2c0
mov qword [rsp + 0x90], rax
mov r9d, 0x2e28
mov r8, qword [rsp + 0x90]
lea rdx, [rsp + 0x134]
lea rcx, [0x1403f4e80]
call fcn.14005be90
lea rcx, [rsp + 0x7d0]
mov rdi, rcx
mov rsi, rax
mov ecx, 0xc
rep movsb byte [rdi], byte [rsi]
jmp case.default.0x14004fa70
lea rax, [rsp + 0x5f0]
mov qword [rsp + 0x98], rax
lea rdx, [rsp + 0x7e0]
mov rcx, qword [rsp + 0x98]
call fcn.14004f2c0
mov qword [rsp + 0xa0], rax
mov r9d, 0xdead
mov r8, qword [rsp + 0xa0]
lea rdx, [rsp + 0x140]
lea rcx, [0x1403f4e80]
call fcn.14005be90
lea rcx, [rsp + 0x7d0]
mov rdi, rcx
mov rsi, rax
mov ecx, 0xc
rep movsb byte [rdi], byte [rsi]
jmp case.default.0x14004fa70
lea rax, [rsp + 0x690]
mov qword [rsp + 0xa8], rax
lea rdx, [rsp + 0x7e0]
mov rcx, qword [rsp + 0xa8]
call fcn.14004f2c0
mov qword [rsp + 0xb0], rax
mov r9d, 0x49d9
mov r8, qword [rsp + 0xb0]
lea rdx, [rsp + 0x14c]
lea rcx, [0x1403f4e80]
call fcn.14005be90
lea rcx, [rsp + 0x7d0]
mov rdi, rcx
mov rsi, rax
mov ecx, 0xc
rep movsb byte [rdi], byte [rsi]
jmp case.default.0x14004fa70
lea rax, [rsp + 0x730]
mov qword [rsp + 0xb8], rax
lea rdx, [rsp + 0x7e0]
mov rcx, qword [rsp + 0xb8]
call fcn.14004f2c0
mov qword [rsp + 0xc0], rax
mov r9d, 0xcc4d
mov r8, qword [rsp + 0xc0]
lea rdx, [rsp + 0x158]
lea rcx, [0x1403f4e80]
call fcn.14005be90
lea rcx, [rsp + 0x7d0]
mov rdi, rcx
mov rsi, rax
mov ecx, 0xc
rep movsb byte [rdi], byte [rsi]
jmp case.default.0x14004fa70
lea rax, [rsp + 0x4b0]
mov qword [rsp + 0xc8], rax
lea rdx, [rsp + 0x7e0]
mov rcx, qword [rsp + 0xc8]
call fcn.14004f2c0
mov qword [rsp + 0xd0], rax
mov r9d, 0x3779
mov r8, qword [rsp + 0xd0]
lea rdx, [rsp + 0x164]
lea rcx, [0x1403f4e80]
call fcn.14005be90
lea rcx, [rsp + 0x7d0]
mov rdi, rcx
mov rsi, rax
mov ecx, 0xc
rep movsb byte [rdi], byte [rsi]
lea rax, [rsp + 0xe0]
lea rcx, [rsp + 0x7d0]
mov rdi, rax
mov rsi, rcx
mov ecx, 0xc
rep movsb byte [rdi], byte [rsi]
mov r9d, dword [0x1403f51a0]
mov r8d, dword [0x1403f519c]
lea rdx, [rsp + 0xe0]
lea rcx, [0x1403f4e80]
call fcn.14005f310
nop
lea rcx, [rsp + 0x7e0]
call fcn.14001fcf0
nop
jmp 0x14004f8bc
mov rcx, qword [rsp + 0x880]
xor rcx, rsp
call fcn.140100260
add rsp, 0x898
pop rdi
pop rsi
ret