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

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], r12
push rbp
push r14
push r15
lea rbp, [rsp - 0x47]
sub rsp, 0x90
mov rax, qword [0x140060040]
xor rax, rsp
mov qword [rbp + 0x37], rax
xorps xmm0, xmm0
xor edi, edi
movups xmmword [0x140060c60], xmm0
movabs rsi, 0xe6cc37c937ae54be
movabs r14, 0xdd5e5ac1b91bd092
movups xmmword [0x140060c70], xmm0
movabs r15, 0x8f9b5ba852dc3aeb
movabs r12, 0xdd5e5ac1ce74b4fc
movups xmmword [0x140060c80], xmm0
nop word [rax + rax]
mov rdx, qword [0x140060d10]
lea rcx, [0x140060c60]
xor r9d, r9d
mov dword [rsp + 0x20], 1
xor r8d, r8d
call qword [sym.imp.USER32.dll_PeekMessageA]
test eax, eax
je 0x14004ad40
lea rcx, [0x140060c60]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [0x140060c60]
call qword [sym.imp.USER32.dll_DispatchMessageA]
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov rbx, rax
call fcn.14004d340
cmp rbx, qword [rax + 0x30]
jne 0x14004ad88
mov edx, 3
mov rcx, rbx
call qword [sym.imp.USER32.dll_GetWindow]
mov rcx, qword [0x140060d10]
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]
xorps xmm0, xmm0
mov qword [rbp + 7], rdi
movups xmmword [rbp + 0xf], xmm0
call fcn.14004d340
lea rdx, [rbp + 0xf]
mov rcx, qword [rax + 0x30]
call qword [sym.imp.USER32.dll_GetClientRect]
call fcn.14004d340
lea rdx, [rbp + 7]
mov rcx, qword [rax + 0x30]
call qword [sym.imp.USER32.dll_ClientToScreen]
mov eax, dword [rbp + 7]
mov rbx, qword [0x140060c10]
mov dword [rbp + 0xf], eax
mov eax, dword [rbp + 0xb]
mov dword [rbp + 0x13], eax
call fcn.14004d340
mov rcx, qword [rax + 0x30]
mov qword [rbx + 0x120], rcx
lea rcx, [rbp + 0x1f]
call qword [sym.imp.USER32.dll_GetCursorPos]
mov eax, dword [rbp + 0x1f]
mov ecx, 1
sub eax, dword [rbp + 7]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rbx + 0x128], xmm0
mov eax, dword [rbp + 0x23]
sub eax, dword [rbp + 0xb]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rbx + 0x12c], xmm0
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x14004ae3c
mov byte [rbx + 0x130], 1
mov eax, dword [rbx + 0x12c]
mov dword [rbx + 0x3cc], eax
mov byte [rbx + 0x420], 1
jmp 0x14004ae43
mov byte [rbx + 0x130], dil
mov eax, dword [0x1400612d0]
cmp dword [rbp + 0xf], eax
jne 0x14004ae73
mov eax, dword [0x1400612d8]
cmp dword [rbp + 0x17], eax
jne 0x14004ae73
mov eax, dword [0x1400612d4]
cmp dword [rbp + 0x13], eax
jne 0x14004ae73
mov eax, dword [0x1400612dc]
cmp dword [rbp + 0x1b], eax
je 0x14004af01
movups xmm0, xmmword [rbp + 0xf]
movups xmmword [0x1400612d0], xmm0
call fcn.14004d340
mov ecx, dword [rbp + 0x17]
mov dword [rax + 0x44], ecx
call fcn.14004d340
mov ecx, dword [rbp + 0x1b]
mov dword [rax + 0x40], ecx
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetSystemMetrics]
mov ecx, 1
mov dword [0x140060c20], eax
call qword [sym.imp.USER32.dll_GetSystemMetrics]
mov dword [0x140060c24], eax
call fcn.14004d340
mov ebx, dword [rax + 0x40]
call fcn.14004d340
mov r9d, dword [rbp + 0xb]
xor edx, edx
mov r8d, dword [rbp + 7]
mov dword [rsp + 0x30], 8
mov ecx, dword [rax + 0x44]
mov dword [rsp + 0x28], ebx
mov dword [rsp + 0x20], ecx
mov rcx, qword [0x140060d10]
call qword [sym.imp.USER32.dll_SetWindowPos]
mov rcx, qword [0x140060c98]
lea rdx, [0x140060c20]
mov rax, qword [rcx]
call qword [rax + 0x80]
cmp dword [0x140060c68], 0x12
je 0x14004b0a2
mov ecx, 0x2e
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jne 0x14004b0a2
mov qword [rbp - 9], rsi
lea rcx, [rbp - 9]
mov qword [rbp - 1], r14
xor edx, edx
movdqa xmm0, xmmword [rbp - 9]
mov qword [rbp + 0x27], r15
mov qword [rbp + 0x2f], r12
xorps xmm0, xmmword [rbp + 0x27]
movdqa xmmword [rbp - 9], xmm0
call qword [sym.imp.USER32.dll_FindWindowA]
test rax, rax
je 0x14004b0a2
call fcn.140048410
cmp dword [0x140060c68], 0x12
jne 0x14004ad00
call fcn.140028f40
mov rcx, qword [0x140060e00]
test rcx, rcx
je 0x14004af85
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [0x140060e00], rdi
mov rcx, qword [0x140060e10]
test rcx, rcx
je 0x14004af97
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov rbx, qword [0x140060c10]
mov rcx, rbx
mov qword [0x140060e10], rdi
mov qword [0x140060e18], rdi
mov qword [0x140060e20], rdi
mov qword [0x140060e28], rdi
mov qword [0x140060e30], rdi
mov qword [0x140060e38], rdi
mov dword [0x1400602c0], 9
mov byte [0x140060d18], dil
mov byte [0x140060108], 1
call fcn.140007c40
cmp qword [0x140060c10], rbx
jne 0x14004aff8
mov qword [0x140060c10], rdi
test rbx, rbx
je 0x14004b020
mov rcx, rbx
call fcn.140016e60
mov rax, qword [0x140060c10]
test rax, rax
je 0x14004b017
dec dword [rax + 0x3b4]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rcx, qword [0x140060c98]
test rcx, rcx
je 0x14004b042
mov rax, qword [rcx]
call qword [rax + 0x150]
mov rcx, qword [0x140060c98]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [0x140060c90]
test rcx, rcx
je 0x14004b054
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [0x140060d10]
call qword [sym.imp.USER32.dll_DestroyWindow]
mov rdx, qword [0x140060cd8]
mov rcx, qword [0x140060d00]
call qword [sym.imp.USER32.dll_UnregisterClassA]
mov rcx, qword [rbp + 0x37]
xor rcx, rsp
call fcn.14004f590
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov r12, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3