Function at 0x18000cfe0
Capabilities:
Enumerate gui resources

Disassembly:
push rbx
push rsi
push rdi
push r12
sub rsp, 0x88
mov rax, qword [0x180583020]
xor rax, rsp
mov qword [rsp + 0x70], rax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
lea rdx, [rsp + 0x6c]
mov dword [rsp + 0x6c], eax
lea rcx, [0x18000d360]
call qword [sym.imp.USER32.dll_EnumWindows]
cmp dword [rsp + 0x6c], 0
je 0x18000d044
nop
mov ecx, 0x7d0
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rdx, [rsp + 0x6c]
lea rcx, [0x18000d360]
call qword [sym.imp.USER32.dll_EnumWindows]
cmp dword [rsp + 0x6c], 0
jne 0x18000d020
lea rcx, [0x180532ad0]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test rax, rax
jne 0x18000d05a
xor edi, edi
jmp 0x18000d06d
lea rdx, str.NtQuerySystemInformation
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rdi, rax
lea rcx, [0x180532ad0]
mov qword [rsp + 0xb8], r13
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test rax, rax
jne 0x18000d08c
xor r13d, r13d
jmp 0x18000d09f
lea rdx, str.NtDuplicateObject
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r13, rax
lea rcx, [0x180532ad0]
mov qword [rsp + 0x80], r15
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test rax, rax
jne 0x18000d0be
xor r15d, r15d
jmp 0x18000d0d1
lea rdx, str.NtQueryObject
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r15, rax
mov ebx, 0x10000
mov ecx, ebx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
xor r9d, r9d
mov r8d, ebx
mov rdx, rsi
mov qword [rsp + 0x40], rax
mov r12, rax
lea ecx, [r9 + 0x10]
call rdi
cmp eax, 0xc0000004
jne 0x18000d139
nop word [rax + rax]
lea ecx, [rbx + rbx]
mov ebx, ecx
mov edx, ecx
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_realloc]
xor r9d, r9d
mov r8d, ebx
mov rdx, rax
mov rsi, rax
lea ecx, [r9 + 0x10]
call rdi
cmp eax, 0xc0000004
je 0x18000d110
test eax, eax
jns 0x18000d16f
lea rdx, str.Error
lea rcx, str._Minty:_s_
call fcn.180009cd0
lea rcx, str.NtQuerySystemInformation_failed_
call fcn.180009cd0
lea rcx, [0x1805328bc]
call fcn.180009cd0
xor al, al
jmp 0x18000d327
mov qword [rsp + 0xb0], rbp
xor ebx, ebx
mov qword [rsp + 0xc0], r14
mov ebp, ebx
xor r14b, r14b
cmp dword [rsi], ebx
jbe 0x18000d301
nop
test r14b, r14b
jne 0x18000d2fc
mov eax, ebp
mov qword [rsp + 0x60], rbx
lea rcx, [rax + rax*2]
movups xmm1, xmmword [rsi + rcx*8 + 8]
movsd xmm0, qword [rsi + rcx*8 + 0x18]
pextrw r12d, xmm1, 3
movsd qword [rsp + 0x58], xmm0
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, qword [rsp + 0x40]
lea r9, [rsp + 0x60]
mov dword [rsp + 0x30], ebx
mov r8, rax
mov dword [rsp + 0x28], ebx
mov edx, r12d
mov dword [rsp + 0x20], ebx
call r13
test eax, eax
js 0x18000d2f2
mov ecx, 0x1000
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rcx, qword [rsp + 0x60]
mov r9d, 0x1000
mov r8, rax
mov qword [rsp + 0x20], rbx
mov edx, 2
mov rdi, rax
call r15
test eax, eax
jns 0x18000d225
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x18000d2f2
cmp dword [rsp + 0x58], 0x12019f
jne 0x18000d248
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x18000d2f2
mov ecx, 0x1000
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rcx, qword [rsp + 0x60]
mov r9d, 0x1000
mov rbx, rax
mov edx, 1
lea rax, [rsp + 0x68]
mov r8, rbx
mov qword [rsp + 0x20], rax
call r15
test eax, eax
jns 0x18000d2ac
mov edx, dword [rsp + 0x68]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_realloc]
mov r9d, dword [rsp + 0x68]
mov edx, 1
mov rcx, qword [rsp + 0x60]
mov r8, rax
mov rbx, rax
mov qword [rsp + 0x20], 0
call r15
test eax, eax
js 0x18000d2d3
cmp word [rbx], 0
je 0x18000d2d3
mov rcx, qword [rbx + 8]
lea rdx, str.Devicemhyprot2
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x18000d2d3
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov r14b, 1
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor ebx, ebx
inc ebp
cmp ebp, dword [rsi]
jb 0x18000d190
mov r12, qword [rsp + 0x40]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rbp, qword [rsp + 0xb0]
movzx eax, r14b
mov r14, qword [rsp + 0xc0]
mov r15, qword [rsp + 0x80]
mov r13, qword [rsp + 0xb8]
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.1800f15b0
add rsp, 0x88
pop r12
pop rdi
pop rsi
pop rbx
ret