joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140039c00
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x118
mov rax, qword [0x1400d2070]
xor rax, rsp
mov qword [rsp + 0x100], rax
mov qword [rsp + 0x58], 1
mov rax, qword [rsp + 0x130]
mov qword [rsp + 0x60], rax
mov rcx, qword [rsp + 0x60]
call fcn.140002170
mov qword [rsp + 0x40], rax
mov rcx, qword [rsp + 0x60]
call fcn.140002160
mov qword [rsp + 0x78], rax
jmp 0x140039c6c
mov rax, qword [rsp + 0x40]
add rax, 0x20
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x78]
cmp qword [rsp + 0x40], rax
je 0x140039ca3
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x80], rax
mov rcx, qword [rsp + 0x80]
call fcn.14000cf80
mov rcx, qword [rsp + 0x58]
lea rax, [rcx + rax + 1]
mov qword [rsp + 0x58], rax
jmp 0x140039c5e
mov edx, 0x18
lea rcx, [rsp + 0xe8]
call fcn.140001d80
lea rcx, [rsp + 0xe8]
call fcn.14001e710
nop
mov rdx, qword [rsp + 0x58]
lea rcx, [rsp + 0xe8]
call fcn.14003bf20
mov rax, qword [rsp + 0x130]
mov qword [rsp + 0x68], rax
mov rcx, qword [rsp + 0x68]
call fcn.140002170
mov qword [rsp + 0x48], rax
mov rcx, qword [rsp + 0x68]
call fcn.140002160
mov qword [rsp + 0x88], rax
jmp 0x140039d13
mov rax, qword [rsp + 0x48]
add rax, 0x20
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x88]
cmp qword [rsp + 0x48], rax
je 0x140039dfd
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x70], rax
lea rdx, [rsp + 0xe8]
lea rcx, [rsp + 0xc8]
call fcn.14003cd30
mov rax, qword [rax]
mov qword [rsp + 0x90], rax
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0xa8], rax
lea rdx, [rsp + 0xd0]
mov rcx, qword [rsp + 0x70]
call fcn.14003c1b0
mov rax, qword [rax]
mov qword [rsp + 0x98], rax
mov rax, qword [rsp + 0x98]
mov qword [rsp + 0xb0], rax
lea rdx, [rsp + 0xd8]
mov rcx, qword [rsp + 0x70]
call fcn.14003c220
mov rax, qword [rax]
mov qword [rsp + 0xa0], rax
mov rax, qword [rsp + 0xa0]
mov qword [rsp + 0xb8], rax
mov r9, qword [rsp + 0xa8]
mov r8, qword [rsp + 0xb0]
mov rdx, qword [rsp + 0xb8]
lea rcx, [rsp + 0xe0]
call fcn.14003cd60
xor eax, eax
mov word [rsp + 0x32], ax
lea rdx, [rsp + 0x32]
lea rcx, [rsp + 0xe8]
call fcn.14003bfd0
jmp 0x140039d05
xor eax, eax
mov word [rsp + 0x34], ax
lea rdx, [rsp + 0x34]
lea rcx, [rsp + 0xe8]
call fcn.14003bfd0
lea rcx, [rsp + 0xe8]
call fcn.14003bef0
shl rax, 1
mov dword [rsp + 0x50], eax
lea rcx, [rsp + 0xe8]
call fcn.140022bf0
mov qword [rsp + 0xc0], rax
mov eax, dword [rsp + 0x50]
mov dword [rsp + 0x28], eax
mov rax, qword [rsp + 0xc0]
mov qword [rsp + 0x20], rax
mov r9d, 7
xor r8d, r8d
mov rdx, qword [rsp + 0x128]
mov rcx, qword [rsp + 0x120]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x140039e81
mov dword [rsp + 0x38], 1
jmp 0x140039e89
mov dword [rsp + 0x38], 0
movzx eax, byte [rsp + 0x38]
mov byte [rsp + 0x30], al
lea rcx, [rsp + 0xe8]
call fcn.14001e640
movzx eax, byte [rsp + 0x30]
mov rcx, qword [rsp + 0x100]
xor rcx, rsp
call fcn.140069a00
add rsp, 0x118
ret
Function at 0x14003f850
Capabilities:
Delete registry value

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x28
xor eax, eax
test eax, eax
jne 0x14003f85e
mov rdx, qword [rsp + 0x38]
mov rax, qword [rsp + 0x30]
mov rcx, qword [rax]
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
nop
add rsp, 0x28
ret

