joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100054a90
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0x78
cmp qword [rsp + 0x90], 0
jne 0x100054abf
mov ecx, 0x57
call qword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
jmp 0x100054c6e
cmp dword [rsp + 0x88], 4
jne 0x100054ad7
lea rax, [0x10000a7f8]
mov qword [rsp + 0x38], rax
jmp 0x100054b26
cmp dword [rsp + 0x88], 9
jne 0x100054aef
lea rax, [0x10000a7d0]
mov qword [rsp + 0x38], rax
jmp 0x100054b26
cmp dword [rsp + 0x88], 0xa
jne 0x100054b07
lea rax, [0x10000a7a0]
mov qword [rsp + 0x38], rax
jmp 0x100054b26
cmp dword [rsp + 0x88], 8
jne 0x100054b1f
lea rax, [0x10000a768]
mov qword [rsp + 0x38], rax
jmp 0x100054b26
xor eax, eax
jmp 0x100054c6e
mov rcx, qword [rsp + 0x80]
call fcn.100056420
test eax, eax
jne 0x100054b3e
xor eax, eax
jmp 0x100054c6e
mov dword [rsp + 0x30], 0
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [rsp + 0x38]
mov rax, qword [rsp + 0x80]
mov rcx, qword [rax + 0x20]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x100054b81
cmp dword [rsp + 0x30], 1
ja 0x100054b88
xor eax, eax
jmp 0x100054c6e
mov eax, dword [rsp + 0x30]
add rax, 4
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0x30]
mov rcx, rax
call sub.msvcrt.dll_void____ptr64___cdecl_operator_new_unsigned_long_long_unsigned___int64__
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x40], rax
cmp qword [rsp + 0x40], 0
jne 0x100054bbe
xor eax, eax
jmp 0x100054c6e
mov eax, dword [rsp + 0x30]
mov r8, rax
xor edx, edx
mov rcx, qword [rsp + 0x40]
call sub.msvcrt.dll_memset
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [rsp + 0x38]
mov rax, qword [rsp + 0x80]
mov rcx, qword [rax + 0x20]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x100054c1e
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x50], rax
mov rcx, qword [rsp + 0x50]
call sub.msvcrt.dll_void___cdecl_operator_delete_void____ptr64_
xor eax, eax
jmp 0x100054c6e
mov rdx, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x90]
call fcn.100054c80
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x58], rax
mov rcx, qword [rsp + 0x58]
call sub.msvcrt.dll_void___cdecl_operator_delete_void____ptr64_
mov rcx, qword [rsp + 0x90]
call fcn.100013ba0
movzx eax, al
test eax, eax
jne 0x100054c62
mov dword [rsp + 0x60], 1
jmp 0x100054c6a
mov dword [rsp + 0x60], 0
mov eax, dword [rsp + 0x60]
add rsp, 0x78
ret
Function at 0x100054d40
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0x58
cmp qword [rsp + 0x70], 0
jne 0x100054d71
mov ecx, 0x57
call qword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
jmp 0x100054e7c
cmp dword [rsp + 0x68], 6
jne 0x100054d86
lea rax, [0x10000a848]
mov qword [rsp + 0x38], rax
jmp 0x100054da2
cmp dword [rsp + 0x68], 5
jne 0x100054d9b
lea rax, [0x10000a830]
mov qword [rsp + 0x38], rax
jmp 0x100054da2
xor eax, eax
jmp 0x100054e7c
mov rcx, qword [rsp + 0x60]
call fcn.100056420
test eax, eax
jne 0x100054db7
xor eax, eax
jmp 0x100054e7c
mov dword [rsp + 0x30], 0
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [rsp + 0x38]
mov rax, qword [rsp + 0x60]
mov rcx, qword [rax + 0x20]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x100054df7
xor eax, eax
jmp 0x100054e7c
mov rax, qword [rsp + 0x78]
mov eax, dword [rax]
mov rcx, rax
call sub.msvcrt.dll_void____ptr64___cdecl_operator_new_unsigned_long_long_unsigned___int64__
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x70]
mov rcx, qword [rsp + 0x40]
mov qword [rax], rcx
mov rax, qword [rsp + 0x70]
cmp qword [rax], 0
jne 0x100054e27
xor eax, eax
jmp 0x100054e7c
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x70]
mov rax, qword [rax]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [rsp + 0x38]
mov rax, qword [rsp + 0x60]
mov rcx, qword [rax + 0x20]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x100054e77
mov rax, qword [rsp + 0x70]
mov rax, qword [rax]
mov qword [rsp + 0x48], rax
mov rcx, qword [rsp + 0x48]
call sub.msvcrt.dll_void___cdecl_operator_delete_void____ptr64_
xor eax, eax
jmp 0x100054e7c
mov eax, 1
add rsp, 0x58
ret
Function at 0x100055e20
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x78
mov qword [rsp + 0x48], 0xfffffffffffffffe
mov rcx, qword [rsp + 0x80]
call fcn.100056420
test eax, eax
jne 0x100055e79
mov dword [rsp + 0x38], 0
mov rcx, qword [rsp + 0x88]
call fcn.1000144b0
nop
mov rcx, qword [rsp + 0x90]
call fcn.1000144b0
mov eax, dword [rsp + 0x38]
jmp 0x10005606c
mov rdx, qword [rsp + 0x88]
lea rcx, [0x100004d80]
call fcn.100057470
movzx eax, al
test eax, eax
je 0x100055f12
lea rcx, [rsp + 0x30]
call fcn.100014450
nop
mov rax, qword [rsp + 0x80]
add rax, 0x10
lea r8, [rsp + 0x30]
mov rdx, qword [rsp + 0x90]
mov rcx, rax
call fcn.100048450
lea rcx, [rsp + 0x30]
call fcn.1000488d0
movzx eax, al
test eax, eax
jne 0x100055f08
mov dword [rsp + 0x3c], 0
lea rcx, [rsp + 0x30]
call fcn.1000144b0
nop
mov rcx, qword [rsp + 0x88]
call fcn.1000144b0
nop
mov rcx, qword [rsp + 0x90]
call fcn.1000144b0
mov eax, dword [rsp + 0x3c]
jmp 0x10005606c
lea rcx, [rsp + 0x30]
call fcn.1000144b0
mov rdx, qword [rsp + 0x88]
lea rcx, [0x100004d80]
call fcn.100057470
movzx eax, al
test eax, eax
jne 0x100055f9d
mov rdx, qword [rsp + 0x88]
lea rcx, [0x10000a750]
call fcn.100057470
movzx eax, al
test eax, eax
jne 0x100055f9d
mov rdx, qword [rsp + 0x88]
lea rcx, [0x10000a728]
call fcn.100057470
movzx eax, al
test eax, eax
jne 0x100055f9d
mov rdx, qword [rsp + 0x88]
lea rcx, [0x1000082c0]
call fcn.100057470
movzx eax, al
test eax, eax
jne 0x100055f9d
mov rdx, qword [rsp + 0x88]
lea rcx, [0x10000a700]
call fcn.100057470
movzx eax, al
test eax, eax
je 0x100056045
mov rcx, qword [rsp + 0x90]
call fcn.100013fa0
inc eax
cdqe
shl rax, 1
mov qword [rsp + 0x50], rax
mov rcx, qword [rsp + 0x90]
call fcn.100043c40
mov qword [rsp + 0x58], rax
mov rcx, qword [rsp + 0x88]
call fcn.100043c40
mov rcx, qword [rsp + 0x50]
mov dword [rsp + 0x28], ecx
mov rcx, qword [rsp + 0x58]
mov qword [rsp + 0x20], rcx
mov r9d, 1
xor r8d, r8d
mov rdx, rax
mov rax, qword [rsp + 0x80]
mov rcx, qword [rax + 0x20]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x100056014
mov dword [rsp + 0x60], 1
jmp 0x10005601c
mov dword [rsp + 0x60], 0
mov eax, dword [rsp + 0x60]
mov dword [rsp + 0x40], eax
mov rcx, qword [rsp + 0x88]
call fcn.1000144b0
nop
mov rcx, qword [rsp + 0x90]
call fcn.1000144b0
mov eax, dword [rsp + 0x40]
jmp 0x10005606c
mov dword [rsp + 0x44], 0
mov rcx, qword [rsp + 0x88]
call fcn.1000144b0
nop
mov rcx, qword [rsp + 0x90]
call fcn.1000144b0
mov eax, dword [rsp + 0x44]
add rsp, 0x78
ret
Function at 0x1000560e0
Capabilities:
Set registry value

Disassembly:
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x58
mov qword [rsp + 0x40], 0xfffffffffffffffe
mov rcx, qword [rsp + 0x60]
call fcn.100056420
test eax, eax
jne 0x100056125
mov dword [rsp + 0x30], 0
mov rcx, qword [rsp + 0x68]
call fcn.1000144b0
mov eax, dword [rsp + 0x30]
jmp 0x1000561d0
mov rdx, qword [rsp + 0x68]
lea rcx, [0x100006430]
call fcn.100057470
movzx eax, al
test eax, eax
jne 0x100056155
mov rdx, qword [rsp + 0x68]
lea rcx, [0x10000a940]
call fcn.100057470
movzx eax, al
test eax, eax
je 0x1000561ba
mov rcx, qword [rsp + 0x68]
call fcn.100043c40
mov dword [rsp + 0x28], 4
lea rcx, [rsp + 0x70]
mov qword [rsp + 0x20], rcx
mov r9d, 4
xor r8d, r8d
mov rdx, rax
mov rax, qword [rsp + 0x60]
mov rcx, qword [rax + 0x20]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x10005619a
mov dword [rsp + 0x48], 1
jmp 0x1000561a2
mov dword [rsp + 0x48], 0
mov eax, dword [rsp + 0x48]
mov dword [rsp + 0x34], eax
mov rcx, qword [rsp + 0x68]
call fcn.1000144b0
mov eax, dword [rsp + 0x34]
jmp 0x1000561d0
mov dword [rsp + 0x38], 0
mov rcx, qword [rsp + 0x68]
call fcn.1000144b0
mov eax, dword [rsp + 0x38]
add rsp, 0x58
ret
Function at 0x100056200
Capabilities:
Delete registry value
Set registry value

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x78
mov qword [rsp + 0x58], 0xfffffffffffffffe
mov rcx, qword [rsp + 0x80]
call fcn.100056420
test eax, eax
jne 0x10005624b
mov dword [rsp + 0x40], 0
mov rcx, qword [rsp + 0x88]
call fcn.1000144b0
mov eax, dword [rsp + 0x40]
jmp 0x1000563e9
mov rdx, qword [rsp + 0x88]
lea rcx, [0x10000a7f8]
call fcn.100057470
movzx eax, al
test eax, eax
jne 0x1000562bb
mov rdx, qword [rsp + 0x88]
lea rcx, [0x10000a7d0]
call fcn.100057470
movzx eax, al
test eax, eax
jne 0x1000562bb
mov rdx, qword [rsp + 0x88]
lea rcx, [0x10000a7a0]
call fcn.100057470
movzx eax, al
test eax, eax
jne 0x1000562bb
mov rdx, qword [rsp + 0x88]
lea rcx, [0x10000a768]
call fcn.100057470
movzx eax, al
test eax, eax
je 0x1000563d0
mov rcx, qword [rsp + 0x90]
call fcn.100013ba0
movzx eax, al
test eax, eax
je 0x10005630f
mov rcx, qword [rsp + 0x88]
call fcn.100013ee0
mov rdx, rax
mov rax, qword [rsp + 0x80]
mov rcx, qword [rax + 0x20]
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov dword [rsp + 0x44], 1
mov rcx, qword [rsp + 0x88]
call fcn.1000144b0
mov eax, dword [rsp + 0x44]
jmp 0x1000563e9
mov dword [rsp + 0x38], 0
lea rdx, [rsp + 0x38]
mov rcx, qword [rsp + 0x90]
call fcn.10004b610
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
je 0x1000563d0
mov eax, dword [rsp + 0x38]
shl rax, 1
mov qword [rsp + 0x60], rax
mov rcx, qword [rsp + 0x88]
call fcn.100043c40
mov rcx, qword [rsp + 0x60]
mov dword [rsp + 0x28], ecx
mov rcx, qword [rsp + 0x30]
mov qword [rsp + 0x20], rcx
mov r9d, 7
xor r8d, r8d
mov rdx, rax
mov rax, qword [rsp + 0x80]
mov rcx, qword [rax + 0x20]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov dword [rsp + 0x3c], eax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x48], rax
mov rcx, qword [rsp + 0x48]
call sub.msvcrt.dll_void___cdecl_operator_delete_void____ptr64_
cmp dword [rsp + 0x3c], 0
jne 0x1000563ad
mov dword [rsp + 0x68], 1
jmp 0x1000563b5
mov dword [rsp + 0x68], 0
mov eax, dword [rsp + 0x68]
mov dword [rsp + 0x50], eax
mov rcx, qword [rsp + 0x88]
call fcn.1000144b0
mov eax, dword [rsp + 0x50]
jmp 0x1000563e9
mov dword [rsp + 0x54], 0
mov rcx, qword [rsp + 0x88]
call fcn.1000144b0
mov eax, dword [rsp + 0x54]
add rsp, 0x78
ret
Function at 0x10005b3e0
Capabilities:
Copy file
Set file attributes

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x48
mov dword [rsp + 0x20], 0
mov rcx, qword [rsp + 0x50]
call fcn.1000488d0
movzx eax, al
test eax, eax
jne 0x10005b411
mov eax, 0xe0000303
jmp 0x10005b4df
mov rcx, qword [rsp + 0x58]
call fcn.100013bb0
mov rcx, rax
call fcn.100086a20
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
jne 0x10005b4db
mov rcx, qword [rsp + 0x58]
call fcn.100013bb0
mov qword [rsp + 0x28], rax
mov rcx, qword [rsp + 0x50]
call fcn.100013bb0
xor r8d, r8d
mov rcx, qword [rsp + 0x28]
mov rdx, rcx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
je 0x10005b46d
mov dword [rsp + 0x20], 0
jmp 0x10005b4db
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 5
jne 0x10005b4db
mov rcx, qword [rsp + 0x58]
call fcn.100013bb0
mov edx, 0x80
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov rcx, qword [rsp + 0x58]
call fcn.100013bb0
mov qword [rsp + 0x30], rax
mov rcx, qword [rsp + 0x50]
call fcn.100013bb0
xor r8d, r8d
mov rcx, qword [rsp + 0x30]
mov rdx, rcx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
je 0x10005b4d1
mov dword [rsp + 0x20], 0
jmp 0x10005b4db
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x20]
add rsp, 0x48
ret
Function at 0x100068300
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x58
mov dword [rsp + 0x40], 0
mov edx, 0x104
mov rcx, qword [rsp + 0x70]
call fcn.100015c10
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x28], 0x20019
mov dword [rsp + 0x20], 2
xor r9d, r9d
mov r8d, 1
mov rdx, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.SETUPAPI.dll_SetupDiOpenDevRegKey]
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0xffffffffffffffff
je 0x1000683c2
mov rcx, qword [rsp + 0x70]
call fcn.100013fa0
cdqe
shl rax, 1
mov dword [rsp + 0x44], eax
lea rax, [rsp + 0x44]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea rdx, [0x10000caa8]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1000683b7
cmp dword [rsp + 0x44], 0
jbe 0x1000683b7
mov dword [rsp + 0x40], 1
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, 0xffffffff
mov rcx, qword [rsp + 0x70]
call fcn.100013fd0
mov eax, dword [rsp + 0x40]
add rsp, 0x58
ret
Function at 0x10006e390
Capabilities:
Delete file
Set file attributes

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x68
mov qword [rsp + 0x50], 0xfffffffffffffffe
mov dword [rsp + 0x20], 0
mov qword [rsp + 0x28], 0
lea rcx, [0x10000dbd8]
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
je 0x10006e484
lea rdx, [0x10000dbc0]
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
je 0x10006e484
lea rcx, [rsp + 0x38]
call fcn.100014450
nop
lea rcx, [rsp + 0x40]
call fcn.100014450
nop
lea rcx, [rsp + 0x38]
call fcn.100013df0
lea rcx, [rsp + 0x40]
call fcn.100013df0
lea r8, [rsp + 0x40]
lea rdx, [rsp + 0x38]
mov rcx, qword [rsp + 0x70]
call fcn.1000482e0
movzx eax, al
test eax, eax
je 0x10006e46f
lea rcx, [rsp + 0x40]
call fcn.100013fb0
movzx eax, al
test eax, eax
jne 0x10006e46f
lea rcx, [rsp + 0x40]
call fcn.100013bb0
xor r8d, r8d
mov edx, 1
mov rcx, rax
call qword [rsp + 0x30]
test eax, eax
je 0x10006e46f
mov dword [rsp + 0x20], 1
lea rcx, [rsp + 0x40]
call fcn.1000144b0
nop
lea rcx, [rsp + 0x38]
call fcn.1000144b0
cmp dword [rsp + 0x20], 0
jne 0x10006e51e
mov rcx, qword [rsp + 0x70]
call fcn.100013bb0
mov edx, 0x80
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov rcx, qword [rsp + 0x70]
call fcn.100013bb0
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
je 0x10006e51e
mov dword [rsp + 0x20], 1
mov rcx, qword [rsp + 0x70]
call fcn.100015b90
lea r8, [0x10000dbb0]
lea rdx, [0x100007480]
mov rcx, qword [rsp + 0x70]
call fcn.10002d060
mov dword [rsp + 0x48], eax
cmp dword [rsp + 0x48], 0
je 0x10006e51e
mov rcx, qword [rsp + 0x70]
call fcn.100013bb0
mov edx, 0x80
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov rcx, qword [rsp + 0x70]
call fcn.100013bb0
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp qword [rsp + 0x28], 0
je 0x10006e531
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, dword [rsp + 0x20]
mov dword [rsp + 0x4c], eax
mov rcx, qword [rsp + 0x70]
call fcn.1000144b0
mov eax, dword [rsp + 0x4c]
add rsp, 0x68
ret
Function at 0x100073130
Capabilities:
Delete registry key
Set registry value

Disassembly:
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0xc8
mov qword [rsp + 0xa8], 0xfffffffffffffffe
mov dword [rsp + 0x38], 0
mov dword [rsp + 0x48], 1
mov dword [rsp + 0x4c], 1
mov rax, qword [rsp + 0xf0]
mov dword [rax], 0
mov qword [rsp + 0x40], 0
mov dword [rsp + 0x80], 0
lea rcx, [rsp + 0x30]
call fcn.100014450
nop
mov rdx, qword [0x1000a87e8]
lea rcx, [rsp + 0x88]
call fcn.100018c00
nop
lea r8, [rsp + 0x30]
mov rdx, qword [rsp + 0xd0]
lea rcx, [rsp + 0x88]
call fcn.100048450
nop
lea rcx, [rsp + 0x88]
call fcn.1000144b0
lea rcx, [rsp + 0x30]
call fcn.100013bb0
lea rcx, [rsp + 0x40]
mov qword [rsp + 0x20], rcx
mov r9d, 0x2001f
xor r8d, r8d
mov rdx, rax
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [rsp + 0x38], eax
cmp dword [rsp + 0x38], 0
je 0x100073268
cmp dword [rsp + 0x38], 2
je 0x100073247
mov rax, qword [rsp + 0xd0]
mov r9, qword [rax]
mov r8d, dword [rsp + 0x38]
lea rdx, [0x10000f3a0]
mov ecx, 3
call fcn.100053cc0
mov dword [rsp + 0x48], 0
jmp 0x1000732f3
mov rax, qword [rsp + 0xd0]
mov r8, qword [rax]
lea rdx, [0x10000f2d0]
mov ecx, 1
call fcn.100053cc0
jmp 0x1000732f3
cmp qword [rsp + 0xe0], 0
jne 0x100073282
mov dword [rsp + 0x80], 1
jmp 0x1000732f3
mov eax, dword [rsp + 0xe8]
mov dword [rsp + 0x28], eax
mov rax, qword [rsp + 0xe0]
mov qword [rsp + 0x20], rax
mov r9d, 7
xor r8d, r8d
mov rdx, qword [0x1000a87f0]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov dword [rsp + 0x38], eax
cmp dword [rsp + 0x38], 0
je 0x1000732eb
mov rax, qword [rsp + 0xd0]
mov r9, qword [rax]
mov r8d, dword [rsp + 0x38]
lea rdx, [0x10000f210]
mov ecx, 3
call fcn.100053cc0
mov dword [rsp + 0x48], 0
jmp 0x1000732f3
mov dword [rsp + 0x48], 1
cmp qword [rsp + 0x40], 0
je 0x100073306
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [rsp + 0x80], 0
je 0x10007332a
lea rcx, [rsp + 0x30]
call fcn.100013bb0
mov rdx, rax
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
lea rcx, [rsp + 0x50]
call fcn.1000141d0
nop
cmp qword [rsp + 0xe0], 0
je 0x100073352
mov rdx, qword [rsp + 0xe0]
lea rcx, [rsp + 0x50]
call fcn.100054c80
lea rax, [rsp + 0x90]
mov qword [rsp + 0x98], rax
mov rdx, qword [rsp + 0xd0]
mov rcx, qword [rsp + 0x98]
call fcn.1000148e0
mov qword [rsp + 0xb0], rax
mov rax, qword [rsp + 0xb0]
mov qword [rsp + 0xb8], rax
mov r9, qword [rsp + 0xf0]
lea r8, [rsp + 0x50]
mov edx, dword [rsp + 0xd8]
mov rcx, qword [rsp + 0xb8]
call fcn.100075280
test eax, eax
jne 0x1000733cf
lea rdx, [0x10000f1a0]
mov ecx, 3
call fcn.100053cc0
mov dword [rsp + 0x4c], 0
jmp 0x1000733d7
mov dword [rsp + 0x4c], 1
cmp dword [rsp + 0x48], 0
je 0x1000733e5
cmp dword [rsp + 0x4c], 0
jne 0x1000733ef
mov dword [rsp + 0x38], 0x643
jmp 0x1000733f7
mov dword [rsp + 0x38], 0
mov eax, dword [rsp + 0x38]
mov dword [rsp + 0xa0], eax
lea rcx, [rsp + 0x50]
call fcn.100014300
nop
lea rcx, [rsp + 0x30]
call fcn.1000144b0
mov eax, dword [rsp + 0xa0]
add rsp, 0xc8
ret
Function at 0x100073da0
Capabilities:
Start service
Stop service

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x78
mov qword [rsp + 0x68], 0xfffffffffffffffe
mov dword [rsp + 0x28], 1
mov qword [rsp + 0x20], 0
mov r8d, 0xe0000000
xor edx, edx
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
je 0x100073f36
mov qword [rsp + 0x30], 0
mov rcx, qword [rsp + 0x80]
call fcn.100013bb0
mov r8d, 0x80000030
mov rdx, rax
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
je 0x100073efc
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_StartServiceW]
test eax, eax
je 0x100073e54
mov rax, qword [rsp + 0x80]
mov r8, qword [rax]
lea rdx, [0x10000f9e8]
mov ecx, 1
call fcn.100053cc0
jmp 0x100073eef
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x38], eax
cmp dword [rsp + 0x38], 0x420
je 0x100073e93
mov dword [rsp + 0x28], 0
mov r9d, dword [rsp + 0x38]
mov rax, qword [rsp + 0x80]
mov r8, qword [rax]
lea rdx, [0x10000f980]
mov ecx, 3
call fcn.100053cc0
jmp 0x100073eef
lea r8, [rsp + 0x40]
mov edx, 1
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_ControlService]
test eax, eax
jne 0x100073eb6
mov dword [rsp + 0x28], 0
jmp 0x100073eef
lea rdx, [rsp + 0x40]
mov rcx, qword [rsp + 0x30]
call fcn.10007da60
test eax, eax
jne 0x100073ed3
mov dword [rsp + 0x28], 0
jmp 0x100073eef
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_StartServiceW]
test eax, eax
jne 0x100073eef
mov dword [rsp + 0x28], 0
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
jmp 0x100073f29
mov dword [rsp + 0x28], 0
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r9d, eax
mov rax, qword [rsp + 0x80]
mov r8, qword [rax]
lea rdx, [0x10000f900]
mov ecx, 3
call fcn.100053cc0
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
jmp 0x100073f58
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, eax
lea rdx, [0x10000f870]
mov ecx, 3
call fcn.100053cc0
mov dword [rsp + 0x28], 0
mov eax, dword [rsp + 0x28]
mov dword [rsp + 0x60], eax
mov rcx, qword [rsp + 0x80]
call fcn.1000144b0
mov eax, dword [rsp + 0x60]
add rsp, 0x78
ret
Function at 0x100074c10
Capabilities:
Delete registry key
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x78
mov qword [rsp + 0x60], 0xfffffffffffffffe
mov dword [rsp + 0x40], 0
mov qword [rsp + 0x48], 0
mov dword [rsp + 0x30], 0
lea rcx, [rsp + 0x38]
call fcn.100014450
nop
mov rdx, qword [0x1000a87e8]
lea rcx, [rsp + 0x50]
call fcn.100018c00
nop
lea r8, [rsp + 0x38]
mov rdx, qword [rsp + 0x80]
lea rcx, [rsp + 0x50]
call fcn.100048450
nop
lea rcx, [rsp + 0x50]
call fcn.1000144b0
lea rcx, [rsp + 0x38]
call fcn.100013bb0
lea rcx, [rsp + 0x48]
mov qword [rsp + 0x20], rcx
mov r9d, 0x2001f
xor r8d, r8d
mov rdx, rax
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [rsp + 0x40], eax
cmp dword [rsp + 0x40], 0
je 0x100074cd8
mov rax, qword [rsp + 0x80]
mov r9, qword [rax]
mov r8d, dword [rsp + 0x40]
lea rdx, [0x10000f3a0]
mov ecx, 3
call fcn.100053cc0
jmp 0x100074d77
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [0x1000a87f0]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [rsp + 0x40], eax
cmp dword [rsp + 0x40], 2
jne 0x100074d15
mov dword [rsp + 0x30], 1
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [rsp + 0x30], 0
je 0x100074d6f
lea rcx, [rsp + 0x38]
call fcn.100013bb0
mov rdx, rax
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov dword [rsp + 0x40], eax
cmp dword [rsp + 0x40], 0
je 0x100074d6f
mov rax, qword [rsp + 0x80]
mov r9, qword [rax]
mov r8d, dword [rsp + 0x40]
lea rdx, [0x10000fe20]
mov ecx, 1
call fcn.100053cc0
jmp 0x100074d77
mov dword [rsp + 0x40], 0
mov eax, dword [rsp + 0x40]
mov dword [rsp + 0x58], eax
lea rcx, [rsp + 0x38]
call fcn.1000144b0
mov eax, dword [rsp + 0x58]
add rsp, 0x78
ret