joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400025ef
Capabilities:
Parse pe header

Disassembly:
jmp 0x140057004
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r14
push r15
sub rsp, 0x20
mov esi, r8d
mov ebx, edx
mov r14d, ecx
test r8d, r8d
jne 0x140056c6c
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140056c6c
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140056c6c
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140056c6c
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140056c6c
cmp dword [rcx + 0x84], 0xe
jbe 0x140056c6c
cmp dword [rcx + 0xf8], esi
je 0x140056c6c
mov ecx, r14d
call fcn.140056ecc
mov ecx, 2
call fcn.140003684
nop
cmp byte [0x1400cf9d9], 0
jne 0x140056d36
mov r15d, 1
mov eax, r15d
xchg dword [0x1400cf9c8], eax
test ebx, ebx
jne 0x140056cdf
mov rdi, qword [0x1400b7010]
mov edx, edi
and edx, 0x3f
lea ecx, [rbx + 0x40]
sub ecx, edx
xor eax, eax
ror rax, cl
xor rax, rdi
mov rcx, qword [0x1400cf9d0]
cmp rcx, rax
je 0x140056cd6
xor rdi, rcx
mov ecx, edx
ror rdi, cl
mov rcx, rdi
call qword [section..00cfg]
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call rdi
lea rcx, [0x1400cfdd0]
jmp 0x140056ceb
cmp ebx, r15d
jne 0x140056cf1
lea rcx, [0x1400cfdf0]
call fcn.1400039ea
nop
test ebx, ebx
jne 0x140056d08
lea rdx, [0x140087e30]
lea rcx, [0x140087af0]
call fcn.1400030cb
lea rdx, [0x140088050]
lea rcx, [0x140087f40]
call fcn.1400030cb
movzx eax, byte [0x1400cf9d9]
test esi, esi
cmove eax, r15d
mov byte [0x1400cf9d9], al
jmp 0x140056d36
mov ecx, 2
call fcn.140002469
test esi, esi
jne 0x140056d4d
mov ecx, r14d
call fcn.140056dc4
int3
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x40]
mov r14, qword [rsp + 0x48]
add rsp, 0x20
pop r15
ret
xor r8d, r8d
xor edx, edx
jmp 0x140056bfc
Function at 0x1400026a8
Capabilities:
Query or enumerate registry value

Disassembly:
jmp 0x1400167f0
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
push rsi
push rdi
push r14
sub rsp, 0x40
mov rsi, rcx
mov dword [rsp + 0x78], 4
xor edi, edi
lea rcx, str.Enter_IntelligentCoolingGetRegKeyDwordValue___n
mov qword [rsp + 0x30], rdi
mov r14, r8
mov rbx, rdx
call fcn.1400045d9
lea rax, [rsp + 0x30]
mov r9d, 0xf003f
xor r8d, r8d
mov qword [rsp + 0x20], rax
mov rdx, rsi
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov ebp, eax
test eax, eax
je 0x140016873
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, ebp
lea rcx, str.Error_IntelligentCoolingGetRegKeyDwordValue_RegCreateKeyEx_error___d__d__n
mov r8d, eax
call fcn.1400045d9
mov ecx, 0xe1100002
call qword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x1400168d7
mov rcx, qword [rsp + 0x30]
lea rax, [rsp + 0x78]
mov qword [rsp + 0x28], rax
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], r14
mov rdx, rbx
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov r8, rbx
mov rdx, rsi
mov ebp, eax
test eax, eax
je 0x1400168c3
xor r9d, r9d
lea rcx, str.Error_IntelligentCoolingGetRegKeyDwordValue___already_have_the_key_but_open_fail:__s__s__Error_Code__d___n
call fcn.1400045d9
cmp ebp, 2
jne 0x1400168d7
mov ecx, 0xe1100003
call qword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x1400168d7
mov r9d, dword [r14]
lea rcx, str.IntelligentCoolingGetRegKeyDwordValue___Read_the_value:__s__s:__x_n
call fcn.1400045d9
mov edi, 1
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x1400168e7
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rcx, str.Exit_IntelligentCoolingGetRegKeyDwordValue___n
call fcn.1400045d9
mov rbx, qword [rsp + 0x60]
mov eax, edi
mov rbp, qword [rsp + 0x68]
add rsp, 0x40
pop r14
pop rdi
pop rsi
ret
Function at 0x14000271b
Capabilities:
Delete registry key

Disassembly:
jmp 0x1400166b0
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x30
mov rbp, rcx
xor esi, esi
lea rcx, str.Enter_IntelligentCoolingDelRegKey___n
mov qword [rsp + 0x50], rsi
mov rdi, rdx
call fcn.1400045d9
lea rax, [rsp + 0x50]
mov r9d, 0xf003f
xor r8d, r8d
mov qword [rsp + 0x20], rax
mov rdx, rbp
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov ebx, eax
test eax, eax
je 0x14001672e
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, ebx
lea rcx, str.Error_IntelligentCoolingDelRegKey_RegCreateKeyEx_error__s___d__d__n
mov r9d, eax
mov rdx, rbp
call fcn.1400045d9
mov ecx, 0xe1100002
call qword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x14001677d
mov rcx, qword [rsp + 0x50]
mov rdx, rdi
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
mov ebx, eax
test eax, eax
je 0x140016769
mov r9d, eax
lea rcx, str.Error_IntelligentCoolingDelRegKey____s_s__Error_Code__d___n
mov r8, rdi
mov rdx, rbp
call fcn.1400045d9
cmp ebx, 2
jne 0x14001677d
mov ecx, 0xe1100003
call qword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x14001677d
mov rdx, rdi
lea rcx, str.IntelligentCoolingDelRegKey___Delete_the_key:__s__n
call fcn.1400045d9
mov esi, 1
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x14001678d
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rcx, str.Exit_IntelligentCoolingGetRegKeyDwordValue___n
call fcn.1400045d9
mov rbx, qword [rsp + 0x40]
mov eax, esi
mov rsi, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret

Function at 0x140002856
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 0x1400028b0
Capabilities:
Self delete

Disassembly:
jmp 0x1400149a0
push rbx
sub rsp, 0x420
mov rax, qword [0x1400b7010]
xor rax, rsp
mov qword [rsp + 0x410], rax
lea rcx, str.ENTER_DeleteServiceFiles__
call fcn.1400045d9
call fcn.140001c49
xor ebx, ebx
lea rcx, [rsp + 0x50]
mov qword [rsp + 0x50], rbx
call qword [sym.imp.KERNEL32.dll_Wow64DisableWow64FsRedirection]
mov rcx, qword [rsp + 0x50]
test eax, eax
cmove rcx, rbx
mov qword [rsp + 0x50], rcx
lea rcx, [rsp + 0xe0]
call fcn.140001078
test al, al
je 0x140014ae9
lea rcx, [rsp + 0xe0]
call fcn.140001712
test al, al
je 0x140014ae9
lea rcx, [rsp + 0x300]
call fcn.140002f90
test al, al
je 0x140014ae9
xor edx, edx
lea r8d, [rbx + 0x68]
lea rcx, [rsp + 0x70]
call fcn.140002adb
lea rax, [rsp + 0xe0]
mov dword [rsp + 0x70], 0x68
lea r9, [rsp + 0x300]
mov qword [rsp + 0x20], rax
lea r8, str.__s__setupapi_InstallHinfSection_DefaultUninstall_128__s
mov edx, 0x104
lea rcx, [rsp + 0x1f0]
call fcn.140002725
test eax, eax
js 0x140014ae9
lea rdx, [rsp + 0x1f0]
lea rcx, str.DeleteServiceFiles___CreateProceess:__s
call fcn.1400045d9
lea rax, [rsp + 0x58]
xor r9d, r9d
mov qword [rsp + 0x48], rax
lea rdx, [rsp + 0x1f0]
lea rax, [rsp + 0x70]
xor r8d, r8d
mov qword [rsp + 0x40], rax
lea rcx, [rsp + 0x300]
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], 0x200
mov dword [rsp + 0x20], ebx
call qword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
jne 0x140014ae9
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.CreateProcess_Failed__d
call fcn.1400045d9
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x140014af9
call qword [sym.imp.KERNEL32.dll_Wow64RevertWow64FsRedirection]
lea rcx, str.EXIT_DeleteServiceFiles__
call fcn.1400045d9
mov rcx, qword [rsp + 0x410]
xor rcx, rsp
call fcn.140003e09
add rsp, 0x420
pop rbx
ret

Function at 0x140002973
Capabilities:
Parse pe header

Disassembly:
jmp 0x1400231c0
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rcx, rax
test rax, rax
jne 0x1400231d8
xor al, al
jmp 0x14002320f
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x1400231d4
movsxd rax, dword [rcx + 0x3c]
add rax, rcx
cmp dword [rax], 0x4550
jne 0x1400231d4
mov ecx, 0x20b
cmp word [rax + 0x18], cx
jne 0x1400231d4
cmp dword [rax + 0x84], 0xe
jbe 0x1400231d4
cmp dword [rax + 0xf8], 0
setne al
add rsp, 0x28
ret

Function at 0x140002afe
Capabilities:
Parse pe header

Disassembly:
jmp 0x140056f84
xor edx, edx
xor ecx, ecx
lea r8d, [rdx + 1]
jmp 0x140056bfc
Function at 0x140002b0d
Capabilities:
Persist via windows service
Query or enumerate registry value
Set registry value

Disassembly:
jmp 0x140020ad0
push rbx
sub rsp, 0x50
xor ebx, ebx
mov dword [rsp + 0x70], 4
lea rcx, str.Enter_SystemTransformationCreateCurrentStatusToReg___n
mov qword [rsp + 0x78], rbx
mov dword [rsp + 0x68], ebx
mov dword [rsp + 0x60], ebx
call fcn.1400045d9
lea rax, [rsp + 0x68]
xor r9d, r9d
mov qword [rsp + 0x40], rax
lea rdx, str.SYSTEMCurrentControlSetServicesIBMPMSVCTransformCurrentStatus
lea rax, [rsp + 0x78]
xor r8d, r8d
mov qword [rsp + 0x38], rax
mov rcx, 0xffffffff80000002
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], 0xf003f
mov dword [rsp + 0x20], ebx
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
je 0x140020b4d
lea rcx, str.Error_SystemTransformationCreateCurrentStatusToReg_RegCreateKeyEx_error____n
call fcn.1400045d9
jmp 0x140020bd6
mov rdx, qword [rsp + 0x78]
mov ecx, dword [rsp + 0x60]
call fcn.140003b25
cmp dword [rsp + 0x68], 2
lea rdx, [0x14009f60c]
mov rcx, qword [rsp + 0x78]
jne 0x140020b97
lea rax, [rsp + 0x70]
xor r9d, r9d
mov qword [rsp + 0x28], rax
xor r8d, r8d
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea rcx, str.SystemTransformationCreateCurrentStatusToReg___already_have_than_read_the_dwMultiMode_read_value:__x_n
jmp 0x140020bbf
mov eax, dword [rsp + 0x70]
mov r9d, 4
mov dword [rsp + 0x28], eax
xor r8d, r8d
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
lea rcx, str.SystemTransformationCreateCurrentStatusToReg___Crelate_and_set_dwMultiMode_read_value:__x_n
mov edx, dword [rsp + 0x60]
call fcn.1400045d9
mov ecx, dword [rsp + 0x60]
call fcn.140002e0f
mov ebx, 1
mov rcx, qword [rsp + 0x78]
test rcx, rcx
je 0x140020be6
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rcx, str.Exit_SystemTransformationCreateCurrentStatusToReg___n
call fcn.1400045d9
mov eax, ebx
add rsp, 0x50
pop rbx
ret
Function at 0x140002b99
Capabilities:
Write file on windows

Disassembly:
jmp 0x14001dfa0
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, [0x14009a4e0]
mov byte [rsp + 0x68], bl
mov esi, ebx
mov edi, ebx
call fcn.140003030
mov rbp, rax
test rax, rax
je 0x14001e03d
mov rdx, rax
lea rcx, str.SetSystemTransformation_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 0x14001e03d
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 0x14001e03d
lea edi, [rbx + 1]
jmp 0x14001e045
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
test rsi, rsi
je 0x14001e05b
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 0x140002c1b
Capabilities:
Terminate process

Disassembly:
jmp 0x14005c8c0
sub rsp, 0x28
mov ecx, 0x17
call sub.KERNEL32.dll_IsProcessorFeaturePresent
test eax, eax
je 0x14005c8d9
mov ecx, 5
int 0x29
mov r8d, 1
mov edx, 0xc0000417
lea ecx, [r8 + 1]
call fcn.1400019ba
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
mov edx, 0xc0000417
add rsp, 0x28
jmp qword [sym.imp.KERNEL32.dll_TerminateProcess]
Function at 0x140002c57
Capabilities:
Query or enumerate registry value

Disassembly:
jmp 0x1400189c0
push rbx
sub rsp, 0x150
mov rax, qword [0x1400b7010]
xor rax, rsp
mov qword [rsp + 0x140], rax
lea rax, [rsp + 0x38]
mov dword [rsp + 0x34], 0xff
xor ebx, ebx
mov qword [rsp + 0x20], rax
mov r9d, 0xf003f
mov qword [rsp + 0x38], rbx
xor r8d, r8d
lea rdx, str.HARDWAREDESCRIPTIONSystemBIOS
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x140018a84
mov rcx, qword [rsp + 0x38]
lea rax, [rsp + 0x34]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x30]
lea rax, [rsp + 0x40]
mov dword [rsp + 0x30], 1
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, str.BIOSVersion
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x140018a84
lea rdx, [0x14009c398]
lea rcx, [rsp + 0x40]
call fcn.140002ed2
test rax, rax
je 0x140018a7e
call fcn.140003689
call fcn.140004278
mov dword [0x1400b8754], 1
jmp 0x140018b31
mov dword [0x1400b8754], ebx
lea rax, [rsp + 0x38]
mov r9d, 0xf003f
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, str.HARDWAREDESCRIPTIONSystem
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x140018b36
mov rcx, qword [rsp + 0x38]
lea rax, [rsp + 0x34]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x30]
lea rax, [rsp + 0x40]
mov dword [rsp + 0x30], 7
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, str.SystemBiosVersion
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x140018b36
cmp byte [rsp + 0x40], bl
je 0x140018b20
lea rbx, [rsp + 0x43]
cmp byte [rbx - 1], 0x47
jne 0x140018b17
cmp byte [rbx], 0x44
jne 0x140018b17
call fcn.140003689
call fcn.140004278
mov dword [0x1400b8754], 1
inc rbx
cmp byte [rbx - 3], 0
jne 0x140018af8
lea rdx, [rsp + 0x40]
lea rcx, str.GetSystemBiosVersion__:_SyatemBiosVersion_:__s__n
call fcn.1400045d9
mov ebx, 1
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x140018b46
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.140003e09
add rsp, 0x150
pop rbx
ret
Function at 0x140002e0f
Capabilities:
Set registry value

Disassembly:
jmp 0x1400212b0
mov dword [rsp + 8], ecx
sub rsp, 0x38
lea rcx, str.ENTER_UpdateDolbyMultimodeRegistry___n
call fcn.1400045d9
lea rax, [rsp + 0x48]
mov qword [rsp + 0x48], 0
mov r9d, 0xf003f
mov qword [rsp + 0x20], rax
xor r8d, r8d
lea rdx, str.SOFTWAREDolbyDAX
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x140021345
mov rcx, qword [rsp + 0x48]
lea rax, [rsp + 0x40]
mov dword [rsp + 0x28], 4
lea rdx, str.MultimodeFormFactor
mov r9d, 4
mov qword [rsp + 0x20], rax
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov rcx, qword [rsp + 0x48]
test eax, eax
je 0x14002134c
test rcx, rcx
je 0x140021339
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rcx, str.EXIT_Error_UpdateDolbyMultimodeRegistry___n
call fcn.1400045d9
xor eax, eax
add rsp, 0x38
ret
test rcx, rcx
je 0x140021357
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rcx, str.EXIT_UpdateDolbyMultimodeRegistry___n
call fcn.1400045d9
mov eax, 1
add rsp, 0x38
ret
Function at 0x140002ebe
Capabilities:
Query or enumerate registry value

Disassembly:
jmp 0x1400190f0
mov qword [rsp + 0x18], rdi
push rbp
lea rbp, [rsp - 0x9c0]
sub rsp, 0xac0
mov rax, qword [0x1400b7010]
xor rax, rsp
mov qword [rbp + 0x9b0], rax
lea rdx, str..DEFAULT
mov dword [rsp + 0x40], 0
mov rdi, rcx
call qword [sym.imp.KERNEL32.dll_lstrcpyA]
lea r8, [rbp + 0x390]
lea rdx, str.SOFTWAREMicrosoftWindows_NTCurrentVersionWinlogon
lea rcx, [rbp + 0x170]
call qword [sym.imp.USER32.dll_wsprintfA]
lea rax, [rsp + 0x48]
mov r9d, 0x20019
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, [rbp + 0x170]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x14001917b
xor al, al
jmp 0x140019321
lea rdx, str.AltDefaultDomainName
lea rcx, [rbp + 0x60]
call qword [sym.imp.KERNEL32.dll_lstrcpyA]
mov rcx, qword [rsp + 0x48]
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x50]
lea rax, [rbp + 0x4a0]
mov dword [rsp + 0x40], 0x104
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, [rbp + 0x60]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x140019174
lea rdx, str.AltDefaultUserName
lea rcx, [rbp + 0x60]
call qword [sym.imp.KERNEL32.dll_lstrcpyA]
mov rcx, qword [rsp + 0x48]
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x50]
lea rax, [rbp + 0x280]
mov dword [rsp + 0x40], 0x104
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, [rbp + 0x60]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x140019174
mov rcx, qword [rsp + 0x48]
mov qword [rsp + 0xad8], rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, 1
mov dword [rsp + 0x5c], 0x400
mov ecx, 0x400
call fcn.1400032a6
mov rbx, rax
test rax, rax
je 0x1400192be
lea rax, [rsp + 0x54]
mov dword [rsp + 0x54], 1
mov qword [rsp + 0x30], rax
lea r9, [rsp + 0x5c]
lea rax, [rsp + 0x58]
mov dword [rsp + 0x40], reloc.OLEAUT32.dll_VariantTimeToDosDateTime
mov qword [rsp + 0x28], rax
lea rdx, [rbp + 0x280]
lea rax, [rbp + 0x5b0]
mov dword [rsp + 0x58], 0x400
mov r8, rbx
mov qword [rsp + 0x20], rax
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_LookupAccountNameA]
mov rcx, rbx
test eax, eax
je 0x1400192b9
lea r8, [rsp + 0x40]
mov dword [rsp + 0x40], 0xff
lea rdx, [rsp + 0x60]
call fcn.140003391
mov rcx, rbx
test eax, eax
jne 0x1400192c2
call fcn.1400025b8
xor al, al
jmp 0x140019319
call fcn.1400025b8
lea rax, [rsp + 0x48]
mov r9d, 0x20019
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, [rsp + 0x60]
mov rcx, 0xffffffff80000003
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x1400192fe
lea rcx, [rsp + 0x60]
call fcn.140001b5e
test eax, eax
je 0x1400192be
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rdx, [rsp + 0x60]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_lstrcpyA]
mov al, 1
mov rbx, qword [rsp + 0xad8]
mov rcx, qword [rbp + 0x9b0]
xor rcx, rsp
call fcn.140003e09
mov rdi, qword [rsp + 0xae0]
add rsp, 0xac0
pop rbp
ret
Function at 0x140002f90
Capabilities:
Get common file path

Disassembly:
jmp 0x1400145f0
push rbx
sub rsp, 0x150
mov rax, qword [0x1400b7010]
xor rax, rsp
mov qword [rsp + 0x140], rax
mov rbx, rcx
lea rcx, str.ENTER_GetRunDLLPath__
call fcn.1400045d9
xor edx, edx
lea rcx, [rsp + 0x30]
mov r8d, 0x104
call fcn.140002adb
lea rax, [rsp + 0x30]
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], rax
mov edx, 0x8025
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderPathA]
test eax, eax
jns 0x140014651
xor al, al
jmp 0x140014687
lea r9, [rsp + 0x30]
mov edx, 0x104
lea r8, str._s_rundll32.exe
mov rcx, rbx
call fcn.1400016a9
mov rdx, rbx
lea rcx, str.GetRunDLLPath:__s
call fcn.1400045d9
lea rcx, str.EXIT_GetRunDLLPath__
call fcn.1400045d9
mov al, 1
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.140003e09
add rsp, 0x150
pop rbx
ret

Function at 0x140002fc2
Capabilities:
Terminate process

Disassembly:
jmp 0x14002250c
push rbx
sub rsp, 0x20
mov rbx, rcx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
mov edx, 0xc0000409
add rsp, 0x20
pop rbx
jmp qword [sym.imp.KERNEL32.dll_TerminateProcess]
Function at 0x14000300d
Capabilities:
Delete service
Query service status
Stop service

Disassembly:
jmp 0x140016510
push rdi
sub rsp, 0x50
mov rax, qword [0x1400b7010]
xor rax, rsp
mov qword [rsp + 0x40], rax
xor edx, edx
xor ecx, ecx
mov r8d, 0xf003f
call qword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
mov rdi, rax
test rax, rax
je 0x1400165dc
mov r8d, 0xf01ff
mov qword [rsp + 0x60], rbx
lea rdx, [0x140088268]
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_OpenServiceA]
mov rbx, rax
test rax, rax
je 0x1400165ce
lea r8, [rsp + 0x20]
mov edx, 1
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_ControlService]
test eax, eax
je 0x1400165bc
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rdx, [rsp + 0x20]
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
test eax, eax
je 0x1400165bc
cmp dword [rsp + 0x24], 3
jne 0x1400165bc
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rdx, [rsp + 0x20]
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
test eax, eax
jne 0x140016598
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_DeleteService]
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov rbx, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.140003e09
add rsp, 0x50
pop rdi
ret

Function at 0x140003017
Capabilities:
Get common file path
Query or enumerate registry value

Disassembly:
jmp 0x1400187e0
sub rsp, 0x38
mov edx, 0x104
lea rcx, [0x1400b8540]
call qword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
lea rdx, str.LidBeep.ini
lea rcx, [0x1400b8540]
call qword [sym.imp.KERNEL32.dll_lstrcatA]
lea rax, [rsp + 0x50]
mov qword [rsp + 0x50], 0
mov r9d, 0x20019
mov qword [rsp + 0x20], rax
xor r8d, r8d
lea rdx, str.SOFTWAREWow6432NodeLenovoPWRMGRVPath
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x1400188a2
mov rcx, qword [rsp + 0x50]
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x48]
mov qword [rsp + 0x30], rbx
xor r8d, r8d
lea rbx, [0x1400b8650]
mov dword [rsp + 0x40], 0x104
xor edx, edx
mov qword [rsp + 0x20], rbx
mov dword [rsp + 0x48], 1
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x140018892
lea rdx, str.LidBeep.ini
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_lstrcatA]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rbx, qword [rsp + 0x30]
add rsp, 0x38
ret