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

Disassembly:
push rdi
sub rsp, 0x40
xor edi, edi
test byte [0x1402bbdc0], 1
jne 0x140169360
lock bts qword [0x1402bbdc0], 0x1f
nop
jae 0x140169225
test byte [0x1402bbdc0], 1
jne 0x140169360
xor edx, edx
lea rcx, [0x1402bbdc0]
call sym.SystemInformer.exe_PhfWaitForEvent
nop dword [rax]
jmp 0x140169360
mov qword [rsp + 0x50], rbx
lea rdx, [rsp + 0x30]
lea rbx, str.kernel32.dll
mov qword [rsp + 0x30], 0x18
mov qword [rsp + 0x38], rbx
call fcn.140174480
mov rcx, rax
test rax, rax
jne 0x1401692b2
xor edx, edx
mov r8d, 0x800
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov rcx, rax
test rax, rax
jne 0x1401692b2
xor edx, edx
mov r8d, 0x200
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov rcx, rax
test rax, rax
jne 0x1401692b2
cmp dword [0x1402b5e88], 0x3e
jae 0x14016934f
xor r8d, r8d
xor edx, edx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov rcx, rax
test rax, rax
je 0x14016934f
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x14016934f
mov edx, dword [rcx + 0x3c]
lea eax, [rdx - 1]
cmp eax, 0x7ffffffd
ja 0x14016934f
cmp dword [rdx + rcx], 0x4550
jne 0x14016934f
add rdx, 0x88
add rdx, rcx
mov eax, dword [rdx]
test eax, eax
je 0x14016934f
cmp dword [rdx + 4], edi
je 0x14016934f
lea r8, [rcx + rax]
mov word [rsp + 0x20], di
lea r9, str.PssCaptureSnapshot
call fcn.140174840
mov r9, rax
test rax, rax
je 0x14016934f
mov r8, qword [0x7ffe0320]
mov ecx, dword [0x7ffe0004]
mov eax, r8d
shr r8, 0x20
imul rax, rcx
imul r8, rcx
shr rax, 0x18
shl r8, 8
add rax, r8
mov qword [0x1402c33f8], rax
xor rax, r9
mov qword [0x1402c32c8], rax
lea rcx, [0x1402bbdc0]
call sym.SystemInformer.exe_PhfSetEvent
mov rbx, qword [rsp + 0x50]
mov rax, qword [0x1402c32c8]
test rax, rax
je 0x140169381
mov rcx, qword [0x1402c33f8]
test rcx, rcx
je 0x140169381
xor rax, rcx
add rsp, 0x40
pop rdi
ret
mov rax, rdi
add rsp, 0x40
pop rdi
ret
Function at 0x1401693a0
Capabilities:
Parse pe header

Disassembly:
push rdi
sub rsp, 0x40
xor edi, edi
test byte [0x1402bbe40], 1
jne 0x140169520
lock bts qword [0x1402bbe40], 0x1f
nop
jae 0x1401693e5
test byte [0x1402bbe40], 1
jne 0x140169520
xor edx, edx
lea rcx, [0x1402bbe40]
call sym.SystemInformer.exe_PhfWaitForEvent
nop dword [rax]
jmp 0x140169520
mov qword [rsp + 0x50], rbx
lea rdx, [rsp + 0x30]
lea rbx, str.kernel32.dll
mov qword [rsp + 0x30], 0x18
mov qword [rsp + 0x38], rbx
call fcn.140174480
mov rcx, rax
test rax, rax
jne 0x140169472
xor edx, edx
mov r8d, 0x800
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov rcx, rax
test rax, rax
jne 0x140169472
xor edx, edx
mov r8d, 0x200
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov rcx, rax
test rax, rax
jne 0x140169472
cmp dword [0x1402b5e88], 0x3e
jae 0x14016950f
xor r8d, r8d
xor edx, edx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov rcx, rax
test rax, rax
je 0x14016950f
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x14016950f
mov edx, dword [rcx + 0x3c]
lea eax, [rdx - 1]
cmp eax, 0x7ffffffd
ja 0x14016950f
cmp dword [rdx + rcx], 0x4550
jne 0x14016950f
add rdx, 0x88
add rdx, rcx
mov eax, dword [rdx]
test eax, eax
je 0x14016950f
cmp dword [rdx + 4], edi
je 0x14016950f
lea r8, [rcx + rax]
mov word [rsp + 0x20], di
lea r9, str.PssQuerySnapshot
call fcn.140174840
mov r9, rax
test rax, rax
je 0x14016950f
mov r8, qword [0x7ffe0320]
mov ecx, dword [0x7ffe0004]
mov eax, r8d
shr r8, 0x20
imul rax, rcx
imul r8, rcx
shr rax, 0x18
shl r8, 8
add rax, r8
mov qword [0x1402c32d8], rax
xor rax, r9
mov qword [0x1402c32a8], rax
lea rcx, [0x1402bbe40]
call sym.SystemInformer.exe_PhfSetEvent
mov rbx, qword [rsp + 0x50]
mov rax, qword [0x1402c32a8]
test rax, rax
je 0x140169541
mov rcx, qword [0x1402c32d8]
test rcx, rcx
je 0x140169541
xor rax, rcx
add rsp, 0x40
pop rdi
ret
mov rax, rdi
add rsp, 0x40
pop rdi
ret
Function at 0x140169560
Capabilities:
Parse pe header

Disassembly:
push rdi
sub rsp, 0x40
xor edi, edi
test byte [0x1402bbe60], 1
jne 0x1401696e0
lock bts qword [0x1402bbe60], 0x1f
nop
jae 0x1401695a5
test byte [0x1402bbe60], 1
jne 0x1401696e0
xor edx, edx
lea rcx, [0x1402bbe60]
call sym.SystemInformer.exe_PhfWaitForEvent
nop dword [rax]
jmp 0x1401696e0
mov qword [rsp + 0x50], rbx
lea rdx, [rsp + 0x30]
lea rbx, str.kernel32.dll
mov qword [rsp + 0x30], 0x18
mov qword [rsp + 0x38], rbx
call fcn.140174480
mov rcx, rax
test rax, rax
jne 0x140169632
xor edx, edx
mov r8d, 0x800
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov rcx, rax
test rax, rax
jne 0x140169632
xor edx, edx
mov r8d, 0x200
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov rcx, rax
test rax, rax
jne 0x140169632
cmp dword [0x1402b5e88], 0x3e
jae 0x1401696cf
xor r8d, r8d
xor edx, edx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov rcx, rax
test rax, rax
je 0x1401696cf
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x1401696cf
mov edx, dword [rcx + 0x3c]
lea eax, [rdx - 1]
cmp eax, 0x7ffffffd
ja 0x1401696cf
cmp dword [rdx + rcx], 0x4550
jne 0x1401696cf
add rdx, 0x88
add rdx, rcx
mov eax, dword [rdx]
test eax, eax
je 0x1401696cf
cmp dword [rdx + 4], edi
je 0x1401696cf
lea r8, [rcx + rax]
mov word [rsp + 0x20], di
lea r9, str.PssFreeSnapshot
call fcn.140174840
mov r9, rax
test rax, rax
je 0x1401696cf
mov r8, qword [0x7ffe0320]
mov ecx, dword [0x7ffe0004]
mov eax, r8d
shr r8, 0x20
imul rax, rcx
imul r8, rcx
shr rax, 0x18
shl r8, 8
add rax, r8
mov qword [0x1402c33a0], rax
xor rax, r9
mov qword [0x1402c32f0], rax
lea rcx, [0x1402bbe60]
call sym.SystemInformer.exe_PhfSetEvent
mov rbx, qword [rsp + 0x50]
mov rax, qword [0x1402c32f0]
test rax, rax
je 0x140169701
mov rcx, qword [0x1402c33a0]
test rcx, rcx
je 0x140169701
xor rax, rcx
add rsp, 0x40
pop rdi
ret
mov rax, rdi
add rsp, 0x40
pop rdi
ret
Function at 0x140169720
Capabilities:
Parse pe header

