Function at 0x1401de990
Capabilities:
Enumerate gui resources

Disassembly:
mov rax, rsp
push rbp
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x60
mov qword [rbp - 0x40], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov r15, rcx
add rcx, 0x10
call fcn.140009d00
call qword [sym.imp.USER32.dll_GetProcessWindowStation]
mov rbx, rax
xor r13d, r13d
mov qword [rbp - 0x38], r13
mov qword [rbp - 0x30], r13
call fcn.1400df600
mov qword [rbp - 0x38], rax
lea r8, [rbp - 0x38]
lea rdx, [0x1401def90]
mov rcx, rbx
call qword [sym.imp.USER32.dll_EnumDesktopsW]
test eax, eax
je 0x1401deb47
lea rax, [0x140323de0]
mov qword [rbp - 0x28], rax
mov qword [rbp - 0x20], r13
mov qword [rbp - 8], r15
mov rax, qword [r15 + 8]
mov qword [rbp - 0x10], rax
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetSystemMetrics]
mov dword [rbp - 0x18], eax
lea ecx, [r13 + 1]
call qword [sym.imp.USER32.dll_GetSystemMetrics]
mov dword [rbp - 0x14], eax
mov rax, qword [rbp - 0x38]
mov rbx, qword [rax]
cmp rbx, rax
je 0x1401deb38
nop
mov r9d, 0x41
xor r8d, r8d
xor edx, edx
mov rcx, qword [rbx + 0x20]
call qword [sym.imp.USER32.dll_OpenDesktopW]
mov r14, rax
test rax, rax
je 0x1401dead0
mov rsi, qword [rbx + 0x20]
test rsi, rsi
jne 0x1401dea6b
mov edi, r13d
jmp 0x1401deaa2
or rdi, 0xffffffffffffffff
nop
inc rdi
cmp word [rsi + rdi*2], 0
jne 0x1401dea70
test edi, edi
jle 0x1401deaa2
mov edx, edi
lea rcx, [rbp - 0x28]
call fcn.1401e9030
movsxd r9, edi
mov eax, dword [rbp - 0x20]
inc eax
movsxd rdx, eax
mov r8, rsi
mov rcx, qword [rbp - 0x28]
call fcn.14029b4d8
jmp 0x1401deaa8
cmp dword [rbp - 0x1c], 0
jle 0x1401deab3
mov edx, edi
lea rcx, [rbp - 0x28]
call fcn.1401ea290
lea r8, [rbp - 0x28]
lea rdx, [0x1401defd0]
mov rcx, r14
call qword [sym.imp.USER32.dll_EnumDesktopWindows]
mov rcx, r14
call qword [sym.imp.USER32.dll_CloseDesktop]
mov rcx, qword [rbx + 0x20]
call fcn.1402012c0
cmp byte [rbx + 0x19], 0
jne 0x1401deb2e
mov rax, qword [rbx + 0x10]
cmp byte [rax + 0x19], 0
jne 0x1401deb0e
mov rbx, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], 0
jne 0x1401deb2e
nop word [rax + rax]
mov rbx, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], 0
je 0x1401deb00
jmp 0x1401deb2e
mov rax, qword [rbx + 8]
cmp byte [rax + 0x19], 0
jne 0x1401deb2b
cmp rbx, qword [rax + 0x10]
jne 0x1401deb2b
mov rbx, rax
mov rax, qword [rax + 8]
cmp byte [rax + 0x19], 0
je 0x1401deb18
mov rbx, rax
cmp rbx, qword [rbp - 0x38]
jne 0x1401dea40
cmp dword [rbp - 0x20], 0
jle 0x1401deb47
mov rcx, qword [rbp - 0x28]
call fcn.140298600
mov rax, qword [r15 + 0x10]
mov rdi, qword [rax]
cmp rdi, rax
je 0x1401decf8
movabs r14, 0x10000000000000
mov rsi, qword [rdi + 0x30]
mov rax, qword [rsi]
mov rbx, qword [rax]
cmp rbx, rax
je 0x1401debf3
mov edx, dword [rbx + 0x1c]
mov rcx, qword [r15 + 8]
call fcn.1400fdce0
test rax, rax
je 0x1401deba0
lea rcx, [rax + 8]
xor r8d, r8d
lea rdx, str.:windowsexplorer.exe
call fcn.1401e8ee0
test al, al
jne 0x1401dec7b
cmp byte [rbx + 0x19], 0
jne 0x1401debee
mov rax, qword [rbx + 0x10]
cmp byte [rax + 0x19], 0
jne 0x1401debce
mov rbx, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], 0
jne 0x1401debee
nop dword [rax]
mov rbx, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], 0
je 0x1401debc0
jmp 0x1401debee
mov rax, qword [rbx + 8]
cmp byte [rax + 0x19], 0
jne 0x1401debeb
cmp rbx, qword [rax + 0x10]
jne 0x1401debeb
mov rbx, rax
mov rax, qword [rax + 8]
cmp byte [rax + 0x19], 0
je 0x1401debd8
mov rbx, rax
cmp rbx, qword [rsi]
jne 0x1401deb74
cmp qword [rsi + 8], 3
ja 0x1401dec7b
mov rax, qword [rsi]
mov rbx, qword [rax]
cmp rbx, rax
je 0x1401dec7b
nop dword [rax]
mov edx, dword [rbx + 0x1c]
mov rcx, qword [r15 + 8]
call fcn.1400fdce0
test rax, rax
je 0x1401dec25
or qword [rax + 0x40], r14
cmp byte [rbx + 0x19], 0
jne 0x1401dec76
mov rax, qword [rbx + 0x10]
cmp byte [rax + 0x19], 0
jne 0x1401dec4f
mov rbx, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], 0
jne 0x1401dec76
mov rbx, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], 0
je 0x1401dec41
jmp 0x1401dec76
mov rax, qword [rbx + 8]
cmp byte [rax + 0x19], 0
jne 0x1401dec73
nop dword [rax]
cmp rbx, qword [rax + 0x10]
jne 0x1401dec73
mov rbx, rax
mov rax, qword [rax + 8]
cmp byte [rax + 0x19], 0
je 0x1401dec60
mov rbx, rax
cmp rbx, qword [rsi]
jne 0x1401dec10
mov r8, qword [rsi]
mov r9, r8
mov r8, qword [r8]
lea rdx, [rbp + 0x30]
mov rcx, rsi
call fcn.140009220
mov rcx, qword [rsi]
call fcn.1402012c0
mov rcx, rsi
call fcn.1402012c0
cmp byte [rdi + 0x19], 0
jne 0x1401decee
mov rax, qword [rdi + 0x10]
cmp byte [rax + 0x19], 0
jne 0x1401decce
mov rdi, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], 0
jne 0x1401decee
nop dword [rax]
mov rdi, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], 0
je 0x1401decc0
jmp 0x1401decee
mov rax, qword [rdi + 8]
cmp byte [rax + 0x19], 0
jne 0x1401deceb
cmp rdi, qword [rax + 0x10]
jne 0x1401deceb
mov rdi, rax
mov rax, qword [rax + 8]
cmp byte [rax + 0x19], 0
je 0x1401decd8
mov rdi, rax
cmp rdi, qword [r15 + 0x10]
jne 0x1401deb61
mov rax, qword [r15 + 0x10]
mov rdi, qword [rax + 8]
mov rbx, rdi
cmp byte [rdi + 0x19], 0
jne 0x1401ded40
nop dword [rax]
mov rdx, qword [rbx + 0x10]
lea rcx, [r15 + 0x10]
call fcn.14000a110
mov rbx, qword [rbx]
cmp dword [rdi + 0x28], 0
jle 0x1401ded2f
mov rcx, qword [rdi + 0x20]
call fcn.140298600
mov rcx, rdi
call fcn.1402012c0
mov rdi, rbx
cmp byte [rbx + 0x19], 0
je 0x1401ded10
mov rax, qword [r15 + 0x10]
mov qword [rax + 8], rax
mov rax, qword [r15 + 0x10]
mov qword [rax], rax
mov rax, qword [r15 + 0x10]
mov qword [rax + 0x10], rax
mov qword [r15 + 0x18], r13
mov r8, qword [rbp - 0x38]
mov r9, r8
mov r8, qword [r8]
lea rdx, [rbp + 0x30]
lea rcx, [rbp - 0x38]
call fcn.140009220
mov rcx, qword [rbp - 0x38]
call fcn.1402012c0
mov al, 1
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret