Function at 0x14003125c
Capabilities:
Log keystrokes via polling
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
push rbp
mov rbp, rsp
sub rsp, 0x70
mov rax, qword [0x140061028]
xor rax, rsp
mov qword [rbp - 0x10], rax
xorps xmm0, xmm0
xor edi, edi
movups xmmword [0x1400621f0], xmm0
movups xmmword [0x140062200], xmm0
movups xmmword [0x140062210], xmm0
mov rdx, qword [0x140062320]
lea rcx, [0x1400621f0]
xor r9d, r9d
mov dword [rsp + 0x20], 1
xor r8d, r8d
call qword [sym.imp.USER32.dll_PeekMessageA]
test eax, eax
je 0x1400312d6
lea rcx, [0x1400621f0]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [0x1400621f0]
call qword [sym.imp.USER32.dll_DispatchMessageA]
call qword [sym.imp.USER32.dll_GetForegroundWindow]
cmp rax, qword [0x140062248]
jne 0x140031319
mov edx, 3
mov rcx, rax
call qword [sym.imp.USER32.dll_GetWindow]
mov rcx, qword [0x140062320]
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 ecx, 0x23
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test al, 1
jne 0x140031517
mov rcx, qword [0x140062248]
lea rdx, [rbp - 0x28]
xorps xmm0, xmm0
mov qword [rbp - 0x30], rdi
movups xmmword [rbp - 0x28], xmm0
call qword [sym.imp.USER32.dll_GetClientRect]
mov rcx, qword [0x140062248]
lea rdx, [rbp - 0x30]
call qword [sym.imp.USER32.dll_ClientToScreen]
mov eax, dword [rbp - 0x30]
mov dword [rbp - 0x28], eax
mov eax, dword [rbp - 0x2c]
mov dword [rbp - 0x24], eax
call fcn.1400049f0
mov rcx, qword [0x140062248]
mov rbx, rax
mov qword [rax + 0x100], rcx
lea rcx, [rbp - 0x18]
mov qword [rax + 0x18], rdi
mov dword [rax + 0x10], 0x3c888889
call qword [sym.imp.USER32.dll_GetCursorPos]
mov ecx, dword [rbp - 0x18]
sub ecx, dword [rbp - 0x30]
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
movss dword [rbx + 0x110], xmm0
mov ecx, dword [rbp - 0x14]
sub ecx, dword [rbp - 0x2c]
movd xmm0, ecx
mov ecx, 1
cvtdq2ps xmm0, xmm0
movss dword [rbx + 0x114], xmm0
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x1400313e6
mov byte [rbx + 0x118], 1
mov eax, dword [rbx + 0x114]
mov dword [rbx + 0x3d4], eax
mov byte [rbx + 0x428], 1
jmp 0x1400313ed
mov byte [rbx + 0x118], dil
mov eax, dword [0x1400627a8]
mov ecx, dword [rbp - 0x1c]
mov edx, dword [rbp - 0x20]
cmp dword [rbp - 0x28], eax
jne 0x140031419
cmp edx, dword [0x1400627b0]
jne 0x140031419
mov eax, dword [0x1400627ac]
cmp dword [rbp - 0x24], eax
jne 0x140031419
cmp ecx, dword [0x1400627b4]
je 0x14003147b
movups xmm0, xmmword [rbp - 0x28]
mov r9d, dword [rbp - 0x2c]
mov r8d, dword [rbp - 0x30]
mov dword [rsp + 0x30], 8
mov dword [rsp + 0x28], ecx
mov dword [rsp + 0x20], edx
mov dword [0x140062270], edx
mov dword [0x140062240], ecx
mov dword [0x1400621b0], edx
xor edx, edx
mov dword [0x1400621b4], ecx
mov rcx, qword [0x140062320]
movdqu xmmword [0x1400627a8], xmm0
call qword [sym.imp.USER32.dll_SetWindowPos]
mov rcx, qword [0x140062328]
lea rdx, [0x1400621b0]
mov rax, qword [rcx]
call qword [rax + 0x80]
call fcn.140030bbc
cmp dword [0x1400621f8], 0x12
jne 0x140031296
call fcn.1400216ec
mov rbx, qword [0x140062190]
mov rcx, rbx
mov qword [0x1400622b8], rdi
mov qword [0x1400622c8], rdi
call fcn.140005c94
mov rax, qword [0x140062190]
cmp rax, rbx
cmove rax, rdi
mov qword [0x140062190], rax
test rbx, rbx
je 0x1400314ec
mov rcx, rbx
call fcn.140012d8c
mov rax, qword [0x140062190]
test rax, rax
je 0x1400314e3
dec dword [rax + 0x3c8]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rcx, qword [0x140062320]
call qword [sym.imp.USER32.dll_DestroyWindow]
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.140032840
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov rsp, r11
pop rbp
ret
mov ecx, 8
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3