Function at 0x1400a97e0
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0x2a8
mov rax, qword [0x140c3a780]
xor rax, rsp
mov qword [rsp + 0x290], rax
call fcn.1400834e0
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x58]
movzx eax, byte [rax + 0xbb]
test eax, eax
je 0x1400a982b
xor al, al
jmp 0x1400aa295
mov rax, qword [0x140c3b710]
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x60]
add rax, 8
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x60]
add rax, 0x37c8
mov qword [rsp + 0x98], rax
xor r8d, r8d
mov rdx, qword [rsp + 0x2c0]
mov rcx, qword [rsp + 0x58]
call fcn.140083940
mov dword [rsp + 0x218], eax
lea rcx, [rsp + 0xe8]
call fcn.140083380
mov rcx, qword [rsp + 0x98]
movss xmm0, dword [rcx + 8]
mulss xmm0, dword [0x1402af210]
mov rcx, qword [rsp + 0x98]
addss xmm0, dword [rcx + 0x4c]
movss xmm1, dword [rax]
subss xmm1, xmm0
movaps xmm0, xmm1
divss xmm0, dword [0x1403629e8]
movss dword [rsp + 0x70], xmm0
movss xmm2, dword [0x1402af578]
movss xmm1, dword [rsp + 0x70]
lea rcx, [rsp + 0xf0]
call fcn.14003a9e0
mov rcx, qword [rsp + 0x58]
add rcx, 0x100
mov r8, rax
mov rdx, rcx
lea rcx, [rsp + 0xf8]
call fcn.140075700
mov rcx, qword [rsp + 0x58]
add rcx, 0x100
mov r8, rax
mov rdx, rcx
lea rcx, [rsp + 0x1f0]
call fcn.140074750
nop
xorps xmm2, xmm2
xorps xmm1, xmm1
lea rcx, [rsp + 0x100]
call fcn.14003a9e0
mov r8, rax
lea rdx, [rsp + 0x1f8]
lea rcx, [rsp + 0x108]
call fcn.1400756b0
mov r8, rax
lea rdx, [rsp + 0x1f0]
lea rcx, [rsp + 0x170]
call fcn.140074750
movss xmm1, dword [0x1402b5d28]
mov rcx, rax
call fcn.1400a9770
nop
xor r9d, r9d
xor r8d, r8d
mov edx, dword [rsp + 0x218]
lea rcx, [rsp + 0x1f0]
call fcn.140088eb0
movzx eax, al
test eax, eax
jne 0x1400a9992
xor al, al
jmp 0x1400aa295
lea rax, [rsp + 0x250]
lea rcx, [0x1402b6208]
mov rdi, rax
mov rsi, rcx
mov ecx, 5
rep movsb byte [rdi], byte [rsi]
lea rax, [rsp + 0x255]
mov rdi, rax
xor eax, eax
mov ecx, Ordinal_60
rep stosb byte [rdi], al
mov byte [rsp + 0x40], 0
mov rax, qword [rsp + 0x2c8]
mov eax, dword [rax]
mov dword [rsp + 0x44], eax
lea rdx, [0x1402b5d5e]
lea rcx, [rsp + 0x228]
call fcn.140032d00
nop
mov rax, qword [rsp + 0x2c8]
movsxd rax, dword [rax]
lea rcx, [0x1403624c0]
mov rdx, qword [rcx + rax*8]
lea rcx, [rsp + 0x228]
call fcn.14005ed70
nop
mov rax, qword [rsp + 0x2c8]
cmp dword [rax], 0
je 0x1400a9a4f
mov rax, qword [rsp + 0x60]
mov ecx, dword [rsp + 0x218]
cmp dword [rax + 0x3f68], ecx
je 0x1400a9a4f
lea rcx, [rsp + 0x228]
call fcn.140035550
mov rdx, rax
lea rcx, [rsp + 0x250]
call fcn.1400a3170
nop
jmp 0x1400a9a78
mov rax, qword [rsp + 0x60]
mov ecx, dword [rsp + 0x218]
cmp dword [rax + 0x3f68], ecx
jne 0x1400a9a78
lea rdx, [0x1402b6210]
lea rcx, [rsp + 0x250]
call fcn.1400a3170
nop
mov rcx, qword [0x140c3b998]
call fcn.140091b00
movss xmm0, dword [0x1402b5d28]
movss dword [rsp + 0x20], xmm0
mov r9b, 1
xor r8d, r8d
lea rdx, [rsp + 0x250]
lea rcx, [rsp + 0x210]
call fcn.14007c8e0
mov eax, 4
mov eax, eax
mov ecx, dword [0x140c3bf80]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
mov eax, dword [rax + rcx]
cmp dword [0x140c3b758], eax
jle 0x1400a9b1e
lea rcx, [0x140c3b758]
call fcn.1402a5db8
cmp dword [0x140c3b758], 0xffffffff
jne 0x1400a9b1e
mov edx, reloc.WS2_32.dll_recv
lea rcx, [0x140c3b748]
call fcn.140035370
lea rcx, [0x140c3b748]
call fcn.14005b250
lea rcx, [0x1402ad6d0]
call fcn.1402a5a84
nop
lea rcx, [0x140c3b758]
call fcn.1402a5d4c
nop
mov edx, 8
lea rcx, [rsp + 0x220]
call fcn.140035370
lea r8, [rsp + 0x218]
lea rdx, [rsp + 0x220]
lea rcx, [0x140c3b748]
call fcn.14009ed80
nop
lea rdx, [rsp + 0x110]
lea rcx, [0x140c3b748]
call fcn.140068010
mov rdx, rax
lea rcx, [rsp + 0x220]
call fcn.14003b060
movzx eax, al
test eax, eax
je 0x1400a9bf5
lea rax, [rsp + 0x190]
mov rdi, rax
xor eax, eax
mov ecx, Ordinal_45
rep stosb byte [rdi], al
lea rcx, [rsp + 0x190]
call fcn.1400a38c0
mov r8, rax
lea rdx, [rsp + 0x218]
lea rcx, [rsp + 0x1bc]
call fcn.1400a0810
lea r8, [rsp + 0x1bc]
lea rdx, [rsp + 0x180]
lea rcx, [0x140c3b748]
call fcn.1400a2ef0
nop
lea r8, [rsp + 0x218]
lea rdx, [rsp + 0x118]
lea rcx, [0x140c3b748]
call fcn.14009ed80
mov rax, qword [rax]
mov qword [rsp + 0x220], rax
movss xmm2, dword [0x1402b5ce8]
movss xmm1, dword [0x1402b5ce8]
lea rcx, [rsp + 0x120]
call fcn.14003a9e0
mov r8, rax
lea rdx, [rsp + 0x1f8]
lea rcx, [rsp + 0x128]
call fcn.1400756b0
mov qword [rsp + 0xb8], rax
movss xmm0, dword [rsp + 0x1f4]
addss xmm0, dword [0x1402b5ce8]
movss xmm1, dword [rsp + 0x210]
addss xmm1, dword [0x1402af56c]
movss xmm2, dword [rsp + 0x1f8]
subss xmm2, xmm1
movaps xmm1, xmm2
movaps xmm2, xmm0
lea rcx, [rsp + 0x130]
call fcn.14003a9e0
mov qword [rsp + 0xc0], rax
mov r8, qword [rsp + 0xb8]
mov rdx, qword [rsp + 0xc0]
lea rcx, [rsp + 0x200]
call fcn.140074750
nop
call fcn.1400916b0
xor r8d, r8d
mov edx, dword [rsp + 0x218]
lea rcx, [rsp + 0x200]
call fcn.140089190
mov byte [rsp + 0x41], al
mov rax, qword [rsp + 0x58]
mov rax, qword [rax + 0x298]
mov qword [rsp + 0xc8], rax
movss xmm0, dword [0x1403629f4]
movss dword [rsp + 0x74], xmm0
movss xmm1, dword [0x1402af540]
lea rcx, [0x140c3b5b8]
call fcn.140083120
mov dword [rsp + 0x78], eax
mov dword [rsp + 0x28], 0
movss xmm0, dword [rsp + 0x74]
movss dword [rsp + 0x20], xmm0
mov r9d, dword [rsp + 0x78]
lea r8, [rsp + 0x1f8]
lea rdx, [rsp + 0x1f0]
mov rcx, qword [rsp + 0xc8]
call fcn.1400b2dd0
mov rax, qword [rsp + 0x60]
movss xmm0, dword [rax + 0x18]
mulss xmm0, dword [0x1402b6368]
movss dword [rsp + 0x7c], xmm0
lea rcx, [rsp + 0x220]
call fcn.1400755b0
movss xmm0, dword [rax + 0x2c]
movss dword [rsp + 0x80], xmm0
movss xmm0, dword [rsp + 0x200]
subss xmm0, dword [rsp + 0x1f0]
movss xmm2, dword [rsp + 0x7c]
movaps xmm1, xmm0
movss xmm0, dword [rsp + 0x80]
call fcn.140070ea0
movss dword [rsp + 0x84], xmm0
lea rcx, [rsp + 0x220]
call fcn.1400755b0
movss xmm0, dword [rsp + 0x84]
movss dword [rax + 0x2c], xmm0
mov rax, qword [rsp + 0x58]
mov rax, qword [rax + 0x298]
mov qword [rsp + 0xd8], rax
movss xmm0, dword [0x1403629f4]
movss dword [rsp + 0x88], xmm0
movss xmm1, dword [0x1402af540]
lea rcx, [0x140c3b618]
call fcn.140083120
mov dword [rsp + 0x8c], eax
lea rcx, [rsp + 0x220]
call fcn.1400755b0
movss xmm0, dword [rax + 0x2c]
addss xmm0, dword [rsp + 0x1f0]
movss xmm2, dword [rsp + 0x204]
movaps xmm1, xmm0
lea rcx, [rsp + 0x138]
call fcn.14003a9e0
mov qword [rsp + 0xd0], rax
mov dword [rsp + 0x28], 0
movss xmm0, dword [rsp + 0x88]
movss dword [rsp + 0x20], xmm0
mov r9d, dword [rsp + 0x8c]
lea r8, [rsp + 0x208]
mov rdx, qword [rsp + 0xd0]
mov rcx, qword [rsp + 0xd8]
call fcn.1400b2dd0
nop
mov rax, qword [rsp + 0x58]
mov rax, qword [rax + 0x298]
mov qword [rsp + 0xa0], rax
movss xmm1, dword [0x1402af540]
lea rcx, [0x140c3b6d8]
call fcn.140083120
mov dword [rsp + 0x90], eax
movss xmm2, dword [0x1402b5ce8]
movss xmm1, dword [0x1402b5ce8]
lea rcx, [rsp + 0x140]
call fcn.14003a9e0
mov r8, rax
lea rdx, [rsp + 0x1f0]
lea rcx, [rsp + 0x148]
call fcn.140075700
mov qword [rsp + 0xe0], rax
mov qword [rsp + 0x20], 0
mov r9, qword [rsp + 0x2c0]
mov r8d, dword [rsp + 0x90]
mov rdx, qword [rsp + 0xe0]
mov rcx, qword [rsp + 0xa0]
call fcn.1400b55d0
nop
mov rcx, qword [0x140c3b998]
call fcn.140091b00
nop
mov rax, qword [rsp + 0x58]
mov rax, qword [rax + 0x298]
mov qword [rsp + 0xb0], rax
movss xmm1, dword [0x1402af540]
lea rcx, [0x140c3b6e8]
call fcn.140083120
mov dword [rsp + 0x94], eax
movss xmm2, dword [0x1402af570]
movss xmm1, dword [0x1402b5ce8]
lea rcx, [rsp + 0x150]
call fcn.14003a9e0
mov r8, rax
lea rdx, [rsp + 0x1f0]
lea rcx, [rsp + 0x158]
call fcn.140075700
mov qword [rsp + 0xa8], rax
mov qword [rsp + 0x20], 0
lea r9, str.Press_the_key_to_install
mov r8d, dword [rsp + 0x94]
mov rdx, qword [rsp + 0xa8]
mov rcx, qword [rsp + 0xb0]
call fcn.1400b55d0
nop
lea rcx, [rsp + 0x220]
call fcn.1400755b0
movss xmm0, dword [rax + 0x2c]
addss xmm0, dword [rsp + 0x1f0]
movss xmm2, dword [rsp + 0x204]
movaps xmm1, xmm0
lea rcx, [rsp + 0x160]
call fcn.14003a9e0
mov r8b, 1
lea rdx, [rsp + 0x208]
mov rcx, rax
call fcn.140091a10
nop
lea rdx, [0x140c3b6d8]
xor ecx, ecx
call fcn.140091e00
nop
movss xmm2, dword [0x1402af200]
movss xmm1, dword [0x1402af200]
lea rcx, [rsp + 0x168]
call fcn.14003a9e0
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x210]
mov qword [rsp + 0x20], rax
xor r9d, r9d
lea r8, [rsp + 0x250]
lea rdx, [rsp + 0x208]
lea rcx, [rsp + 0x200]
call fcn.140093a80
nop
mov ecx, 1
call fcn.140091810
call fcn.1400915d0
call fcn.1400916b0
nop
movzx eax, byte [rsp + 0x41]
test eax, eax
je 0x1400aa101
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rsp + 0x68]
movzx eax, byte [rcx + rax + 0x3738]
test eax, eax
je 0x1400aa101
mov rax, qword [rsp + 0x60]
mov ecx, dword [rsp + 0x218]
cmp dword [rax + 0x3f68], ecx
je 0x1400aa0e1
mov rax, qword [rsp + 0x68]
add rax, 0xe00
mov rdi, rax
xor eax, eax
mov ecx, 5
rep stosb byte [rdi], al
mov rax, qword [rsp + 0x68]
add rax, 0xb24
mov rdi, rax
xor eax, eax
mov ecx, 0x28c
rep stosb byte [rdi], al
mov rax, qword [rsp + 0x2c8]
mov dword [rax], 0
mov rdx, qword [rsp + 0x58]
mov ecx, dword [rsp + 0x218]
call fcn.1400964f0
xor edx, edx
mov rcx, qword [rsp + 0x58]
call fcn.1400828b0
nop
jmp 0x1400aa135
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rsp + 0x68]
movzx eax, byte [rcx + rax + 0x3738]
test eax, eax
je 0x1400aa135
mov rax, qword [rsp + 0x60]
mov ecx, dword [rsp + 0x218]
cmp dword [rax + 0x3f68], ecx
jne 0x1400aa135
call fcn.14007dbe0
nop
mov rax, qword [rsp + 0x60]
mov ecx, dword [rsp + 0x218]
cmp dword [rax + 0x3f68], ecx
jne 0x1400aa27a
mov dword [rsp + 0x48], 0
jmp 0x1400aa161
mov eax, dword [rsp + 0x48]
inc eax
mov dword [rsp + 0x48], eax
cmp dword [rsp + 0x48], 5
jge 0x1400aa1ef
movsxd rax, dword [rsp + 0x48]
mov rcx, qword [rsp + 0x68]
movzx eax, byte [rcx + rax + 0xe00]
test eax, eax
je 0x1400aa1ea
mov eax, dword [rsp + 0x48]
mov dword [rsp + 0x4c], eax
cmp dword [rsp + 0x4c], 0
je 0x1400aa1af
cmp dword [rsp + 0x4c], 1
je 0x1400aa1b9
cmp dword [rsp + 0x4c], 2
je 0x1400aa1c3
cmp dword [rsp + 0x4c], 3
je 0x1400aa1cd
cmp dword [rsp + 0x4c], 4
je 0x1400aa1d7
jmp 0x1400aa1df
mov dword [rsp + 0x44], 1
jmp 0x1400aa1df
mov dword [rsp + 0x44], 2
jmp 0x1400aa1df
mov dword [rsp + 0x44], 4
jmp 0x1400aa1df
mov dword [rsp + 0x44], 5
jmp 0x1400aa1df
mov dword [rsp + 0x44], 6
mov byte [rsp + 0x40], 1
call fcn.14007dbe0
nop
jmp 0x1400aa157
movzx eax, byte [rsp + 0x40]
test eax, eax
jne 0x1400aa241
mov dword [rsp + 0x50], 8
jmp 0x1400aa20c
mov eax, dword [rsp + 0x50]
inc eax
mov dword [rsp + 0x50], eax
cmp dword [rsp + 0x50], 0xa5
jg 0x1400aa241
movsxd rax, dword [rsp + 0x50]
mov rcx, qword [rsp + 0x68]
movzx eax, byte [rcx + rax + 0xb24]
test eax, eax
je 0x1400aa23f
mov eax, dword [rsp + 0x50]
mov dword [rsp + 0x44], eax
mov byte [rsp + 0x40], 1
call fcn.14007dbe0
nop
jmp 0x1400aa202
mov ecx, reloc.WLDAP32.dll_Ordinal_27
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
cwde
and eax, 0x8000
test eax, eax
je 0x1400aa26c
mov rax, qword [rsp + 0x2c8]
mov dword [rax], 0
call fcn.14007dbe0
nop
jmp 0x1400aa27a
mov rax, qword [rsp + 0x2c8]
mov ecx, dword [rsp + 0x44]
mov dword [rax], ecx
movzx eax, byte [rsp + 0x40]
mov byte [rsp + 0x42], al
lea rcx, [rsp + 0x228]
call fcn.14002ec90
movzx eax, byte [rsp + 0x42]
mov rcx, qword [rsp + 0x290]
xor rcx, rsp
call fcn.1402a5b30
add rsp, 0x2a8
pop rdi
pop rsi
ret