Function at 0x18000d050
Capabilities:
Enumerate gui resources

Disassembly:
mov rax, rsp
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x1e8]
sub rsp, 0x2c0
mov qword [rbp - 0x68], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x18008f100]
xor rax, rsp
mov qword [rbp + 0x1b0], rax
mov rsi, rcx
mov qword [rsp + 0x78], rcx
cmp dword [rcx + 8], 0
je 0x18000d6aa
xor edi, edi
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x34], rdi
mov dword [rsp + 0x30], edi
call fcn.1800133d0
test eax, eax
je 0x18000d0dc
mov rcx, qword [rsi + 0x10]
test rcx, rcx
jne 0x18000d0c8
jmp 0x18000d69b
lea r8, [rsp + 0x28]
lea rdx, [0x18000cf50]
call qword [sym.imp.USER32.dll_EnumDesktopsW]
jmp 0x18000d141
mov word [rbp - 0x60], di
xor edx, edx
mov r8d, 0x206
lea rcx, [rbp - 0x5e]
call fcn.180015150
xor r11d, r11d
mov qword [rbp + 0x1a8], r11
mov r8d, 0x103
lea rdx, str.Default
lea rcx, [rbp - 0x60]
call fcn.1800138cc
movsxd rbx, dword [rsp + 0x30]
lea edx, [rbx + 1]
lea rcx, [rsp + 0x28]
call fcn.18000df10
mov rcx, rbx
imul rcx, rcx, 0x210
add rcx, qword [rsp + 0x28]
lea rdx, [rbp - 0x60]
mov r8d, 0x210
call fcn.180014a50
mov edx, dword [rsp + 0x30]
cmp edx, dword [rsi + 0x28]
jne 0x18000d1e9
mov r13d, edi
test edx, edx
jle 0x18000d1ad
mov ebx, edi
cmp dword [rsi + 0x28], ebx
jle 0x18000d1e9
movsxd r12, r13d
imul r12, r12, 0x210
nop word [rax + rax]
movsxd rdx, ebx
imul rdx, rdx, 0x210
add rdx, qword [rsi + 0x20]
mov rax, qword [rsp + 0x28]
lea rcx, [r12 + rax]
call fcn.180014278
test eax, eax
je 0x18000d199
inc ebx
cmp ebx, dword [rsi + 0x28]
jge 0x18000d1a7
jmp 0x18000d170
inc r13d
mov edx, dword [rsp + 0x30]
cmp r13d, edx
jge 0x18000d1ad
jmp 0x18000d155
mov edx, dword [rsp + 0x30]
jmp 0x18000d1e9
cmp dword [rsi + 0x38], 0
je 0x18000d1e4
mov dword [rsi + 0x38], edi
cmp dword [rsi + 0x28], 0
jle 0x18000d1e4
mov rbx, rdi
nop
mov rax, qword [rsi + 0x20]
mov rcx, qword [rbx + rax + 0x208]
test rcx, rcx
je 0x18000d1d6
call fcn.18000d8a0
inc edi
add rbx, 0x210
cmp edi, dword [rsi + 0x28]
jl 0x18000d1c0
jmp 0x18000d69b
mov qword [rsp + 0x58], rdi
mov qword [rsp + 0x64], rdi
mov dword [rsp + 0x60], edi
mov qword [rbp - 0x80], rdi
mov qword [rbp - 0x74], rdi
mov r14d, edi
mov dword [rsp + 0x20], edi
mov dword [rbp - 0x78], edi
mov qword [rsp + 0x40], rdi
mov qword [rsp + 0x4c], rdi
mov dword [rsp + 0x48], edi
lea rcx, [rsp + 0x58]
call fcn.18000df10
mov ebx, dword [rsp + 0x30]
mov r12, qword [rsp + 0x28]
mov r13, qword [rsp + 0x58]
test ebx, ebx
je 0x18000d256
mov rcx, r13
mov rdx, r12
mov r8d, 0x210
call fcn.180014a50
add r13, 0x210
add r12, 0x210
dec ebx
jne 0x18000d233
mov edx, dword [rsi + 0x28]
lea rcx, [rsp + 0x40]
call fcn.18000df10
mov ebx, dword [rsi + 0x28]
mov r12, qword [rsi + 0x20]
mov rcx, qword [rsp + 0x40]
mov r13, rcx
test ebx, ebx
je 0x18000d2a8
nop word [rax + rax]
mov rcx, r13
mov rdx, r12
mov r8d, 0x210
call fcn.180014a50
add r13, 0x210
add r12, 0x210
dec ebx
jne 0x18000d280
mov rcx, qword [rsp + 0x40]
mov r13d, dword [rsp + 0x60]
lea r15d, [r13 - 1]
mov r12d, dword [rsp + 0x48]
test r15d, r15d
js 0x18000d41f
movsxd r14, r15d
imul r14, r14, 0x210
mov rdx, qword [rsp + 0x58]
add r14, rdx
lea eax, [r15 + 1]
cdqe
imul rax, rax, 0x210
add rax, rdx
mov qword [rsp + 0x70], rax
mov esi, dword [rsp + 0x20]
jmp 0x18000d2f5
mov rcx, qword [rsp + 0x40]
mov ebx, edi
mov r13, rdi
test r12d, r12d
jle 0x18000d3f1
nop word [rax + rax]
movsxd rdx, ebx
imul rdx, rdx, 0x210
add rdx, rcx
mov rcx, r14
call fcn.180014278
test eax, eax
je 0x18000d342
inc ebx
inc r13
cmp ebx, r12d
mov rcx, qword [rsp + 0x40]
jl 0x18000d310
mov rax, qword [rsp + 0x70]
jmp 0x18000d3f1
imul r13, r13, 0x210
add r13, qword [rsp + 0x40]
lea edx, [rsi + 1]
lea rcx, [rbp - 0x80]
call fcn.18000df10
movsxd rcx, esi
imul rcx, rcx, 0x210
add rcx, qword [rbp - 0x80]
mov rdx, r13
mov r8d, 0x210
call fcn.180014a50
mov r13d, dword [rsp + 0x60]
mov r11d, r13d
sub r11d, r15d
dec r11d
je 0x18000d39d
movsxd r8, r11d
imul r8, r8, 0x210
mov rdx, qword [rsp + 0x70]
mov rcx, r14
call fcn.180014a50
dec r13d
mov dword [rsp + 0x60], r13d
mov eax, r12d
sub eax, ebx
dec eax
je 0x18000d3df
movsxd r8, eax
imul r8, r8, 0x210
lea eax, [rbx + 1]
movsxd rdx, eax
imul rdx, rdx, 0x210
mov rax, qword [rsp + 0x40]
add rdx, rax
movsxd rcx, ebx
imul rcx, rcx, 0x210
add rcx, rax
call fcn.180014a50
dec r12d
mov dword [rsp + 0x48], r12d
mov esi, dword [rbp - 0x78]
mov rax, qword [rsp + 0x70]
jmp 0x18000d3f6
mov r13d, dword [rsp + 0x60]
sub rax, 0x210
mov qword [rsp + 0x70], rax
sub r14, 0x210
dec r15d
jns 0x18000d2f0
mov dword [rsp + 0x20], esi
mov rsi, qword [rsp + 0x78]
mov r14d, dword [rsp + 0x20]
test r13d, r13d
jne 0x18000d42d
test r12d, r12d
je 0x18000d626
lea eax, [r12 - 1]
movsxd r12, eax
test eax, eax
js 0x18000d48c
mov rax, r12
imul rax, rax, 0x210
mov rcx, qword [rsp + 0x40]
lea r13, [rax + rcx + 0x208]
mov rbx, qword [r13]
test rbx, rbx
je 0x18000d47b
mov rcx, rbx
call fcn.180012b40
mov rcx, rbx
call fcn.180012bd0
test rbx, rbx
je 0x18000d47b
mov rax, qword [rbx]
mov edx, 1
mov rcx, rbx
call qword [rax]
sub r13, 0x210
dec r12
jns 0x18000d450
mov r13d, dword [rsp + 0x60]
lea r15, [rsi + 0x20]
mov rcx, qword [r15]
test rcx, rcx
je 0x18000d4a0
call fcn.180013b68
mov qword [r15], rdi
mov qword [r15 + 8], rdi
movsxd rbx, edi
lea edx, [rbx + r14]
mov rcx, r15
call fcn.18000df10
mov r12, qword [rbp - 0x80]
imul rbx, rbx, 0x210
add rbx, qword [r15]
test r14d, r14d
je 0x18000d4f4
nop word [rax + rax]
mov rcx, rbx
mov rdx, r12
mov r8d, 0x210
call fcn.180014a50
add rbx, 0x210
add r12, 0x210
dec r14d
jne 0x18000d4d0
mov word [rbp - 0x60], di
xor edx, edx
mov r8d, 0x206
lea rcx, [rbp - 0x5e]
call fcn.180015150
xor r11d, r11d
mov qword [rbp + 0x1a8], r11
test r13d, r13d
jle 0x18000d62a
mov r12, qword [rsp + 0x58]
mov r14d, r13d
lea r13, vtable.CDesktopMgr::CDesktopThread.0
nop dword [rax + rax]
mov ecx, 0x280
call fcn.180013c3c
mov rbx, rax
mov qword [rsp + 0x78], rax
test rax, rax
je 0x18000d5af
mov rcx, rax
call fcn.180012ac0
mov qword [rbx], r13
mov qword [rbx + 0x250], rdi
mov qword [rbx + 0x25c], rdi
mov dword [rbx + 0x258], edi
mov qword [rbx + 0x268], rdi
mov qword [rbx + 0x274], rdi
mov dword [rbx + 0x270], edi
mov qword [rbx + 0x40], rsi
xor edx, edx
mov r8d, 0x208
lea rcx, [rbx + 0x48]
call fcn.180015150
test r12, r12
je 0x18000d5a6
mov r8d, 0x103
mov rdx, r12
lea rcx, [rbx + 0x48]
call fcn.1800138cc
lea r13, vtable.CDesktopMgr::CDesktopThread.0
jmp 0x18000d5b2
mov rbx, rdi
test rbx, rbx
je 0x18000d614
xor edx, edx
mov r8d, 0x210
lea rcx, [rbp - 0x60]
call fcn.180015150
mov rcx, rbx
call fcn.180012d40
mov qword [rbp + 0x1a8], rbx
mov r8d, 0x103
mov rdx, r12
lea rcx, [rbp - 0x60]
call fcn.1800138cc
movsxd rbx, dword [r15 + 8]
lea edx, [rbx + 1]
mov rcx, r15
call fcn.18000df10
mov rcx, rbx
imul rcx, rcx, 0x210
add rcx, qword [r15]
lea rdx, [rbp - 0x60]
mov r8d, 0x210
call fcn.180014a50
add r12, 0x210
dec r14
jne 0x18000d530
jmp 0x18000d62a
lea r15, [rsi + 0x20]
mov dword [rsi + 0x38], edi
cmp dword [rsi + 0x28], 0
jle 0x18000d663
mov rbx, rdi
nop word [rax + rax]
mov rax, qword [r15]
mov rcx, qword [rbx + rax + 0x208]
test rcx, rcx
je 0x18000d655
call fcn.18000d8a0
inc edi
add rbx, 0x210
cmp edi, dword [rsi + 0x28]
jl 0x18000d640
mov rax, qword [rsp + 0x40]
test rax, rax
je 0x18000d676
mov rcx, rax
call fcn.180013b68
nop
mov rax, qword [rbp - 0x80]
test rax, rax
je 0x18000d688
mov rcx, rax
call fcn.180013b68
nop
mov rax, qword [rsp + 0x58]
test rax, rax
je 0x18000d69b
mov rcx, rax
call fcn.180013b68
nop
mov rcx, qword [rsp + 0x28]
test rcx, rcx
je 0x18000d6aa
call fcn.180013b68
mov rcx, qword [rbp + 0x1b0]
xor rcx, rsp
call fcn.180013880
lea r11, [rsp + 0x2c0]
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