Disassembly:
push rdi
sub rsp, 0x40
xor edi, edi
test byte [0x1402bbe10], 1
jne 0x1401698a0
lock bts qword [0x1402bbe10], 0x1f
nop
jae 0x140169765
test byte [0x1402bbe10], 1
jne 0x1401698a0
xor edx, edx
lea rcx, [0x1402bbe10]
call sym.SystemInformer.exe_PhfWaitForEvent
nop dword [rax]
jmp 0x1401698a0
mov qword [rsp + 0x50], rbx
lea rdx, [rsp + 0x30]
lea rbx, str.userenv.dll
mov qword [rsp + 0x30], 0x16
mov qword [rsp + 0x38], rbx
call fcn.140174480
mov rcx, rax
test rax, rax
jne 0x1401697f2
xor edx, edx
mov r8d, 0x800
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov rcx, rax
test rax, rax
jne 0x1401697f2
xor edx, edx
mov r8d, 0x200
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov rcx, rax
test rax, rax
jne 0x1401697f2
cmp dword [0x1402b5e88], 0x3e
jae 0x14016988f
xor r8d, r8d
xor edx, edx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov rcx, rax
test rax, rax
je 0x14016988f
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x14016988f
mov edx, dword [rcx + 0x3c]
lea eax, [rdx - 1]
cmp eax, 0x7ffffffd
ja 0x14016988f
cmp dword [rdx + rcx], 0x4550
jne 0x14016988f
add rdx, 0x88
add rdx, rcx
mov eax, dword [rdx]
test eax, eax
je 0x14016988f
cmp dword [rdx + 4], edi
je 0x14016988f
lea r8, [rcx + rax]
mov word [rsp + 0x20], di
lea r9, str.CreateEnvironmentBlock
call fcn.140174840
mov r9, rax
test rax, rax
je 0x14016988f
mov r8, qword [0x7ffe0320]
mov ecx, dword [0x7ffe0004]
mov eax, r8d
shr r8, 0x20
imul rax, rcx
imul r8, rcx
shr rax, 0x18
shl r8, 8
add rax, r8
mov qword [0x1402c3318], rax
xor rax, r9
mov qword [0x1402c33c0], rax
lea rcx, [0x1402bbe10]
call sym.SystemInformer.exe_PhfSetEvent
mov rbx, qword [rsp + 0x50]
mov rax, qword [0x1402c33c0]
test rax, rax
je 0x1401698c1
mov rcx, qword [0x1402c3318]
test rcx, rcx
je 0x1401698c1
xor rax, rcx
add rsp, 0x40
pop rdi
ret
mov rax, rdi
add rsp, 0x40
pop rdi
ret
Function at 0x1401698e0
Capabilities:
Parse pe header

