joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400073c0
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x70
mov rax, qword [0x140046088]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov rdi, r8
mov dword [rsp + 0x58], r9d
lea rax, [rsp + 0x50]
mov r9d, 0x20019
xor r8d, r8d
mov qword [rsp + 0x20], rax
mov rcx, 0xffffffff80000002
mov rbx, rdx
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x140007417
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
je 0x140007462
xor ecx, ecx
lea rax, [rsp + 0x50]
mov qword [rsp + 0x40], rcx
xor r9d, r9d
mov qword [rsp + 0x38], rax
xor r8d, r8d
mov qword [rsp + 0x30], rcx
mov rdx, rbx
mov dword [rsp + 0x28], 0xf003f
mov dword [rsp + 0x20], ecx
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x14000748d
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
jne 0x14000748d
lea rax, [rsp + 0x58]
mov dword [rsp + 0x28], 4
mov r9d, 4
mov qword [rsp + 0x20], rax
mov r8, rdi
mov rdx, rbx
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegSetKeyValueW]
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.14000ba00
mov rbx, qword [rsp + 0x80]
add rsp, 0x70
pop rdi
ret
Function at 0x140007960
Capabilities:
Query or enumerate registry value

Disassembly:
mov rax, rsp
push rdi
sub rsp, 0x2b0
mov qword [rsp + 0x68], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbp
mov qword [rax + 0x20], rsi
mov rax, qword [0x140046088]
xor rax, rsp
mov qword [rsp + 0x2a0], rax
mov rsi, rcx
xor ebp, ebp
mov qword [rsp + 0x58], rbp
mov qword [rsp + 0x50], rcx
mov qword [rsp + 0x48], rbp
mov qword [rsp + 0x40], rbp
mov dword [rsp + 0x38], ebp
mov dword [rsp + 0x30], 0x80000000
mov dword [rsp + 0x28], ebp
mov dword [rsp + 0x20], 0x80000000
mov r9d, 0xcf0000
lea r8, [0x140048e90]
lea rdx, [0x140048dc0]
lea ecx, [rbp + 8]
call qword [sym.imp.USER32.dll_CreateWindowExW]
mov rdi, rax
test rax, rax
je 0x140007b7b
mov ecx, 0x430
call fcn.14000c004
mov rbx, rax
mov qword [rsp + 0x60], rax
xor edx, edx
mov r8d, 0x430
mov rcx, rax
call fcn.14000f120
mov qword [rbx + 0x408], rbp
lea rax, [0x140048bb0]
mov qword [rbx], rax
mov word [rbx + 8], bp
mov word [rbx + 0x208], bp
mov qword [rbx + 0x414], rbp
movabs rax, 0x3ff0000000000000
mov qword [rbx + 0x420], rax
mov dword [rbx + 0x428], ebp
mov qword [0x140048ba0], rbx
mov rdx, rsi
call fcn.140006760
mov qword [rsp + 0x88], 7
mov qword [rsp + 0x80], rbp
mov word [rsp + 0x70], bp
xor edx, edx
mov r8d, 0x208
lea rcx, [rsp + 0x90]
call fcn.14000f120
lea r8, str.Acer
mov edx, 0x104
lea rcx, [rsp + 0x90]
call fcn.140005a20
mov qword [rsp + 0x30], rbp
mov qword [rsp + 0x28], rbp
mov qword [rsp + 0x20], rbp
mov r9d, 0xffff
lea r8, str.Manufacturer_Name
lea rdx, str.SOFTWAREOEMQuick_Access
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegGetValueW]
test eax, eax
jne 0x140007b14
lea r9, [rsp + 0x70]
lea r8, str.Manufacturer_Name
lea rdx, str.SOFTWAREOEMQuick_Access
call fcn.140008bb0
test eax, eax
jne 0x140007b14
lea r8, [rsp + 0x70]
cmp qword [rsp + 0x88], 8
cmovae r8, qword [rsp + 0x70]
mov edx, 0x104
lea rcx, [rsp + 0x90]
call fcn.140005a20
mov ecx, 0x210
call fcn.14000c004
mov rbx, rax
mov qword [rsp + 0x60], rax
xor edx, edx
mov r8d, 0x210
mov rcx, rax
call fcn.14000f120
mov qword [rbx], rdi
lea rcx, [rbx + 8]
lea r8, [rsp + 0x90]
mov edx, 0x104
call fcn.140005a20
mov qword [0x140048b98], rbx
mov r8, qword [rsp + 0x88]
cmp r8, 8
jb 0x140007b76
inc r8
mov rdx, qword [rsp + 0x70]
lea rcx, [rsp + 0x70]
call fcn.1400074b0
mov eax, 1
mov rcx, qword [rsp + 0x2a0]
xor rcx, rsp
call fcn.14000ba00
lea r11, [rsp + 0x2b0]
mov rbx, qword [r11 + 0x18]
mov rbp, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
Function at 0x140007d90
Capabilities:
Query or enumerate registry value

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
mov qword [r11 + 0x10], rsi
push rdi
sub rsp, 0x60
mov rax, qword [0x140046088]
xor rax, rsp
mov qword [rsp + 0x50], rax
xor esi, esi
mov dword [rsp + 0x44], 4
lea rax, [r11 - 0x24]
mov dword [rsp + 0x40], esi
mov qword [r11 - 0x38], rax
lea r8, str.AudioInvert
lea rax, [r11 - 0x28]
mov dword [rsp + 0x48], esi
mov qword [r11 - 0x40], rax
lea r9d, [rsi + 0x10]
lea rdx, str.SOFTWAREOEMQuick_Access
mov qword [r11 - 0x48], rsi
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegGetValueW]
test eax, eax
je 0x140007e26
xor r9d, r9d
lea r8, str.AudioInvert
lea rdx, str.SOFTWAREOEMQuick_Access
call fcn.1400073c0
test eax, eax
jne 0x140007e31
mov r8d, dword [rsp + 0x44]
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0x40]
call fcn.14000e280
cmp dword [rsp + 0x40], esi
jbe 0x140007e31
mov dil, 1
jmp 0x140007e34
xor dil, dil
mov qword [rsp + 0x30], rsi
lea r8, str.AudioInvert
mov qword [rsp + 0x28], rsi
lea rdx, str.SOFTWAREOEMMetadataQuick_Access_Features
mov r9d, 0xffff
mov qword [rsp + 0x20], rsi
mov rcx, 0xffffffff80000002
mov bl, 1
call qword [sym.imp.ADVAPI32.dll_RegGetValueW]
test eax, eax
jne 0x140007ef2
lea rax, [rsp + 0x44]
mov dword [rsp + 0x48], esi
mov qword [rsp + 0x30], rax
lea r8, str.AudioInvert
lea rax, [rsp + 0x40]
mov dword [rsp + 0x44], 4
mov qword [rsp + 0x28], rax
lea rdx, str.SOFTWAREOEMMetadataQuick_Access_Features
mov r9d, 0x10
mov qword [rsp + 0x20], rsi
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegGetValueW]
test eax, eax
je 0x140007ee6
xor r9d, r9d
lea r8, str.AudioInvert
lea rdx, str.SOFTWAREOEMMetadataQuick_Access_Features
call fcn.1400073c0
test eax, eax
jne 0x140007ef0
mov r8d, dword [rsp + 0x44]
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0x40]
call fcn.14000e280
cmp dword [rsp + 0x40], esi
jbe 0x140007ef0
mov bl, 1
jmp 0x140007ef2
xor bl, bl
test dil, dil
je 0x140007efd
mov al, 1
test bl, bl
jne 0x140007f01
movzx eax, sil
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.14000ba00
mov rbx, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
add rsp, 0x60
pop rdi
ret
Function at 0x1400085e0
Capabilities:
Create process on windows

Disassembly:
push rbx
sub rsp, 0x670
mov rax, qword [0x140046088]
xor rax, rsp
mov qword [rsp + 0x660], rax
mov ebx, ecx
xor edx, edx
lea rcx, [rsp + 0x240]
mov r8d, 0x208
call fcn.14000f120
xor edx, edx
lea rcx, [rsp + 0x450]
mov r8d, 0x208
call fcn.14000f120
xor edx, edx
mov dword [rsp + 0x30], 0x30
mov r8d, 0x204
lea rcx, [rsp + 0x34]
call fcn.14000f120
mov r8d, 0x104
lea rdx, [rsp + 0x240]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea rcx, [rsp + 0x240]
call qword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea r8, [rsp + 0x240]
lea rdx, str._spluginseSIMeSIMMsg.exe
lea rcx, [rsp + 0x450]
call fcn.1400011f0
test ebx, ebx
je 0x1400086a1
sub ebx, 1
je 0x140008698
cmp ebx, 1
jne 0x1400086da
lea rdx, str._nobutton
jmp 0x1400086a8
lea rdx, str._insert
jmp 0x1400086a8
lea rdx, str._remove
lea rcx, [rsp + 0x30]
call fcn.1400011f0
lea r9, [rsp + 0x30]
mov dword [rsp + 0x28], 1
lea r8, [rsp + 0x450]
mov qword [rsp + 0x20], 0
xor edx, edx
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_ShellExecuteW]
mov rcx, qword [rsp + 0x660]
xor rcx, rsp
call fcn.14000ba00
add rsp, 0x670
pop rbx
ret
Function at 0x140008ac0
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x60
mov rax, qword [0x140046088]
xor rax, rsp
mov qword [rsp + 0x58], rax
mov rdi, r8
lea rax, [rsp + 0x50]
xor r8d, r8d
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
mov rcx, 0xffffffff80000002
mov rbx, rdx
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x140008b12
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
je 0x140008b5d
xor ecx, ecx
lea rax, [rsp + 0x50]
mov qword [rsp + 0x40], rcx
xor r9d, r9d
mov qword [rsp + 0x38], rax
xor r8d, r8d
mov qword [rsp + 0x30], rcx
mov rdx, rbx
mov dword [rsp + 0x28], 0xf003f
mov dword [rsp + 0x20], ecx
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x140008b8a
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
jne 0x140008b8a
lea rax, [0x14003f2c4]
mov dword [rsp + 0x28], 2
mov r9d, 1
mov qword [rsp + 0x20], rax
mov r8, rdi
mov rdx, rbx
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegSetKeyValueW]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.14000ba00
mov rbx, qword [rsp + 0x70]
add rsp, 0x60
pop rdi
ret
Function at 0x140008bb0
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x50
mov rax, qword [0x140046088]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov ecx, 0x100
mov rbp, rdx
mov eax, 2
mov r13, 0xffffffffffffffff
mul rcx
mov r12, r9
mov r15, r8
mov r14d, 0x200
cmovo rax, r13
mov rcx, rax
call fcn.14000c2b0
mov rsi, rax
mov dword [rsp + 0x40], r14d
lea rax, [rsp + 0x40]
xor ebx, ebx
mov qword [rsp + 0x30], rax
lea r9d, [r13 + 3]
mov qword [rsp + 0x28], rsi
mov r8, r15
mov rdx, rbp
mov qword [rsp + 0x20], rbx
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegGetValueW]
test eax, eax
jne 0x140008c3f
mov edi, ebx
jmp 0x140008c85
mov r8, r15
mov rdx, rbp
call fcn.140008ac0
mov edi, eax
test eax, eax
jne 0x140008c7d
lea rax, [rsp + 0x40]
mov r8, r15
mov qword [rsp + 0x30], rax
lea r9d, [rdi + 2]
mov qword [rsp + 0x28], rsi
mov rdx, rbp
mov rcx, 0xffffffff80000002
mov qword [rsp + 0x20], rbx
call qword [sym.imp.ADVAPI32.dll_RegGetValueW]
mov edi, eax
test edi, edi
jne 0x140008d84
cmp dword [rsp + 0x40], r14d
jne 0x140008d3b
mov rcx, rsi
call fcn.14000c040
add r14d, r14d
mov eax, 2
mov ecx, r14d
shr rcx, 1
mul rcx
cmovo rax, r13
mov rcx, rax
call fcn.14000c2b0
mov rsi, rax
mov dword [rsp + 0x40], r14d
lea rax, [rsp + 0x40]
mov r9d, 2
mov qword [rsp + 0x30], rax
mov r8, r15
mov qword [rsp + 0x28], rsi
mov rdx, rbp
mov rcx, 0xffffffff80000002
mov qword [rsp + 0x20], rbx
call qword [sym.imp.ADVAPI32.dll_RegGetValueW]
test eax, eax
jne 0x140008cf2
mov edi, ebx
jmp 0x140008d30
mov r8, r15
mov rdx, rbp
call fcn.140008ac0
mov edi, eax
test eax, eax
jne 0x140008d30
lea rax, [rsp + 0x40]
mov r8, r15
mov qword [rsp + 0x30], rax
lea r9d, [rdi + 2]
mov qword [rsp + 0x28], rsi
mov rdx, rbp
mov rcx, 0xffffffff80000002
mov qword [rsp + 0x20], rbx
call qword [sym.imp.ADVAPI32.dll_RegGetValueW]
mov edi, eax
cmp dword [rsp + 0x40], r14d
je 0x140008c90
test r12, r12
jne 0x140008d5c
lea ecx, [r12 + 0x20]
call fcn.14000c004
mov r12, rax
mov qword [rax + 0x18], 7
mov qword [rax + 0x10], rbx
mov word [rax], bx
cmp word [rsi], bx
je 0x140008d6e
mov rbx, r13
inc rbx
cmp word [rsi + rbx*2], 0
jne 0x140008d64
mov r8, rbx
mov rdx, rsi
mov rcx, r12
call fcn.140008db0
mov rcx, rsi
call fcn.14000c040
mov eax, edi
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.14000ba00
mov rbx, qword [rsp + 0x90]
add rsp, 0x50
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x1400094d0
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x670
mov rax, qword [0x140046088]
xor rax, rsp
mov qword [rsp + 0x660], rax
mov rdi, rdx
mov rsi, rcx
mov rcx, rdi
lea rdx, [0x14003f2cc]
call fcn.14000e788
test rax, rax
je 0x140009662
lea rdx, [0x14003f2cc]
mov qword [rsp + 0x690], rbx
mov rcx, rdi
call qword [sym.imp.SHLWAPI.dll_StrCSpnW]
xor edx, edx
lea rcx, [rsp + 0x450]
mov r8d, 0x208
mov ebx, eax
call fcn.14000f120
xor edx, edx
lea rcx, [rsp + 0x30]
mov r8d, 0x208
call fcn.14000f120
xor edx, edx
lea rcx, [rsp + 0x240]
mov r8d, 0x208
call fcn.14000f120
mov r9d, ebx
lea rcx, [rsp + 0x450]
mov r8, rdi
mov edx, 0x104
call fcn.140015be4
inc rbx
lea rcx, [rsp + 0x30]
or r9, 0xffffffffffffffff
mov edx, 0x104
lea r8, [rdi + rbx*2]
call fcn.140015be4
lea rdx, [0x14003f2cc]
lea rcx, [rsp + 0x30]
call qword [sym.imp.SHLWAPI.dll_StrCSpnW]
mov ebx, eax
lea r8, [rsp + 0x32]
or r9, 0xffffffffffffffff
lea rcx, [rsp + 0x240]
mov edx, 0x104
lea r8, [r8 + rbx*2]
call fcn.140015be4
mov r9d, ebx
lea r8, [rsp + 0x30]
mov edx, 0x104
lea rcx, [rsp + 0x30]
call fcn.140015be4
mov ecx, 0x208
call fcn.14000c2b0
mov r8d, 0x104
lea rcx, [rsp + 0x30]
mov rdx, rax
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
lea rax, [rsp + 0x240]
mov edx, 0x104
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x450]
lea r8, [0x14003f2d0]
mov qword [rsp + 0x20], rbx
mov rcx, rdi
call fcn.140005a20
mov edx, 2
mov rcx, rbx
call fcn.14000c040
lea rdx, [0x14003f2cc]
mov rcx, rdi
call fcn.14000e788
mov rbx, qword [rsp + 0x690]
test rax, rax
je 0x140009662
mov rdx, rdi
mov rcx, rsi
call fcn.1400094d0
mov rcx, qword [rsp + 0x660]
xor rcx, rsp
call fcn.14000ba00
mov rsi, qword [rsp + 0x698]
add rsp, 0x670
pop rdi
ret

Function at 0x140009690
Capabilities:
Check if file exists
Get common file path
Get program files directory

Disassembly:
push rbx
sub rsp, 0x460
mov rax, qword [0x140046088]
xor rax, rsp
mov qword [rsp + 0x450], rax
lea rdx, str.Help_Key_Launch_Path
mov rbx, rcx
call fcn.14000a160
test eax, eax
jne 0x14000976b
xor edx, edx
lea rcx, [rsp + 0x30]
mov r8d, 0x208
call fcn.14000f120
xor edx, edx
lea rcx, [rsp + 0x240]
mov r8d, 0x208
call fcn.14000f120
xor r9d, r9d
lea rdx, [rsp + 0x240]
xor ecx, ecx
lea r8d, [r9 + 0x2a]
call qword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
js 0x140009753
lea rax, [rbx + 8]
mov edx, 0x104
lea r9, [rsp + 0x240]
mov qword [rsp + 0x20], rax
lea r8, str._s_sCare_CenterCareCenter.exe
lea rcx, [rsp + 0x30]
call fcn.140005a20
lea rcx, [rsp + 0x30]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmp eax, 1
jne 0x14000974f
mov rdx, qword [rbx]
call fcn.140009310
lea rdx, [rsp + 0x30]
call fcn.14000a0c0
jmp 0x14000976b
test eax, eax
jne 0x14000976b
lea rdx, str.AcerIncorporated.AcerCareCenter_48frkmn4z8aw4_AcerCareCenter.Package
call fcn.14000a290
lea rdx, str.AcerIncorporated.AcerCareCenterS_48frkmn4z8aw4_AcerCareCenter.LightMode
call fcn.14000a290
mov rcx, qword [rsp + 0x450]
xor rcx, rsp
call fcn.14000ba00
add rsp, 0x460
pop rbx
ret
Function at 0x140009790
Capabilities:
Check if file exists
Get common file path
Get program files directory

