joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14001bc50
Capabilities:
Get file attributes
Query environment variable
Query or enumerate registry value

Disassembly:
jmp 0x14001bc50
mov qword [rsp + 0x10], rbx
push rbp
lea rbp, [rsp - 0x560]
sub rsp, 0x660
mov rax, qword [0x1400b7010]
xor rax, rsp
mov qword [rbp + 0x550], rax
mov rbx, rcx
xor edx, edx
lea rcx, [rsp + 0x50]
mov r8d, 0x100
call fcn.140002adb
movups xmm0, xmmword [str.SOFTWAREMicrosoft_]
mov eax, dword [0x14009bc78]
lea rcx, [rbp + 0x164]
xor edx, edx
mov dword [rbp + 0x160], eax
mov r8d, 0x3ec
movaps xmmword [rbp + 0x150], xmm0
call fcn.140002adb
xor edx, edx
lea rcx, [rbp + 0x50]
mov r8d, 0x100
call fcn.140002adb
lea rdx, str.Windows_NTCurrentVersionProfileList_
mov dword [rsp + 0x30], 0x100
lea rcx, [rbp + 0x150]
call qword [sym.imp.KERNEL32.dll_lstrcatA]
mov rdx, rbx
lea rcx, [rbp + 0x150]
call qword [sym.imp.KERNEL32.dll_lstrcatA]
lea rax, [rsp + 0x38]
mov r9d, 0x20019
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, [rbp + 0x150]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x14001bd28
xor eax, eax
jmp 0x14001bdfb
mov rcx, qword [rsp + 0x38]
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x40]
lea rax, [rsp + 0x50]
xor r8d, r8d
lea rdx, str.ProfileImagePath
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x14001bd21
lea rdx, [rsp + 0x50]
lea rcx, [rbp + 0x50]
call qword [sym.imp.KERNEL32.dll_lstrcpyA]
xor edx, edx
lea rcx, [rsp + 0x50]
mov r8d, 0x100
call fcn.140002adb
mov r8d, 0x100
lea rdx, [rsp + 0x50]
lea rcx, [rbp + 0x50]
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsA]
test eax, eax
je 0x14001bd21
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
test al, 0x10
je 0x14001bdb5
lea rdx, str._ntuser.dat
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_lstrcatA]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
jne 0x14001bd21
lea edx, [rax + 1]
lea rcx, str.SeRestorePrivilege
call fcn.14000137a
test eax, eax
je 0x14001bd21
mov r8d, 1
lea rdx, [rsp + 0x50]
mov rcx, rbx
call fcn.140002518
xor ecx, ecx
test eax, eax
setne cl
mov eax, ecx
mov rcx, qword [rbp + 0x550]
xor rcx, rsp
call fcn.140003e09
mov rbx, qword [rsp + 0x678]
add rsp, 0x660
pop rbp
ret
Function at 0x14001be90
Capabilities:
Delete registry key
Query or enumerate registry value
Set registry value

Disassembly:
jmp 0x14001be90
push rbp
push rbx
push rsi
push rdi
mov rbp, rsp
sub rsp, 0x78
xor esi, esi
mov dword [rbp - 0x28], 1
test ecx, ecx
mov qword [rsp + 0x30], rsi
mov eax, esi
mov dword [rsp + 0x28], esi
setne al
mov dword [rbp + 0x40], esi
xor r9d, r9d
mov dword [rbp + 0x30], eax
mov edx, 0xc0000000
mov dword [rbp + 0x28], esi
lea r8d, [rsi + 3]
mov dword [rsp + 0x20], 3
lea rcx, str..IBMPmDrv
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x14001c073
mov qword [rsp + 0x38], rsi
lea rax, [rbp - 0x1c]
mov qword [rsp + 0x30], rax
lea r9d, [rsi + 4]
mov dword [rsp + 0x28], esi
lea r8, [rbp + 0x30]
mov edx, 0x222404
mov qword [rsp + 0x20], rsi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
lea rdx, str.SoftwareIBMIBMPM
mov edi, eax
mov rcx, 0xffffffff80000002
cmp dword [rbp + 0x30], esi
je 0x14001c06b
lea rax, [rbp + 0x40]
xor r9d, r9d
mov qword [rsp + 0x40], rax
xor r8d, r8d
lea rax, [rbp - 0x18]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rsi
mov dword [rsp + 0x28], 0x2001f
mov dword [rsp + 0x20], esi
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
je 0x14001bf70
xor eax, eax
add rsp, 0x78
pop rdi
pop rsi
pop rbx
pop rbp
ret
mov rcx, qword [rbp - 0x18]
test rcx, rcx
je 0x14001c076
lea rax, [rbp - 0x28]
mov dword [rsp + 0x28], 4
mov r9d, 4
mov qword [rsp + 0x20], rax
xor r8d, r8d
lea rdx, str.CapaLidBeep
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov rcx, qword [rbp - 0x18]
test eax, eax
je 0x14001bfb7
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x14001c076
or dword [rbp + 0x28], 3
lea rax, [rbp + 0x28]
mov dword [rsp + 0x28], 4
lea rdx, str.SvcCtrlCodeCapa
mov r9d, 4
mov qword [rsp + 0x20], rax
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov rcx, qword [rbp - 0x18]
test eax, eax
je 0x14001bff5
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x14001c076
lea rax, [rbp - 0x24]
mov dword [rbp + 0x38], 1
mov qword [rsp + 0x28], rax
lea r9, [rbp - 0x20]
lea rax, [rbp + 0x38]
mov dword [rbp - 0x20], 4
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, str.HibFileCreation
mov dword [rbp - 0x24], 4
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x14001c05f
mov rcx, qword [rbp - 0x18]
lea rax, [rbp + 0x38]
mov dword [rsp + 0x28], 4
lea rdx, str.HibFileCreation
mov r9d, 4
mov qword [rsp + 0x20], rax
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov rcx, qword [rbp - 0x18]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x14001c076
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
jmp 0x14001c076
mov edi, dword [rbp + 0x28]
test rbx, rbx
je 0x14001c084
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
add rsp, 0x78
pop rdi
pop rsi
pop rbx
pop rbp
ret
Function at 0x14001c110
Capabilities:
Shutdown system

Disassembly:
jmp 0x14001c110
sub rsp, 0x58
mov rax, qword [0x1400b7010]
xor rax, rsp
mov qword [rsp + 0x48], rax
cmp dword [0x1400b81fc], 0
jne 0x14001c149
xor edx, edx
lea ecx, [rdx + 5]
call qword [sym.imp.USER32.dll_ExitWindowsEx]
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.140003e09
add rsp, 0x58
ret
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea r8, [rsp + 0x30]
mov edx, 0x28
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
jne 0x14001c178
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.140003e09
add rsp, 0x58
ret
lea r8, [rsp + 0x3c]
mov qword [rsp + 0x50], rbx
lea rdx, str.SeShutdownPrivilege
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueA]
mov rcx, qword [rsp + 0x30]
lea r8, [rsp + 0x38]
xor ebx, ebx
mov dword [rsp + 0x38], 1
mov qword [rsp + 0x28], rbx
xor r9d, r9d
xor edx, edx
mov qword [rsp + 0x20], rbx
mov dword [rsp + 0x44], 2
call qword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x14001c1d0
xor eax, eax
jmp 0x14001c1e2
xor edx, edx
lea ecx, [rdx + 0xc]
call qword [sym.imp.USER32.dll_ExitWindowsEx]
test eax, eax
setne bl
mov eax, ebx
mov rbx, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.140003e09
add rsp, 0x58
ret

Function at 0x14001c2e0
Capabilities:
Persist via windows service
Query or enumerate registry value
Set registry value

Disassembly:
jmp 0x14001c2e0
cmp ecx, 1
jb 0x14001c3cc
push rbx
sub rsp, 0x30
mov ebx, ecx
lea rax, [rsp + 0x58]
mov rcx, 0xffffffff80000002
mov qword [rsp + 0x20], rax
mov r9d, 0xf003f
lea rdx, str.SYSTEMCurrentControlSetServicesIBMPMSVCParameters2Type20Notification
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x14001c3c7
mov rcx, qword [rsp + 0x58]
lea rax, [rsp + 0x48]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x50]
lea rax, [rsp + 0x40]
mov dword [rsp + 0x48], 4
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, str.Type22
mov dword [rsp + 0x50], 4
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x14001c3bc
mov eax, dword [rsp + 0x40]
lea ecx, [rbx - 1]
mov edx, 1
shl edx, cl
test eax, edx
je 0x14001c379
not edx
and eax, edx
jmp 0x14001c37b
or eax, edx
mov rcx, qword [rsp + 0x58]
lea rdx, str.Type22
mov dword [rsp + 0x40], eax
mov r9d, 4
lea rax, [rsp + 0x40]
mov dword [rsp + 0x28], 4
xor r8d, r8d
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x48], 4
mov dword [rsp + 0x50], 4
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
add rsp, 0x30
pop rbx
ret
Function at 0x14001c410
Capabilities:
Persist via windows service
Query or enumerate registry value
Set registry value

Disassembly:
jmp 0x14001c410
cmp ecx, 1
jb 0x14001c4fc
push rbx
sub rsp, 0x30
mov ebx, ecx
lea rax, [rsp + 0x58]
mov rcx, 0xffffffff80000002
mov qword [rsp + 0x20], rax
mov r9d, 0xf003f
lea rdx, str.SYSTEMCurrentControlSetServicesIBMPMSVCParametersNotification
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x14001c4f7
mov rcx, qword [rsp + 0x58]
lea rax, [rsp + 0x48]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x50]
lea rax, [rsp + 0x40]
mov dword [rsp + 0x48], 4
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, str.Type2
mov dword [rsp + 0x50], 4
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x14001c4ec
mov eax, dword [rsp + 0x40]
lea ecx, [rbx - 1]
mov edx, 1
shl edx, cl
test eax, edx
je 0x14001c4a9
not edx
and eax, edx
jmp 0x14001c4ab
or eax, edx
mov rcx, qword [rsp + 0x58]
lea rdx, str.Type2
mov dword [rsp + 0x40], eax
mov r9d, 4
lea rax, [rsp + 0x40]
mov dword [rsp + 0x28], 4
xor r8d, r8d
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x48], 4
mov dword [rsp + 0x50], 4
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
add rsp, 0x30
pop rbx
ret

Function at 0x14001ce50
Capabilities:
Query or enumerate registry value

Disassembly:
jmp 0x14001ce50
push rbx
sub rsp, 0x490
mov rax, qword [0x1400b7010]
xor rax, rsp
mov qword [rsp + 0x480], rax
cmp dword [0x1400b81fc], 0
mov rbx, rcx
mov dword [rsp + 0x34], 0
je 0x14001ced6
lea rcx, [rsp + 0x150]
call fcn.140002ebe
lea r8, [rsp + 0x150]
lea rdx, str._sControl_PanelPowerCfg
lea rcx, [rsp + 0x40]
call qword [sym.imp.USER32.dll_wsprintfA]
mov rcx, 0xffffffff80000003
lea rax, [rsp + 0x38]
xor r8d, r8d
lea rdx, [rsp + 0x40]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x14001cef1
xor al, al
jmp 0x14001cf60
lea rdx, str.Control_PanelPowerCfg
lea rcx, [rsp + 0x40]
call qword [sym.imp.USER32.dll_wsprintfA]
mov rcx, 0xffffffff80000001
jmp 0x14001cead
lea rdx, str.CurrentPowerPolicy
lea rcx, [rsp + 0x260]
call qword [sym.imp.KERNEL32.dll_lstrcpyA]
mov rcx, qword [rsp + 0x38]
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x34]
lea rax, [rsp + 0x370]
mov dword [rsp + 0x30], 0x104
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, [rsp + 0x260]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x14001cecf
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rcx, [rsp + 0x370]
call fcn.1400025d6
mov dword [rbx], eax
mov al, 1
mov rcx, qword [rsp + 0x480]
xor rcx, rsp
call fcn.140003e09
add rsp, 0x490
pop rbx
ret
Function at 0x14001cfd0
Capabilities:
Query or enumerate registry value

Disassembly:
jmp 0x14001cfd0
push rbx
sub rsp, 0x490
mov rax, qword [0x1400b7010]
xor rax, rsp
mov qword [rsp + 0x480], rax
cmp dword [0x1400b81fc], 0
mov rbx, rcx
mov dword [rsp + 0x34], 0
je 0x14001d056
lea rcx, [rsp + 0x150]
call fcn.140002ebe
lea r8, [rsp + 0x150]
lea rdx, str._sControl_PanelPowerCfgGlobalPowerPolicy
lea rcx, [rsp + 0x40]
call qword [sym.imp.USER32.dll_wsprintfA]
mov rcx, 0xffffffff80000003
lea rax, [rsp + 0x38]
xor r8d, r8d
lea rdx, [rsp + 0x40]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x14001d071
xor al, al
jmp 0x14001d13b
lea rdx, str.Control_PanelPowerCfgGlobalPowerPolicy
lea rcx, [rsp + 0x40]
call qword [sym.imp.USER32.dll_wsprintfA]
mov rcx, 0xffffffff80000001
jmp 0x14001d02d
lea rdx, str.Policies
lea rcx, [rsp + 0x260]
call qword [sym.imp.KERNEL32.dll_lstrcpyA]
mov rcx, qword [rsp + 0x38]
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x34]
lea rax, [rsp + 0x370]
mov dword [rsp + 0x30], 0x104
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, [rsp + 0x260]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x14001d04f
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rax, [rsp + 0x370]
movups xmm0, xmmword [rax]
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbx], xmm0
movups xmm0, xmmword [rax + 0x20]
movups xmmword [rbx + 0x10], xmm1
movups xmm1, xmmword [rax + 0x30]
movups xmmword [rbx + 0x20], xmm0
movups xmm0, xmmword [rax + 0x40]
movups xmmword [rbx + 0x30], xmm1
movups xmm1, xmmword [rax + 0x50]
movups xmmword [rbx + 0x40], xmm0
movups xmm0, xmmword [rax + 0x60]
movups xmmword [rbx + 0x50], xmm1
movups xmmword [rbx + 0x60], xmm0
movups xmm0, xmmword [rax + 0x70]
sub rax, 0xffffffffffffff80
movups xmmword [rbx + 0x70], xmm0
movups xmm1, xmmword [rax]
movups xmm0, xmmword [rax + 0x10]
movups xmmword [rbx + 0x80], xmm1
movups xmm1, xmmword [rax + 0x20]
mov al, 1
movups xmmword [rbx + 0x90], xmm0
movups xmmword [rbx + 0xa0], xmm1
mov rcx, qword [rsp + 0x480]
xor rcx, rsp
call fcn.140003e09
add rsp, 0x490
pop rbx
ret
Function at 0x14001d1c0
Capabilities:
Query or enumerate registry value

Disassembly:
jmp 0x14001d1c0
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rdi
push rbp
lea rbp, [rsp - 0x390]
sub rsp, 0x490
mov rax, qword [0x1400b7010]
xor rax, rsp
mov qword [rbp + 0x380], rax
cmp dword [0x1400b81fc], 0
mov rbx, rdx
mov edi, ecx
mov dword [rsp + 0x34], 0
je 0x14001d257
lea rcx, [rbp + 0x160]
call fcn.140002ebe
mov r9d, edi
lea r8, [rbp + 0x160]
lea rdx, str._sControl_PanelPowerCfgPowerPolicies_d
lea rcx, [rbp + 0x50]
call qword [sym.imp.USER32.dll_wsprintfA]
mov rcx, 0xffffffff80000003
lea rax, [rsp + 0x38]
xor r8d, r8d
lea rdx, [rbp + 0x50]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x14001d274
xor al, al
jmp 0x14001d31d
mov r8d, edi
lea rdx, str.Control_PanelPowerCfgPowerPolicies_d
lea rcx, [rbp + 0x50]
call qword [sym.imp.USER32.dll_wsprintfA]
mov rcx, 0xffffffff80000001
jmp 0x14001d22f
lea rdx, str.Policies
lea rcx, [rbp + 0x270]
call qword [sym.imp.KERNEL32.dll_lstrcpyA]
mov rcx, qword [rsp + 0x38]
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x34]
lea rax, [rsp + 0x40]
mov dword [rsp + 0x30], 0x104
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, [rbp + 0x270]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x14001d250
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
movaps xmm0, xmmword [rsp + 0x40]
mov al, 1
movaps xmm1, xmmword [rsp + 0x50]
movups xmmword [rbx], xmm0
movaps xmm0, xmmword [rsp + 0x60]
movups xmmword [rbx + 0x10], xmm1
movaps xmm1, xmmword [rsp + 0x70]
movups xmmword [rbx + 0x20], xmm0
movaps xmm0, xmmword [rbp - 0x80]
movups xmmword [rbx + 0x30], xmm1
movaps xmm1, xmmword [rbp - 0x70]
movups xmmword [rbx + 0x40], xmm0
movaps xmm0, xmmword [rbp - 0x60]
movups xmmword [rbx + 0x50], xmm1
movaps xmm1, xmmword [rbp - 0x50]
movups xmmword [rbx + 0x60], xmm0
movaps xmm0, xmmword [rbp - 0x40]
movups xmmword [rbx + 0x70], xmm1
movups xmmword [rbx + 0x80], xmm0
mov rcx, qword [rbp + 0x380]
xor rcx, rsp
call fcn.140003e09
lea r11, [rsp + 0x490]
mov rbx, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
Function at 0x14001d480
Capabilities:
Set registry value

Disassembly:
jmp 0x14001d480
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x290
mov rax, qword [0x1400b7010]
xor rax, rsp
mov qword [rsp + 0x280], rax
xor esi, esi
mov rdi, rcx
cmp dword [0x1400b81fc], esi
lea rcx, [rsp + 0x60]
mov dword [rsp + 0x50], esi
lea ebx, [rsi + 1]
je 0x14001d50f
lea rdx, str..DEFAULTControl_PanelPowerCfgGlobalPowerPolicy
call qword [sym.imp.USER32.dll_wsprintfA]
mov rcx, 0xffffffff80000003
lea rax, [rsp + 0x50]
xor r9d, r9d
mov qword [rsp + 0x40], rax
lea rdx, [rsp + 0x60]
lea rax, [rsp + 0x58]
xor r8d, r8d
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rsi
mov dword [rsp + 0x28], 0x2001f
mov dword [rsp + 0x20], esi
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
je 0x14001d525
xor al, al
jmp 0x14001d576
lea rdx, str.Control_PanelPowerCfgGlobalPowerPolicy
call qword [sym.imp.USER32.dll_wsprintfA]
mov rcx, 0xffffffff80000001
jmp 0x14001d4d1
lea rdx, str.Policies
lea rcx, [rsp + 0x170]
call qword [sym.imp.KERNEL32.dll_lstrcpyA]
mov rcx, qword [rsp + 0x58]
lea rdx, [rsp + 0x170]
mov r9d, 3
mov dword [rsp + 0x28], 0xb0
xor r8d, r8d
mov qword [rsp + 0x20], rdi
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov rcx, qword [rsp + 0x58]
test eax, eax
cmovne ebx, esi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
movzx eax, bl
mov rcx, qword [rsp + 0x280]
xor rcx, rsp
call fcn.140003e09
lea r11, [rsp + 0x290]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
Function at 0x14001d5f0
Capabilities:
Set registry value

Disassembly:
jmp 0x14001d5f0
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x3a0
mov rax, qword [0x1400b7010]
xor rax, rsp
mov qword [rsp + 0x390], rax
mov r8d, dword [rcx]
xor edi, edi
cmp dword [0x1400b81fc], edi
lea rcx, [rsp + 0x170]
mov rbx, r9
mov dword [rsp + 0x50], edi
je 0x14001d683
lea rdx, str..DEFAULTControl_PanelPowerCfgPowerPolicies_d
call qword [sym.imp.USER32.dll_wsprintfA]
mov rcx, 0xffffffff80000003
lea rax, [rsp + 0x50]
xor r9d, r9d
mov qword [rsp + 0x40], rax
lea rdx, [rsp + 0x170]
lea rax, [rsp + 0x58]
xor r8d, r8d
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x28], 0x2001f
mov dword [rsp + 0x20], edi
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
je 0x14001d699
xor al, al
jmp 0x14001d726
lea rdx, str.Control_PanelPowerCfgPowerPolicies_d
call qword [sym.imp.USER32.dll_wsprintfA]
mov rcx, 0xffffffff80000001
jmp 0x14001d63f
lea rdx, str.Policies
lea rcx, [rsp + 0x280]
call qword [sym.imp.KERNEL32.dll_lstrcpyA]
movups xmm0, xmmword [rbx]
mov rcx, qword [rsp + 0x58]
lea rax, [rsp + 0x60]
movups xmm1, xmmword [rbx + 0x10]
lea rdx, [rsp + 0x280]
mov dword [rsp + 0x28], 0x50
movaps xmmword [rsp + 0x60], xmm0
mov r9d, 3
movups xmm0, xmmword [rbx + 0x20]
xor r8d, r8d
mov qword [rsp + 0x20], rax
movaps xmmword [rsp + 0x70], xmm1
movups xmm1, xmmword [rbx + 0x30]
movaps xmmword [rsp + 0x80], xmm0
movups xmm0, xmmword [rbx + 0x40]
movaps xmmword [rsp + 0x90], xmm1
movaps xmmword [rsp + 0xa0], xmm0
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
jne 0x14001d67c
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, 1
mov rcx, qword [rsp + 0x390]
xor rcx, rsp
call fcn.140003e09
mov rbx, qword [rsp + 0x3b8]
add rsp, 0x3a0
pop rdi
ret
Function at 0x14001d890
Capabilities:
Write file on windows

Disassembly:
jmp 0x14001d890
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x40
xor ebx, ebx
lea rcx, [0x14009a4c8]
mov esi, ebx
mov edi, ebx
call fcn.140003030
mov rbp, rax
test rax, rax
je 0x14001d94e
mov rdx, rax
lea rcx, str.RotationLockButtonPress_DevicePath____ws__n
call fcn.1400045d9
mov qword [rsp + 0x30], rbx
xor r9d, r9d
mov dword [rsp + 0x28], ebx
xor r8d, r8d
mov edx, 0x40000000
mov dword [rsp + 0x20], 3
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov rsi, rax
cmp rax, 0xffffffffffffffff
je 0x14001d94e
xor r9d, r9d
mov byte [rsp + 0x50], 4
lea r8d, [rbx + 1]
mov qword [rsp + 0x20], rbx
lea rdx, [rsp + 0x50]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov edi, eax
test eax, eax
je 0x14001d94e
xor r9d, r9d
mov byte [rsp + 0x50], 4
lea r8d, [rbx + 1]
mov qword [rsp + 0x20], rbx
lea rdx, [rsp + 0x50]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov edi, eax
test eax, eax
je 0x14001d94e
lea edi, [rbx + 1]
jmp 0x14001d956
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
test rsi, rsi
je 0x14001d96c
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rbx, qword [rsp + 0x58]
mov eax, edi
mov rbp, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
add rsp, 0x40
pop rdi
ret

Function at 0x14001db50
Capabilities:
Persist via windows service
Set registry value

Disassembly:
jmp 0x14001db50
push rbx
sub rsp, 0x30
lea rax, [rsp + 0x48]
mov r9d, 0xf003f
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, str.SYSTEMCurrentControlSetServicesIBMPMSVCStatus
mov rcx, 0xffffffff80000002
xor ebx, ebx
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x14001dbb7
mov rcx, qword [rsp + 0x48]
lea rax, [rsp + 0x40]
mov ebx, 1
mov dword [rsp + 0x28], 4
xor r8d, r8d
mov dword [rsp + 0x40], ebx
lea rdx, str.LastSystemTransformation
mov qword [rsp + 0x20], rax
lea r9d, [rbx + 3]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x14001dbc7
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
add rsp, 0x30
pop rbx
ret

Function at 0x14001dbf0
Capabilities:
Persist via windows service
Set registry value

Disassembly:
jmp 0x14001dbf0
sub rsp, 0x38
lea rax, [rsp + 0x48]
mov r9d, 0xf003f
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, str.SYSTEMCurrentControlSetServicesIBMPMSVCStatus
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x14001dc50
mov rcx, qword [rsp + 0x48]
lea rdx, str.LastSystemTransformation
mov dword [rsp + 0x40], eax
mov r9d, 4
lea rax, [rsp + 0x40]
mov dword [rsp + 0x28], 4
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x14001dc60
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
add rsp, 0x38
ret
Function at 0x14001dc90
Capabilities:
Write file on windows

Disassembly:
jmp 0x14001dc90
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x40
xor ebx, ebx
mov r14, rcx
lea rcx, [0x14009a4f8]
mov byte [rsp + 0x68], bl
mov esi, ebx
mov edi, ebx
call fcn.140003030
mov rbp, rax
test rax, rax
je 0x14001dd2d
mov rdx, rax
lea rcx, str.SetSystemDockingTransformation_DevicePath____ws__n
call fcn.1400045d9
mov qword [rsp + 0x30], rbx
xor r9d, r9d
mov dword [rsp + 0x28], ebx
xor r8d, r8d
mov edx, 0xc0000000
mov dword [rsp + 0x20], 3
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov rsi, rax
cmp rax, 0xffffffffffffffff
je 0x14001dd2d
movzx eax, byte [r14]
lea r8d, [rbx + 1]
xor r9d, r9d
mov byte [rsp + 0x68], al
lea rdx, [rsp + 0x68]
mov qword [rsp + 0x20], rbx
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov edi, eax
test eax, eax
je 0x14001dd2d
lea edi, [rbx + 1]
jmp 0x14001dd35
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
test rsi, rsi
je 0x14001dd4b
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rbx, qword [rsp + 0x60]
mov eax, edi
mov rbp, qword [rsp + 0x70]
add rsp, 0x40
pop r14
pop rdi
pop rsi
ret

Function at 0x14001de60
Capabilities:
Set registry value

Disassembly:
jmp 0x14001de60
push rbx
sub rsp, 0x30
lea rax, [rsp + 0x48]
mov r9d, 0xf003f
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, str.SOFTWAREMicrosoftWindowsCurrentVersionAutoRotation
mov rcx, 0xffffffff80000002
xor ebx, ebx
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x14001dec7
mov rcx, qword [rsp + 0x48]
lea rax, [rsp + 0x40]
mov dword [rsp + 0x28], 4
lea r9d, [rbx + 4]
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, str.Enable
mov dword [rsp + 0x40], ebx
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov ebx, 1
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x14001ded7
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
add rsp, 0x30
pop rbx
ret

Function at 0x14001df00
Capabilities:
Set registry value

Disassembly:
jmp 0x14001df00
push rbx
sub rsp, 0x30
lea rax, [rsp + 0x48]
mov r9d, 0xf003f
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, str.SOFTWAREMicrosoftWindowsCurrentVersionAutoRotation
mov rcx, 0xffffffff80000002
xor ebx, ebx
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x14001df67
mov rcx, qword [rsp + 0x48]
lea rax, [rsp + 0x40]
mov ebx, 1
mov dword [rsp + 0x28], 4
xor r8d, r8d
mov dword [rsp + 0x40], ebx
lea rdx, str.Enable
mov qword [rsp + 0x20], rax
lea r9d, [rbx + 3]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x14001df77
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
add rsp, 0x30
pop rbx
ret