joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14001b490
Capabilities:
Delete directory
Enumerate files on windows
Enumerate files recursively
Set file attributes

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x2e8
mov qword [rsp + 0x70], 0xfffffffffffffffe
mov rax, qword [0x14019cfa0]
xor rax, rsp
mov qword [rsp + 0x2d0], rax
mov rdx, qword [rsp + 0x2f0]
lea rcx, [rsp + 0x30]
call fcn.140004430
nop
mov r8d, 1
lea rdx, [rsp + 0x68]
lea rcx, [rsp + 0x30]
call fcn.140048f50
mov qword [rsp + 0x60], rax
mov dx, 0x5c
mov rcx, qword [rsp + 0x60]
call fcn.140045320
mov byte [rsp + 0x20], al
lea rcx, [rsp + 0x68]
call fcn.140001910
movzx eax, byte [rsp + 0x20]
test eax, eax
je 0x14001b517
mov dx, 0x5c
lea rcx, [rsp + 0x30]
call fcn.140047b00
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x58]
call fcn.140004cb0
nop
mov dx, 0x2a
lea rcx, [rsp + 0x58]
call fcn.140047b00
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x24], 1
lea rcx, [rsp + 0x58]
call fcn.140004640
lea rdx, [rsp + 0x80]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0xffffffffffffffff
je 0x14001b6af
cmp dword [rsp + 0x24], 0
je 0x14001b6af
mov eax, dword [rsp + 0x80]
and eax, 0x10
cmp eax, 0x10
jne 0x14001b619
lea rdx, [0x14013b2a8]
lea rcx, [rsp + 0xac]
call fcn.1400e989c
test eax, eax
je 0x14001b617
lea rdx, [0x14013b2ac]
lea rcx, [rsp + 0xac]
call fcn.1400e989c
test eax, eax
je 0x14001b617
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x48]
call fcn.140004cb0
nop
lea r8, [rsp + 0xac]
lea rdx, [0x14013b2b8]
lea rcx, [rsp + 0x48]
call fcn.14000a3a0
lea rcx, [rsp + 0x48]
call fcn.140004640
mov rcx, rax
call fcn.14001b490
mov dword [rsp + 0x28], eax
cmp dword [rsp + 0x28], 0
je 0x14001b60d
mov dword [rsp + 0x24], 0
lea rcx, [rsp + 0x48]
call fcn.140001910
jmp 0x14001b68c
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x38]
call fcn.140004cb0
nop
lea r8, [rsp + 0xac]
lea rdx, [0x14013b2c0]
lea rcx, [rsp + 0x38]
call fcn.14000a3a0
lea rcx, [rsp + 0x38]
call fcn.140004640
mov edx, 0x80
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
lea rcx, [rsp + 0x38]
call fcn.140004640
mov rcx, rax
call fcn.1400980b0
test eax, eax
jne 0x14001b682
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x24], 0
lea rcx, [rsp + 0x38]
call fcn.140001910
cmp dword [rsp + 0x24], 0
je 0x14001b6aa
lea rdx, [rsp + 0x80]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
mov dword [rsp + 0x24], eax
jmp 0x14001b565
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_FindClose]
lea rcx, [rsp + 0x30]
call fcn.140004640
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
jne 0x14001b6db
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x28], eax
mov eax, dword [rsp + 0x28]
mov dword [rsp + 0x40], eax
lea rcx, [rsp + 0x58]
call fcn.140001910
nop
lea rcx, [rsp + 0x30]
call fcn.140001910
mov eax, dword [rsp + 0x40]
mov rcx, qword [rsp + 0x2d0]
xor rcx, rsp
call fcn.1400dbfd0
add rsp, 0x2e8
ret
Function at 0x14001b720
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x68
mov qword [rsp + 0x40], 0
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
mov ecx, 0x1000
call fcn.1400c7eb0
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x38], rax
mov r8d, 0x1000
xor edx, edx
mov rcx, qword [rsp + 0x38]
call fcn.1400e17c0
mov dword [rsp + 0x30], 0
mov dword [rsp + 0x34], 0x1000
cmp qword [rsp + 0x80], 0
je 0x14001b80a
cmp qword [rsp + 0x80], 0x1000
jge 0x14001b7b1
mov eax, dword [rsp + 0x80]
mov dword [rsp + 0x34], eax
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x30]
mov r8d, dword [rsp + 0x34]
mov rdx, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x14001b7da
jmp 0x14001b80a
mov r8d, dword [rsp + 0x30]
mov rdx, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x78]
call fcn.140011f90
mov eax, dword [rsp + 0x30]
mov rcx, qword [rsp + 0x80]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x80], rax
jmp 0x14001b78d
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x50], rax
mov rcx, qword [rsp + 0x50]
call fcn.1400c7ea8
call qword [sym.imp.KERNEL32.dll_GetLastError]
add rsp, 0x68
ret

Function at 0x14001b8c0
Capabilities:
Get file size

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x38
mov qword [rsp + 0x20], 0
lea rdx, [rsp + 0x20]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
mov r8, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x40]
call fcn.14001b720
add rsp, 0x38
ret
Function at 0x14001bb30
Capabilities:
Get disk information

Disassembly:
sub rsp, 0x68
mov qword [rsp + 0x40], 0xfffffffffffffffe
mov rax, qword [0x14019cfa0]
xor rax, rsp
mov qword [rsp + 0x50], rax
lea rcx, [rsp + 0x38]
call fcn.14001be90
nop
lea rcx, [rsp + 0x38]
call fcn.140004a80
test eax, eax
jne 0x14001bb80
xor eax, eax
mov word [rsp + 0x24], ax
lea rcx, [rsp + 0x38]
call fcn.140001910
movzx eax, word [rsp + 0x24]
jmp 0x14001bc78
mov rax, qword [0x14013b4d0]
mov qword [rsp + 0x48], rax
mov eax, 0x63
mov word [rsp + 0x20], ax
jmp 0x14001bba5
movzx eax, word [rsp + 0x20]
inc ax
mov word [rsp + 0x20], ax
movzx eax, word [rsp + 0x20]
cmp eax, 0x7a
jg 0x14001bc62
mov eax, 2
imul rax, rax, 0
movzx ecx, word [rsp + 0x20]
mov word [rsp + rax + 0x48], cx
lea rcx, [rsp + 0x30]
call fcn.140004d40
nop
mov edx, 0x100
lea rcx, [rsp + 0x30]
call fcn.1400481c0
mov r8d, 0xff
mov rdx, rax
lea rcx, [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_GetVolumeNameForVolumeMountPointW]
test eax, eax
je 0x14001bc43
mov edx, 0xffffffff
lea rcx, [rsp + 0x30]
call fcn.1400045e0
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x30]
call fcn.1400450f0
movzx eax, al
test eax, eax
je 0x14001bc43
movzx eax, word [rsp + 0x20]
mov word [rsp + 0x26], ax
lea rcx, [rsp + 0x30]
call fcn.140001910
nop
lea rcx, [rsp + 0x38]
call fcn.140001910
movzx eax, word [rsp + 0x26]
jmp 0x14001bc78
mov edx, 0xffffffff
lea rcx, [rsp + 0x30]
call fcn.1400045e0
nop
lea rcx, [rsp + 0x30]
call fcn.140001910
jmp 0x14001bb98
xor eax, eax
mov word [rsp + 0x28], ax
lea rcx, [rsp + 0x38]
call fcn.140001910
movzx eax, word [rsp + 0x28]
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.1400dbfd0
add rsp, 0x68
ret
Function at 0x14001bc90
Capabilities:
Enumerate disk volumes
Get disk information

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x288
mov qword [rsp + 0x58], 0xfffffffffffffffe
mov rax, qword [0x14019cfa0]
xor rax, rsp
mov qword [rsp + 0x270], rax
mov dword [rsp + 0x20], 0
lea rcx, [rsp + 0x30]
call fcn.140004d40
nop
mov dword [rsp + 0x50], 0
mov edx, 0x104
lea rcx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_FindFirstVolumeW]
mov qword [rsp + 0x40], rax
cmp qword [rsp + 0x40], 0xffffffffffffffff
jne 0x14001bd2a
lea rdx, [0x14013b2cc]
mov rcx, qword [rsp + 0x290]
call fcn.140004430
mov eax, dword [rsp + 0x20]
or eax, 1
mov dword [rsp + 0x20], eax
lea rcx, [rsp + 0x30]
call fcn.140001910
mov rax, qword [rsp + 0x290]
jmp 0x14001be63
lea rcx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_GetDriveTypeW]
mov dword [rsp + 0x38], eax
cmp dword [rsp + 0x38], 3
je 0x14001bd45
jmp 0x14001be04
lea rcx, [rsp + 0x60]
call fcn.1400e9024
lea rax, [rax + rax - 2]
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0x48], 0x208
jae 0x14001bd66
jmp 0x14001bd6b
call fcn.1400dc820
xor eax, eax
mov rcx, qword [rsp + 0x48]
mov word [rsp + rcx + 0x60], ax
lea rcx, [rsp + 0x28]
call fcn.140004d40
nop
mov edx, 0xa28
lea rcx, [rsp + 0x28]
call fcn.1400481c0
mov ecx, 2
imul rcx, rcx, 4
lea rcx, [rsp + rcx + 0x60]
mov r8d, 0xa28
mov rdx, rax
call qword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
mov dword [rsp + 0x3c], eax
mov edx, 0xffffffff
lea rcx, [rsp + 0x28]
call fcn.1400045e0
cmp dword [rsp + 0x3c], 0
jle 0x14001bdfa
mov rdx, qword [rsp + 0x298]
lea rcx, [rsp + 0x28]
call fcn.140047b80
test eax, eax
jne 0x14001bdfa
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x30]
call fcn.140004670
nop
lea rcx, [rsp + 0x28]
call fcn.140001910
jmp 0x14001be22
lea rcx, [rsp + 0x28]
call fcn.140001910
mov r8d, 0x104
lea rdx, [rsp + 0x60]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_FindNextVolumeW]
test eax, eax
jne 0x14001bd2a
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_FindVolumeClose]
lea r8, [0x14013b434]
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x290]
call fcn.140046070
mov eax, dword [rsp + 0x20]
or eax, 1
mov dword [rsp + 0x20], eax
lea rcx, [rsp + 0x30]
call fcn.140001910
mov rax, qword [rsp + 0x290]
mov rcx, qword [rsp + 0x270]
xor rcx, rsp
call fcn.1400dbfd0
add rsp, 0x288
ret
Function at 0x14001be90
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x98
mov qword [rsp + 0x88], 0xfffffffffffffffe
mov dword [rsp + 0x50], 0
lea rcx, [rsp + 0x58]
call fcn.140004d40
nop
mov dword [rsp + 0x68], 0
mov dword [rsp + 0x64], 0
mov dword [rsp + 0x60], 0x104
mov qword [rsp + 0x70], 0
lea rax, [rsp + 0x64]
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x70]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x20119
mov dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
lea rdx, [0x14013b488]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov dword [rsp + 0x54], eax
cmp dword [rsp + 0x54], 0
je 0x14001bf64
lea rdx, [0x14013b4a4]
mov rcx, qword [rsp + 0xa0]
call fcn.140004430
mov eax, dword [rsp + 0x50]
or eax, 1
mov dword [rsp + 0x50], eax
lea rcx, [rsp + 0x58]
call fcn.140001910
mov rax, qword [rsp + 0xa0]
jmp 0x14001c04c
mov edx, 0x104
lea rcx, [rsp + 0x58]
call fcn.1400481c0
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x80], rax
lea rax, [rsp + 0x60]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x68]
xor r8d, r8d
lea rdx, str.SystemPartition
mov rcx, qword [rsp + 0x80]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [rsp + 0x54], eax
mov edx, 0xffffffff
lea rcx, [rsp + 0x58]
call fcn.1400045e0
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [rsp + 0x54], 0
jne 0x14001bfe2
cmp dword [rsp + 0x60], 0
jne 0x14001c015
lea rdx, [0x14013b4c8]
mov rcx, qword [rsp + 0xa0]
call fcn.140004430
mov eax, dword [rsp + 0x50]
or eax, 1
mov dword [rsp + 0x50], eax
lea rcx, [rsp + 0x58]
call fcn.140001910
mov rax, qword [rsp + 0xa0]
jmp 0x14001c04c
lea rcx, [rsp + 0x58]
call fcn.140004640
mov rdx, rax
mov rcx, qword [rsp + 0xa0]
call fcn.14001bc90
mov eax, dword [rsp + 0x50]
or eax, 1
mov dword [rsp + 0x50], eax
lea rcx, [rsp + 0x58]
call fcn.140001910
mov rax, qword [rsp + 0xa0]
add rsp, 0x98
ret
Function at 0x14001c060
Capabilities:
Check if file exists
Get common file path
Get disk size
Get file attributes

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x98
mov qword [rsp + 0x70], 0xfffffffffffffffe
mov rax, qword [0x14019cfa0]
xor rax, rsp
mov qword [rsp + 0x80], rax
mov dword [rsp + 0x2c], 0
call fcn.14001bb30
mov word [rsp + 0x20], ax
movzx eax, word [rsp + 0x20]
test eax, eax
je 0x14001c193
mov rax, qword [0x14013b4d8]
mov qword [rsp + 0x78], rax
mov eax, 2
imul rax, rax, 0
movzx ecx, word [rsp + 0x20]
mov word [rsp + rax + 0x78], cx
lea rdx, [rsp + 0x78]
lea rcx, [rsp + 0x68]
call fcn.140004430
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x50], rax
lea r8, [0x14013b4e0]
mov rdx, qword [rsp + 0x50]
lea rcx, [rsp + 0x60]
call fcn.140046070
mov qword [rsp + 0x58], rax
mov rcx, qword [rsp + 0x58]
call fcn.140004640
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x14001c120
mov dword [rsp + 0x28], 1
jmp 0x14001c128
mov dword [rsp + 0x28], 0
movzx eax, byte [rsp + 0x28]
mov byte [rsp + 0x24], al
lea rcx, [rsp + 0x60]
call fcn.140001910
nop
lea rcx, [rsp + 0x68]
call fcn.140001910
movzx eax, byte [rsp + 0x24]
test eax, eax
je 0x14001c193
mov eax, 2
imul rax, rax, 0
movzx ecx, word [rsp + 0x20]
mov word [rsp + rax + 0x78], cx
mov qword [rsp + 0x40], 0
xor r9d, r9d
xor r8d, r8d
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x78]
call qword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
cmp qword [rsp + 0x40], 0x25800000
jae 0x14001c193
xor eax, eax
mov word [rsp + 0x20], ax
movzx eax, word [rsp + 0x20]
test eax, eax
jne 0x14001c1ee
lea rcx, [rsp + 0x30]
call fcn.140004d40
nop
mov edx, 0x100
lea rcx, [rsp + 0x30]
call fcn.1400481c0
mov edx, 0xff
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
mov edx, 0xffffffff
lea rcx, [rsp + 0x30]
call fcn.1400045e0
xor edx, edx
lea rcx, [rsp + 0x30]
call fcn.140048070
mov word [rsp + 0x20], ax
lea rcx, [rsp + 0x30]
call fcn.140001910
lea rcx, [rsp + 0x38]
call fcn.140004d40
nop
movzx eax, word [rsp + 0x20]
mov r8d, eax
lea rdx, str._c:_bootmacrium
lea rcx, [rsp + 0x38]
call fcn.140005ca0
lea rdx, [rsp + 0x38]
mov rcx, qword [rsp + 0xa0]
call fcn.140004cb0
mov eax, dword [rsp + 0x2c]
or eax, 1
mov dword [rsp + 0x2c], eax
lea rcx, [rsp + 0x38]
call fcn.140001910
mov rax, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.1400dbfd0
add rsp, 0x98
ret
Function at 0x14001da50
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, 0x78
mov dword [rsp + 0x54], 0
mov eax, dword [rsp + 0xa8]
xor edx, edx
mov ecx, 2
div rcx
mov r8, qword [rsp + 0x98]
mov rdx, rax
mov rcx, qword [rsp + 0xa0]
call fcn.1400e97d0
cmp qword [rsp + 0x88], 0
je 0x14001dac6
lea rdx, [0x14013ba88]
mov rcx, qword [rsp + 0x88]
call fcn.1400e989c
test eax, eax
jne 0x14001dac6
mov dword [rsp + 0x5c], 1
jmp 0x14001dace
mov dword [rsp + 0x5c], 0
mov eax, dword [rsp + 0x5c]
mov dword [rsp + 0x50], eax
cmp dword [rsp + 0xb0], 1
jne 0x14001daea
mov dword [rsp + 0x60], 1
jmp 0x14001daf2
mov eax, dword [rsp + 0x50]
mov dword [rsp + 0x60], eax
mov eax, dword [rsp + 0x60]
mov dword [rsp + 0x50], eax
lea rax, [rsp + 0x54]
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x68]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x2011f
mov eax, dword [rsp + 0x50]
mov dword [rsp + 0x20], eax
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [rsp + 0x88]
mov rcx, qword [rsp + 0x80]
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov dword [rsp + 0x58], eax
cmp dword [rsp + 0x58], 0
je 0x14001dba9
lea rax, [rsp + 0x54]
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x68]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x20019
mov eax, dword [rsp + 0x50]
mov dword [rsp + 0x20], eax
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [rsp + 0x88]
mov rcx, qword [rsp + 0x80]
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov dword [rsp + 0x58], eax
cmp dword [rsp + 0x58], 0
je 0x14001dba9
xor eax, eax
jmp 0x14001dc29
cmp dword [rsp + 0x54], 1
jne 0x14001dbc4
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 1
jmp 0x14001dc29
cmp dword [rsp + 0x54], 2
jne 0x14001dc0a
mov dword [rsp + 0x64], 1
lea rax, [rsp + 0xa8]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0xa0]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x64]
xor r8d, r8d
mov rdx, qword [rsp + 0x90]
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
jmp 0x14001dc19
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
jmp 0x14001dc29
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 1
add rsp, 0x78
ret
Function at 0x14001e2b0
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, 0x98
mov dword [rsp + 0x50], 0
cmp qword [rsp + 0xa8], 0
je 0x14001e300
lea rdx, [0x14013bb18]
mov rcx, qword [rsp + 0xa8]
call fcn.1400e989c
test eax, eax
jne 0x14001e300
mov dword [rsp + 0x68], 1
jmp 0x14001e308
mov dword [rsp + 0x68], 0
mov eax, dword [rsp + 0x68]
mov dword [rsp + 0x60], eax
cmp dword [rsp + 0xc0], 1
jne 0x14001e324
mov dword [rsp + 0x6c], 1
jmp 0x14001e32c
mov eax, dword [rsp + 0x60]
mov dword [rsp + 0x6c], eax
mov eax, dword [rsp + 0x6c]
mov dword [rsp + 0x60], eax
lea rax, [rsp + 0x50]
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x58]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x2011f
mov eax, dword [rsp + 0x60]
mov dword [rsp + 0x20], eax
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [rsp + 0xa8]
mov rcx, qword [rsp + 0xa0]
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov dword [rsp + 0x64], eax
cmp dword [rsp + 0x64], 0
je 0x14001e3e3
lea rax, [rsp + 0x50]
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x58]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x20119
mov dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [rsp + 0xa8]
mov rcx, qword [rsp + 0xa0]
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov dword [rsp + 0x64], eax
cmp dword [rsp + 0x64], 0
je 0x14001e3e3
xor eax, eax
jmp 0x14001e517
cmp dword [rsp + 0x50], 1
jne 0x14001e47a
mov rcx, qword [rsp + 0xb8]
call fcn.1400e9024
inc rax
mov eax, eax
shl rax, 1
mov dword [rsp + 0x70], eax
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x80], rax
mov eax, dword [rsp + 0x70]
mov dword [rsp + 0x28], eax
mov rax, qword [rsp + 0xb8]
mov qword [rsp + 0x20], rax
mov r9d, 1
xor r8d, r8d
mov rdx, qword [rsp + 0xb0]
mov rcx, qword [rsp + 0x80]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
je 0x14001e460
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
jmp 0x14001e517
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 1
jmp 0x14001e517
cmp dword [rsp + 0x50], 2
jne 0x14001e4f8
mov dword [rsp + 0x78], 1
mov rcx, qword [rsp + 0xb8]
call fcn.1400e9024
inc rax
mov eax, eax
shl rax, 1
mov dword [rsp + 0x74], eax
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x88], rax
mov eax, dword [rsp + 0x74]
mov dword [rsp + 0x28], eax
mov rax, qword [rsp + 0xb8]
mov qword [rsp + 0x20], rax
mov r9d, 1
xor r8d, r8d
mov rdx, qword [rsp + 0xb0]
mov rcx, qword [rsp + 0x88]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
je 0x14001e4f6
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
jmp 0x14001e517
jmp 0x14001e507
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
jmp 0x14001e517
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 1
add rsp, 0x98
ret
Function at 0x14001ea60
Capabilities:
Query or enumerate 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, 0x78
mov dword [rsp + 0x54], 0
mov qword [rsp + 0x60], 0
mov dword [rsp + 0x58], 4
mov dword [rsp + 0x50], 0
mov dword [rsp + 0x5c], 4
cmp dword [rsp + 0xa0], 0
jne 0x14001eaf8
mov qword [rsp + 0x68], 0
lea rax, [rsp + 0x68]
mov qword [rsp + 0x20], rax
mov r9d, 0x20119
xor r8d, r8d
mov rdx, qword [rsp + 0x88]
mov rcx, qword [rsp + 0x80]
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x14001eaed
mov eax, dword [rsp + 0x98]
jmp 0x14001eb9b
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rax, [rsp + 0x54]
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x60]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x20119
mov dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [rsp + 0x88]
mov rcx, qword [rsp + 0x80]
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
je 0x14001eb4e
mov eax, dword [rsp + 0x98]
jmp 0x14001eb9b
lea rax, [rsp + 0x58]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x5c]
xor r8d, r8d
mov rdx, qword [rsp + 0x90]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x14001eb8c
mov eax, dword [rsp + 0x98]
mov dword [rsp + 0x50], eax
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [rsp + 0x50]
add rsp, 0x78
ret