Disassembly:
push rdi
sub rsp, 0x40
xor edi, edi
test byte [0x1402bbd40], 1
jne 0x140169a60
lock bts qword [0x1402bbd40], 0x1f
nop
jae 0x140169925
test byte [0x1402bbd40], 1
jne 0x140169a60
xor edx, edx
lea rcx, [0x1402bbd40]
call sym.SystemInformer.exe_PhfWaitForEvent
nop dword [rax]
jmp 0x140169a60
mov qword [rsp + 0x50], rbx
lea rdx, [rsp + 0x30]
lea rbx, str.userenv.dll
mov qword [rsp + 0x30], 0x16
mov qword [rsp + 0x38], rbx
call fcn.140174480
mov rcx, rax
test rax, rax
jne 0x1401699b2
xor edx, edx
mov r8d, 0x800
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov rcx, rax
test rax, rax
jne 0x1401699b2
xor edx, edx
mov r8d, 0x200
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov rcx, rax
test rax, rax
jne 0x1401699b2
cmp dword [0x1402b5e88], 0x3e
jae 0x140169a4f
xor r8d, r8d
xor edx, edx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov rcx, rax
test rax, rax
je 0x140169a4f
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x140169a4f
mov edx, dword [rcx + 0x3c]
lea eax, [rdx - 1]
cmp eax, 0x7ffffffd
ja 0x140169a4f
cmp dword [rdx + rcx], 0x4550
jne 0x140169a4f
add rdx, 0x88
add rdx, rcx
mov eax, dword [rdx]
test eax, eax
je 0x140169a4f
cmp dword [rdx + 4], edi
je 0x140169a4f
lea r8, [rcx + rax]
mov word [rsp + 0x20], di
lea r9, str.DestroyEnvironmentBlock
call fcn.140174840
mov r9, rax
test rax, rax
je 0x140169a4f
mov r8, qword [0x7ffe0320]
mov ecx, dword [0x7ffe0004]
mov eax, r8d
shr r8, 0x20
imul rax, rcx
imul r8, rcx
shr rax, 0x18
shl r8, 8
add rax, r8
mov qword [0x1402c32e8], rax
xor rax, r9
mov qword [0x1402c3350], rax
lea rcx, [0x1402bbd40]
call sym.SystemInformer.exe_PhfSetEvent
mov rbx, qword [rsp + 0x50]
mov rax, qword [0x1402c3350]
test rax, rax
je 0x140169a81
mov rcx, qword [0x1402c32e8]
test rcx, rcx
je 0x140169a81
xor rax, rcx
add rsp, 0x40
pop rdi
ret
mov rax, rdi
add rsp, 0x40
pop rdi
ret
Function at 0x140169aa0
Capabilities:
Parse pe header

Disassembly:
push rdi
sub rsp, 0x40
xor edi, edi
test byte [0x1402bbe30], 1
jne 0x140169c20
lock bts qword [0x1402bbe30], 0x1f
nop
jae 0x140169ae5
test byte [0x1402bbe30], 1
jne 0x140169c20
xor edx, edx
lea rcx, [0x1402bbe30]
call sym.SystemInformer.exe_PhfWaitForEvent
nop dword [rax]
jmp 0x140169c20
mov qword [rsp + 0x50], rbx
lea rdx, [rsp + 0x30]
lea rbx, str.userenv.dll
mov qword [rsp + 0x30], 0x16
mov qword [rsp + 0x38], rbx
call fcn.140174480
mov rcx, rax
test rax, rax
jne 0x140169b72
xor edx, edx
mov r8d, 0x800
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov rcx, rax
test rax, rax
jne 0x140169b72
xor edx, edx
mov r8d, 0x200
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov rcx, rax
test rax, rax
jne 0x140169b72
cmp dword [0x1402b5e88], 0x3e
jae 0x140169c0f
xor r8d, r8d
xor edx, edx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov rcx, rax
test rax, rax
je 0x140169c0f
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x140169c0f
mov edx, dword [rcx + 0x3c]
lea eax, [rdx - 1]
cmp eax, 0x7ffffffd
ja 0x140169c0f
cmp dword [rdx + rcx], 0x4550
jne 0x140169c0f
add rdx, 0x88
add rdx, rcx
mov eax, dword [rdx]
test eax, eax
je 0x140169c0f
cmp dword [rdx + 4], edi
je 0x140169c0f
lea r8, [rcx + rax]
mov word [rsp + 0x20], di
lea r9, str.GetAppContainerRegistryLocation
call fcn.140174840
mov r9, rax
test rax, rax
je 0x140169c0f
mov r8, qword [0x7ffe0320]
mov ecx, dword [0x7ffe0004]
mov eax, r8d
shr r8, 0x20
imul rax, rcx
imul r8, rcx
shr rax, 0x18
shl r8, 8
add rax, r8
mov qword [0x1402c3398], rax
xor rax, r9
mov qword [0x1402c3348], rax
lea rcx, [0x1402bbe30]
call sym.SystemInformer.exe_PhfSetEvent
mov rbx, qword [rsp + 0x50]
mov rax, qword [0x1402c3348]
test rax, rax
je 0x140169c41
mov rcx, qword [0x1402c3398]
test rcx, rcx
je 0x140169c41
xor rax, rcx
add rsp, 0x40
pop rdi
ret
mov rax, rdi
add rsp, 0x40
pop rdi
ret
Function at 0x140169c60
Capabilities:
Parse pe header

Disassembly:
push rdi
sub rsp, 0x40
xor edi, edi
test byte [0x1402bbd20], 1
jne 0x140169de0
lock bts qword [0x1402bbd20], 0x1f
nop
jae 0x140169ca5
test byte [0x1402bbd20], 1
jne 0x140169de0
xor edx, edx
lea rcx, [0x1402bbd20]
call sym.SystemInformer.exe_PhfWaitForEvent
nop dword [rax]
jmp 0x140169de0
mov qword [rsp + 0x50], rbx
lea rdx, [rsp + 0x30]
lea rbx, [0x1402601c0]
mov qword [rsp + 0x30], 0x14
mov qword [rsp + 0x38], rbx
call fcn.140174480
mov rcx, rax
test rax, rax
jne 0x140169d32
xor edx, edx
mov r8d, 0x800
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov rcx, rax
test rax, rax
jne 0x140169d32
xor edx, edx
mov r8d, 0x200
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov rcx, rax
test rax, rax
jne 0x140169d32
cmp dword [0x1402b5e88], 0x3e
jae 0x140169dcf
xor r8d, r8d
xor edx, edx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov rcx, rax
test rax, rax
je 0x140169dcf
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x140169dcf
mov edx, dword [rcx + 0x3c]
lea eax, [rdx - 1]
cmp eax, 0x7ffffffd
ja 0x140169dcf
cmp dword [rdx + rcx], 0x4550
jne 0x140169dcf
add rdx, 0x88
add rdx, rcx
mov eax, dword [rdx]
test eax, eax
je 0x140169dcf
cmp dword [rdx + 4], edi
je 0x140169dcf
lea r8, [rcx + rax]
mov word [rsp + 0x20], di
lea r9, str.SetWindowDisplayAffinity
call fcn.140174840
mov r9, rax
test rax, rax
je 0x140169dcf
mov r8, qword [0x7ffe0320]
mov ecx, dword [0x7ffe0004]
mov eax, r8d
shr r8, 0x20
imul rax, rcx
imul r8, rcx
shr rax, 0x18
shl r8, 8
add rax, r8
mov qword [0x1402c3298], rax
xor rax, r9
mov qword [0x1402c3390], rax
lea rcx, [0x1402bbd20]
call sym.SystemInformer.exe_PhfSetEvent
mov rbx, qword [rsp + 0x50]
mov rax, qword [0x1402c3390]
test rax, rax
je 0x140169e01
mov rcx, qword [0x1402c3298]
test rcx, rcx
je 0x140169e01
xor rax, rcx
add rsp, 0x40
pop rdi
ret
mov rax, rdi
add rsp, 0x40
pop rdi
ret
Function at 0x140169e20
Capabilities:
Parse pe header

Disassembly:
push rdi
sub rsp, 0x40
xor edi, edi
test byte [0x1402bbe70], 1
jne 0x140169fa0
lock bts qword [0x1402bbe70], 0x1f
nop
jae 0x140169e65
test byte [0x1402bbe70], 1
jne 0x140169fa0
xor edx, edx
lea rcx, [0x1402bbe70]
call sym.SystemInformer.exe_PhfWaitForEvent
nop dword [rax]
jmp 0x140169fa0
mov qword [rsp + 0x50], rbx
lea rdx, [rsp + 0x30]
lea rbx, str.winsta.dll
mov qword [rsp + 0x30], 0x14
mov qword [rsp + 0x38], rbx
call fcn.140174480
mov rcx, rax
test rax, rax
jne 0x140169ef2
xor edx, edx
mov r8d, 0x800
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov rcx, rax
test rax, rax
jne 0x140169ef2
xor edx, edx
mov r8d, 0x200
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov rcx, rax
test rax, rax
jne 0x140169ef2
cmp dword [0x1402b5e88], 0x3e
jae 0x140169f8f
xor r8d, r8d
xor edx, edx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov rcx, rax
test rax, rax
je 0x140169f8f
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x140169f8f
mov edx, dword [rcx + 0x3c]
lea eax, [rdx - 1]
cmp eax, 0x7ffffffd
ja 0x140169f8f
cmp dword [rdx + rcx], 0x4550
jne 0x140169f8f
add rdx, 0x88
add rdx, rcx
mov eax, dword [rdx]
test eax, eax
je 0x140169f8f
cmp dword [rdx + 4], edi
je 0x140169f8f
lea r8, [rcx + rax]
mov word [rsp + 0x20], di
lea r9, [0x140282370]
call fcn.140174840
mov r9, rax
test rax, rax
je 0x140169f8f
mov r8, qword [0x7ffe0320]
mov ecx, dword [0x7ffe0004]
mov eax, r8d
shr r8, 0x20
imul rax, rcx
imul r8, rcx
shr rax, 0x18
shl r8, 8
add rax, r8
mov qword [0x1402c3360], rax
xor rax, r9
mov qword [0x1402c33d0], rax
lea rcx, [0x1402bbe70]
call sym.SystemInformer.exe_PhfSetEvent
mov rbx, qword [rsp + 0x50]
mov rax, qword [0x1402c33d0]
test rax, rax
je 0x140169fc1
mov rcx, qword [0x1402c3360]
test rcx, rcx
je 0x140169fc1
xor rax, rcx
add rsp, 0x40
pop rdi
ret
mov rax, rdi
add rsp, 0x40
pop rdi
ret
Function at 0x14016ac60
Capabilities:
Enumerate services

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x50
mov eax, dword [0x1402b5e88]
mov r15, rdx
mov r12, rcx
cmp eax, 0x66
jb 0x14016ac8c
mov edi, 0x3ff
jmp 0x14016ac9c
cmp eax, 0x64
mov edi, 0x3b
mov ecx, 0x1ff
cmovae edi, ecx
xor r13d, r13d
xor eax, eax
lock cmpxchg qword [0x1402c3420], r13
mov rbp, rax
jne 0x14016ace6
xor edx, edx
lea r8d, [r13 + 5]
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov rcx, rax
test rax, rax
je 0x14016ace6
xor eax, eax
lock cmpxchg qword [0x1402c3420], rcx
mov rbp, rax
jne 0x14016acda
mov rbp, rcx
jmp 0x14016ace6
nop word [rax + rax]
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov esi, dword [0x1402bbf40]
mov edx, 4
mov rcx, qword [0x1402bfe50]
mov r8d, esi
mov qword [rsp + 0x90], rbx
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov qword [rsp + 0x48], r13
mov r9d, 3
mov r14, rax
mov qword [rsp + 0x40], r13
lea rax, [rsp + 0xa8]
mov r8d, edi
mov qword [rsp + 0x38], rax
xor edx, edx
lea rax, [rsp + 0xa0]
mov rcx, rbp
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], esi
mov qword [rsp + 0x20], r14
call qword [sym.imp.ADVAPI32.dll_EnumServicesStatusExW]
test eax, eax
jne 0x14016ae1b
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call sym.SystemInformer.exe_PhDosErrorToNtStatus
mov ebx, eax
cmp eax, 0x105
jne 0x14016adfd
mov rcx, qword [0x1402bfe50]
mov r8, r14
xor edx, edx
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
add esi, dword ds:[rsp + 0xa0]
mov edx, 4
mov rcx, qword [0x1402bfe50]
mov r8d, esi
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov qword [rsp + 0x48], r13
mov r9d, 3
mov r14, rax
mov qword [rsp + 0x40], r13
lea rax, [rsp + 0xa8]
mov r8d, edi
mov qword [rsp + 0x38], rax
xor edx, edx
lea rax, [rsp + 0xa0]
mov rcx, rbp
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], esi
mov qword [rsp + 0x20], r14
call qword [sym.imp.ADVAPI32.dll_EnumServicesStatusExW]
test eax, eax
jne 0x14016ae1b
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call sym.SystemInformer.exe_PhDosErrorToNtStatus
mov ebx, eax
nop dword [rax]
test ebx, ebx
jns 0x14016ae1e
lfence
mov rcx, qword [0x1402bfe50]
mov r8, r14
xor edx, edx
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
jmp 0x14016ae3d
mov ebx, r13d
lfence
cmp esi, 0x20000
ja 0x14016ae2f
mov dword [0x1402bbf40], esi
mov eax, dword [rsp + 0xa8]
mov dword [r15], eax
mov qword [r12], r14
mov eax, ebx
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 0x14016ae60
Capabilities:
Enumerate services

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
push rsi
push rdi
push r14
sub rsp, 0x40
mov rsi, r8
mov r14, rdx
mov rbp, rcx
mov edx, 4
mov rcx, qword [0x1402bfe50]
mov r8d, 0x800
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov r9d, 0x800
mov edx, 3
mov rdi, rax
mov rcx, rbp
lea rax, [rsp + 0x30]
mov r8, rdi
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x78]
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_EnumDependentServicesW]
test eax, eax
je 0x14016aeed
xor ebx, ebx
lfence
mov eax, dword [rsp + 0x30]
mov qword [r14], rdi
mov dword [rsi], eax
mov rbp, qword [rsp + 0x68]
mov eax, ebx
mov rbx, qword [rsp + 0x60]
add rsp, 0x40
pop r14
pop rdi
pop rsi
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call sym.SystemInformer.exe_PhDosErrorToNtStatus
mov ebx, eax
cmp eax, 0x105
jne 0x14016af77
mov rcx, qword [0x1402bfe50]
mov r8, rdi
xor edx, edx
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
mov ebx, dword [rsp + 0x78]
mov edx, 4
mov rcx, qword [0x1402bfe50]
mov r8d, ebx
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov r9d, ebx
mov edx, 3
mov rdi, rax
mov rcx, rbp
lea rax, [rsp + 0x30]
mov r8, rdi
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x78]
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_EnumDependentServicesW]
nop dword [rax]
test eax, eax
jne 0x14016aeca
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call sym.SystemInformer.exe_PhDosErrorToNtStatus
mov ebx, eax
test ebx, ebx
jns 0x14016aecc
lfence
mov rcx, qword [0x1402bfe50]
mov r8, rdi
xor edx, edx
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
jmp 0x14016aed8

