Function at 0x1400639a0
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x70
xorps xmm0, xmm0
mov rdi, rcx
movups xmmword [rsp + 0x40], xmm0
xor esi, esi
movups xmmword [rsp + 0x50], xmm0
movups xmmword [rsp + 0x60], xmm0
nop word [rax + rax]
mov rcx, qword [0x1404e2eb8]
call qword [sym.imp.USER32.dll_UpdateWindow]
mov rcx, qword [0x1404e2eb8]
mov edx, 5
call qword [sym.imp.USER32.dll_ShowWindow]
mov rdx, qword [0x1404e2eb8]
lea rcx, [rsp + 0x40]
xor r9d, r9d
mov dword [rsp + 0x20], 1
xor r8d, r8d
call qword [sym.imp.USER32.dll_PeekMessageA]
test eax, eax
je 0x140063a29
lea rcx, [rsp + 0x40]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [rsp + 0x40]
call qword [sym.imp.USER32.dll_DispatchMessageA]
mov rbx, qword [0x1404e2ea0]
lea rcx, [rsp + 0x88]
mov rax, qword [0x1404e2eb8]
mov qword [rbx + 0xe38], rax
mov dword [rbx + 0x18], 0x3c888889
call qword [sym.imp.USER32.dll_GetCursorPos]
movd xmm0, dword [rsp + 0x88]
mov ecx, 1
cvtdq2ps xmm0, xmm0
movss dword [rbx + 0xe48], xmm0
movd xmm0, dword [rsp + 0x8c]
cvtdq2ps xmm0, xmm0
movss dword [rbx + 0xe4c], xmm0
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x140063aa7
mov byte [rbx + 0xe50], 1
mov eax, dword [rbx + 0xe4c]
mov dword [rbx + 0x3818], eax
mov byte [rbx + 0x3868], 1
jmp 0x140063aae
mov byte [rbx + 0xe50], sil
xor ecx, ecx
call fcn.1401b1640
mov rax, qword [0x1404e2ea0]
test rax, rax
je 0x140063aca
mov rax, qword [rax + 0x98]
jmp 0x140063acd
mov rax, rsi
cmp qword [rax + 0x48], rsi
jne 0x140063ad8
call fcn.1401c0e80
call fcn.1401c33c0
call fcn.14019a100
mov rcx, qword [0x1404e32c0]
call fcn.1400582d0
cmp byte [0x1404e2e99], sil
je 0x140063b05
cmp dword [0x1404e2ef0], 1
ja 0x140063b05
call fcn.140063230
mov rcx, rdi
call fcn.140060a70
call fcn.140198d30
mov rcx, qword [0x1404e2ec0]
lea r8, [0x1404e2f20]
xorps xmm0, xmm0
xor r9d, r9d
movups xmmword [rsp + 0x30], xmm0
mov edx, 1
mov rax, qword [rcx]
call qword [rax + 0x108]
mov rcx, qword [0x1404e2ec0]
lea r8, [rsp + 0x30]
mov rdx, qword [0x1404e2f20]
mov rax, qword [rcx]
call qword [rax + 0x190]
mov rax, qword [0x1404e2ea0]
mov rcx, qword [rax + 0x4b00]
mov rax, qword [rcx]
mov rcx, rsi
add rax, 0x48
cmp byte [rax], sil
cmovne rcx, rax
call fcn.1401c1570
mov rcx, qword [0x1404e2ee0]
xor r8d, r8d
mov edx, 1
mov rax, qword [rcx]
call qword [rax + 0x40]
cmp dword [rsp + 0x48], 0x12
jne 0x1400639d0
mov rbx, qword [0x1404e2ea0]
test rbx, rbx
je 0x140063bae
mov rdi, qword [rbx + 0x98]
jmp 0x140063bb1
mov rdi, rsi
call fcn.1401c0d60
mov rcx, qword [rdi + 0x10]
test rcx, rcx
je 0x140063bc5
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov rcx, qword [rdi]
test rcx, rcx
je 0x140063bd3
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov rcx, qword [rdi + 8]
test rcx, rcx
je 0x140063be2
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
and dword [rbx + 0xc], 0xfffffff7
mov r8, qword [0x1404e2ea0]
mov qword [rbx + 0x88], rsi
mov qword [rbx + 0x98], rsi
test r8, r8
je 0x140063c5f
movsx rdx, word [r8 + 0x6078]
lea rcx, [r8 + 0x607c]
mov r9d, dword [r8 + 0x3f90]
lea rcx, [rcx + rdx*8]
cmp dword [rcx], r9d
je 0x140063c54
lea ecx, [rdx + 1]
mov eax, 0x2aaaaaab
imul ecx
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [rdx + rdx*2]
add eax, eax
sub ecx, eax
mov word [r8 + 0x6078], cx
movsx rax, cx
lea rcx, [r8 + 0x607c]
lea rcx, [rcx + rax*8]
mov dword [rcx], r9d
mov dword [rcx + 4], esi
inc word [rcx + 6]
inc dword [r8 + 0x6074]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov r8, qword [0x1404e2ea0]
test r8, r8
je 0x140063c7d
mov rdi, qword [r8 + 0x90]
jmp 0x140063c80
mov rdi, rsi
mov rcx, qword [rdi + 0x38]
lea rbx, [r8 + 8]
test rcx, rcx
je 0x140063c9a
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov r8, qword [0x1404e2ea0]
and dword [rbx + 4], 0xfffffff8
mov qword [rbx + 0x78], rsi
mov qword [rbx + 0x88], rsi
test r8, r8
je 0x140063d0d
movsx rdx, word [r8 + 0x6078]
mov r9d, dword [r8 + 0x3f90]
lea rcx, [rdx*8 + 0x607c]
add rcx, r8
cmp dword [rcx], r9d
je 0x140063d02
lea ecx, [rdx + 1]
mov eax, 0x2aaaaaab
imul ecx
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [rdx + rdx*2]
add eax, eax
sub ecx, eax
mov word [r8 + 0x6078], cx
movsx rax, cx
lea rcx, [rax*8 + 0x607c]
add rcx, r8
mov dword [rcx], r9d
mov dword [rcx + 4], esi
inc word [rcx + 6]
inc dword [r8 + 0x6074]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rbx, qword [0x1404e2ea0]
mov qword [0x1404e2ea0], rbx
call fcn.14019d710
mov qword [0x1404e2ea0], rsi
test rbx, rbx
je 0x140063db2
mov rcx, rbx
call fcn.140048ed0
mov r8, qword [0x1404e2ea0]
test r8, r8
je 0x140063da9
movsx r10, word [r8 + 0x6078]
lea rdx, [r8 + 0x607c]
mov r9d, dword [r8 + 0x3f90]
lea rdx, [rdx + r10*8]
cmp dword [rdx], r9d
je 0x140063d9e
lea ecx, [r10 + 1]
mov eax, 0x2aaaaaab
imul ecx
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [rdx + rdx*2]
add eax, eax
lea rdx, [r8 + 0x607c]
sub ecx, eax
mov word [r8 + 0x6078], cx
movsx rax, cx
lea rdx, [rdx + rax*8]
mov dword [rdx], r9d
mov dword [rdx + 4], esi
inc word [rdx + 6]
inc dword [r8 + 0x6074]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rcx, qword [0x1404e2eb8]
call qword [sym.imp.USER32.dll_DestroyWindow]
lea r11, [rsp + 0x70]
mov al, 1
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret