Function at 0x1400d71a0
Capabilities:
Log keystrokes via polling

Disassembly:
push rsi
push rdi
sub rsp, 0x448
mov rax, qword [0x14016fb40]
xor rax, rsp
mov qword [rsp + 0x430], rax
cmp qword [0x140170c60], 0
je 0x1400d7f96
cmp qword [0x140170c90], 0
je 0x1400d7f96
mov edx, pe_nt_image_headers64
mov rcx, qword [0x140170c90]
call fcn.1400c9c40
movzx eax, al
test eax, eax
je 0x1400d7f96
mov rcx, qword [0x140170c90]
call fcn.1400caa50
test eax, eax
jne 0x1400d7f96
mov rcx, qword [0x140170c90]
call fcn.1400c8b10
mov qword [rsp + 0x58], rax
cmp qword [rsp + 0x58], 0
jne 0x1400d7226
jmp 0x1400d7f96
lea rdx, [rsp + 0x3e0]
mov rcx, qword [rsp + 0x58]
call fcn.1400d68d0
nop
lea rcx, [rsp + 0x3e0]
call fcn.14000d0c0
movzx eax, al
test eax, eax
je 0x1400d725f
lea rcx, [rsp + 0x3e0]
call fcn.1400083a0
jmp 0x1400d7f96
lea rax, [rsp + 0x2a0]
mov qword [rsp + 0x80], rax
mov rdx, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x58]
call fcn.1400d68d0
mov qword [rsp + 0x88], rax
mov rcx, qword [rsp + 0x88]
call fcn.1400ca5c0
movzx eax, al
test eax, eax
jne 0x1400d72af
lea rcx, [rsp + 0x3e0]
call fcn.1400083a0
jmp 0x1400d7f96
mov rcx, qword [rsp + 0x58]
call fcn.1400c9cc0
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x1400d72d8
lea rcx, [rsp + 0x3e0]
call fcn.1400083a0
jmp 0x1400d7f96
movzx eax, byte [0x14017022d]
test eax, eax
je 0x1400d73fa
lea rax, [rsp + 0x3c]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rsp + 0x29]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
movzx r9d, byte [rsp + 0x3c]
movzx r8d, byte [rsp + 0x29]
movzx edx, byte [rsp + 0x4e]
lea rcx, [rsp + 0x2c0]
call fcn.1400a59b0
mov rcx, rax
call fcn.1400bde40
xor r8d, r8d
mov rdx, rax
lea rcx, [rsp + 0x3e0]
call fcn.1400c4c70
cmp rax, 0xffffffffffffffff
je 0x1400d737b
xorps xmm1, xmm1
mov rcx, qword [rsp + 0x20]
call fcn.1400d6730
movss xmm1, dword [0x1401274d0]
mov rcx, qword [rsp + 0x20]
call fcn.1400d66f0
movss xmm1, dword [0x1401274d0]
mov rcx, qword [rsp + 0x20]
call fcn.1400d63f0
jmp 0x1400d73fa
lea rax, [rsp + 0x2a]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rsp + 0x2b]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
movzx r9d, byte [rsp + 0x2a]
movzx r8d, byte [rsp + 0x2b]
movzx edx, byte [rsp + 0x44]
lea rcx, [rsp + 0x2e0]
call fcn.1400a7350
mov rcx, rax
call fcn.1400bde40
xor r8d, r8d
mov rdx, rax
lea rcx, [rsp + 0x3e0]
call fcn.1400c4c70
cmp rax, 0xffffffffffffffff
je 0x1400d73fa
mov dl, 1
mov rcx, qword [rsp + 0x20]
call fcn.1400d5f00
movss xmm1, dword [0x140108ebc]
mov rcx, qword [rsp + 0x20]
call fcn.1400d5ec0
movzx eax, byte [0x14017022e]
test eax, eax
je 0x1400d749a
lea rax, [rsp + 0x2c]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rsp + 0x2d]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
movzx r9d, byte [rsp + 0x2c]
movzx r8d, byte [rsp + 0x2d]
movzx edx, byte [rsp + 0x45]
lea rcx, [rsp + 0x250]
call fcn.1400a7cb0
mov rcx, rax
call fcn.1400bc7f0
xor r8d, r8d
mov rdx, rax
lea rcx, [rsp + 0x3e0]
call fcn.1400c4c70
cmp rax, 0xffffffffffffffff
je 0x1400d749a
movss xmm1, dword [0x140108eb8]
mov rcx, qword [rsp + 0x20]
call fcn.1400d66b0
movss xmm1, dword [0x140108eb8]
mov rcx, qword [rsp + 0x20]
call fcn.1400d6770
mov dl, 1
mov rcx, qword [rsp + 0x20]
call fcn.1400d5cd0
xor eax, eax
cmp eax, 1
je 0x1400d75e4
mov ecx, 1
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
cwde
test eax, eax
je 0x1400d75c9
mov rcx, qword [0x140170c90]
call fcn.1400cce60
mov qword [rsp + 0x90], rax
lea rdx, [rsp + 0x410]
mov rcx, qword [rsp + 0x90]
call fcn.1400cced0
lea rdx, [rsp + 0x420]
mov rcx, qword [0x140170c60]
call fcn.1400cce90
movss xmm3, dword [0x14010b288]
movss xmm2, dword [0x14010b288]
movss xmm1, dword [0x14010b288]
lea rcx, [rsp + 0x1f0]
call fcn.1400b3f60
mov r8, rax
lea rdx, [rsp + 0x1fc]
lea rcx, [rsp + 0x410]
call fcn.1400b4c30
mov rdx, rax
lea rcx, [rsp + 0x420]
call fcn.1400b4f50
movzx eax, al
test eax, eax
je 0x1400d75ac
movss xmm3, dword [0x14010b288]
movss xmm2, dword [0x14010b288]
movss xmm1, dword [0x14010b288]
lea rcx, [rsp + 0x208]
call fcn.1400b3f60
mov r8, rax
lea rdx, [rsp + 0x214]
lea rcx, [rsp + 0x410]
call fcn.1400b4d00
mov rdx, rax
lea rcx, [rsp + 0x420]
call fcn.1400b4e80
movzx eax, al
test eax, eax
je 0x1400d75ac
xor edx, edx
mov rcx, qword [rsp + 0x20]
call fcn.1400d60b0
jmp 0x1400d75c7
mov edx, 1
mov rcx, qword [rsp + 0x20]
call fcn.1400d61f0
mov dl, 1
mov rcx, qword [rsp + 0x20]
call fcn.1400d6330
jmp 0x1400d75e4
mov edx, 1
mov rcx, qword [rsp + 0x20]
call fcn.1400d61f0
xor edx, edx
mov rcx, qword [rsp + 0x20]
call fcn.1400d6330
xor eax, eax
cmp eax, 1
je 0x1400d765d
mov rcx, qword [rsp + 0x20]
call fcn.1400cd690
mov qword [rsp + 0x60], rax
mov rcx, qword [rsp + 0x60]
call fcn.1400c80e0
mov qword [rsp + 0x68], rax
cmp qword [rsp + 0x60], 0
jne 0x1400d7619
cmp qword [rsp + 0x68], 0
je 0x1400d765d
lea rax, [rsp + 0x300]
mov qword [rsp + 0x98], rax
lea rdx, [rsp + 0x3e0]
mov rcx, qword [rsp + 0x98]
call fcn.1400060d0
mov qword [rsp + 0xa0], rax
mov r8, qword [rsp + 0x68]
mov rdx, qword [rsp + 0x60]
mov rcx, qword [rsp + 0xa0]
call fcn.1400cba70
xor eax, eax
cmp eax, 1
je 0x1400d7847
lea rax, [rsp + 0x2e]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rsp + 0x2f]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
movzx r9d, byte [rsp + 0x2e]
movzx r8d, byte [rsp + 0x2f]
movzx edx, byte [rsp + 0x46]
lea rcx, [rsp + 0x320]
call fcn.1400a59b0
mov rcx, rax
call fcn.1400bde40
xor r8d, r8d
mov rdx, rax
lea rcx, [rsp + 0x3e0]
call fcn.1400c4c70
cmp rax, 0xffffffffffffffff
jne 0x1400d7847
lea rax, [rsp + 0x30]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rsp + 0x31]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
movzx r9d, byte [rsp + 0x30]
movzx r8d, byte [rsp + 0x31]
movzx edx, byte [rsp + 0x47]
lea rcx, [rsp + 0x340]
call fcn.1400a7350
mov rcx, rax
call fcn.1400bde40
xor r8d, r8d
mov rdx, rax
lea rcx, [rsp + 0x3e0]
call fcn.1400c4c70
cmp rax, 0xffffffffffffffff
jne 0x1400d7847
lea rax, [rsp + 0x32]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rsp + 0x33]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
movzx r9d, byte [rsp + 0x32]
movzx r8d, byte [rsp + 0x33]
movzx edx, byte [rsp + 0x48]
lea rcx, [rsp + 0x360]
call fcn.1400a1d70
mov rcx, rax
call fcn.1400bde40
xor r8d, r8d
mov rdx, rax
lea rcx, [rsp + 0x3e0]
call fcn.1400c4c70
cmp rax, 0xffffffffffffffff
jne 0x1400d7847
lea rax, [rsp + 0x34]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rsp + 0x35]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
movzx r9d, byte [rsp + 0x34]
movzx r8d, byte [rsp + 0x35]
movzx edx, byte [rsp + 0x49]
lea rcx, [rsp + 0x380]
call fcn.1400a9ae0
mov rcx, rax
call fcn.1400bde40
xor r8d, r8d
mov rdx, rax
lea rcx, [rsp + 0x3e0]
call fcn.1400c4c70
cmp rax, 0xffffffffffffffff
jne 0x1400d7847
mov rcx, qword [rsp + 0x20]
call fcn.1400d7100
mov qword [rsp + 0x70], rax
mov rcx, qword [rsp + 0x70]
call fcn.1400c50c0
mov qword [rsp + 0x78], rax
cmp qword [rsp + 0x70], 0
je 0x1400d7847
cmp qword [rsp + 0x78], 0
je 0x1400d7847
mov rcx, qword [rsp + 0x78]
call fcn.1400c80e0
mov qword [rsp + 0xa8], rax
xor edx, edx
mov rcx, qword [rsp + 0xa8]
call fcn.1400d6600
movzx eax, byte [0x14017022c]
test eax, eax
je 0x1400d7a3a
mov rcx, qword [rsp + 0x20]
call fcn.1400d7100
mov rcx, rax
call fcn.1400c50c0
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
je 0x1400d7a3a
lea rax, [rsp + 0x36]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rsp + 0x37]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
movzx r9d, byte [rsp + 0x36]
movzx r8d, byte [rsp + 0x37]
movzx edx, byte [rsp + 0x4a]
lea rcx, [rsp + 0x3a0]
call fcn.1400a59b0
mov rcx, rax
call fcn.1400bde40
xor r8d, r8d
mov rdx, rax
lea rcx, [rsp + 0x3e0]
call fcn.1400c4c70
cmp rax, 0xffffffffffffffff
jne 0x1400d7a3a
lea rax, [rsp + 0x38]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rsp + 0x39]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
movzx r9d, byte [rsp + 0x38]
movzx r8d, byte [rsp + 0x39]
movzx edx, byte [rsp + 0x4b]
lea rcx, [rsp + 0x3c0]
call fcn.1400a7350
mov rcx, rax
call fcn.1400bde40
xor r8d, r8d
mov rdx, rax
lea rcx, [rsp + 0x3e0]
call fcn.1400c4c70
cmp rax, 0xffffffffffffffff
jne 0x1400d7a3a
lea rax, [rsp + 0x3a]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rsp + 0x3b]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
movzx r9d, byte [rsp + 0x3a]
movzx r8d, byte [rsp + 0x3b]
movzx edx, byte [rsp + 0x4c]
lea rcx, [rsp + 0x280]
call fcn.1400a1d70
mov rcx, rax
call fcn.1400bde40
xor r8d, r8d
mov rdx, rax
lea rcx, [rsp + 0x3e0]
call fcn.1400c4c70
test rax, rax
je 0x1400d7a3a
mov rcx, qword [rsp + 0x50]
call fcn.1400c50f0
mov qword [rsp + 0xb0], rax
xorps xmm1, xmm1
mov rcx, qword [rsp + 0xb0]
call fcn.1400d5f80
mov rcx, qword [rsp + 0x50]
call fcn.1400c80e0
mov qword [rsp + 0xb8], rax
xor edx, edx
mov rcx, qword [rsp + 0xb8]
call fcn.1400d6600
mov rcx, qword [rsp + 0x50]
call fcn.1400c8c70
mov qword [rsp + 0xc0], rax
xorps xmm1, xmm1
mov rcx, qword [rsp + 0xc0]
call fcn.1400d64f0
mov rcx, qword [rsp + 0x50]
call fcn.1400c9400
mov qword [rsp + 0xc8], rax
xorps xmm1, xmm1
mov rcx, qword [rsp + 0xc8]
call fcn.1400d67b0
xor edx, edx
mov rcx, qword [rsp + 0x50]
call fcn.1400d5e90
movzx eax, byte [0x14017021c]
test eax, eax
je 0x1400d7abb
movss xmm1, dword [0x14012502c]
mov rcx, qword [rsp + 0x20]
call fcn.1400d5d10
movss xmm1, dword [0x14012502c]
mov rcx, qword [rsp + 0x20]
call fcn.1400d62f0
xorps xmm1, xmm1
mov rcx, qword [rsp + 0x20]
call fcn.1400d6630
xorps xmm1, xmm1
mov rcx, qword [rsp + 0x20]
call fcn.1400d5e10
xorps xmm1, xmm1
mov rcx, qword [rsp + 0x20]
call fcn.1400d5d50
xorps xmm1, xmm1
mov rcx, qword [rsp + 0x20]
call fcn.1400d6670
xorps xmm1, xmm1
mov rcx, qword [rsp + 0x20]
call fcn.1400d5e50
lea rdx, [0x1400a1090]
mov rcx, qword [rsp + 0x20]
call fcn.1400bc6f0
movzx eax, byte [0x140170232]
test eax, eax
je 0x1400d7ad7
lea rdx, [0x1400a10b0]
mov rcx, qword [rsp + 0x20]
call fcn.1400bc6f0
movzx eax, byte [0x14017022f]
test eax, eax
je 0x1400d7aee
mov dl, 1
mov rcx, qword [rsp + 0x20]
call fcn.1400d5f40
movzx eax, byte [0x140170224]
test eax, eax
je 0x1400d7b1d
movss xmm1, dword [0x140170228]
mov rcx, qword [rsp + 0x20]
call fcn.1400d5d90
movss xmm1, dword [0x140170228]
mov rcx, qword [rsp + 0x20]
call fcn.1400d5dd0
movzx eax, byte [0x140170231]
test eax, eax
je 0x1400d7e4b
mov eax, 4
mov eax, eax
mov ecx, dword [0x140171690]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
mov eax, dword [rax + rcx]
cmp dword [0x140170db0], eax
jle 0x1400d7c79
lea rcx, [0x140170db0]
call fcn.140101460
cmp dword [0x140170db0], 0xffffffff
jne 0x1400d7c79
lea rax, [rsp + 0x260]
mov qword [rsp + 0xd8], rax
lea rcx, [rsp + 0x4d]
call fcn.140003180
mov qword [rsp + 0xd0], rax
mov qword [rsp + 0x140], 0x33d7bb8
mov qword [rsp + 0x148], 0xb8
mov qword [rsp + 0x150], 0
lea rax, [rsp + 0x158]
mov r8, rax
lea rdx, [rsp + 0x140]
lea rcx, [rsp + 0x238]
call fcn.140006210
lea rcx, [rsp + 0x1e0]
mov rdi, rcx
mov rsi, rax
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
lea rax, [rsp + 0x1b0]
lea rcx, [rsp + 0x1e0]
mov rdi, rax
mov rsi, rcx
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
mov r8, qword [rsp + 0xd0]
lea rdx, [rsp + 0x1b0]
mov rcx, qword [rsp + 0xd8]
call fcn.1400b3800
mov qword [rsp + 0xe0], rax
mov rax, qword [rsp + 0xe0]
mov qword [rsp + 0xe8], rax
mov rax, qword [0x140170d60]
mov qword [rsp + 0xf0], rax
mov r8, qword [rsp + 0xe8]
mov rdx, qword [rsp + 0xf0]
lea rcx, [0x140170d48]
call fcn.1400b2520
mov qword [0x140170da8], rax
lea rcx, [0x140170db0]
call fcn.1401013f4
cmp qword [0x140170da8], 0
je 0x1400d7e4b
mov rax, qword [0x140170da8]
add rax, 0x64
mov r8, rax
lea rdx, [rsp + 0x400]
lea rcx, [0x140170d48]
call fcn.1400b2260
lea rcx, [rsp + 0x400]
call fcn.1400ca440
movzx eax, al
test eax, eax
jne 0x1400d7e4b
mov byte [rsp + 0x28], 0
mov dword [rsp + 0x40], 0
jmp 0x1400d7cda
mov eax, dword [rsp + 0x40]
inc eax
mov dword [rsp + 0x40], eax
movsxd rax, dword [rsp + 0x40]
mov qword [rsp + 0xf8], rax
lea rcx, [0x14016fad8]
call fcn.1400d6d30
mov rcx, qword [rsp + 0xf8]
cmp rcx, rax
jae 0x1400d7d7c
movsxd rax, dword [rsp + 0x40]
mov rdx, rax
lea rcx, [0x14016fad8]
call fcn.1400bb320
mov qword [rsp + 0x100], rax
lea rax, [rsp + 0x160]
lea rcx, [rsp + 0x400]
mov rdi, rax
mov rsi, rcx
mov ecx, 0xc
rep movsb byte [rdi], byte [rsi]
lea rax, [rsp + 0x170]
lea rcx, [rsp + 0x160]
mov rdi, rax
mov rsi, rcx
mov ecx, 0xc
rep movsb byte [rdi], byte [rsi]
lea rdx, [rsp + 0x170]
mov rcx, qword [rsp + 0x100]
call fcn.1400b4980
movzx eax, al
test eax, eax
je 0x1400d7d77
mov byte [rsp + 0x28], 1
jmp 0x1400d7cd0
movzx eax, byte [rsp + 0x28]
test eax, eax
jne 0x1400d7e4b
lea rax, [rsp + 0x1c0]
lea rcx, [rsp + 0x400]
mov rdi, rax
mov rsi, rcx
mov ecx, 0xc
rep movsb byte [rdi], byte [rsi]
mov edx, 0x2f
mov rcx, qword [0x140170c90]
call fcn.1400c5120
mov qword [rsp + 0x108], rax
lea rdx, [rsp + 0x220]
mov rcx, qword [rsp + 0x108]
call fcn.1400c8430
mov qword [rsp + 0x120], rax
mov rcx, qword [0x140170c90]
call fcn.1400c4b30
mov qword [rsp + 0x110], rax
lea rdx, [rsp + 0x22c]
mov rcx, qword [rsp + 0x110]
call fcn.1400d7130
mov qword [rsp + 0x118], rax
mov r8, qword [rsp + 0x118]
lea rdx, [rsp + 0x1cc]
mov rcx, qword [rsp + 0x120]
call fcn.1400b4d00
lea rcx, [rsp + 0x1d8]
call fcn.1400ccbb0
lea rdx, [rsp + 0x1c0]
lea rcx, [0x14016fad8]
call fcn.1400ccfb0
movzx eax, byte [0x1401702f0]
test eax, eax
je 0x1400d7f89
mov rcx, qword [rsp + 0x20]
call fcn.1400ca3a0
movzx eax, al
test eax, eax
je 0x1400d7f68
cmp qword [0x140170db8], 0
jne 0x1400d7ec2
lea rcx, [rsp + 0x180]
call fcn.1400ccbb0
mov qword [rsp + 0x128], rax
lea rdx, [rsp + 0x188]
mov rcx, qword [rsp + 0x128]
call fcn.1400d6e80
mov rdx, rax
lea rcx, [rsp + 0x190]
call fcn.1400b1220
mov rcx, rax
call fcn.140003b70
mov qword [0x140170db8], rax
mov rcx, qword [rsp + 0x20]
call fcn.1400cd790
mulss xmm0, dword [0x14010b2f8]
movss dword [0x140170d94], xmm0
lea rcx, [rsp + 0x198]
call fcn.1400ccbb0
mov qword [rsp + 0x130], rax
lea rdx, [rsp + 0x1a0]
mov rcx, qword [rsp + 0x130]
call fcn.1400d6e80
mov rdx, rax
lea rcx, [rsp + 0x1a8]
call fcn.1400b1220
mov rcx, rax
call fcn.140003b70
mov qword [rsp + 0x138], rax
mov rcx, qword [rsp + 0x20]
call fcn.1400cd790
mulss xmm0, dword [0x14010b2f8]
cvtsi2ss xmm1, qword [0x140170db8]
addss xmm1, xmm0
movaps xmm0, xmm1
cvttss2si eax, xmm0
cdqe
mov rcx, qword [rsp + 0x138]
sub rax, rcx
cvtsi2ss xmm0, rax
movss dword [0x140170d90], xmm0
jmp 0x1400d7f89
mov qword [0x140170db8], 0
xorps xmm0, xmm0
movss dword [0x140170d94], xmm0
xorps xmm0, xmm0
movss dword [0x140170d90], xmm0
lea rcx, [rsp + 0x3e0]
call fcn.1400083a0
mov rcx, qword [rsp + 0x430]
xor rcx, rsp
call fcn.1401010d0
add rsp, 0x448
pop rdi
pop rsi
ret