Function at 0x140040cf0
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x60
cmp qword [0x140174910], 0
jne 0x140040d09
call fcn.140025cd0
mov rcx, qword [0x140174930]
lea rdx, [rsp + 0x40]
mov rdi, qword [0x140174370]
call qword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [rsp + 0x48]
lea rcx, [rsp + 0x80]
sub eax, dword [rsp + 0x40]
movd xmm1, eax
mov eax, dword [rsp + 0x4c]
sub eax, dword [rsp + 0x44]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rdi + 0x10], xmm1
movss dword [rdi + 0x14], xmm0
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rcx, qword [rsp + 0x80]
xorps xmm1, xmm1
mov rax, rcx
xorps xmm0, xmm0
sub rax, qword [0x140174938]
cvtsi2ss xmm0, qword [0x140174940]
cvtsi2ss xmm1, rax
divss xmm1, xmm0
movss dword [rdi + 0x18], xmm1
mov qword [0x140174938], rcx
mov ecx, reloc.WS2_32.dll_recvfrom
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
mov ecx, reloc.WS2_32.dll_recv
and al, 1
mov byte [rdi + 0x130], al
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
mov ecx, reloc.WS2_32.dll_select
and al, 1
mov byte [rdi + 0x131], al
call qword [sym.imp.USER32.dll_GetKeyState]
mov rcx, qword [0x140174370]
shr eax, 0xf
and al, 1
mov byte [rdi + 0x133], 0
mov byte [rdi + 0x132], al
cmp byte [rcx + 0x3af], 0
lea rbx, [rcx + 0x118]
je 0x140040e22
cvttss2si eax, dword [rbx]
lea rdx, [rsp + 0x70]
mov dword [rsp + 0x70], eax
cvttss2si eax, dword [rcx + 0x11c]
mov rcx, qword [0x140174930]
mov dword [rsp + 0x74], eax
call qword [sym.imp.USER32.dll_ClientToScreen]
mov edx, dword [rsp + 0x74]
mov ecx, dword [rsp + 0x70]
call qword [sym.imp.USER32.dll_SetCursorPos]
mov dword [rbx], 0xff7fffff
mov dword [rbx + 4], 0xff7fffff
call qword [sym.imp.USER32.dll_GetActiveWindow]
cmp rax, qword [0x140174930]
jne 0x140040e7e
lea rcx, [rsp + 0x78]
call qword [sym.imp.USER32.dll_GetCursorPos]
test eax, eax
je 0x140040e7e
mov rcx, qword [0x140174930]
lea rdx, [rsp + 0x78]
call qword [sym.imp.USER32.dll_ScreenToClient]
test eax, eax
je 0x140040e7e
movd xmm0, dword [rsp + 0x78]
movd xmm1, dword [rsp + 0x7c]
cvtdq2ps xmm0, xmm0
cvtdq2ps xmm1, xmm1
movss dword [rbx], xmm0
movss dword [rbx + 4], xmm1
cmp byte [rdi + 0xd0], 0
je 0x140040e8e
mov eax, 0xffffffff
jmp 0x140040e9b
mov rax, qword [0x140174370]
mov eax, dword [rax + 0x1ed0]
cmp dword [reloc.WS2_32.dll_htonl], eax
je 0x140040eae
mov dword [reloc.WS2_32.dll_htonl], eax
call fcn.140025e20
call fcn.140007400
mov ecx, reloc.WLDAP32.dll_Ordinal_45
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test al, 1
je 0x140040ed4
cmp byte [reloc.WS2_32.dll_accept], 0
sete dl
mov byte [reloc.WS2_32.dll_accept], dl
jmp 0x140040edb
movzx edx, byte [reloc.WS2_32.dll_accept]
call fcn.14003ae10
mov rax, qword [0x140174370]
xor edi, edi
test dl, dl
je 0x140041015
xor edx, edx
mov byte [rax + 0xd0], 1
mov r8d, 0x122
lea rcx, str.________________________________________________Yurysium_valorant_______________________________________Insert
call fcn.14000abb0
test al, al
je 0x140041009
mov rbx, qword [0x140174370]
lea rdx, [rsp + 0x40]
mov dword [rsp + 0x40], edi
mov rax, qword [rbx + 0x1a08]
lea rcx, [rbx + 0x1a88]
mov byte [rax + 0x7c], 1
mov rax, qword [rbx + 0x1a08]
movss xmm0, dword [rax + 0x10]
subss xmm0, dword [rax + 0x58]
movss xmm2, dword [rax + 0x14]
subss xmm2, dword [rax + 0x5c]
addss xmm0, dword [0x14013c1e0]
addss xmm2, dword [0x14013c1dc]
movss dword [rax + 0xc8], xmm0
movss dword [rax + 0xcc], xmm2
movss xmm1, dword [rax + 0xe0]
maxss xmm1, xmm0
movss xmm0, dword [rax + 0xe4]
maxss xmm0, xmm2
movss dword [rax + 0xe0], xmm1
movss dword [rax + 0xe4], xmm0
movups xmm0, xmmword [rbx + 0x15f0]
movups xmmword [rsp + 0x44], xmm0
call fcn.140014c90
mov dword [rbx + 0x15f0], edi
lea rcx, str._Undetected
mov qword [rbx + 0x15f4], 0x3f800000
mov dword [rbx + 0x15fc], 0x3f800000
call fcn.140026a10
mov r8, qword [0x140174370]
movsxd rax, dword [r8 + 0x1a88]
mov rcx, qword [r8 + 0x1a90]
lea rdx, [rax + rax*4]
movsxd rax, dword [rcx + rdx*4 - 0x14]
movups xmm0, xmmword [rcx + rdx*4 - 0x10]
add rax, 0x15f
add rax, rax
movups xmmword [r8 + rax*8], xmm0
dec dword [r8 + 0x1a88]
call fcn.14003afc0
call fcn.14000daa0
jmp 0x14004101c
mov byte [rax + 0xd0], dil
call fcn.14003f380
mov rcx, qword [0x1401749a0]
xor r8d, r8d
mov rax, qword [rcx]
lea edx, [r8 + 7]
call qword [rax + 0x1c8]
mov rcx, qword [0x1401749a0]
xor r8d, r8d
mov rax, qword [rcx]
lea edx, [r8 + 0x1b]
call qword [rax + 0x1c8]
mov rcx, qword [0x1401749a0]
xor r8d, r8d
mov edx, 0xae
mov rax, qword [rcx]
call qword [rax + 0x1c8]
mov rcx, qword [0x1401749a0]
mov r9d, 1
movss xmm0, dword [0x14013c108]
xor r8d, r8d
mov dword [rsp + 0x30], edi
xor edx, edx
movss dword [rsp + 0x28], xmm0
mov rax, qword [rcx]
mov dword [rsp + 0x20], edi
call qword [rax + 0x158]
mov rcx, qword [0x1401749a0]
mov rax, qword [rcx]
call qword [rax + 0x148]
test eax, eax
js 0x1400410db
call fcn.1400089f0
mov rcx, qword [0x140174370]
add rcx, 0x1c80
cmp byte [rcx], dil
cmove rcx, rdi
call fcn.1400253f0
mov rcx, qword [0x1401749a0]
mov rax, qword [rcx]
call qword [rax + 0x150]
mov rcx, qword [0x1401749a0]
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], rdi
xor edx, edx
mov rax, qword [rcx]
call qword [rax + 0x88]
cmp eax, 0x88760868
jne 0x14004119d
mov rcx, qword [0x1401749a0]
mov rax, qword [rcx]
call qword [rax + Ordinal_26]
cmp eax, 0x88760869
jne 0x14004119d
cmp qword [0x140174920], rdi
je 0x140041181
mov rcx, qword [0x140174928]
test rcx, rcx
je 0x14004113d
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov qword [0x140174928], rdi
mov rcx, qword [0x140174918]
test rcx, rcx
je 0x140041156
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov qword [0x140174918], rdi
mov rcx, qword [0x140174910]
mov rbx, qword [0x140174370]
test rcx, rcx
je 0x14004116f
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov qword [0x140174910], rdi
mov rax, qword [rbx + 0xa0]
mov qword [rax + 8], rdi
mov rcx, qword [0x1401749a0]
lea rdx, [0x1401743d0]
mov rax, qword [rcx]
call qword [rax + 0x80]
call fcn.140025cd0
mov rbx, qword [rsp + 0x88]
add rsp, 0x60
pop rdi
ret