Function at 0x140041570
Capabilities:
Enumerate gui resources
Log keystrokes via polling
Terminate process

Disassembly:
push rdi
sub rsp, 0x70
movaps xmmword [rsp + 0x60], xmm6
mov rax, qword [0x140052098]
xor rax, rsp
mov qword [rsp + 0x58], rax
movss xmm6, dword [0x140046188]
xorps xmm0, xmm0
movups xmmword [0x1400521c0], xmm0
xor edi, edi
mov qword [rsp + 0x80], rbx
movups xmmword [0x1400521d0], xmm0
movups xmmword [0x1400521e0], xmm0
nop dword [rax]
nop dword [rax + rax]
mov rdx, qword [0x140052178]
lea rcx, [0x1400521c0]
xor r9d, r9d
mov dword [rsp + 0x20], 1
xor r8d, r8d
call qword [sym.imp.USER32.dll_PeekMessageA]
test eax, eax
je 0x140041600
lea rcx, [0x1400521c0]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [0x1400521c0]
call qword [sym.imp.USER32.dll_DispatchMessageA]
cmp qword [0x1400521f0], rdi
je 0x14004192c
call qword [sym.imp.USER32.dll_GetForegroundWindow]
cmp rax, qword [0x1400521f0]
jne 0x140041652
mov edx, 3
mov rcx, rax
call qword [sym.imp.USER32.dll_GetWindow]
mov rcx, qword [0x140052178]
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]
jmp 0x1400416a1
mov eax, dword [0x140052200]
lea rdx, [rsp + 0x40]
lea rcx, [0x14003ee60]
mov dword [rsp + 0x48], eax
mov qword [rsp + 0x40], rdi
call qword [sym.imp.USER32.dll_EnumWindows]
test eax, eax
jne 0x14004168c
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xffffffff
jne 0x14004168c
mov rax, qword [rsp + 0x40]
test rax, rax
jne 0x14004168f
mov rax, rdi
mov ecx, 0xfa
mov qword [0x1400521f0], rax
call qword [sym.imp.KERNEL32.dll_Sleep]
call fcn.14000aad0
lea rcx, [rsp + 0x50]
mov rbx, rax
mov dword [rax + 0x10], 0x3c888889
call qword [sym.imp.USER32.dll_GetCursorPos]
movd xmm0, dword [rsp + 0x50]
mov ecx, 1
cvtdq2ps xmm0, xmm0
movss dword [rbx + 0xdf8], xmm0
movd xmm0, dword [rsp + 0x54]
cvtdq2ps xmm0, xmm0
movss dword [rbx + 0xdfc], xmm0
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x140041709
mov byte [rbx + 0xe00], 1
mov eax, dword [rbx + 0xdfc]
mov dword [rbx + 0x36e8], eax
mov byte [rbx + 0x3738], 1
jmp 0x140041710
mov byte [rbx + 0xe00], dil
cmp dword [0x1400522b0], edi
jne 0x140041730
cmp dword [0x1400522b8], edi
jne 0x140041730
cmp dword [0x1400522b4], edi
jne 0x140041730
cmp dword [0x1400522bc], edi
je 0x14004178a
mov rcx, qword [0x140052178]
xorps xmm0, xmm0
mov dword [rsp + 0x30], 8
xor r9d, r9d
mov dword [rsp + 0x28], edi
xor r8d, r8d
xor edx, edx
mov dword [rsp + 0x20], edi
movdqu xmmword [0x1400522b0], xmm0
mov dword [0x140052230], edi
mov dword [0x140052234], edi
mov qword [0x140052180], rdi
call qword [sym.imp.USER32.dll_SetWindowPos]
mov rcx, qword [0x140052170]
lea rdx, [0x140052180]
mov rax, qword [rcx]
call qword [rax + 0x80]
call fcn.14002d2a0
call fcn.14002dfb0
call fcn.1400118c0
call fcn.14003fca0
call fcn.140041940
call fcn.140008ce0
mov rcx, qword [0x140052170]
xor r8d, r8d
mov rax, qword [rcx]
lea edx, [r8 + 7]
call qword [rax + 0x1c8]
mov rcx, qword [0x140052170]
xor r8d, r8d
mov rax, qword [rcx]
lea edx, [r8 + 0x1b]
call qword [rax + 0x1c8]
mov rcx, qword [0x140052170]
xor r8d, r8d
mov edx, 0xae
mov rax, qword [rcx]
call qword [rax + 0x1c8]
mov rcx, qword [0x140052170]
mov r9d, 1
mov dword [rsp + 0x30], edi
xor r8d, r8d
movss dword [rsp + 0x28], xmm6
xor edx, edx
mov dword [rsp + 0x20], edi
mov rax, qword [rcx]
call qword [rax + 0x158]
mov rcx, qword [0x140052170]
mov rax, qword [rcx]
call qword [rax + 0x148]
test eax, eax
js 0x14004184d
call fcn.140013490
call fcn.14000a780
mov rcx, rax
call fcn.14002d300
mov rcx, qword [0x140052170]
mov rax, qword [rcx]
call qword [rax + 0x150]
mov rcx, qword [0x140052170]
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], rdi
xor edx, edx
mov rax, qword [rcx]
call qword [rax + 0x88]
cmp eax, 0x88760868
jne 0x1400418a6
mov rcx, qword [0x140052170]
mov rax, qword [rcx]
call qword [rax + 0x18]
cmp eax, 0x88760869
jne 0x1400418a6
call fcn.14002d210
mov rcx, qword [0x140052170]
lea rdx, [0x140052180]
mov rax, qword [rcx]
call qword [rax + 0x80]
call fcn.14002cf50
cmp dword [0x1400521c8], 0x12
jne 0x1400415c0
call fcn.14002dd30
call fcn.14002e2c0
xor ecx, ecx
call fcn.140008550
mov rcx, qword [0x140052170]
test rcx, rcx
je 0x1400418e6
mov rax, qword [rcx]
call qword [rax + 0x150]
mov rcx, qword [0x140052170]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [0x140052168]
test rcx, rcx
je 0x1400418f8
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [0x140052178]
call qword [sym.imp.USER32.dll_DestroyWindow]
mov rax, qword [0x1400521d0]
mov rbx, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140042610
movaps xmm6, xmmword [rsp + 0x60]
add rsp, 0x70
pop rdi
ret
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3