Function at 0x140061ce0
Capabilities:
Log keystrokes via polling

Disassembly:
push rsi
push rdi
sub rsp, 0x898
mov rax, qword [0x140413c00]
xor rax, rsp
mov qword [rsp + 0x880], rax
mov byte [rsp + 0x30], 0
movzx eax, byte [0x140414d40]
test eax, eax
jne 0x1400622fa
mov eax, dword [0x140414d50]
inc eax
mov dword [rsp + 0x38], eax
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0xf0]
call fcn.140014ab0
mov rcx, rax
call fcn.140017610
nop
movzx eax, byte [0x140414bfc]
test eax, eax
je 0x140061d5c
lea rdx, [rsp + 0x170]
lea rcx, [0x1404148a0]
call fcn.14005bdb0
cmp qword [rax], 0
jne 0x140061d5e
jmp 0x140061d01
lea rcx, [rsp + 0x7e0]
call fcn.14005b790
nop
cvtsi2ss xmm0, dword [0x140414c00]
lea rax, [rsp + 0x7e0]
mov qword [rsp + 0x20], rax
movzx r9d, byte [0x140414c08]
mov r8d, dword [0x140414c0c]
movaps xmm1, xmm0
lea rcx, [0x1404148a0]
call fcn.14006c010
movzx eax, al
test eax, eax
je 0x1400622d4
movzx eax, byte [rsp + 0x820]
test eax, eax
jne 0x140061dd2
lea rdx, [rsp + 0x7e0]
lea rcx, [0x1404148a8]
call fcn.14005bba0
movzx eax, byte [rax + 0x40]
test eax, eax
je 0x140061de5
lea rcx, [rsp + 0x7e0]
call fcn.140023590
nop
jmp 0x140061d01
lea rdx, [rsp + 0x7e0]
lea rcx, [0x1404148a8]
call fcn.14005bba0
movzx eax, byte [rax + 0x40]
test eax, eax
jne 0x140061e12
mov ecx, dword [0x140414c04]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
cwde
test eax, eax
jne 0x140061e25
lea rcx, [rsp + 0x7e0]
call fcn.140023590
nop
jmp 0x140061d01
movzx eax, byte [0x140414bcd]
test eax, eax
je 0x140061e4f
movzx eax, byte [rsp + 0x874]
test eax, eax
jne 0x140061e4f
lea rcx, [rsp + 0x7e0]
call fcn.140023590
nop
jmp 0x140061d01
mov ecx, dword [0x140414c04]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
cwde
test eax, eax
jne 0x140061e86
movzx eax, byte [rsp + 0x30]
test eax, eax
je 0x140061e73
call fcn.1400619c0
mov byte [rsp + 0x30], 0
lea rcx, [rsp + 0x7e0]
call fcn.140023590
nop
jmp 0x140061d01
lea rcx, [rsp + 0x7d0]
call fcn.140016530
nop
mov eax, dword [0x140414c10]
mov dword [rsp + 0x34], eax
cmp dword [rsp + 0x34], 9
ja case.default.0x140061ebf
movsxd rax, dword [rsp + 0x34]
lea rcx, [0x140000000]
mov eax, dword [rcx + rax*4 + 0x62314]
add rax, rcx
jmp rax
lea rax, [rsp + 0x190]
mov qword [rsp + 0x40], rax
lea rdx, [rsp + 0x7e0]
mov rcx, qword [rsp + 0x40]
call fcn.14005b700
mov qword [rsp + 0x48], rax
mov r9d, 0x796e
mov r8, qword [rsp + 0x48]
lea rdx, [rsp + 0x104]
lea rcx, [0x1404148a0]
call fcn.14006c6c0
lea rcx, [rsp + 0x7d0]
mov rdi, rcx
mov rsi, rax
mov ecx, 0xc
rep movsb byte [rdi], byte [rsi]
jmp case.default.0x140061ebf
lea rax, [rsp + 0x230]
mov qword [rsp + 0x50], rax
lea rdx, [rsp + 0x7e0]
mov rcx, qword [rsp + 0x50]
call fcn.14005b700
mov qword [rsp + 0x58], rax
mov r9d, 0x9995
mov r8, qword [rsp + 0x58]
lea rdx, [rsp + 0x110]
lea rcx, [0x1404148a0]
call fcn.14006c6c0
lea rcx, [rsp + 0x7d0]
mov rdi, rcx
mov rsi, rax
mov ecx, 0xc
rep movsb byte [rdi], byte [rsi]
jmp case.default.0x140061ebf
lea rax, [rsp + 0x2d0]
mov qword [rsp + 0x60], rax
lea rdx, [rsp + 0x7e0]
mov rcx, qword [rsp + 0x60]
call fcn.14005b700
mov qword [rsp + 0x68], rax
mov r9d, 0x60f2
mov r8, qword [rsp + 0x68]
lea rdx, [rsp + 0x11c]
lea rcx, [0x1404148a0]
call fcn.14006c6c0
lea rcx, [rsp + 0x7d0]
mov rdi, rcx
mov rsi, rax
mov ecx, 0xc
rep movsb byte [rdi], byte [rsi]
jmp case.default.0x140061ebf
lea rax, [rsp + 0x370]
mov qword [rsp + 0x70], rax
lea rdx, [rsp + 0x7e0]
mov rcx, qword [rsp + 0x70]
call fcn.14005b700
mov qword [rsp + 0x78], rax
mov r9d, 0x60f1
mov r8, qword [rsp + 0x78]
lea rdx, [rsp + 0x128]
lea rcx, [0x1404148a0]
call fcn.14006c6c0
lea rcx, [rsp + 0x7d0]
mov rdi, rcx
mov rsi, rax
mov ecx, 0xc
rep movsb byte [rdi], byte [rsi]
jmp case.default.0x140061ebf
lea rax, [rsp + 0x410]
mov qword [rsp + 0x80], rax
lea rdx, [rsp + 0x7e0]
mov rcx, qword [rsp + 0x80]
call fcn.14005b700
mov qword [rsp + 0x88], rax
mov r9d, 0x60f0
mov r8, qword [rsp + 0x88]
lea rdx, [rsp + 0xf8]
lea rcx, [0x1404148a0]
call fcn.14006c6c0
lea rcx, [rsp + 0x7d0]
mov rdi, rcx
mov rsi, rax
mov ecx, 0xc
rep movsb byte [rdi], byte [rsi]
jmp case.default.0x140061ebf
lea rax, [rsp + 0x4b0]
mov qword [rsp + 0x90], rax
lea rdx, [rsp + 0x7e0]
mov rcx, qword [rsp + 0x90]
call fcn.14005b700
mov qword [rsp + 0x98], rax
mov r9d, 0x2e28
mov r8, qword [rsp + 0x98]
lea rdx, [rsp + 0x134]
lea rcx, [0x1404148a0]
call fcn.14006c6c0
lea rcx, [rsp + 0x7d0]
mov rdi, rcx
mov rsi, rax
mov ecx, 0xc
rep movsb byte [rdi], byte [rsi]
jmp case.default.0x140061ebf
lea rax, [rsp + 0x550]
mov qword [rsp + 0xa0], rax
lea rdx, [rsp + 0x7e0]
mov rcx, qword [rsp + 0xa0]
call fcn.14005b700
mov qword [rsp + 0xa8], rax
mov r9d, 0xdead
mov r8, qword [rsp + 0xa8]
lea rdx, [rsp + 0x140]
lea rcx, [0x1404148a0]
call fcn.14006c6c0
lea rcx, [rsp + 0x7d0]
mov rdi, rcx
mov rsi, rax
mov ecx, 0xc
rep movsb byte [rdi], byte [rsi]
jmp case.default.0x140061ebf
lea rax, [rsp + 0x5f0]
mov qword [rsp + 0xb0], rax
lea rdx, [rsp + 0x7e0]
mov rcx, qword [rsp + 0xb0]
call fcn.14005b700
mov qword [rsp + 0xb8], rax
mov r9d, 0x49d9
mov r8, qword [rsp + 0xb8]
lea rdx, [rsp + 0x14c]
lea rcx, [0x1404148a0]
call fcn.14006c6c0
lea rcx, [rsp + 0x7d0]
mov rdi, rcx
mov rsi, rax
mov ecx, 0xc
rep movsb byte [rdi], byte [rsi]
jmp case.default.0x140061ebf
lea rax, [rsp + 0x690]
mov qword [rsp + 0xc0], rax
lea rdx, [rsp + 0x7e0]
mov rcx, qword [rsp + 0xc0]
call fcn.14005b700
mov qword [rsp + 0xc8], rax
mov r9d, 0xcc4d
mov r8, qword [rsp + 0xc8]
lea rdx, [rsp + 0x158]
lea rcx, [0x1404148a0]
call fcn.14006c6c0
lea rcx, [rsp + 0x7d0]
mov rdi, rcx
mov rsi, rax
mov ecx, 0xc
rep movsb byte [rdi], byte [rsi]
jmp case.default.0x140061ebf
lea rax, [rsp + 0x730]
mov qword [rsp + 0xd0], rax
lea rdx, [rsp + 0x7e0]
mov rcx, qword [rsp + 0xd0]
call fcn.14005b700
mov qword [rsp + 0xd8], rax
mov r9d, 0x3779
mov r8, qword [rsp + 0xd8]
lea rdx, [rsp + 0x164]
lea rcx, [0x1404148a0]
call fcn.14006c6c0
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]
lea rcx, [rsp + 0xe0]
call fcn.140061450
mov byte [rsp + 0x30], 1
jmp 0x1400622e7
movzx eax, byte [rsp + 0x30]
test eax, eax
je 0x1400622e7
call fcn.1400619c0
mov byte [rsp + 0x30], 0
lea rcx, [rsp + 0x7e0]
call fcn.140023590
nop
jmp 0x140061d01
mov rcx, qword [rsp + 0x880]
xor rcx, rsp
call fcn.14011cd30
add rsp, 0x898
pop rdi
pop rsi
ret