Function at 0x18001f550
Capabilities:
Enumerate gui resources
Get memory capacity

Disassembly:
mov qword [rsp + 8], rdi
push rbp
lea rbp, [rsp - 0xb0]
sub rsp, 0x1b0
mov rax, qword [0x18002d000]
xor rax, rsp
mov qword [rbp + 0xa0], rax
call qword [sym.imp.USER32.dll_GetDesktopWindow]
mov qword [rsp + 0x30], rax
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov qword [rsp + 0x38], rax
call qword [sym.imp.USER32.dll_GetShellWindow]
mov qword [rsp + 0x40], rax
call qword [sym.imp.USER32.dll_GetCapture]
mov qword [rsp + 0x48], rax
call qword [sym.imp.USER32.dll_GetClipboardOwner]
mov qword [rsp + 0x50], rax
call qword [sym.imp.USER32.dll_GetOpenClipboardWindow]
mov qword [rsp + 0x58], rax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov dword [rsp + 0x60], eax
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [rsp + 0x64], eax
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [rsp + 0x68], eax
call qword [sym.imp.USER32.dll_GetFocus]
mov qword [rsp + 0x70], rax
call qword [sym.imp.USER32.dll_GetActiveWindow]
mov qword [rsp + 0x78], rax
call qword [sym.imp.USER32.dll_GetKBCodePage]
mov dword [rbp - 0x80], eax
call qword [sym.imp.USER32.dll_GetCursor]
mov rcx, qword [rsp + 0x30]
mov qword [rbp - 0x78], rax
call qword [sym.imp.USER32.dll_GetLastActivePopup]
mov qword [rbp - 0x70], rax
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov ecx, 0x4bf
mov qword [rbp - 0x68], rax
call qword [sym.imp.USER32.dll_GetQueueStatus]
mov dword [rbp - 0x60], eax
call qword [sym.imp.USER32.dll_GetInputState]
mov dword [rbp - 0x5c], eax
call qword [sym.imp.USER32.dll_GetMessageTime]
mov dword [rbp - 0x58], eax
call qword [sym.imp.KERNEL32.dll_GetOEMCP]
lea rcx, [rbp - 0x50]
mov dword [rbp - 0x50], 0x18
mov dword [rbp + 0x18], 0x40
mov dword [rbp + 0x58], 0x48
mov dword [rbp - 0x54], eax
call qword [sym.imp.USER32.dll_GetCursorInfo]
lea rcx, [rbp - 0x38]
call qword [sym.imp.USER32.dll_GetCaretPos]
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
lea r9, [rbp - 0x20]
mov rcx, rax
lea rax, [rbp - 0x18]
lea r8, [rbp - 0x28]
lea rdx, [rbp - 0x30]
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_GetThreadTimes]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea r9, [rbp]
mov rcx, rax
lea rax, [rbp + 8]
lea r8, [rbp - 8]
lea rdx, [rbp - 0x10]
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_GetProcessTimes]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea rdx, [rbp + 0x58]
mov rcx, rax
mov r8d, 0x48
call qword [sym.imp.PSAPI.DLL_GetProcessMemoryInfo]
lea rcx, [rbp + 0x10]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
lea rcx, [rbp + 0x18]
call qword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
lea rcx, [rsp + 0x30]
mov edx, 0x170
call fcn.18001f1f0
lea rcx, [0x18001f470]
xor edx, edx
call qword [sym.imp.USER32.dll_EnumWindows]
mov r8d, dword [0x18002dacc]
mov dword [rsp + 0x20], 0
xor r9d, r9d
mov rdx, qword [0x18002db40]
mov ecx, 0x2201b0
call sym.dcapi.dll_dc_device_control
mov rdi, qword [0x18002db40]
xor eax, eax
mov ecx, 0x2000
mov dword [0x18002dacc], eax
rep stosb byte [rdi], al
mov rcx, qword [rbp + 0xa0]
xor rcx, rsp
call fcn.18000ee20
mov rdi, qword [rsp + 0x1c0]
add rsp, 0x1b0
pop rbp
ret