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

Disassembly:
mov qword [rsp + 0x20], rbx
push rsi
push rdi
push r14
sub rsp, 0x50
mov rax, qword [0x140048010]
xor rax, rsp
mov qword [rsp + 0x40], rax
xor ebx, ebx
mov dword [rsp + 0x38], 4
mov qword [rsp + 0x30], rbx
mov r14, r8
mov rsi, rdx
mov rdi, rcx
test r8, r8
je 0x14000cdff
lea rax, [rsp + 0x30]
mov rdx, rcx
mov rcx, 0xffffffff80000002
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x14000cd8a
call qword [sym.imp.KERNEL32.dll_GetLastError]
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x14000cdef
mov rcx, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
mov qword [rsp + 0x28], rax
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], r14
mov rdx, rsi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov r8, rsi
mov rdx, rdi
test eax, eax
je 0x14000cddb
xor r9d, r9d
lea rcx, str.Error_GetRegKeyDwordValue___already_have_the_key_but_open_fail:__s__s__Error_Code__d___n
call fcn.140009ed0
cmp eax, 2
jne 0x14000cdef
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x14000cdef
mov r9d, dword [r14]
lea rcx, str.GetRegKeyDwordValue___Read_the_value:__s__s:__x_n
call fcn.140009ed0
mov ebx, 1
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x14000cdff
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.1400109a0
mov rbx, qword [rsp + 0x88]
add rsp, 0x50
pop r14
pop rdi
pop rsi
ret

Function at 0x14000ce20
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x150
mov rax, qword [0x140048010]
xor rax, rsp
mov qword [rsp + 0x140], rax
mov rdi, rcx
mov dword [rsp + 0x38], 0x80
lea rax, [rsp + 0x30]
mov dword [rsp + 0x3c], 1
xor ebx, ebx
mov qword [rsp + 0x20], rax
mov rcx, 0xffffffff80000002
mov qword [rsp + 0x30], rbx
mov r9d, 0x20019
lea rdx, str.SOFTWAREMicrosoftWindows_NTCurrentVersion
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x14000ce8c
call qword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x14000cee8
mov rcx, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x3c]
lea rax, [rsp + 0x40]
xor r8d, r8d
lea rdx, str.CurrentBuildNumber
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x14000cec6
call qword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x14000cee8
lea rdx, [rsp + 0x40]
lea rcx, str.SystemTransformationCreateReg___already_have_than_read_the_dwCurrentSetting_read_value:__s_n
call fcn.140009ed0
lea rcx, [rsp + 0x40]
call fcn.14001985c
mov dword [rdi], eax
mov ebx, 1
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x14000cef8
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.1400109a0
mov rbx, qword [rsp + 0x168]
add rsp, 0x150
pop rdi
ret
Function at 0x14000cf20
Capabilities:
Check if file exists
Write file on windows

Disassembly:
push rbx
sub rsp, 0x60
mov rax, qword [0x140048010]
xor rax, rsp
mov qword [rsp + 0x50], rax
xor ebx, ebx
lea rcx, [rsp + 0x40]
mov qword [rsp + 0x48], rbx
mov qword [rsp + 0x40], rbx
call fcn.14000d530
test eax, eax
je 0x14000cf86
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0x40]
call fcn.14000d0c0
mov rdx, qword [rsp + 0x48]
lea rcx, str.StartUserProcess_ID__x___n
mov qword [0x14004abb8], rdx
call fcn.140009ed0
call qword [sym.imp.ADVAPI32.dll_RevertToSelf]
test eax, eax
jne 0x14000cfb0
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x14000cf96
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.1400109a0
add rsp, 0x60
pop rbx
ret
mov rax, qword [0x14004aba8]
dec rax
cmp rax, 0xfffffffffffffffd
ja 0x14000d040
mov edx, 0xff
mov dword [rsp + 0x48], ebx
lea rcx, str.StartPipeCommunication
call fcn.1400195fc
mov rcx, qword [0x14004aba8]
lea r9, [rsp + 0x48]
lea rdx, str.StartPipeCommunication
mov qword [rsp + 0x20], rbx
lea r8d, [rax + rax]
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x14000cf86
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 6
je 0x14000d01d
cmp eax, 0x6d
je 0x14000d01d
cmp eax, 0xe8
je 0x14000d01d
cmp eax, 0xe9
jne 0x14000cfb0
mov rcx, qword [0x14004aba8]
test rcx, rcx
je 0x14000d02f
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [0x14004aba8], rbx
jmp 0x14000cfb0
mov edx, 0x2710
lea rcx, str..pipecom.Lenovo.LPlatSvc.SvcToEm.Pipe
call qword [sym.imp.KERNEL32.dll_WaitNamedPipeW]
test eax, eax
je 0x14000d090
mov qword [rsp + 0x30], rbx
lea rcx, str..pipecom.Lenovo.LPlatSvc.SvcToEm.Pipe
mov dword [rsp + 0x28], 0x80
xor r9d, r9d
xor r8d, r8d
mov dword [rsp + 0x20], 3
mov edx, 0x40000000
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov qword [0x14004aba8], rax
cmp rax, 0xffffffffffffffff
jne 0x14000d09f
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
je 0x14000cf86
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, 0x64
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x14000cfb0
Function at 0x14000d0c0
Capabilities:
Create process on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
lea rbp, [rsp - 0xc30]
sub rsp, 0xd30
mov rax, qword [0x140048010]
xor rax, rsp
mov qword [rbp + 0xc20], rax
mov rbx, rdx
mov rdi, rcx
xor edx, edx
lea rcx, [rbp + 0x400]
mov r8d, 0x208
call fcn.1400143e0
xor eax, eax
lea rcx, [rbp + 0x200]
xor edx, edx
mov dword [rsp + 0x60], eax
mov r8d, 0x200
mov word [rsp + 0x64], ax
call fcn.1400143e0
xor edx, edx
lea rcx, [rbp + 0x820]
mov r8d, 0x200
call fcn.1400143e0
mov r8d, 0x104
lea rdx, [rbp + 0x400]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x14000d1c5
mov qword [rsp + 0x40], 0x100
lea rax, [rbp + 0x820]
mov qword [rsp + 0x38], rax
lea r9, [rbp + 0x200]
lea rax, [rbp + 0xa20]
mov qword [rsp + 0x30], 0x100
mov qword [rsp + 0x28], rax
lea rdx, [rsp + 0x60]
mov r8d, 3
mov qword [rsp + 0x20], 0x100
lea rcx, [rbp + 0x400]
call fcn.14001958c
lea rax, [rbp + 0x200]
mov edx, 0x104
lea r9, [rsp + 0x60]
mov qword [rsp + 0x20], rax
lea r8, str._s_s
lea rcx, [rbp - 0x10]
call fcn.1400010a0
lea rax, [0x1400400e8]
mov edx, 0x104
lea r9, [rbp - 0x10]
mov qword [rsp + 0x20], rax
lea r8, str._s_s
lea rcx, [rbp - 0x10]
call fcn.1400010a0
lea rax, [0x14003f2f0]
mov edx, 0x104
lea r9, [rbp - 0x10]
mov qword [rsp + 0x20], rax
lea r8, str.__s___s
lea rcx, [rbp + 0x610]
call fcn.1400010a0
lea rdx, [rbp - 0x10]
lea rcx, str.Module_name:__s__n
call fcn.140009ed0
lea rdx, [rbp + 0x610]
lea rcx, str.Arguments__s_n
call fcn.140009ed0
mov rdi, qword [rdi]
lea rcx, [rsp + 0x60]
xor esi, esi
mov rdx, rdi
mov qword [rsp + 0x60], rsi
lea r8d, [rsi + 1]
call qword [sym.imp.USERENV.dll_CreateEnvironmentBlock]
xor edx, edx
lea r8d, [rsi + 0x68]
lea rcx, [rbp - 0x80]
call fcn.1400143e0
mov eax, dword [0x14004ab5c]
mov dword [rbp - 0x80], 0x68
mov word [rbp - 0x40], si
cmp eax, 2
jb 0x14000d297
cmp eax, 3
jbe 0x14000d28c
add eax, 0xfffffffb
cmp eax, 1
ja 0x14000d297
lea rax, str.winsta0default
jmp 0x14000d293
lea rax, str.winsta0winLogon
mov qword [rbp - 0x70], rax
lea rax, [rsp + 0x68]
xor r9d, r9d
mov qword [rsp + 0x50], rax
lea r8, [rbp + 0x610]
lea rax, [rbp - 0x80]
xor edx, edx
mov qword [rsp + 0x48], rax
mov rcx, rdi
mov qword [rsp + 0x40], rsi
mov qword [rsp + 0x38], rsi
mov dword [rsp + 0x30], 0x400
mov dword [rsp + 0x28], esi
mov qword [rsp + 0x20], rsi
call qword [sym.imp.ADVAPI32.dll_CreateProcessAsUserW]
test eax, eax
jne 0x14000d2e6
call qword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x14000d304
mov r8, qword [rsp + 0x70]
lea rcx, str.RunAsUser_Success_CreateProcessAsUser_PID:__x_TID:__x__n
mov rdx, qword [rsp + 0x68]
call fcn.140009ed0
mov rax, qword [rsp + 0x68]
mov qword [rbx], rax
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbp + 0xc20]
xor rcx, rsp
call fcn.1400109a0
mov rbx, qword [rsp + 0xd60]
add rsp, 0xd30
pop rdi
pop rsi
pop rbp
ret
Function at 0x14000d340
Capabilities:
Check if file exists
Terminate process
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x50
mov rax, qword [0x140048010]
xor rax, rsp
mov qword [rsp + 0x48], rax
xor edi, edi
lea rcx, str..pipecom.Lenovo.LPlatSvc.EmToSvc.Pipe
mov qword [rsp + 0x30], rdi
xor r9d, r9d
mov dword [rsp + 0x28], 0x80
xor r8d, r8d
mov edx, 0x40000000
mov dword [rsp + 0x20], 3
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x14000d3e0
lea edx, [rdi + 0x11]
mov dword [rsp + 0x40], edi
lea rcx, [0x14003f950]
call fcn.1400195fc
lea r9, [rsp + 0x40]
mov qword [rsp + 0x20], rdi
lea rdx, [0x14003f950]
mov rcx, rbx
lea r8d, [rax + rax]
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x14000d3cc
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop word [rax + rax]
mov rax, qword [0x14004aba8]
dec rax
cmp rax, 0xfffffffffffffffd
ja 0x14000d470
mov edx, 0xff
mov dword [rsp + 0x40], edi
lea rcx, [0x14003f950]
call fcn.1400195fc
mov rcx, qword [0x14004aba8]
lea r9, [rsp + 0x40]
lea rdx, [0x14003f950]
mov qword [rsp + 0x20], rdi
lea r8d, [rax + rax]
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x14000d4e1
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 6
je 0x14000d451
cmp eax, 0x6d
je 0x14000d451
cmp eax, 0xe8
je 0x14000d451
cmp eax, 0xe9
jne 0x14000d3e0
mov rcx, qword [0x14004aba8]
test rcx, rcx
je 0x14000d463
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [0x14004aba8], rdi
jmp 0x14000d3e0
mov edx, 0x2710
lea rcx, str..pipecom.Lenovo.LPlatSvc.SvcToEm.Pipe
call qword [sym.imp.KERNEL32.dll_WaitNamedPipeW]
test eax, eax
je 0x14000d4c0
mov qword [rsp + 0x30], rdi
lea rcx, str..pipecom.Lenovo.LPlatSvc.SvcToEm.Pipe
mov dword [rsp + 0x28], 0x80
xor r9d, r9d
xor r8d, r8d
mov dword [rsp + 0x20], 3
mov edx, 0x40000000
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov qword [0x14004aba8], rax
cmp rax, 0xffffffffffffffff
jne 0x14000d4cb
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
je 0x14000d4e8
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, 0x64
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x14000d3e0
mov ebx, 1
jmp 0x14000d4fc
mov rcx, qword [0x14004abb8]
mov edx, 0x80004004
mov ebx, edi
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov rcx, qword [0x14004abb8]
test rcx, rcx
je 0x14000d515
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [0x14004abb8], rdi
mov eax, ebx
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1400109a0
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rdi
ret
Function at 0x14000d940
Capabilities:
Create service

Disassembly:
push rbx
sub rsp, 0x290
mov rax, qword [0x140048010]
xor rax, rsp
mov qword [rsp + 0x280], rax
mov r8d, 0x104
lea rdx, [rsp + 0x70]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x14000da16
xor edx, edx
xor ecx, ecx
mov r8d, 0xf003f
call qword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov rbx, rax
test rax, rax
je 0x14000da16
xor eax, eax
lea r8, [0x14003f598]
mov qword [rsp + 0x60], rax
lea rdx, [0x14003f598]
mov qword [rsp + 0x58], rax
mov r9d, 0xf01ff
mov qword [rsp + 0x50], rax
mov rcx, rbx
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x70]
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x30], 1
mov dword [rsp + 0x28], 3
mov dword [rsp + 0x20], 0x10
call qword [sym.imp.ADVAPI32.dll_CreateServiceW]
test rax, rax
jne 0x14000da02
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
jmp 0x14000da1c
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
jmp 0x14000da1c
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [rsp + 0x280]
xor rcx, rsp
call fcn.1400109a0
add rsp, 0x290
pop rbx
ret
Function at 0x14000de90
Capabilities:
Create thread

Disassembly:
sub rsp, 0x58
mov rax, qword [0x140048010]
xor rax, rsp
mov qword [rsp + 0x48], rax
xor r9d, r9d
xor r8d, r8d
xor ecx, ecx
lea edx, [r9 + 1]
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov rcx, qword [0x14004abc0]
lea r8, [0x14000df70]
mov qword [0x14004abf0], rax
xor r9d, r9d
mov qword [rsp + 0x40], rax
xor edx, edx
mov qword [rsp + 0x38], rcx
lea rax, [rsp + 0x30]
xor ecx, ecx
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x30], ecx
mov dword [rsp + 0x20], ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
nop dword [rax]
nop word [rax + rax]
xor r8d, r8d
lea rdx, [rsp + 0x38]
mov r9d, 0x7d0
lea ecx, [r8 + 2]
call qword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
test eax, eax
jne 0x14000df00
lea rdx, str.EventMoniter
xor ecx, ecx
call qword [sym.imp.USER32.dll_FindWindowW]
xor r9d, r9d
mov edx, 0x112
mov rcx, rax
mov r8d, 0xf060
call qword [sym.imp.USER32.dll_SendMessageW]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_ResetEvent]
xor eax, eax
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1400109a0
add rsp, 0x58
ret
Function at 0x14000dfa0
Capabilities:
Check mutex on windows

Disassembly:
mov rax, rsp
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x80
mov qword [rax - 0x50], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rsi
mov rax, qword [0x140048010]
xor rax, rsp
mov qword [rsp + 0x70], rax
mov r14, rdx
mov r15d, ecx
xor r12d, r12d
mov edi, r12d
test rdx, rdx
je 0x14000e1a7
mov esi, r12d
lea r13, vtable.ITS_IFC::CDriverInterface.0
cmp esi, r15d
jge 0x14000e1a3
test edi, edi
jne 0x14000e1a3
movsxd rax, esi
mov rbx, qword [r14 + rax*8]
lea r8d, [rdi + 1]
lea rdx, [0x140040478]
mov rcx, rbx
call fcn.140019888
test eax, eax
je 0x14000e03b
lea r8d, [rdi + 1]
lea rdx, [0x14004047c]
mov rcx, rbx
call fcn.140019888
test eax, eax
jne 0x14000e19c
mov r8d, 8
lea rdx, [0x140040480]
lea rcx, [rbx + 2]
call fcn.1400198b4
test eax, eax
jne 0x14000e095
mov dword [rsp + 0x60], r12d
lea r8, [rsp + 0x60]
lea rdx, [0x140040028]
lea rcx, str.SYSTEMCurrentControlSetServicesLPlatSvcParametersITS
call fcn.14000cd10
test eax, eax
je 0x14000e084
cmp dword [rsp + 0x60], 0
jne 0x14000e084
xor eax, eax
jmp 0x14000e1a9
call fcn.14000e850
mov edi, 1
inc esi
jmp 0x14000dff1
mov r8d, 8
lea rdx, str.Throttle
lea rcx, [rbx + 2]
call fcn.1400198b4
test eax, eax
jne 0x14000e19c
lea r8, str.com.lenovo.idleblocker.idletask.mutex
xor edx, edx
mov ecx, 0x100000
call qword [sym.imp.KERNEL32.dll_OpenMutexW]
mov rbx, rax
test rax, rax
je 0x14000e197
call fcn.14000e650
test al, al
je 0x14000e18e
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x30], 0xffffffffffffffff
mov qword [rsp + 0x28], r13
lea r8, [rsp + 0x20]
mov edx, 0x1fa001
lea rcx, [rsp + 0x28]
call fcn.140010860
mov rcx, qword [rsp + 0x30]
cmp rcx, 0xffffffffffffffff
je 0x14000e120
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop dword [rax + rax]
mov edx, 0xea60
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x14000e144
cmp eax, 0x102
jne 0x14000e156
call fcn.14000e650
test al, al
je 0x14000e156
jmp 0x14000e120
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rsp + 0x50], r12
mov qword [rsp + 0x48], 0xffffffffffffffff
mov qword [rsp + 0x40], r13
lea r8, [rsp + 0x24]
mov edx, 0xfa001
lea rcx, [rsp + 0x40]
call fcn.140010860
mov rcx, qword [rsp + 0x48]
cmp rcx, 0xffffffffffffffff
je 0x14000e18e
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov edi, 1
inc esi
jmp 0x14000dff1
mov eax, edi
jmp 0x14000e1a9
xor eax, eax
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.1400109a0
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
Function at 0x14000e200
Capabilities:
Create thread

Disassembly:
push rbx
sub rsp, 0x50
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0xffffffffffffffff
lea rax, vtable.ITS_IFC::CDriverInterface.0
mov qword [rsp + 0x28], rax
lea r8, [rsp + 0x68]
xor edx, edx
lea rcx, [rsp + 0x28]
call fcn.140010860
movzx ebx, al
mov rcx, qword [rsp + 0x30]
cmp rcx, 0xffffffffffffffff
je 0x14000e252
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test bl, bl
je 0x14000e26d
mov eax, dword [rsp + 0x68]
and eax, 0x40000001
cmp eax, 0x40000001
jne 0x14000e26d
mov eax, 1
jmp 0x14000e2b3
mov dword [rsp + 0x68], 0
lea rcx, [rsp + 0x68]
call fcn.14000ce20
cmp dword [rsp + 0x68], 0x23f0
jb 0x14000e290
call fcn.140010690
jmp 0x14000e2aa
call fcn.14000ef50
test al, al
je 0x14000e2aa
xor r8d, r8d
xor edx, edx
lea rcx, [0x14000e1e0]
call fcn.140019ba0
mov eax, 1
jmp 0x14000e2b3
add rsp, 0x50
pop rbx
ret

Function at 0x14000e650
Capabilities:
Connect pipe
Read pipe
Write pipe

Disassembly:
sub rsp, 0xa8
mov rax, qword [0x140048010]
xor rax, rsp
mov qword [rsp + 0x90], rax
lea rax, [rsp + 0x40]
mov dword [rsp + 0x30], 0x3e8
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x50]
mov r8d, 4
mov dword [rsp + 0x20], 0x40
lea rdx, [rsp + 0x44]
mov dword [rsp + 0x44], 0x10601
lea rcx, str..pipecom.lenovo.smartsense.servicecom
mov dword [rsp + 0x40], 0
call qword [sym.imp.KERNEL32.dll_CallNamedPipeW]
test eax, eax
je 0x14000e6e0
mov eax, dword [rsp + 0x40]
dec eax
cmp eax, 3
ja 0x14000e6e0
cmp dword [rsp + 0x50], 1
jne 0x14000e6e0
xor al, al
mov rcx, qword [rsp + 0x90]
xor rcx, rsp
call fcn.1400109a0
add rsp, 0xa8
ret
mov al, 1
mov rcx, qword [rsp + 0x90]
xor rcx, rsp
call fcn.1400109a0
add rsp, 0xa8
ret
Function at 0x14001a3f8
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x14001a21c
Function at 0x1400013e0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rdi
sub rsp, 0x20
xor ebp, ebp
mov rbx, rcx
lea r8d, [rbp + 0xa]
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rdi, rax
test rax, rax
je 0x14000148a
mov rdx, rax
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
je 0x14000148a
mov rcx, rax
mov qword [rsp + 0x30], rsi
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rdx, rdi
mov rcx, rbx
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebx, eax
mov eax, 2
shr ebx, 1
lea ecx, [rbx + 1]
mul rcx
mov rcx, 0xffffffffffffffff
cmovo rax, rcx
mov rcx, rax
call fcn.140001928
add rbx, rbx
mov rdx, rsi
mov r8, rbx
mov rcx, rax
mov rdi, rax
call fcn.140002860
mov rsi, qword [rsp + 0x30]
mov rax, rdi
mov word [rbx + rdi], bp
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
mov rbx, qword [rsp + 0x38]
mov rax, rbp
mov rbp, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x140007f00
Capabilities:
Enumerate processes
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x180
mov rax, qword [0x14000d008]
xor rax, rsp
mov qword [rsp + 0x170], rax
lea r14, [0x14000d6d0]
lea r13, [0x14000d7f0]
nop
mov rdx, qword [r14]
lea rcx, [rsp + 0x20]
call fcn.140008c90
nop
mov dword [rsp + 0x40], 0x130
xor edx, edx
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rsi, rax
mov r15, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x20]
cmp rax, 0xffffffffffffffff
je 0x140008043
lea rdx, [rsp + 0x40]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Process32First]
lea rax, [rsp + 0x6c]
mov rbx, 0xffffffffffffffff
inc rbx
cmp byte [rax + rbx], 0
jne 0x140007f92
lea rcx, [rsp + 0x20]
cmp r15, 0x10
setae r12b
cmovae rcx, rbp
mov rdi, qword [rsp + 0x30]
mov r8, rdi
cmp rbx, rdi
cmovb r8, rbx
lea rdx, [rsp + 0x6c]
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x140007fdf
cmp rdi, rbx
jb 0x140007fdf
ja 0x140007fdf
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov ebx, dword [rsp + 0x48]
jmp 0x140008045
lea rdx, [rsp + 0x40]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_Process32Next]
test eax, eax
je 0x140008043
lea rax, [rsp + 0x6c]
mov rbx, 0xffffffffffffffff
nop dword [rax]
inc rbx
cmp byte [rax + rbx], 0
jne 0x140008000
lea rcx, [rsp + 0x20]
test r12b, r12b
cmovne rcx, rbp
mov r8, rdi
cmp rbx, rdi
cmovb r8, rbx
lea rdx, [rsp + 0x6c]
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x140007fdf
cmp rdi, rbx
jb 0x140007fdf
ja 0x140007fdf
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov ebx, dword [rsp + 0x48]
jmp 0x140008045
xor ebx, ebx
cmp r15, 0x10
jb 0x140008078
lea rdx, [r15 + 1]
mov rax, rbp
cmp rdx, 0x1000
jb 0x140008070
add rdx, 0x27
mov rbp, qword [rbp - 8]
sub rax, rbp
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400080ba
mov rcx, rbp
call fcn.140008e24
test ebx, ebx
jne 0x1400080c1
add r14, 8
cmp r14, r13
jne 0x140007f40
mov rcx, qword [rsp + 0x170]
xor rcx, rsp
call fcn.140008dc0
lea r11, [rsp + 0x180]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
Function at 0x140008a30
Capabilities:
Encode data using xor
Hide graphical window
Set console window title

Disassembly:
sub rsp, 0x78
movaps xmmword [rsp + 0x60], xmm6
mov rax, qword [0x14000d008]
xor rax, rsp
mov qword [rsp + 0x50], rax
call qword [sym.imp.KERNEL32.dll_GetConsoleWindow]
xor edx, edx
mov rcx, rax
call qword [sym.imp.USER32.dll_ShowWindow]
lea rdx, [rsp + 0x20]
call fcn.140008bf0
mov r9, rax
cmp byte [rax + 0xe], 0
je 0x140008bbc
xor ecx, ecx
cmp dword [0x14000d018], 2
jl 0x140008b84
movdqa xmm4, xmmword [0x14000aab0]
mov eax, 4
movd xmm5, eax
mov eax, 0x1f
movd xmm6, eax
movdqa xmm2, xmmword [0x14000aa60]
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm5
movdqa xmm0, xmm1
psrld xmm0, xmm6
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x14000aa80]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x14000aa90]
packuswb xmm2, xmm2
paddb xmm2, xmmword [str.6666666666666666]
movd xmm0, dword [r9]
xorps xmm2, xmm0
movd dword [r9], xmm2
movdqa xmm3, xmmword [0x14000aa70]
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm5
movdqa xmm0, xmm1
psrld xmm0, xmm6
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x14000aa80]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x14000aa90]
packuswb xmm2, xmm2
paddb xmm2, xmmword [str.6666666666666666]
movd xmm0, dword [r9 + 4]
xorps xmm2, xmm0
movd dword [r9 + 4], xmm2
mov ecx, 8
movsxd r8, ecx
add r8, r9
nop word [rax + rax]
mov eax, 0x4d4873ed
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x35
movzx eax, cl
sub al, dl
add al, 0x36
xor byte [r8], al
inc ecx
lea r8, [r8 + 1]
cmp ecx, 0xf
jl 0x140008b90
mov rdx, r9
lea rcx, [rsp + 0x30]
call fcn.140008c90
nop
lea rcx, [rsp + 0x30]
call fcn.140008c20
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetConsoleTitleA]
call fcn.1400086f0
int3

Function at 0x140009754
Capabilities:
Parse pe header

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