Function at 0x140008610
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0xb0
mov rax, qword [0x14005f040]
xor rax, rsp
mov qword [rsp + 0xa0], rax
xorps xmm0, xmm0
mov rdi, rcx
movups xmmword [rsp + 0x60], xmm0
xor esi, esi
movups xmmword [rsp + 0x70], xmm0
movups xmmword [rsp + 0x80], xmm0
nop
mov rdx, qword [0x1400fbdf8]
lea rcx, [rsp + 0x60]
xor r9d, r9d
mov dword [rsp + 0x20], 1
xor r8d, r8d
call qword [sym.imp.USER32.dll_PeekMessageA]
test eax, eax
je 0x14000868a
lea rcx, [rsp + 0x60]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [rsp + 0x60]
call qword [sym.imp.USER32.dll_DispatchMessageW]
mov rbx, qword [0x1400fb770]
lea rcx, [rsp + 0x30]
mov rax, qword [0x1400fbdf8]
mov qword [rbx + 0xd0], rax
mov dword [rbx + 0x18], 0x3c888889
call qword [sym.imp.USER32.dll_GetCursorPos]
movd xmm0, dword [rsp + 0x30]
mov ecx, 1
cvtdq2ps xmm0, xmm0
movss dword [rbx + 0xe08], xmm0
movd xmm0, dword [rsp + 0x34]
cvtdq2ps xmm0, xmm0
movss dword [rbx + 0xe0c], xmm0
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x1400086ff
mov byte [rbx + 0xe10], 1
mov eax, dword [rbx + 0xe0c]
mov dword [rbx + 0x36f8], eax
mov byte [rbx + 0x3748], 1
jmp 0x140008706
mov byte [rbx + 0xe10], sil
mov rcx, qword [0x1400fbd80]
xor r8d, r8d
mov edx, 1
mov rax, qword [rcx]
call qword [rax + 0x40]
mov rax, qword [0x1400fb770]
test rax, rax
je 0x140008730
mov rax, qword [rax + 0xa0]
jmp 0x140008733
mov rax, rsi
cmp qword [rax + 0x48], rsi
jne 0x14000873e
call fcn.14003f990
call fcn.1400407c0
call fcn.140016280
mov rcx, qword [0x1400fb820]
call fcn.140005e80
mov ecx, 0x2d
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test al, 1
je 0x140008775
cmp byte [0x1400fad78], sil
sete al
mov byte [0x1400fad78], al
jmp 0x14000877c
movzx eax, byte [0x1400fad78]
test al, al
je 0x140008788
mov rcx, rdi
call fcn.1400089f0
cmp byte [0x1400fb71f], sil
je 0x140008833
mov rax, qword [0x1400fb788]
mov rcx, qword [rax + 0x30]
test rcx, rcx
je 0x140008833
add rcx, 0x1898
call fcn.14000f040
test rax, rax
je 0x140008833
mov ecx, dword [0x1400fb75c]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x140008833
xorps xmm0, xmm0
mov dword [rsp + 0x38], esi
xorps xmm1, xmm1
mov dword [rsp + 0x4c], 2
mov r8d, 0x28
lea rdx, [rsp + 0x38]
mov ecx, 1
movdqu xmmword [rsp + 0x3c], xmm0
movdqu xmmword [rsp + 0x50], xmm1
call qword [sym.imp.USER32.dll_SendInput]
xorps xmm0, xmm0
mov dword [rsp + 0x38], esi
xorps xmm1, xmm1
mov dword [rsp + 0x4c], 4
mov r8d, 0x28
lea rdx, [rsp + 0x38]
mov ecx, 1
movdqu xmmword [rsp + 0x3c], xmm0
movdqu xmmword [rsp + 0x50], xmm1
call qword [sym.imp.USER32.dll_SendInput]
call fcn.140018350
mov rcx, qword [0x1400fbdf0]
lea r8, [0x1400fbc28]
xorps xmm0, xmm0
xor r9d, r9d
movups xmmword [rsp + 0x90], xmm0
mov edx, 1
mov rax, qword [rcx]
call qword [rax + pe_nt_image_headers64]
mov rcx, qword [0x1400fbdf0]
lea r8, [rsp + 0x90]
mov rdx, qword [0x1400fbc28]
mov rax, qword [rcx]
call qword [rax + 0x190]
mov rax, qword [0x1400fb770]
mov rcx, qword [rax + 0x48d0]
mov rax, qword [rcx]
mov rcx, rsi
add rax, 0x48
cmp byte [rax], cl
cmovne rcx, rax
call fcn.14003ef20
cmp dword [rsp + 0x68], 0x12
jne 0x140008650
mov rdi, qword [0x1400fb770]
test rdi, rdi
je 0x1400088c4
mov rbx, qword [rdi + 0xa0]
jmp 0x1400088c7
mov rbx, rsi
call fcn.14003fed0
mov rcx, qword [rbx + 0x10]
test rcx, rcx
je 0x1400088db
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rbx]
test rcx, rcx
je 0x1400088e9
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x1400088f8
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rax, qword [0x1400fb770]
mov qword [rdi + 0x90], rsi
mov qword [rdi + 0xa0], rsi
test rax, rax
je 0x140008918
dec dword [rax + 0xf4]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rax, qword [0x1400fb770]
test rax, rax
je 0x140008936
mov rbx, qword [rax + 0x98]
jmp 0x140008939
mov rbx, rsi
mov rcx, qword [rbx + 0x30]
lea rdi, [rax + 8]
test rcx, rcx
je 0x140008953
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov rax, qword [0x1400fb770]
mov qword [rdi + 0x80], rsi
mov qword [rdi + 0x90], rsi
test rax, rax
je 0x14000896c
dec dword [rax + 0xf4]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rbx, qword [0x1400fb770]
mov qword [0x1400fb770], rbx
call fcn.140014200
mov qword [0x1400fb770], rsi
test rbx, rbx
je 0x1400089b7
mov rcx, rbx
call fcn.14002a900
mov rax, qword [0x1400fb770]
test rax, rax
je 0x1400089ae
dec dword [rax + 0xf4]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rcx, qword [0x1400fbdf8]
call qword [sym.imp.USER32.dll_DestroyWindow]
mov al, 1
mov rcx, qword [rsp + 0xa0]
xor rcx, rsp
call fcn.14004bad0
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret