joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140022360
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x590
mov rax, qword [0x140067010]
xor rax, rsp
mov qword [rsp + 0x580], rax
mov eax, dword [0x140067990]
xor esi, esi
cmp eax, 2
jne 0x14002257f
lea rcx, [rsp + 0x40]
mov dword [0x140067990], 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 0x140022431
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 0x140022431
mov eax, dword [rsp + 0x30]
add eax, 0xffffff4e
cmp eax, 1
ja 0x140022431
mov rcx, qword [0x140067b00]
lea rdi, [0x140067b00]
cmp rcx, rdi
je 0x14002241f
test byte [rcx + 0x1c], 4
je 0x14002241f
mov rcx, qword [rcx + 0x10]
lea rax, str.Product_Cloud_version
lea edx, [rsi + 0xa]
mov qword [rsp + 0x20], rax
call fcn.140031fc0
mov ebx, 1
mov dword [0x140067990], ebx
mov eax, ebx
jmp 0x140022588
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.140034ac0
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 0x140022569
xor edx, edx
lea rcx, [rsp + 0x370]
mov r8d, 0x208
call fcn.140034ac0
lea r9, [rsp + 0x160]
mov edx, 0x104
lea r8, str._sWldp.dll
lea rcx, [rsp + 0x370]
call fcn.140009eb0
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 0x140022569
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 0x14002254d
lea rcx, [rsp + 0x30]
call rax
test eax, eax
jne 0x14002254d
mov rcx, qword [0x140067b00]
lea rdi, [0x140067b00]
cmp rcx, rdi
je 0x140022520
test byte [rcx + 0x1c], 4
je 0x140022520
mov rcx, qword [rcx + 0x10]
lea rax, str.Check_Wldp_function_success
lea edx, [rbx + 9]
mov qword [rsp + 0x20], rax
call fcn.140031fc0
mov rcx, qword [0x140067b00]
cmp dword [rsp + 0x30], esi
je 0x14002254d
cmp rcx, rdi
je 0x14002254b
test byte [rcx + 0x1c], 4
je 0x14002254b
mov rcx, qword [rcx + 0x10]
lea rax, str.LockDown_mode_is_not_unlocked
mov edx, 0xa
mov qword [rsp + 0x20], rax
call fcn.140031fc0
mov ebp, ebx
mov rcx, r14
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_FreeLibrary]
mov eax, dword [0x140067990]
test ebp, ebp
cmovne eax, ebx
mov dword [0x140067990], eax
jmp 0x14002256f
mov eax, dword [0x140067990]
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.140032e60
lea r11, [rsp + 0x590]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
Function at 0x1400225b0
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 [0x140067010]
xor rax, rsp
mov qword [rsp + 0x440], rax
mov rbx, qword [0x1400691c8]
lea rcx, [0x14004da40]
mov r14d, r9d
mov r15d, r8d
mov ebp, edx
lea r9, [0x140069ed0]
mov r8, rbx
mov edx, 1
call qword [sym.imp.api_ms_win_power_setting_l1_1_0.dll_PowerSettingRegisterNotification]
lea r9, [0x140069ec8]
mov r8, rbx
mov edx, 1
lea rcx, [0x14004da20]
call qword [sym.imp.api_ms_win_power_setting_l1_1_0.dll_PowerSettingRegisterNotification]
lea r9, [0x140069eb0]
mov r8, rbx
mov edx, 1
lea rcx, [0x14004da00]
call qword [sym.imp.api_ms_win_power_setting_l1_1_0.dll_PowerSettingRegisterNotification]
test ebp, ebp
jne 0x140022653
cmp dword [rsp + 0x480], ebp
jne 0x140022653
cmp dword [rsp + 0x4a0], ebp
je 0x140022673
lea r9, [0x140069ec0]
mov r8, rbx
mov edx, 1
lea rcx, [0x14004da10]
call qword [sym.imp.api_ms_win_power_setting_l1_1_0.dll_PowerSettingRegisterNotification]
test ebp, ebp
jne 0x14002269b
test r15d, r15d
jne 0x14002269b
test r14d, r14d
jne 0x14002269b
cmp dword [rsp + 0x480], r14d
jne 0x14002269b
cmp dword [rsp + 0x488], r14d
jne 0x14002269b
cmp dword [rsp + 0x490], r14d
je 0x1400226c1
lea r9, [0x140069ea8]
mov r8, rbx
mov edx, 1
lea rcx, [0x14004d9f0]
call qword [sym.imp.api_ms_win_power_setting_l1_1_0.dll_PowerSettingRegisterNotification]
cmp dword [rsp + 0x488], 0
jne 0x1400226cb
cmp dword [rsp + 0x498], 0
je 0x1400226e7
lea r9, [0x140069ea0]
mov r8, rbx
mov edx, 1
lea rcx, [0x14004da30]
call qword [sym.imp.api_ms_win_power_setting_l1_1_0.dll_PowerSettingRegisterNotification]
mov rax, qword [0x140069e90]
test rax, rax
jne 0x14002276f
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x208
call fcn.140034ac0
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 0x140022763
xor edx, edx
lea rcx, [rsp + 0x230]
mov r8d, 0x208
call fcn.140034ac0
lea r9, [rsp + 0x20]
mov edx, 0x104
lea r8, str._sPowrprof.dll
lea rcx, [rsp + 0x230]
call fcn.140009eb0
lea rcx, [rsp + 0x230]
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_1.dll_LoadLibraryW]
mov qword [0x140069e90], rax
jmp 0x14002276a
mov rax, qword [0x140069e90]
test rax, rax
je 0x1400227d4
lea rdx, str.PowerRegisterForEffectivePowerModeNotifications
mov rcx, rax
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_GetProcAddress]
mov rcx, qword [0x140069e90]
lea rdx, str.PowerUnregisterFromEffectivePowerModeNotifications
mov qword [0x140069e88], rax
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_GetProcAddress]
mov r10, qword [0x140069e88]
mov qword [0x140069e80], rax
test r10, r10
je 0x1400227d4
test rax, rax
je 0x1400227d4
cmp qword [0x140069e78], 0
jne 0x1400227d4
xor r8d, r8d
lea r9, [0x140069e78]
lea rdx, [0x1400228b0]
lea ecx, [r8 + 1]
call r10
mov eax, 1
mov rcx, qword [rsp + 0x440]
xor rcx, rsp
call fcn.140032e60
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 0x140023f90
Capabilities:
Read .ini file

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r14
sub rsp, 0x580
mov rax, qword [0x140067010]
xor rax, rsp
mov qword [rsp + 0x570], rax
mov rbp, rdx
lea rdi, [rcx + 0xbc4]
test r8d, r8d
lea rax, str.CPanelMode
mov esi, r8d
lea rdx, str.Mode
cmovne rdx, rax
lea rcx, str.Main
mov r9, rdi
mov r8d, 0x1e
call qword [sym.imp.api_ms_win_core_privateprofile_l1_1_0.dll_GetPrivateProfileIntW]
mov ebx, eax
cmp eax, 0x1e
ja 0x140024000
mov eax, 0x400000e6
bt eax, ebx
jb 0x140024005
mov ebx, 1
xor edx, edx
lea rcx, [rsp + 0x40]
mov r8d, 0x104
call fcn.140034ac0
lea rax, str.CPanelColorSpaceMode
test esi, esi
lea rdx, str.ColorSpaceMode
mov r9, rdi
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 r14d, eax
call fcn.140034ac0
lea rax, str.CPanelICMExist
mov qword [rsp + 0x28], rdi
test esi, esi
mov dword [rsp + 0x20], 0x104
lea rdx, str.ICMExist
cmovne rdx, rax
lea r9, [rsp + 0x360]
lea r8, [0x14005c6a0]
lea rcx, str.ColorSpace
call qword [sym.imp.api_ms_win_core_privateprofile_l1_1_0.dll_GetPrivateProfileStringW]
test esi, esi
jne 0x1400240c0
cmp qword [0x14006ae90], 0
je 0x1400240c0
mov r9, rdi
lea r8d, [rsi + 0x64]
lea rdx, str.LutDcScale
lea rcx, str.Main
call qword [sym.imp.api_ms_win_core_privateprofile_l1_1_0.dll_GetPrivateProfileIntW]
mov edi, eax
jmp 0x1400240c5
mov edi, 0xff
xor edx, edx
lea rcx, [rsp + 0x150]
mov r8d, 0x208
call fcn.140034ac0
lea rax, [rsp + 0x360]
mov dword [rsp + 0x28], edi
mov r9d, r14d
mov qword [rsp + 0x20], rax
lea r8, str._d__s__d
mov edx, 0x104
lea rcx, [rsp + 0x150]
call fcn.140009eb0
mov edx, 0x104
lea rcx, [rsp + 0x150]
call fcn.14003fee4
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 esi, esi
mov qword [rsp + 0x20], rbp
mov edx, 0x17
lea rcx, str.GetSplendidColorMode_CPanel
mov eax, 0x12
lea r9, [rsp + 0x40]
cmove edx, eax
mov r8d, ebx
lea rax, str.GetSplendidColorMode
cmove rcx, rax
call fcn.140025830
mov rcx, qword [rsp + 0x570]
xor rcx, rsp
call fcn.140032e60
lea r11, [rsp + 0x580]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
Function at 0x140024de0
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x50
mov rax, qword [0x140067010]
xor rax, rsp
mov qword [rsp + 0x40], rax
cmp qword [0x14006ae90], 0
mov rsi, r8
mov edi, edx
je 0x140024eb9
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 0x140024eb9
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 0x140024eb9
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.14001c210
lea r9, [0x140056724]
mov qword [rsp + 0x20], rsi
mov r8d, edi
lea rcx, str.SetOLEDTaskbar
mov edx, 0x175
call fcn.140025830
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.140032e60
mov rsi, qword [rsp + 0x70]
add rsp, 0x50
pop rdi
ret

Function at 0x140026890
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x10], rbx
push rsi
sub rsp, 0x50
mov rax, qword [0x140067010]
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.140027750
test eax, eax
je 0x140026943
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 0x14002690c
mov edi, dword [rsp + 0x3c]
mov esi, ebx
jmp 0x140026910
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 0x140026924
cmp edi, ebx
cmovbe ebx, edi
mov rdi, qword [rsp + 0x60]
mov eax, ebx
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.140032e60
mov rbx, qword [rsp + 0x68]
add rsp, 0x50
pop rsi
ret
mov eax, ebx
jmp 0x14002692b

Function at 0x140026950
Capabilities:
Query or enumerate registry value

Disassembly:
sub rsp, 0x28
cmp dword [0x140069ed8], 0
je 0x140026980
call fcn.140026720
mov eax, dword [0x140069ed8]
cmp eax, 1
jne 0x140026976
add rsp, 0x28
jmp fcn.140026890
cmp eax, 2
mov eax, 2
je 0x140026985
mov eax, 0xffffffff
add rsp, 0x28
ret
Function at 0x140026da0
Capabilities:
Query or enumerate registry value

Disassembly:
push rbx
sub rsp, 0x50
mov rax, qword [0x140067010]
xor rax, rsp
mov qword [rsp + 0x48], rax
xor ebx, ebx
lea rcx, [rsp + 0x30]
xor edx, edx
mov qword [rsp + 0x30], rbx
call fcn.140027750
test eax, eax
je 0x140026e57
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], rsi
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, str.DataFocus
mov qword [rsp + 0x68], rdi
mov dword [rsp + 0x38], 4
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
test eax, eax
jne 0x140026e1d
mov edi, dword [rsp + 0x3c]
lea esi, [rbx + 1]
jmp 0x140026e23
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
mov rsi, qword [rsp + 0x60]
je 0x140026e3d
cmp edi, 4
cmovbe ebx, edi
mov rdi, qword [rsp + 0x68]
mov eax, ebx
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.140032e60
add rsp, 0x50
pop rbx
ret
mov eax, ebx
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.140032e60
add rsp, 0x50
pop rbx
ret

Function at 0x1400272c0
Capabilities:
Create thread

Disassembly:
sub rsp, 0x98
mov rax, qword [0x140067010]
xor rax, rsp
mov qword [rsp + 0x80], rax
lea rcx, [rsp + 0x30]
call qword [sym.imp.api_ms_win_power_base_l1_1_0.dll_GetPwrCapabilities]
test al, al
je 0x140027339
cmp byte [rsp + 0x35], 0
je 0x140027339
xor eax, eax
lea r8, [0x1400275b0]
mov qword [rsp + 0x28], rax
xor r9d, r9d
xor edx, edx
mov dword [rsp + 0x20], eax
xor ecx, ecx
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_CreateThread]
test rax, rax
je 0x14002731c
mov rcx, rax
call qword [sym.imp.api_ms_win_core_handle_l1_1_0.dll_CloseHandle]
mov eax, 1
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.140032e60
add rsp, 0x98
ret
xor eax, eax
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.140032e60
add rsp, 0x98
ret

Function at 0x140027360
Capabilities:
Create thread

Disassembly:
push rdi
sub rsp, 0x90
mov rax, qword [0x140067010]
xor rax, rsp
mov qword [rsp + 0x80], rax
mov edi, ecx
lea rcx, [rsp + 0x30]
call qword [sym.imp.api_ms_win_power_base_l1_1_0.dll_GetPwrCapabilities]
test al, al
je 0x140027409
cmp byte [rsp + 0x36], 0
je 0x140027409
cmp byte [rsp + 0x46], 1
je 0x140027409
mov ecx, 4
mov qword [rsp + 0xa0], rbx
call fcn.14003fd84
mov rbx, rax
test rax, rax
je 0x1400273fa
mov dword [rax], edi
lea r8, [0x1400275d0]
xor eax, eax
mov r9, rbx
mov qword [rsp + 0x28], rax
xor edx, edx
xor ecx, ecx
mov dword [rsp + 0x20], eax
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_CreateThread]
test rax, rax
je 0x1400273f2
mov rcx, rax
call qword [sym.imp.api_ms_win_core_handle_l1_1_0.dll_CloseHandle]
mov rbx, qword [rsp + 0xa0]
mov eax, 1
jmp 0x14002740b
mov rcx, rbx
call fcn.14003fd8c
mov rbx, qword [rsp + 0xa0]
mov eax, 1
jmp 0x14002740b
xor eax, eax
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.140032e60
add rsp, 0x90
pop rdi
ret
Function at 0x140027430
Capabilities:
Query or enumerate registry value
Shutdown system

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rsi
sub rsp, 0x60
mov rax, qword [0x140067010]
xor rax, rsp
mov qword [rsp + 0x58], rax
mov esi, ecx
xor ebp, ebp
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x30], rbp
xor edx, edx
call fcn.140027750
test eax, eax
je 0x1400274d4
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 + 0x78], rdi
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, str.LowBatteryAction
mov dword [rsp + 0x38], 4
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
test eax, eax
jne 0x1400274af
mov ebx, dword [rsp + 0x3c]
lea edi, [rbp + 1]
jmp 0x1400274b5
mov ebx, dword [rsp + 0x40]
mov edi, ebp
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 + 0x78]
je 0x1400274d4
test ebx, ebx
jne 0x1400274d4
xor eax, eax
jmp 0x14002758a
mov edx, esi
lea rcx, str.Request_BatteryLowLow
call fcn.1400325e0
xor ecx, ecx
call fcn.140027360
test eax, eax
jne 0x140027585
mov qword [rsp + 0x30], rbp
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_GetCurrentProcess]
lea r8, [rsp + 0x30]
mov edx, 0x28
mov rcx, rax
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_OpenProcessToken]
test eax, eax
je 0x140027585
lea r8, [rsp + 0x4c]
xor ecx, ecx
lea rdx, str.SeShutdownPrivilege
call qword [sym.imp.api_ms_win_security_lsalookup_l2_1_0.dll_LookupPrivilegeValueW]
mov rcx, qword [rsp + 0x30]
lea r8, [rsp + 0x48]
xor r9d, r9d
mov qword [rsp + 0x28], rbp
xor edx, edx
mov dword [rsp + 0x48], 1
mov dword [rsp + 0x54], 2
mov qword [rsp + 0x20], rbp
call qword [sym.imp.api_ms_win_security_base_l1_1_0.dll_AdjustTokenPrivileges]
mov r9d, 1
mov dword [rsp + 0x28], 0x6000c
xor r8d, r8d
mov dword [rsp + 0x20], ebp
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_core_shutdown_l1_1_0.dll_InitiateSystemShutdownExW]
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x140027585
call qword [sym.imp.api_ms_win_core_handle_l1_1_0.dll_CloseHandle]
mov eax, 1
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140032e60
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x28]
mov rsp, r11
pop rsi
ret

Function at 0x140027840
Capabilities:
Set registry value

Disassembly:
sub rsp, 0x48
mov rax, qword [0x140067010]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x30], r8d
lea rax, [rsp + 0x30]
xor r8d, r8d
mov dword [rsp + 0x28], 4
mov r9d, 4
mov qword [rsp + 0x20], rax
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegSetValueExW]
xor ecx, ecx
test eax, eax
sete cl
mov eax, ecx
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.140032e60
add rsp, 0x48
ret
Function at 0x1400278a0
Capabilities:
Query or enumerate registry value

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x260
mov rax, qword [0x140067010]
xor rax, rsp
mov qword [rsp + 0x250], rax
mov rsi, r8
mov rdi, rdx
mov rbx, rcx
xor edx, edx
mov r8d, 0x208
lea rcx, [rsp + 0x40]
call fcn.140034ac0
lea rax, [rsp + 0x30]
mov dword [rsp + 0x30], 0x208
lea rcx, [rsp + 0x40]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rcx
lea r9, [rsp + 0x34]
mov rcx, rbx
mov dword [rsp + 0x34], 1
xor r8d, r8d
mov rdx, rdi
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
test eax, eax
jne 0x14002792d
lea r8, [rsp + 0x40]
mov edx, 0x104
mov rcx, rsi
call fcn.140036978
mov eax, 1
jmp 0x14002792f
xor eax, eax
mov rcx, qword [rsp + 0x250]
xor rcx, rsp
call fcn.140032e60
add rsp, 0x260
pop rdi
pop rsi
pop rbx
ret

Function at 0x140027950
Capabilities:
Query or enumerate registry value

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x40
mov rax, qword [0x140067010]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov r15, rcx
mov ebx, 0x200
mov ecx, ebx
mov r14, r9
mov rbp, r8
mov r12, rdx
xor edi, edi
call fcn.14003fd84
mov rsi, rax
test rax, rax
je 0x140027a62
nop dword [rax]
nop dword [rax + rax]
lea rax, [rsp + 0x30]
mov dword [rsp + 0x30], ebx
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x34]
xor r8d, r8d
mov qword [rsp + 0x20], rsi
mov rdx, r12
mov rcx, r15
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
cmp eax, 0xea
jne 0x1400279f4
lea ecx, [rbx + 0x1000]
cmp ebx, 0x1000
lea edx, [rbx + rbx]
cmovae edx, ecx
mov rcx, rsi
mov ebx, edx
call fcn.1400404ec
mov rsi, rax
test rax, rax
jne 0x1400279a0
jmp 0x140027a62
test eax, eax
jne 0x140027a5a
mov rbx, rsi
cmp word [rsi], di
je 0x140027a5a
lea r15d, [rax + 1]
test edi, edi
jne 0x140027a5a
test rbp, rbp
je 0x140027a21
mov rdx, rbp
mov rcx, rbx
call fcn.1400400ac
test eax, eax
jne 0x140027a21
mov edi, r15d
jmp 0x140027a37
test r14, r14
je 0x140027a37
mov rdx, r14
mov rcx, rbx
call fcn.1400400ac
test eax, eax
cmove edi, r15d
mov rax, 0xffffffffffffffff
nop
cmp word [rbx + rax*2 + 2], 0
lea rax, [rax + 1]
jne 0x140027a40
lea rbx, [rbx + rax*2]
add rbx, 2
cmp word [rbx], 0
jne 0x140027a04
mov rcx, rsi
call fcn.14003fd8c
mov eax, edi
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.140032e60
add rsp, 0x40
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x140027a80
Capabilities:
Set registry value

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x250
mov rax, qword [0x140067010]
xor rax, rsp
mov qword [rsp + 0x240], rax
mov rbx, r8
mov rsi, rdx
mov rdi, rcx
xor edx, edx
mov r8d, 0x208
lea rcx, [rsp + 0x30]
call fcn.140034ac0
mov r8, rbx
lea rcx, [rsp + 0x30]
mov edx, 0x104
call fcn.140036978
mov edx, 0x104
lea rcx, [rsp + 0x30]
call fcn.14003fee4
mov r9d, 1
mov rdx, rsi
mov rcx, rdi
lea r8d, [rax*2 + 2]
mov dword [rsp + 0x28], r8d
lea rax, [rsp + 0x30]
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegSetValueExW]
xor ecx, ecx
test eax, eax
sete cl
mov eax, ecx
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.140032e60
add rsp, 0x250
pop rdi
pop rsi
pop rbx
ret

