joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1800102cf
Capabilities:
Terminate process

Disassembly:
cmp rcx, qword [0x180028018]
jne 0x18000ddea
rol rcx, 0x10
test cx, 0xffff
jne 0x18000dde6
repz ret
ror rcx, 0x10
jmp 0x180010228
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rcx, [0x180029450]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov rax, qword [0x180029548]
mov qword [rsp + 0x58], rax
xor r8d, r8d
lea rdx, [rsp + 0x60]
mov rcx, qword [rsp + 0x58]
call sub.KERNEL32.dll_RtlLookupFunctionEntry
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
je 0x1800102ad
mov qword [rsp + 0x38], 0
lea rax, [rsp + 0x48]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea rax, [0x180029450]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x50]
mov r8, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x60]
xor ecx, ecx
call sub.KERNEL32.dll_RtlVirtualUnwind
jmp 0x1800102cf
mov rax, qword [rsp + 0x88]
mov qword [0x180029548], rax
lea rax, [rsp + 0x88]
add rax, 8
mov qword [0x1800294e8], rax
mov rax, qword [0x180029548]
mov qword [0x1800293c0], rax
mov rax, qword [rsp + 0x90]
mov qword [0x1800294d0], rax
mov dword [0x1800293b0], 0xc0000409
mov dword [0x1800293b4], 1
mov rax, qword [0x180028018]
mov qword [rsp + 0x68], rax
mov rax, qword [0x180028020]
mov qword [rsp + 0x70], rax
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov dword [0x180029448], eax
mov ecx, 1
call fcn.18001767c
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [0x180022c98]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x180029448], 0
jne 0x180010356
mov ecx, 1
call fcn.18001767c
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x88
ret
Function at 0x180017684
Capabilities:
Link many functions at runtime

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x50
mov rax, qword [0x180028018]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov ebp, r8d
mov r14, rdx
mov r13, rcx
call fcn.180011824
xor ebx, ebx
cmp qword [0x18002a338], rbx
mov rdi, rax
jne 0x180017797
lea rcx, str.USER32.DLL
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rsi, rax
test rax, rax
je 0x18001786e
lea rdx, str.MessageBoxW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x18001786e
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
lea rdx, str.GetActiveWindow
mov rcx, rsi
mov qword [0x18002a338], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
lea rdx, str.GetLastActivePopup
mov rcx, rsi
mov qword [0x18002a340], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
lea rdx, str.GetUserObjectInformationW
mov rcx, rsi
mov qword [0x18002a348], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
mov r11, rax
mov qword [0x18002a358], rax
test rax, rax
je 0x18001778e
lea rdx, [0x180023e60]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
mov qword [0x18002a350], rax
jmp 0x18001779e
mov rax, qword [0x18002a350]
jmp 0x1800177a5
mov rax, qword [0x18002a350]
mov r11, qword [0x18002a358]
cmp rax, rdi
je 0x18001780c
cmp r11, rdi
je 0x18001780c
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_DecodePointer]
mov rcx, qword [0x18002a358]
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_DecodePointer]
mov r12, rax
test rsi, rsi
je 0x18001780c
test rax, rax
je 0x18001780c
call rsi
test rax, rax
je 0x180017806
lea rcx, [rsp + 0x30]
mov r9d, 0xc
lea r8, [rsp + 0x38]
mov qword [rsp + 0x20], rcx
lea edx, [r9 - 0xb]
mov rcx, rax
call r12
test eax, eax
je 0x180017806
test byte [rsp + 0x40], 1
jne 0x18001780c
bts ebp, 0x15
jmp 0x18001784c
mov rcx, qword [0x18002a340]
cmp rcx, rdi
je 0x18001784c
call qword [sym.imp.KERNEL32.dll_DecodePointer]
test rax, rax
je 0x18001784c
call rax
mov rbx, rax
test rax, rax
je 0x18001784c
mov rcx, qword [0x18002a348]
cmp rcx, rdi
je 0x18001784c
call qword [sym.imp.KERNEL32.dll_DecodePointer]
test rax, rax
je 0x18001784c
mov rcx, rbx
call rax
mov rbx, rax
mov rcx, qword [0x18002a338]
call qword [sym.imp.KERNEL32.dll_DecodePointer]
test rax, rax
je 0x18001786e
mov r9d, ebp
mov r8, r14
mov rdx, r13
mov rcx, rbx
call rax
jmp 0x180017870
xor eax, eax
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.18000ddd0
add rsp, 0x50
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x140003c20
Capabilities:
Get common file path

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x478
lea rbp, [rsp + 0x80]
mov qword [rbp + 0x3f0], 0xfffffffffffffffe
mov qword [rbp + 0x3d0], rcx
mov qword [rbp + 0x3d8], 0
mov qword [rbp + 0x3e0], 2
mov qword [rbp + 0x3e8], 0
mov r8d, 0x200
mov eax, 2
mov qword [rbp + 0x3c8], rax
xor esi, esi
xor edi, edi
xor ebx, ebx
cmp r8, 0x201
jae 0x140003cc0
jmp 0x140003caf
jae 0x140003d8e
cmp r8, 0x201
jae 0x140003cc0
mov r14d, 0x200
lea r15, [rbp - 0x58]
mov r12, r8
jmp 0x140003d26
sub r8, rbx
sub rdi, rbx
cmp rdi, r8
jae 0x140003cfe
mov qword [rsp + 0x20], 2
mov r9d, 2
lea rcx, [rbp + 0x3d8]
mov rdx, rbx
call fcn.140019310
mov rsi, qword [rbp + 0x3d8]
mov rax, qword [rbp + 0x3e0]
mov qword [rbp + 0x3c8], rax
mov eax, 0xffffffff
cmp rsi, rax
mov ebx, 0xffffffff
cmovb rbx, rsi
mov qword [rbp + 0x3e8], rbx
mov rdi, rsi
mov r14, rbx
mov r15, qword [rbp + 0x3c8]
mov r12, rbx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov ecx, r12d
mov rdx, r15
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
mov r13d, eax
test eax, eax
jne 0x140003d4f
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x140003dfa
mov r8d, r13d
cmp r12, r8
jne 0x140003ca0
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x140003e2e
add r12, r12
mov eax, 0xffffffff
cmp r12, rax
cmovae r12, rax
mov r8, r12
cmp r8, 0x201
jb 0x140003caf
jmp 0x140003cc0
cmp r14, r8
jb 0x140003e48
lea rcx, [rbp + 0x3a8]
mov rdx, r15
call fcn.140006210
movups xmm0, xmmword [rbp + 0x3a8]
movups xmm1, xmmword [rbp + 0x3b8]
mov rsi, qword [rbp + 0x3d0]
movups xmmword [rsi + 0x10], xmm1
movups xmmword [rsi], xmm0
mov rdx, qword [rbp + 0x3d8]
test rdx, rdx
je 0x140003de3
mov rcx, qword [rbp + 0x3e0]
add rdx, rdx
mov r8d, 2
call fcn.1400018d0
mov rax, rsi
add rsp, 0x478
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
shl rax, 0x20
or rax, 2
mov rsi, qword [rbp + 0x3d0]
mov qword [rsi + 8], rax
movabs rax, 0x8000000000000000
mov qword [rsi], rax
mov rdx, qword [rbp + 0x3d8]
test rdx, rdx
jne 0x140003dce
jmp 0x140003de3
lea rcx, str.internal_error:_entered_unreachable_code_rustc_f6e511eec7342f59a25f7c0534f1dbea00d01b14library_alloc_src_vecmod.rs
lea r8, str.std_src_syspalwindowsmod.rsstrings_passed_to_WinAPI_cannot_contain_NULs
mov edx, 0x28
call fcn.140019ec0
jmp 0x140003e5d
lea rax, str.std_src_syspalwindowsmod.rsstrings_passed_to_WinAPI_cannot_contain_NULs
mov rcx, r8
mov rdx, r14
mov r8, rax
call fcn.14001a270
ud2
Function at 0x14000a880
Capabilities:
Write file on windows