Function at 0x14016b200
Capabilities:
Create service

Disassembly:
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x70
mov r15, rdx
mov r14, r8
xor edx, edx
mov rsi, rcx
xor ecx, ecx
mov ebp, r9d
lea r8d, [rdx + 2]
call qword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov rdi, rax
test rax, rax
je 0x14016b2dc
mov r9, qword [rsp + 0xd0]
mov r8, r14
mov rcx, qword [rsp + 0xc8]
mov rdx, r15
mov eax, dword [rsp + 0xb8]
mov r10, qword [rsp + 0xd8]
mov qword [rsp + 0x60], r10
mov qword [rsp + 0x58], r9
mov r9d, ebp
mov qword [rsp + 0x90], rbx
xor ebx, ebx
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x48], rbx
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x38], rcx
mov ecx, dword [rsp + 0xc0]
mov dword [rsp + 0x30], ecx
mov rcx, rdi
mov dword [rsp + 0x28], eax
mov eax, dword [rsp + 0xb0]
mov dword [rsp + 0x20], eax
call qword [sym.imp.ADVAPI32.dll_CreateServiceW]
test rax, rax
je 0x14016b2b6
mov qword [rsi], rax
jmp 0x14016b2c7
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call sym.SystemInformer.exe_PhDosErrorToNtStatus
mov ebx, eax
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov eax, ebx
mov rbx, qword [rsp + 0x90]
jmp 0x14016b2ed
nop dword [rax]
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call sym.SystemInformer.exe_PhDosErrorToNtStatus
lea r11, [rsp + 0x70]
mov rbp, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop r14
pop rdi
ret
Function at 0x14016b320
Capabilities:
Modify service

Disassembly:
mov r11, rsp
sub rsp, 0x68
mov rax, qword [rsp + 0xc0]
mov qword [r11 - 0x18], rax
mov rax, qword [rsp + 0xb8]
mov qword [r11 - 0x20], rax
mov rax, qword [rsp + 0xb0]
mov qword [r11 - 0x28], rax
mov rax, qword [rsp + 0xa8]
mov qword [r11 - 0x30], rax
mov rax, qword [rsp + 0xa0]
mov qword [r11 - 0x38], rax
mov rax, qword [rsp + 0x98]
mov qword [r11 - 0x40], rax
mov rax, qword [rsp + 0x90]
mov qword [r11 - 0x48], rax
call qword [sym.imp.ADVAPI32.dll_ChangeServiceConfigW]
test eax, eax
je 0x14016b391
xor eax, eax
add rsp, 0x68
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
add rsp, 0x68
jmp sym.SystemInformer.exe_PhDosErrorToNtStatus

Function at 0x14016b3b0
Capabilities:
Modify service

Disassembly:
sub rsp, 0x28
call qword [sym.imp.ADVAPI32.dll_ChangeServiceConfig2W]
test eax, eax
je 0x14016b3c5
xor eax, eax
add rsp, 0x28
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
add rsp, 0x28
jmp sym.SystemInformer.exe_PhDosErrorToNtStatus

Function at 0x14016b4a0
Capabilities:
Query service status

Disassembly:
sub rsp, 0x38
xorps xmm0, xmm0
mov dword [rsp + 0x50], 0
movups xmmword [rdx], xmm0
xor eax, eax
mov r8, rdx
movups xmmword [rdx + 0x10], xmm0
mov dword [rdx + 0x20], eax
mov r9d, 0x24
lea rax, [rsp + 0x50]
xor edx, edx
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_QueryServiceStatusEx]
test eax, eax
je 0x14016b4e1
xor eax, eax
add rsp, 0x38
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
add rsp, 0x38
jmp sym.SystemInformer.exe_PhDosErrorToNtStatus

Function at 0x14016b640
Capabilities:
Continue service

Disassembly:
sub rsp, 0x58
mov rax, qword [0x1402b5020]
xor rax, rsp
mov qword [rsp + 0x40], rax
lea r8, [rsp + 0x20]
mov edx, 3
call qword [sym.imp.ADVAPI32.dll_ControlService]
test eax, eax
je 0x14016b67e
xor eax, eax
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.1401dd6a0
add rsp, 0x58
ret
nop
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call sym.SystemInformer.exe_PhDosErrorToNtStatus
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.1401dd6a0
add rsp, 0x58
ret

Function at 0x14016b6a0
Capabilities:
Pause service

Disassembly:
sub rsp, 0x58
mov rax, qword [0x1402b5020]
xor rax, rsp
mov qword [rsp + 0x40], rax
lea r8, [rsp + 0x20]
mov edx, 2
call qword [sym.imp.ADVAPI32.dll_ControlService]
test eax, eax
je 0x14016b6de
xor eax, eax
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.1401dd6a0
add rsp, 0x58
ret
nop
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call sym.SystemInformer.exe_PhDosErrorToNtStatus
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.1401dd6a0
add rsp, 0x58
ret

Function at 0x14016b700
Capabilities:
Start service

Disassembly:
sub rsp, 0x28
xor r8d, r8d
xor edx, edx
call qword [sym.imp.ADVAPI32.dll_StartServiceW]
test eax, eax
je 0x14016b71a
xor eax, eax
add rsp, 0x28
ret
nop word [rax + rax]
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
add rsp, 0x28
jmp sym.SystemInformer.exe_PhDosErrorToNtStatus