joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140001c60
Capabilities:
Delete registry value

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x58
mov rax, qword [0x1400d2070]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], 0
lea rax, [rsp + 0x38]
mov qword [rsp + 0x20], rax
mov r9d, 0xf013f
mov r8d, 8
mov rdx, qword [rsp + 0x60]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [rsp + 0x34], eax
cmp dword [rsp + 0x34], 0
je 0x140001cd1
mov r8d, dword [rsp + 0x34]
mov rdx, qword [rsp + 0x60]
lea rcx, str.Cant_open_key___s__as_symlink__error__d
call fcn.140001a60
mov al, 1
jmp 0x140001d6d
lea rdx, str.SymbolicLinkValue
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov dword [rsp + 0x34], eax
cmp dword [rsp + 0x34], 0
je 0x140001d1d
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [rsp + 0x34]
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov r8d, dword [rsp + 0x34]
mov rdx, qword [rsp + 0x60]
lea rcx, str.Cant_delete_symlink_value___s___error__d
call fcn.140001a60
xor al, al
jmp 0x140001d6d
mov rcx, qword [rsp + 0x38]
call fcn.140001ba0
mov byte [rsp + 0x30], al
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
movzx eax, byte [rsp + 0x30]
test eax, eax
jne 0x140001d57
mov r8d, dword [rsp + 0x34]
mov rdx, qword [rsp + 0x60]
lea rcx, str.Cant_delete_symlink_key___s___error__d
call fcn.140001a60
jmp 0x140001d68
mov rdx, qword [rsp + 0x60]
lea rcx, str.Symlink___s__deleted
call fcn.140001a60
movzx eax, byte [rsp + 0x30]
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.140069a00
add rsp, 0x58
ret