Disassembly:
push rbp
push rsi
sub rsp, 0xb8
lea rbp, [rsp + 0x80]
mov rsi, rcx
mov rax, qword [rbp + 0x70]
mov qword [rbp - 8], r9
lea rcx, [rbp]
mov qword [rbp], rax
movups xmm0, xmmword [0x14001cf20]
movaps xmmword [rbp + 0x10], xmm0
mov eax, 0xffffffff
cmp r8, rax
cmovb rax, r8
xor r8d, r8d
test r9b, 1
cmove rcx, r8
mov qword [rsp + 0x38], rcx
mov dword [rsp + 0x30], eax
mov qword [rsp + 0x28], rdx
lea rax, [rbp + 0x10]
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x40], 0
mov rcx, rsi
xor edx, edx
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.ntdll.dll_NtWriteFile]
cmp eax, 0x103
jne 0x14000a916
mov rcx, rsi
mov edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [rbp + 0x10]
cmp eax, 0x103
je 0x14000a943
test eax, eax
js 0x14000a922
mov rdx, qword [rbp + 0x18]
xor eax, eax
jmp 0x14000a939
mov ecx, eax
call qword [sym.imp.ntdll.dll_RtlNtStatusToDosError]
mov edx, eax
shl rdx, 0x20
or rdx, 2
mov eax, 1
add rsp, 0xb8
pop rsi
pop rbp
ret
mov dword [rbp + 0x28], 0
mov byte [rbp + 0x2c], 0
lea rax, str.fatal_runtime_error:_I_O_error:_operation_failed_to_complete_synchronously_n
mov qword [rbp - 0x38], rax
mov qword [rbp - 0x30], 1
lea rax, [rbp + 0x30]
mov qword [rbp - 0x28], rax
xorps xmm0, xmm0
movups xmmword [rbp - 0x20], xmm0
lea rcx, [rbp + 0x28]
lea rdx, [rbp - 0x38]
call fcn.140005da0
mov qword [rbp + 8], rax
lea rcx, [rbp + 8]
call fcn.140002360
mov ecx, 7
int 0x29
ud2
Function at 0x140018b98
Capabilities:
Parse pe header

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

Disassembly:
push rbx
push rbp
push r14
sub rsp, 0xd0
mov rax, qword [0x140058100]
xor rax, rsp
mov qword [rsp + 0xc0], rax
mov ebx, edx
mov r14, rcx
mov edx, 1
call fcn.14000a6b0
xor edx, edx
xor ecx, ecx
lea r8d, [rdx + 2]
call qword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov rbp, rax
test rax, rax
je 0x140004ff2
mov r8d, 2
mov qword [rsp + 0xf8], rsi
lea rdx, [0x140059f78]
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov rsi, rax
test rax, rax
je 0x140004fe1
test ebx, ebx
je 0x140004e95
sub ebx, 1
je 0x140004e43
cmp ebx, 1
jne 0x140004fd8
xor ebx, ebx
lea rax, str.LocalSystem
mov qword [rsp + 0x50], rbx
or r9d, 0xffffffff
mov qword [rsp + 0x48], rbx
or r8d, r9d
mov qword [rsp + 0x40], rax
or edx, r9d
lea rax, str.SENS
mov rcx, rsi
mov qword [rsp + 0x38], rax
lea rax, str.ProfSvc_Group
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rbx
call qword [sym.imp.ADVAPI32.dll_ChangeServiceConfigW]
jmp 0x140004fd8
mov qword [rsp + 0x100], rdi
mov r8d, 0x400
lea rdi, [r14 + 0xaa8]
mov ecx, 0x66
mov rdx, rdi
call fcn.1400040b0
lea rbx, [r14 + 0x2a8]
mov r8d, 0x400
mov rdx, rbx
mov ecx, 0x65
call fcn.1400040b0
lea r8, [rsp + 0x60]
mov qword [rsp + 0x60], rbx
mov edx, 1
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_ChangeServiceConfig2W]
xor eax, eax
mov dword [rsp + 0x80], 1
mov qword [rsp + 0x84], rax
lea r8, [rsp + 0x68]
mov qword [rsp + 0x8c], rax
xor ebx, ebx
mov qword [rsp + 0x94], rax
mov rcx, rsi
mov qword [rsp + 0x9c], rax
mov qword [rsp + 0xa4], rax
mov qword [rsp + 0xac], rax
lea edx, [rbx + 8]
mov qword [rsp + 0xb4], rax
mov dword [rsp + 0xbc], eax
lea rax, [0x140039c10]
mov qword [rsp + 0x88], rax
lea rax, [rsp + 0x80]
mov qword [rsp + 0x70], rax
mov dword [rsp + 0x90], ebx
mov dword [rsp + 0x84], 1
mov qword [rsp + 0x98], rbx
mov dword [rsp + 0x68], 1
mov qword [rsp + 0x78], rbx
call qword [sym.imp.ADVAPI32.dll_ChangeServiceConfig2W]
mov qword [rsp + 0x50], rdi
lea rax, str.SENS
mov qword [rsp + 0x48], rbx
lea r8d, [rbx + 2]
mov qword [rsp + 0x40], rbx
or r9d, 0xffffffff
mov qword [rsp + 0x38], rax
or edx, r9d
lea rax, str.ProfSvc_Group
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x28], rax
mov rcx, rsi
mov qword [rsp + 0x20], rbx
call qword [sym.imp.ADVAPI32.dll_ChangeServiceConfigW]
mov rdi, qword [rsp + 0x100]
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov rcx, rbp
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov rsi, qword [rsp + 0xf8]
xor eax, eax
mov rcx, qword [rsp + 0xc0]
xor rcx, rsp
call fcn.140018ad0
add rsp, 0xd0
pop r14
pop rbp
pop rbx
ret
Function at 0x140005860
Capabilities:
Delete registry key

Disassembly:
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rdi, rcx
mov rsi, rdx
mov rcx, qword [rcx + 0x10]
test rcx, rcx
je 0x14000588e
mov r8, rdx
mov rdx, qword [rdi]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
jmp 0x1400088e0
cmp byte [0x14005b240], 0
mov qword [rsp + 0x30], rbx
jne 0x1400058e1
lea rcx, str.Advapi32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1400058d1
lea rdx, str.RegDeleteKeyExW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rbx, rax
mov qword [0x14005b238], rax
mov byte [0x14005b240], 1
jmp 0x1400058e8
mov rbx, qword [0x14005b238]
mov byte [0x14005b240], 1
jmp 0x1400058e8
mov rbx, qword [0x14005b238]
test rbx, rbx
je 0x140005918
mov rcx, rbx
call qword [fcn.14001e460]
mov r8d, dword [rdi + 8]
xor r9d, r9d
mov rcx, qword [rdi]
mov rdx, rsi
mov rax, rbx
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
jmp rax
mov rcx, qword [rdi]
mov rdx, rsi
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
jmp qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x30
cmp qword [rcx], 0
mov rsi, r8
mov rbp, rdx
mov rbx, rcx
je 0x140008957
lea rcx, str.Advapi32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14000896b
lea rdx, str.RegDeleteKeyTransactedW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rdi, rax
test rax, rax
je 0x14000896b
mov rcx, rax
call qword [fcn.14001e460]
mov rcx, qword [rbx]
xor r9d, r9d
mov qword [rsp + 0x28], 0
xor r8d, r8d
mov qword [rsp + 0x20], rcx
mov rdx, rsi
mov rcx, rbp
call rdi
jmp 0x140008970
cmp dword [rcx + 8], 0
je 0x14000896b
mov rdx, rsi
mov rcx, rbp
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
jmp 0x140008970
mov eax, 1
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret

Function at 0x140005a20
Capabilities:
Read file on windows

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r14
sub rsp, 0x50
mov rax, qword [0x140058100]
xor rax, rsp
mov qword [rsp + 0x48], rax
xor r14d, r14d
mov rax, r8
mov esi, edx
mov qword [rsp + 0x30], r14
mov rbp, rcx
mov dword [rsp + 0x28], 6
xor r9d, r9d
mov dword [rsp + 0x40], r14d
lea r8d, [r14 + 1]
mov dword [rsp + 0x20], 3
mov edx, 0x80000000
mov rcx, rax
mov ebx, 0x80004005
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov rdi, rax
dec rax
cmp rax, 0xfffffffffffffffd
ja 0x140005ab3
lea r9, [rsp + 0x40]
mov qword [rsp + 0x20], r14
mov r8d, esi
mov rdx, rbp
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x140005aaa
cmp dword [rsp + 0x40], esi
cmove ebx, r14d
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, ebx
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.140018ad0
add rsp, 0x50
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x1400068c0
Capabilities:
Create service

Disassembly:
push rdi
sub rsp, 0xa90
mov rax, qword [0x140058100]
xor rax, rsp
mov qword [rsp + 0xa80], rax
mov rdi, rcx
call fcn.140006d30
test eax, eax
je 0x1400068f1
mov eax, 1
jmp 0x1400069f8
mov r8d, 0x104
lea rdx, [rsp + 0x72]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x140006aee
cmp eax, 0x104
je 0x140006aee
lea ecx, [rax + 1]
mov r8d, 0x22
mov word [rsp + 0x70], r8w
mov word [rsp + rcx*2 + 0x70], r8w
lea ecx, [rax + 2]
add rcx, rcx
cmp rcx, 0x20c
jae 0x140006b37
mov qword [rsp + 0xaa8], rbx
xor edx, edx
mov qword [rsp + 0xab0], rsi
mov r8d, 0xf003f
xor esi, esi
mov word [rsp + rcx + 0x70], si
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov rbx, rax
test rax, rax
jne 0x140006a11
mov r8d, 0x400
lea rdx, [rsp + 0x280]
mov ecx, 0xd80a
call fcn.1400040b0
test eax, eax
jne 0x1400069cf
lea r8, str.Could_not_open_Service_Manager
mov edx, 0x400
lea rcx, [rsp + 0x280]
call fcn.14001ea10
test eax, eax
je 0x1400069cf
cmp eax, 0xc
je 0x140006b0b
cmp eax, 0x16
je 0x140006b00
cmp eax, 0x22
je 0x140006b00
cmp eax, 0x50
jne 0x140006af5
lea r8, [rdi + 0x68]
xor r9d, r9d
lea rdx, [rsp + 0x280]
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxW]
xor eax, eax
mov rbx, qword [rsp + 0xaa8]
mov rsi, qword [rsp + 0xab0]
mov rcx, qword [rsp + 0xa80]
xor rcx, rsp
call fcn.140018ad0
add rsp, 0xa90
pop rdi
ret
mov qword [rsp + 0x60], rsi
lea rax, str.RPCSS
mov qword [rsp + 0x58], rsi
add rdi, 0x68
mov qword [rsp + 0x50], rax
mov r9d, 0xf01ff
mov qword [rsp + 0x48], rsi
lea rax, [rsp + 0x70]
mov qword [rsp + 0x40], rsi
mov r8, rdi
mov qword [rsp + 0x38], rax
mov rdx, rdi
mov dword [rsp + 0x30], 1
mov rcx, rbx
mov dword [rsp + 0x28], 3
mov dword [rsp + 0x20], 0x10
call qword [sym.imp.ADVAPI32.dll_CreateServiceW]
test rax, rax
jne 0x140006ad2
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov r8d, 0x400
lea rdx, [rsp + 0x280]
mov ecx, 0xd80b
call fcn.1400040b0
test eax, eax
jne 0x140006ac7
lea r8, str.Could_not_start_service
mov edx, 0x400
lea rcx, [rsp + 0x280]
call fcn.14001ea10
test eax, eax
je 0x140006ac7
cmp eax, 0xc
je 0x140006b2c
cmp eax, 0x16
je 0x140006b21
cmp eax, 0x22
je 0x140006b21
cmp eax, 0x50
jne 0x140006b16
xor r9d, r9d
mov r8, rdi
jmp 0x1400069d6
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov eax, 1
jmp 0x1400069e8
xor eax, eax
jmp 0x1400069f8
mov ecx, 0x80004005
call fcn.140004bd0
int3
mov ecx, 0x80070057
call fcn.140004bd0
int3
mov ecx, 0x8007000e
call fcn.140004bd0
int3
mov ecx, 0x80004005
call fcn.140004bd0
int3
mov ecx, 0x80070057
call fcn.140004bd0
int3
mov ecx, 0x8007000e
call fcn.140004bd0
int3
call fcn.140019334
int3
Function at 0x140006c40
Capabilities:
Query or enumerate registry value

Disassembly:
push rdi
sub rsp, 0x50
mov rax, qword [0x140058100]
xor rax, rsp
mov qword [rsp + 0x40], rax
xor edi, edi
lea rax, [rsp + 0x30]
mov r9d, 0x20019
mov dword [rsp + 0x38], edi
xor r8d, r8d
mov qword [rsp + 0x30], rdi
lea rdx, str.SOFTWAREIntelIGFXDPP_
mov qword [rsp + 0x20], rax
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x140006d10
lea rax, [rsp + 0x3c]
mov qword [rsp + 0x60], rbx
mov rbx, qword [rsp + 0x30]
lea r9, [rsp + 0x30]
mov qword [rsp + 0x28], rax
lea rdx, str.EnableHardware3DLUT
lea rax, [rsp + 0x38]
mov dword [rsp + 0x3c], 4
xor r8d, r8d
mov qword [rsp + 0x20], rax
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test rbx, rbx
je 0x140006cdd
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ebx, edi
cmp dword [rsp + 0x38], 1
sete dil
test rbx, rbx
je 0x140006cf4
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
movzx eax, dil
mov rbx, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.140018ad0
add rsp, 0x50
pop rdi
ret
xor al, al
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.140018ad0
add rsp, 0x50
pop rdi
ret

Function at 0x140006fe0
Capabilities:
Access the windows event log

Disassembly:
mov r11, rsp
mov qword [r11 + 0x10], rdx
mov qword [r11 + 0x18], r8
mov qword [r11 + 0x20], r9
push rbx
push rsi
push rdi
sub rsp, 0x270
mov rax, qword [0x140058100]
xor rax, rsp
mov qword [rsp + 0x260], rax
mov rbx, rdx
lea rsi, [r11 + 0x18]
mov rdi, rcx
call fcn.14000b8e0
mov qword [rsp + 0x30], rsi
lea rdx, [rsp + 0x60]
mov r9d, 0xff
xor esi, esi
mov qword [rsp + 0x28], rsi
mov rcx, qword [rax]
mov qword [rsp + 0x20], rbx
lea r8d, [r9 + 1]
call fcn.140020240
lea rax, [rsp + 0x60]
mov word [rsp + 0x25e], si
mov qword [rsp + 0x50], rax
cmp dword [rdi + 0x28c], esi
jne 0x140007066
lea rcx, [rsp + 0x60]
call fcn.14001ec30
lea rdx, [rdi + 0x68]
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_RegisterEventSourceW]
mov rbx, rax
test rax, rax
je 0x1400070b7
mov qword [rsp + 0x40], rsi
lea rax, [rsp + 0x50]
mov qword [rsp + 0x38], rax
mov ecx, 1
mov dword [rsp + 0x30], esi
xor r8d, r8d
mov word [rsp + 0x28], cx
xor r9d, r9d
mov qword [rsp + 0x20], rsi
lea edx, [rcx + 3]
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_ReportEventW]
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_DeregisterEventSource]
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.140018ad0
add rsp, 0x270
pop rdi
pop rsi
pop rbx
ret
Function at 0x140007960
Capabilities:
Modify service

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rbx, qword [0x14005b200]
xor edi, edi
mov rdx, qword [0x14005b208]
mov rsi, rcx
cmp rbx, rdx
jae 0x140007936
test edi, edi
jne 0x140007936
mov rax, qword [rbx]
test rax, rax
je 0x14000792d
mov rax, qword [rax + 0x20]
mov ecx, dword [rax + 8]
test ecx, ecx
je 0x14000792d
call qword [sym.imp.ole32.dll_CoRevokeClassObject]
mov rdx, qword [0x14005b208]
mov edi, eax
add rbx, 8
cmp rbx, rdx
jb 0x140007907
cmp byte [rsi + 0x60], 0
je 0x140007945
mov ecx, dword [rsi + 0x5c]
call qword [sym.imp.KERNEL32.dll_Sleep]
mov rbx, qword [rsp + 0x30]
mov eax, edi
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
mov rax, rsp
push rdi
sub rsp, 0x70
mov qword [rax - 0x10], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov rbx, rcx
mov qword [rsp + 0x60], rcx
mov edx, 1
call fcn.14000a6b0
xor edx, edx
xor ecx, ecx
lea r8d, [rdx + 2]
call qword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov rdi, rax
test rax, rax
je 0x140007a1d
mov r8d, 2
lea rdx, [0x140059f78]
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov rsi, rax
test rax, rax
je 0x140007a14
xor ecx, ecx
mov qword [rsp + 0x50], rcx
mov qword [rsp + 0x48], rcx
lea rax, str.LocalSystem
mov qword [rsp + 0x40], rax
lea rax, str.SENS
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rcx
lea rax, str.ProfSvc_Group
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rcx
or r9d, 0xffffffff
or r8d, r9d
or edx, r9d
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_ChangeServiceConfigW]
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov rcx, rbx
call fcn.14000ab00
mov rcx, rbx
call fcn.14000ab30
lea rcx, [rbx + 0x298]
call fcn.1400162f0
nop
jmp 0x140007a41
mov rcx, rbx
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
jmp 0x1400078e0