joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14001ca30
Capabilities:
Check if file exists

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x28
mov rax, qword [rsp + 0x30]
mov rax, qword [rax]
movzx eax, byte [rax]
cmp eax, 1
jne 0x14001caa1
mov rax, qword [rsp + 0x30]
mov rcx, qword [rax + 8]
call fcn.1400234e0
movzx eax, al
cmp eax, 1
jne 0x14001ca81
mov rax, qword [rsp + 0x30]
mov rax, qword [rax + 0x10]
add rax, 0x10
mov rcx, rax
call fcn.140017de0
mov rcx, rax
call qword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
jmp 0x14001caa3
mov rax, qword [rsp + 0x30]
mov rax, qword [rax + 0x10]
add rax, 0x10
mov rcx, rax
call fcn.140017de0
mov rcx, rax
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
jmp 0x14001caa3
xor eax, eax
add rsp, 0x28
ret

Function at 0x14001cb40
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0xc8
mov rax, qword [0x1402be5c8]
xor rax, rsp
mov qword [rsp + 0xb0], rax
mov edx, 0x10
lea rcx, [rsp + 0x80]
call fcn.140017b40
lea rdx, [0x1402d3be0]
lea rcx, [rsp + 0x80]
call fcn.140022cd0
nop
mov dword [rsp + 0x78], 0
cmp qword [0x1402d3bd0], 0
je 0x14001cc6b
mov rcx, qword [0x1402d3bd0]
call fcn.14001d060
and eax, 0x1000
test eax, eax
jne 0x14001cc56
movzx eax, byte [0x1402d3bc0]
cmp eax, 1
jne 0x14001cc56
lea rax, [rsp + 0x58]
mov qword [rsp + 0x38], rax
mov rdx, qword [rsp + 0xd0]
mov rcx, qword [rsp + 0x38]
call fcn.140018e70
mov qword [rsp + 0x40], rax
mov rdx, qword [rsp + 0x40]
lea rcx, [rsp + 0x90]
call fcn.14001ae50
lea rcx, [rsp + 0x90]
call fcn.140023520
mov dword [rsp + 0x30], eax
lea rcx, [rsp + 0x90]
call fcn.140023d40
mov qword [rsp + 0x48], rax
mov rax, qword [0x1402d3bc8]
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x78]
mov r8d, dword [rsp + 0x30]
mov rdx, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_WriteFile]
lea rcx, [rsp + 0x90]
call fcn.140023f20
mov rdx, qword [rsp + 0xd0]
lea rcx, [0x1402d24a0]
call fcn.14002c8c0
nop
lea rcx, [rsp + 0x80]
call fcn.140022ca0
nop
mov rcx, qword [rsp + 0xd0]
call fcn.140023a10
mov rcx, qword [rsp + 0xb0]
xor rcx, rsp
call fcn.1401a9440
add rsp, 0xc8
ret
Function at 0x14001cca0
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov dword [rsp + 8], ecx
mov qword [rsp + 0x20], r9
sub rsp, 0x128
mov rax, qword [0x1402be5c8]
xor rax, rsp
mov qword [rsp + 0x118], rax
lea rcx, [rsp + 0xf8]
call fcn.140023bd0
nop
lea rax, [rsp + 0x148]
mov qword [rsp + 0xd8], rax
mov rdx, qword [rsp + 0xd8]
mov rcx, qword [rsp + 0x140]
call fcn.140014810
inc eax
mov dword [rsp + 0x34], eax
mov qword [rsp + 0xd8], 0
mov edx, 0x18
lea rcx, [rsp + 0xe0]
call fcn.140017b40
lea rcx, [rsp + 0x30]
call fcn.140014f30
movsxd rcx, dword [rsp + 0x34]
mov r8, rax
mov rdx, rcx
lea rcx, [rsp + 0xe0]
call fcn.1400213f0
nop
lea rax, [rsp + 0x148]
mov qword [rsp + 0xd8], rax
mov rax, qword [rsp + 0xd8]
mov qword [rsp + 0x38], rax
xor edx, edx
lea rcx, [rsp + 0xe0]
call fcn.1400213a0
mov qword [rsp + 0x40], rax
movsxd rax, dword [rsp + 0x34]
mov rcx, qword [rsp + 0x38]
mov qword [rsp + 0x20], rcx
mov r9, qword [rsp + 0x140]
mov r8, 0xffffffffffffffff
mov rdx, rax
mov rcx, qword [rsp + 0x40]
call fcn.1400146e0
mov qword [rsp + 0xd8], 0
xor edx, edx
lea rcx, [rsp + 0xe0]
call fcn.1400213a0
mov rdx, rax
lea rcx, [rsp + 0xf8]
call fcn.140023980
cmp qword [0x1402d3bd0], 0
je 0x14001cebe
mov rcx, qword [0x1402d3bd0]
call fcn.14001c1f0
movzx eax, al
cmp eax, 1
jne 0x14001ce8d
lea rcx, [rsp + 0xf8]
call fcn.140017de0
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
lea rax, [rsp + 0x78]
mov qword [rsp + 0x48], rax
lea rdx, str._t_t_t_t_t_t_t_t_r
mov rcx, qword [rsp + 0x48]
call fcn.140017fc0
mov qword [rsp + 0x50], rax
mov rcx, qword [rsp + 0x50]
call fcn.14001cb40
lea rax, [rsp + 0x98]
mov qword [rsp + 0x58], rax
lea rdx, [rsp + 0xf8]
mov rcx, qword [rsp + 0x58]
call fcn.140018e70
mov qword [rsp + 0x60], rax
mov rcx, qword [rsp + 0x60]
call fcn.14001cb40
lea rax, [rsp + 0xb8]
mov qword [rsp + 0x68], rax
lea rdx, [0x140279b7c]
mov rcx, qword [rsp + 0x68]
call fcn.140017fc0
mov qword [rsp + 0x70], rax
mov rcx, qword [rsp + 0x70]
call fcn.14001cb40
mov rcx, qword [0x1402d3bd0]
call fcn.14001c210
movzx eax, al
cmp eax, 1
jne 0x14001cebe
lea rcx, [rsp + 0xf8]
call fcn.140017de0
mov rdx, rax
lea rcx, [0x14027bda0]
call fcn.14001b8a0
nop
lea rcx, [rsp + 0xe0]
call fcn.1400213d0
nop
lea rcx, [rsp + 0xf8]
call fcn.140023a10
mov rcx, qword [rsp + 0x118]
xor rcx, rsp
call fcn.1401a9440
add rsp, 0x128
ret
Function at 0x14001d8a0
Capabilities:
Set registry value

Disassembly:
mov byte [rsp + 0x20], r9b
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0xa8
mov rax, qword [0x1402be5c8]
xor rax, rsp
mov qword [rsp + 0x90], rax
mov byte [rsp + 0x50], 0
lea rax, [rsp + 0x88]
mov qword [rsp + 0x20], rax
mov r9d, 0xf003f
xor r8d, r8d
mov rdx, qword [rsp + 0xb0]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14001d9d3
movzx eax, byte [rsp + 0xc8]
test eax, eax
je 0x14001d964
mov rcx, qword [rsp + 0xc0]
call qword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
cdqe
shl rax, 1
mov dword [rsp + 0x54], eax
mov rax, qword [rsp + 0x88]
mov qword [rsp + 0x68], rax
mov eax, dword [rsp + 0x54]
mov dword [rsp + 0x28], eax
mov rax, qword [rsp + 0xc0]
mov qword [rsp + 0x20], rax
mov r9d, 1
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
jmp 0x14001d9bb
mov rcx, qword [rsp + 0xc0]
call qword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
cdqe
shl rax, 1
mov dword [rsp + 0x58], eax
mov rax, qword [rsp + 0x88]
mov qword [rsp + 0x70], rax
mov eax, dword [rsp + 0x58]
mov dword [rsp + 0x28], eax
mov rax, qword [rsp + 0xc0]
mov qword [rsp + 0x20], rax
mov r9d, 1
xor r8d, r8d
mov rdx, qword [rsp + 0xb8]
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rsp + 0x88]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov byte [rsp + 0x50], 1
jmp 0x14001daf4
mov qword [rsp + 0x40], 0
lea rax, [rsp + 0x88]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0xf003f
mov dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [rsp + 0xb0]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x14001daf4
movzx eax, byte [rsp + 0xc8]
test eax, eax
je 0x14001da84
mov rcx, qword [rsp + 0xc0]
call qword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
cdqe
shl rax, 1
mov dword [rsp + 0x5c], eax
mov rax, qword [rsp + 0x88]
mov qword [rsp + 0x78], rax
mov eax, dword [rsp + 0x5c]
mov dword [rsp + 0x28], eax
mov rax, qword [rsp + 0xc0]
mov qword [rsp + 0x20], rax
mov r9d, 1
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
jmp 0x14001dae1
mov rcx, qword [rsp + 0xc0]
call qword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
cdqe
shl rax, 1
mov dword [rsp + 0x60], eax
mov rax, qword [rsp + 0x88]
mov qword [rsp + 0x80], rax
mov eax, dword [rsp + 0x60]
mov dword [rsp + 0x28], eax
mov rax, qword [rsp + 0xc0]
mov qword [rsp + 0x20], rax
mov r9d, 1
xor r8d, r8d
mov rdx, qword [rsp + 0xb8]
mov rcx, qword [rsp + 0x80]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rsp + 0x88]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov byte [rsp + 0x50], 1
movzx eax, byte [rsp + 0x50]
mov rcx, qword [rsp + 0x90]
xor rcx, rsp
call fcn.1401a9440
add rsp, 0xa8
ret
Function at 0x14001f1c0
Capabilities:
Create process on windows

Disassembly:
mov byte [rsp + 0x10], dl
mov qword [rsp + 8], rcx
sub rsp, 0x1d8
mov rax, qword [0x1402be5c8]
xor rax, rsp
mov qword [rsp + 0x1c0], rax
mov dword [rsp + 0x34], 1
lea rcx, [rsp + 0x98]
call fcn.140023bd0
nop
lea rcx, [rsp + 0x78]
call fcn.14001f0c0
nop
lea rcx, [rsp + 0x78]
call fcn.1400234e0
movzx eax, al
test eax, eax
jne 0x14001f310
mov edx, 0xf8
lea rcx, [rsp + 0xc0]
call fcn.140017b40
mov edx, 1
lea rcx, [rsp + 0xc0]
call fcn.140022120
nop
lea rax, [rsp + 0xd0]
lea rdx, [rsp + 0x78]
mov rcx, rax
call fcn.14002c8c0
lea rdx, [0x140279c74]
mov rcx, rax
call fcn.14002bf30
lea rdx, str.AMDSoftwareInstaller.exe
mov rcx, rax
call fcn.14002bf30
movzx eax, byte [rsp + 0x1e8]
test eax, eax
je 0x14001f286
mov dword [rsp + 0x30], 1
jmp 0x14001f28e
mov dword [rsp + 0x30], 0
mov rax, qword [rsp + 0x1e0]
add rax, 0x90
mov rcx, rax
call fcn.140017de0
mov qword [rsp + 0x48], rax
lea rdx, [rsp + 0x58]
lea rcx, [rsp + 0xc0]
call fcn.140021f40
mov qword [rsp + 0x40], rax
mov rcx, qword [rsp + 0x40]
call fcn.140017de0
mov qword [rsp + 0x50], rax
mov eax, dword [rsp + 0x30]
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], 0
mov r9, qword [rsp + 0x48]
mov r8, qword [rsp + 0x50]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_ShellExecuteW]
mov dword [rsp + 0x34], eax
lea rcx, [rsp + 0x58]
call fcn.140023a10
nop
lea rcx, [rsp + 0xc0]
call fcn.140019440
mov eax, dword [rsp + 0x34]
mov dword [rsp + 0x38], eax
lea rcx, [rsp + 0x78]
call fcn.140023a10
nop
lea rcx, [rsp + 0x98]
call fcn.140023a10
mov eax, dword [rsp + 0x38]
mov rcx, qword [rsp + 0x1c0]
xor rcx, rsp
call fcn.1401a9440
add rsp, 0x1d8
ret
Function at 0x140020080
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x78
mov rax, qword [0x1402be5c8]
xor rax, rsp
mov qword [rsp + 0x60], rax
cmp qword [rsp + 0x90], 0
jg 0x1400200b4
xor eax, eax
jmp 0x1400202aa
mov rax, qword [rsp + 0x80]
cmp qword [rax + 0x68], 0
je 0x1400200e5
mov r8, qword [rsp + 0x90]
mov rdx, qword [rsp + 0x88]
mov rcx, qword [rsp + 0x80]
call fcn.140022e60
jmp 0x1400202aa
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0x30], rax
mov rcx, qword [rsp + 0x80]
call fcn.140026a40
mov qword [rsp + 0x58], rax
cmp qword [rsp + 0x58], 0
jbe 0x140020193
lea rdx, [rsp + 0x58]
lea rcx, [rsp + 0x50]
call fcn.140018670
mov rax, qword [rax]
mov qword [rsp + 0x20], rax
mov rcx, qword [rsp + 0x80]
call fcn.140026c10
mov r8, qword [rsp + 0x20]
mov rdx, rax
mov rcx, qword [rsp + 0x88]
call fcn.140028300
mov rax, qword [rsp + 0x20]
mov rcx, qword [rsp + 0x88]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x88], rax
mov rax, qword [rsp + 0x20]
mov rcx, qword [rsp + 0x50]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x50], rax
mov edx, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x80]
call fcn.140026ed0
mov rax, qword [rsp + 0x80]
cmp qword [rax + 0x80], 0
je 0x14002029a
mov rcx, qword [rsp + 0x80]
call fcn.140025b00
mov qword [rsp + 0x48], 0xfff
cmp qword [rsp + 0x50], 0xfff
jbe 0x140020248
mov rax, qword [rsp + 0x80]
mov r9, qword [rax + 0x80]
mov r8d, 0xfff
mov edx, 1
mov rcx, qword [rsp + 0x88]
call fcn.1401e3254
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x88]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x88], rax
mov rax, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x50]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x28], 0xfff
je 0x140020243
mov rax, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x30]
sub rcx, rax
mov rax, rcx
jmp 0x1400202aa
jmp 0x1400201bf
cmp qword [rsp + 0x50], 0
jbe 0x14002029a
mov rax, qword [rsp + 0x80]
mov r9, qword [rax + 0x80]
mov r8, qword [rsp + 0x50]
mov edx, 1
mov rcx, qword [rsp + 0x88]
call fcn.1401e3254
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x40]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x30]
sub rcx, rax
mov rax, rcx
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.1401a9440
add rsp, 0x78
ret
Function at 0x1400208b0
Capabilities:
Write file on windows

Disassembly:
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0xd8
mov rax, qword [0x1402be5c8]
xor rax, rsp
mov qword [rsp + 0xc0], rax
call fcn.140028220
mov dword [rsp + 0x50], eax
lea rdx, [rsp + 0xe8]
lea rcx, [rsp + 0x50]
call fcn.140028280
movzx eax, al
test eax, eax
je 0x140020906
lea rcx, [rsp + 0xe8]
call fcn.140028230
jmp 0x140020b7a
mov rcx, qword [rsp + 0xe0]
call fcn.140026bf0
test rax, rax
je 0x140020972
mov rcx, qword [rsp + 0xe0]
call fcn.140026bf0
mov qword [rsp + 0x60], rax
mov rcx, qword [rsp + 0xe0]
call fcn.140026e40
mov rcx, qword [rsp + 0x60]
cmp rcx, rax
jae 0x140020972
lea rcx, [rsp + 0xe8]
call fcn.140020ba0
mov byte [rsp + 0x40], al
mov rcx, qword [rsp + 0xe0]
call fcn.140026ce0
movzx ecx, byte [rsp + 0x40]
mov byte [rax], cl
mov eax, dword [rsp + 0xe8]
jmp 0x140020b7a
mov rax, qword [rsp + 0xe0]
cmp qword [rax + 0x80], 0
jne 0x14002098e
call fcn.140028220
jmp 0x140020b7a
mov rcx, qword [rsp + 0xe0]
call fcn.140025b00
mov rax, qword [rsp + 0xe0]
cmp qword [rax + 0x68], 0
jne 0x140020a04
mov rax, qword [rsp + 0xe0]
mov rax, qword [rax + 0x80]
mov qword [rsp + 0x68], rax
lea rcx, [rsp + 0xe8]
call fcn.140020ba0
mov byte [rsp + 0x41], al
mov rdx, qword [rsp + 0x68]
movzx ecx, byte [rsp + 0x41]
call fcn.140017d20
movzx eax, al
test eax, eax
je 0x1400209f2
mov eax, dword [rsp + 0xe8]
mov dword [rsp + 0x48], eax
jmp 0x1400209fb
call fcn.140028220
mov dword [rsp + 0x48], eax
mov eax, dword [rsp + 0x48]
jmp 0x140020b7a
mov qword [rsp + 0x78], 0x20
lea rcx, [rsp + 0xe8]
call fcn.140020ba0
mov byte [rsp + 0x90], al
mov rax, qword [rsp + 0xe0]
mov rax, qword [rax + 0x68]
mov qword [rsp + 0x70], rax
lea rax, [rsp + 0xb8]
lea rcx, [rsp + 0x91]
mov rdx, qword [rsp + 0xe0]
add rdx, 0x74
lea r8, [rsp + 0x80]
mov qword [rsp + 0x38], r8
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x98]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x88]
mov qword [rsp + 0x20], rax
mov r9, rcx
lea r8, [rsp + 0x90]
mov rcx, qword [rsp + 0x70]
call fcn.140025980
mov dword [rsp + 0x44], eax
cmp dword [rsp + 0x44], 0
je 0x140020ab1
cmp dword [rsp + 0x44], 1
je 0x140020ab1
cmp dword [rsp + 0x44], 3
je 0x140020b36
jmp 0x140020b75
lea rax, [rsp + 0x98]
mov rcx, qword [rsp + 0x80]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x58], rax
cmp qword [rsp + 0x58], 0
jbe 0x140020b08
mov rax, qword [rsp + 0xe0]
mov r9, qword [rax + 0x80]
mov r8, qword [rsp + 0x58]
mov edx, 1
lea rcx, [rsp + 0x98]
call fcn.1401e0494
cmp qword [rsp + 0x58], rax
je 0x140020b08
call fcn.140028220
jmp 0x140020b7a
mov rax, qword [rsp + 0xe0]
mov byte [rax + 0x71], 1
lea rax, [rsp + 0x90]
cmp qword [rsp + 0x88], rax
je 0x140020b2f
mov eax, dword [rsp + 0xe8]
jmp 0x140020b7a
call fcn.140028220
jmp 0x140020b7a
mov rax, qword [rsp + 0xe0]
mov rdx, qword [rax + 0x80]
movzx ecx, byte [rsp + 0x90]
call fcn.140017d20
movzx eax, al
test eax, eax
je 0x140020b66
mov eax, dword [rsp + 0xe8]
mov dword [rsp + 0x4c], eax
jmp 0x140020b6f
call fcn.140028220
mov dword [rsp + 0x4c], eax
mov eax, dword [rsp + 0x4c]
jmp 0x140020b7a
call fcn.140028220
mov rcx, qword [rsp + 0xc0]
xor rcx, rsp
call fcn.1401a9440
add rsp, 0xd8
ret
Function at 0x140025bb0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0xa8
mov rax, qword [0x1402be5c8]
xor rax, rsp
mov qword [rsp + 0x98], rax
mov rax, qword [rsp + 0xb0]
cmp qword [rax + 0x68], 0
je 0x140025bed
mov rax, qword [rsp + 0xb0]
movzx eax, byte [rax + 0x71]
test eax, eax
jne 0x140025bf4
mov al, 1
jmp 0x140025d4c
mov rax, qword [rsp + 0xb0]
mov rax, qword [rax]
mov rax, qword [rax + 0x18]
mov qword [rsp + 0x50], rax
call fcn.140028220
mov dword [rsp + 0x38], eax
mov edx, dword [rsp + 0x38]
mov rcx, qword [rsp + 0xb0]
call qword [rsp + 0x50]
mov dword [rsp + 0x3c], eax
call fcn.140028220
mov dword [rsp + 0x40], eax
lea rdx, [rsp + 0x3c]
lea rcx, [rsp + 0x40]
call fcn.140028280
movzx eax, al
test eax, eax
je 0x140025c4b
xor al, al
jmp 0x140025d4c
mov qword [rsp + 0x60], 0x20
mov rax, qword [rsp + 0xb0]
mov rax, qword [rax + 0x68]
mov qword [rsp + 0x58], rax
lea rax, [rsp + 0x90]
mov rcx, qword [rsp + 0xb0]
add rcx, 0x74
lea rdx, [rsp + 0x68]
mov qword [rsp + 0x20], rdx
mov r9, rax
lea r8, [rsp + 0x70]
mov rdx, rcx
mov rcx, qword [rsp + 0x58]
call fcn.140029bf0
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
je 0x140025cba
cmp dword [rsp + 0x30], 1
je 0x140025cc6
cmp dword [rsp + 0x30], 3
je 0x140025d3a
jmp 0x140025d4a
mov rax, qword [rsp + 0xb0]
mov byte [rax + 0x71], 0
lea rax, [rsp + 0x70]
mov rcx, qword [rsp + 0x68]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0x48], 0
jbe 0x140025d11
mov rax, qword [rsp + 0xb0]
mov r9, qword [rax + 0x80]
mov r8, qword [rsp + 0x48]
mov edx, 1
lea rcx, [rsp + 0x70]
call fcn.1401e0494
cmp qword [rsp + 0x48], rax
je 0x140025d11
xor al, al
jmp 0x140025d4c
mov rax, qword [rsp + 0xb0]
movzx eax, byte [rax + 0x71]
test eax, eax
jne 0x140025d2b
mov dword [rsp + 0x34], 1
jmp 0x140025d33
mov dword [rsp + 0x34], 0
movzx eax, byte [rsp + 0x34]
jmp 0x140025d4c
mov rax, qword [rsp + 0xb0]
mov byte [rax + 0x71], 0
mov al, 1
jmp 0x140025d4c
xor al, al
mov rcx, qword [rsp + 0x98]
xor rcx, rsp
call fcn.1401a9440
add rsp, 0xa8
ret

Function at 0x1400359d0
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x40
mov rax, qword [0x1402be5c8]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov rdi, rdx
mov rbx, rcx
mov ecx, 8
call fcn.1401a9704
test rax, rax
je 0x140035a01
mov qword [rax], rdi
mov qword [rsp + 0x30], rax
lea rdi, [rbx + 8]
mov qword [rsp + 0x28], rdi
mov dword [rsp + 0x20], 0
mov r9, rax
lea r8, [0x14003c310]
xor edx, edx
xor ecx, ecx
call fcn.1401e90b4
mov qword [rbx], rax
test rax, rax
je 0x140035a4d
mov rax, rbx
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.1401a9440
mov rbx, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
ret
mov dword [rdi], 0
mov ecx, 6
call fcn.1401ac738
int3
Function at 0x140045760
Capabilities:
Create restart manager session

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x50
xor eax, eax
mov dword [rcx], 0xffffffff
movzx edi, dl
mov qword [rcx + 0x48], rax
xor edx, edx
mov qword [rcx + 0x50], rax
lea r8, [rcx + 4]
mov rbx, rcx
call sub.RstrtMgr.DLL_RmStartSession
mov esi, eax
test eax, eax
je 0x14004579b
test dil, dil
je 0x1400457ae
mov rsi, qword [rsp + 0x68]
mov rax, rbx
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rdi
ret
call fcn.140015e70
mov r8, rax
lea r9, str.Unable_to_start_Restart_Manager_Session
mov edx, esi
lea rcx, [rsp + 0x20]
call fcn.140047740
lea rdx, [0x1402b9650]
lea rcx, [rsp + 0x20]
call fcn.1401cf69c
int3
Function at 0x14005cfa0
Capabilities:
Enumerate processes that use resource

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x80
mov rax, qword [0x1402be5c8]
xor rax, rsp
mov qword [rsp + 0x70], rax
mov r15, qword [rsp + 0xe0]
mov rdi, rcx
mov rcx, qword [rcx + 0x48]
mov r14d, r9d
mov r12, qword [rsp + 0xf0]
mov rbp, r8
mov ebx, edx
test rcx, rcx
je 0x14005cff1
mov dword [rdi + 0x50], 0
call fcn.1401a9460
mov eax, dword [rsp + 0xe8]
mov r9d, r14d
mov ecx, dword [rdi]
mov r8, rbp
mov qword [rsp + 0x30], r12
mov edx, ebx
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], r15
call sub.RstrtMgr.DLL_RmRegisterResources
mov ebx, eax
test eax, eax
jne 0x14005d0c2
mov r9, qword [rdi + 0x48]
lea r8, [rdi + 0x50]
mov ecx, dword [rdi]
lea rdx, [rsp + 0x68]
mov dword [rsp + 0x68], eax
mov dword [rsp + 0x6c], eax
lea rax, [rsp + 0x6c]
mov qword [rsp + 0x20], rax
call sub.RstrtMgr.DLL_RmGetList
mov ebx, eax
cmp eax, 0xea
je 0x14005d058
test eax, eax
jne 0x14005d0ef
jmp 0x14005d0a3
mov eax, dword [rsp + 0x68]
mov rcx, 0xffffffffffffffff
mov dword [rdi + 0x50], eax
mov edx, eax
mov eax, 0x29c
mul rdx
cmovo rax, rcx
mov rcx, rax
call fcn.1401a9d00
lea rcx, [rsp + 0x6c]
mov qword [rdi + 0x48], rax
mov qword [rsp + 0x20], rcx
lea r8, [rdi + 0x50]
mov ecx, dword [rdi]
lea rdx, [rsp + 0x68]
mov r9, rax
call sub.RstrtMgr.DLL_RmGetList
mov ebx, eax
test eax, eax
jne 0x14005d11c
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.1401a9440
add rsp, 0x80
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
call fcn.140015e70
mov r8, rax
lea r9, str.Unable_to_register_resources_in_Restart_Manager
mov edx, ebx
lea rcx, [rsp + 0x40]
call fcn.140047740
lea rdx, [0x1402b9650]
lea rcx, [rsp + 0x40]
call fcn.1401cf69c
int3
call fcn.140015e70
mov r8, rax
lea r9, str.Unable_to_call_RmGetList_in_Restart_Manager
mov edx, ebx
lea rcx, [rsp + 0x40]
call fcn.140047740
lea rdx, [0x1402b9650]
lea rcx, [rsp + 0x40]
call fcn.1401cf69c
int3
call fcn.140015e70
mov r8, rax
lea r9, str.Unable_to_call_RmGetList_in_Restart_Manager
mov edx, ebx
lea rcx, [rsp + 0x40]
call fcn.140047740
lea rdx, [0x1402b9650]
lea rcx, [rsp + 0x40]
call fcn.1401cf69c
int3
Function at 0x140073970
Capabilities:
Query or enumerate registry value

Disassembly:
push rbx
sub rsp, 0x80
mov rax, qword [0x1402be5c8]
xor rax, rsp
mov qword [rsp + 0x70], rax
mov rcx, qword [rcx]
lea rax, [rsp + 0x68]
mov qword [rsp + 0x30], rax
mov r9d, 0x10
lea rax, [rsp + 0x6c]
mov dword [rsp + 0x68], 4
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], 0
call qword [sym.imp.ADVAPI32.dll_RegGetValueW]
mov ebx, eax
test eax, eax
jne 0x1400739dc
mov eax, dword [rsp + 0x6c]
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.1401a9440
add rsp, 0x80
pop rbx
ret
call fcn.140015e70
mov r8, rax
lea r9, str.Unable_to_get_registry_value
mov edx, ebx
lea rcx, [rsp + 0x40]
call fcn.140045e00
lea rdx, [0x1402b97a8]
lea rcx, [rsp + 0x40]
call fcn.1401cf69c
int3
Function at 0x140076cf0
Capabilities:
Query or enumerate registry value

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0xa8
mov rax, qword [0x1402be5c8]
xor rax, rsp
mov qword [rsp + 0x90], rax
mov r14, r9
mov rbp, r8
mov rbx, rdx
mov rsi, rcx
mov qword [rsp + 0x70], rdx
xor r15d, r15d
mov dword [rsp + 0x70], r15d
lea rax, [rsp + 0x70]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], r15
mov qword [rsp + 0x20], r15
lea r9d, [r15 + 2]
mov r8, r14
mov rdx, rbp
mov rcx, qword [rcx]
call qword [sym.imp.ADVAPI32.dll_RegGetValueW]
mov edi, eax
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x78], xmm1
mov qword [rsp + 0x88], r15
mov edx, dword [rsp + 0x70]
shr rdx, 1
je 0x140076d80
lea r8, [rsp + 0x40]
lea rcx, [rsp + 0x78]
call fcn.14003eb20
nop dword [rax]
lea rax, [rsp + 0x70]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r15
mov r9d, 2
mov r8, r14
mov rdx, rbp
mov rcx, qword [rsi]
call qword [sym.imp.ADVAPI32.dll_RegGetValueW]
test eax, eax
je 0x140076e3f
cmp byte [rsp + 0x100], 0
jne 0x140076eb9
mov qword [rbx], r15
mov qword [rbx + 0x10], r15
mov qword [rbx + 0x18], 7
mov word [rbx], r15w
mov rcx, qword [rsp + 0x78]
test rcx, rcx
je 0x140076e1c
mov rdx, qword [rsp + 0x88]
sub rdx, rcx
sar rdx, 1
add rdx, rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x140076e17
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140076ee6
call fcn.1401a9460
mov rax, rbx
mov rcx, qword [rsp + 0x90]
xor rcx, rsp
call fcn.1401a9440
add rsp, 0xa8
pop r15
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret
mov qword [rbx], r15
mov qword [rbx + 0x10], r15
mov qword [rbx + 0x18], 7
mov word [rbx], r15w
mov rdx, qword [rsp + 0x78]
mov r8, 0xffffffffffffffff
nop
inc r8
cmp word [rdx + r8*2], 0
jne 0x140076e60
mov rcx, rbx
call fcn.140018360
nop
mov rcx, qword [rsp + 0x78]
test rcx, rcx
je 0x140076e1c
mov rdx, qword [rsp + 0x88]
sub rdx, rcx
sar rdx, 1
add rdx, rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x140076e17
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140076ee6
jmp 0x140076e17
call fcn.140015e70
mov r8, rax
lea r9, str.Unable_to_get_registry_value
mov edx, edi
lea rcx, [rsp + 0x48]
call fcn.140045e00
lea rdx, [0x1402b97a8]
lea rcx, [rsp + 0x48]
call fcn.1401cf69c
nop
call fcn.1401e37cc
int3