Function at 0x140001da0
Capabilities:
Delete registry key

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x58
mov rax, qword [0x1400d2070]
xor rax, rsp
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0x68], 0
je 0x140001dd1
mov rax, qword [rsp + 0x68]
mov qword [0x1400d6da8], rax
mov byte [rsp + 0x20], 1
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x28], rax
mov edx, 8
lea rcx, [rsp + 0x38]
call fcn.140001d80
lea rdx, [rsp + 0x38]
mov rcx, qword [rsp + 0x28]
call fcn.140001f80
mov edx, 8
lea rcx, [rsp + 0x40]
call fcn.140001d80
lea rdx, [rsp + 0x40]
mov rcx, qword [rsp + 0x28]
call fcn.140001f50
jmp 0x140001e28
lea rcx, [rsp + 0x38]
call fcn.140001ee0
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x38]
call fcn.140001ea0
movzx eax, al
test eax, eax
je 0x140001e6d
lea rcx, [rsp + 0x38]
call fcn.140001f00
mov qword [rsp + 0x30], rax
mov rcx, qword [rsp + 0x30]
call fcn.140003970
mov rcx, rax
call fcn.140001c60
movzx eax, al
test eax, eax
jne 0x140001e6b
mov byte [rsp + 0x20], 0
jmp 0x140001e1e
lea rdx, str.SYSTEMSoftwareCOMODO
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
movzx eax, byte [rsp + 0x20]
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.140069a00
add rsp, 0x58
ret
Function at 0x14000d870
Capabilities:
Accept command line arguments

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0xf8
mov rax, qword [0x1400d2070]
xor rax, rsp
mov qword [rsp + 0xe0], rax
mov rax, qword [rsp + 0x108]
mov byte [rax], 1
mov dword [rsp + 0xb8], 0
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov qword [rsp + 0x40], rax
cmp qword [rsp + 0x40], 0
je 0x14000d8d2
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x48], rax
jmp 0x14000d8de
lea rax, [0x1400ad0c4]
mov qword [rsp + 0x48], rax
mov rdx, qword [rsp + 0x48]
lea rcx, [rsp + 0xc0]
call fcn.140002040
nop
lea r8, [rsp + 0xc0]
lea rdx, str.OUT:_Cmd_line_
lea rcx, [rsp + 0x98]
call fcn.140006670
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x60], rax
mov rcx, qword [rsp + 0x60]
call fcn.140003970
mov r8, rax
mov edx, 0xad
lea rcx, [0x1400ae170]
call fcn.140048c20
nop
lea rcx, [rsp + 0x98]
call fcn.140003bf0
mov dword [rsp + 0x30], 0
lea rdx, [rsp + 0xb8]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
je 0x14000dcee
mov dword [rsp + 0x20], 1
jmp 0x14000d988
mov eax, dword [rsp + 0xb8]
cmp dword [rsp + 0x20], eax
jge 0x14000dce3
movsxd rax, dword [rsp + 0x20]
lea rdx, [0x1400ad728]
mov rcx, qword [rsp + 0x28]
mov rcx, qword [rcx + rax*8]
int3
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rax, qword [rsp + 0x120]
movzx eax, byte [rax]
test eax, eax
je 0x14000dd68
cmp dword [rsp + 0x30], 0
jne 0x14000dd68
mov qword [rsp + 0x38], 0
jmp 0x14000dd1c
mov rax, qword [rsp + 0x38]
inc rax
mov qword [rsp + 0x38], rax
cmp qword [rsp + 0x38], 3
jae 0x14000dd68
mov rdx, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x100]
call fcn.14000e140
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x38], 0
jne 0x14000dd5c
mov r9w, 0x2a
mov r8d, 1
xor edx, edx
mov rcx, qword [rsp + 0x50]
call fcn.14000e1f0
jmp 0x14000dd66
mov rcx, qword [rsp + 0x50]
call fcn.14000e1d0
jmp 0x14000dd0f
lea rcx, [rsp + 0xc0]
call fcn.140003bf0
mov rcx, qword [rsp + 0xe0]
xor rcx, rsp
call fcn.140069a00
add rsp, 0xf8
ret
Function at 0x140027500
Capabilities:
Create process memory minidump

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x88
mov rax, qword [0x1400d2070]
xor rax, rsp
mov qword [rsp + 0x70], rax
cmp qword [rsp + 0x98], 0
jne 0x140027545
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov ecx, 0x80000003
call qword [sym.imp.KERNEL32.dll_RaiseException]
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [rsp + 0x60], eax
mov rax, qword [rsp + 0x98]
mov qword [rsp + 0x64], rax
mov dword [rsp + 0x6c], 0
cmp qword [rsp + 0x98], 0
je 0x14002757b
lea rax, [rsp + 0x60]
mov qword [rsp + 0x48], rax
jmp 0x140027584
mov qword [rsp + 0x48], 0
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov dword [rsp + 0x40], eax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x28], 0
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x20], rax
mov r9d, 2
mov r8, qword [rsp + 0x90]
mov edx, dword [rsp + 0x40]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.dbghelp.dll_MiniDumpWriteDump]
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.140069a00
add rsp, 0x88
ret
Function at 0x14002a710
Capabilities:
Write file on windows

Disassembly:
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0xd8
mov rax, qword [0x1400d2070]
xor rax, rsp
mov qword [rsp + 0xc0], rax
call fcn.14002c5c0
mov dword [rsp + 0x50], eax
lea rdx, [rsp + 0xe8]
lea rcx, [rsp + 0x50]
call fcn.14002c620
movzx eax, al
test eax, eax
je 0x14002a766
lea rcx, [rsp + 0xe8]
call fcn.14002c5d0
jmp 0x14002a9da
mov rcx, qword [rsp + 0xe0]
call fcn.14002c1e0
test rax, rax
je 0x14002a7d2
mov rcx, qword [rsp + 0xe0]
call fcn.14002c1e0
mov qword [rsp + 0x60], rax
mov rcx, qword [rsp + 0xe0]
call fcn.14002c130
mov rcx, qword [rsp + 0x60]
cmp rcx, rax
jae 0x14002a7d2
lea rcx, [rsp + 0xe8]
call fcn.14002aa00
mov byte [rsp + 0x40], al
mov rcx, qword [rsp + 0xe0]
call fcn.14002bf90
movzx ecx, byte [rsp + 0x40]
mov byte [rax], cl
mov eax, dword [rsp + 0xe8]
jmp 0x14002a9da
mov rax, qword [rsp + 0xe0]
cmp qword [rax + 0x80], 0
jne 0x14002a7ee
call fcn.14002c5c0
jmp 0x14002a9da
mov rcx, qword [rsp + 0xe0]
call fcn.14002ba10
mov rax, qword [rsp + 0xe0]
cmp qword [rax + 0x68], 0
jne 0x14002a864
mov rax, qword [rsp + 0xe0]
mov rax, qword [rax + 0x80]
mov qword [rsp + 0x68], rax
lea rcx, [rsp + 0xe8]
call fcn.14002aa00
mov byte [rsp + 0x41], al
mov rdx, qword [rsp + 0x68]
movzx ecx, byte [rsp + 0x41]
call fcn.1400311f0
movzx eax, al
test eax, eax
je 0x14002a852
mov eax, dword [rsp + 0xe8]
mov dword [rsp + 0x48], eax
jmp 0x14002a85b
call fcn.14002c5c0
mov dword [rsp + 0x48], eax
mov eax, dword [rsp + 0x48]
jmp 0x14002a9da
mov qword [rsp + 0x78], 0x20
lea rcx, [rsp + 0xe8]
call fcn.14002aa00
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.14002b650
mov dword [rsp + 0x44], eax
cmp dword [rsp + 0x44], 0
je 0x14002a911
cmp dword [rsp + 0x44], 1
je 0x14002a911
cmp dword [rsp + 0x44], 3
je 0x14002a996
jmp 0x14002a9d5
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 0x14002a968
mov rax, qword [rsp + 0xe0]
mov r9, qword [rax + 0x80]
mov r8, qword [rsp + 0x58]
mov edx, 1
lea rcx, [rsp + 0x98]
call fcn.140073f28
cmp qword [rsp + 0x58], rax
je 0x14002a968
call fcn.14002c5c0
jmp 0x14002a9da
mov rax, qword [rsp + 0xe0]
mov byte [rax + 0x71], 1
lea rax, [rsp + 0x90]
cmp qword [rsp + 0x88], rax
je 0x14002a98f
mov eax, dword [rsp + 0xe8]
jmp 0x14002a9da
call fcn.14002c5c0
jmp 0x14002a9da
mov rax, qword [rsp + 0xe0]
mov rdx, qword [rax + 0x80]
movzx ecx, byte [rsp + 0x90]
call fcn.1400311f0
movzx eax, al
test eax, eax
je 0x14002a9c6
mov eax, dword [rsp + 0xe8]
mov dword [rsp + 0x4c], eax
jmp 0x14002a9cf
call fcn.14002c5c0
mov dword [rsp + 0x4c], eax
mov eax, dword [rsp + 0x4c]
jmp 0x14002a9da
call fcn.14002c5c0
mov rcx, qword [rsp + 0xc0]
xor rcx, rsp
call fcn.140069a00
add rsp, 0xd8
ret
Function at 0x14002bac0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0xa8
mov rax, qword [0x1400d2070]
xor rax, rsp
mov qword [rsp + 0x98], rax
mov rax, qword [rsp + 0xb0]
cmp qword [rax + 0x68], 0
je 0x14002bafd
mov rax, qword [rsp + 0xb0]
movzx eax, byte [rax + 0x71]
test eax, eax
jne 0x14002bb04
mov al, 1
jmp 0x14002bc5c
mov rax, qword [rsp + 0xb0]
mov rax, qword [rax]
mov rax, qword [rax + 0x18]
mov qword [rsp + 0x50], rax
call fcn.14002c5c0
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.14002c5c0
mov dword [rsp + 0x40], eax
lea rdx, [rsp + 0x3c]
lea rcx, [rsp + 0x40]
call fcn.14002c620
movzx eax, al
test eax, eax
je 0x14002bb5b
xor al, al
jmp 0x14002bc5c
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.14002c710
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
je 0x14002bbca
cmp dword [rsp + 0x30], 1
je 0x14002bbd6
cmp dword [rsp + 0x30], 3
je 0x14002bc4a
jmp 0x14002bc5a
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 0x14002bc21
mov rax, qword [rsp + 0xb0]
mov r9, qword [rax + 0x80]
mov r8, qword [rsp + 0x48]
mov edx, 1
lea rcx, [rsp + 0x70]
call fcn.140073f28
cmp qword [rsp + 0x48], rax
je 0x14002bc21
xor al, al
jmp 0x14002bc5c
mov rax, qword [rsp + 0xb0]
movzx eax, byte [rax + 0x71]
test eax, eax
jne 0x14002bc3b
mov dword [rsp + 0x34], 1
jmp 0x14002bc43
mov dword [rsp + 0x34], 0
movzx eax, byte [rsp + 0x34]
jmp 0x14002bc5c
mov rax, qword [rsp + 0xb0]
mov byte [rax + 0x71], 0
mov al, 1
jmp 0x14002bc5c
xor al, al
mov rcx, qword [rsp + 0x98]
xor rcx, rsp
call fcn.140069a00
add rsp, 0xa8
ret

Function at 0x140031c90
Capabilities:
Delete file

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x38
mov rcx, qword [rsp + 0x40]
call fcn.140003970
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
mov r8, 0xffffffffffffffff
mov dx, 0x2e
mov rcx, qword [rsp + 0x40]
call fcn.1400343a0
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0xffffffffffffffff
je 0x140031cdd
mov rdx, qword [rsp + 0x20]
mov rcx, qword [rsp + 0x40]
call fcn.140034400
lea rdx, [0x1400b7130]
mov rcx, qword [rsp + 0x40]
call fcn.14000e3f0
mov rcx, qword [rsp + 0x40]
call fcn.140003970
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
nop
mov rcx, qword [rsp + 0x40]
call fcn.140003bf0
add rsp, 0x38
ret
Function at 0x1400326e0
Capabilities:
Delete file

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x28
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x140032720
mov rax, qword [rsp + 0x30]
movzx eax, byte [rax]
test eax, eax
je 0x140032720
mov dl, 1
mov rcx, qword [rsp + 0x38]
call fcn.1400493b0
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
add rsp, 0x28
ret

Function at 0x140032750
Capabilities:
Delete directory

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0xd8
mov rax, qword [0x1400d2070]
xor rax, rsp
mov qword [rsp + 0xc8], rax
mov rdx, qword [rsp + 0xe0]
lea rcx, [rsp + 0xa8]
call fcn.140002040
nop
lea r8, [0x1400af004]
lea rdx, [rsp + 0xa8]
lea rcx, [rsp + 0x48]
call fcn.140006540
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x28], rax
mov r8, qword [rsp + 0xe8]
mov rdx, qword [rsp + 0x28]
lea rcx, [rsp + 0x88]
call fcn.140006610
nop
lea rcx, [rsp + 0x48]
call fcn.140003bf0
mov dl, 1
mov rcx, qword [rsp + 0xe0]
call fcn.1400493b0
lea rax, [rsp + 0x68]
mov qword [rsp + 0x30], rax
lea rdx, [rsp + 0x88]
mov rcx, qword [rsp + 0x30]
call fcn.140002d80
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x40], rax
mov dl, 1
mov rcx, qword [rsp + 0x40]
call fcn.140032570
mov rcx, qword [rsp + 0xe0]
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
nop
lea rcx, [rsp + 0x88]
call fcn.140003bf0
nop
lea rcx, [rsp + 0xa8]
call fcn.140003bf0
mov rcx, qword [rsp + 0xc8]
xor rcx, rsp
call fcn.140069a00
add rsp, 0xd8
ret

Function at 0x140037840
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x58
mov byte [rsp + 0x30], 0
cmp qword [rsp + 0x60], 0
je 0x140037946
cmp qword [rsp + 0x68], 0
je 0x140037946
cmp qword [rsp + 0x70], 0
je 0x140037946
mov dword [rsp + 0x34], 0
cmp qword [rsp + 0x78], 0
jne 0x1400378ca
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x40], 0xffffffffffffffff
inc qword [rsp + 0x40]
mov rax, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x40]
cmp word [rax + rcx*2], 0
jne 0x1400378a4
mov rax, qword [rsp + 0x40]
lea rax, [rax + rax + 2]
mov dword [rsp + 0x34], eax
jmp 0x1400378d8
mov rax, qword [rsp + 0x78]
lea rax, [rax + rax + 2]
mov dword [rsp + 0x34], eax
mov eax, dword [rsp + 0x34]
mov dword [rsp + 0x28], eax
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x20], rax
mov r9d, dword [rsp + 0x80]
xor r8d, r8d
mov rdx, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov dword [rsp + 0x38], eax
cmp dword [rsp + 0x38], 0
je 0x140037941
mov eax, dword [rsp + 0x38]
mov dword [rsp + 0x20], eax
mov r9, qword [rsp + 0x68]
lea r8, str.Cant_write_value___s___error__d
mov edx, 0x68
lea rcx, [0x1400b7820]
call fcn.140048c20
mov ecx, dword [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x140037946
mov byte [rsp + 0x30], 1
movzx eax, byte [rsp + 0x30]
add rsp, 0x58
ret
Function at 0x140037950
Capabilities:
Query or enumerate registry value

Disassembly:
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x58
mov rax, qword [0x1400d2070]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov eax, dword [rsp + 0x70]
mov dword [rsp + 0x38], eax
cmp qword [rsp + 0x60], 0
je 0x140037a43
cmp qword [rsp + 0x68], 0
je 0x140037a43
mov dword [rsp + 0x34], 4
mov dword [rsp + 0x3c], 4
lea rax, [rsp + 0x3c]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x38]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x34]
xor r8d, r8d
mov rdx, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
je 0x140037a08
mov eax, dword [rsp + 0x30]
mov dword [rsp + 0x20], eax
mov r9, qword [rsp + 0x68]
lea r8, str.Cannot_read_dword_value_from__s:__d
mov edx, 0xd6
lea rcx, [0x1400b7900]
call fcn.140048c20
mov eax, dword [rsp + 0x70]
mov dword [rsp + 0x38], eax
jmp 0x140037a43
cmp dword [rsp + 0x34], 0xb
je 0x140037a43
cmp dword [rsp + 0x34], 4
je 0x140037a43
mov eax, dword [rsp + 0x34]
mov dword [rsp + 0x20], eax
mov r9, qword [rsp + 0x68]
lea r8, str.Required_value__s_as_dword_is_real_type_of__u
mov edx, 0xdb
lea rcx, [0x1400b79e0]
call fcn.140048c20
mov eax, dword [rsp + 0x70]
mov dword [rsp + 0x38], eax
mov eax, dword [rsp + 0x38]
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.140069a00
add rsp, 0x58
ret

Function at 0x140037c90
Capabilities:
Delete registry key

Disassembly:
mov byte [rsp + 0x18], r8b
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x58
mov rax, qword [0x1400d2070]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov byte [rsp + 0x30], 0
cmp qword [rsp + 0x60], 0
je 0x140037dcb
cmp qword [rsp + 0x68], 0
je 0x140037dcb
mov qword [rsp + 0x40], 0
movzx eax, byte [rsp + 0x70]
test eax, eax
je 0x140037ceb
mov dword [rsp + 0x38], 0x100
jmp 0x140037cf3
mov dword [rsp + 0x38], 0
mov eax, dword [rsp + 0x38]
or eax, 0xf003f
lea rcx, [rsp + 0x40]
mov qword [rsp + 0x20], rcx
mov r9d, eax
xor r8d, r8d
mov rdx, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [rsp + 0x34], eax
cmp dword [rsp + 0x34], 0
jne 0x140037dcb
mov eax, dword [rsp + 0x34]
mov dword [rsp + 0x20], eax
mov r9, qword [rsp + 0x68]
lea r8, str.Cant_open_key___s___error__d
mov edx, 0x1a7
lea rcx, [0x1400b7c80]
call fcn.140048c20
lea rdx, [0x1400af0ec]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.SHLWAPI.dll_SHDeleteKeyW]
mov dword [rsp + 0x34], eax
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [rsp + 0x34], 0
je 0x140037da9
mov eax, dword [rsp + 0x34]
mov dword [rsp + 0x20], eax
mov r9, qword [rsp + 0x68]
lea r8, str.Cant_delete_key___s___error__d
mov edx, 0x1ad
lea rcx, [0x1400b7d50]
call fcn.140048c20
mov ecx, dword [rsp + 0x34]
call qword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x140037dcb
mov r9, qword [rsp + 0x68]
lea r8, str.Key___s__deleted
mov edx, 0x1b2
lea rcx, [0x1400b7dd0]
call fcn.140048c20
mov byte [rsp + 0x30], 1
movzx eax, byte [rsp + 0x30]
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.140069a00
add rsp, 0x58
ret
Function at 0x140037df0
Capabilities:
Delete 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, 0x58
mov rax, qword [0x1400d2070]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov byte [rsp + 0x30], 0
cmp qword [rsp + 0x60], 0
je 0x140037f29
cmp qword [rsp + 0x68], 0
je 0x140037f29
cmp qword [rsp + 0x70], 0
je 0x140037f29
mov qword [rsp + 0x40], 0
movzx eax, byte [rsp + 0x78]
test eax, eax
je 0x140037e5c
mov dword [rsp + 0x38], 0x100
jmp 0x140037e64
mov dword [rsp + 0x38], 0
mov eax, dword [rsp + 0x38]
or eax, 0xf003f
lea rcx, [rsp + 0x40]
mov qword [rsp + 0x20], rcx
mov r9d, eax
xor r8d, r8d
mov rdx, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [rsp + 0x34], eax
cmp dword [rsp + 0x34], 0
jne 0x140037f29
mov rdx, qword [rsp + 0x70]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov dword [rsp + 0x34], eax
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [rsp + 0x34], 0
je 0x140037efd
mov eax, dword [rsp + 0x34]
mov dword [rsp + 0x28], eax
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x68]
lea r8, str.Cant_delete_value___s_s___error__d
mov edx, 0x1dc
lea rcx, [0x1400b8080]
call fcn.140048c20
mov ecx, dword [rsp + 0x34]
call qword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x140037f29
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x68]
lea r8, str.Value___s_s__deleted
mov edx, 0x1e1
lea rcx, [0x1400b8120]
call fcn.140048c20
mov byte [rsp + 0x30], 1
movzx eax, byte [rsp + 0x30]
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.140069a00
add rsp, 0x58
ret

Function at 0x140037f40
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x58
mov rax, qword [0x1400d2070]
xor rax, rsp
mov qword [rsp + 0x40], rax
cmp qword [rsp + 0x60], 0
je 0x140038020
cmp qword [rsp + 0x68], 0
je 0x140038020
mov dword [rsp + 0x38], 0
mov dword [rsp + 0x34], 0
lea rax, [rsp + 0x38]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x34]
xor r8d, r8d
mov rdx, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
je 0x140037ff6
mov eax, dword [rsp + 0x30]
mov dword [rsp + 0x20], eax
mov r9, qword [rsp + 0x68]
lea r8, [0x1400b8190]
mov edx, 0x1f1
lea rcx, [0x1400b8260]
call fcn.140048c20
mov ecx, dword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x140038020
cmp qword [rsp + 0x70], 0
je 0x140038009
mov rax, qword [rsp + 0x70]
mov ecx, dword [rsp + 0x34]
mov dword [rax], ecx
cmp qword [rsp + 0x78], 0
je 0x14003801c
mov rax, qword [rsp + 0x78]
mov ecx, dword [rsp + 0x38]
mov dword [rax], ecx
mov al, 1
jmp 0x140038022
xor al, al
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.140069a00
add rsp, 0x58
ret
Function at 0x1400380e0
Capabilities:
Query or enumerate registry key

Disassembly:
mov byte [rsp + 0x18], r8b
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x68
mov rax, qword [0x1400d2070]
xor rax, rsp
mov qword [rsp + 0x50], rax
mov edx, 8
lea rcx, [rsp + 0x38]
call fcn.140001d80
movzx eax, byte [rsp + 0x80]
mov byte [rsp + 0x20], al
mov r9d, 0x20019
mov r8, qword [rsp + 0x78]
mov rdx, qword [rsp + 0x70]
lea rcx, [rsp + 0x38]
call fcn.140037700
nop
lea rcx, [rsp + 0x38]
call fcn.140002170
test rax, rax
jne 0x140038160
mov byte [rsp + 0x30], 1
lea rcx, [rsp + 0x38]
call fcn.140043be0
movzx eax, byte [rsp + 0x30]
jmp 0x1400381fe
mov dword [rsp + 0x40], 0
mov dword [rsp + 0x4c], 0
mov dword [rsp + 0x44], 0
mov dword [rsp + 0x48], 0
lea rcx, [rsp + 0x38]
call fcn.140002170
lea rcx, [rsp + 0x48]
mov qword [rsp + 0x20], rcx
lea r9, [rsp + 0x44]
lea r8, [rsp + 0x4c]
lea rdx, [rsp + 0x40]
mov rcx, rax
call qword [sym.imp.SHLWAPI.dll_SHQueryInfoKeyW]
test eax, eax
jne 0x1400381ea
cmp dword [rsp + 0x40], 0
jne 0x1400381c8
cmp dword [rsp + 0x44], 0
jne 0x1400381c8
mov dword [rsp + 0x34], 1
jmp 0x1400381d0
mov dword [rsp + 0x34], 0
movzx eax, byte [rsp + 0x34]
mov byte [rsp + 0x31], al
lea rcx, [rsp + 0x38]
call fcn.140043be0
movzx eax, byte [rsp + 0x31]
jmp 0x1400381fe
mov byte [rsp + 0x32], 1
lea rcx, [rsp + 0x38]
call fcn.140043be0
movzx eax, byte [rsp + 0x32]
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.140069a00
add rsp, 0x68
ret

Function at 0x140038210
Capabilities:
Query or enumerate registry value

Disassembly:
mov byte [rsp + 0x18], r8b
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x48
cmp qword [rsp + 0x50], 0
je 0x14003823f
cmp qword [rsp + 0x58], 0
je 0x14003823f
mov rax, qword [rsp + 0x58]
movzx eax, word [rax]
test eax, eax
jne 0x140038246
xor al, al
jmp 0x1400382cc
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cdqe
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x38], rax
cmp qword [rsp + 0x38], 0
je 0x140038291
cmp qword [rsp + 0x38], 2
je 0x140038295
jmp 0x140038299
mov al, 1
jmp 0x1400382cc
xor al, al
jmp 0x1400382cc
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x58]
lea r8, str.Cant_query_value___s___error__d
mov edx, 0x226
lea rcx, [0x1400b8370]
call fcn.140048c20
mov ecx, dword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_SetLastError]
xor al, al
add rsp, 0x48
ret