joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140067e48
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], r8
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
mov rbp, rsp
sub rsp, 0x50
and qword [rbp - 0x18], 0
mov rsi, r9
and qword [rbp - 0x10], 0
lea r9, [rbp - 0x18]
xor ebx, ebx
mov rcx, 0xffffffff80000002
mov qword [rbp - 0x20], rbx
call fcn.14003a040
mov dword [rbp + 0x20], eax
mov edi, eax
test eax, eax
jns 0x140067e94
mov ecx, eax
jmp 0x140067f3d
and dword [rbp + 0x30], ebx
mov rcx, qword [rbp - 0x18]
lea rax, [rbp + 0x30]
mov qword [rsp + 0x28], rax
lea r9, [rbp + 0x40]
xor r8d, r8d
mov qword [rsp + 0x20], rbx
lea rdx, [0x140358aa0]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ecx, eax
lea rdx, [rbp + 0x20]
call fcn.14003dfe4
test eax, eax
je 0x140067f38
test rbx, rbx
jne 0x140067f02
mov eax, dword [rbp + 0x30]
test eax, eax
je 0x140067efb
mov ecx, eax
call fcn.14011ea0c
mov rdx, rax
lea rcx, [rbp - 0x20]
call fcn.1401c4984
mov rbx, qword [rbp - 0x20]
test rbx, rbx
jne 0x140067e97
mov edi, 0x8007000e
jmp 0x140067f3b
mov edi, 0x8000ffff
jmp 0x140067f3b
cmp dword [rbp + 0x40], 4
je 0x140067f0f
mov edi, 0x8007000d
jmp 0x140067f3b
mov edx, dword [rbp + 0x30]
lea r9, [rbp + 0x20]
mov r8, rsi
mov rcx, rbx
call fcn.14003f438
mov edi, eax
test eax, eax
js 0x140067e8d
cmp dword [rbp + 0x20], 0
je 0x140067f42
and qword [rbp - 0x20], 0
jmp 0x140067f42
mov edi, dword [rbp + 0x20]
mov ecx, edi
call fcn.14003e600
mov ecx, edi
call fcn.14006a86c
lea rcx, [rbp - 0x20]
call fcn.14019c76c
lea rcx, [rbp - 0x10]
call fcn.14003b9a8
lea rcx, [rbp - 0x18]
call fcn.14003b9a8
mov rbx, qword [rsp + 0x78]
mov eax, edi
add rsp, 0x50
pop rdi
pop rsi
pop rbp
ret
Function at 0x140067f90
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r12
push r14
push r15
mov rbp, rsp
sub rsp, 0x50
and qword [rbp - 8], 0
xor ebx, ebx
and qword [rbp - 0x10], 0
mov r15, r9
mov qword [rbp - 0x18], rbx
mov r12, r8
mov r14, rdx
mov rsi, rcx
cmp rcx, 0xffffffff80000001
jne 0x140067fef
lea rdx, [rbp - 0x10]
call fcn.1400c9890
mov edi, eax
test eax, eax
jns 0x140067fe4
mov ecx, eax
jmp 0x1400680b2
mov rax, qword [rbp - 0x10]
test rax, rax
cmovne rsi, rax
lea r9, [rbp - 8]
mov r8d, 1
mov rdx, r14
mov rcx, rsi
call fcn.14003a0bc
mov dword [rbp + 0x50], eax
mov edi, eax
test eax, eax
js 0x140067fdd
and dword [rbp + 0x30], ebx
mov rcx, qword [rbp - 8]
lea rax, [rbp + 0x30]
mov qword [rsp + 0x28], rax
lea r9, [rbp - 0x20]
xor r8d, r8d
mov qword [rsp + 0x20], rbx
mov rdx, r12
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ecx, eax
lea rdx, [rbp + 0x50]
call fcn.14003dfe4
test eax, eax
je 0x1400680ad
test rbx, rbx
jne 0x140068077
mov eax, dword [rbp + 0x30]
test eax, eax
je 0x140068070
mov ecx, eax
call fcn.14011ea0c
mov rdx, rax
lea rcx, [rbp - 0x18]
call fcn.1401c4984
mov rbx, qword [rbp - 0x18]
test rbx, rbx
jne 0x140068010
mov edi, 0x8007000e
jmp 0x1400680b0
mov edi, 0x8000ffff
jmp 0x1400680b0
cmp dword [rbp - 0x20], 4
je 0x140068084
mov edi, 0x8007000d
jmp 0x1400680b0
mov edx, dword [rbp + 0x30]
lea r9, [rbp + 0x50]
mov r8, r15
mov rcx, rbx
call fcn.14003f438
mov edi, eax
test eax, eax
js 0x140067fdd
cmp dword [rbp + 0x50], 0
je 0x1400680b7
and qword [rbp - 0x18], 0
jmp 0x1400680b7
mov edi, dword [rbp + 0x50]
mov ecx, edi
call fcn.14003e600
mov ecx, edi
call fcn.14006a86c
lea rcx, [rbp - 0x18]
call fcn.14019c76c
lea rcx, [rbp - 0x10]
call fcn.14003b9a8
lea rcx, [rbp - 8]
call fcn.14003b9a8
lea r11, [rsp + 0x50]
mov eax, edi
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
Function at 0x140068124
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r12
push r14
push r15
mov rbp, rsp
sub rsp, 0x50
and qword [rbp - 8], 0
xor ebx, ebx
and qword [rbp - 0x10], 0
mov r15, r9
mov qword [rbp - 0x18], rbx
mov r12, r8
mov r14, rdx
mov rsi, rcx
cmp rcx, 0xffffffff80000001
jne 0x140068183
lea rdx, [rbp - 0x10]
call fcn.1400c9890
mov edi, eax
test eax, eax
jns 0x140068178
mov ecx, eax
jmp 0x140068246
mov rax, qword [rbp - 0x10]
test rax, rax
cmovne rsi, rax
lea r9, [rbp - 8]
mov r8d, 1
mov rdx, r14
mov rcx, rsi
call fcn.14003a0bc
mov dword [rbp + 0x50], eax
mov edi, eax
test eax, eax
js 0x140068171
and dword [rbp + 0x30], ebx
mov rcx, qword [rbp - 8]
lea rax, [rbp + 0x30]
mov qword [rsp + 0x28], rax
lea r9, [rbp - 0x20]
xor r8d, r8d
mov qword [rsp + 0x20], rbx
mov rdx, r12
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ecx, eax
lea rdx, [rbp + 0x50]
call fcn.14003dfe4
test eax, eax
je 0x140068241
test rbx, rbx
jne 0x14006820b
mov eax, dword [rbp + 0x30]
test eax, eax
je 0x140068204
mov ecx, eax
call fcn.14011ea0c
mov rdx, rax
lea rcx, [rbp - 0x18]
call fcn.1401c4984
mov rbx, qword [rbp - 0x18]
test rbx, rbx
jne 0x1400681a4
mov edi, 0x8007000e
jmp 0x140068244
mov edi, 0x8000ffff
jmp 0x140068244
cmp dword [rbp - 0x20], 1
je 0x140068218
mov edi, 0x8007000d
jmp 0x140068244
mov edx, dword [rbp + 0x30]
lea r9, [rbp + 0x50]
mov r8, r15
mov rcx, rbx
call fcn.14003f470
mov edi, eax
test eax, eax
js 0x140068171
cmp dword [rbp + 0x50], 0
je 0x14006824b
and qword [rbp - 0x18], 0
jmp 0x14006824b
mov edi, dword [rbp + 0x50]
mov ecx, edi
call fcn.14003e600
mov ecx, edi
call fcn.14006a86c
lea rcx, [rbp - 0x18]
call fcn.14019c76c
lea rcx, [rbp - 0x10]
call fcn.14003b9a8
lea rcx, [rbp - 8]
call fcn.14003b9a8
lea r11, [rsp + 0x50]
mov eax, edi
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret

Function at 0x140068290
Capabilities:
Query or enumerate registry value

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x20], rsi
mov qword [rax + 0x18], r8
mov qword [rax + 8], rcx
push rdi
sub rsp, 0x40
xor edi, edi
mov rsi, r9
lea r9, [rax - 0x18]
mov qword [rax - 0x18], rdi
mov rcx, 0xffffffff80000003
lea r8d, [rdi + 1]
call fcn.14003a0bc
mov dword [rsp + 0x60], eax
mov ebx, eax
test eax, eax
jns 0x1400682d8
mov ecx, eax
call fcn.14003e600
jmp 0x140068329
mov rcx, qword [rsp + 0x30]
lea rax, [rsp + 0x50]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x70]
xor r8d, r8d
mov qword [rsp + 0x20], rdi
lea rdx, [0x14035aea8]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x140068322
cmp eax, 2
je 0x140068327
lea rdx, [rsp + 0x60]
mov ecx, eax
call fcn.14003dfe4
mov ebx, dword [rsp + 0x60]
test eax, eax
jne 0x140068327
mov ecx, ebx
jmp 0x1400682d1
mov edi, 1
mov dword [rsi], edi
mov ecx, ebx
call fcn.14006a86c
lea rcx, [rsp + 0x30]
call fcn.14003b9a8
mov rsi, qword [rsp + 0x68]
mov eax, ebx
mov rbx, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
ret
Function at 0x140069c30
Capabilities:
Get token membership

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rdi
push rbp
mov rbp, rsp
sub rsp, 0x80
mov rax, qword [0x1405fa008]
xor rax, rsp
mov qword [rbp - 8], rax
xor ebx, ebx
mov word [rbp - 0xc], 0x500
mov dword [rbp - 0x10], ebx
mov rdi, rdx
mov qword [rbp - 0x18], rbx
test rdx, rdx
jne 0x140069c78
mov ecx, 0x80070057
mov ebx, ecx
call fcn.14003e600
jmp 0x140069ce4
lea rax, [rbp - 0x18]
mov dword [rbp - 0x20], ebx
mov qword [rsp + 0x50], rax
lea rcx, [rbp - 0x10]
mov dword [rsp + 0x48], ebx
mov r9d, 0x220
mov dword [rsp + 0x40], ebx
mov r8d, 0x20
mov dword [rsp + 0x38], ebx
mov dl, 2
mov dword [rsp + 0x30], ebx
mov dword [rsp + 0x28], ebx
mov dword [rsp + 0x20], ebx
call qword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
test eax, eax
jne 0x140069ccb
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.14003de7c
mov ebx, eax
mov ecx, eax
jmp 0x140069c71
mov rdx, qword [rbp - 0x18]
lea r8, [rbp - 0x20]
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_CheckTokenMembership]
test eax, eax
je 0x140069cb8
mov eax, dword [rbp - 0x20]
mov dword [rdi], eax
mov ecx, ebx
call fcn.14006a86c
lea rcx, [rbp - 0x18]
call fcn.14003b9c0
mov eax, ebx
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.14001af10
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret

Function at 0x140069e04
Capabilities:
Check os version

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x150
mov rax, qword [0x1405fa008]
xor rax, rsp
mov qword [rsp + 0x140], rax
mov rdi, rcx
xor edx, edx
lea rcx, [rsp + 0x24]
mov r8d, 0x110
call fcn.14001ba6e
lea rcx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x114
xor ebx, ebx
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
jne 0x140069e69
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.14003de7c
mov ecx, eax
mov ebx, eax
call fcn.14003e600
jmp 0x140069e80
cmp dword [rsp + 0x30], 2
jne 0x140069e7c
cmp dword [rsp + 0x24], 6
mov eax, 1
jae 0x140069e7e
mov eax, ebx
mov dword [rdi], eax
mov ecx, ebx
call fcn.14006a86c
mov eax, ebx
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.14001af10
mov rbx, qword [rsp + 0x168]
add rsp, 0x150
pop rdi
ret
Function at 0x14006a334
Capabilities:
Check mutex on windows

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x10], rdx
push rbp
push rsi
push rdi
mov rbp, rsp
sub rsp, 0x40
and dword [rbp - 0x20], 0
lea r8, [rbp + 0x20]
xor eax, eax
mov rsi, rcx
and dword [rcx + 8], eax
xor r9d, r9d
and qword [rbp + 0x20], rax
lea rcx, str.D:PAI_A_OICI_FA___WD_
and qword [rbp + 0x28], rax
xor ebx, ebx
lea edx, [rax + 1]
mov qword [rbp - 0x18], rax
mov qword [rbp - 0x10], rax
call qword [sym.imp.ADVAPI32.dll_ConvertStringSecurityDescriptorToSecurityDescriptorW]
test eax, eax
jne 0x14006a39c
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.14003de7c
mov ebx, eax
mov ecx, eax
call fcn.14003e600
jmp 0x14006a46c
mov rax, qword [rbp + 0x20]
lea r8, str.Global552FFA80_3393_423d_8671_7BA046BB5906
and dword [rbp - 0x10], ebx
lea rcx, [rbp - 0x20]
xor edx, edx
mov qword [rbp - 0x18], rax
mov dword [rbp - 0x20], reloc.OLEAUT32.dll_SafeArrayGetElement
call qword [sym.imp.KERNEL32.dll_CreateMutexW]
mov rdx, rax
lea rcx, [rbp + 0x28]
call fcn.14003bdc8
mov rdi, qword [rbp + 0x28]
test rdi, rdi
jne 0x14006a40c
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 5
jne 0x14006a433
lea r8, str.Global552FFA80_3393_423d_8671_7BA046BB5906
xor edx, edx
lea ecx, [rdi + 1]
call qword [sym.imp.KERNEL32.dll_OpenMutexW]
mov rdx, rax
lea rcx, [rbp + 0x28]
call fcn.14003bdc8
mov rdi, qword [rbp + 0x28]
test rdi, rdi
je 0x14006a381
mov edx, 0x2710
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x14006a456
cmp eax, 0x80
je 0x14006a44f
cmp eax, 0x102
jne 0x14006a45d
mov ebx, 0x800705b4
jmp 0x14006a448
test eax, eax
jg 0x14006a43b
mov ebx, eax
jmp 0x14006a444
movzx ebx, ax
or ebx, 0x80070000
test ebx, ebx
jns 0x14006a46c
mov ecx, ebx
jmp 0x14006a392
mov ebx, 0x8000ffff
jmp 0x14006a448
mov dword [rsi + 8], 1
and qword [rbp + 0x28], rbx
mov rdx, rdi
mov rcx, rsi
call fcn.14003bdc8
mov ecx, ebx
call fcn.14006a86c
lea rcx, [rbp + 0x28]
call fcn.1400b65e4
lea rcx, [rbp + 0x20]
call fcn.1400b645c
mov eax, ebx
mov rbx, qword [rsp + 0x70]
add rsp, 0x40
pop rdi
pop rsi
pop rbp
ret
Function at 0x14006b5cc
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x27]
sub rsp, 0xf0
mov rax, qword [0x1405fa008]
xor rax, rsp
mov qword [rbp + 0x17], rax
mov r14, rcx
mov dword [rbp - 0x39], 0x370035
xor ecx, ecx
mov dword [rbp - 0x35], 0x390042
xor r12d, r12d
mov dword [rbp - 0x31], 0x320044
test edx, edx
mov dword [rbp - 0x2d], 0x370035
lea rax, [rbp - 0x39]
mov dword [rbp - 0x29], 0x34002d
lea rsi, [rsp + 0x40]
mov dword [rbp - 0x25], 0x360035
cmove rsi, rax
mov dword [rbp - 0x21], 0x2d0030
mov r15, r8
mov dword [rbp - 0x1d], 0x460034
mov dword [rbp - 0x19], 0x420044
mov dword [rbp - 0x15], 0x39002d
mov dword [rbp - 0x11], 0x430030
mov dword [rbp - 0xd], 0x2d0036
mov dword [rbp - 9], 0x410042
mov dword [rbp - 5], 0x330034
mov dword [rbp - 1], 0x360046
mov dword [rbp + 3], 0x440043
mov dword [rbp + 7], 0x440046
mov dword [rbp + 0xb], 0x450045
mov word [rbp + 0xf], cx
mov dword [rsp + 0x40], 0x340038
mov dword [rsp + 0x44], 0x300039
mov dword [rsp + 0x48], 0x350045
mov dword [rbp - 0x7d], 0x350041
mov dword [rbp - 0x79], 0x34002d
mov dword [rbp - 0x75], 0x360044
mov dword [rbp - 0x71], 0x2d0030
mov dword [rbp - 0x6d], 0x390034
mov dword [rbp - 0x69], 0x410043
mov dword [rbp - 0x65], 0x42002d
mov dword [rbp - 0x61], 0x310042
mov dword [rbp - 0x5d], 0x2d0030
mov dword [rbp - 0x59], 0x440046
mov dword [rbp - 0x55], 0x450033
mov dword [rbp - 0x51], 0x450041
mov dword [rbp - 0x4d], 0x380044
mov dword [rbp - 0x49], 0x390044
mov dword [rbp - 0x45], 0x320030
mov word [rbp - 0x41], r12w
call fcn.1400d0538
mov rdi, rax
mov rcx, qword [rax]
mov rbx, qword [rcx + 0x38]
mov rcx, rbx
call qword [0x1403358c8]
lea r9, [rsp + 0x34]
mov qword [rsp + 0x20], r12
mov r8, rsi
mov rdx, r14
mov rcx, rdi
call rbx
mov ebx, eax
test eax, eax
js 0x14006b75f
mov ecx, dword [rsp + 0x34]
lea rdx, [rsp + 0x30]
call fcn.14003a184
mov ebx, eax
test eax, eax
jns 0x14006b768
mov ecx, eax
call fcn.14003e600
jmp 0x14006b76f
mov eax, dword [rsp + 0x30]
mov dword [r15], eax
mov ecx, ebx
call fcn.14006a86c
mov eax, ebx
mov rcx, qword [rbp + 0x17]
xor rcx, rsp
call fcn.14001af10
mov rbx, qword [rsp + 0x138]
add rsp, 0xf0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x140077f90
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x40
or qword [rsp + 0x68], 0xffffffffffffffff
xor ebx, ebx
mov rsi, r8
mov edi, edx
test rcx, rcx
jne 0x140077fbb
mov ecx, 0x80070057
jmp 0x14007803b
mov qword [rsp + 0x30], rbx
mov r8d, 2
mov dword [rsp + 0x28], 0x80
xor r9d, r9d
mov edx, 0x40000000
mov dword [rsp + 0x20], r8d
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rdx, rax
lea rcx, [rsp + 0x68]
call fcn.14003bd88
cmp qword [rsp + 0x68], 0xffffffffffffffff
jne 0x140078009
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.14003de7c
mov ebx, eax
mov ecx, eax
jmp 0x14007803d
lea rcx, [rsp + 0x68]
call fcn.140039774
mov rcx, rax
mov qword [rsp + 0x20], rbx
mov rdx, rsi
lea r9, [rsp + 0x50]
mov r8d, edi
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x140077ff6
cmp dword [rsp + 0x50], edi
je 0x140078042
mov ecx, 0x8000ffff
mov ebx, ecx
call fcn.14003e600
mov ecx, ebx
call fcn.14006a86c
lea rcx, [rsp + 0x68]
call fcn.1402c23fc
mov rsi, qword [rsp + 0x60]
mov eax, ebx
mov rbx, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
ret

Function at 0x1400796a8
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x20], rsi
mov qword [rsp + 0x18], r8
push rbp
push rdi
push r14
mov rbp, rsp
sub rsp, 0x50
and qword [rbp - 0x10], 0
mov rsi, r9
and qword [rbp - 0x18], 0
mov r14, rdx
and qword [rbp - 0x20], 0
mov rdi, rcx
cmp rcx, 0xffffffff80000001
jne 0x140079704
lea rdx, [rbp - 0x18]
call fcn.1400c9890
mov ebx, eax
test eax, eax
jns 0x1400796f9
mov ecx, eax
jmp 0x140079780
mov rax, qword [rbp - 0x18]
test rax, rax
cmovne rdi, rax
lea r9, [rbp - 0x10]
mov r8d, 2
mov rdx, r14
mov rcx, rdi
call fcn.14003a0bc
mov ebx, eax
test eax, eax
js 0x1400796f2
lea r8, [rbp + 0x20]
lea rdx, [rbp - 0x20]
call fcn.140077ee8
mov dword [rbp + 0x30], eax
mov ebx, eax
test eax, eax
js 0x1400796f2
mov rax, qword [rbp - 0x20]
test rax, rax
jne 0x140079743
mov eax, dword [rbp + 0x40]
jmp 0x140079749
mov rsi, rax
mov eax, dword [rbp + 0x20]
mov rcx, qword [rbp - 0x10]
lea rdx, str.ReferralId
mov dword [rsp + 0x28], eax
mov r9d, 1
xor r8d, r8d
mov qword [rsp + 0x20], rsi
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov ecx, eax
lea rdx, [rbp + 0x30]
call fcn.14003dfe4
mov ebx, dword [rbp + 0x30]
test eax, eax
jne 0x140079785
mov ecx, ebx
call fcn.14003e600
mov ecx, ebx
call fcn.14006a86c
lea rcx, [rbp - 0x20]
call fcn.14019c76c
lea rcx, [rbp - 0x18]
call fcn.14003b9a8
lea rcx, [rbp - 0x10]
call fcn.14003b9a8
lea r11, [rsp + 0x50]
mov eax, ebx
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
Function at 0x14007984c
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r14
push r15
mov rbp, rsp
sub rsp, 0x50
and qword [rbp - 8], 0
mov rsi, r9
and qword [rbp - 0x10], 0
mov r15, r8
and qword [rbp - 0x18], 0
mov r14, rdx
mov rdi, rcx
cmp rcx, 0xffffffff80000001
jne 0x1400798ac
lea rdx, [rbp - 0x10]
call fcn.1400c9890
mov ebx, eax
test eax, eax
jns 0x1400798a1
mov ecx, eax
jmp 0x140079924
mov rax, qword [rbp - 0x10]
test rax, rax
cmovne rdi, rax
lea r9, [rbp - 8]
mov r8d, 2
mov rdx, r14
mov rcx, rdi
call fcn.14003a0bc
mov ebx, eax
test eax, eax
js 0x14007989a
lea r8, [rbp - 0x20]
lea rdx, [rbp - 0x18]
call fcn.140077ee8
mov dword [rbp + 0x20], eax
mov ebx, eax
test eax, eax
js 0x14007989a
mov rax, qword [rbp - 0x18]
test rax, rax
jne 0x1400798eb
mov eax, dword [rbp + 0x40]
jmp 0x1400798f1
mov rsi, rax
mov eax, dword [rbp - 0x20]
mov rcx, qword [rbp - 8]
mov r9d, 1
mov dword [rsp + 0x28], eax
xor r8d, r8d
mov rdx, r15
mov qword [rsp + 0x20], rsi
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov ecx, eax
lea rdx, [rbp + 0x20]
call fcn.14003dfe4
mov ebx, dword [rbp + 0x20]
test eax, eax
jne 0x140079929
mov ecx, ebx
call fcn.14003e600
mov ecx, ebx
call fcn.14006a86c
lea rcx, [rbp - 0x18]
call fcn.14019c76c
lea rcx, [rbp - 0x10]
call fcn.14003b9a8
lea rcx, [rbp - 8]
call fcn.14003b9a8
lea r11, [rsp + 0x50]
mov eax, ebx
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret

Function at 0x140079970
Capabilities:
Set registry value

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x20], rdi
mov qword [rax + 0x18], r8
mov qword [rax + 8], rcx
push rbp
mov rbp, rsp
sub rsp, 0x50
and qword [rbp - 0x18], 0
mov rdi, r9
and qword [rbp - 0x10], 0
lea r9, [rbp - 0x18]
and qword [rbp - 0x20], 0
mov rcx, 0xffffffff80000003
mov r8d, 2
call fcn.14003a0bc
mov ebx, eax
test eax, eax
jns 0x1400799bd
mov ecx, eax
jmp 0x140079a1e
lea r8, [rbp + 0x10]
lea rdx, [rbp - 0x20]
call fcn.140077ee8
mov dword [rbp + 0x20], eax
mov ebx, eax
test eax, eax
js 0x1400799b9
mov rax, qword [rbp - 0x20]
test rax, rax
jne 0x1400799e1
mov eax, dword [rbp + 0x30]
jmp 0x1400799e7
mov rdi, rax
mov eax, dword [rbp + 0x10]
mov rcx, qword [rbp - 0x18]
lea rdx, [0x14035aea8]
mov dword [rsp + 0x28], eax
mov r9d, 3
xor r8d, r8d
mov qword [rsp + 0x20], rdi
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov ecx, eax
lea rdx, [rbp + 0x20]
call fcn.14003dfe4
mov ebx, dword [rbp + 0x20]
test eax, eax
jne 0x140079a23
mov ecx, ebx
call fcn.14003e600
mov ecx, ebx
call fcn.14006a86c
lea rcx, [rbp - 0x20]
call fcn.14019c76c
lea rcx, [rbp - 0x10]
call fcn.14003b9a8
lea rcx, [rbp - 0x18]
call fcn.14003b9a8
mov rdi, qword [rsp + 0x78]
mov eax, ebx
mov rbx, qword [rsp + 0x68]
add rsp, 0x50
pop rbp
ret
Function at 0x1400a7464
Capabilities:
Delete registry value

Disassembly:
mov rax, rsp
mov qword [rax + 0x18], rbx
mov qword [rax + 0x10], rdx
mov qword [rax + 8], rcx
push rdi
sub rsp, 0x20
and qword [rax + 8], 0
lea r9, [rax + 8]
mov rdi, r8
lea rdx, [0x14035c910]
mov r8d, 2
mov rcx, 0xffffffff80000002
call fcn.14003a0bc
mov dword [rsp + 0x38], eax
mov ebx, eax
test eax, eax
jns 0x1400a74ab
mov ecx, eax
jmp 0x1400a74cf
mov rcx, qword [rsp + 0x30]
mov rdx, rdi
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov ecx, eax
lea rdx, [rsp + 0x38]
call fcn.14003dfe4
mov ebx, dword [rsp + 0x38]
test eax, eax
jne 0x1400a74d4
mov ecx, ebx
call fcn.14003e600
mov ecx, ebx
call fcn.14006a86c
lea rcx, [rsp + 0x30]
call fcn.14003b9a8
mov eax, ebx
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret

Function at 0x1400aab54
Capabilities:
Query or enumerate registry value

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov qword [rax + 8], rcx
push rbp
push r14
push r15
mov rbp, rsp
sub rsp, 0x50
xor r15d, r15d
mov rsi, r9
mov r14, r8
mov qword [rbp - 0x10], r15
mov ebx, r15d
mov qword [rbp - 8], r15
lea r9, [rbp - 0x10]
mov qword [rbp - 0x18], rbx
lea r8d, [r15 + 1]
mov rcx, 0xffffffff80000002
call fcn.14003a0bc
mov dword [rbp - 0x20], eax
mov edi, eax
test eax, eax
jns 0x1400aabaf
mov ecx, eax
jmp 0x1400aac61
mov dword [rbp + 0x20], r15d
mov rcx, qword [rbp - 0x10]
lea rax, [rbp + 0x20]
mov qword [rsp + 0x28], rax
lea r9, [rbp - 0x1c]
xor r8d, r8d
mov qword [rsp + 0x20], rbx
mov rdx, r14
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ecx, eax
lea rdx, [rbp - 0x20]
call fcn.14003dfe4
test eax, eax
je 0x1400aac5c
test rbx, rbx
jne 0x1400aac1a
mov eax, dword [rbp + 0x20]
test eax, eax
je 0x1400aac13
mov ecx, eax
call fcn.14011ea0c
mov rdx, rax
lea rcx, [rbp - 0x18]
call fcn.1401c4984
mov rbx, qword [rbp - 0x18]
test rbx, rbx
jne 0x1400aabb3
mov edi, 0x8007000e
jmp 0x1400aac5f
mov edi, 0x8000ffff
jmp 0x1400aac5f
cmp dword [rbp - 0x1c], 3
je 0x1400aac27
mov edi, 0x8007000d
jmp 0x1400aac5f
lea r9, [rbp - 0x20]
mov r8, rsi
mov rcx, rbx
call fcn.140083aa4
mov edi, eax
test eax, eax
js 0x1400aaba8
cmp dword [rbp - 0x20], r15d
mov rcx, qword [rbp + 0x40]
cmovne rbx, r15
mov qword [rbp - 0x18], rbx
test rcx, rcx
je 0x1400aac66
mov eax, dword [rbp + 0x20]
mov dword [rcx], eax
jmp 0x1400aac66
mov edi, dword [rbp - 0x20]
mov ecx, edi
call fcn.14003e600
mov ecx, edi
call fcn.14006a86c
lea rcx, [rbp - 0x18]
call fcn.14019c76c
lea rcx, [rbp - 8]
call fcn.14003b9a8
lea rcx, [rbp - 0x10]
call fcn.14003b9a8
lea r11, [rsp + 0x50]
mov eax, edi
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
Function at 0x1400aacac
Capabilities:
Query or enumerate registry value

Disassembly:
mov rax, rsp
mov qword [rax + 0x18], rbx
mov qword [rax + 0x10], rdx
mov qword [rax + 8], rcx
push rbp
push rsi
push rdi
sub rsp, 0x40
xor edi, edi
lea rdx, [0x14035c910]
mov rsi, r9
mov qword [rax - 0x28], rdi
mov rbp, r8
lea r9, [rax - 0x28]
mov rcx, 0xffffffff80000002
lea r8d, [rdi + 1]
call fcn.14003a0bc
mov dword [rsp + 0x68], eax
mov ebx, eax
test eax, eax
jns 0x1400aacfc
mov ecx, eax
call fcn.14003e600
jmp 0x1400aad4c
mov rcx, qword [rsp + 0x30]
lea rax, [rsp + 0x60]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x80]
xor r8d, r8d
mov qword [rsp + 0x20], rdi
mov rdx, rbp
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x1400aad45
cmp eax, 2
je 0x1400aad4a
lea rdx, [rsp + 0x68]
mov ecx, eax
call fcn.14003dfe4
mov ebx, dword [rsp + 0x68]
test eax, eax
jne 0x1400aad4a
mov ecx, ebx
jmp 0x1400aacf5
mov edi, 1
mov dword [rsi], edi
mov ecx, ebx
call fcn.14006a86c
lea rcx, [rsp + 0x30]
call fcn.14003b9a8
mov eax, ebx
mov rbx, qword [rsp + 0x70]
add rsp, 0x40
pop rdi
pop rsi
pop rbp
ret

Function at 0x1400b1214
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r14
push r15
mov rbp, rsp
sub rsp, 0x50
and qword [rbp - 8], 0
mov rsi, r9
and qword [rbp - 0x10], 0
mov r15, r8
and qword [rbp - 0x18], 0
mov r14, rdx
mov rdi, rcx
cmp rcx, 0xffffffff80000001
jne 0x1400b1274
lea rdx, [rbp - 0x10]
call fcn.1400c9890
mov ebx, eax
test eax, eax
jns 0x1400b1269
mov ecx, eax
jmp 0x1400b12ec
mov rax, qword [rbp - 0x10]
test rax, rax
cmovne rdi, rax
lea r9, [rbp - 8]
mov r8d, 2
mov rdx, r14
mov rcx, rdi
call fcn.14003a0bc
mov ebx, eax
test eax, eax
js 0x1400b1262
lea r8, [rbp - 0x20]
lea rdx, [rbp - 0x18]
call fcn.140077ee8
mov dword [rbp + 0x20], eax
mov ebx, eax
test eax, eax
js 0x1400b1262
mov rax, qword [rbp - 0x18]
test rax, rax
jne 0x1400b12b3
mov eax, dword [rbp + 0x40]
jmp 0x1400b12b9
mov rsi, rax
mov eax, dword [rbp - 0x20]
mov rcx, qword [rbp - 8]
mov r9d, 3
mov dword [rsp + 0x28], eax
xor r8d, r8d
mov rdx, r15
mov qword [rsp + 0x20], rsi
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov ecx, eax
lea rdx, [rbp + 0x20]
call fcn.14003dfe4
mov ebx, dword [rbp + 0x20]
test eax, eax
jne 0x1400b12f1
mov ecx, ebx
call fcn.14003e600
mov ecx, ebx
call fcn.14006a86c
lea rcx, [rbp - 0x18]
call fcn.14019c76c
lea rcx, [rbp - 0x10]
call fcn.14003b9a8
lea rcx, [rbp - 8]
call fcn.14003b9a8
lea r11, [rsp + 0x50]
mov eax, ebx
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret