Function at 0x14005e000
Capabilities:
Log keystrokes via polling

Disassembly:
push rdi
sub rsp, 0x80
movaps xmmword [rsp + 0x70], xmm6
mov rax, qword [0x1401cc1c0]
xor rax, rsp
mov qword [rsp + 0x60], rax
movss xmm6, dword [0x14019eb00]
xorps xmm0, xmm0
movups xmmword [0x141223460], xmm0
movups xmmword [0x141223470], xmm0
movups xmmword [0x141223480], xmm0
nop dword [rax]
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetSystemMetrics]
mov ecx, 1
call qword [sym.imp.USER32.dll_GetSystemMetrics]
mov rdx, qword [0x141259160]
lea rcx, [0x141223460]
xor r9d, r9d
mov dword [rsp + 0x20], 1
xor r8d, r8d
call qword [sym.imp.USER32.dll_PeekMessageA]
test eax, eax
je 0x14005e093
lea rcx, [0x141223460]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [0x141223460]
call qword [sym.imp.USER32.dll_DispatchMessageA]
xor eax, eax
lea rdi, [rsp + 0x48]
mov ecx, reloc.WS2_32.dll_recv
lea rdx, [rsp + 0x48]
rep stosb byte [rdi], al
lea rdi, [rsp + 0x40]
mov ecx, 8
rep stosb byte [rdi], al
mov rcx, qword [0x141223410]
call qword [sym.imp.USER32.dll_GetClientRect]
mov rcx, qword [0x141223410]
lea rdx, [rsp + 0x40]
call qword [sym.imp.USER32.dll_ClientToScreen]
mov eax, dword [rsp + 0x40]
lea rcx, [rsp + 0x58]
mov rdi, qword [0x141223320]
mov dword [rsp + 0x48], eax
mov eax, dword [rsp + 0x44]
mov dword [rsp + 0x4c], eax
mov rax, qword [0x141223410]
movss xmm0, dword [rdi + 0x10]
movss xmm1, dword [rdi + 0x14]
mov qword [rdi + 0x108], rax
mulss xmm0, xmm6
mov dword [rdi + 0x18], 0x3c888889
mulss xmm1, xmm6
cvttss2si eax, xmm0
mov dword [0x141254744], eax
cvttss2si eax, xmm1
mov dword [0x141254788], eax
call qword [sym.imp.USER32.dll_GetCursorPos]
mov rcx, qword [0x141259160]
mov edx, 0xffffffec
call qword [sym.imp.USER32.dll_GetWindowLongA]
mov eax, dword [rsp + 0x58]
mov ecx, 1
sub eax, dword [rsp + 0x40]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rdi + 0x118], xmm0
mov eax, dword [rsp + 0x5c]
sub eax, dword [rsp + 0x44]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rdi + 0x11c], xmm0
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x14005e19a
mov byte [rdi + 0x120], 1
mov eax, dword [rdi + 0x11c]
mov dword [rdi + 0x3dc], eax
mov byte [rdi + 0x430], 1
jmp 0x14005e1a1
mov byte [rdi + 0x120], 0
mov eax, dword [0x14125bf88]
cmp dword [rsp + 0x48], eax
jne 0x14005e1d5
mov eax, dword [0x14125bf90]
cmp dword [rsp + 0x50], eax
jne 0x14005e1d5
mov eax, dword [0x14125bf8c]
cmp dword [rsp + 0x4c], eax
jne 0x14005e1d5
mov eax, dword [0x14125bf94]
cmp dword [rsp + 0x54], eax
je 0x14005e264
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetSystemMetrics]
mov ecx, 1
call qword [sym.imp.USER32.dll_GetSystemMetrics]
movups xmm1, xmmword [rsp + 0x48]
mov r9d, dword [rsp + 0x44]
xor edx, edx
mov r8d, dword [rsp + 0x40]
add r9d, 2
movdqa xmm0, xmm1
mov dword [rsp + 0x30], 8
movups xmmword [0x14125bf88], xmm1
add r8d, 2
psrldq xmm1, 0xc
movd eax, xmm1
psrldq xmm0, 8
movd ecx, xmm0
mov dword [0x141223424], eax
add eax, 0xfffffffd
mov dword [rsp + 0x28], eax
mov dword [0x141223420], ecx
add ecx, 0xfffffffd
mov dword [rsp + 0x20], ecx
mov rcx, qword [0x141259160]
call qword [sym.imp.USER32.dll_SetWindowPos]
mov rcx, qword [0x141259158]
lea rdx, [0x141223420]
mov rax, qword [rcx]
call qword [rax + 0x80]
call fcn.14005c930
cmp dword [0x141223468], 0x12
jne 0x14005e040
call fcn.14002f0a0
mov rdi, qword [0x141223320]
mov rcx, rdi
mov qword [0x141259120], 0
mov qword [0x141259130], 0
call fcn.140010140
cmp qword [0x141223320], rdi
jne 0x14005e2b4
mov qword [0x141223320], 0
test rdi, rdi
je 0x14005e2dc
mov rcx, rdi
call fcn.14001e770
mov rax, qword [0x141223320]
test rax, rax
je 0x14005e2d3
dec dword [rax + 0x3c8]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rcx, qword [0x141259160]
call qword [sym.imp.USER32.dll_DestroyWindow]
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.140117bc0
movaps xmm6, xmmword [rsp + 0x70]
add rsp, 0x80
pop rdi
ret