joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14002e9ec
Capabilities:
Check mutex on windows

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 8]
sub rsp, 0x108
mov qword [rsp + 0x48], 0xfffffffffffffffe
mov rax, qword [0x1400ca118]
xor rax, rsp
mov qword [rbp - 0x10], rax
mov r14d, r9d
mov rbx, r8
mov rsi, rdx
mov rdi, rcx
mov r15b, byte [rbp + 0x70]
xor r12d, r12d
mov dword [rsp + 0x40], r12d
mov rax, qword [rdx]
mov rcx, rdx
call qword [rax + 0x1f0]
mov r8, rax
xor edx, edx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CreateMutexW]
mov qword [rsp + 0x38], rax
lea r13, vtable.OperatingSystemHandle.0
mov qword [rsp + 0x30], r13
dec rax
cmp rax, 0xfffffffffffffffd
ja 0x14002ea6f
lock inc dword [0x1400ce120]
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x14002eb91
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 0x1f0]
mov r8, rax
mov edx, r12d
test r15b, r15b
setne dl
mov ecx, r14d
call qword [sym.imp.KERNEL32.dll_OpenMutexW]
mov rbx, rax
lea rcx, [rsp + 0x30]
mov rax, qword [rsp + 0x30]
call qword [rax + 0x18]
mov qword [rsp + 0x38], rbx
test rbx, rbx
je 0x14002eadd
cmp rbx, 0xffffffffffffffff
je 0x14002eacd
lock inc dword [0x1400ce120]
mov rbx, qword [rsp + 0x38]
lea rax, [rbx + 1]
test rax, 0xfffffffffffffffe
jne 0x14002eb96
mov qword [rsp + 0x68], 7
mov qword [rsp + 0x60], r12
mov word [rsp + 0x50], r12w
cmp word [0x1400a6650], r12w
jne 0x14002eb00
mov rax, r12
jmp 0x14002eb0c
lea rcx, [0x1400a6650]
call fcn.140065418
mov r8, rax
lea rdx, [0x1400a6650]
lea rcx, [rsp + 0x50]
call fcn.1400045d0
nop
mov qword [rbp - 0x78], 0xf
mov qword [rbp - 0x80], r12
mov byte [rsp + 0x70], r12b
lea rcx, str..._nsMutex.cpp
call fcn.1400657f0
mov r8, rax
lea rdx, str..._nsMutex.cpp
lea rcx, [rsp + 0x70]
call fcn.140004720
nop
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.140023e14
mov edx, eax
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
mov r9d, 0x73
lea r8, [rsp + 0x70]
lea rcx, [rbp - 0x70]
call fcn.1400230c8
lea rdx, [0x1400c7a90]
lea rcx, [rbp - 0x70]
call fcn.14005ba94
nop
mov rbx, qword [rsp + 0x38]
lea rax, [rbx - 1]
cmp rax, 0xfffffffffffffffd
ja 0x14002ebac
lock dec dword [0x1400ce120]
mov rbx, qword [rsp + 0x38]
mov qword [rsp + 0x38], r12
mov rdx, rbx
mov rcx, rdi
call fcn.14002e694
nop
mov qword [rsp + 0x30], r13
mov rcx, qword [rsp + 0x38]
lea rdx, [rcx - 1]
cmp rdx, 0xfffffffffffffffd
ja 0x14002ebde
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lock dec dword [0x1400ce120]
mov rax, rdi
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.140058630
add rsp, 0x108
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
Function at 0x140030ccc
Capabilities:
Delete registry key

Disassembly:
mov rax, rsp
push rbp
push rsi
push rdi
sub rsp, 0x140
mov qword [rsp + 0x138], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
lea rbp, [rsp + 0x50]
and rbp, 0xffffffffffffffe0
mov rax, qword [0x1400ca118]
xor rax, rsp
mov qword [rbp + 0xe0], rax
mov rdi, rdx
mov rbx, rcx
lea rdx, [rcx + 0x30]
mov r8b, 1
lea rcx, [rbp]
call fcn.140022a08
nop
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x68]
xor esi, esi
test al, al
je 0x140030e0a
mov rbx, qword [rbx + 0x10]
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 0x1f0]
mov rdx, rax
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov ebx, eax
test eax, eax
je 0x140030dfc
mov qword [rbp + 0x58], 7
mov qword [rbp + 0x50], rsi
mov word [rbp + 0x40], si
cmp word [0x1400a6650], si
jne 0x140030d70
mov eax, esi
jmp 0x140030d7c
lea rcx, [0x1400a6650]
call fcn.140065418
mov r8, rax
lea rdx, [0x1400a6650]
lea rcx, [rbp + 0x40]
call fcn.1400045d0
nop
mov qword [rbp + 0x78], 0xf
mov qword [rbp + 0x70], rsi
mov byte [rbp + 0x60], sil
lea rcx, str..._nsRegistry.cpp
call fcn.1400657f0
mov r8, rax
lea rdx, str..._nsRegistry.cpp
lea rcx, [rbp + 0x60]
call fcn.140004720
nop
mov ecx, ebx
call fcn.140023e14
mov edx, eax
lea rax, [rbp + 0x40]
mov qword [rsp + 0x20], rax
mov r9d, 0x1b5
lea r8, [rbp + 0x60]
lea rcx, [rbp + 0x80]
call fcn.1400230c8
lea rdx, [0x1400c7a90]
lea rcx, [rbp + 0x80]
call fcn.14005ba94
nop
lea rcx, [rbp]
call fcn.140022a60
jmp 0x140030eb7
mov qword [rbp + 0x78], 7
mov qword [rbp + 0x70], rsi
mov word [rbp + 0x60], si
cmp word [0x1400a6650], si
jne 0x140030e28
mov rax, rsi
jmp 0x140030e34
lea rcx, [0x1400a6650]
call fcn.140065418
mov r8, rax
lea rdx, [0x1400a6650]
lea rcx, [rbp + 0x60]
call fcn.1400045d0
nop
mov qword [rbp + 0x58], 0xf
mov qword [rbp + 0x50], rsi
mov byte [rbp + 0x40], sil
lea rcx, str..._nsRegistry.cpp
call fcn.1400657f0
mov r8, rax
lea rdx, str..._nsRegistry.cpp
lea rcx, [rbp + 0x40]
call fcn.140004720
nop
mov ecx, 0x3f2
call fcn.140023e14
mov edx, eax
lea rax, [rbp + 0x60]
mov qword [rsp + 0x20], rax
mov r9d, 0x1ba
lea r8, [rbp + 0x40]
lea rcx, [rbp + 0x80]
call fcn.1400230c8
lea rdx, [0x1400c7a90]
lea rcx, [rbp + 0x80]
call fcn.14005ba94
nop
mov rcx, qword [rbp + 0xe0]
xor rcx, rsp
call fcn.140058630
mov rbx, qword [rsp + 0x170]
add rsp, 0x140
pop rdi
pop rsi
pop rbp
ret
Function at 0x140030edc
Capabilities:
Delete registry value

