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

Disassembly:
push rbp
sub rsp, 0x70
movaps xmmword [rsp + 0x60], xmm6
mov rax, qword [0x140052040]
xor rax, rsp
mov qword [rsp + 0x58], rax
movss xmm6, dword [0x14004a9e8]
xorps xmm0, xmm0
movups xmmword [0x140052968], xmm0
xor ebp, ebp
mov qword [rsp + 0x80], rbx
movups xmmword [0x140052978], xmm0
movups xmmword [0x140052988], xmm0
nop dword [rax]
nop dword [rax + rax]
mov rdx, qword [0x140052998]
lea rcx, [0x140052968]
xor r9d, r9d
mov dword [rsp + 0x20], 1
xor r8d, r8d
call qword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
je 0x140040620
lea rcx, [0x140052968]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [0x140052968]
call qword [sym.imp.USER32.dll_DispatchMessageW]
cmp qword [0x140052918], rbp
je 0x140040b92
call qword [sym.imp.USER32.dll_GetForegroundWindow]
cmp rax, qword [0x140052918]
jne 0x140040672
mov edx, 3
mov rcx, rax
call qword [sym.imp.USER32.dll_GetWindow]
mov rcx, qword [0x140052998]
xor r9d, r9d
mov dword [rsp + 0x30], 3
mov rdx, rax
mov dword [rsp + 0x28], ebp
xor r8d, r8d
mov dword [rsp + 0x20], ebp
call qword [sym.imp.USER32.dll_SetWindowPos]
jmp 0x1400406c1
mov eax, dword [0x140052914]
lea rdx, [rsp + 0x40]
lea rcx, [0x140040520]
mov dword [rsp + 0x48], eax
mov qword [rsp + 0x40], rbp
call qword [sym.imp.USER32.dll_EnumWindows]
test eax, eax
jne 0x1400406ac
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xffffffff
jne 0x1400406ac
mov rax, qword [rsp + 0x40]
test rax, rax
jne 0x1400406af
mov rax, rbp
mov ecx, 0xfa
mov qword [0x140052918], rax
call qword [sym.imp.KERNEL32.dll_Sleep]
mov rbx, qword [0x1400528f0]
lea rcx, [rsp + 0x50]
mov dword [rbx + 0x18], 0x3c888889
call qword [sym.imp.USER32.dll_GetCursorPos]
movd xmm0, dword [rsp + 0x50]
mov ecx, 1
cvtdq2ps xmm0, xmm0
movss dword [rbx + 0xe00], xmm0
movd xmm0, dword [rsp + 0x54]
cvtdq2ps xmm0, xmm0
movss dword [rbx + 0xe04], xmm0
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x140040728
mov byte [rbx + 0xe08], 1
mov eax, dword [rbx + 0xe04]
mov dword [rbx + 0x36f0], eax
mov byte [rbx + 0x3740], 1
jmp 0x14004072f
mov byte [rbx + 0xe08], bpl
cmp dword [0x140052aa0], ebp
jne 0x14004074f
cmp dword [0x140052aa8], ebp
jne 0x14004074f
cmp dword [0x140052aa4], ebp
jne 0x14004074f
cmp dword [0x140052aac], ebp
je 0x1400407a9
mov rcx, qword [0x140052998]
xorps xmm0, xmm0
mov dword [rsp + 0x30], 8
xor r9d, r9d
mov dword [rsp + 0x28], ebp
xor r8d, r8d
xor edx, edx
mov dword [rsp + 0x20], ebp
movdqu xmmword [0x140052aa0], xmm0
mov dword [0x140052ab4], ebp
mov dword [0x140052ac8], ebp
mov qword [0x140052920], rbp
call qword [sym.imp.USER32.dll_SetWindowPos]
mov rcx, qword [0x140052908]
lea rdx, [0x140052920]
mov rax, qword [rcx]
call qword [rax + 0x80]
mov rax, qword [0x1400528f0]
test rax, rax
je 0x1400407be
mov rcx, qword [rax + 0x98]
jmp 0x1400407c1
mov rcx, rbp
cmp qword [rcx + 0x18], rbp
jne 0x1400407e2
test rax, rax
je 0x1400407e2
mov rcx, qword [rax + 0x98]
test rcx, rcx
je 0x1400407e2
cmp qword [rcx], rbp
je 0x1400407e2
call fcn.14002b160
call fcn.14002bd10
call fcn.1400070c0
call fcn.14003fe20
call fcn.14003eab0
call fcn.140008e10
mov rcx, qword [0x140052908]
xor r8d, r8d
mov edx, 7
mov rax, qword [rcx]
call qword [rax + 0x1c8]
mov rcx, qword [0x140052908]
xor r8d, r8d
mov edx, 0x1b
mov rax, qword [rcx]
call qword [rax + 0x1c8]
mov rcx, qword [0x140052908]
xor r8d, r8d
mov edx, 0xae
mov rax, qword [rcx]
call qword [rax + 0x1c8]
mov rcx, qword [0x140052908]
mov r9d, 1
mov dword [rsp + 0x30], ebp
xor r8d, r8d
movss dword [rsp + 0x28], xmm6
xor edx, edx
mov dword [rsp + 0x20], ebp
mov rax, qword [rcx]
call qword [rax + 0x158]
mov rcx, qword [0x140052908]
mov rax, qword [rcx]
call qword [rax + 0x148]
test eax, eax
js 0x1400408b9
call fcn.140009220
mov rax, qword [0x1400528f0]
mov rcx, qword [rax + 0x48b0]
mov rax, qword [rcx]
mov rcx, rbp
add rax, 0x48
cmp byte [rax], bpl
cmovne rcx, rax
call fcn.14002aba0
mov rcx, qword [0x140052908]
mov rax, qword [rcx]
call qword [rax + 0x150]
mov rcx, qword [0x140052908]
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], rbp
xor edx, edx
mov rax, qword [rcx]
call qword [rax + 0x88]
cmp eax, 0x88760868
jne 0x140040997
mov rcx, qword [0x140052908]
mov rax, qword [rcx]
call qword [rax + 0x18]
cmp eax, 0x88760869
jne 0x140040997
mov rbx, qword [0x1400528f0]
test rbx, rbx
je 0x14004095e
mov rbx, qword [rbx + 0x98]
test rbx, rbx
je 0x14004095e
cmp qword [rbx], rbp
je 0x14004095e
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x140040929
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [rbx + 8], rbp
mov rcx, qword [rbx + 0x10]
test rcx, rcx
je 0x14004093c
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [rbx + 0x10], rbp
mov rcx, qword [rbx + 0x18]
test rcx, rcx
je 0x14004095e
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rax, qword [0x1400528f0]
mov qword [rbx + 0x18], rbp
mov rcx, qword [rax + 0x38]
mov qword [rcx + 8], rbp
mov rcx, qword [0x140052908]
lea rdx, [0x140052920]
mov rax, qword [rcx]
call qword [rax + 0x80]
mov rcx, qword [0x1400528f0]
test rcx, rcx
je 0x14004099e
mov rax, qword [rcx + 0x98]
test rax, rax
je 0x14004099e
cmp qword [rax], rbp
je 0x14004099e
call fcn.14002b160
mov rcx, qword [0x1400528f0]
cmp dword [0x140052970], 0x12
jne 0x1400405e0
mov qword [rsp + 0x88], rsi
mov qword [rsp + 0x90], rdi
test rcx, rcx
je 0x1400409c9
mov rsi, qword [rcx + 0x98]
jmp 0x1400409cc
mov rsi, rbp
lea rdi, [rcx + 8]
test rcx, rcx
je 0x140040a45
mov rbx, qword [rcx + 0x98]
test rbx, rbx
je 0x140040a45
cmp qword [rbx], rbp
je 0x140040a45
mov rdx, qword [rbx + 8]
test rdx, rdx
je 0x140040a03
mov rax, qword [rdx]
mov rcx, rdx
call qword [rax + 0x10]
mov rcx, qword [0x1400528f0]
mov qword [rbx + 8], rbp
mov rdx, qword [rbx + 0x10]
test rdx, rdx
je 0x140040a20
mov rax, qword [rdx]
mov rcx, rdx
call qword [rax + 0x10]
mov rcx, qword [0x1400528f0]
mov qword [rbx + 0x10], rbp
mov rdx, qword [rbx + 0x18]
test rdx, rdx
je 0x140040a45
mov rax, qword [rdx]
mov rcx, rdx
call qword [rax + 0x10]
mov rcx, qword [0x1400528f0]
mov qword [rbx + 0x18], rbp
mov rax, qword [rcx + 0x38]
mov qword [rax + 8], rbp
mov rdx, qword [rsi]
test rdx, rdx
je 0x140040a5d
mov rax, qword [rdx]
mov rcx, rdx
call qword [rax + 0x10]
mov rcx, qword [0x1400528f0]
and dword [rdi + 4], 0xfffffff7
mov qword [rdi + 0x80], rbp
mov qword [rdi + 0x90], rbp
test rcx, rcx
je 0x140040a7a
dec dword [rcx + 0xec]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rax, qword [0x1400528f0]
mov rsi, qword [rsp + 0x88]
test rax, rax
je 0x140040aa0
mov rdi, qword [rax + 0x90]
jmp 0x140040aa3
mov rdi, rbp
mov rcx, qword [rdi + 0x30]
lea rbx, [rax + 8]
test rcx, rcx
je 0x140040abd
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov rax, qword [0x1400528f0]
and dword [rbx + 4], 0xfffffff8
mov qword [rbx + 0x78], rbp
mov qword [rbx + 0x88], rbp
test rax, rax
je 0x140040ad7
dec dword [rax + 0xec]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rbx, qword [0x1400528f0]
mov qword [0x1400528f0], rbx
call fcn.140005290
mov rdi, qword [rsp + 0x90]
mov qword [0x1400528f0], rbp
test rbx, rbx
je 0x140040b2a
mov rcx, rbx
call fcn.14001ae70
mov rax, qword [0x1400528f0]
test rax, rax
je 0x140040b21
dec dword [rax + 0xec]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rcx, qword [0x140052908]
test rcx, rcx
je 0x140040b4c
mov rax, qword [rcx]
call qword [rax + 0x150]
mov rcx, qword [0x140052908]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [0x1400529b0]
test rcx, rcx
je 0x140040b5e
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [0x140052998]
call qword [sym.imp.USER32.dll_DestroyWindow]
mov rax, qword [0x140052978]
mov rbx, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140041b70
movaps xmm6, xmmword [rsp + 0x60]
add rsp, 0x70
pop rbp
ret
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3