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

Disassembly:
push rdi
sub rsp, 0x70
mov rax, qword [0x1400f4f58]
xor rax, rsp
mov qword [rsp + 0x60], rax
xorps xmm0, xmm0
mov qword [rsp + 0x80], rbx
movups xmmword [0x1400f59b8], xmm0
xor edi, edi
movups xmmword [0x1400f59c8], xmm0
movups xmmword [0x1400f59d8], xmm0
nop word [rax + rax]
mov rdx, qword [0x1400f5c20]
lea rcx, [0x1400f59b8]
xor r9d, r9d
mov dword [rsp + 0x20], 1
xor r8d, r8d
call qword [sym.imp.USER32.dll_PeekMessageA]
test eax, eax
je 0x14005c6a0
lea rcx, [0x1400f59b8]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [0x1400f59b8]
call qword [sym.imp.USER32.dll_DispatchMessageA]
call qword [sym.imp.USER32.dll_GetForegroundWindow]
cmp rax, qword [0x1400f5990]
jne 0x14005c6e3
mov edx, 3
mov rcx, rax
call qword [sym.imp.USER32.dll_GetWindow]
mov rcx, qword [0x1400f5c20]
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, reloc.WLDAP32.dll_Ordinal_35
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test al, 1
jne 0x14005c89f
mov rcx, qword [0x1400f5990]
lea rdx, [rsp + 0x50]
xorps xmm0, xmm0
mov qword [rsp + 0x40], rdi
movups xmmword [rsp + 0x50], xmm0
call qword [sym.imp.USER32.dll_GetClientRect]
mov rcx, qword [0x1400f5990]
lea rdx, [rsp + 0x40]
call qword [sym.imp.USER32.dll_ClientToScreen]
mov eax, dword [rsp + 0x40]
mov dword [rsp + 0x50], eax
mov eax, dword [rsp + 0x44]
mov dword [rsp + 0x54], eax
call fcn.140020610
mov rcx, qword [0x1400f5990]
mov rbx, rax
mov qword [rax + 0x100], rcx
lea rcx, [rsp + 0x48]
mov dword [rax + 0x10], 0x3c888889
call qword [sym.imp.USER32.dll_GetCursorPos]
mov ecx, dword [rsp + 0x48]
sub ecx, dword [rsp + 0x40]
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
movss dword [rbx + 0x110], xmm0
mov ecx, dword [rsp + 0x4c]
sub ecx, dword [rsp + 0x44]
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 0x14005c7b9
mov byte [rbx + 0x118], 1
mov eax, dword [rbx + 0x114]
mov dword [rbx + 0x3d4], eax
mov byte [rbx + 0x428], 1
jmp 0x14005c7c0
mov byte [rbx + 0x118], dil
mov eax, dword [0x1400f5dd8]
mov ecx, dword [rsp + 0x5c]
mov edx, dword [rsp + 0x58]
cmp dword [rsp + 0x50], eax
jne 0x14005c7f0
cmp edx, dword [0x1400f5de0]
jne 0x14005c7f0
mov eax, dword [0x1400f5ddc]
cmp dword [rsp + 0x54], eax
jne 0x14005c7f0
cmp ecx, dword [0x1400f5de4]
je 0x14005c854
movups xmm0, xmmword [rsp + 0x50]
mov r9d, dword [rsp + 0x44]
mov r8d, dword [rsp + 0x40]
mov dword [rsp + 0x30], 8
mov dword [rsp + 0x28], ecx
mov dword [rsp + 0x20], edx
mov dword [0x1400f599c], edx
mov dword [0x1400f59a0], ecx
mov dword [0x1400f5a80], edx
xor edx, edx
mov dword [0x1400f5a84], ecx
mov rcx, qword [0x1400f5c20]
movups xmmword [0x1400f5dd8], xmm0
call qword [sym.imp.USER32.dll_SetWindowPos]
mov rcx, qword [0x1400f5c28]
lea rdx, [0x1400f5a80]
mov rax, qword [rcx]
call qword [rax + 0x80]
call fcn.14005ae30
cmp dword [0x1400f59c0], 0x12
jne 0x14005c660
call fcn.14003c500
call fcn.14003c870
xor ecx, ecx
call fcn.14001e160
mov rcx, qword [0x1400f5c20]
call qword [sym.imp.USER32.dll_DestroyWindow]
mov rbx, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.1400ac900
add rsp, 0x70
pop rdi
ret
mov ecx, 8
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3