Function at 0x140027b30
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
sub rsp, 0x50
mov rax, qword [0x140067010]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov rbp, rdx
mov rsi, rcx
xor ebx, ebx
lea rcx, [rsp + 0x30]
xor edx, edx
mov qword [rsp + 0x30], rbx
mov rdi, r8
call fcn.140027750
test eax, eax
je 0x140027bfd
mov rcx, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x3c]
lea rax, [rsp + 0x40]
mov dword [rsp + 0x38], 4
xor r8d, r8d
mov qword [rsp + 0x20], rax
mov rdx, rsi
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
test eax, eax
jne 0x140027bf2
mov rcx, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x44]
lea rax, [rsp + 0x3c]
mov dword [rsp + 0x38], 4
xor r8d, r8d
mov qword [rsp + 0x20], rax
mov rdx, rbp
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
test eax, eax
jne 0x140027bf2
test rdi, rdi
je 0x140027bed
mov eax, dword [rsp + 0x40]
mov dword [rdi + 4], eax
mov eax, dword [rsp + 0x3c]
mov dword [rdi], eax
mov ebx, 1
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.140032e60
mov rbx, qword [rsp + 0x88]
add rsp, 0x50
pop rdi
pop rsi
pop rbp
ret

Function at 0x140027c20
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x50
mov rax, qword [0x140067010]
xor rax, rsp
mov qword [rsp + 0x40], rax
xor ebx, ebx
mov esi, edx
mov rdi, rcx
mov qword [rsp + 0x30], rbx
lea rcx, [rsp + 0x30]
lea edx, [rbx + 1]
call fcn.140027750
test eax, eax
je 0x140027c96
mov rcx, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
mov dword [rsp + 0x28], 4
lea r9d, [rbx + 4]
xor r8d, r8d
mov qword [rsp + 0x20], rax
mov rdx, rdi
mov dword [rsp + 0x38], esi
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegSetValueExW]
mov rcx, qword [rsp + 0x30]
test eax, eax
sete bl
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
mov eax, ebx
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.140032e60
mov rbx, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
add rsp, 0x50
pop rdi
ret