Function at 0x140010660
Capabilities:
Enumerate gui resources

Disassembly:
mov rax, rsp
push rsi
sub rsp, 0x60
cmp dword [rcx + 0x20], 0
mov rsi, rcx
jle 0x140010918
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbp
mov qword [rax - 0x18], r14
xor r14d, r14d
mov qword [rax - 0x10], rdi
nop dword [rax + rax]
lea rcx, [rsi + 0x10]
call fcn.140047e60
mov rbx, rax
test rax, rax
je 0x140010797
cmp dword [rax + 0x18], r14d
je 0x140010797
lea rax, [rsp + 0x70]
mov dword [rsp + 0x28], 4
xor r9d, r9d
mov qword [rsp + 0x20], rax
lea r8, str.SystemInReConfiguration
mov dword [rsp + 0x70], 1
lea rdx, str.SoftwareATIACESettingsEEU_
mov rcx, 0xffffffff80000002
call fcn.1400442e0
test eax, eax
jne 0x140010707
mov rcx, qword [0x1400da5d8]
test rcx, rcx
je 0x140010707
lea r8, str.PnPSetCCCPauseRegistry_WriteRegKey_failed_for_CCC_PAUSE_REG_KEY.
mov edx, 0x40000
call fcn.140040750
xor r9d, r9d
mov dword [rsp + 0x20], r14d
xor r8d, r8d
mov edx, 0x8484
mov rcx, rsi
call fcn.140010930
mov ecx, 0x1f4
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rax, [rsp + 0x70]
mov dword [rsp + 0x28], 4
xor r9d, r9d
mov qword [rsp + 0x20], rax
lea r8, str.SystemInReConfiguration
mov dword [rsp + 0x70], r14d
lea rdx, str.SoftwareATIACESettingsEEU_
mov rcx, 0xffffffff80000002
call fcn.1400442e0
test eax, eax
jne 0x14001077f
mov rcx, qword [0x1400da5d8]
test rcx, rcx
je 0x14001077f
lea r8, str.PnPSetCCCPauseRegistry_WriteRegKey_failed_for_CCC_PAUSE_REG_KEY.
mov edx, 0x40000
call fcn.140040750
xor r9d, r9d
mov dword [rsp + 0x20], r14d
xor r8d, r8d
mov edx, 0x8485
mov rcx, rsi
call fcn.140010930
cmp qword [rbx + 0x10], r14
je 0x1400108b0
mov rcx, qword [rsi + 0x38]
mov edi, 1
test rcx, rcx
je 0x1400107c1
lea rdx, str.04874F40_A61B_405c_8206_7116B598FD8A
call qword [sym.imp.USER32.dll_GetPropA]
test rax, rax
jne 0x1400107d4
xor edx, edx
mov qword [rsi + 0x38], r14
lea rcx, [0x14000fac0]
call qword [sym.imp.USER32.dll_EnumWindows]
mov rax, qword [rsi + 0x38]
test rax, rax
jne 0x14001081e
xor edx, edx
lea rcx, str.9EDE85BB_30B3_4FDF_94C6_267ACB7EB43B
call qword [sym.imp.USER32.dll_FindWindowA]
mov qword [rsi + 0x38], rax
test rax, rax
jne 0x14001081e
mov rcx, qword [0x1400da5d8]
test rcx, rcx
je 0x140010819
lea r8, str.FindCCCWindow_EnumWindows_failed.
mov edx, 0x40000
call fcn.140040750
mov rcx, qword [0x1400da5d8]
mov edi, r14d
jmp 0x140010825
mov rcx, qword [0x1400da5d8]
test edi, edi
je 0x14001088f
mov rcx, qword [rbx + 0x10]
mov rax, 0xffffffffffffffff
mov qword [rsp + 0x40], rcx
nop dword [rax]
inc rax
cmp word [rcx + rax*2], r14w
jne 0x140010840
add eax, eax
mov dword [rsp + 0x38], eax
mov eax, dword [rbx + 4]
cmp dword [rbx + 8], r14d
je 0x140010863
mov edx, eax
mov rcx, rsi
call fcn.1400111b0
mov rcx, qword [rsi + 0x38]
lea r9, [rsp + 0x30]
mov eax, eax
mov edx, 0x4a
mov r8d, 0x404
mov qword [rsp + 0x30], rax
call qword [sym.imp.USER32.dll_SendMessageA]
mov rcx, qword [rbx + 0x10]
call fcn.14004fef4
jmp 0x1400108ea
test rcx, rcx
je 0x1400108a5
lea r8, str.SendCommandLindToCCC_failed._The_message_has_been_removed_from_the_queue
mov edx, 0x40000
call fcn.140040750
mov rcx, qword [rbx + 0x10]
call fcn.14004fef4
jmp 0x1400108ea
mov eax, dword [rbx + 0x18]
mov rcx, rsi
mov r9d, dword [rbx + 8]
mov r8d, dword [rbx + 4]
mov edx, dword [rbx]
mov dword [rsp + 0x20], eax
call fcn.140010930
test eax, eax
jne 0x1400108ea
mov rcx, qword [0x1400da5d8]
test rcx, rcx
je 0x1400108ea
lea r8, str.PostMessageToCCC_failed._The_message_has_been_removed_from_the_queue
mov edx, 0x40000
call fcn.140040750
mov edx, 0x20
mov rcx, rbx
call fcn.14004fefc
cmp dword [rsi + 0x20], r14d
jg 0x140010690
mov r14, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x80]
mov rbx, qword [rsp + 0x78]
lea rcx, [rsi + 8]
add rsp, 0x60
pop rsi
jmp fcn.140043510