Function at 0x14004dac0
Capabilities:
Log keystrokes via polling

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rdi
push rbp
lea rbp, [rax - 0x5f]
sub rsp, 0xa0
movaps xmmword [rax - 0x18], xmm6
movaps xmmword [rax - 0x28], xmm7
mov rax, qword [0x14014e080]
xor rax, rsp
mov qword [rbp + 0x27], rax
cmp qword [0x1401734d8], 0
jne 0x14004dafc
call fcn.140026700
mov rcx, qword [0x1401734f8]
lea rdx, [rbp - 1]
mov rdi, qword [0x140173030]
call qword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [rbp + 7]
lea rcx, [rbp + 0xf]
sub eax, dword [rbp - 1]
movd xmm1, eax
mov eax, dword [rbp + 0xb]
sub eax, dword [rbp + 3]
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 [rbp + 0xf]
xorps xmm1, xmm1
mov rax, rcx
xorps xmm0, xmm0
sub rax, qword [0x140173500]
cvtsi2ss xmm0, qword [0x140173508]
cvtsi2ss xmm1, rax
divss xmm1, xmm0
movss dword [rdi + 0x18], xmm1
mov qword [0x140173500], 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 [0x140173030]
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 0x14004dc03
cvttss2si eax, dword [rbx]
lea rdx, [rbp + 0x1f]
mov dword [rbp + 0x1f], eax
cvttss2si eax, dword [rcx + 0x11c]
mov rcx, qword [0x1401734f8]
mov dword [rbp + 0x23], eax
call qword [sym.imp.USER32.dll_ClientToScreen]
mov edx, dword [rbp + 0x23]
mov ecx, dword [rbp + 0x1f]
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 [0x1401734f8]
jne 0x14004dc5b
lea rcx, [rbp - 9]
call qword [sym.imp.USER32.dll_GetCursorPos]
test eax, eax
je 0x14004dc5b
mov rcx, qword [0x1401734f8]
lea rdx, [rbp - 9]
call qword [sym.imp.USER32.dll_ScreenToClient]
test eax, eax
je 0x14004dc5b
movd xmm0, dword [rbp - 9]
movd xmm1, dword [rbp - 5]
cvtdq2ps xmm0, xmm0
cvtdq2ps xmm1, xmm1
movss dword [rbx], xmm0
movss dword [rbx + 4], xmm1
cmp byte [rdi + 0xd0], 0
je 0x14004dc6b
mov eax, 0xffffffff
jmp 0x14004dc78
mov rax, qword [0x140173030]
mov eax, dword [rax + 0x1ec0]
cmp dword [reloc.WS2_32.dll_htonl], eax
je 0x14004dc8b
mov dword [reloc.WS2_32.dll_htonl], eax
call fcn.140026870
call fcn.140006ea0
mov ecx, WSAStartup
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test al, 1
je 0x14004dcad
cmp byte [0x14017302a], 0
sete byte [0x14017302a]
mov rax, qword [0x140173030]
xor edi, edi
mov dword [rax + 0x1740], edi
mov qword [rax + 0x1744], 0x3f4ccccd
mov qword [rax + 0x174c], 0x3f800000
mov qword [rax + 0x1754], 0x3f800000
mov qword [rax + 0x175c], 0x3f800000
mov qword [rax + 0x1764], 0x3f19999a
mov dword [rax + 0x176c], 0x3f800000
mov qword [rax + 0x1650], rdi
mov qword [rax + 0x1658], rdi
mov qword [rax + 0x1640], rdi
mov dword [rax + 0x1648], edi
mov dword [rax + 0x164c], 0x3f800000
mov dword [rax + 0x1660], 0x3dcccccd
mov dword [rax + 0x1664], 0x3dcccccd
mov dword [rax + 0x1668], 0x3dcccccd
mov dword [rax + 0x166c], 0x3f800000
mov dword [rax + 0x1670], 0x3dcccccd
mov dword [rax + 0x1674], 0x3dcccccd
mov dword [rax + 0x1678], 0x3dcccccd
mov dword [rax + 0x167c], 0x3e4ccccd
mov dword [rax + 0x1680], 0x3e4ccccd
mov dword [rax + 0x1684], 0x3e4ccccd
mov dword [rax + 0x1688], 0x3e4ccccd
mov dword [rax + 0x168c], 0x3e99999a
mov dword [rax + 0x1630], 0x3dcccccd
mov dword [rax + 0x1634], 0x3dcccccd
mov dword [rax + 0x1638], 0x3dcccccd
mov dword [rax + 0x163c], 0x3f6b851f
mov dword [rax + 0x1780], 0x3dcccccd
mov dword [rax + 0x1784], 0x3dcccccd
mov dword [rax + 0x1788], 0x3dcccccd
mov dword [rax + 0x178c], 0x3e19999a
mov dword [rax + 0x15f0], 0x3f800000
mov dword [rax + 0x15f4], 0x3f800000
mov dword [rax + 0x15f8], 0x3f800000
mov dword [rax + 0x15fc], 0x3f800000
mov dword [rax + 0x158c], 0x40800000
cmp byte [0x140171f0a], dil
je 0x14004de30
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea edx, [rdi + 0x11]
jmp 0x14004de38
call qword [sym.imp.KERNEL32.dll_GetLastError]
xor edx, edx
mov rcx, qword [0x140173520]
call qword [sym.imp.USER32.dll_SetWindowDisplayAffinity]
cmp byte [0x14017302a], dil
mov rax, qword [0x140173030]
je 0x14004df33
movsd xmm0, qword [str.fZ_QNHd]
lea rcx, [rbp + 0xf]
movsd qword [rbp + 0xf], xmm0
xor edx, edx
xor byte [rbp + 0x10], 0x36
mov r8d, 0x10b
xor byte [rbp + 0x11], 0x37
xor byte [rbp + 0x12], 0x38
xor byte [rbp + 0x13], 0x39
xor byte [rbp + 0x14], 0x3a
xor byte [rbp + 0x15], 0x3b
xor byte [rbp + 0x16], 0x3c
mov dword [rax + 0x1af4], 0x43fa0000
mov dword [rax + 0x1af8], 0x43d20000
mov dword [rax + 0x1acc], 1
movzx eax, byte [0x14013c868]
xor al, 0x3d
mov byte [rbp + 0xf], 0x53
mov byte [rbp + 0x17], al
call fcn.14000a7b0
test al, al
je 0x14004df2c
mov ecx, reloc.WS2_32.dll_WSACleanup
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x14004def6
mov ecx, 0x64
call qword [sym.imp.KERNEL32.dll_Sleep]
cmp byte [0x140173994], dil
sete al
mov byte [0x140173994], al
mov byte [0x140171ed4], al
mov ecx, reloc.WS2_32.dll_WSAStartup
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x14004df27
mov ecx, 0x64
call qword [sym.imp.KERNEL32.dll_Sleep]
cmp byte [0x140173980], dil
sete al
mov byte [0x140173980], al
mov byte [0x140171ef6], al
call fcn.14003b9d0
call fcn.14000d5d0
jmp 0x14004df3a
mov byte [rax + 0xd0], dil
mov ecx, reloc.WS2_32.dll_WSACleanup
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x14004df6b
mov ecx, 0x64
call qword [sym.imp.KERNEL32.dll_Sleep]
cmp byte [0x1401739a0], dil
sete al
mov byte [0x1401739a0], al
mov byte [0x140171ed4], al
mov ecx, reloc.WS2_32.dll_WSAStartup
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x14004df9c
mov ecx, 0x64
call qword [sym.imp.KERNEL32.dll_Sleep]
cmp byte [0x140173981], dil
sete al
mov byte [0x140173981], al
mov byte [0x140171ef6], al
movss xmm1, dword [0x140171ff4]
xorps xmm4, xmm4
movss xmm3, dword [0x14013ccbc]
ucomiss xmm1, xmm3
movss xmm2, dword [0x140173984]
jp 0x14004dfdb
jne 0x14004dfdb
ucomiss xmm2, xmm4
jp 0x14004dfdb
jne 0x14004dfdb
movss xmm0, dword [0x1401739a4]
addss xmm0, xmm3
movss dword [0x1401739a4], xmm0
jmp 0x14004dfe3
movss xmm0, dword [0x1401739a4]
movss xmm5, dword [0x14013cd20]
comiss xmm0, xmm5
movss xmm6, dword [0x14013cd24]
jbe 0x14004e016
ucomiss xmm2, xmm4
jp 0x14004e016
jne 0x14004e016
addss xmm1, xmm3
movss dword [0x1401739a4], xmm6
movaps xmm0, xmm6
movss dword [0x140171ff4], xmm1
comiss xmm1, xmm5
movss xmm7, dword [0x14013ce80]
jbe 0x14004e041
ucomiss xmm2, xmm4
jp 0x14004e041
jne 0x14004e041
addss xmm0, xmm7
movss dword [0x140171ff4], xmm6
movaps xmm1, xmm6
movss dword [0x1401739a4], xmm0
comiss xmm3, xmm0
jbe 0x14004e064
ucomiss xmm1, xmm6
jp 0x14004e064
jne 0x14004e064
addss xmm2, xmm3
xorps xmm0, xmm0
movss dword [0x1401739a4], xmm0
movss dword [0x140173984], xmm2
comiss xmm2, xmm5
jbe 0x14004e087
ucomiss xmm0, xmm4
jp 0x14004e087
jne 0x14004e087
addss xmm1, xmm7
movss dword [0x140173984], xmm6
movaps xmm2, xmm6
movss dword [0x140171ff4], xmm1
comiss xmm3, xmm1
jbe 0x14004e0aa
ucomiss xmm2, xmm6
jp 0x14004e0aa
jne 0x14004e0aa
addss xmm0, xmm3
xorps xmm1, xmm1
movss dword [0x140171ff4], xmm1
movss dword [0x1401739a4], xmm0
comiss xmm0, xmm5
jbe 0x14004e0cd
ucomiss xmm1, xmm4
jp 0x14004e0cd
jne 0x14004e0cd
addss xmm2, xmm7
movss dword [0x1401739a4], xmm6
movaps xmm0, xmm6
movss dword [0x140173984], xmm2
comiss xmm3, xmm2
jbe 0x14004e0fa
ucomiss xmm1, xmm4
jp 0x14004e0fa
jne 0x14004e0fa
addss xmm0, xmm7
mov dword [0x140173984], edi
comiss xmm3, xmm0
movss dword [0x1401739a4], xmm0
jbe 0x14004e0fa
mov dword [0x140171ff4], 0x3c23d70a
call fcn.140044d10
mov rcx, qword [0x140173528]
xor r8d, r8d
mov rax, qword [rcx]
lea edx, [r8 + 7]
call qword [rax + 0x1c8]
mov rcx, qword [0x140173528]
xor r8d, r8d
mov rax, qword [rcx]
lea edx, [r8 + 0x1b]
call qword [rax + 0x1c8]
mov rcx, qword [0x140173528]
xor r8d, r8d
mov edx, 0xae
mov rax, qword [rcx]
call qword [rax + 0x1c8]
mov rcx, qword [0x140173528]
mov r9d, 1
mov dword [rsp + 0x30], edi
xor r8d, r8d
movss dword [rsp + 0x28], xmm6
xor edx, edx
mov dword [rsp + 0x20], edi
mov rax, qword [rcx]
call qword [rax + 0x158]
mov rcx, qword [0x140173528]
mov rax, qword [rcx]
call qword [rax + 0x148]
test eax, eax
js 0x14004e1b1
call fcn.140008460
mov rcx, qword [0x140173030]
add rcx, 0x1c70
cmp byte [rcx], dil
cmove rcx, rdi
call fcn.140025e20
mov rcx, qword [0x140173528]
mov rax, qword [rcx]
call qword [rax + 0x150]
mov rcx, qword [0x140173528]
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 0x14004e273
mov rcx, qword [0x140173528]
mov rax, qword [rcx]
call qword [rax + Ordinal_26]
cmp eax, 0x88760869
jne 0x14004e273
cmp qword [0x1401734e8], rdi
je 0x14004e257
mov rcx, qword [0x1401734f0]
test rcx, rcx
je 0x14004e213
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov qword [0x1401734f0], rdi
mov rcx, qword [0x1401734e0]
test rcx, rcx
je 0x14004e22c
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov qword [0x1401734e0], rdi
mov rcx, qword [0x1401734d8]
mov rbx, qword [0x140173030]
test rcx, rcx
je 0x14004e245
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov qword [0x1401734d8], rdi
mov rax, qword [rbx + 0xa0]
mov qword [rax + 8], rdi
mov rcx, qword [0x140173528]
lea rdx, [0x1401730c0]
mov rax, qword [rcx]
call qword [rax + 0x80]
call fcn.140026700
mov rcx, qword [rbp + 0x27]
xor rcx, rsp
call fcn.1400bd930
lea r11, [rsp + 0xa0]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
mov rsp, r11
pop rbp
ret