Disassembly:
mov rax, rsp
push rbp
push rsi
push rdi
sub rsp, 0x140
mov qword [rsp + 0x138], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
lea rbp, [rsp + 0x50]
and rbp, 0xffffffffffffffe0
mov rax, qword [0x1400ca118]
xor rax, rsp
mov qword [rbp + 0xe0], rax
mov rdi, rdx
mov rbx, rcx
lea rdx, [rcx + 0x30]
mov r8b, 1
lea rcx, [rbp]
call fcn.140022a08
nop
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x68]
xor esi, esi
test al, al
je 0x14003101a
mov rbx, qword [rbx + 0x10]
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 0x1f0]
mov rdx, rax
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov ebx, eax
test eax, eax
je 0x14003100c
mov qword [rbp + 0x58], 7
mov qword [rbp + 0x50], rsi
mov word [rbp + 0x40], si
cmp word [0x1400a6650], si
jne 0x140030f80
mov eax, esi
jmp 0x140030f8c
lea rcx, [0x1400a6650]
call fcn.140065418
mov r8, rax
lea rdx, [0x1400a6650]
lea rcx, [rbp + 0x40]
call fcn.1400045d0
nop
mov qword [rbp + 0x78], 0xf
mov qword [rbp + 0x70], rsi
mov byte [rbp + 0x60], sil
lea rcx, str..._nsRegistry.cpp
call fcn.1400657f0
mov r8, rax
lea rdx, str..._nsRegistry.cpp
lea rcx, [rbp + 0x60]
call fcn.140004720
nop
mov ecx, ebx
call fcn.140023e14
mov edx, eax
lea rax, [rbp + 0x40]
mov qword [rsp + 0x20], rax
mov r9d, 0x48b
lea r8, [rbp + 0x60]
lea rcx, [rbp + 0x80]
call fcn.1400230c8
lea rdx, [0x1400c7a90]
lea rcx, [rbp + 0x80]
call fcn.14005ba94
nop
lea rcx, [rbp]
call fcn.140022a60
jmp 0x1400310c7
mov qword [rbp + 0x78], 7
mov qword [rbp + 0x70], rsi
mov word [rbp + 0x60], si
cmp word [0x1400a6650], si
jne 0x140031038
mov rax, rsi
jmp 0x140031044
lea rcx, [0x1400a6650]
call fcn.140065418
mov r8, rax
lea rdx, [0x1400a6650]
lea rcx, [rbp + 0x60]
call fcn.1400045d0
nop
mov qword [rbp + 0x58], 0xf
mov qword [rbp + 0x50], rsi
mov byte [rbp + 0x40], sil
lea rcx, str..._nsRegistry.cpp
call fcn.1400657f0
mov r8, rax
lea rdx, str..._nsRegistry.cpp
lea rcx, [rbp + 0x40]
call fcn.140004720
nop
mov ecx, 0x3f2
call fcn.140023e14
mov edx, eax
lea rax, [rbp + 0x60]
mov qword [rsp + 0x20], rax
mov r9d, 0x490
lea r8, [rbp + 0x40]
lea rcx, [rbp + 0x80]
call fcn.1400230c8
lea rdx, [0x1400c7a90]
lea rcx, [rbp + 0x80]
call fcn.14005ba94
nop
mov rcx, qword [rbp + 0xe0]
xor rcx, rsp
call fcn.140058630
mov rbx, qword [rsp + 0x170]
add rsp, 0x140
pop rdi
pop rsi
pop rbp
ret
Function at 0x140031edc
Capabilities:
Query or enumerate registry value

Disassembly:
mov rax, rsp
push rbp
push rsi
push rdi
sub rsp, 0x160
mov qword [rsp + 0x158], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
lea rbp, [rsp + 0x50]
and rbp, 0xffffffffffffffe0
mov rax, qword [0x1400ca118]
xor rax, rsp
mov qword [rbp + 0x100], rax
mov rdi, rdx
mov rbx, rcx
lea rdx, [rcx + 0x30]
mov r8b, 1
lea rcx, [rbp + 0x20]
call fcn.140022a08
nop
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x68]
xor esi, esi
test al, al
je 0x140031f85
mov dword [rbp], esi
mov dword [rbp + 4], esi
mov rbx, qword [rbx + 0x10]
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 0x1f0]
mov rdx, rax
lea rax, [rbp]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rsi
lea r9, [rbp + 4]
xor r8d, r8d
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
sete bl
lea rcx, [rbp + 0x20]
call fcn.140022a60
mov al, bl
jmp 0x140032041
mov qword [rbp + 0x78], 7
mov qword [rbp + 0x70], rsi
mov word [rbp + 0x60], si
cmp word [0x1400a6650], si
jne 0x140031fa3
mov rax, rsi
jmp 0x140031faf
lea rcx, [0x1400a6650]
call fcn.140065418
mov r8, rax
lea rdx, [0x1400a6650]
lea rcx, [rbp + 0x60]
call fcn.1400045d0
nop
mov qword [rbp + 0x98], 0xf
mov qword [rbp + 0x90], rsi
mov byte [rbp + 0x80], sil
lea rcx, str..._nsRegistry.cpp
call fcn.1400657f0
mov r8, rax
lea rdx, str..._nsRegistry.cpp
lea rcx, [rbp + 0x80]
call fcn.140004720
nop
mov ecx, 0x3f2
call fcn.140023e14
mov edx, eax
lea rax, [rbp + 0x60]
mov qword [rsp + 0x20], rax
mov r9d, 0x1ff
lea r8, [rbp + 0x80]
lea rcx, [rbp + 0xa0]
call fcn.1400230c8
lea rdx, [0x1400c7a90]
lea rcx, [rbp + 0xa0]
call fcn.14005ba94
nop
mov rcx, qword [rbp + 0x100]
xor rcx, rsp
call fcn.140058630
mov rbx, qword [rsp + 0x190]
add rsp, 0x160
pop rdi
pop rsi
pop rbp
ret
Function at 0x140035118
Capabilities:
Set registry value

Disassembly:
mov rax, rsp
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x140
mov qword [rsp + 0x138], 0xfffffffffffffffe
mov qword [rax + 0x20], rbx
lea rbp, [rsp + 0x50]
and rbp, 0xffffffffffffffe0
mov rax, qword [0x1400ca118]
xor rax, rsp
mov qword [rbp + 0xe0], rax
mov rbx, r8
mov r14, rdx
mov rsi, rcx
lea rdx, [rcx + 0x30]
mov r8b, 1
lea rcx, [rbp]
call fcn.140022a08
nop
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 0x68]
xor r15d, r15d
test al, al
je 0x140035281
mov rdi, qword [rbx + 8]
mov rsi, qword [rsi + 0x10]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x28]
mov rbx, rax
mov rdx, qword [r14]
mov rcx, r14
call qword [rdx + 0x1f0]
mov rdx, rax
mov dword [rsp + 0x28], ebx
mov qword [rsp + 0x20], rdi
lea r9d, [r15 + 3]
xor r8d, r8d
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov ebx, eax
test eax, eax
je 0x140035273
mov qword [rbp + 0x58], 7
mov qword [rbp + 0x50], r15
mov word [rbp + 0x40], r15w
cmp word [0x1400a6650], r15w
jne 0x1400351e7
mov eax, r15d
jmp 0x1400351f3
lea rcx, [0x1400a6650]
call fcn.140065418
mov r8, rax
lea rdx, [0x1400a6650]
lea rcx, [rbp + 0x40]
call fcn.1400045d0
nop
mov qword [rbp + 0x78], 0xf
mov qword [rbp + 0x70], r15
mov byte [rbp + 0x60], r15b
lea rcx, str..._nsRegistry.cpp
call fcn.1400657f0
mov r8, rax
lea rdx, str..._nsRegistry.cpp
lea rcx, [rbp + 0x60]
call fcn.140004720
nop
mov ecx, ebx
call fcn.140023e14
mov edx, eax
lea rax, [rbp + 0x40]
mov qword [rsp + 0x20], rax
mov r9d, 0x478
lea r8, [rbp + 0x60]
lea rcx, [rbp + 0x80]
call fcn.1400230c8
lea rdx, [0x1400c7a90]
lea rcx, [rbp + 0x80]
call fcn.14005ba94
nop
lea rcx, [rbp]
call fcn.140022a60
jmp 0x140035330
mov qword [rbp + 0x78], 7
mov qword [rbp + 0x70], r15
mov word [rbp + 0x60], r15w
cmp word [0x1400a6650], r15w
jne 0x1400352a1
mov rax, r15
jmp 0x1400352ad
lea rcx, [0x1400a6650]
call fcn.140065418
mov r8, rax
lea rdx, [0x1400a6650]
lea rcx, [rbp + 0x60]
call fcn.1400045d0
nop
mov qword [rbp + 0x58], 0xf
mov qword [rbp + 0x50], r15
mov byte [rbp + 0x40], r15b
lea rcx, str..._nsRegistry.cpp
call fcn.1400657f0
mov r8, rax
lea rdx, str..._nsRegistry.cpp
lea rcx, [rbp + 0x40]
call fcn.140004720
nop
mov ecx, 0x3f2
call fcn.140023e14
mov edx, eax
lea rax, [rbp + 0x60]
mov qword [rsp + 0x20], rax
mov r9d, 0x47d
lea r8, [rbp + 0x40]
lea rcx, [rbp + 0x80]
call fcn.1400230c8
lea rdx, [0x1400c7a90]
lea rcx, [rbp + 0x80]
call fcn.14005ba94
nop
mov rcx, qword [rbp + 0xe0]
xor rcx, rsp
call fcn.140058630
mov rbx, qword [rsp + 0x188]
add rsp, 0x140
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
Function at 0x140035358
Capabilities:
Set registry value

Disassembly:
mov rax, rsp
push rbp
push rsi
push rdi
sub rsp, 0x160
mov qword [rsp + 0x158], 0xfffffffffffffffe
mov qword [rax + 0x20], rbx
lea rbp, [rsp + 0x50]
and rbp, 0xffffffffffffffe0
mov rax, qword [0x1400ca118]
xor rax, rsp
mov qword [rbp + 0x100], rax
mov rdi, rdx
mov rbx, rcx
mov dword [rbp], r8d
lea rdx, [rcx + 0x30]
mov r8b, 1
lea rcx, [rbp + 0x20]
call fcn.140022a08
nop
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x68]
xor esi, esi
test al, al
je 0x1400354be
mov rbx, qword [rbx + 0x10]
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 0x1f0]
mov rdx, rax
lea r9d, [rsi + 4]
mov dword [rsp + 0x28], r9d
lea rax, [rbp]
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov ebx, eax
test eax, eax
je 0x1400354b0
mov qword [rbp + 0x78], 7
mov qword [rbp + 0x70], rsi
mov word [rbp + 0x60], si
cmp word [0x1400a6650], si
jne 0x140035415
mov eax, esi
jmp 0x140035421
lea rcx, [0x1400a6650]
call fcn.140065418
mov r8, rax
lea rdx, [0x1400a6650]
lea rcx, [rbp + 0x60]
call fcn.1400045d0
nop
mov qword [rbp + 0x98], 0xf
mov qword [rbp + 0x90], rsi
mov byte [rbp + 0x80], sil
lea rcx, str..._nsRegistry.cpp
call fcn.1400657f0
mov r8, rax
lea rdx, str..._nsRegistry.cpp
lea rcx, [rbp + 0x80]
call fcn.140004720
nop
mov ecx, ebx
call fcn.140023e14
mov edx, eax
lea rax, [rbp + 0x60]
mov qword [rsp + 0x20], rax
mov r9d, 0x3f9
lea r8, [rbp + 0x80]
lea rcx, [rbp + 0xa0]
call fcn.1400230c8
lea rdx, [0x1400c7a90]
lea rcx, [rbp + 0xa0]
call fcn.14005ba94
nop
lea rcx, [rbp + 0x20]
call fcn.140022a60
jmp 0x14003557a
mov qword [rbp + 0x98], 7
mov qword [rbp + 0x90], rsi
mov word [rbp + 0x80], si
cmp word [0x1400a6650], si
jne 0x1400354e5
mov rax, rsi
jmp 0x1400354f1
lea rcx, [0x1400a6650]
call fcn.140065418
mov r8, rax
lea rdx, [0x1400a6650]
lea rcx, [rbp + 0x80]
call fcn.1400045d0
nop
mov qword [rbp + 0x78], 0xf
mov qword [rbp + 0x70], rsi
mov byte [rbp + 0x60], sil
lea rcx, str..._nsRegistry.cpp
call fcn.1400657f0
mov r8, rax
lea rdx, str..._nsRegistry.cpp
lea rcx, [rbp + 0x60]
call fcn.140004720
nop
mov ecx, 0x3f2
call fcn.140023e14
mov edx, eax
lea rax, [rbp + 0x80]
mov qword [rsp + 0x20], rax
mov r9d, 0x3fe
lea r8, [rbp + 0x60]
lea rcx, [rbp + 0xa0]
call fcn.1400230c8
lea rdx, [0x1400c7a90]
lea rcx, [rbp + 0xa0]
call fcn.14005ba94
nop
mov rcx, qword [rbp + 0x100]
xor rcx, rsp
call fcn.140058630
mov rbx, qword [rsp + 0x198]
add rsp, 0x160
pop rdi
pop rsi
pop rbp
ret
Function at 0x140035bf0
Capabilities:
Set registry value

