joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140067bc8
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.14003a14c
mov dword [rbp + 0x20], eax
mov edi, eax
test eax, eax
jns 0x140067c14
mov ecx, eax
jmp 0x140067cbd
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, [0x140358a80]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ecx, eax
lea rdx, [rbp + 0x20]
call fcn.14003dffc
test eax, eax
je 0x140067cb8
test rbx, rbx
jne 0x140067c82
mov eax, dword [rbp + 0x30]
test eax, eax
je 0x140067c7b
mov ecx, eax
call fcn.1400b74d4
mov rdx, rax
lea rcx, [rbp - 0x20]
call fcn.14003be24
mov rbx, qword [rbp - 0x20]
test rbx, rbx
jne 0x140067c17
mov edi, 0x8007000e
jmp 0x140067cbb
mov edi, 0x8000ffff
jmp 0x140067cbb
cmp dword [rbp + 0x40], 4
je 0x140067c8f
mov edi, 0x8007000d
jmp 0x140067cbb
mov edx, dword [rbp + 0x30]
lea r9, [rbp + 0x20]
mov r8, rsi
mov rcx, rbx
call fcn.14003f348
mov edi, eax
test eax, eax
js 0x140067c0d
cmp dword [rbp + 0x20], 0
je 0x140067cc2
and qword [rbp - 0x20], 0
jmp 0x140067cc2
mov edi, dword [rbp + 0x20]
mov ecx, edi
call fcn.14003e510
mov ecx, edi
call fcn.14006a5bc
lea rcx, [rbp - 0x20]
call fcn.14003b77c
lea rcx, [rbp - 0x10]
call fcn.14003bae4
lea rcx, [rbp - 0x18]
call fcn.14003bae4
mov rbx, qword [rsp + 0x78]
mov eax, edi
add rsp, 0x50
pop rdi
pop rsi
pop rbp
ret
Function at 0x140067d10
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 0x140067d6f
lea rdx, [rbp - 0x10]
call fcn.14007b060
mov edi, eax
test eax, eax
jns 0x140067d64
mov ecx, eax
jmp 0x140067e32
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.14003a1c8
mov dword [rbp + 0x50], eax
mov edi, eax
test eax, eax
js 0x140067d5d
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.14003dffc
test eax, eax
je 0x140067e2d
test rbx, rbx
jne 0x140067df7
mov eax, dword [rbp + 0x30]
test eax, eax
je 0x140067df0
mov ecx, eax
call fcn.1400b74d4
mov rdx, rax
lea rcx, [rbp - 0x18]
call fcn.14003be24
mov rbx, qword [rbp - 0x18]
test rbx, rbx
jne 0x140067d90
mov edi, 0x8007000e
jmp 0x140067e30
mov edi, 0x8000ffff
jmp 0x140067e30
cmp dword [rbp - 0x20], 4
je 0x140067e04
mov edi, 0x8007000d
jmp 0x140067e30
mov edx, dword [rbp + 0x30]
lea r9, [rbp + 0x50]
mov r8, r15
mov rcx, rbx
call fcn.14003f348
mov edi, eax
test eax, eax
js 0x140067d5d
cmp dword [rbp + 0x50], 0
je 0x140067e37
and qword [rbp - 0x18], 0
jmp 0x140067e37
mov edi, dword [rbp + 0x50]
mov ecx, edi
call fcn.14003e510
mov ecx, edi
call fcn.14006a5bc
lea rcx, [rbp - 0x18]
call fcn.14003b77c
lea rcx, [rbp - 0x10]
call fcn.14003bae4
lea rcx, [rbp - 8]
call fcn.14003bae4
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 0x140067ea4
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 0x140067f03
lea rdx, [rbp - 0x10]
call fcn.14007b060
mov edi, eax
test eax, eax
jns 0x140067ef8
mov ecx, eax
jmp 0x140067fc6
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.14003a1c8
mov dword [rbp + 0x50], eax
mov edi, eax
test eax, eax
js 0x140067ef1
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.14003dffc
test eax, eax
je 0x140067fc1
test rbx, rbx
jne 0x140067f8b
mov eax, dword [rbp + 0x30]
test eax, eax
je 0x140067f84
mov ecx, eax
call fcn.1400b74d4
mov rdx, rax
lea rcx, [rbp - 0x18]
call fcn.14003be24
mov rbx, qword [rbp - 0x18]
test rbx, rbx
jne 0x140067f24
mov edi, 0x8007000e
jmp 0x140067fc4
mov edi, 0x8000ffff
jmp 0x140067fc4
cmp dword [rbp - 0x20], 1
je 0x140067f98
mov edi, 0x8007000d
jmp 0x140067fc4
mov edx, dword [rbp + 0x30]
lea r9, [rbp + 0x50]
mov r8, r15
mov rcx, rbx
call fcn.14003f380
mov edi, eax
test eax, eax
js 0x140067ef1
cmp dword [rbp + 0x50], 0
je 0x140067fcb
and qword [rbp - 0x18], 0
jmp 0x140067fcb
mov edi, dword [rbp + 0x50]
mov ecx, edi
call fcn.14003e510
mov ecx, edi
call fcn.14006a5bc
lea rcx, [rbp - 0x18]
call fcn.14003b77c
lea rcx, [rbp - 0x10]
call fcn.14003bae4
lea rcx, [rbp - 8]
call fcn.14003bae4
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 0x140068010
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.14003a1c8
mov dword [rsp + 0x60], eax
mov ebx, eax
test eax, eax
jns 0x140068058
mov ecx, eax
call fcn.14003e510
jmp 0x1400680a9
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, [0x14035ae68]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x1400680a2
cmp eax, 2
je 0x1400680a7
lea rdx, [rsp + 0x60]
mov ecx, eax
call fcn.14003dffc
mov ebx, dword [rsp + 0x60]
test eax, eax
jne 0x1400680a7
mov ecx, ebx
jmp 0x140068051
mov edi, 1
mov dword [rsi], edi
mov ecx, ebx
call fcn.14006a5bc
lea rcx, [rsp + 0x30]
call fcn.14003bae4
mov rsi, qword [rsp + 0x68]
mov eax, ebx
mov rbx, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
ret
Function at 0x14006997c
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 [0x1405f8008]
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 0x1400699c4
mov ecx, 0x80070057
mov ebx, ecx
call fcn.14003e510
jmp 0x140069a30
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 0x140069a17
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.14003de94
mov ebx, eax
mov ecx, eax
jmp 0x1400699bd
mov rdx, qword [rbp - 0x18]
lea r8, [rbp - 0x20]
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_CheckTokenMembership]
test eax, eax
je 0x140069a04
mov eax, dword [rbp - 0x20]
mov dword [rdi], eax
mov ecx, ebx
call fcn.14006a5bc
lea rcx, [rbp - 0x18]
call fcn.14003bafc
mov eax, ebx
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.14001af80
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret

Function at 0x140069b50
Capabilities:
Check os version

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x150
mov rax, qword [0x1405f8008]
xor rax, rsp
mov qword [rsp + 0x140], rax
mov rdi, rcx
xor edx, edx
lea rcx, [rsp + 0x24]
mov r8d, 0x110
call fcn.14001bade
lea rcx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x114
xor ebx, ebx
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
jne 0x140069bb5
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.14003de94
mov ecx, eax
mov ebx, eax
call fcn.14003e510
jmp 0x140069bcc
cmp dword [rsp + 0x30], 2
jne 0x140069bc8
cmp dword [rsp + 0x24], 6
mov eax, 1
jae 0x140069bca
mov eax, ebx
mov dword [rdi], eax
mov ecx, ebx
call fcn.14006a5bc
mov eax, ebx
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.14001af80
mov rbx, qword [rsp + 0x168]
add rsp, 0x150
pop rdi
ret
Function at 0x14006a084
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 0x14006a0ec
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.14003de94
mov ebx, eax
mov ecx, eax
call fcn.14003e510
jmp 0x14006a1bc
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.1400b6844
mov rdi, qword [rbp + 0x28]
test rdi, rdi
jne 0x14006a15c
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 5
jne 0x14006a183
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.1400b6844
mov rdi, qword [rbp + 0x28]
test rdi, rdi
je 0x14006a0d1
mov edx, 0x2710
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x14006a1a6
cmp eax, 0x80
je 0x14006a19f
cmp eax, 0x102
jne 0x14006a1ad
mov ebx, 0x800705b4
jmp 0x14006a198
test eax, eax
jg 0x14006a18b
mov ebx, eax
jmp 0x14006a194
movzx ebx, ax
or ebx, 0x80070000
test ebx, ebx
jns 0x14006a1bc
mov ecx, ebx
jmp 0x14006a0e2
mov ebx, 0x8000ffff
jmp 0x14006a198
mov dword [rsi + 8], 1
and qword [rbp + 0x28], rbx
mov rdx, rdi
mov rcx, rsi
call fcn.1400b6844
mov ecx, ebx
call fcn.14006a5bc
lea rcx, [rbp + 0x28]
call fcn.1400b6314
lea rcx, [rbp + 0x20]
call fcn.14003b788
mov eax, ebx
mov rbx, qword [rsp + 0x70]
add rsp, 0x40
pop rdi
pop rsi
pop rbp
ret
Function at 0x14006b21c
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 [0x1405f8008]
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.1400cf628
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 0x14006b3af
mov ecx, dword [rsp + 0x34]
lea rdx, [rsp + 0x30]
call fcn.14003a2dc
mov ebx, eax
test eax, eax
jns 0x14006b3b8
mov ecx, eax
call fcn.14003e510
jmp 0x14006b3bf
mov eax, dword [rsp + 0x30]
mov dword [r15], eax
mov ecx, ebx
call fcn.14006a5bc
mov eax, ebx
mov rcx, qword [rbp + 0x17]
xor rcx, rsp
call fcn.14001af80
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 0x140077ac0
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 0x140077aeb
mov ecx, 0x80070057
jmp 0x140077b6b
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.14003bf24
cmp qword [rsp + 0x68], 0xffffffffffffffff
jne 0x140077b39
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.14003de94
mov ebx, eax
mov ecx, eax
jmp 0x140077b6d
lea rcx, [rsp + 0x68]
call fcn.140039858
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 0x140077b26
cmp dword [rsp + 0x50], edi
je 0x140077b72
mov ecx, 0x8000ffff
mov ebx, ecx
call fcn.14003e510
mov ecx, ebx
call fcn.14006a5bc
lea rcx, [rsp + 0x68]
call fcn.14003baa4
mov rsi, qword [rsp + 0x60]
mov eax, ebx
mov rbx, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
ret

Function at 0x140078ea0
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 0x140078efc
lea rdx, [rbp - 0x18]
call fcn.14007b060
mov ebx, eax
test eax, eax
jns 0x140078ef1
mov ecx, eax
jmp 0x140078f78
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.14003a1c8
mov ebx, eax
test eax, eax
js 0x140078eea
lea r8, [rbp + 0x20]
lea rdx, [rbp - 0x20]
call fcn.140077a20
mov dword [rbp + 0x30], eax
mov ebx, eax
test eax, eax
js 0x140078eea
mov rax, qword [rbp - 0x20]
test rax, rax
jne 0x140078f3b
mov eax, dword [rbp + 0x40]
jmp 0x140078f41
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.14003dffc
mov ebx, dword [rbp + 0x30]
test eax, eax
jne 0x140078f7d
mov ecx, ebx
call fcn.14003e510
mov ecx, ebx
call fcn.14006a5bc
lea rcx, [rbp - 0x20]
call fcn.14003b77c
lea rcx, [rbp - 0x18]
call fcn.14003bae4
lea rcx, [rbp - 0x10]
call fcn.14003bae4
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 0x140079044
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 0x1400790a4
lea rdx, [rbp - 0x10]
call fcn.14007b060
mov ebx, eax
test eax, eax
jns 0x140079099
mov ecx, eax
jmp 0x14007911c
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.14003a1c8
mov ebx, eax
test eax, eax
js 0x140079092
lea r8, [rbp - 0x20]
lea rdx, [rbp - 0x18]
call fcn.140077a20
mov dword [rbp + 0x20], eax
mov ebx, eax
test eax, eax
js 0x140079092
mov rax, qword [rbp - 0x18]
test rax, rax
jne 0x1400790e3
mov eax, dword [rbp + 0x40]
jmp 0x1400790e9
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.14003dffc
mov ebx, dword [rbp + 0x20]
test eax, eax
jne 0x140079121
mov ecx, ebx
call fcn.14003e510
mov ecx, ebx
call fcn.14006a5bc
lea rcx, [rbp - 0x18]
call fcn.14003b77c
lea rcx, [rbp - 0x10]
call fcn.14003bae4
lea rcx, [rbp - 8]
call fcn.14003bae4
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 0x140079168
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.14003a1c8
mov ebx, eax
test eax, eax
jns 0x1400791b5
mov ecx, eax
jmp 0x140079216
lea r8, [rbp + 0x10]
lea rdx, [rbp - 0x20]
call fcn.140077a20
mov dword [rbp + 0x20], eax
mov ebx, eax
test eax, eax
js 0x1400791b1
mov rax, qword [rbp - 0x20]
test rax, rax
jne 0x1400791d9
mov eax, dword [rbp + 0x30]
jmp 0x1400791df
mov rdi, rax
mov eax, dword [rbp + 0x10]
mov rcx, qword [rbp - 0x18]
lea rdx, [0x14035ae68]
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.14003dffc
mov ebx, dword [rbp + 0x20]
test eax, eax
jne 0x14007921b
mov ecx, ebx
call fcn.14003e510
mov ecx, ebx
call fcn.14006a5bc
lea rcx, [rbp - 0x20]
call fcn.14003b77c
lea rcx, [rbp - 0x10]
call fcn.14003bae4
lea rcx, [rbp - 0x18]
call fcn.14003bae4
mov rdi, qword [rsp + 0x78]
mov eax, ebx
mov rbx, qword [rsp + 0x68]
add rsp, 0x50
pop rbp
ret
Function at 0x1400a6e94
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, [0x14035c8d0]
mov r8d, 2
mov rcx, 0xffffffff80000002
call fcn.14003a1c8
mov dword [rsp + 0x38], eax
mov ebx, eax
test eax, eax
jns 0x1400a6edb
mov ecx, eax
jmp 0x1400a6eff
mov rcx, qword [rsp + 0x30]
mov rdx, rdi
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov ecx, eax
lea rdx, [rsp + 0x38]
call fcn.14003dffc
mov ebx, dword [rsp + 0x38]
test eax, eax
jne 0x1400a6f04
mov ecx, ebx
call fcn.14003e510
mov ecx, ebx
call fcn.14006a5bc
lea rcx, [rsp + 0x30]
call fcn.14003bae4
mov eax, ebx
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret

Function at 0x1400aa8e4
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.14003a1c8
mov dword [rbp - 0x20], eax
mov edi, eax
test eax, eax
jns 0x1400aa93f
mov ecx, eax
jmp 0x1400aa9f1
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.14003dffc
test eax, eax
je 0x1400aa9ec
test rbx, rbx
jne 0x1400aa9aa
mov eax, dword [rbp + 0x20]
test eax, eax
je 0x1400aa9a3
mov ecx, eax
call fcn.1400b74d4
mov rdx, rax
lea rcx, [rbp - 0x18]
call fcn.14003be24
mov rbx, qword [rbp - 0x18]
test rbx, rbx
jne 0x1400aa943
mov edi, 0x8007000e
jmp 0x1400aa9ef
mov edi, 0x8000ffff
jmp 0x1400aa9ef
cmp dword [rbp - 0x1c], 3
je 0x1400aa9b7
mov edi, 0x8007000d
jmp 0x1400aa9ef
lea r9, [rbp - 0x20]
mov r8, rsi
mov rcx, rbx
call fcn.1400834d0
mov edi, eax
test eax, eax
js 0x1400aa938
cmp dword [rbp - 0x20], r15d
mov rcx, qword [rbp + 0x40]
cmovne rbx, r15
mov qword [rbp - 0x18], rbx
test rcx, rcx
je 0x1400aa9f6
mov eax, dword [rbp + 0x20]
mov dword [rcx], eax
jmp 0x1400aa9f6
mov edi, dword [rbp - 0x20]
mov ecx, edi
call fcn.14003e510
mov ecx, edi
call fcn.14006a5bc
lea rcx, [rbp - 0x18]
call fcn.14003b77c
lea rcx, [rbp - 8]
call fcn.14003bae4
lea rcx, [rbp - 0x10]
call fcn.14003bae4
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 0x1400aaa3c
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, [0x14035c8d0]
mov rsi, r9
mov qword [rax - 0x28], rdi
mov rbp, r8
lea r9, [rax - 0x28]
mov rcx, 0xffffffff80000002
lea r8d, [rdi + 1]
call fcn.14003a1c8
mov dword [rsp + 0x68], eax
mov ebx, eax
test eax, eax
jns 0x1400aaa8c
mov ecx, eax
call fcn.14003e510
jmp 0x1400aaadc
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 0x1400aaad5
cmp eax, 2
je 0x1400aaada
lea rdx, [rsp + 0x68]
mov ecx, eax
call fcn.14003dffc
mov ebx, dword [rsp + 0x68]
test eax, eax
jne 0x1400aaada
mov ecx, ebx
jmp 0x1400aaa85
mov edi, 1
mov dword [rsi], edi
mov ecx, ebx
call fcn.14006a5bc
lea rcx, [rsp + 0x30]
call fcn.14003bae4
mov eax, ebx
mov rbx, qword [rsp + 0x70]
add rsp, 0x40
pop rdi
pop rsi
pop rbp
ret

Function at 0x1400b0fbc
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 0x1400b101c
lea rdx, [rbp - 0x10]
call fcn.14007b060
mov ebx, eax
test eax, eax
jns 0x1400b1011
mov ecx, eax
jmp 0x1400b1094
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.14003a1c8
mov ebx, eax
test eax, eax
js 0x1400b100a
lea r8, [rbp - 0x20]
lea rdx, [rbp - 0x18]
call fcn.140077a20
mov dword [rbp + 0x20], eax
mov ebx, eax
test eax, eax
js 0x1400b100a
mov rax, qword [rbp - 0x18]
test rax, rax
jne 0x1400b105b
mov eax, dword [rbp + 0x40]
jmp 0x1400b1061
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.14003dffc
mov ebx, dword [rbp + 0x20]
test eax, eax
jne 0x1400b1099
mov ecx, ebx
call fcn.14003e510
mov ecx, ebx
call fcn.14006a5bc
lea rcx, [rbp - 0x18]
call fcn.14003b77c
lea rcx, [rbp - 0x10]
call fcn.14003bae4
lea rcx, [rbp - 8]
call fcn.14003bae4
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