joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400622a0
Capabilities:
Reference sql statements

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
lea rbp, [rsp - 0x47]
sub rsp, 0xa0
mov rax, qword [0x1401c5538]
xor rax, rsp
mov qword [rbp + 0x37], rax
mov rbx, r8
mov rdi, rdx
mov qword [rbp - 0x21], rdx
xor esi, esi
mov dword [rbp - 0x39], esi
mov qword [rdx], rsi
mov qword [rdx + 8], rsi
mov qword [rdx + 0x10], rsi
mov dword [rbp - 0x39], 1
mov rdx, qword [rcx]
lea rcx, [rbp - 0x31]
call fcn.14001c0f0
nop
lea rdx, str.SELECT_name_version_FROM_UpdateFileHistory_WHERE_id__AND_confirm0
lea rcx, [rbp - 0x31]
call fcn.14001c280
mov r8, rbx
lea edx, [rsi + 1]
lea rcx, [rbp - 0x31]
call fcn.14001c180
lea rcx, [rbp - 0x31]
call fcn.14001c3a0
cmp eax, 0x64
jne 0x14006245d
xorps xmm0, xmm0
movups xmmword [rbp - 9], xmm0
mov qword [rbp + 7], rsi
mov qword [rbp + reloc.WS2_32.dll_ntohs], 0xf
mov byte [rbp - 9], 0
movups xmmword [rbp + 0x17], xmm0
mov qword [rbp + 0x27], rsi
mov qword [rbp + 0x2f], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0x17], 0
xor edx, edx
lea rcx, [rbp - 0x31]
call fcn.14001c250
mov r8, 0xffffffffffffffff
nop
inc r8
cmp byte [rax + r8], 0
jne 0x140062360
mov rdx, rax
lea rcx, [rbp - 9]
call fcn.140008c00
mov edx, 1
lea rcx, [rbp - 0x31]
call fcn.14001c250
mov r8, 0xffffffffffffffff
nop dword [rax + rax]
inc r8
cmp byte [rax + r8], 0
jne 0x140062390
mov rdx, rax
lea rcx, [rbp + 0x17]
call fcn.140008c00
mov rbx, qword [rdi + 8]
cmp rbx, qword [rdi + 0x10]
je 0x1400623d6
mov qword [rbp - 0x19], rbx
lea rdx, [rbp - 9]
mov rcx, rbx
call fcn.1400066b0
nop
lea rcx, [rbx + 0x20]
lea rdx, [rbp + 0x17]
call fcn.1400066b0
nop
add qword [rdi + 8], 0x40
jmp 0x1400623e6
lea r8, [rbp - 9]
mov rdx, rbx
mov rcx, rdi
call fcn.140061ec0
nop
mov rdx, qword [rbp + 0x2f]
cmp rdx, 0x10
jb 0x14006241d
inc rdx
mov rcx, qword [rbp + 0x17]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140062418
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140062488
call fcn.1401452fc
mov rdx, qword [rbp + 0xf]
cmp rdx, 0x10
jb 0x14006230f
inc rdx
mov rcx, qword [rbp - 9]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140062453
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140062488
call fcn.1401452fc
jmp 0x14006230f
lea rcx, [rbp - 0x31]
call fcn.14001c130
mov rax, rdi
mov rcx, qword [rbp + 0x37]
xor rcx, rsp
call fcn.1401453a0
mov rbx, qword [rsp + 0xd8]
add rsp, 0xa0
pop rdi
pop rsi
pop rbp
ret
call fcn.14014bf64
int3
Function at 0x140062f20
Capabilities:
Create process on windows

Disassembly:
mov r11, rsp
push rdi
sub rsp, 0xe0
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rsp + 0x74], xmm0
mov dword [r11 - 0x14], eax
mov rdi, rcx
mov qword [rsp + 0x60], rax
mov rdx, rcx
lea rax, [rsp + 0x50]
xor r9d, r9d
mov qword [rsp + 0x48], rax
xor r8d, r8d
lea rax, [r11 - 0x78]
xor ecx, ecx
mov qword [rsp + 0x40], rax
xor eax, eax
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rax
movups xmmword [r11 - 0x64], xmm0
mov dword [rsp + 0x28], 0x8000000
movups xmmword [r11 - 0x54], xmm0
mov dword [rsp + 0x20], eax
movups xmmword [r11 - 0x44], xmm0
movups xmmword [r11 - 0x34], xmm0
movups xmmword [r11 - 0x24], xmm0
mov dword [rsp + 0x70], WSAGetLastError
movups xmmword [rsp + 0x50], xmm0
call qword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
jne 0x140062fe3
mov qword [rsp + 0xf0], rbx
call fcn.1400726a0
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8, rdi
lea rdx, str.Utils.RunAndWait:_CreateProcess__s_failed___d
mov r9d, eax
mov rcx, rbx
call fcn.140072400
mov rbx, qword [rsp + 0xf0]
add rsp, 0xe0
pop rdi
ret
mov rcx, qword [rsp + 0x50]
mov edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
add rsp, 0xe0
pop rdi
ret
Function at 0x140063710
Capabilities:
Get file version info

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r14
sub rsp, 0x170
mov rax, qword [0x1401c5538]
xor rax, rsp
mov qword [rsp + 0x160], rax
mov rbp, rdx
mov rdi, rcx
mov qword [rsp + 0x58], rcx
mov dword [rsp + 0x48], 1
xorps xmm0, xmm0
movups xmmword [rcx], xmm0
xor r14d, r14d
mov qword [rcx + 0x10], 3
mov qword [rcx + 0x18], reloc.WS2_32.dll_ntohs
mov eax, dword [0x140175284]
mov word [rcx], ax
movzx eax, byte [0x140175286]
mov byte [rcx + 2], al
mov byte [rcx + 3], r14b
mov dword [rsp + 0x48], 1
mov dword [rsp + 0x40], r14d
lea rdx, [rsp + 0x40]
mov rcx, rbp
call sub.VERSION.dll_GetFileVersionInfoSizeA
mov ebx, eax
test eax, eax
jne 0x1400637bf
call fcn.1400726a0
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, eax
lea rdx, str.Utils.getFileVersion:_GetFileVersionInfoSize_failed___d
mov rcx, rbx
call fcn.140072400
jmp 0x140063900
mov rcx, rbx
call fcn.140145860
mov rsi, rax
test rax, rax
jne 0x1400637e8
call fcn.1400726a0
lea rdx, str.Utils.getFileVersion:_Out_of_memory
mov rcx, rax
call fcn.140072400
jmp 0x140063900
mov r9, rsi
mov r8d, ebx
mov edx, dword [rsp + 0x40]
mov rcx, rbp
call sub.VERSION.dll_GetFileVersionInfoA
test eax, eax
jne 0x140063823
call fcn.1400726a0
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, eax
lea rdx, str.Utils.getFileVersion:_GetFileVersionInfo_failed___d
mov rcx, rbx
call fcn.140072400
jmp 0x1400638f7
mov dword [rsp + 0x44], r14d
mov qword [rsp + 0x50], r14
lea r9, [rsp + 0x44]
lea r8, [rsp + 0x50]
lea rdx, [0x14017e40c]
mov rcx, rsi
call sub.VERSION.dll_VerQueryValueA
test eax, eax
jne 0x14006386f
call fcn.1400726a0
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, eax
lea rdx, str.Utils.getFileVersion:_VerQueryValueA_failed___d
mov rcx, rbx
call fcn.140072400
jmp 0x1400638f7
cmp dword [rsp + 0x44], 0
je 0x1400638f7
mov rbx, qword [rsp + 0x50]
cmp dword [rbx], 0xfeef04bd
jne 0x1400638f7
xor edx, edx
mov r8d, 0x100
lea rcx, [rsp + 0x60]
call fcn.140147800
mov r8d, dword [rbx + 0xc]
mov r9d, dword [rbx + 8]
movzx ecx, r8w
shr r8d, 0x10
movzx eax, r9w
shr r9d, 0x10
mov dword [rsp + 0x30], ecx
mov dword [rsp + 0x28], r8d
mov dword [rsp + 0x20], eax
lea r8, [0x14017e440]
mov edx, 0x100
lea rcx, [rsp + 0x60]
call fcn.140017490
lea rax, [rsp + 0x60]
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], 0
jne 0x1400638e0
lea rdx, [rsp + 0x60]
mov rcx, rdi
call fcn.140008c00
mov rcx, rsi
call fcn.1401452fc
nop
mov rax, rdi
mov rcx, qword [rsp + 0x160]
xor rcx, rsp
call fcn.1401453a0
lea r11, [rsp + 0x170]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
Function at 0x140063930
Capabilities:
Terminate process

Disassembly:
push rdi
sub rsp, 0x20
xor edx, edx
mov edi, ecx
mov r8d, ecx
lea ecx, [rdx + 1]
call qword [sym.imp.KERNEL32.dll_OpenProcess]
test rax, rax
jne 0x14006397d
mov qword [rsp + 0x30], rbx
call fcn.1400726a0
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, edi
lea rdx, str.Utils.killProcess:_Open_process_id_d_failed___d
mov r9d, eax
mov rcx, rbx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp fcn.140072400
mov edx, 1
mov rcx, rax
add rsp, 0x20
pop rdi
jmp qword [sym.imp.KERNEL32.dll_TerminateProcess]

Function at 0x140063d40
Capabilities:
Delete file

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdi, rcx
call qword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
jne 0x140063d7b
call fcn.1400726a0
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r9d, eax
mov r8, rdi
lea rdx, str.WinFwCtrl.RemoveCtrlExe:_DeleteFile__s_failed___d
mov rcx, rbx
call fcn.140072400
nop
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x140069c30
Capabilities:
Query or enumerate registry value

Disassembly:
push rbx
sub rsp, 0x170
mov rax, qword [0x1401c5538]
xor rax, rsp
mov qword [rsp + 0x160], rax
mov rcx, qword [rcx]
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x40]
lea rax, [rsp + 0x38]
mov qword [rsp + 0x38], 0
xor r8d, r8d
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x30], 8
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov ebx, eax
test eax, eax
je 0x140069c8c
cmp eax, 2
jne 0x140069caa
mov rax, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x160]
xor rcx, rsp
call fcn.1401453a0
add rsp, 0x170
pop rbx
ret
xor edx, edx
lea rcx, [rsp + 0x60]
mov r8d, 0x100
call fcn.140147800
mov r9d, ebx
lea r8, str.IS_Registry.QueryInt64Value:_RegQueryValueEx_failed___d
mov edx, 0x100
lea rcx, [rsp + 0x60]
call fcn.14001cd80
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x48]
call fcn.14001bb20
lea rdx, [0x1401bdee0]
lea rcx, [rsp + 0x48]
call fcn.1401463c0
int3

Function at 0x140069d00
Capabilities:
Query or enumerate registry value

Disassembly:
push rbx
sub rsp, 0x170
mov rax, qword [0x1401c5538]
xor rax, rsp
mov qword [rsp + 0x160], rax
mov rcx, qword [rcx]
lea rax, [rsp + 0x34]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x38]
lea rax, [rsp + 0x30]
mov dword [rsp + 0x30], 0
xor r8d, r8d
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x34], 4
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov ebx, eax
test eax, eax
je 0x140069d5b
cmp eax, 2
jne 0x140069d78
mov eax, dword [rsp + 0x30]
mov rcx, qword [rsp + 0x160]
xor rcx, rsp
call fcn.1401453a0
add rsp, 0x170
pop rbx
ret
xor edx, edx
lea rcx, [rsp + 0x60]
mov r8d, 0x100
call fcn.140147800
mov r9d, ebx
lea r8, str.IS_Registry.QueryIntValue:_RegQueryValueEx_failed___d
mov edx, 0x100
lea rcx, [rsp + 0x60]
call fcn.14001cd80
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x40]
call fcn.14001bb20
lea rdx, [0x1401bdee0]
lea rcx, [rsp + 0x40]
call fcn.1401463c0
int3
Function at 0x140069dd0
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x170
mov rax, qword [0x1401c5538]
xor rax, rsp
mov qword [rsp + 0x160], rax
xor r15d, r15d
mov qword [rsp + 0x38], rdx
mov ebx, r15d
mov dword [rsp + 0x30], r15d
mov rbp, r8
mov rsi, rdx
mov r14, rcx
nop
mov rcx, qword [r14]
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x38]
xor r8d, r8d
mov qword [rsp + 0x20], rbx
mov rdx, rbp
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov edi, eax
test eax, eax
je 0x140069e5a
mov rcx, rbx
cmp eax, 2
je 0x140069e6d
cmp eax, 0xea
jne 0x140069efa
mov edx, dword [rsp + 0x30]
call fcn.1401521e8
mov rbx, rax
jmp 0x140069e10
test rbx, rbx
jne 0x140069e89
mov ecx, dword [rsp + 0x30]
call fcn.1401514fc
mov rbx, rax
jmp 0x140069e10
call fcn.1401514e8
xorps xmm0, xmm0
movups xmmword [rsi], xmm0
mov qword [rsi + 0x10], r15
mov qword [rsi + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rsi], r15b
jmp 0x140069ed0
xorps xmm0, xmm0
xorps xmm1, xmm1
movups xmmword [rsp + 0x40], xmm0
mov r8, 0xffffffffffffffff
movdqu xmmword [rsp + 0x50], xmm1
inc r8
cmp byte [rbx + r8], r15b
jne 0x140069ea1
mov rdx, rbx
lea rcx, [rsp + 0x40]
call fcn.140003c30
mov rcx, rbx
call fcn.1401514e8
movups xmm0, xmmword [rsp + 0x40]
movups xmm1, xmmword [rsp + 0x50]
movups xmmword [rsi], xmm0
movups xmmword [rsi + 0x10], xmm1
mov rax, rsi
mov rcx, qword [rsp + 0x160]
xor rcx, rsp
call fcn.1401453a0
mov rbx, qword [rsp + 0x1b8]
add rsp, 0x170
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
call fcn.1401514e8
xor edx, edx
lea rcx, [rsp + 0x60]
mov r8d, 0x100
call fcn.140147800
mov r9d, edi
lea r8, str.IS_Registry::QueryStrValue:_RegQueryValueEx_failed___d
mov edx, 0x100
lea rcx, [rsp + 0x60]
call fcn.14001cd80
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x40]
call fcn.14001bb20
lea rdx, [0x1401bdee0]
lea rcx, [rsp + 0x40]
call fcn.1401463c0
int3

Function at 0x140069f50
Capabilities:
Set registry value

Disassembly:
push rbx
sub rsp, 0x160
mov rax, qword [0x1401c5538]
xor rax, rsp
mov qword [rsp + 0x150], rax
mov rcx, qword [rcx]
lea rax, [rsp + 0x30]
mov qword [rsp + 0x30], r8
mov r9d, reloc.WS2_32.dll_inet_addr
xor r8d, r8d
mov dword [rsp + 0x28], 8
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov ebx, eax
test eax, eax
jne 0x140069fb3
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.1401453a0
add rsp, 0x160
pop rbx
ret
xor edx, edx
lea rcx, [rsp + 0x50]
mov r8d, 0x100
call fcn.140147800
mov r9d, ebx
lea r8, str.IS_Registry.SetInt64Value:_RegSetValueEx_failed___d
mov edx, 0x100
lea rcx, [rsp + 0x50]
call fcn.14001cd80
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x38]
call fcn.14001bb20
lea rdx, [0x1401bdee0]
lea rcx, [rsp + 0x38]
call fcn.1401463c0
int3
Function at 0x14006a000
Capabilities:
Set registry value

Disassembly:
push rbx
sub rsp, 0x160
mov rax, qword [0x1401c5538]
xor rax, rsp
mov qword [rsp + 0x150], rax
mov rcx, qword [rcx]
lea rax, [rsp + 0x30]
mov dword [rsp + 0x30], r8d
mov r9d, 4
xor r8d, r8d
mov dword [rsp + 0x28], 4
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov ebx, eax
test eax, eax
jne 0x14006a063
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.1401453a0
add rsp, 0x160
pop rbx
ret
xor edx, edx
lea rcx, [rsp + 0x50]
mov r8d, 0x100
call fcn.140147800
mov r9d, ebx
lea r8, str.IS_Registry::SetIntValue:_RegSetValueEx_failed___d
mov edx, 0x100
lea rcx, [rsp + 0x50]
call fcn.14001cd80
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x38]
call fcn.14001bb20
lea rdx, [0x1401bdee0]
lea rcx, [rsp + 0x38]
call fcn.1401463c0
int3
Function at 0x14006c790
Capabilities:
Check if file exists
Get file attributes

Disassembly:
sub rsp, 0x28
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x14006c7aa
test al, 0x10
jne 0x14006c7aa
mov al, 1
add rsp, 0x28
ret
xor al, al
add rsp, 0x28
ret
Function at 0x14006cee0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
sub rsp, 0x30
xor ebp, ebp
mov rdi, rdx
mov rbx, rcx
test rdx, rdx
je 0x14006cfeb
lea edx, [rbp + 1]
mov rcx, rdi
lea r8d, [rbp + 0x10]
call qword [sym.imp.KERNEL32.dll_FindResourceA]
mov rsi, rax
test rax, rax
je 0x14006cfeb
mov rdx, rax
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov rdx, rsi
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
je 0x14006cfeb
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rsi, rax
test rax, rax
je 0x14006cfeb
lea ecx, [rbp + 0x20]
call fcn.1401452c0
mov qword [rsp + 0x58], rax
mov rdi, rax
test rax, rax
je 0x14006cfd0
xorps xmm0, xmm0
mov qword [rsp + 0x68], rbp
movups xmmword [rax], xmm0
mov dword [rax + 8], 1
lea r9, [rsp + 0x60]
mov dword [rax + 0xc], 1
lea r8, [rsp + 0x68]
lea rax, vtable.std::_Ref_count_obj2_class_FileVersionInfo_.0
mov rcx, rsi
mov qword [rdi], rax
lea rdx, [rsp + 0x58]
mov eax, 0x5c
mov qword [rdi + 0x10], rsi
mov word [rsp + 0x58], ax
call sub.VERSION.dll_VerQueryValueA
mov rax, qword [rsp + 0x68]
mov qword [rdi + 0x18], rax
lea rax, [rdi + 0x10]
mov qword [rbx], rax
mov rax, rbx
mov qword [rbx + 8], rdi
mov rbx, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
pop rsi
pop rbp
ret
lea rax, [rbp + 0x10]
mov qword [rbx + 8], rbp
mov qword [rbx], rax
mov rax, rbx
mov rbx, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
pop rsi
pop rbp
ret
xorps xmm0, xmm0
mov rax, rbx
movups xmmword [rbx], xmm0
mov qword [rbx], rbp
mov qword [rbx + 8], rbp
mov rbx, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
pop rsi
pop rbp
ret
Function at 0x1400707f0
Capabilities:
Modify service

Disassembly:
push rbx
sub rsp, 0x190
mov rax, qword [0x1401c5538]
xor rax, rsp
mov qword [rsp + 0x180], rax
mov rbx, rcx
call fcn.140070c80
mov rcx, qword [rbx + 0x10]
xor eax, eax
mov qword [rsp + 0x50], rax
mov edx, 0xffffffff
mov qword [rsp + 0x48], rax
mov r9d, edx
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], rax
lea r8d, [rax + 4]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_ChangeServiceConfigA]
test eax, eax
je 0x14007086b
mov rcx, qword [rsp + 0x180]
xor rcx, rsp
call fcn.1401453a0
add rsp, 0x190
pop rbx
ret
xor edx, edx
mov byte [rsp + 0x80], 0
mov r8d, 0xff
lea rcx, [rsp + 0x81]
call fcn.140147800
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x28], eax
lea r9, str.WinScCtrl::disable
lea rax, str.ChangeServiceConfig_failed
mov edx, 0x100
lea r8, [0x14017f800]
mov qword [rsp + 0x20], rax
lea rcx, [rsp + 0x80]
call fcn.140017490
lea rdx, [rsp + 0x80]
lea rcx, [rsp + 0x60]
call fcn.14001bb20
lea rdx, [0x1401bdee0]
lea rcx, [rsp + 0x60]
call fcn.1401463c0
int3

Function at 0x1400708f0
Capabilities:
Modify service

Disassembly:
push rbx
sub rsp, 0x190
mov rax, qword [0x1401c5538]
xor rax, rsp
mov qword [rsp + 0x180], rax
mov rbx, rcx
call fcn.140070c80
mov rcx, qword [rbx + 0x10]
xor eax, eax
mov qword [rsp + 0x50], rax
mov edx, 0xffffffff
mov qword [rsp + 0x48], rax
mov r9d, edx
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], rax
lea r8d, [rax + 2]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_ChangeServiceConfigA]
test eax, eax
je 0x14007096b
mov rcx, qword [rsp + 0x180]
xor rcx, rsp
call fcn.1401453a0
add rsp, 0x190
pop rbx
ret
xor edx, edx
mov byte [rsp + 0x80], 0
mov r8d, 0xff
lea rcx, [rsp + 0x81]
call fcn.140147800
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x28], eax
lea r9, str.WinScCtrl::enableAutoStart
lea rax, str.ChangeServiceConfig_failed
mov edx, 0x100
lea r8, [0x14017f800]
mov qword [rsp + 0x20], rax
lea rcx, [rsp + 0x80]
call fcn.140017490
lea rdx, [rsp + 0x80]
lea rcx, [rsp + 0x60]
call fcn.14001bb20
lea rdx, [0x1401bdee0]
lea rcx, [rsp + 0x60]
call fcn.1401463c0
int3
Function at 0x1400709f0
Capabilities:
Query service configuration

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x160
mov rax, qword [0x1401c5538]
xor rax, rsp
mov qword [rsp + 0x150], rax
mov rbx, rcx
call fcn.140070c80
mov rcx, qword [rbx + 0x10]
lea r9, [rsp + 0x30]
xor edi, edi
xor r8d, r8d
xor edx, edx
mov dword [rsp + 0x30], edi
call qword [sym.imp.ADVAPI32.dll_QueryServiceConfigA]
test eax, eax
jne 0x140070a53
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x140070b13
mov edx, dword [rsp + 0x30]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov rdi, rax
mov r8d, dword [rsp + 0x30]
lea r9, [rsp + 0x30]
mov rcx, qword [rbx + 0x10]
mov rdx, rdi
call qword [sym.imp.ADVAPI32.dll_QueryServiceConfigA]
mov rcx, rdi
test eax, eax
je 0x140070aa2
cmp dword [rdi + 4], 4
sete bl
call qword [sym.imp.KERNEL32.dll_LocalFree]
movzx eax, bl
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.1401453a0
mov rbx, qword [rsp + 0x178]
add rsp, 0x160
pop rdi
ret
call qword [sym.imp.KERNEL32.dll_LocalFree]
xor edx, edx
mov byte [rsp + 0x50], 0
mov r8d, 0xff
lea rcx, [rsp + 0x51]
call fcn.140147800
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x28], eax
lea r9, str.WinScCtrl::isDisable
lea rax, str.QueryServiceConfig_failed
mov edx, 0x100
lea r8, [0x14017f800]
mov qword [rsp + 0x20], rax
lea rcx, [rsp + 0x50]
call fcn.140017490
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x38]
call fcn.14001bb20
lea rdx, [0x1401bdee0]
lea rcx, [rsp + 0x38]
call fcn.1401463c0
int3
xor edx, edx
mov byte [rsp + 0x50], dil
mov r8d, 0xff
lea rcx, [rsp + 0x51]
call fcn.140147800
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x28], eax
lea r9, str.WinScCtrl::isDisable
lea rax, str.QueryServiceConfig_failed
mov edx, 0x100
lea r8, [0x14017f800]
mov qword [rsp + 0x20], rax
lea rcx, [rsp + 0x50]
call fcn.140017490
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x38]
call fcn.14001bb20
lea rdx, [0x1401bdee0]
lea rcx, [rsp + 0x38]
call fcn.1401463c0
int3

Function at 0x140070b80
Capabilities:
Query service status

Disassembly:
push rbx
sub rsp, 0x190
mov rax, qword [0x1401c5538]
xor rax, rsp
mov qword [rsp + 0x180], rax
mov rbx, rcx
call fcn.140070c80
mov rcx, qword [rbx + 0x10]
lea r8, [rsp + 0x50]
xor eax, eax
xorps xmm0, xmm0
mov dword [rsp + 0x70], eax
mov r9d, 0x24
lea rax, [rsp + 0x30]
xor edx, edx
mov qword [rsp + 0x20], rax
movups xmmword [rsp + 0x50], xmm0
movups xmmword [rsp + 0x60], xmm0
call qword [sym.imp.ADVAPI32.dll_QueryServiceStatusEx]
test eax, eax
je 0x140070bfc
cmp dword [rsp + 0x54], 1
sete al
mov rcx, qword [rsp + 0x180]
xor rcx, rsp
call fcn.1401453a0
add rsp, 0x190
pop rbx
ret
xor edx, edx
mov byte [rsp + 0x80], 0
mov r8d, 0xff
lea rcx, [rsp + 0x81]
call fcn.140147800
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x28], eax
lea r9, str.WinScCtrl::isStop
lea rax, [0x14017f810]
mov edx, 0x100
lea r8, [0x14017f800]
mov qword [rsp + 0x20], rax
lea rcx, [rsp + 0x80]
call fcn.140017490
lea rdx, [rsp + 0x80]
lea rcx, [rsp + 0x38]
call fcn.14001bb20
lea rdx, [0x1401bdee0]
lea rcx, [rsp + 0x38]
call fcn.1401463c0
int3
Function at 0x140070d50
Capabilities:
Query service configuration

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
sub rsp, 0x170
mov rax, qword [0x1401c5538]
xor rax, rsp
mov qword [rsp + 0x160], rax
mov rbx, rdx
mov qword [rsp + 0x30], rdx
mov rsi, rcx
xor ebp, ebp
call fcn.140070c80
mov rcx, qword [rsi + 0x10]
lea r9, [rsp + 0x30]
xor r8d, r8d
mov dword [rsp + 0x30], ebp
xor edx, edx
mov edi, ebp
call qword [sym.imp.ADVAPI32.dll_QueryServiceConfigA]
test eax, eax
jne 0x140070dbf
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x140070e37
mov edx, dword [rsp + 0x30]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov rdi, rax
mov r8d, dword [rsp + 0x30]
lea r9, [rsp + 0x30]
mov rcx, qword [rsi + 0x10]
mov rdx, rdi
call qword [sym.imp.ADVAPI32.dll_QueryServiceConfigA]
test eax, eax
je 0x140070ea2
mov rdx, qword [rdi + 0x10]
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], rbp
mov r8, 0xffffffffffffffff
mov qword [rbx + 0x18], rbp
inc r8
cmp byte [rdx + r8], bpl
jne 0x140070df7
mov rcx, rbx
call fcn.140003c30
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rax, rbx
mov rcx, qword [rsp + 0x160]
xor rcx, rsp
call fcn.1401453a0
mov rbx, qword [rsp + 0x1a0]
add rsp, 0x170
pop rdi
pop rsi
pop rbp
ret
xor edx, edx
mov byte [rsp + 0x60], dil
mov r8d, 0xff
lea rcx, [rsp + 0x61]
call fcn.140147800
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x28], eax
lea r9, str.WinScCtrl::queryBinaryPath
lea rax, str.QueryServiceConfig_failed
mov edx, 0x100
lea r8, [0x14017f800]
mov qword [rsp + 0x20], rax
lea rcx, [rsp + 0x60]
call fcn.140017490
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x40]
call fcn.14001bb20
lea rdx, [0x1401bdee0]
lea rcx, [rsp + 0x40]
call fcn.1401463c0
int3
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LocalFree]
xor edx, edx
mov byte [rsp + 0x60], bpl
mov r8d, 0xff
lea rcx, [rsp + 0x61]
call fcn.140147800
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x28], eax
lea r9, str.WinScCtrl::queryBinaryPath
lea rax, str.QueryServiceConfig_failed
mov edx, 0x100
lea r8, [0x14017f800]
mov qword [rsp + 0x20], rax
lea rcx, [rsp + 0x60]
call fcn.140017490
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x40]
call fcn.14001bb20
lea rdx, [0x1401bdee0]
lea rcx, [rsp + 0x40]
call fcn.1401463c0
int3