Function at 0x1400e4290
Capabilities:
Log keystrokes via polling

Disassembly:
push rsi
push rdi
sub rsp, 0x98
mov rax, qword [0x140383d78]
xor rax, rsp
mov qword [rsp + 0x80], rax
mov r8d, Ordinal_50
xor edx, edx
lea rcx, [0x14038a140]
call sub.VCRUNTIME140.dll_memset
cmp dword [0x14038a148], 0x12
je 0x1400e45ed
mov dword [rsp + 0x20], 1
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [0x14038a2b8]
lea rcx, [0x14038a140]
call qword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
je 0x1400e430d
lea rcx, [0x14038a140]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [0x14038a140]
call qword [sym.imp.USER32.dll_DispatchMessageW]
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov qword [rsp + 0x48], rax
mov rax, qword [0x14038a0e8]
cmp qword [rsp + 0x48], rax
jne 0x1400e4371
mov edx, 3
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.USER32.dll_GetWindow]
mov qword [rsp + 0x50], rax
mov dword [rsp + 0x30], 3
mov dword [rsp + 0x28], 0xfffffffd
mov dword [rsp + 0x20], 0xfffffffd
mov r9d, 2
mov r8d, 2
mov rdx, qword [rsp + 0x50]
mov rcx, qword [0x14038a2b8]
call qword [sym.imp.USER32.dll_SetWindowPos]
mov r8d, reloc.WS2_32.dll_recv
xor edx, edx
lea rcx, [rsp + 0x68]
call sub.VCRUNTIME140.dll_memset
mov r8d, 8
xor edx, edx
lea rcx, [rsp + 0x60]
call sub.VCRUNTIME140.dll_memset
lea rdx, [rsp + 0x68]
mov rcx, qword [0x14038a0e8]
call qword [sym.imp.USER32.dll_GetClientRect]
lea rdx, [rsp + 0x60]
mov rcx, qword [0x14038a0e8]
call qword [sym.imp.USER32.dll_ClientToScreen]
mov eax, dword [rsp + 0x60]
mov dword [rsp + 0x68], eax
mov eax, dword [rsp + 0x64]
mov dword [rsp + 0x6c], eax
call fcn.1400284e0
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x40]
mov rcx, qword [0x14038a0e8]
mov qword [rax + 0xc0], rcx
mov rax, qword [rsp + 0x40]
movss xmm0, dword [0x140160504]
movss dword [rax + 0x10], xmm0
lea rcx, [rsp + 0x78]
call qword [sym.imp.USER32.dll_GetCursorPos]
mov eax, dword [rsp + 0x60]
mov ecx, dword [rsp + 0x78]
sub ecx, eax
mov eax, ecx
cvtsi2ss xmm0, eax
mov rax, qword [rsp + 0x40]
movss dword [rax + 0xd04], xmm0
mov eax, dword [rsp + 0x64]
mov ecx, dword [rsp + 0x7c]
sub ecx, eax
mov eax, ecx
cvtsi2ss xmm0, eax
mov rax, qword [rsp + 0x40]
movss dword [rax + 0xd08], xmm0
mov ecx, 1
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
cwde
test eax, eax
je 0x1400e44c3
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rsp + 0x40]
mov byte [rcx + rax + 0xd0c], 1
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rsp + 0x40]
mov byte [rcx + rax + 0x3628], 1
mov eax, 8
imul rax, rax, 0
mov rcx, qword [rsp + 0x40]
mov rdx, qword [rsp + 0x40]
movss xmm0, dword [rdx + 0xd04]
movss dword [rcx + rax + 0x35d4], xmm0
mov eax, 8
imul rax, rax, 0
mov rcx, qword [rsp + 0x40]
mov rdx, qword [rsp + 0x40]
movss xmm0, dword [rdx + 0xd08]
movss dword [rcx + rax + 0x35d4], xmm0
jmp 0x1400e44d9
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rsp + 0x40]
mov byte [rcx + rax + 0xd0c], 0
mov eax, dword [0x14038a2f8]
cmp dword [rsp + 0x68], eax
jne 0x1400e450d
mov eax, dword [0x14038a300]
cmp dword [rsp + 0x70], eax
jne 0x1400e450d
mov eax, dword [0x14038a2fc]
cmp dword [rsp + 0x6c], eax
jne 0x1400e450d
mov eax, dword [0x14038a304]
cmp dword [rsp + 0x74], eax
je 0x1400e45e3
lea rax, [0x14038a2f8]
lea rcx, [rsp + 0x68]
mov rdi, rax
mov rsi, rcx
mov ecx, reloc.WS2_32.dll_recv
rep movsb byte [rdi], byte [rsi]
cvtsi2ss xmm0, dword [rsp + 0x70]
movss dword [0x14038a1a0], xmm0
cvtsi2ss xmm0, dword [rsp + 0x74]
movss dword [0x14038a1a4], xmm0
cvttss2si rax, dword [0x14038a1a0]
mov dword [0x14038a100], eax
cvttss2si rax, dword [0x14038a1a4]
mov dword [0x14038a104], eax
movss xmm0, dword [0x14038a1a4]
subss xmm0, dword [0x14016056c]
cvttss2si eax, xmm0
movss xmm0, dword [0x14038a1a0]
subss xmm0, dword [0x14016056c]
cvttss2si ecx, xmm0
mov edx, dword [rsp + 0x64]
add edx, 2
mov edi, dword [rsp + 0x60]
add edi, 2
mov dword [rsp + 0x30], 8
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], ecx
mov r9d, edx
mov r8d, edi
xor edx, edx
mov rcx, qword [0x14038a2b8]
call qword [sym.imp.USER32.dll_SetWindowPos]
mov rax, qword [0x14038a2c0]
mov rax, qword [rax]
mov rax, qword [rax + 0x80]
mov qword [rsp + 0x58], rax
lea rdx, [0x14038a100]
mov rcx, qword [0x14038a2c0]
call qword [rsp + 0x58]
call fcn.1400e3a70
jmp 0x1400e42c0
call fcn.1400831a0
call fcn.1400848a0
xor ecx, ecx
call fcn.140028450
mov rcx, qword [0x14038a2b8]
call qword [sym.imp.USER32.dll_DestroyWindow]
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.1401552b0
add rsp, 0x98
pop rdi
pop rsi
ret