Function at 0x14003fcd0
Capabilities:
Set registry value

Disassembly:
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x58
xor eax, eax
test eax, eax
jne 0x14003fce8
cmp qword [rsp + 0x70], 0
je 0x14003fd00
mov dword [rsp + 0x30], 1
jmp 0x14003fd08
mov dword [rsp + 0x30], 0
mov eax, dword [rsp + 0x30]
mov dword [rsp + 0x34], eax
cmp dword [rsp + 0x34], 0
jne 0x14003fd1e
mov eax, 0xd
jmp 0x14003fd83
xor eax, eax
test eax, eax
jne 0x14003fcee
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], 0xffffffffffffffff
inc qword [rsp + 0x38]
mov rax, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x38]
cmp word [rax + rcx*2], 0
jne 0x14003fd37
mov rax, qword [rsp + 0x38]
inc eax
mov eax, eax
shl rax, 1
mov dword [rsp + 0x28], eax
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x20], rax
mov r9d, dword [rsp + 0x78]
xor r8d, r8d
mov rdx, qword [rsp + 0x68]
mov rax, qword [rsp + 0x60]
mov rcx, qword [rax]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
nop
add rsp, 0x58
ret

Function at 0x14003fe10
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x68
xor eax, eax
test eax, eax
jne 0x14003fe23
cmp qword [rsp + 0x80], 0
je 0x14003fe3e
mov dword [rsp + 0x38], 1
jmp 0x14003fe46
mov dword [rsp + 0x38], 0
mov eax, dword [rsp + 0x38]
mov dword [rsp + 0x3c], eax
cmp dword [rsp + 0x3c], 0
jne 0x14003fe5f
mov eax, 0xd
jmp 0x14003ff09
xor eax, eax
test eax, eax
jne 0x14003fe29
mov dword [rsp + 0x34], 0
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x40], 0xffffffffffffffff
inc qword [rsp + 0x40]
mov rax, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x40]
cmp word [rax + rcx*2], 0
jne 0x14003fe8d
mov rax, qword [rsp + 0x40]
inc eax
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0x30]
mov rcx, qword [rsp + 0x48]
lea rax, [rcx + rax*2]
mov qword [rsp + 0x48], rax
mov eax, dword [rsp + 0x30]
mov ecx, dword [rsp + 0x34]
lea rax, [rcx + rax*2]
mov dword [rsp + 0x34], eax
cmp dword [rsp + 0x30], 1
jne 0x14003fe7a
mov eax, dword [rsp + 0x34]
mov dword [rsp + 0x28], eax
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x20], rax
mov r9d, 7
xor r8d, r8d
mov rdx, qword [rsp + 0x78]
mov rax, qword [rsp + 0x70]
mov rcx, qword [rax]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
nop
add rsp, 0x68
ret
Function at 0x14003ff20
Capabilities:
Set registry value

Disassembly:
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x38
xor eax, eax
test eax, eax
jne 0x14003ff33
mov dword [rsp + 0x28], 4
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
mov r9d, 4
xor r8d, r8d
mov rdx, qword [rsp + 0x48]
mov rax, qword [rsp + 0x40]
mov rcx, qword [rax]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
nop
add rsp, 0x38
ret

Function at 0x140040a70
Capabilities:
Query or enumerate registry key

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x298
mov rax, qword [0x1400d2070]
xor rax, rsp
mov qword [rsp + 0x280], rax
mov edx, 0x18
lea rcx, [rsp + 0x50]
call fcn.140001d80
xor edx, edx
lea rcx, [rsp + 0x50]
call fcn.140040ca0
nop
mov rax, qword [rsp + 0x2a0]
mov eax, dword [rax + 8]
or eax, 0x2001f
mov r9d, eax
mov r8, qword [rsp + 0x2a8]
mov rax, qword [rsp + 0x2a0]
mov rdx, qword [rax]
lea rcx, [rsp + 0x50]
call fcn.140040970
mov dword [rsp + 0x40], eax
cmp dword [rsp + 0x40], 0
je 0x140040b05
mov eax, dword [rsp + 0x40]
mov dword [rsp + 0x44], eax
lea rcx, [rsp + 0x50]
call fcn.140040d30
mov eax, dword [rsp + 0x44]
jmp 0x140040bc3
mov dword [rsp + 0x68], 0x100
lea rax, [rsp + 0x70]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x68]
lea r8, [rsp + 0x80]
xor edx, edx
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x140040b92
lea rdx, [rsp + 0x80]
lea rcx, [rsp + 0x50]
call fcn.140040a70
mov dword [rsp + 0x40], eax
cmp dword [rsp + 0x40], 0
je 0x140040b85
mov eax, dword [rsp + 0x40]
mov dword [rsp + 0x48], eax
lea rcx, [rsp + 0x50]
call fcn.140040d30
mov eax, dword [rsp + 0x48]
jmp 0x140040bc3
mov dword [rsp + 0x68], 0x100
jmp 0x140040b0d
lea rcx, [rsp + 0x50]
call fcn.140040ce0
mov rdx, qword [rsp + 0x2a8]
mov rcx, qword [rsp + 0x2a0]
call fcn.140040e50
mov dword [rsp + 0x4c], eax
lea rcx, [rsp + 0x50]
call fcn.140040d30
mov eax, dword [rsp + 0x4c]
mov rcx, qword [rsp + 0x280]
xor rcx, rsp
call fcn.140069a00
add rsp, 0x298
ret
Function at 0x140040d90
Capabilities:
Delete registry key

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x58
mov rax, qword [rsp + 0x60]
cmp qword [rax], 0
je 0x140040e26
lea rcx, str.Advapi32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
jne 0x140040dcf
mov eax, 1
jmp 0x140040e48
lea rdx, str.RegDeleteKeyTransactedW
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x38], rax
cmp qword [rsp + 0x38], 0
je 0x140040e24
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x28], 0
mov rax, qword [rsp + 0x60]
mov rax, qword [rax]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [rsp + 0x70]
mov rcx, qword [rsp + 0x68]
call qword [rsp + 0x40]
jmp 0x140040e48
jmp 0x140040e43
mov rax, qword [rsp + 0x60]
cmp dword [rax + 8], 0
je 0x140040e43
mov rdx, qword [rsp + 0x70]
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
jmp 0x140040e48
mov eax, 1
add rsp, 0x58
ret

Function at 0x140040e50
Capabilities:
Delete registry key

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x48
xor eax, eax
test eax, eax
jne 0x140040e5e
mov rax, qword [rsp + 0x50]
cmp qword [rax + 0x10], 0
je 0x140040e9a
mov rax, qword [rsp + 0x50]
mov rax, qword [rax + 0x10]
mov qword [rsp + 0x28], rax
mov r8, qword [rsp + 0x58]
mov rax, qword [rsp + 0x50]
mov rdx, qword [rax]
mov rcx, qword [rsp + 0x28]
call fcn.140040d90
jmp 0x140040f28
movzx eax, byte [0x1400d6f70]
test eax, eax
jne 0x140040edf
lea rcx, str.Advapi32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
je 0x140040ed8
lea rdx, str.RegDeleteKeyExW
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1400d6f68], rax
mov byte [0x1400d6f70], 1
cmp qword [0x1400d6f68], 0
je 0x140040f14
mov rax, qword [0x1400d6f68]
mov qword [rsp + 0x30], rax
xor r9d, r9d
mov rax, qword [rsp + 0x50]
mov r8d, dword [rax + 8]
mov rdx, qword [rsp + 0x58]
mov rax, qword [rsp + 0x50]
mov rcx, qword [rax]
call qword [rsp + 0x30]
jmp 0x140040f28
mov rdx, qword [rsp + 0x58]
mov rax, qword [rsp + 0x50]
mov rcx, qword [rax]
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
nop
add rsp, 0x48
ret
Function at 0x140043750
Capabilities:
Get user security identifier

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x168
mov rax, qword [0x1400d2070]
xor rax, rsp
mov qword [rsp + 0x150], rax
mov rcx, qword [rsp + 0x170]
call fcn.1400436e0
cmp qword [rsp + 0x178], 0
jne 0x140043797
xor al, al
jmp 0x1400439a6
mov edx, 0x88
lea rcx, [rsp + 0x70]
call fcn.140001d80
lea rcx, [rsp + 0x70]
call fcn.140034510
nop
mov edx, 0x80
lea rcx, [rsp + 0x70]
call fcn.140043410
lea rax, [rsp + 0x100]
mov qword [rsp + 0x58], rax
lea rcx, [rsp + 0x70]
call fcn.140002170
mov qword [rsp + 0x48], rax
mov dword [rsp + 0x6c], 0x44
mov dword [rsp + 0x68], 0x80
mov rax, qword [rsp + 0x170]
add rax, 0x50
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x68]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x6c]
mov r8, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x178]
mov rcx, qword [rsp + 0x180]
call qword [sym.imp.ADVAPI32.dll_LookupAccountNameW]
mov dword [rsp + 0x44], eax
cmp dword [rsp + 0x44], 0
jne 0x1400438d5
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x1400438d5
mov eax, dword [rsp + 0x6c]
cmp rax, 0x44
jbe 0x140043863
mov ecx, 0x80004005
call fcn.140036890
cmp dword [rsp + 0x68], 0x80
jbe 0x14004388c
mov eax, dword [rsp + 0x68]
mov edx, eax
lea rcx, [rsp + 0x70]
call fcn.140043590
lea rcx, [rsp + 0x70]
call fcn.140002170
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x170]
add rax, 0x50
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x68]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x6c]
mov r8, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x178]
mov rcx, qword [rsp + 0x180]
call qword [sym.imp.ADVAPI32.dll_LookupAccountNameW]
mov dword [rsp + 0x44], eax
cmp dword [rsp + 0x44], 0
je 0x140043985
mov rax, qword [rsp + 0x170]
mov byte [rax + 0x4c], 1
mov rcx, qword [rsp + 0x170]
call fcn.140043b30
mov qword [rsp + 0x60], rax
mov eax, dword [rsp + 0x6c]
mov dword [rsp + 0x50], eax
mov r8, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x60]
mov ecx, dword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_CopySid]
test eax, eax
je 0x140043985
mov rax, qword [rsp + 0x170]
add rax, 0x60
mov rdx, qword [rsp + 0x48]
mov rcx, rax
call fcn.140036820
mov rax, qword [rsp + 0x170]
add rax, 0x58
mov rdx, qword [rsp + 0x178]
mov rcx, rax
call fcn.140036820
mov rax, qword [rsp + 0x170]
add rax, 0x70
mov rdx, qword [rsp + 0x180]
mov rcx, rax
call fcn.140036820
mov byte [rsp + 0x40], 1
lea rcx, [rsp + 0x70]
call fcn.14003eac0
movzx eax, byte [rsp + 0x40]
jmp 0x1400439a6
mov rcx, qword [rsp + 0x170]
call fcn.1400436e0
mov byte [rsp + 0x41], 0
lea rcx, [rsp + 0x70]
call fcn.14003eac0
movzx eax, byte [rsp + 0x41]
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.140069a00
add rsp, 0x168
ret
Function at 0x140044150
Capabilities:
Access the windows event log

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x88
mov rax, qword [0x1400d2070]
xor rax, rsp
mov qword [rsp + 0x70], rax
lea rdx, [0x1400b5508]
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_OpenEventLogW]
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
jne 0x1400441ad
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r9d, eax
lea r8, [0x1400b9960]
mov edx, 0xa4
lea rcx, [0x1400b99a0]
call fcn.140048c20
jmp 0x14004423f
lea rax, [0x1400b5528]
mov qword [rsp + 0x58], rax
lea rax, [0x1400b5588]
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], 0
mov qword [rsp + 0x40], 0
lea rax, [rsp + 0x58]
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x30], 0
mov word [rsp + 0x28], 2
mov qword [rsp + 0x20], 0
mov r9d, 0x2002
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_ReportEventW]
test eax, eax
jne 0x140044234
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r9d, eax
lea r8, [0x1400b9a00]
mov edx, 0xac
lea rcx, [0x1400b9a40]
call fcn.140048c20
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_CloseEventLog]
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.140069a00
add rsp, 0x88
ret

Function at 0x140044260
Capabilities:
Access the windows event log

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x88
mov rax, qword [0x1400d2070]
xor rax, rsp
mov qword [rsp + 0x78], rax
lea rdx, str.System_Restore
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_OpenEventLogW]
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
jne 0x1400442c2
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r9d, eax
lea r8, str.Cant_open_EvenLog__error__u
mov edx, 0xb7
lea rcx, [0x1400b9ae0]
call fcn.140048c20
jmp 0x140044363
lea rax, str.msiexec.exe
mov qword [rsp + 0x58], rax
lea rax, str.CIS_Installer
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x98]
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x70], 0
mov qword [rsp + 0x40], 0
lea rax, [rsp + 0x58]
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x30], 0
mov word [rsp + 0x28], 3
mov qword [rsp + 0x20], 0
mov r9d, 0x2001
xor r8d, r8d
mov dx, 1
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_ReportEventW]
test eax, eax
jne 0x140044358
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r9d, eax
lea r8, str.Cant_report_event__error__u
mov edx, 0xbf
lea rcx, [0x1400b9b80]
call fcn.140048c20
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_CloseEventLog]
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.140069a00
add rsp, 0x88
ret
Function at 0x1400473d0
Capabilities:
Persist via run registry key

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x138
mov rax, qword [0x1400d2070]
xor rax, rsp
mov qword [rsp + 0x120], rax
lea rcx, [rsp + 0x100]
call fcn.140048550
nop
mov rcx, qword [rsp + 0x140]
call fcn.14000cf90
movzx eax, al
test eax, eax
jne 0x1400474b7
mov rcx, qword [rsp + 0x140]
call fcn.140003970
mov qword [rsp + 0x48], rax
mov rcx, qword [rsp + 0x148]
call fcn.140003970
mov qword [rsp + 0x50], rax
lea rcx, [rsp + 0x100]
call fcn.140003970
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x28], rax
lea rax, [0x1400b6748]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x50]
mov r8, qword [rsp + 0x58]
lea rdx, str.__s___s__s__s
lea rcx, [rsp + 0xa0]
call fcn.1400449b0
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x68], rax
mov rdx, qword [rsp + 0x68]
lea rcx, [rsp + 0x100]
call fcn.1400061e0
nop
lea rcx, [rsp + 0xa0]
call fcn.140003bf0
jmp 0x140047540
mov rcx, qword [rsp + 0x148]
call fcn.140003970
mov qword [rsp + 0x70], rax
lea rcx, [rsp + 0x100]
call fcn.140003970
mov qword [rsp + 0x78], rax
lea rax, [0x1400b6818]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x70]
mov r8, qword [rsp + 0x78]
lea rdx, str.__s___s__s
lea rcx, [rsp + 0xc0]
call fcn.1400449b0
mov qword [rsp + 0x80], rax
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x88], rax
mov rdx, qword [rsp + 0x88]
lea rcx, [rsp + 0x100]
call fcn.1400061e0
nop
lea rcx, [rsp + 0xc0]
call fcn.140003bf0
lea r8, [rsp + 0x100]
lea rdx, str.OUT:_Autorun_Cmd_line_
lea rcx, [rsp + 0xe0]
call fcn.140006670
mov qword [rsp + 0x90], rax
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0x98], rax
mov rcx, qword [rsp + 0x98]
call fcn.140003970
mov r8, rax
mov edx, 0x195
lea rcx, [0x1400ba080]
call fcn.140048c20
nop
lea rcx, [rsp + 0xe0]
call fcn.140003bf0
lea rcx, [rsp + 0x100]
call fcn.140003970
mov byte [rsp + 0x30], 1
mov dword [rsp + 0x28], 1
mov qword [rsp + 0x20], 0
mov r9, rax
lea r8, str.CIS_cleanup_tool
lea rdx, str.SOFTWAREMicrosoftWindowsCurrentVersionRunOnce
mov rcx, 0xffffffff80000002
call fcn.140038550
mov byte [rsp + 0x40], al
lea rcx, [rsp + 0x100]
call fcn.140003bf0
movzx eax, byte [rsp + 0x40]
mov rcx, qword [rsp + 0x120]
xor rcx, rsp
call fcn.140069a00
add rsp, 0x138
ret
Function at 0x140047ab0
Capabilities:
Shutdown system

Disassembly:
mov byte [rsp + 8], cl
push rdi
sub rsp, 0x70
mov rax, qword [0x1400d2070]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x48], 0
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea r8, [rsp + 0x48]
mov edx, 0x28
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
jne 0x140047b1e
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x30], eax
mov r9d, dword [rsp + 0x30]
lea r8, str.Restart_failed_with__u__OpenProcessToken_fail_
mov edx, 0x1c1
lea rcx, [0x1400ba1b0]
call fcn.140048c20
mov eax, dword [rsp + 0x30]
jmp 0x140047c5c
lea rax, [rsp + 0x50]
mov rdi, rax
xor eax, eax
mov ecx, 0x10
rep stosb byte [rdi], al
mov eax, 0xc
imul rax, rax, 0
lea rax, [rsp + rax + 0x54]
mov r8, rax
lea rdx, str.SeShutdownPrivilege
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
test eax, eax
jne 0x140047b83
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x34], eax
mov r9d, dword [rsp + 0x34]
lea r8, str.Restart_failed_with__u__LookupPrivilegeValue::SE_SHUTDOWN_NAME_
mov edx, 0x1c9
lea rcx, [0x1400ba290]
call fcn.140048c20
mov eax, dword [rsp + 0x34]
jmp 0x140047c5c
mov dword [rsp + 0x50], 1
mov eax, 0xc
imul rax, rax, 0
mov dword [rsp + rax + 0x5c], 2
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
xor r9d, r9d
lea r8, [rsp + 0x50]
xor edx, edx
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
test eax, eax
jne 0x140047bf4
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x38], eax
mov r9d, dword [rsp + 0x38]
lea r8, str.Restart_failed_with__u__AdjustTokenPrivileges_
mov edx, 0x1d2
lea rcx, [0x1400ba350]
call fcn.140048c20
mov eax, dword [rsp + 0x38]
jmp 0x140047c5c
movzx eax, byte [rsp + 0x80]
test eax, eax
je 0x140047c0a
mov dword [rsp + 0x3c], 4
jmp 0x140047c12
mov dword [rsp + 0x3c], 0x10
mov eax, dword [rsp + 0x3c]
or eax, 2
mov dword [rsp + 0x44], eax
xor edx, edx
mov ecx, dword [rsp + 0x44]
call qword [sym.imp.USER32.dll_ExitWindowsEx]
test eax, eax
jne 0x140047c5a
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x40], eax
mov r9d, dword [rsp + 0x40]
lea r8, str.Restart_failed_with__u__ExitWindowsEx_fail_
mov edx, 0x1da
lea rcx, [0x1400ba410]
call fcn.140048c20
mov eax, dword [rsp + 0x40]
jmp 0x140047c5c
xor eax, eax
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.140069a00
add rsp, 0x70
pop rdi
ret
Function at 0x140048110
Capabilities:
Get common file path

Disassembly:
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x260
mov rax, qword [0x1400d2070]
xor rax, rsp
mov qword [rsp + 0x250], rax
mov dword [rsp + 0x30], 0
lea rax, [rsp + 0x40]
mov rdi, rax
xor eax, eax
mov ecx, 0x208
rep stosb byte [rdi], al
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov edx, dword [rsp + 0x278]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
mov dword [rsp + 0x34], eax
cmp dword [rsp + 0x34], 0
jl 0x1400481a9
lea rcx, [rsp + 0x40]
call qword [sym.imp.SHLWAPI.dll_PathAddBackslashW]
lea rdx, [rsp + 0x40]
mov rcx, qword [rsp + 0x270]
call fcn.140048660
nop
mov eax, dword [rsp + 0x30]
or eax, 1
mov dword [rsp + 0x30], eax
mov rax, qword [rsp + 0x270]
jmp 0x1400481d1
lea rdx, [0x1400affac]
mov rcx, qword [rsp + 0x270]
call fcn.140002040
nop
mov eax, dword [rsp + 0x30]
or eax, 1
mov dword [rsp + 0x30], eax
mov rax, qword [rsp + 0x270]
mov rcx, qword [rsp + 0x250]
xor rcx, rsp
call fcn.140069a00
add rsp, 0x260
pop rdi
ret

Function at 0x1400482b0
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x260
mov rax, qword [0x1400d2070]
xor rax, rsp
mov qword [rsp + 0x250], rax
mov dword [rsp + 0x30], 0
lea rax, [rsp + 0x40]
mov rdi, rax
xor eax, eax
mov ecx, 0x208
rep stosb byte [rdi], al
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov edx, 0x24
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
mov dword [rsp + 0x34], eax
cmp dword [rsp + 0x34], 0
jl 0x140048343
lea rcx, [rsp + 0x40]
call qword [sym.imp.SHLWAPI.dll_PathStripToRootW]
lea rdx, [rsp + 0x40]
mov rcx, qword [rsp + 0x270]
call fcn.140048660
nop
mov eax, dword [rsp + 0x30]
or eax, 1
mov dword [rsp + 0x30], eax
mov rax, qword [rsp + 0x270]
jmp 0x14004836b
lea rdx, [0x1400afffc]
mov rcx, qword [rsp + 0x270]
call fcn.140002040
nop
mov eax, dword [rsp + 0x30]
or eax, 1
mov dword [rsp + 0x30], eax
mov rax, qword [rsp + 0x270]
mov rcx, qword [rsp + 0x250]
xor rcx, rsp
call fcn.140069a00
add rsp, 0x260
pop rdi
ret

Function at 0x140048390
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x58
mov rax, qword [0x1400d2070]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov dword [rsp + 0x24], 0
mov edx, 0x18
lea rcx, [rsp + 0x28]
call fcn.140001d80
lea rcx, [rsp + 0x20]
call fcn.140002280
mov r8, rax
mov edx, 0x104
lea rcx, [rsp + 0x28]
call fcn.14001e660
nop
xor edx, edx
lea rcx, [rsp + 0x28]
call fcn.14001e610
mov rdx, rax
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
xor edx, edx
lea rcx, [rsp + 0x28]
call fcn.14001e610
mov rcx, rax
call qword [sym.imp.SHLWAPI.dll_PathAddBackslashW]
xor edx, edx
lea rcx, [rsp + 0x28]
call fcn.14001e610
mov rdx, rax
mov rcx, qword [rsp + 0x60]
call fcn.140048660
mov eax, dword [rsp + 0x24]
or eax, 1
mov dword [rsp + 0x24], eax
lea rcx, [rsp + 0x28]
call fcn.14001e640
mov rax, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.140069a00
add rsp, 0x58
ret