Function at 0x14001ebb0
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, 0x68
mov dword [rsp + 0x50], 0
lea rax, [rsp + 0x50]
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x58]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x2011f
mov dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov dword [rsp + 0x54], eax
cmp dword [rsp + 0x54], 0
je 0x14001ec22
xor eax, eax
jmp 0x14001ec63
mov dword [rsp + 0x28], 4
lea rax, [rsp + 0x88]
mov qword [rsp + 0x20], rax
mov r9d, 4
xor r8d, r8d
mov rdx, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 1
add rsp, 0x68
ret
Function at 0x14001ee20
Capabilities:
Delete registry value

Disassembly:
mov dword [rsp + 0x20], r9d
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x68
mov qword [rsp + 0x50], 0xfffffffffffffffe
mov dword [rsp + 0x30], 0
lea rdx, str.softwaremacrium_reflect_
lea rcx, [rsp + 0x40]
call fcn.140004430
nop
mov rdx, qword [rsp + 0x70]
lea rcx, [rsp + 0x40]
call fcn.140003a10
lea rcx, [rsp + 0x40]
call fcn.140004640
mov ecx, dword [rsp + 0x90]
mov dword [rsp + 0x20], ecx
mov r9d, 0xffffffff
mov r8, qword [rsp + 0x78]
mov rdx, rax
mov rcx, 0xffffffff80000001
call fcn.14001ea60
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0xffffffff
je 0x14001ef46
cmp dword [rsp + 0x88], 0
je 0x14001ef2e
mov qword [rsp + 0x48], 0
lea rcx, [rsp + 0x40]
call fcn.140004640
lea rcx, [rsp + 0x48]
mov qword [rsp + 0x20], rcx
mov r9d, 0xf013f
xor r8d, r8d
mov rdx, rax
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14001ef0f
mov rdx, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
cmp qword [rsp + 0x48], 0
je 0x14001ef0f
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [rsp + 0x20], 0
xor r9d, r9d
mov r8d, dword [rsp + 0x30]
mov rdx, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x70]
call fcn.14001efa0
mov eax, dword [rsp + 0x30]
mov dword [rsp + 0x34], eax
lea rcx, [rsp + 0x40]
call fcn.140001910
mov eax, dword [rsp + 0x34]
jmp 0x14001ef89
lea rcx, [rsp + 0x40]
call fcn.140004640
mov ecx, dword [rsp + 0x90]
mov dword [rsp + 0x20], ecx
mov r9d, dword [rsp + 0x80]
mov r8, qword [rsp + 0x78]
mov rdx, rax
mov rcx, 0xffffffff80000002
call fcn.14001ea60
mov dword [rsp + 0x38], eax
lea rcx, [rsp + 0x40]
call fcn.140001910
mov eax, dword [rsp + 0x38]
add rsp, 0x68
ret