Disassembly:
mov rax, rsp
push rbp
push rsi
push rdi
sub rsp, 0x160
mov qword [rsp + 0x158], 0xfffffffffffffffe
mov qword [rax + 0x20], rbx
lea rbp, [rsp + 0x50]
and rbp, 0xffffffffffffffe0
mov rax, qword [0x1400ca118]
xor rax, rsp
mov qword [rbp + 0x100], rax
mov rdi, rdx
mov rbx, rcx
mov qword [rbp], r8
lea rdx, [rcx + 0x30]
mov r8b, 1
lea rcx, [rbp + 0x20]
call fcn.140022a08
nop
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x68]
xor esi, esi
test al, al
je 0x140035d59
mov rbx, qword [rbx + 0x10]
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 0x1f0]
mov rdx, rax
mov dword [rsp + 0x28], 8
lea rax, [rbp]
mov qword [rsp + 0x20], rax
lea r9d, [rsi + 0xb]
xor r8d, r8d
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov ebx, eax
test eax, eax
je 0x140035d4b
mov qword [rbp + 0x78], 7
mov qword [rbp + 0x70], rsi
mov word [rbp + 0x60], si
cmp word [0x1400a6650], si
jne 0x140035cb0
mov eax, esi
jmp 0x140035cbc
lea rcx, [0x1400a6650]
call fcn.140065418
mov r8, rax
lea rdx, [0x1400a6650]
lea rcx, [rbp + 0x60]
call fcn.1400045d0
nop
mov qword [rbp + 0x98], 0xf
mov qword [rbp + 0x90], rsi
mov byte [rbp + 0x80], sil
lea rcx, str..._nsRegistry.cpp
call fcn.1400657f0
mov r8, rax
lea rdx, str..._nsRegistry.cpp
lea rcx, [rbp + 0x80]
call fcn.140004720
nop
mov ecx, ebx
call fcn.140023e14
mov edx, eax
lea rax, [rbp + 0x60]
mov qword [rsp + 0x20], rax
mov r9d, 0x411
lea r8, [rbp + 0x80]
lea rcx, [rbp + 0xa0]
call fcn.1400230c8
lea rdx, [0x1400c7a90]
lea rcx, [rbp + 0xa0]
call fcn.14005ba94
nop
lea rcx, [rbp + 0x20]
call fcn.140022a60
jmp 0x140035e15
mov qword [rbp + 0x98], 7
mov qword [rbp + 0x90], rsi
mov word [rbp + 0x80], si
cmp word [0x1400a6650], si
jne 0x140035d80
mov rax, rsi
jmp 0x140035d8c
lea rcx, [0x1400a6650]
call fcn.140065418
mov r8, rax
lea rdx, [0x1400a6650]
lea rcx, [rbp + 0x80]
call fcn.1400045d0
nop
mov qword [rbp + 0x78], 0xf
mov qword [rbp + 0x70], rsi
mov byte [rbp + 0x60], sil
lea rcx, str..._nsRegistry.cpp
call fcn.1400657f0
mov r8, rax
lea rdx, str..._nsRegistry.cpp
lea rcx, [rbp + 0x60]
call fcn.140004720
nop
mov ecx, 0x3f2
call fcn.140023e14
mov edx, eax
lea rax, [rbp + 0x80]
mov qword [rsp + 0x20], rax
mov r9d, 0x416
lea r8, [rbp + 0x60]
lea rcx, [rbp + 0xa0]
call fcn.1400230c8
lea rdx, [0x1400c7a90]
lea rcx, [rbp + 0xa0]
call fcn.14005ba94
nop
mov rcx, qword [rbp + 0x100]
xor rcx, rsp
call fcn.140058630
mov rbx, qword [rsp + 0x198]
add rsp, 0x160
pop rdi
pop rsi
pop rbp
ret
Function at 0x140035e38
Capabilities:
Set registry value

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x148
mov qword [rsp + 0x138], 0xfffffffffffffffe
lea rbp, [rsp + 0x50]
and rbp, 0xffffffffffffffe0
mov rax, qword [0x1400ca118]
xor rax, rsp
mov qword [rbp + 0xe0], rax
mov r12b, r9b
mov rbx, r8
mov r15, rdx
mov rsi, rcx
lea rdx, [rcx + 0x30]
mov r8b, 1
lea rcx, [rbp]
call fcn.140022a08
nop
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 0x68]
xor r13d, r13d
test al, al
je 0x140035fc3
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x28]
test rax, rax
lea r14d, [rax*2 + 2]
jne 0x140035ebc
mov r14d, r13d
mov rsi, qword [rsi + 0x10]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x218]
mov rdi, rax
neg r12b
sbb ebx, ebx
neg ebx
mov rdx, qword [r15]
mov rcx, r15
call qword [rdx + 0x1f0]
mov rdx, rax
mov dword [rsp + 0x28], r14d
mov qword [rsp + 0x20], rdi
lea r9d, [rbx + 1]
xor r8d, r8d
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov ebx, eax
test eax, eax
je 0x140035fb5
mov qword [rbp + 0x58], 7
mov qword [rbp + 0x50], r13
mov word [rbp + 0x40], r13w
cmp word [0x1400a6650], r13w
jne 0x140035f29
mov rax, r13
jmp 0x140035f35
lea rcx, [0x1400a6650]
call fcn.140065418
mov r8, rax
lea rdx, [0x1400a6650]
lea rcx, [rbp + 0x40]
call fcn.1400045d0
nop
mov qword [rbp + 0x78], 0xf
mov qword [rbp + 0x70], r13
mov byte [rbp + 0x60], r13b
lea rcx, str..._nsRegistry.cpp
call fcn.1400657f0
mov r8, rax
lea rdx, str..._nsRegistry.cpp
lea rcx, [rbp + 0x60]
call fcn.140004720
nop
mov ecx, ebx
call fcn.140023e14
mov edx, eax
lea rax, [rbp + 0x40]
mov qword [rsp + 0x20], rax
mov r9d, 0x42c
lea r8, [rbp + 0x60]
lea rcx, [rbp + 0x80]
call fcn.1400230c8
lea rdx, [0x1400c7a90]
lea rcx, [rbp + 0x80]
call fcn.14005ba94
nop
lea rcx, [rbp]
call fcn.140022a60
jmp 0x140036072
mov qword [rbp + 0x78], 7
mov qword [rbp + 0x70], r13
mov word [rbp + 0x60], r13w
cmp word [0x1400a6650], r13w
jne 0x140035fe3
mov rax, r13
jmp 0x140035fef
lea rcx, [0x1400a6650]
call fcn.140065418
mov r8, rax
lea rdx, [0x1400a6650]
lea rcx, [rbp + 0x60]
call fcn.1400045d0
nop
mov qword [rbp + 0x58], 0xf
mov qword [rbp + 0x50], r13
mov byte [rbp + 0x40], r13b
lea rcx, str..._nsRegistry.cpp
call fcn.1400657f0
mov r8, rax
lea rdx, str..._nsRegistry.cpp
lea rcx, [rbp + 0x40]
call fcn.140004720
nop
mov ecx, 0x3f2
call fcn.140023e14
mov edx, eax
lea rax, [rbp + 0x60]
mov qword [rsp + 0x20], rax
mov r9d, 0x431
lea r8, [rbp + 0x40]
lea rcx, [rbp + 0x80]
call fcn.1400230c8
lea rdx, [0x1400c7a90]
lea rcx, [rbp + 0x80]
call fcn.14005ba94
nop
mov rcx, qword [rbp + 0xe0]
xor rcx, rsp
call fcn.140058630
add rsp, 0x148
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
Function at 0x14004d82c
Capabilities:
Modify service

Disassembly:
mov rax, rsp
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xf0
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov rax, qword [0x1400ca118]
xor rax, rsp
mov qword [rbp + 0x27], rax
mov rsi, rdx
mov rdi, rcx
lea rdx, str..._nsService.cpp
lea rcx, [rsp + 0x38]
call fcn.140009aa8
nop
lea r14, [rdi + 0x40]
mov rbx, qword [r14]
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0x1e8]
mov r8, rax
mov r9d, 0x748
lea rdx, str.ChangeDelayedAutoStart___s:_d_
mov rcx, r14
call qword [rbx + 0x128]
nop
lea rcx, [rsp + 0x38]
call fcn.14000a3b0
mov rbx, qword [rsi + 8]
lea rcx, [rdi + 0x2f0]
call fcn.14004cbe8
mov r8, rbx
mov edx, 3
mov rcx, qword [rax + 8]
call qword [sym.imp.ADVAPI32.dll_ChangeServiceConfig2W]
xor r15d, r15d
test eax, eax
jne 0x14004d9dd
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
lea rdx, str..._nsService.cpp
lea rcx, [rsp + 0x38]
call fcn.140009aa8
nop
mov rdi, qword [r14]
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0x1e8]
mov rbx, rax
mov ecx, esi
call fcn.140023e14
mov r8d, eax
mov dword [rsp + 0x20], 0x74d
mov r9, rbx
lea rdx, str.ChangeDelayedAutoStart0x_x___s:_d_
mov rcx, r14
call qword [rdi + 0x130]
nop
lea rcx, [rsp + 0x38]
call fcn.14000a3b0
mov qword [rbp - 0x69], 7
mov qword [rbp - 0x71], r15
mov word [rsp + 0x38], r15w
cmp word [0x1400a6650], r15w
jne 0x14004d955
mov eax, r15d
jmp 0x14004d961
lea rcx, [0x1400a6650]
call fcn.140065418
mov r8, rax
lea rdx, [0x1400a6650]
lea rcx, [rsp + 0x38]
call fcn.1400045d0
nop
mov qword [rbp - 0x49], 0xf
mov qword [rbp - 0x51], r15
mov byte [rbp - 0x61], r15b
lea rcx, str..._nsService.cpp
call fcn.1400657f0
mov r8, rax
lea rdx, str..._nsService.cpp
lea rcx, [rbp - 0x61]
call fcn.140004720
nop
mov ecx, esi
call fcn.140023e14
mov edx, eax
lea rax, [rsp + 0x38]
mov qword [rsp + 0x20], rax
mov r9d, 0x74e
lea r8, [rbp - 0x61]
lea rcx, [rbp - 0x39]
call fcn.1400230c8
lea rdx, [0x1400c7a90]
lea rcx, [rbp - 0x39]
call fcn.14005ba94
nop
mov rcx, qword [rbp + 0x27]
xor rcx, rsp
call fcn.140058630
mov rbx, qword [rsp + 0x130]
add rsp, 0xf0
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
Function at 0x14004da00
Capabilities:
Modify service

Disassembly:
mov rax, rsp
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xf0
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov rax, qword [0x1400ca118]
xor rax, rsp
mov qword [rbp + 0x27], rax
mov rsi, rdx
mov rdi, rcx
lea rdx, str..._nsService.cpp
lea rcx, [rsp + 0x38]
call fcn.140009aa8
nop
lea r14, [rdi + 0x40]
mov rbx, qword [r14]
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0x1e8]
mov r8, rax
mov r9d, 0x703
lea rdx, str.ChangeServiceFailureActions___s:_d_
mov rcx, r14
call qword [rbx + 0x128]
nop
lea rcx, [rsp + 0x38]
call fcn.14000a3b0
mov rbx, qword [rsi + 8]
lea rcx, [rdi + 0x2f0]
call fcn.14004cbe8
mov r8, rbx
mov edx, 2
mov rcx, qword [rax + 8]
call qword [sym.imp.ADVAPI32.dll_ChangeServiceConfig2W]
xor r15d, r15d
test eax, eax
jne 0x14004dbb1
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
lea rdx, str..._nsService.cpp
lea rcx, [rsp + 0x38]
call fcn.140009aa8
nop
mov rdi, qword [r14]
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0x1e8]
mov rbx, rax
mov ecx, esi
call fcn.140023e14
mov r8d, eax
mov dword [rsp + 0x20], 0x708
mov r9, rbx
lea rdx, str.QueryServiceConfig20x_x___s:_d_
mov rcx, r14
call qword [rdi + 0x130]
nop
lea rcx, [rsp + 0x38]
call fcn.14000a3b0
mov qword [rbp - 0x69], 7
mov qword [rbp - 0x71], r15
mov word [rsp + 0x38], r15w
cmp word [0x1400a6650], r15w
jne 0x14004db29
mov eax, r15d
jmp 0x14004db35
lea rcx, [0x1400a6650]
call fcn.140065418
mov r8, rax
lea rdx, [0x1400a6650]
lea rcx, [rsp + 0x38]
call fcn.1400045d0
nop
mov qword [rbp - 0x49], 0xf
mov qword [rbp - 0x51], r15
mov byte [rbp - 0x61], r15b
lea rcx, str..._nsService.cpp
call fcn.1400657f0
mov r8, rax
lea rdx, str..._nsService.cpp
lea rcx, [rbp - 0x61]
call fcn.140004720
nop
mov ecx, esi
call fcn.140023e14
mov edx, eax
lea rax, [rsp + 0x38]
mov qword [rsp + 0x20], rax
mov r9d, 0x709
lea r8, [rbp - 0x61]
lea rcx, [rbp - 0x39]
call fcn.1400230c8
lea rdx, [0x1400c7a90]
lea rcx, [rbp - 0x39]
call fcn.14005ba94
nop
mov rcx, qword [rbp + 0x27]
xor rcx, rsp
call fcn.140058630
mov rbx, qword [rsp + 0x130]
add rsp, 0xf0
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret