Function at 0x140009ef0
Capabilities:
Create thread
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x50
mov rax, qword [0x140047008]
xor rax, rsp
mov qword [rsp + 0x40], rax
xor esi, esi
lea rcx, [rsp + 0x30]
mov ebx, esi
mov qword [rsp + 0x30], rsi
call fcn.14000fc40
lea ebp, [rsi + 1]
test eax, eax
je 0x140009fd5
mov rcx, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
mov qword [rsp + 0x28], rax
lea rdx, str.ChkExternalDisplay
lea rax, [rsp + 0x3c]
mov dword [rsp + 0x38], 4
xor r9d, r9d
mov qword [rsp + 0x20], rax
xor r8d, r8d
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
test eax, eax
jne 0x140009f70
cmp dword [rsp + 0x3c], ebp
cmove ebx, ebp
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
test ebx, ebx
je 0x140009fd5
mov rax, qword [0x14004ee60]
dec rax
cmp rax, 0xfffffffffffffffd
ja 0x140009fd5
lea rax, [rsp + 0x38]
mov dword [rsp + 0x3c], esi
lea r9, [rsp + 0x30]
mov qword [rsp + 0x20], rax
mov r8d, 4
mov dword [rsp + 0x38], 4
lea rdx, [rsp + 0x3c]
mov ecx, 0x44434c47
call fcn.1400089c0
test eax, eax
je 0x140009fd5
cmp dword [rsp + 0x38], 4
mov eax, esi
cmovae eax, dword [rsp + 0x30]
mov dword [0x14004da98], eax
lea r8, str.GlobalASUS_ASLDRSrv_Splendid_Mode_Apply_Event
xor edx, edx
mov ecx, 0x100000
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_OpenEventW]
mov rbx, rax
test rax, rax
je 0x14000a019
xor edx, edx
mov rcx, rax
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_WaitForSingleObject]
mov edi, esi
mov rcx, rbx
test eax, eax
sete dil
call qword [sym.imp.api_ms_win_core_handle_l1_1_0.dll_CloseHandle]
test edi, edi
je 0x14000a01b
mov ecx, dword [0x14004da98]
jmp 0x14000a029
mov edi, esi
mov ecx, dword [0x14004da98]
test ecx, ecx
je 0x14000a0ae
test ecx, ecx
je 0x14000a034
call fcn.14000b4e0
jmp 0x14000a039
call fcn.14000b2b0
mov ebx, eax
mov rcx, qword [0x14004a6a8]
lea rax, [0x14004a6a8]
cmp rcx, rax
je 0x14000a06d
test byte [rcx + 0x1c], 8
je 0x14000a06d
mov rcx, qword [rcx + 0x10]
lea rax, str.Display_topology
mov dword [rsp + 0x28], ebx
mov qword [rsp + 0x20], rax
call fcn.140019ef0
mov dword [0x14004797c], ebx
test edi, edi
je 0x14000a0ae
test ebx, ebx
je 0x14000a098
cmp ebx, ebp
jne 0x14000a08e
call fcn.140009e90
test eax, eax
je 0x14000a098
mov ebx, dword [0x14004797c]
lea eax, [rbx - 2]
test eax, 0xfffffffd
jne 0x14000a0ae
mov r8d, 3
mov qword [rsp + 0x28], rsi
mov edx, ebp
lea ecx, [r8 + 0xd]
call fcn.14000e470
lea r8, str.GlobalASUS_ASLDRSrv_Splendid_CPanel_Mode_Apply_Event
xor edx, edx
mov ecx, 0x100000
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_OpenEventW]
mov rdi, rax
test rax, rax
je 0x14000a105
xor edx, edx
mov rcx, rax
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_WaitForSingleObject]
mov ebx, esi
mov rcx, rdi
test eax, eax
sete bl
call qword [sym.imp.api_ms_win_core_handle_l1_1_0.dll_CloseHandle]
test ebx, ebx
je 0x14000a105
call fcn.14000b7c0
test eax, eax
jne 0x14000a105
lea r8d, [rax + 0x67]
mov qword [rsp + 0x28], rsi
mov edx, ebp
lea ecx, [rax + 0x10]
call fcn.14000e470
mov qword [rsp + 0x28], rsi
lea r8, [0x14000ab70]
xor r9d, r9d
mov dword [rsp + 0x20], esi
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_CreateThread]
test rax, rax
je 0x14000a130
mov rcx, rax
call qword [sym.imp.api_ms_win_core_handle_l1_1_0.dll_CloseHandle]
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.14001a990
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
add rsp, 0x50
pop rdi
ret