joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140026ad0
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x50
mov rax, qword [0x140079010]
xor rax, rsp
mov qword [rsp + 0x48], rax
cmp dword [0x14007b9f8], 0
je 0x140026bca
xor ebx, ebx
lea rcx, [rsp + 0x30]
xor edx, edx
mov qword [rsp + 0x30], rbx
call fcn.140031c50
test eax, eax
je 0x140026cc3
mov rcx, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x40]
lea rax, [rsp + 0x3c]
mov dword [rsp + 0x38], 4
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, str.HidKeybdLightLevel
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
test eax, eax
jne 0x140026b59
mov edi, dword [rsp + 0x3c]
lea esi, [rbx + 1]
jmp 0x140026b5f
mov edi, dword [rsp + 0x40]
mov esi, ebx
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
test esi, esi
je 0x140026cc3
mov eax, edi
shr eax, 7
and eax, 1
mov dword [0x140079b40], eax
mov eax, edi
and eax, 0xf
mov dword [0x140079b3c], eax
bt edi, 0x15
jae 0x140026c9b
cmp dword [0x140079b38], ebx
lea rcx, str.HidKeybdLightLevel
mov dword [0x140079b40], 1
sete bl
mov dword [0x140079b3c], ebx
lea edx, [rbx + 0x80]
call fcn.1400320f0
mov eax, 1
jmp 0x140026cc5
cmp dword [0x140079b34], 0
je 0x140026cc3
xor ebx, ebx
lea rcx, [rsp + 0x30]
xor edx, edx
mov qword [rsp + 0x30], rbx
call fcn.140031c50
test eax, eax
je 0x140026cc3
mov rcx, qword [rsp + 0x30]
lea rax, [rsp + 0x3c]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x40]
lea rax, [rsp + 0x38]
mov dword [rsp + 0x3c], 4
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, str.KeybdLightLevel
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
test eax, eax
jne 0x140026c35
mov edi, dword [rsp + 0x38]
lea esi, [rbx + 1]
jmp 0x140026c3b
mov edi, dword [rsp + 0x40]
mov esi, ebx
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
test esi, esi
je 0x140026cc3
mov eax, edi
shr eax, 7
and eax, 1
mov dword [0x140079b40], eax
mov eax, edi
and eax, 0xf
mov dword [0x140079b3c], eax
bt edi, 0x15
jae 0x140026c9b
cmp dword [0x140079b38], ebx
lea rcx, str.KeybdLightLevel
mov dword [0x140079b40], 1
sete bl
mov dword [0x140079b3c], ebx
lea edx, [rbx + 0x80]
call fcn.1400320f0
mov eax, 1
jmp 0x140026cc5
lea rcx, [0x140079b3c]
call fcn.14000bf70
test eax, eax
je 0x140026cbc
lea rcx, str.PriorKeybdLightLevel
mov edx, 0x100
call fcn.1400320f0
mov eax, 1
jmp 0x140026cc5
xor eax, eax
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1400406e0
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
add rsp, 0x50
pop rdi
ret
Function at 0x140028710
Capabilities:
Query or enumerate registry value

Disassembly:
sub rsp, 0x58
mov rax, qword [0x140079010]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov eax, dword [0x140079b18]
cmp eax, 1
jne 0x14002874b
cmp dword [0x140079b1c], 0
jne 0x140028759
xor eax, eax
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1400406e0
add rsp, 0x58
ret
cmp eax, 2
jne 0x140028737
cmp dword [0x140079b20], 0
je 0x140028737
mov qword [rsp + 0x60], rbx
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x68], rsi
xor esi, esi
cmp eax, 1
mov qword [rsp + 0x30], rsi
mov ebx, esi
sete bl
xor edx, edx
call fcn.140031c50
test eax, eax
je 0x1400287f5
mov rcx, qword [rsp + 0x30]
lea rax, str.AutoKeybdLightBrightenPrompt
test ebx, ebx
mov qword [rsp + 0x50], rdi
lea rdx, str.AutoKeybdLightDimPrompt
mov dword [rsp + 0x38], 4
cmovne rdx, rax
lea r9, [rsp + 0x40]
lea rax, [rsp + 0x38]
xor r8d, r8d
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x3c]
mov qword [rsp + 0x20], rax
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
test eax, eax
jne 0x1400287d7
mov ebx, dword [rsp + 0x3c]
lea edi, [rsi + 1]
jmp 0x1400287dd
mov ebx, dword [rsp + 0x40]
mov edi, esi
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
test edi, edi
mov rdi, qword [rsp + 0x50]
je 0x1400287f5
test ebx, ebx
je 0x140028814
mov r8d, dword [0x140079b18]
xor r9d, r9d
mov qword [rsp + 0x28], rsi
mov dword [rsp + 0x20], esi
lea edx, [r9 + 5]
lea ecx, [rdx + 4]
call fcn.1400242b0
mov rbx, qword [rsp + 0x60]
mov eax, 1
mov dword [0x140079b18], esi
mov rsi, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1400406e0
add rsp, 0x58
ret

Function at 0x140028b10
Capabilities:
Query or enumerate registry value

Disassembly:
push rbx
sub rsp, 0x50
mov rax, qword [0x140079010]
xor rax, rsp
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x30]
xor ebx, ebx
mov r9d, 0x20219
mov qword [rsp + 0x30], rbx
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, str.SOFTWAREASUSDeviceLighting
mov rcx, 0xffffffff80000002
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegOpenKeyExW]
test eax, eax
jne 0x140028ba6
mov rcx, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x40]
lea rax, [rsp + 0x3c]
mov dword [rsp + 0x38], 4
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, str.DCModeSwitch
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
test eax, eax
jne 0x140028b9b
cmp dword [rsp + 0x3c], 1
cmovbe ebx, dword [rsp + 0x3c]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
mov eax, ebx
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1400406e0
add rsp, 0x50
pop rbx
ret
Function at 0x140028bc0
Capabilities:
Query or enumerate registry value

Disassembly:
push rbx
push rsi
push rdi
push r14
push r15
sub rsp, 0x50
mov rax, qword [0x140079010]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov r15, rdx
mov rsi, rcx
xor edi, edi
lea rcx, [rsp + 0x30]
xor edx, edx
mov qword [rsp + 0x30], rdi
mov r14, r8
call fcn.140031c50
test eax, eax
je 0x140028c86
mov rcx, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x40]
lea rax, [rsp + 0x3c]
mov dword [rsp + 0x38], 4
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, str.HidKeybdLightLevel
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
test eax, eax
jne 0x140028c42
mov ebx, dword [rsp + 0x3c]
lea edi, [rax + 1]
jmp 0x140028c46
mov ebx, dword [rsp + 0x40]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
test edi, edi
je 0x140028c86
test r15, r15
je 0x140028c65
mov eax, ebx
shr eax, 7
and eax, 1
mov dword [r15], eax
test rsi, rsi
je 0x140028c71
mov ecx, ebx
and ecx, 0xf
mov dword [rsi], ecx
test r14, r14
je 0x140028c7f
shr ebx, 0x15
and ebx, 1
mov dword [r14], ebx
mov eax, 1
jmp 0x140028c88
xor eax, eax
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1400406e0
add rsp, 0x50
pop r15
pop r14
pop rdi
pop rsi
pop rbx
ret
Function at 0x14002a780
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x50
mov rax, qword [0x140079010]
xor rax, rsp
mov qword [rsp + 0x48], rax
test ecx, ecx
je 0x14002a7d3
mov eax, dword [0x1400799f4]
cmp eax, 2
jne 0x14002a7c1
lea rdx, [0x14007bc20]
lea rcx, [0x140069da0]
call fcn.14002a880
mov dword [0x1400799f4], eax
cmp eax, 1
jne 0x14002a85d
lea rcx, [0x14007bc20]
jmp 0x14002a803
mov eax, dword [0x1400799f8]
cmp eax, 2
jne 0x14002a7f7
lea rdx, [0x14007be30]
lea rcx, [0x140069db0]
call fcn.14002a880
mov dword [0x1400799f8], eax
cmp eax, 1
jne 0x14002a85d
lea rcx, [0x14007be30]
xor edi, edi
xor r9d, r9d
mov qword [rsp + 0x30], rdi
xor r8d, r8d
mov dword [rsp + 0x28], edi
mov edx, 0x40000000
mov dword [rsp + 0x20], 3
call qword [sym.imp.api_ms_win_core_file_l1_1_0.dll_CreateFileW]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x14002a85d
xor r9d, r9d
mov byte [rsp + 0x40], dil
lea r8d, [rdi + 1]
mov qword [rsp + 0x20], rdi
lea rdx, [rsp + 0x40]
mov rcx, rax
call qword [sym.imp.api_ms_win_core_file_l1_1_0.dll_WriteFile]
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_handle_l1_1_0.dll_CloseHandle]
lea eax, [rdi + 1]
jmp 0x14002a85f
xor eax, eax
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1400406e0
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rdi
ret
Function at 0x14002af30
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x50
mov rax, qword [0x140079010]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov ecx, dword [0x1400799f0]
xor ebx, ebx
mov edi, ebx
lea eax, [rcx - 2]
cmp eax, 1
setbe dil
cmp ecx, 3
jne 0x14002af6d
call fcn.14002aa70
mov ecx, dword [0x1400799f0]
cmp ecx, 2
jne 0x14002af84
call fcn.14002b060
mov ecx, ebx
test eax, eax
setne cl
mov dword [0x1400799f0], ecx
test edi, edi
je 0x14002b033
xor edx, edx
mov qword [rsp + 0x30], rbx
lea rcx, [rsp + 0x30]
mov edi, ebx
call fcn.140031c50
test eax, eax
je 0x14002b015
mov rcx, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x40]
lea rax, [rsp + 0x3c]
mov qword [rsp + 0x60], rbp
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, str.GamingSeries
mov qword [rsp + 0x68], rsi
mov dword [rsp + 0x38], 4
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
test eax, eax
jne 0x14002aff0
mov esi, dword [rsp + 0x3c]
lea ebp, [rax + 1]
jmp 0x14002aff6
mov esi, dword [rsp + 0x40]
mov ebp, ebx
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
test ebp, ebp
mov rbp, qword [rsp + 0x60]
je 0x14002b010
cmp esi, 1
cmovbe edi, esi
mov rsi, qword [rsp + 0x68]
mov ecx, dword [0x1400799f0]
cmp edi, ecx
je 0x14002b033
mov edx, ecx
lea rcx, str.GamingSeries
call fcn.1400320f0
mov ecx, dword [0x1400799f0]
cmp ecx, 1
sete bl
mov eax, ebx
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1400406e0
mov rbx, qword [rsp + 0x70]
add rsp, 0x50
pop rdi
ret
Function at 0x14002b420
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x590
mov rax, qword [0x140079010]
xor rax, rsp
mov qword [rsp + 0x580], rax
mov eax, dword [0x1400799cc]
xor esi, esi
cmp eax, 2
jne 0x14002b63f
lea rcx, [rsp + 0x40]
mov dword [0x1400799cc], esi
mov dword [rsp + 0x40], Ordinal_290
call qword [sym.imp.api_ms_win_core_sysinfo_l1_1_0.dll_GetVersionExW]
test eax, eax
je 0x14002b4f1
movzx r9d, word [rsp + 0x156]
lea rax, [rsp + 0x30]
movzx r8d, word [rsp + 0x154]
mov edx, dword [rsp + 0x48]
mov ecx, dword [rsp + 0x44]
mov qword [rsp + 0x20], rax
call qword [sym.imp.api_ms_win_core_sysinfo_l1_2_0.dll_GetProductInfo]
test eax, eax
je 0x14002b4f1
mov eax, dword [rsp + 0x30]
add eax, 0xffffff4e
cmp eax, 1
ja 0x14002b4f1
mov rcx, qword [0x140079b70]
lea rdi, [0x140079b70]
cmp rcx, rdi
je 0x14002b4df
test byte [rcx + 0x1c], 4
je 0x14002b4df
mov rcx, qword [rcx + 0x10]
lea rax, str.Product_Cloud_version
lea edx, [rsi + 0xa]
mov qword [rsp + 0x20], rax
call fcn.14003f070
mov ebx, 1
mov dword [0x1400799cc], ebx
mov eax, ebx
jmp 0x14002b648
mov qword [rsp + 0x5a0], rbp
lea rcx, [rsp + 0x160]
xor edx, edx
mov qword [rsp + 0x5a8], r14
mov r8d, 0x208
mov ebp, esi
call fcn.1400423d0
mov edx, 0x104
lea rcx, [rsp + 0x160]
call qword [sym.imp.api_ms_win_core_sysinfo_l1_1_0.dll_GetSystemDirectoryW]
test eax, eax
je 0x14002b629
xor edx, edx
lea rcx, [rsp + 0x370]
mov r8d, 0x208
call fcn.1400423d0
lea r9, [rsp + 0x160]
mov edx, 0x104
lea r8, str._sWldp.dll
lea rcx, [rsp + 0x370]
call fcn.14000a160
lea rcx, [rsp + 0x370]
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_1.dll_LoadLibraryW]
mov r14, rax
test rax, rax
je 0x14002b629
lea rdx, str.WldpQueryWindowsLockdownMode
mov rcx, rax
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_GetProcAddress]
mov ebx, 1
test rax, rax
je 0x14002b60d
lea rcx, [rsp + 0x30]
call rax
test eax, eax
jne 0x14002b60d
mov rcx, qword [0x140079b70]
lea rdi, [0x140079b70]
cmp rcx, rdi
je 0x14002b5e0
test byte [rcx + 0x1c], 4
je 0x14002b5e0
mov rcx, qword [rcx + 0x10]
lea rax, str.Check_Wldp_function_success
lea edx, [rbx + 9]
mov qword [rsp + 0x20], rax
call fcn.14003f070
mov rcx, qword [0x140079b70]
cmp dword [rsp + 0x30], esi
je 0x14002b60d
cmp rcx, rdi
je 0x14002b60b
test byte [rcx + 0x1c], 4
je 0x14002b60b
mov rcx, qword [rcx + 0x10]
lea rax, str.LockDown_mode_is_not_unlocked
mov edx, 0xa
mov qword [rsp + 0x20], rax
call fcn.14003f070
mov ebp, ebx
mov rcx, r14
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_FreeLibrary]
mov eax, dword [0x1400799cc]
test ebp, ebp
cmovne eax, ebx
mov dword [0x1400799cc], eax
jmp 0x14002b62f
mov eax, dword [0x1400799cc]
mov rbp, qword [rsp + 0x5a0]
mov r14, qword [rsp + 0x5a8]
cmp eax, 1
sete sil
mov eax, esi
mov rcx, qword [rsp + 0x580]
xor rcx, rsp
call fcn.1400406e0
lea r11, [rsp + 0x590]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
Function at 0x14002b670
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], r14
push r15
sub rsp, 0x450
mov rax, qword [0x140079010]
xor rax, rsp
mov qword [rsp + 0x440], rax
mov rbx, qword [0x14007b2a0]
lea rcx, [0x14005bb60]
mov r14d, r9d
mov r15d, r8d
mov ebp, edx
lea r9, [0x14007c0b0]
mov r8, rbx
mov edx, 1
call qword [sym.imp.api_ms_win_power_setting_l1_1_0.dll_PowerSettingRegisterNotification]
lea r9, [0x14007c0a8]
mov r8, rbx
mov edx, 1
lea rcx, [0x14005bb40]
call qword [sym.imp.api_ms_win_power_setting_l1_1_0.dll_PowerSettingRegisterNotification]
lea r9, [0x14007c090]
mov r8, rbx
mov edx, 1
lea rcx, [0x14005bb00]
call qword [sym.imp.api_ms_win_power_setting_l1_1_0.dll_PowerSettingRegisterNotification]
test ebp, ebp
jne 0x14002b713
cmp dword [rsp + 0x480], ebp
jne 0x14002b713
cmp dword [rsp + 0x4a0], ebp
je 0x14002b733
lea r9, [0x14007c0a0]
mov r8, rbx
mov edx, 1
lea rcx, [0x14005bb30]
call qword [sym.imp.api_ms_win_power_setting_l1_1_0.dll_PowerSettingRegisterNotification]
test ebp, ebp
jne 0x14002b75b
test r15d, r15d
jne 0x14002b75b
test r14d, r14d
jne 0x14002b75b
cmp dword [rsp + 0x480], r14d
jne 0x14002b75b
cmp dword [rsp + 0x488], r14d
jne 0x14002b75b
cmp dword [rsp + 0x490], r14d
je 0x14002b781
lea r9, [0x14007c088]
mov r8, rbx
mov edx, 1
lea rcx, [0x14005baf0]
call qword [sym.imp.api_ms_win_power_setting_l1_1_0.dll_PowerSettingRegisterNotification]
cmp dword [rsp + 0x488], 0
jne 0x14002b78b
cmp dword [rsp + 0x498], 0
je 0x14002b7a7
lea r9, [0x14007c080]
mov r8, rbx
mov edx, 1
lea rcx, [0x14005bb50]
call qword [sym.imp.api_ms_win_power_setting_l1_1_0.dll_PowerSettingRegisterNotification]
mov rax, qword [0x14007c058]
test rax, rax
jne 0x14002b82f
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x208
call fcn.1400423d0
mov edx, 0x104
lea rcx, [rsp + 0x20]
call qword [sym.imp.api_ms_win_core_sysinfo_l1_1_0.dll_GetSystemDirectoryW]
test eax, eax
je 0x14002b823
xor edx, edx
lea rcx, [rsp + 0x230]
mov r8d, 0x208
call fcn.1400423d0
lea r9, [rsp + 0x20]
mov edx, 0x104
lea r8, str._sPowrprof.dll
lea rcx, [rsp + 0x230]
call fcn.14000a160
lea rcx, [rsp + 0x230]
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_1.dll_LoadLibraryW]
mov qword [0x14007c058], rax
jmp 0x14002b82a
mov rax, qword [0x14007c058]
test rax, rax
je 0x14002b894
lea rdx, str.PowerRegisterForEffectivePowerModeNotifications
mov rcx, rax
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_GetProcAddress]
mov rcx, qword [0x14007c058]
lea rdx, str.PowerUnregisterFromEffectivePowerModeNotifications
mov qword [0x14007c050], rax
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_GetProcAddress]
mov r10, qword [0x14007c050]
mov qword [0x14007c048], rax
test r10, r10
je 0x14002b894
test rax, rax
je 0x14002b894
cmp qword [0x14007c040], 0
jne 0x14002b894
xor r8d, r8d
lea r9, [0x14007c040]
lea rdx, [0x14002b9b0]
lea ecx, [r8 + 1]
call r10
mov eax, 1
mov rcx, qword [rsp + 0x440]
xor rcx, rsp
call fcn.1400406e0
lea r11, [rsp + 0x450]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov r14, qword [r11 + 0x20]
mov rsp, r11
pop r15
ret
Function at 0x14002d5e0
Capabilities:
Read .ini file

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x580
mov rax, qword [0x140079010]
xor rax, rsp
mov qword [rsp + 0x570], rax
mov r14, rdx
lea rsi, [rcx + 0xad8]
test r8d, r8d
lea rax, str.CPanelMode
mov ebx, r8d
lea rdx, str.Mode
cmovne rdx, rax
lea rcx, str.Main
mov r9, rsi
mov r8d, 0x1e
call qword [sym.imp.api_ms_win_core_privateprofile_l1_1_0.dll_GetPrivateProfileIntW]
mov edi, eax
cmp eax, 0x1e
ja 0x14002d64e
mov eax, 0x400000e6
bt eax, edi
jb 0x14002d653
mov edi, 1
xor edx, edx
lea rcx, [rsp + 0x40]
mov r8d, 0x104
call fcn.1400423d0
lea rax, str.CPanelColorSpaceMode
test ebx, ebx
lea rdx, str.ColorSpaceMode
mov r9, rsi
cmovne rdx, rax
lea rcx, str.Main
xor r8d, r8d
call qword [sym.imp.api_ms_win_core_privateprofile_l1_1_0.dll_GetPrivateProfileIntW]
xor edx, edx
lea rcx, [rsp + 0x360]
mov r8d, 0x208
mov r15d, eax
call fcn.1400423d0
lea rax, str.CPanelICMExist
mov qword [rsp + 0x28], rsi
test ebx, ebx
mov dword [rsp + 0x20], 0x104
lea rdx, str.ICMExist
cmovne rdx, rax
lea r9, [rsp + 0x360]
lea r8, [0x14006bef0]
lea rcx, str.ColorSpace
call qword [sym.imp.api_ms_win_core_privateprofile_l1_1_0.dll_GetPrivateProfileStringW]
cmp qword [0x14007d0b0], 0
mov ebp, 0xff
je 0x14002d729
test ebx, ebx
je 0x14002d6fd
call fcn.14003c5c0
test al, 8
je 0x14002d729
test ebx, ebx
lea rax, str.CPanelLutDcScale
lea rdx, str.LutDcScale
mov r9, rsi
cmovne rdx, rax
lea rcx, str.Main
mov r8d, 0x64
call qword [sym.imp.api_ms_win_core_privateprofile_l1_1_0.dll_GetPrivateProfileIntW]
mov ebp, eax
xor edx, edx
lea rcx, [rsp + 0x150]
mov r8d, 0x208
call fcn.1400423d0
lea rax, [rsp + 0x360]
mov dword [rsp + 0x28], ebp
mov r9d, r15d
mov qword [rsp + 0x20], rax
lea r8, str._d__s__d
mov edx, 0x104
lea rcx, [rsp + 0x150]
call fcn.14000a160
mov edx, 0x104
lea rcx, [rsp + 0x150]
call fcn.14004d7f4
xor ecx, ecx
lea r8, [rsp + 0x150]
mov qword [rsp + 0x38], rcx
mov r9d, eax
mov qword [rsp + 0x30], rcx
xor edx, edx
lea rcx, [rsp + 0x40]
mov dword [rsp + 0x28], 0x104
mov qword [rsp + 0x20], rcx
xor ecx, ecx
call qword [sym.imp.api_ms_win_core_string_l1_1_0.dll_WideCharToMultiByte]
test ebx, ebx
mov qword [rsp + 0x20], r14
mov edx, 0x17
lea rcx, str.GetSplendidColorMode_CPanel
mov eax, 0x12
lea r9, [rsp + 0x40]
cmove edx, eax
mov r8d, edi
lea rax, str.GetSplendidColorMode
cmove rcx, rax
call fcn.14002f710
mov rcx, qword [rsp + 0x570]
xor rcx, rsp
call fcn.1400406e0
mov rbx, qword [rsp + 0x5b8]
add rsp, 0x580
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
Function at 0x14002e600
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x50
mov rax, qword [0x140079010]
xor rax, rsp
mov qword [rsp + 0x40], rax
cmp qword [0x14007d0b0], 0
mov rsi, r8
mov edi, edx
je 0x14002e6d9
lea rax, [rsp + 0x30]
mov qword [rsp + 0x30], 0
mov r9d, 0xf003f
mov qword [rsp + 0x20], rax
xor r8d, r8d
lea rdx, str.SOFTWAREMicrosoftWindowsCurrentVersionExplorerAdvanced
mov rcx, 0xffffffff80000002
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegOpenKeyExW]
test eax, eax
jne 0x14002e6d9
mov rcx, qword [rsp + 0x30]
lea rdx, str.UseOLEDTaskbarTransparency
test edi, edi
mov dword [rsp + 0x28], 4
mov r9d, 4
mov qword [rsp + 0x60], rbx
setne al
xor r8d, r8d
mov dword [rsp + 0x38], eax
lea rax, [rsp + 0x38]
mov qword [rsp + 0x20], rax
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegSetValueExW]
mov rcx, qword [rsp + 0x30]
xor ebx, ebx
test eax, eax
sete bl
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
test ebx, ebx
mov rbx, qword [rsp + 0x60]
je 0x14002e6d9
xor r9d, r9d
mov qword [rsp + 0x28], 0
mov r8d, edi
mov dword [rsp + 0x20], 0
lea edx, [r9 + 2]
lea ecx, [rdx + 0x10]
call fcn.1400242b0
lea r9, [0x140064a40]
mov qword [rsp + 0x20], rsi
mov r8d, edi
lea rcx, str.SetOLEDTaskbar
mov edx, 0x175
call fcn.14002f710
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.1400406e0
mov rsi, qword [rsp + 0x70]
add rsp, 0x50
pop rdi
ret
Function at 0x14002ec20
Capabilities:
Delete registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x290
mov rax, qword [0x140079010]
xor rax, rsp
mov qword [rsp + 0x280], rax
mov eax, dword [0x140079940]
mov rdi, r8
mov ebx, edx
cmp eax, 1
je 0x14002ed34
cmp eax, 3
jne 0x14002ed8a
xor edx, edx
lea rcx, [rsp + 0x70]
mov r8d, 0x208
call fcn.1400423d0
lea rcx, [rsp + 0x70]
call fcn.1400131a0
test eax, eax
je 0x14002ed7c
xor esi, esi
lea rax, [rsp + 0x58]
xor r8d, r8d
mov qword [rsp + 0x58], rsi
lea rdx, [rsp + 0x70]
mov qword [rsp + 0x20], rax
mov rcx, 0xffffffff80000002
lea r9d, [rsi + 2]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegOpenKeyExW]
test eax, eax
jne 0x14002ed7c
mov rcx, qword [rsp + 0x58]
lea rax, [rsp + 0x60]
mov qword [rsp + 0x40], rsi
lea rdx, [0x1400665c8]
mov qword [rsp + 0x38], rax
xor r9d, r9d
mov qword [rsp + 0x30], rsi
xor r8d, r8d
mov dword [rsp + 0x28], 0xf003f
mov dword [rsp + 0x20], esi
mov qword [rsp + 0x60], rsi
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCreateKeyExW]
test eax, eax
jne 0x14002ed27
mov rcx, qword [rsp + 0x60]
lea rdx, str.DedicatedSegmentSize
cmp ebx, 0x80
jne 0x14002ed14
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegDeleteValueW]
jmp 0x14002ed1c
mov r8d, ebx
call fcn.140031d40
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
jmp 0x14002ed7c
mov rax, qword [0x14007d110]
dec rax
cmp rax, 0xfffffffffffffffd
ja 0x14002ed7c
lea rax, [rsp + 0x58]
mov dword [rsp + 0x50], 0x600c4
lea r9, [rsp + 0x60]
mov qword [rsp + 0x20], rax
mov r8d, 8
mov dword [rsp + 0x54], ebx
lea rdx, [rsp + 0x50]
mov dword [rsp + 0x58], 4
mov ecx, 0x53564544
call fcn.140006780
mov edx, ebx
xor ecx, ecx
call fcn.1400130f0
call fcn.1400316a0
lea r9, [0x140064a40]
mov qword [rsp + 0x20], rdi
mov r8d, ebx
lea rcx, str.SetFrameBufferSize
mov edx, 0x187
call fcn.14002f710
mov rcx, qword [rsp + 0x280]
xor rcx, rsp
call fcn.1400406e0
lea r11, [rsp + 0x290]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
Function at 0x1400307c0
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x10], rbx
push rsi
sub rsp, 0x50
mov rax, qword [0x140079010]
xor rax, rsp
mov qword [rsp + 0x48], rax
xor esi, esi
lea rcx, [rsp + 0x30]
xor edx, edx
mov qword [rsp + 0x30], rsi
mov ebx, 1
call fcn.140031c50
test eax, eax
je 0x140030873
mov rcx, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x40]
lea rax, [rsp + 0x3c]
mov qword [rsp + 0x60], rdi
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, str.RadioFrequencyPowerTable
mov dword [rsp + 0x38], 4
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
test eax, eax
jne 0x14003083c
mov edi, dword [rsp + 0x3c]
mov esi, ebx
jmp 0x140030840
mov edi, dword [rsp + 0x40]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
test esi, esi
je 0x140030854
cmp edi, ebx
cmovbe ebx, edi
mov rdi, qword [rsp + 0x60]
mov eax, ebx
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1400406e0
mov rbx, qword [rsp + 0x68]
add rsp, 0x50
pop rsi
ret
mov eax, ebx
jmp 0x14003085b

Function at 0x140030880
Capabilities:
Query or enumerate registry value

Disassembly:
sub rsp, 0x28
cmp dword [0x14007c06c], 0
je 0x1400308b0
call fcn.140030650
mov eax, dword [0x14007c06c]
cmp eax, 1
jne 0x1400308a6
add rsp, 0x28
jmp fcn.1400307c0
cmp eax, 2
mov eax, 2
je 0x1400308b5
mov eax, 0xffffffff
add rsp, 0x28
ret