Function at 0x140162df0
Capabilities:
Log keystrokes
Log keystrokes via polling

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
lea rbp, [rsp - 0x100]
sub rsp, 0x200
mov rax, qword [0x1402f2018]
xor rax, rsp
mov qword [rbp + 0xf0], rax
mov rdi, rcx
mov rbx, qword [0x1402fb580]
cmp byte [rcx + 0x108], 1
jne 0x140162ec3
mov ecx, dword [rcx + 0x118]
lea eax, [rcx + 0x190]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss xmm1, dword [0x1402fb394]
comiss xmm1, xmm0
jbe 0x140162ec3
movss xmm0, dword [rbx + 0xd4]
comiss xmm0, dword [0x1402c19c4]
jbe 0x140162e70
movss xmm0, dword [0x1402c1908]
cvttss2si eax, xmm0
mov r8d, 0x44c
sub r8d, eax
cvttss2si eax, xmm1
sub eax, ecx
sub eax, 0x190
imul ecx, eax, 0x4f6
mov eax, 0x10624dd3
imul ecx
sar edx, 6
mov ecx, edx
shr ecx, 0x1f
add ecx, 0x190
add ecx, edx
cmp r8d, ecx
cmovl ecx, r8d
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
movss dword [rdi + 0x130], xmm0
movss dword [rdi + 0x1f8], xmm0
mov dword [rsp + 0x20], 0x656b7970
mov word [rsp + 0x24], WSAStartup
mov byte [rsp + 0x26], 0
mov edx, 0xf50c43ef
lea rcx, [rsp + 0x21]
call fcn.1400356d0
mov r8d, eax
lea rdx, [rbp + 0xa0]
lea rcx, [rbx + 0x170]
call fcn.140066ab0
nop
movzx eax, byte [rdi + 0x108]
xor esi, esi
mov ecx, dword [rbp + 0xd4]
test al, al
jne 0x140162f2f
test ecx, ecx
jle 0x140162fd9
cvttss2si eax, dword [0x1402fb394]
mov dword [rdi + 0x118], eax
mov byte [rdi + 0x108], 1
jmp 0x140162f37
cmp al, 1
jne 0x140162fd7
test ecx, ecx
jne 0x140163102
mov byte [rdi + 0x108], sil
mov dword [rdi + 0x130], 0x43c80000
mov dword [rdi + 0x1f8], 0x43c80000
call fcn.14013edd0
call fcn.14013edd0
mov rax, qword [0x1402fb450]
movzx ecx, byte [rax + 0x2b0]
call qword [sym.imp.USER32.dll_GetKeyState]
movsx ecx, ax
shr ecx, 0xf
test cl, 1
je 0x140162fdf
call fcn.14013edd0
mov rbx, rax
call fcn.14013edd0
mov rcx, qword [0x1402fb450]
movzx ecx, byte [rcx + 0x2b0]
xor edx, edx
call qword [sym.imp.USER32.dll_MapVirtualKeyW]
mov qword [rbp - 0x48], 1
mov qword [rbp - 0x38], rsi
mov qword [rbp - 0x28], rsi
mov word [rbp - 0x3e], ax
mov qword [rbp - 0x30], rsi
mov word [rbp - 0x40], si
mov dword [rbp - 0x3c], 0xa
lea r8, [rbp - 0x48]
mov rcx, rbx
call fcn.14006ca60
jmp 0x140162fdf
test ecx, ecx
jne 0x140163102
call fcn.14013edd0
call fcn.14013edd0
mov rax, qword [0x1402fb450]
movzx ecx, byte [rax + 0x2b0]
call qword [sym.imp.USER32.dll_GetKeyState]
movsx ecx, ax
shr ecx, 0xf
test cl, 1
je 0x140163102
cmp byte [rdi + 0x108], sil
jne 0x140163102
lea rax, vtable.std::_Func_impl_no_alloc_class__private:_void___cdecl_Pyke::CastingQ_void____ptr64::_23::_lambda_1___void___.0
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x40], rdi
lea rax, [rsp + 0x38]
mov qword [rsp + 0x70], rax
lea rax, [rsp + 0x38]
mov qword [rsp + 0x30], rax
mov qword [rbp + 0x38], rsi
lea rdx, [rsp + 0x38]
lea rcx, [rbp]
call fcn.140035380
call qword [sym.imp.KERNEL32.dll_GetTickCount64]
mov rcx, rax
xorps xmm0, xmm0
test rax, rax
js 0x140163068
cvtsi2ss xmm0, rax
jmp 0x14016307a
shr rax, 1
and ecx, 1
or rax, rcx
cvtsi2ss xmm0, rax
addss xmm0, xmm0
addss xmm0, dword [0x1402c19c4]
movss dword [rbp + 0x40], xmm0
mov byte [rbp + 0x44], 0
mov rcx, qword [rsp + 0x70]
test rcx, rcx
je 0x1401630ab
mov rax, qword [rcx]
lea rdx, [rsp + 0x38]
cmp rcx, rdx
setne dl
call qword [rax + reloc.WLDAP32.dll_Ordinal_32]
mov qword [rsp + 0x70], rsi
lea rax, [rbp - 0x48]
mov qword [rsp + 0x30], rax
mov qword [rbp - 0x10], rsi
mov rcx, qword [rbp + 0x38]
test rcx, rcx
je 0x1401630ce
mov rax, qword [rcx]
lea rdx, [rbp - 0x48]
call qword [rax]
mov qword [rbp - 0x10], rax
movss xmm0, dword [rbp + 0x40]
movss dword [rbp - 8], xmm0
movzx eax, byte [rbp + 0x44]
mov byte [rbp - 4], al
lea rdx, [rbp - 0x48]
call fcn.140035270
nop
mov rcx, qword [rbp + 0x38]
test rcx, rcx
je 0x140163102
mov rax, qword [rcx]
lea rdx, [rbp]
cmp rcx, rdx
setne dl
call qword [rax + reloc.WLDAP32.dll_Ordinal_32]
call fcn.14013edd0
call fcn.14013edd0
mov rax, qword [0x1402fb450]
movzx ecx, byte [rax + 0x2b0]
call qword [sym.imp.USER32.dll_GetKeyState]
movsx ecx, ax
shr ecx, 0xf
test cl, 1
je 0x140163290
mov rdx, qword [0x1402fb580]
cmp dword [rdx + 0x2a8], 0
jbe 0x140163148
cmp dword [rdx + 0x2a4], 0
je 0x140163178
movss xmm0, dword [0x1402fb3b0]
comiss xmm0, dword [rdx + 0x2b0]
jb 0x140163178
mov eax, dword [rdx + 0x2a0]
test eax, eax
je 0x140163178
dec eax
movss xmm0, dword [rdx + 0x30]
comiss xmm0, dword [rdx + rax*4 + 0x2d8]
jae 0x140163290
cmp byte [rdi + 0x108], 0
jne 0x140163290
mov dword [rdi + 0x130], 0x43c80000
mov dword [rdi + 0x1f8], 0x43c80000
lea rax, vtable.std::_Func_impl_no_alloc_class__private:_void___cdecl_Pyke::CastingQ_void____ptr64::_26::_lambda_2___void___.0
mov qword [rsp + 0x78], rax
lea rax, [rsp + 0x78]
mov qword [rbp - 0x50], rax
lea rax, [rsp + 0x78]
mov qword [rsp + 0x30], rax
mov qword [rbp + 0x88], rsi
lea rdx, [rsp + 0x78]
lea rcx, [rbp + 0x50]
call fcn.140035380
call qword [sym.imp.KERNEL32.dll_GetTickCount64]
mov rcx, rax
xorps xmm0, xmm0
test rax, rax
js 0x1401631e5
cvtsi2ss xmm0, rax
jmp 0x1401631f7
shr rax, 1
and ecx, 1
or rax, rcx
cvtsi2ss xmm0, rax
addss xmm0, xmm0
addss xmm0, dword [0x1402c1878]
movss dword [rbp + 0x90], xmm0
mov byte [rbp + 0x94], 0
mov rcx, qword [rbp - 0x50]
test rcx, rcx
je 0x14016322c
mov rax, qword [rcx]
lea rdx, [rsp + 0x78]
cmp rcx, rdx
setne dl
call qword [rax + reloc.WLDAP32.dll_Ordinal_32]
mov qword [rbp - 0x50], rsi
lea rax, [rbp - 0x48]
mov qword [rsp + 0x30], rax
mov qword [rbp - 0x10], rsi
mov rcx, qword [rbp + 0x88]
test rcx, rcx
je 0x140163252
mov rax, qword [rcx]
lea rdx, [rbp - 0x48]
call qword [rax]
mov qword [rbp - 0x10], rax
movss xmm0, dword [rbp + 0x90]
movss dword [rbp - 8], xmm0
movzx eax, byte [rbp + 0x94]
mov byte [rbp - 4], al
lea rdx, [rbp - 0x48]
call fcn.140035270
nop
mov rcx, qword [rbp + 0x88]
test rcx, rcx
je 0x140163290
mov rax, qword [rcx]
lea rdx, [rbp + 0x50]
cmp rcx, rdx
setne dl
call qword [rax + reloc.WLDAP32.dll_Ordinal_32]
nop
lea rcx, [rbp + 0xb0]
call fcn.140036090
mov rcx, qword [rbp + 0xf0]
xor rcx, rsp
call fcn.1402283f0
lea r11, [rsp + 0x200]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret