joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10000d4a4
Capabilities:
Enumerate process modules

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x490
mov rax, qword [0x100023110]
xor rax, rsp
mov qword [rsp + 0x480], rax
and qword [rsp + 0x30], 0
and dword [rsp + 0x3c], 0
and dword [rsp + 0x38], 0
and qword [rsp + 0x20], 0
and dword [rsp + 0x2c], 0
and dword [rsp + 0x28], 0
and dword [rsp + 0x40], 0
mov rsi, rcx
lea rcx, [rsp + 0x44]
xor edx, edx
mov r8d, 0x434
call sub.msvcrt.dll_memset
lea rcx, [rsp + 0x30]
xor edi, edi
call fcn.100016f78
mov rdx, qword [rsp + 0x30]
lea rcx, [rsp + 0x20]
call fcn.10001627c
mov r9d, eax
test eax, eax
jns 0x10000d55d
mov rcx, qword [0x100023120]
lea rax, [0x100023120]
cmp rcx, rax
je 0x10000d6ed
test byte [rcx + 0x1c], 1
je 0x10000d6ed
lea edx, [rdi + 0x21]
mov rcx, qword [rcx + 0x10]
lea r8, [0x100001940]
call fcn.1000048bc
jmp 0x10000d6ed
lea rdx, [0x100002848]
lea rcx, [rsp + 0x20]
call fcn.1000164fc
mov r9d, eax
test eax, eax
jns 0x10000d59d
mov rcx, qword [0x100023120]
lea rax, [0x100023120]
cmp rcx, rax
je 0x10000d6ed
test byte [rcx + 0x1c], 1
je 0x10000d6ed
mov edx, 0x22
jmp 0x10000d548
mov rdx, qword [rsp + 0x20]
lea rcx, [rsi + 0x450]
call sub.msvcrt.dll__wcsicmp
test eax, eax
jne 0x10000d6ed
call fcn.10001754c
test eax, eax
je 0x10000d6ed
mov rcx, qword [rsi + 0x28]
call qword [sym.imp.KERNEL32.dll_GetProcessId]
mov ecx, 8
mov edx, eax
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov rbx, rax
test rax, rax
jne 0x10000d62a
mov rcx, qword [0x100023120]
lea rax, [0x100023120]
cmp rcx, rax
je 0x10000d6d1
test byte [rcx + 0x1c], 1
je 0x10000d6d1
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea edx, [rbx + 0x23]
mov rcx, qword [0x100023120]
lea r8, [0x100001940]
mov r9d, eax
mov rcx, qword [rcx + 0x10]
call fcn.1000048bc
jmp 0x10000d6d1
lea rdx, [rsp + 0x40]
mov rcx, rax
mov dword [rsp + 0x40], 0x438
call sub.KERNEL32.dll_Module32FirstW
test eax, eax
jne 0x10000d669
mov rcx, qword [0x100023120]
lea rax, [0x100023120]
cmp rcx, rax
je 0x10000d6d1
test byte [rcx + 0x1c], 1
je 0x10000d6d1
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, 0x24
jmp 0x10000d60b
mov rdx, qword [rsp + 0x30]
lea rcx, [rsp + 0x20]
call fcn.10001627c
lea rdx, [0x100002860]
lea rcx, [rsp + 0x20]
call fcn.10001645c
mov rdx, qword [rsp + 0x20]
lea rcx, [rsp + 0x270]
call sub.msvcrt.dll__wcsicmp
test eax, eax
je 0x10000d6cc
lea rcx, [rsp + 0x40]
xor edx, edx
mov r8d, 0x438
call sub.msvcrt.dll_memset
lea rdx, [rsp + 0x40]
mov rcx, rbx
mov dword [rsp + 0x40], 0x438
call sub.KERNEL32.dll_Module32NextW
test eax, eax
je 0x10000d6d1
jmp 0x10000d689
mov edi, 1
test rbx, rbx
je 0x10000d6df
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test edi, edi
je 0x10000d6ed
mov dword [rsi + 0x6c0], 5
lea rcx, [rsp + 0x20]
mov edx, 1
call fcn.1000170b4
lea rcx, [rsp + 0x30]
mov edx, 1
call fcn.1000170b4
mov eax, edi
mov rcx, qword [rsp + 0x480]
xor rcx, rsp
call fcn.10001e7a0
lea r11, [rsp + 0x490]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
Function at 0x10000dd4c
Capabilities:
Enumerate process modules

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
mov eax, 0x1250
call fcn.10001eef0
sub rsp, rax
mov rax, qword [0x100023110]
xor rax, rsp
mov qword [rsp + 0x1240], rax
mov rsi, rcx
mov ebx, 0x1000
lea rcx, [rsp + 0x30]
xor ebp, ebp
xor edx, edx
mov r8, rbx
mov word [rsp + 0x1030], bp
call sub.msvcrt.dll_memset
mov rcx, qword [rsi + 0x170]
lea r9, [rsp + 0x20]
lea rdx, [rsp + 0x30]
mov r8d, ebx
call sub.KERNEL32.dll_K32EnumProcessModules
cmp eax, ebp
je 0x10000de36
cmp dword [rsp + 0x20], ebx
ja 0x10000de36
test dword [rsp + 0x20], 0xfffffff8
mov ebx, ebp
jbe 0x10000de64
lea rdi, [rsp + 0x30]
mov rdx, qword [rdi]
mov rcx, qword [rsi + 0x170]
lea r8, [rsp + 0x1030]
mov r9d, 0x104
call sub.KERNEL32.dll_K32GetModuleFileNameExW
cmp eax, ebp
je 0x10000de1a
lea rcx, [rsp + 0x1030]
call fcn.10001aee0
cmp rax, rbp
je 0x10000de1a
lea rdx, [0x1000028b8]
mov rcx, rax
call sub.msvcrt.dll__wcsicmp
cmp eax, ebp
je 0x10000de2d
mov eax, dword [rsp + 0x20]
inc ebx
add rdi, 8
shr eax, 3
cmp ebx, eax
jae 0x10000de64
jmp 0x10000ddd4
mov eax, ebx
mov rax, qword [rsp + rax*8 + 0x30]
jmp 0x10000de66
mov rcx, qword [0x100023120]
lea rax, [0x100023120]
cmp rcx, rax
je 0x10000de64
test byte [rcx + 0x1c], 1
je 0x10000de64
mov rcx, qword [rcx + 0x10]
lea r8, [0x100001930]
mov edx, 0x12
call fcn.100004898
xor eax, eax
mov rcx, qword [rsp + 0x1240]
xor rcx, rsp
call fcn.10001e7a0
lea r11, [rsp + 0x1250]
mov rbx, qword [r11 + 0x18]
mov rbp, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret

Function at 0x10000e56c
Capabilities:
Set registry value

Disassembly:
mov rax, rsp
mov dword [rax + 0x10], edx
push rbx
sub rsp, 0x40
mov r8, qword [rcx + 0x158]
and qword [rax - 0x18], 0
and dword [rax - 0xc], 0
and dword [rax - 0x10], 0
lea rcx, [rax - 0x18]
lea rdx, [0x100002960]
call fcn.100016788
mov ebx, eax
test eax, eax
jns 0x10000e5dc
mov rcx, qword [0x100023120]
lea rax, [0x100023120]
cmp rcx, rax
je 0x10000e648
test byte [rcx + 0x1c], 1
je 0x10000e648
mov edx, 0x21
mov rcx, qword [rcx + 0x10]
lea r8, [0x100001930]
mov r9d, ebx
call fcn.1000048bc
jmp 0x10000e648
mov rdx, qword [rsp + 0x30]
lea rax, [rsp + 0x58]
mov r9d, 4
mov dword [rsp + 0x28], r9d
lea r8, [0x100002a00]
mov rcx, 0xffffffff80000001
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetKeyValueW]
test eax, eax
je 0x10000e646
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
mov eax, 0x80004005
test ebx, ebx
cmovns ebx, eax
mov rcx, qword [0x100023120]
lea rax, [0x100023120]
cmp rcx, rax
je 0x10000e648
test byte [rcx + 0x1c], 1
je 0x10000e648
mov edx, 0x22
jmp 0x10000e5c7
xor ebx, ebx
lea rcx, [rsp + 0x30]
mov edx, 1
call fcn.1000170b4
mov eax, ebx
add rsp, 0x40
pop rbx
ret
Function at 0x10000e668
Capabilities:
Query or enumerate registry value

Disassembly:
mov rax, rsp
push rbx
sub rsp, 0x50
mov r8, qword [rcx + 0x158]
xor ebx, ebx
lea rdx, [0x100002960]
lea rcx, [rax - 0x18]
mov dword [rax + 8], ebx
mov dword [rax + 0x10], ebx
mov qword [rax - 0x18], rbx
mov dword [rax - 0xc], ebx
mov dword [rax - 0x10], ebx
call fcn.100016788
cmp eax, ebx
jge 0x10000e6c9
mov rcx, qword [0x100023120]
lea rdx, [0x100023120]
cmp rcx, rdx
je 0x10000e75f
test byte [rcx + 0x1c], 1
je 0x10000e75f
lea edx, [rbx + 0x23]
mov r9d, eax
jmp 0x10000e74f
mov rdx, qword [rsp + 0x40]
lea rax, [rsp + 0x60]
lea r8, [0x100002a00]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x68]
mov r9d, 0x10
mov qword [rsp + 0x28], rax
mov rcx, 0xffffffff80000001
mov dword [rsp + 0x60], 4
mov qword [rsp + 0x20], rbx
call qword [sym.imp.ADVAPI32.dll_RegGetValueW]
cmp eax, ebx
jne 0x10000e714
cmp dword [rsp + 0x60], 4
je 0x10000e75f
movzx r9d, ax
or r9d, 0x80070000
cmp eax, ebx
cmovle r9d, eax
mov eax, 0x80004005
cmp r9d, ebx
cmovge r9d, eax
mov rcx, qword [0x100023120]
lea rdx, [0x100023120]
cmp rcx, rdx
je 0x10000e75f
test byte [rcx + 0x1c], 1
je 0x10000e75f
mov edx, 0x24
mov rcx, qword [rcx + 0x10]
lea r8, [0x100001930]
call fcn.1000048bc
mov ebx, dword [rsp + 0x68]
lea rcx, [rsp + 0x40]
mov edx, 1
call fcn.1000170b4
mov eax, ebx
add rsp, 0x50
pop rbx
ret
Function at 0x10000e948
Capabilities:
Get memory capacity

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r12
push r13
push r15
sub rsp, 0x60
and dword [rax - 0x58], 0
mov rbx, rdx
xor edx, edx
mov rbp, rcx
lea rcx, [rax - 0x54]
lea r8d, [rdx + 0x34]
call sub.msvcrt.dll_memset
test rbx, rbx
jne 0x10000e9b9
mov rcx, qword [0x100023120]
lea rax, [0x100023120]
cmp rcx, rax
je 0x10000e9af
test byte [rcx + 0x1c], 1
je 0x10000e9af
mov rcx, qword [rcx + 0x10]
lea edx, [rbx + 0x2a]
lea r8, [0x100001930]
call fcn.100004898
mov eax, 0x80070057
jmp 0x10000ea96
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GlobalMemoryStatus]
lea r15, [0x1000238c0]
mov dword [rbx], 1
mov r12, r15
xor esi, esi
lea rdi, [rbp + 0x440]
mov eax, esi
lea rdx, [0x1000022f0]
imul rax, rax, 0x228
lea r13, [rax + rbp + 0x224]
mov rcx, r13
call sub.msvcrt.dll__wcsicmp
test eax, eax
jne 0x10000ea0f
mov eax, dword [rdi]
test eax, eax
je 0x10000ea0f
cmp eax, dword [rbp + 0x168]
ja 0x10000ea75
lea rdx, [0x100002300]
mov rcx, r13
call sub.msvcrt.dll__wcsicmp
test eax, eax
jne 0x10000ea32
mov rax, qword [rsp + 0x28]
shr rax, 0x14
add eax, 0x20
cmp eax, dword [rdi]
jb 0x10000ea75
lea rdx, [0x1000023c0]
mov rcx, r13
call sub.msvcrt.dll__wcsicmp
test eax, eax
jne 0x10000ea49
cmp dword [rdi], eax
je 0x10000ea75
cmp dword [rdi - 0x220], 4
jne 0x10000ea5e
mov eax, dword [r12]
test eax, eax
je 0x10000ea5e
cmp dword [rdi], eax
ja 0x10000ea7a
inc esi
add rdi, 0x228
add r12, 0x20
cmp esi, 0x15
jae 0x10000ea94
jmp 0x10000e9dd
and dword [rbx], 0
jmp 0x10000ea94
mov eax, esi
mov ecx, esi
shl rax, 5
imul rcx, rcx, 0x228
mov eax, dword [rax + r15]
mov dword [rcx + rbp + 0x440], eax
xor eax, eax
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r13
pop r12
ret
Function at 0x10000eabc
Capabilities:
Query or enumerate registry value

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
push rdi
sub rsp, 0x50
and qword [rax - 0x18], 0
and dword [rax - 0xc], 0
and dword [rax - 0x10], 0
mov rdi, rdx
test rdx, rdx
jne 0x10000eb13
mov rcx, qword [0x100023120]
lea rax, [0x100023120]
cmp rcx, rax
je 0x10000eb09
test byte [rcx + 0x1c], 1
je 0x10000eb09
mov rcx, qword [rcx + 0x10]
lea edx, [rdi + 0x2b]
lea r8, [0x100001930]
call fcn.100004898
mov ebx, 0x80070057
jmp 0x10000ec0e
lea r9, [0x100002940]
lea r8, [0x100002a30]
lea rdx, [0x100002ad0]
lea rcx, [rsp + 0x40]
call fcn.100016788
mov ebx, eax
test eax, eax
jns 0x10000eb76
mov rcx, qword [0x100023120]
lea rax, [0x100023120]
cmp rcx, rax
je 0x10000ec0e
test byte [rcx + 0x1c], 1
je 0x10000ec0e
mov rcx, qword [rcx + 0x10]
lea r8, [0x100001930]
mov edx, 0x2c
mov r9d, ebx
call fcn.1000048bc
jmp 0x10000ec0e
mov rdx, qword [rsp + 0x40]
and dword [rdi], 0
lea rax, [rsp + 0x68]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x70]
lea r8, [0x100002ae0]
mov qword [rsp + 0x28], rax
and qword [rsp + 0x20], 0
mov r9d, 0x10
mov rcx, 0xffffffff80000001
mov dword [rsp + 0x68], 4
call qword [sym.imp.ADVAPI32.dll_RegGetValueW]
test eax, eax
je 0x10000ec00
cmp eax, 2
je 0x10000ebf8
mov rcx, qword [0x100023120]
lea rax, [0x100023120]
cmp rcx, rax
je 0x10000ebf1
test byte [rcx + 0x1c], 1
je 0x10000ebf1
mov rcx, qword [rcx + 0x10]
lea r8, [0x100001930]
mov edx, 0x2d
call fcn.100004898
mov ebx, 0x80004005
jmp 0x10000ec0e
mov dword [rdi], 1
jmp 0x10000ec0c
xor eax, eax
cmp dword [rsp + 0x70], 1
setne al
mov dword [rdi], eax
xor ebx, ebx
lea rcx, [rsp + 0x40]
mov edx, 1
call fcn.1000170b4
mov eax, ebx
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rdi
ret
Function at 0x10000ec30
Capabilities:
Set registry value

Disassembly:
mov dword [rsp + 0x10], edx
mov r11, rsp
push rbx
sub rsp, 0x60
and qword [r11 + 0x20], 0
and qword [r11 - 0x18], 0
lea rax, [r11 + 0x18]
mov qword [r11 - 0x28], rax
lea rax, [r11 - 0x18]
mov ebx, 4
mov qword [r11 - 0x30], rax
and qword [r11 - 0x38], 0
lea rdx, [0x100002a30]
xor r9d, r9d
xor r8d, r8d
mov rcx, 0xffffffff80000001
mov dword [rsp + 0x28], ebx
and dword [rsp + 0x20], 0
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
je 0x10000ecb0
mov rcx, qword [0x100023120]
lea rax, [0x100023120]
cmp rcx, rax
je 0x10000ed77
test byte [rcx + 0x1c], 1
je 0x10000ed77
lea edx, [rbx + 0x2a]
jmp 0x10000ed67
mov rcx, qword [rsp + 0x50]
lea rax, [rsp + 0x80]
lea rdx, [0x100002940]
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x88]
xor r9d, r9d
mov qword [rsp + 0x38], rax
and qword [rsp + 0x30], 0
xor r8d, r8d
mov dword [rsp + 0x28], 2
mov dword [rsp + 0x20], 1
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
je 0x10000ed1c
mov rcx, qword [0x100023120]
lea rax, [0x100023120]
cmp rcx, rax
je 0x10000ed77
test byte [rcx + 0x1c], 1
je 0x10000ed77
mov edx, 0x2f
jmp 0x10000ed67
mov rcx, qword [rsp + 0x88]
lea rax, [rsp + 0x78]
lea rdx, [0x100002ae0]
mov r9d, ebx
xor r8d, r8d
mov dword [rsp + 0x28], ebx
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
je 0x10000ed7e
mov rcx, qword [0x100023120]
lea rax, [0x100023120]
cmp rcx, rax
je 0x10000ed77
test byte [rcx + 0x1c], 1
je 0x10000ed77
mov edx, 0x30
mov rcx, qword [rcx + 0x10]
lea r8, [0x100001930]
call fcn.100004898
mov ebx, 0x80004005
jmp 0x10000ed80
xor ebx, ebx
mov rcx, qword [rsp + 0x88]
test rcx, rcx
je 0x10000ed9c
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
and qword [rsp + 0x88], 0
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x10000edac
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
add rsp, 0x60
pop rbx
ret
Function at 0x10000f6f8
Capabilities:
Delete registry key

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
push rbp
sub rsp, 0x30
and qword [rax - 0x18], 0
and dword [rax - 0xc], 0
and dword [rax - 0x10], 0
xor edx, edx
mov rbx, rcx
call fcn.10000f1e4
xor edx, edx
mov rcx, rbx
call fcn.10000ec30
lea rbp, [0x100023120]
test eax, eax
jns 0x10000f757
mov rcx, qword [0x100023120]
cmp rcx, rbp
je 0x10000f757
test byte [rcx + 0x1c], 1
je 0x10000f757
mov rcx, qword [rcx + 0x10]
lea r8, [0x100001930]
mov edx, 0x42
call fcn.100004898
mov r8, qword [rbx + 0x158]
lea rdx, [0x100002960]
lea rcx, [rsp + 0x20]
call fcn.100016788
mov ebx, eax
test eax, eax
jns 0x10000f7a1
mov rcx, qword [0x100023120]
cmp rcx, rbp
je 0x10000f7e7
test byte [rcx + 0x1c], 1
je 0x10000f7e7
mov rcx, qword [rcx + 0x10]
lea r8, [0x100001930]
mov edx, 0x43
mov r9d, eax
call fcn.1000048bc
jmp 0x10000f7e7
mov rdx, qword [rsp + 0x20]
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
test eax, eax
je 0x10000f7e5
mov rcx, qword [0x100023120]
cmp rcx, rbp
je 0x10000f7de
test byte [rcx + 0x1c], 1
je 0x10000f7de
mov rcx, qword [rcx + 0x10]
lea r8, [0x100001930]
mov edx, 0x44
call fcn.100004898
mov ebx, 0x80004005
jmp 0x10000f7e7
xor ebx, ebx
lea rcx, [rsp + 0x20]
mov edx, 1
call fcn.1000170b4
mov eax, ebx
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rbp
ret
Function at 0x100011368
Capabilities:
Query or enumerate registry value

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x20], rsi
push rdi
sub rsp, 0x50
and dword [rcx + 0x28], 0
and dword [rcx + 0x2c], 0
and qword [rax - 0x18], 0
and dword [rax - 0xc], 0
and dword [rax - 0x10], 0
and dword [rax + 8], 0
mov rsi, rcx
mov r8d, edx
lea rdx, [0x100002ea8]
lea rcx, [rax - 0x18]
mov dword [rax + 0x18], 4
call fcn.100016788
mov ebx, eax
test eax, eax
jns 0x1000113ef
mov rcx, qword [0x100023120]
lea rax, [0x100023120]
cmp rcx, rax
je 0x100011469
test byte [rcx + 0x1c], 1
je 0x100011469
mov rcx, qword [rcx + 0x10]
lea r8, [0x100001910]
mov edx, 0x23
mov r9d, ebx
call fcn.1000048bc
jmp 0x100011469
mov r8, qword [rsp + 0x40]
xor edx, edx
mov ecx, 0x100000
call qword [sym.imp.KERNEL32.dll_OpenEventW]
mov rdi, rax
test rax, rax
je 0x100011410
mov dword [rsi + 0x28], 1
lea rax, [rsp + 0x70]
lea r8, [0x100002e80]
lea rdx, [0x100002df0]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x60]
mov r9d, 0x18
mov qword [rsp + 0x28], rax
and qword [rsp + 0x20], 0
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegGetValueW]
test eax, eax
jne 0x100011459
cmp dword [rsp + 0x60], eax
setne al
mov dword [rsi + 0x2c], eax
xor ebx, ebx
test rdi, rdi
je 0x100011469
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rcx, [rsp + 0x40]
mov edx, 1
call fcn.1000170b4
mov rsi, qword [rsp + 0x78]
mov eax, ebx
mov rbx, qword [rsp + 0x68]
add rsp, 0x50
pop rdi
ret
Function at 0x100011c74
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x290
mov rax, qword [0x100023110]
xor rax, rsp
mov qword [rsp + 0x280], rax
xor esi, esi
mov rdi, rcx
lea rdx, [0x100002f00]
lea rcx, [rsp + 0x60]
mov qword [rsp + 0x50], rsi
mov dword [rsp + 0x58], esi
mov dword [rsp + 0x5c], esi
mov qword [rsp + 0x60], rsi
mov dword [rsp + 0x6c], esi
mov dword [rsp + 0x68], esi
mov word [rsp + 0x70], si
call fcn.10001627c
cmp eax, esi
mov ebx, eax
jge 0x100011cfc
mov rcx, qword [0x100023120]
lea rax, [0x100023120]
cmp rcx, rax
je 0x100011e8e
test byte [rcx + 0x1c], 1
je 0x100011e8e
lea edx, [rsi + 0x31]
jmp 0x100011e7b
lea rax, [rsp + 0x58]
lea rdx, [0x100002f20]
xor r9d, r9d
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x50]
xor r8d, r8d
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rsi
mov rcx, 0xffffffff80000001
mov dword [rsp + 0x28], 3
mov dword [rsp + 0x20], esi
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
cmp eax, esi
jne 0x100011e49
mov rcx, qword [rsp + 0x50]
cmp rcx, rsi
je 0x100011e49
mov r9d, 2
cmp dword [rsp + 0x58], r9d
jne 0x100011de6
mov r8, qword [rdi + 8]
lea rax, [rsp + 0x5c]
xor edx, edx
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x70]
mov dword [rsp + 0x5c], 0x104
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rsi
call qword [sym.imp.ADVAPI32.dll_RegGetValueW]
cmp eax, esi
jne 0x100011de1
lea r9, [0x100002f00]
lea r8, [rsp + 0x70]
lea rdx, [0x100002fa8]
lea rcx, [rsp + 0x60]
call fcn.100016788
cmp eax, esi
mov ebx, eax
jge 0x100011de1
mov rcx, qword [0x100023120]
lea rax, [0x100023120]
cmp rcx, rax
je 0x100011e8e
test byte [rcx + 0x1c], 1
je 0x100011e8e
mov edx, 0x33
jmp 0x100011e7b
mov rcx, qword [rsp + 0x50]
mov eax, dword [rsp + 0x6c]
mov rdx, qword [rdi + 8]
mov r9d, 1
add eax, eax
xor r8d, r8d
mov dword [rsp + 0x28], eax
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
cmp eax, esi
je 0x100011e45
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx ebx, ax
or ebx, 0x80070000
cmp eax, esi
cmovle ebx, eax
mov rcx, qword [0x100023120]
lea rax, [0x100023120]
cmp rcx, rax
je 0x100011e8e
test byte [rcx + 0x1c], 1
je 0x100011e8e
mov edx, 0x34
jmp 0x100011e7b
mov ebx, esi
jmp 0x100011e8e
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx ebx, ax
or ebx, 0x80070000
cmp eax, esi
cmovle ebx, eax
mov rcx, qword [0x100023120]
lea rax, [0x100023120]
cmp rcx, rax
je 0x100011e8e
test byte [rcx + 0x1c], 1
je 0x100011e8e
mov edx, 0x32
mov rcx, qword [rcx + 0x10]
lea r8, [0x100001910]
mov r9d, ebx
call fcn.1000048bc
mov rcx, qword [rsp + 0x50]
cmp rcx, rsi
je 0x100011ea3
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rsp + 0x50], rsi
lea rcx, [rsp + 0x60]
mov edx, 1
call fcn.1000170b4
mov eax, ebx
mov rcx, qword [rsp + 0x280]
xor rcx, rsp
call fcn.10001e7a0
lea r11, [rsp + 0x290]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
Function at 0x1000134b0
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x20
mov r15, rcx
xor eax, eax
xor r14d, r14d
lea r9d, [r14 + 1]
mov rbx, r8
or r8, 0xffffffffffffffff
mov rdi, r15
mov rcx, r8
mov rsi, rdx
repne scasw ax, word [rdi]
lea rdi, [0x1000031e0]
xor r12d, r12d
not rcx
sub rcx, r9
mov rdx, rcx
mov rcx, r8
repne scasw ax, word [rdi]
not rcx
sub rcx, r9
mov rbp, rcx
test edx, edx
je 0x10001364e
test ecx, ecx
je 0x10001364e
lea edx, [rdx + rdx + 2]
cmp edx, 0xffffffff
jb 0x100013532
lea rcx, [0x1000031c8]
jmp 0x100013655
mov rax, qword gs:[0x30]
mov r13d, edx
mov r8d, edx
mov rcx, qword [rax + 0x60]
xor edx, edx
mov rcx, qword [rcx + 0x30]
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov rdi, rax
mov qword [rsi], rax
test rax, rax
jne 0x10001359a
lea rcx, [0x1000031d8]
call sub.ntdll.dll_DbgPrint
mov r8, qword [rsi]
mov edi, 0x8007000e
test r8, r8
je 0x10001364a
mov rax, qword gs:[0x30]
xor edx, edx
mov rcx, qword [rax + 0x60]
mov rcx, qword [rcx + 0x30]
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
and qword [rsi], r12
jmp 0x10001364a
mov r8, r13
xor edx, edx
mov rcx, rax
call sub.msvcrt.dll_memset
movzx eax, word [rbx]
xor edx, edx
movsxd r13, ebp
cmp ax, dx
je 0x100013645
mov esi, ebp
lea ebp, [rdx + 0x20]
movsxd rcx, r14d
mov r14d, 1
cmp ax, bp
jne 0x1000135db
cmp rcx, rdx
cmovne r12d, r14d
add rbx, 2
cmp word [rbx], bp
je 0x1000135cb
cmp r12d, edx
je 0x1000135ef
cmp word [rbx], dx
je 0x1000135ef
mov word [rdi], bp
mov r12d, edx
add rdi, 2
lea rdx, [0x1000031e0]
mov r8, rsi
mov rcx, rbx
call sub.msvcrt.dll__wcsnicmp
xor edx, edx
cmp eax, edx
jne 0x100013626
cmp word [rbx + r13*2], dx
je 0x100013615
cmp word [rbx + r13*2], bp
jne 0x100013626
cmp rbx, r15
je 0x100013622
jbe 0x100013626
cmp word [rbx - 2], dx
jne 0x100013626
lea rbx, [rbx + rsi*2]
movzx eax, word [rbx]
cmp ax, dx
je 0x100013645
add rbx, 2
mov word [rdi], ax
add rdi, 2
mov ax, word [rbx]
cmp ax, dx
jne 0x1000135bd
mov word [rdi], dx
mov edi, edx
mov eax, edi
jmp 0x10001365f
lea rcx, [0x1000031b8]
call sub.ntdll.dll_DbgPrint
mov eax, 0x80070057
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x20
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
Function at 0x100014f8c
Capabilities:
Delete registry key

Disassembly:
push rbx
sub rsp, 0x20
call fcn.100014c48
lea rbx, [0x100023120]
test eax, eax
jns 0x100014fc9
mov rcx, qword [0x100023120]
cmp rcx, rbx
je 0x100014fc9
test byte [rcx + 0x1c], 4
je 0x100014fc9
mov rcx, qword [rcx + 0x10]
lea r8, [0x1000018f0]
mov edx, 0x3d
call fcn.100004898
lea rdx, [0x1000031f0]
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
test eax, eax
je 0x10001503b
cmp eax, 2
je 0x10001503b
mov rcx, qword [0x100023120]
cmp rcx, rbx
je 0x100015034
test byte [rcx + 0x1c], 1
je 0x100015014
mov rcx, qword [rcx + 0x10]
lea r8, [0x1000018f0]
mov edx, 0x37
call fcn.100004898
mov rcx, qword [0x100023120]
cmp rcx, rbx
je 0x100015034
test byte [rcx + 0x1c], 1
je 0x100015034
mov rcx, qword [rcx + 0x10]
lea r8, [0x1000018f0]
mov edx, 0x3e
call fcn.100004898
mov eax, 0x80004005
jmp 0x10001503d
xor eax, eax
add rsp, 0x20
pop rbx
ret