Function at 0x14003d780
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0xa0
mov rax, qword [0x1400e0098]
xor rax, rsp
mov qword [rbp + 0x47], rax
xor edi, edi
cmp dword [rbp + 0xf], 0x12
je 0x14003d98b
mov rdx, qword [0x1401c6ea0]
lea rcx, [rbp + 7]
xor r9d, r9d
mov dword [rsp + 0x20], 1
xor r8d, r8d
call qword [sym.imp.USER32.dll_PeekMessageA]
test eax, eax
je 0x14003d7e8
lea rcx, [rbp + 7]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [rbp + 7]
call qword [sym.imp.USER32.dll_DispatchMessageA]
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov rcx, qword [0x1401c6ae8]
cmp rax, rcx
jne 0x14003d835
mov edx, 3
mov rcx, rax
call qword [sym.imp.USER32.dll_GetWindow]
mov rcx, qword [0x1401c6ea0]
xor r9d, r9d
mov dword [rsp + 0x30], 3
mov rdx, rax
mov dword [rsp + 0x28], edi
xor r8d, r8d
mov dword [rsp + 0x20], edi
call qword [sym.imp.USER32.dll_SetWindowPos]
mov rcx, qword [0x1401c6ae8]
xorps xmm0, xmm0
mov qword [rbp - 9], rdi
lea rdx, [rbp + 0x37]
movups xmmword [rbp + 0x37], xmm0
call qword [sym.imp.USER32.dll_GetClientRect]
mov rcx, qword [0x1401c6ae8]
lea rdx, [rbp - 9]
call qword [sym.imp.USER32.dll_ClientToScreen]
mov eax, dword [rbp - 9]
lea rcx, [rbp - 1]
mov rbx, qword [0x1401c6a70]
mov dword [rbp + 0x37], eax
mov eax, dword [rbp - 5]
mov dword [rbp + 0x3b], eax
mov rax, qword [0x1401c6ae8]
mov qword [rbx + 0x108], rax
mov dword [rbx + 0x18], 0x3c888889
call qword [sym.imp.USER32.dll_GetCursorPos]
mov eax, dword [rbp - 1]
mov ecx, 1
sub eax, dword [rbp - 9]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rbx + 0x118], xmm0
mov eax, dword [rbp + 3]
sub eax, dword [rbp - 5]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rbx + 0x11c], xmm0
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x14003d8e3
mov byte [rbx + 0x120], 1
mov eax, dword [rbx + 0x11c]
mov dword [rbx + 0x3dc], eax
mov byte [rbx + 0x430], 1
jmp 0x14003d8ea
mov byte [rbx + 0x120], dil
mov eax, dword [0x1401c72e0]
mov ecx, dword [rbp + 0x43]
mov edx, dword [rbp + 0x3f]
cmp dword [rbp + 0x37], eax
jne 0x14003d916
cmp edx, dword [0x1401c72e8]
jne 0x14003d916
mov eax, dword [0x1401c72e4]
cmp dword [rbp + 0x3b], eax
jne 0x14003d916
cmp ecx, dword [0x1401c72ec]
je 0x14003d97c
movups xmm0, xmmword [rbp + 0x37]
mov r9d, dword [rbp - 5]
mov r8d, dword [rbp - 9]
mov dword [rsp + 0x30], 8
mov dword [rsp + 0x28], ecx
mov dword [rsp + 0x20], edx
mov dword [0x1401c6b1c], edx
mov dword [0x1401c6ae0], ecx
mov dword [0x1401c6a80], edx
mov rdx, 0xffffffffffffffff
mov dword [0x1401c6a84], ecx
mov rcx, qword [0x1401c6ea0]
movups xmmword [0x1401c72e0], xmm0
call qword [sym.imp.USER32.dll_SetWindowPos]
mov rcx, qword [0x1401c6ea8]
lea rdx, [0x1401c6a80]
mov rax, qword [rcx]
call qword [rax + 0x80]
call fcn.14003d3b0
cmp dword [rbp + 0xf], 0x12
jne 0x14003d7b1
cmp qword [0x1401c6e78], rdi
je 0x14003d9f1
mov rcx, qword [0x1401c6e80]
test rcx, rcx
je 0x14003d9ad
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov qword [0x1401c6e80], rdi
mov rcx, qword [0x1401c6e70]
test rcx, rcx
je 0x14003d9c6
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov qword [0x1401c6e70], rdi
mov rcx, qword [0x1401c6e68]
mov rbx, qword [0x1401c6a70]
test rcx, rcx
je 0x14003d9df
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov qword [0x1401c6e68], rdi
mov rax, qword [rbx + 0xa0]
mov qword [rax + 8], rdi
mov rbx, qword [0x1401c6a70]
mov rcx, rbx
mov qword [0x1401c6e78], rdi
mov qword [0x1401c6e88], rdi
call fcn.140007710
cmp qword [0x1401c6a70], rbx
jne 0x14003da1e
mov qword [0x1401c6a70], rdi
test rbx, rbx
je 0x14003da46
mov rcx, rbx
call fcn.140014fb0
mov rax, qword [0x1401c6a70]
test rax, rax
je 0x14003da3d
dec dword [rax + 0x3c8]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rcx, qword [0x1401c6ea0]
call qword [sym.imp.USER32.dll_DestroyWindow]
mov rcx, qword [rbp + 0x47]
xor rcx, rsp
call fcn.1400ae260
lea r11, [rsp + 0xa0]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov rsp, r11
pop rbp
ret