Disassembly:
push rbx
sub rsp, 0x460
mov rax, qword [0x140046088]
xor rax, rsp
mov qword [rsp + 0x450], rax
lea rdx, str.P_Key_Launch_Path
mov rbx, rcx
call fcn.14000a160
test eax, eax
jne 0x14000986b
xor edx, edx
lea rcx, [rsp + 0x30]
mov r8d, 0x208
call fcn.14000f120
xor edx, edx
lea rcx, [rsp + 0x240]
mov r8d, 0x208
call fcn.14000f120
xor r9d, r9d
lea rdx, [rsp + 0x240]
xor ecx, ecx
lea r8d, [r9 + 0x2a]
call qword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
js 0x140009853
lea rax, [rbx + 8]
mov edx, 0x104
lea r9, [rsp + 0x240]
mov qword [rsp + 0x20], rax
lea r8, str._s_sControlCenterControlCenter.exe
lea rcx, [rsp + 0x30]
call fcn.140005a20
lea rcx, [rsp + 0x30]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmp eax, 1
jne 0x14000984f
mov rdx, qword [rbx]
call fcn.140009310
lea rdx, [rsp + 0x30]
call fcn.14000a0c0
jmp 0x14000986b
test eax, eax
jne 0x14000986b
lea rdx, str.AcerIncorporated.AcerControlCenter_48frkmn4z8aw4_AcerControlCenter.Package
call fcn.14000a290
lea rdx, str.AcerIncorporated.4703949AD09F_48frkmn4z8aw4_AcerControlCenter.LightMode
call fcn.14000a290
mov rcx, qword [rsp + 0x450]
xor rcx, rsp
call fcn.14000ba00
add rsp, 0x460
pop rbx
ret
Function at 0x140009c20
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x280
mov rax, qword [0x140046088]
xor rax, rsp
mov qword [rsp + 0x270], rax
xor edx, edx
lea rcx, [rsp + 0x60]
mov r8d, 0x208
call fcn.14000f120
xor edi, edi
mov dword [rsp + 0x48], 4
lea rax, [rsp + 0x48]
mov dword [rsp + 0x4c], edi
mov qword [rsp + 0x30], rax
lea r8, str.Remind
lea rax, [rsp + 0x4c]
mov dword [rsp + 0x40], edi
mov qword [rsp + 0x28], rax
lea r9d, [rdi + 0x10]
lea rdx, str.SOFTWAREOEMQuick_AccessPowerButton
mov qword [rsp + 0x20], rdi
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegGetValueW]
test eax, eax
je 0x140009ccd
xor r9d, r9d
lea r8, str.Remind
lea rdx, str.SOFTWAREOEMQuick_AccessPowerButton
call fcn.1400073c0
test eax, eax
jne 0x140009ccd
mov r8d, dword [rsp + 0x48]
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x4c]
call fcn.14000e280
mov r8d, dword [rsp + 0x4c]
lea rdx, str.DoPowerButton:_dwRemindValue___d
lea rcx, [rsp + 0x60]
call fcn.1400011f0
call fcn.140009e30
cmp dword [rsp + 0x4c], 1
mov rbx, rax
jne 0x140009de5
mov ecx, 0x10
mov dword [rsp + 0x48], edi
call fcn.14000c004
xor ecx, ecx
lea rdx, [rsp + 0x40]
mov qword [rax], rcx
mov qword [rax + 8], rcx
mov qword [rsp + 0x40], rax
call qword [sym.imp.POWRPROF.dll_PowerGetActiveScheme]
test eax, eax
jne 0x140009d64
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_GetSystemPowerStatus]
test eax, eax
je 0x140009d64
mov rdx, qword [rsp + 0x40]
lea rax, [rsp + 0x48]
xor ecx, ecx
mov qword [rsp + 0x20], rax
cmp byte [rsp + 0x50], 1
lea r9, [0x14003dbc8]
lea r8, [0x14003dbd8]
jne 0x140009d5e
call qword [sym.imp.POWRPROF.dll_PowerReadACValueIndex]
jmp 0x140009d64
call qword [sym.imp.POWRPROF.dll_PowerReadDCValueIndex]
mov edx, dword [rsp + 0x48]
test edx, edx
je 0x140009e07
test rbx, rbx
je 0x140009e02
sub edx, 1
je 0x140009dcf
sub edx, 1
je 0x140009db9
sub edx, 1
je 0x140009da3
cmp edx, 1
jne 0x140009e07
xor r9d, r9d
xor r8d, r8d
mov edx, 0x8005
mov rcx, rbx
call qword [sym.imp.USER32.dll_PostMessageW]
jmp 0x140009e07
xor r9d, r9d
xor r8d, r8d
mov edx, 0x8004
mov rcx, rbx
call qword [sym.imp.USER32.dll_PostMessageW]
jmp 0x140009e07
xor r9d, r9d
xor r8d, r8d
mov edx, 0x8003
mov rcx, rbx
call qword [sym.imp.USER32.dll_PostMessageW]
jmp 0x140009e07
xor r9d, r9d
xor r8d, r8d
mov edx, 0x8002
mov rcx, rbx
call qword [sym.imp.USER32.dll_PostMessageW]
jmp 0x140009e07
test rbx, rbx
je 0x140009e00
xor r9d, r9d
xor r8d, r8d
mov edx, 0x8001
mov rcx, rbx
call qword [sym.imp.USER32.dll_PostMessageW]
jmp 0x140009e07
xor edx, edx
call fcn.140009f80
mov rcx, qword [rsp + 0x270]
xor rcx, rsp
call fcn.14000ba00
mov rbx, qword [rsp + 0x290]
add rsp, 0x280
pop rdi
ret
Function at 0x140009e30
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rbx
push rsi
sub rsp, 0x470
mov rax, qword [0x140046088]
xor rax, rsp
mov qword [rsp + 0x460], rax
xor edx, edx
lea rcx, [rsp + 0x250]
mov r8d, 0x208
call fcn.14000f120
lea rax, [rsp + 0x30]
mov dword [rsp + 0x38], 0x208
mov esi, 1
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
mov qword [rsp + 0x30], 0
xor r8d, r8d
mov dword [rsp + 0x3c], esi
lea rdx, str.SOFTWAREOEMQuick_Access
mov rcx, 0xffffffff80000002
xor bl, bl
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x140009efd
mov rcx, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x3c]
lea rax, [rsp + 0x250]
xor r8d, r8d
lea rdx, str.Manufacturer_Name
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov rcx, qword [rsp + 0x30]
test eax, eax
movzx ebx, bl
cmove ebx, esi
test rcx, rcx
je 0x140009efd
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rsp + 0x30], 0
xor edx, edx
lea rcx, [rsp + 0x40]
mov r8d, 0x208
call fcn.14000f120
lea rcx, [rsp + 0x40]
test bl, bl
je 0x140009f35
lea r9, str.Power_Button
lea r8, [rsp + 0x250]
lea rdx, str._s__s
call fcn.1400011f0
jmp 0x140009f48
lea r8, str.Power_Button
lea rdx, str.Acer__s
call fcn.1400011f0
lea rdx, [rsp + 0x40]
xor ecx, ecx
call qword [sym.imp.USER32.dll_FindWindowW]
mov rcx, qword [rsp + 0x460]
xor rcx, rsp
call fcn.14000ba00
mov rbx, qword [rsp + 0x480]
add rsp, 0x470
pop rsi
ret

Function at 0x140009f80
Capabilities:
Create process on windows

Disassembly:
push rbx
sub rsp, 0x880
mov rax, qword [0x140046088]
xor rax, rsp
mov qword [rsp + 0x870], rax
mov ebx, edx
lea rcx, [rsp + 0x450]
xor edx, edx
mov r8d, 0x208
call fcn.14000f120
xor edx, edx
lea rcx, [rsp + 0x30]
mov r8d, 0x208
call fcn.14000f120
xor edx, edx
lea rcx, [rsp + 0x240]
mov r8d, 0x208
call fcn.14000f120
xor edx, edx
lea rcx, [rsp + 0x660]
mov r8d, 0x208
call fcn.14000f120
mov r8d, 0x104
lea rdx, [rsp + 0x240]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea rcx, [rsp + 0x240]
call qword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea r8, [rsp + 0x240]
lea rdx, str._sePowerButton_NB.exe
lea rcx, [rsp + 0x30]
call fcn.1400011f0
test ebx, ebx
jne 0x14000a03e
xor eax, eax
mov dword [rsp + 0x28], 1
xor r9d, r9d
jmp 0x14000a084
mov r8d, ebx
lea rdx, [0x14003f8a8]
lea rcx, [rsp + 0x450]
call fcn.1400011f0
lea r9, [rsp + 0x450]
lea r8, [rsp + 0x30]
lea rdx, str.DoNoFindPowerButtonWindow:_ShellExecute___s__s
lea rcx, [rsp + 0x660]
call fcn.1400011f0
xor eax, eax
lea r9, [rsp + 0x450]
mov dword [rsp + 0x28], eax
lea r8, [rsp + 0x30]
mov qword [rsp + 0x20], rax
lea rdx, str.open
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_ShellExecuteW]
mov rcx, qword [rsp + 0x870]
xor rcx, rsp
call fcn.14000ba00
add rsp, 0x880
pop rbx
ret
Function at 0x14000a0c0
Capabilities:
Create process on windows

Disassembly:
push rbx
sub rsp, 0x250
mov rax, qword [0x140046088]
xor rax, rsp
mov qword [rsp + 0x240], rax
mov rbx, rdx
lea rcx, [rsp + 0x30]
xor edx, edx
mov r8d, 0x208
call fcn.14000f120
mov rdx, rbx
lea rcx, [rsp + 0x30]
call fcn.1400011f0
lea rcx, [rsp + 0x30]
call qword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
test eax, eax
je 0x14000a142
lea rcx, [rsp + 0x30]
call qword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
test eax, eax
je 0x14000a142
lea rax, [rsp + 0x30]
mov dword [rsp + 0x28], 1
xor r9d, r9d
mov qword [rsp + 0x20], rax
mov r8, rbx
lea rdx, str.open
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_ShellExecuteW]
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.14000ba00
add rsp, 0x250
pop rbx
ret

Function at 0x14000a160
Capabilities:
Check if file exists
Query or enumerate registry value

Disassembly:
mov rax, rsp
push rdi
sub rsp, 0x290
mov qword [rsp + 0x40], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rsi
mov rax, qword [0x140046088]
xor rax, rsp
mov qword [rsp + 0x280], rax
mov rdi, rdx
mov rsi, rcx
mov qword [rsp + 0x60], 7
xor ebx, ebx
mov qword [rsp + 0x58], rbx
mov word [rsp + 0x48], bx
xor edx, edx
mov r8d, 0x208
lea rcx, [rsp + 0x70]
call fcn.14000f120
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], rbx
mov r9d, 0xffff
mov r8, rdi
lea rdx, str.SOFTWAREOEMMetadataQuick_Access_Features
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegGetValueW]
test eax, eax
jne 0x14000a248
lea r9, [rsp + 0x48]
mov r8, rdi
lea rdx, str.SOFTWAREOEMMetadataQuick_Access_Features
call fcn.140008bb0
test eax, eax
jne 0x14000a248
lea r8, [rsp + 0x48]
cmp qword [rsp + 0x60], 8
cmovae r8, qword [rsp + 0x48]
mov edx, 0x104
lea rcx, [rsp + 0x70]
call fcn.140005a20
lea rcx, [rsp + 0x70]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov ebx, eax
cmp eax, 1
jne 0x14000a248
mov rdx, qword [rsi]
call fcn.140009310
lea rdx, [rsp + 0x70]
call fcn.14000a0c0
nop
mov r8, qword [rsp + 0x60]
cmp r8, 8
jb 0x14000a265
inc r8
mov rdx, qword [rsp + 0x48]
lea rcx, [rsp + 0x48]
call fcn.1400074b0
mov eax, ebx
mov rcx, qword [rsp + 0x280]
xor rcx, rsp
call fcn.14000ba00
lea r11, [rsp + 0x290]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret