joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140030d48
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 [0x1400c9118]
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.140022784
nop
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x68]
xor esi, esi
test al, al
je 0x140030e86
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 0x140030e78
mov qword [rbp + 0x58], 7
mov qword [rbp + 0x50], rsi
mov word [rbp + 0x40], si
cmp word [0x1400a54e0], si
jne 0x140030dec
mov eax, esi
jmp 0x140030df8
lea rcx, [0x1400a54e0]
call fcn.140065008
mov r8, rax
lea rdx, [0x1400a54e0]
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.1400653e0
mov r8, rax
lea rdx, str..._nsRegistry.cpp
lea rcx, [rbp + 0x60]
call fcn.140004720
nop
mov ecx, ebx
call fcn.140023b78
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.140022e44
lea rdx, [0x1400c67e8]
lea rcx, [rbp + 0x80]
call fcn.14005b684
nop
lea rcx, [rbp]
call fcn.1400227dc
jmp 0x140030f33
mov qword [rbp + 0x78], 7
mov qword [rbp + 0x70], rsi
mov word [rbp + 0x60], si
cmp word [0x1400a54e0], si
jne 0x140030ea4
mov rax, rsi
jmp 0x140030eb0
lea rcx, [0x1400a54e0]
call fcn.140065008
mov r8, rax
lea rdx, [0x1400a54e0]
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.1400653e0
mov r8, rax
lea rdx, str..._nsRegistry.cpp
lea rcx, [rbp + 0x40]
call fcn.140004720
nop
mov ecx, 0x3f2
call fcn.140023b78
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.140022e44
lea rdx, [0x1400c67e8]
lea rcx, [rbp + 0x80]
call fcn.14005b684
nop
mov rcx, qword [rbp + 0xe0]
xor rcx, rsp
call fcn.140058200
mov rbx, qword [rsp + 0x170]
add rsp, 0x140
pop rdi
pop rsi
pop rbp
ret
Function at 0x140030f58
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 [0x1400c9118]
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.140022784
nop
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x68]
xor esi, esi
test al, al
je 0x140031096
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 0x140031088
mov qword [rbp + 0x58], 7
mov qword [rbp + 0x50], rsi
mov word [rbp + 0x40], si
cmp word [0x1400a54e0], si
jne 0x140030ffc
mov eax, esi
jmp 0x140031008
lea rcx, [0x1400a54e0]
call fcn.140065008
mov r8, rax
lea rdx, [0x1400a54e0]
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.1400653e0
mov r8, rax
lea rdx, str..._nsRegistry.cpp
lea rcx, [rbp + 0x60]
call fcn.140004720
nop
mov ecx, ebx
call fcn.140023b78
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.140022e44
lea rdx, [0x1400c67e8]
lea rcx, [rbp + 0x80]
call fcn.14005b684
nop
lea rcx, [rbp]
call fcn.1400227dc
jmp 0x140031143
mov qword [rbp + 0x78], 7
mov qword [rbp + 0x70], rsi
mov word [rbp + 0x60], si
cmp word [0x1400a54e0], si
jne 0x1400310b4
mov rax, rsi
jmp 0x1400310c0
lea rcx, [0x1400a54e0]
call fcn.140065008
mov r8, rax
lea rdx, [0x1400a54e0]
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.1400653e0
mov r8, rax
lea rdx, str..._nsRegistry.cpp
lea rcx, [rbp + 0x40]
call fcn.140004720
nop
mov ecx, 0x3f2
call fcn.140023b78
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.140022e44
lea rdx, [0x1400c67e8]
lea rcx, [rbp + 0x80]
call fcn.14005b684
nop
mov rcx, qword [rbp + 0xe0]
xor rcx, rsp
call fcn.140058200
mov rbx, qword [rsp + 0x170]
add rsp, 0x140
pop rdi
pop rsi
pop rbp
ret
Function at 0x140031f58
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 [0x1400c9118]
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.140022784
nop
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x68]
xor esi, esi
test al, al
je 0x140032001
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.1400227dc
mov al, bl
jmp 0x1400320bd
mov qword [rbp + 0x78], 7
mov qword [rbp + 0x70], rsi
mov word [rbp + 0x60], si
cmp word [0x1400a54e0], si
jne 0x14003201f
mov rax, rsi
jmp 0x14003202b
lea rcx, [0x1400a54e0]
call fcn.140065008
mov r8, rax
lea rdx, [0x1400a54e0]
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.1400653e0
mov r8, rax
lea rdx, str..._nsRegistry.cpp
lea rcx, [rbp + 0x80]
call fcn.140004720
nop
mov ecx, 0x3f2
call fcn.140023b78
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.140022e44
lea rdx, [0x1400c67e8]
lea rcx, [rbp + 0xa0]
call fcn.14005b684
nop
mov rcx, qword [rbp + 0x100]
xor rcx, rsp
call fcn.140058200
mov rbx, qword [rsp + 0x190]
add rsp, 0x160
pop rdi
pop rsi
pop rbp
ret
Function at 0x140035198
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 [0x1400c9118]
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.140022784
nop
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 0x68]
xor r15d, r15d
test al, al
je 0x140035301
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 0x1400352f3
mov qword [rbp + 0x58], 7
mov qword [rbp + 0x50], r15
mov word [rbp + 0x40], r15w
cmp word [0x1400a54e0], r15w
jne 0x140035267
mov eax, r15d
jmp 0x140035273
lea rcx, [0x1400a54e0]
call fcn.140065008
mov r8, rax
lea rdx, [0x1400a54e0]
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.1400653e0
mov r8, rax
lea rdx, str..._nsRegistry.cpp
lea rcx, [rbp + 0x60]
call fcn.140004720
nop
mov ecx, ebx
call fcn.140023b78
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.140022e44
lea rdx, [0x1400c67e8]
lea rcx, [rbp + 0x80]
call fcn.14005b684
nop
lea rcx, [rbp]
call fcn.1400227dc
jmp 0x1400353b0
mov qword [rbp + 0x78], 7
mov qword [rbp + 0x70], r15
mov word [rbp + 0x60], r15w
cmp word [0x1400a54e0], r15w
jne 0x140035321
mov rax, r15
jmp 0x14003532d
lea rcx, [0x1400a54e0]
call fcn.140065008
mov r8, rax
lea rdx, [0x1400a54e0]
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.1400653e0
mov r8, rax
lea rdx, str..._nsRegistry.cpp
lea rcx, [rbp + 0x40]
call fcn.140004720
nop
mov ecx, 0x3f2
call fcn.140023b78
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.140022e44
lea rdx, [0x1400c67e8]
lea rcx, [rbp + 0x80]
call fcn.14005b684
nop
mov rcx, qword [rbp + 0xe0]
xor rcx, rsp
call fcn.140058200
mov rbx, qword [rsp + 0x188]
add rsp, 0x140
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
Function at 0x1400353d8
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 [0x1400c9118]
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.140022784
nop
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x68]
xor esi, esi
test al, al
je 0x14003553e
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 0x140035530
mov qword [rbp + 0x78], 7
mov qword [rbp + 0x70], rsi
mov word [rbp + 0x60], si
cmp word [0x1400a54e0], si
jne 0x140035495
mov eax, esi
jmp 0x1400354a1
lea rcx, [0x1400a54e0]
call fcn.140065008
mov r8, rax
lea rdx, [0x1400a54e0]
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.1400653e0
mov r8, rax
lea rdx, str..._nsRegistry.cpp
lea rcx, [rbp + 0x80]
call fcn.140004720
nop
mov ecx, ebx
call fcn.140023b78
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.140022e44
lea rdx, [0x1400c67e8]
lea rcx, [rbp + 0xa0]
call fcn.14005b684
nop
lea rcx, [rbp + 0x20]
call fcn.1400227dc
jmp 0x1400355fa
mov qword [rbp + 0x98], 7
mov qword [rbp + 0x90], rsi
mov word [rbp + 0x80], si
cmp word [0x1400a54e0], si
jne 0x140035565
mov rax, rsi
jmp 0x140035571
lea rcx, [0x1400a54e0]
call fcn.140065008
mov r8, rax
lea rdx, [0x1400a54e0]
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.1400653e0
mov r8, rax
lea rdx, str..._nsRegistry.cpp
lea rcx, [rbp + 0x60]
call fcn.140004720
nop
mov ecx, 0x3f2
call fcn.140023b78
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.140022e44
lea rdx, [0x1400c67e8]
lea rcx, [rbp + 0xa0]
call fcn.14005b684
nop
mov rcx, qword [rbp + 0x100]
xor rcx, rsp
call fcn.140058200
mov rbx, qword [rsp + 0x198]
add rsp, 0x160
pop rdi
pop rsi
pop rbp
ret
Function at 0x140035c70
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 [0x1400c9118]
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.140022784
nop
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x68]
xor esi, esi
test al, al
je 0x140035dd9
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 0x140035dcb
mov qword [rbp + 0x78], 7
mov qword [rbp + 0x70], rsi
mov word [rbp + 0x60], si
cmp word [0x1400a54e0], si
jne 0x140035d30
mov eax, esi
jmp 0x140035d3c
lea rcx, [0x1400a54e0]
call fcn.140065008
mov r8, rax
lea rdx, [0x1400a54e0]
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.1400653e0
mov r8, rax
lea rdx, str..._nsRegistry.cpp
lea rcx, [rbp + 0x80]
call fcn.140004720
nop
mov ecx, ebx
call fcn.140023b78
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.140022e44
lea rdx, [0x1400c67e8]
lea rcx, [rbp + 0xa0]
call fcn.14005b684
nop
lea rcx, [rbp + 0x20]
call fcn.1400227dc
jmp 0x140035e95
mov qword [rbp + 0x98], 7
mov qword [rbp + 0x90], rsi
mov word [rbp + 0x80], si
cmp word [0x1400a54e0], si
jne 0x140035e00
mov rax, rsi
jmp 0x140035e0c
lea rcx, [0x1400a54e0]
call fcn.140065008
mov r8, rax
lea rdx, [0x1400a54e0]
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.1400653e0
mov r8, rax
lea rdx, str..._nsRegistry.cpp
lea rcx, [rbp + 0x60]
call fcn.140004720
nop
mov ecx, 0x3f2
call fcn.140023b78
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.140022e44
lea rdx, [0x1400c67e8]
lea rcx, [rbp + 0xa0]
call fcn.14005b684
nop
mov rcx, qword [rbp + 0x100]
xor rcx, rsp
call fcn.140058200
mov rbx, qword [rsp + 0x198]
add rsp, 0x160
pop rdi
pop rsi
pop rbp
ret
Function at 0x140035eb8
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 [0x1400c9118]
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.140022784
nop
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 0x68]
xor r13d, r13d
test al, al
je 0x140036043
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x28]
test rax, rax
lea r14d, [rax*2 + 2]
jne 0x140035f3c
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 0x140036035
mov qword [rbp + 0x58], 7
mov qword [rbp + 0x50], r13
mov word [rbp + 0x40], r13w
cmp word [0x1400a54e0], r13w
jne 0x140035fa9
mov rax, r13
jmp 0x140035fb5
lea rcx, [0x1400a54e0]
call fcn.140065008
mov r8, rax
lea rdx, [0x1400a54e0]
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.1400653e0
mov r8, rax
lea rdx, str..._nsRegistry.cpp
lea rcx, [rbp + 0x60]
call fcn.140004720
nop
mov ecx, ebx
call fcn.140023b78
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.140022e44
lea rdx, [0x1400c67e8]
lea rcx, [rbp + 0x80]
call fcn.14005b684
nop
lea rcx, [rbp]
call fcn.1400227dc
jmp 0x1400360f2
mov qword [rbp + 0x78], 7
mov qword [rbp + 0x70], r13
mov word [rbp + 0x60], r13w
cmp word [0x1400a54e0], r13w
jne 0x140036063
mov rax, r13
jmp 0x14003606f
lea rcx, [0x1400a54e0]
call fcn.140065008
mov r8, rax
lea rdx, [0x1400a54e0]
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.1400653e0
mov r8, rax
lea rdx, str..._nsRegistry.cpp
lea rcx, [rbp + 0x40]
call fcn.140004720
nop
mov ecx, 0x3f2
call fcn.140023b78
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.140022e44
lea rdx, [0x1400c67e8]
lea rcx, [rbp + 0x80]
call fcn.14005b684
nop
mov rcx, qword [rbp + 0xe0]
xor rcx, rsp
call fcn.140058200
add rsp, 0x148
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
Function at 0x140037830
Capabilities:
Get hostname

Disassembly:
mov qword [rsp + 8], rcx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov qword [rbp - 0x28], 0xfffffffffffffffe
mov qword [rsp + 0x70], rbx
mov rbx, rcx
and dword [rbp - 0x30], 0
call fcn.140009b88
mov dword [rbp - 0x30], 1
mov ecx, 0x10
mov dword [rbp + 0x18], ecx
lea eax, [rcx - 0xe]
mul rcx
mov rcx, 0xffffffffffffffff
cmovo rax, rcx
mov rcx, rax
call fcn.140058840
mov r8d, dword [rbp + 0x18]
mov rdx, rax
lea rcx, [rbp - 0x20]
call fcn.14002293c
nop
mov r8d, dword [rbp + 0x18]
add r8, r8
xor edx, edx
mov rcx, qword [rbp - 0x18]
call fcn.14005b0f0
lea rdx, [rbp + 0x18]
mov rcx, qword [rbp - 0x18]
call qword [sym.imp.KERNEL32.dll_GetComputerNameW]
mov rdx, qword [rbp - 0x18]
mov rcx, rbx
call fcn.14000aa58
mov rcx, rbx
call fcn.1400119f0
nop
lea rax, vtable.ArrayMemoryBufferPtr_wchar_t_.0
mov qword [rbp - 0x20], rax
and qword [rbp - 0x10], 0
mov rcx, qword [rbp - 0x18]
test rcx, rcx
je 0x1400378e8
call fcn.140058838
xor ecx, ecx
mov qword [rbp - 0x18], rcx
lea rax, vtable.MemoryBufferPtr_wchar_t_.0
mov qword [rbp - 0x20], rax
test rcx, rcx
je 0x140037902
mov edx, 2
call fcn.140058838
mov rax, rbx
mov rbx, qword [rsp + 0x70]
add rsp, 0x50
pop rbp
ret
Function at 0x14004d44c
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 [0x1400c9118]
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, 0x74b
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.14004c808
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 0x14004d5fd
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.140023b78
mov r8d, eax
mov dword [rsp + 0x20], 0x750
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 [0x1400a54e0], r15w
jne 0x14004d575
mov eax, r15d
jmp 0x14004d581
lea rcx, [0x1400a54e0]
call fcn.140065008
mov r8, rax
lea rdx, [0x1400a54e0]
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.1400653e0
mov r8, rax
lea rdx, str..._nsService.cpp
lea rcx, [rbp - 0x61]
call fcn.140004720
nop
mov ecx, esi
call fcn.140023b78
mov edx, eax
lea rax, [rsp + 0x38]
mov qword [rsp + 0x20], rax
mov r9d, 0x751
lea r8, [rbp - 0x61]
lea rcx, [rbp - 0x39]
call fcn.140022e44
lea rdx, [0x1400c67e8]
lea rcx, [rbp - 0x39]
call fcn.14005b684
nop
mov rcx, qword [rbp + 0x27]
xor rcx, rsp
call fcn.140058200
mov rbx, qword [rsp + 0x130]
add rsp, 0xf0
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
Function at 0x14004d620
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 [0x1400c9118]
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, 0x706
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.14004c808
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 0x14004d7d1
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.140023b78
mov r8d, eax
mov dword [rsp + 0x20], 0x70b
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 [0x1400a54e0], r15w
jne 0x14004d749
mov eax, r15d
jmp 0x14004d755
lea rcx, [0x1400a54e0]
call fcn.140065008
mov r8, rax
lea rdx, [0x1400a54e0]
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.1400653e0
mov r8, rax
lea rdx, str..._nsService.cpp
lea rcx, [rbp - 0x61]
call fcn.140004720
nop
mov ecx, esi
call fcn.140023b78
mov edx, eax
lea rax, [rsp + 0x38]
mov qword [rsp + 0x20], rax
mov r9d, 0x70c
lea r8, [rbp - 0x61]
lea rcx, [rbp - 0x39]
call fcn.140022e44
lea rdx, [0x1400c67e8]
lea rcx, [rbp - 0x39]
call fcn.14005b684
nop
mov rcx, qword [rbp + 0x27]
xor rcx, rsp
call fcn.140058200
mov rbx, qword [rsp + 0x130]
add rsp, 0xf0
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret