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

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0xc0
mov rax, qword [0x14007c010]
xor rax, rsp
mov qword [rbp + 0x47], rax
xor ebx, ebx
cmp dword [0x14007e33c], ebx
jne 0x140005d03
lea rax, [rbp - 0x31]
mov dword [rbp - 0x39], 0x64
mov r9d, 0x20019
mov qword [rsp + 0x20], rax
lea rdx, str.SOFTWAREMicrosoftInternet_Explorer
mov qword [rbp - 0x31], rbx
mov rcx, 0xffffffff80000002
call fcn.14000e39c
lea edi, [rbx + 1]
test eax, eax
jne 0x140005cee
movzx eax, byte [rbp - 0x29]
lea r9, [rbp - 0x35]
cmp dword [rbp - 0x35], edi
lea rdx, str.Version
mov rcx, qword [rbp - 0x31]
cmove eax, ebx
xor r8d, r8d
mov byte [rbp - 0x29], al
lea rax, [rbp - 0x39]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x29]
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x140005cee
cmp word [rbp - 0x29], bx
je 0x140005cee
lea edx, [rbx + 0xa]
lea rcx, [rbp - 0x29]
call fcn.14000e040
mov ecx, dword [0x14007e338]
cmp eax, 4
cmova ecx, edi
mov dword [0x14007e338], ecx
mov rcx, qword [rbp - 0x31]
mov dword [0x14007e33c], edi
test rcx, rcx
je 0x140005d03
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [0x14007e338]
mov rcx, qword [rbp + 0x47]
xor rcx, rsp
call fcn.14003ee60
lea r11, [rsp + 0xc0]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov rsp, r11
pop rbp
ret

Function at 0x140005d2c
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x250
mov rax, qword [0x14007c010]
xor rax, rsp
mov qword [rsp + 0x240], rax
xor esi, esi
lea rdx, [rsp + 0x30]
mov rdi, rcx
mov dword [rsp + 0x20], esi
xor r9d, r9d
mov word [rsp + 0x30], si
xor ecx, ecx
mov ebx, esi
lea r8d, [rsi + 0x20]
call qword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x140005dea
cmp word [rsp + 0x30], si
je 0x140005dea
lea rax, [rsp + 0x30]
mov r8d, esi
lea rax, [rax + 2]
inc r8d
cmp word [rax], si
jne 0x140005d87
lea rdx, [rsp + 0x30]
mov rcx, rdi
call fcn.14000db7c
test eax, eax
je 0x140005dea
xor r9d, r9d
lea rdx, [fcn.140002250]
lea rcx, [rsp + 0x20]
lea r8d, [r9 + 0x10]
call qword [sym.imp.USER32.dll_DdeInitializeW]
mov edx, dword [rsp + 0x20]
mov rcx, rdi
call fcn.140005e14
mov rbx, rax
test rax, rax
jne 0x140005ddc
mov rcx, rdi
call fcn.140006114
mov rbx, rax
mov ecx, dword [rsp + 0x20]
test ecx, ecx
je 0x140005dea
call qword [sym.imp.USER32.dll_DdeUninitialize]
mov rax, rbx
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.14003ee60
lea r11, [rsp + 0x250]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
Function at 0x140006390
Capabilities:
Query or enumerate registry value

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r14
push rbp
lea rbp, [rax - 0x248]
sub rsp, 0x340
mov rax, qword [0x14007c010]
xor rax, rsp
mov qword [rbp + 0x230], rax
xor r14d, r14d
mov dword [rsp + 0x30], 0xc8
lea rdx, [0x140047130]
mov qword [rsp + 0x38], r14
mov rdi, rcx
call fcn.140006528
test eax, eax
jne 0x1400064e9
lea rdx, [0x140047140]
mov rcx, rdi
call fcn.140006528
test eax, eax
jne 0x1400064e9
lea ebx, [rax + 1]
mov rcx, rdi
test rdi, rdi
je 0x14000642c
mov eax, r14d
cmp word [rdi], r14w
je 0x14000642c
lea rcx, [rcx + 2]
add eax, ebx
cmp word [rcx], r14w
jne 0x140006411
cmp eax, 0x104
jbe 0x14000642c
mov ebx, r14d
jmp 0x1400064ee
mov r8d, 0x10c
lea rcx, [rbp + 0x10]
mov rdx, rdi
call fcn.14000dc08
mov r8d, 0x10c
lea rdx, [0x140046540]
lea rcx, [rbp + 0x10]
call fcn.14000dc84
lea rax, [rsp + 0x38]
mov r9d, 0x20019
lea rdx, [rbp + 0x10]
mov qword [rsp + 0x20], rax
mov rcx, 0xffffffff80000000
call fcn.14000e39c
test eax, eax
jne 0x140006424
movzx eax, byte [rsp + 0x40]
lea r9, [rsp + 0x34]
cmp dword [rsp + 0x34], ebx
mov rcx, qword [rsp + 0x38]
cmove eax, r14d
xor r8d, r8d
mov byte [rsp + 0x40], al
xor edx, edx
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x140006424
lea rdx, [0x140047130]
lea rcx, [rsp + 0x40]
call fcn.140006528
test eax, eax
jne 0x1400064ee
lea rdx, [0x140047140]
lea rcx, [rsp + 0x40]
call fcn.140006528
test eax, eax
jne 0x1400064ee
jmp 0x140006424
mov ebx, 1
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x1400064fe
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
mov rcx, qword [rbp + 0x230]
xor rcx, rsp
call fcn.14003ee60
lea r11, [rsp + 0x340]
mov rbx, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
Function at 0x1400073e0
Capabilities:
Query environment variable
Query or enumerate registry value

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r15
lea rbp, [rsp - 0x390]
sub rsp, 0x490
mov rax, qword [0x14007c010]
xor rax, rsp
mov qword [rbp + 0x380], rax
xor r15d, r15d
lea rax, [rsp + 0x50]
mov rsi, rdx
mov qword [rsp + 0x50], r15
mov rdx, rcx
mov qword [rsp + 0x48], r15
mov rcx, 0xffffffff80000000
mov qword [rsp + 0x40], r15
mov r9d, 0x20019
mov qword [rsp + 0x38], r15
mov rbx, r8
mov qword [rsp + 0x20], rax
mov edi, r15d
call fcn.14000e39c
test eax, eax
jne 0x1400075fa
mov rcx, qword [rsp + 0x50]
lea rax, [rsp + 0x48]
mov r9d, 0x20019
mov qword [rsp + 0x20], rax
lea rdx, str.CurVer
call fcn.14000e39c
test eax, eax
jne 0x1400074fa
movzx eax, byte [rsp + 0x60]
lea r9, [rsp + 0x30]
cmp dword [rsp + 0x30], 1
mov rcx, qword [rsp + 0x48]
cmove eax, r15d
mov dword [rsp + 0x58], 0xca
mov byte [rsp + 0x60], al
xor r8d, r8d
lea rax, [rsp + 0x58]
xor edx, edx
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1400074fa
cmp dword [rsp + 0x30], 1
jne 0x1400075fa
cmp word [rsp + 0x60], r15w
je 0x1400074fa
lea rax, [rsp + 0x40]
mov r9d, 0x20019
lea rdx, [rsp + 0x60]
mov qword [rsp + 0x20], rax
mov rcx, 0xffffffff80000000
call fcn.14000e39c
test eax, eax
jne 0x1400075fa
mov r8d, 0x105
lea rdx, [0x1400471e8]
lea rcx, [rbp + 0x170]
call fcn.14000dc08
mov r8d, 0x105
lea rcx, [rbp + 0x170]
mov rdx, rsi
call fcn.14000dc84
mov r8d, 0x105
lea rdx, [0x1400476a8]
lea rcx, [rbp + 0x170]
call fcn.14000dc84
mov rax, qword [rsp + 0x40]
lea rdx, [rbp + 0x170]
mov rcx, qword [rsp + 0x50]
test rax, rax
mov r9d, 0x20019
cmovne rcx, rax
lea rax, [rsp + 0x38]
mov qword [rsp + 0x20], rax
call fcn.14000e39c
test eax, eax
jne 0x1400075fa
cmp dword [rsp + 0x30], 1
mov dword [rsp + 0x5c], 0x208
jne 0x14000758d
test rbx, rbx
je 0x14000758d
mov byte [rbx], r15b
mov rcx, qword [rsp + 0x38]
lea rax, [rsp + 0x5c]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x30]
xor r8d, r8d
mov qword [rsp + 0x20], rbx
xor edx, edx
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1400075fa
mov ecx, dword [rsp + 0x30]
lea eax, [rcx - 1]
cmp eax, 1
ja 0x1400075fa
cmp ecx, 2
jne 0x1400075f5
mov esi, 0x104
lea rcx, [rsp + 0x60]
mov r8d, esi
mov rdx, rbx
call fcn.14000dc08
mov r8d, esi
lea rcx, [rsp + 0x60]
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
dec eax
cmp eax, 0x103
ja 0x1400075fa
mov edi, 1
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x14000760a
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rsp + 0x40]
mov qword [rsp + 0x38], r15
test rcx, rcx
je 0x14000761f
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rsp + 0x48]
mov qword [rsp + 0x40], r15
test rcx, rcx
je 0x140007634
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rsp + 0x50]
mov qword [rsp + 0x48], r15
test rcx, rcx
je 0x140007649
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
mov rcx, qword [rbp + 0x380]
xor rcx, rsp
call fcn.14003ee60
add rsp, 0x490
pop r15
pop rdi
pop rsi
pop rbx
pop rbp
ret
Function at 0x14000a580
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
push rbp
lea rbp, [rax - 0x38]
sub rsp, 0x130
mov rax, qword [0x14007c010]
xor rax, rsp
mov qword [rbp + 0x20], rax
xor esi, esi
mov dword [rsp + 0x30], 0xc8
mov qword [rcx], rsi
lea rax, [rsp + 0x38]
mov rbx, rcx
mov qword [rsp + 0x38], rsi
mov edi, 0x20019
mov qword [rsp + 0x20], rax
mov rcx, 0xffffffff80000000
lea rdx, str.Word.DocumentCurVer
mov r9d, edi
call fcn.14000e39c
test eax, eax
jne 0x14000a65a
movzx eax, byte [rsp + 0x40]
lea r9, [rsp + 0x34]
cmp dword [rsp + 0x34], 1
mov rcx, qword [rsp + 0x38]
cmove eax, esi
xor r8d, r8d
mov byte [rsp + 0x40], al
xor edx, edx
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x14000a65a
lea r8d, [rsi + 0x6e]
lea rdx, str._shell
lea rcx, [rsp + 0x40]
call fcn.14000dc84
mov r9d, edi
mov qword [rsp + 0x20], rbx
lea rdx, [rsp + 0x40]
mov rcx, 0xffffffff80000000
call fcn.14000e39c
test eax, eax
je 0x14000a65a
mov qword [rbx], rsi
cmp qword [rbx], rsi
mov edi, esi
mov rcx, qword [rsp + 0x38]
setne dil
test rcx, rcx
je 0x14000a673
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
mov rcx, qword [rbp + 0x20]
xor rcx, rsp
call fcn.14003ee60
lea r11, [rsp + 0x130]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
Function at 0x14000b1f4
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
mov rax, rsp
push rbp
push rsi
push rdi
push r12
push r14
lea rbp, [rax - 0x7b8]
sub rsp, 0x890
mov qword [rsp + 0x78], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov rax, qword [0x14007c010]
xor rax, rsp
mov qword [rbp + 0x780], rax
mov rsi, rdx
mov rdi, rcx
xor r14d, r14d
mov qword [rsp + 0x48], r14
lea rax, [rsp + 0x48]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
call fcn.14000e39c
mov ebx, eax
test eax, eax
jne 0x14000b3b1
mov dword [rsp + 0x40], 0x400
lea rax, [rsp + 0x70]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], r14
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], r14
lea r9, [rsp + 0x40]
lea r8, [rbp - 0x80]
xor edx, edx
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
mov ebx, eax
test eax, eax
jne 0x14000b386
lea r12, str.Param
lea rax, vtable.Mso::Logging::StructuredObject_wchar_t_const____ptr64__1_.0
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x58], r12
lea rax, [rbp - 0x80]
mov qword [rsp + 0x60], rax
mov word [rsp + 0x68], r14w
lea rax, [rsp + 0x50]
mov qword [rsp + 0x28], rax
lea rax, str.Delete_key:
mov qword [rsp + 0x20], rax
mov edx, 0x851
mov ecx, 0x170b01d
mov r8d, 0x64
call fcn.14000262c
lea rax, vtable.Mso::Logging::StructuredObject_unsigned_int__1_.0
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x58], r12
mov dword [rsp + 0x60], r14d
mov word [rsp + 0x64], r14w
lea rax, [rsp + 0x50]
mov qword [rsp + 0x28], rax
lea rax, [0x140047940]
mov qword [rsp + 0x20], rax
mov edx, 0x851
mov ecx, 0x170b01e
mov r8d, 0x64
call fcn.14000262c
lea rdx, [rbp - 0x80]
mov rcx, qword [rsp + 0x48]
call fcn.14000b1f4
mov ebx, eax
test eax, eax
jne 0x14000b3b1
mov dword [rsp + 0x40], 0x400
lea rax, [rsp + 0x70]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], r14
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], r14
lea r9, [rsp + 0x40]
lea r8, [rbp - 0x80]
xor edx, edx
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
mov ebx, eax
test eax, eax
je 0x14000b29f
cmp ebx, 0x103
jne 0x14000b3b1
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x14000b39e
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rsp + 0x48], r14
mov rdx, rsi
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov ebx, eax
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x14000b3c1
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
mov rcx, qword [rbp + 0x780]
xor rcx, rsp
call fcn.14003ee60
mov rbx, qword [rsp + 0x8d0]
add rsp, 0x890
pop r14
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x14000b3f0
Capabilities:
Query or enumerate registry value

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
mov qword [r11 + 0x10], rbp
push rsi
push rdi
push r14
sub rsp, 0x40
lea rax, [r11 + 0x20]
mov rdi, r9
mov rbx, r8
mov qword [r11 - 0x30], rax
xor r14d, r14d
lea r9, [r11 - 0x28]
xor r8d, r8d
mov qword [r11 - 0x38], r14
mov rsi, rdx
mov dword [r11 + 0x20], r14d
mov rbp, rcx
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edx, dword [rsp + 0x30]
test eax, eax
jne 0x14000b440
mov ecx, dword [rsp + 0x78]
cmp edx, 1
je 0x14000b443
mov ecx, r14d
mov eax, 0x208
cmp ecx, eax
cmovb ecx, eax
add ecx, 2
mov dword [rsp + 0x78], ecx
cmp ecx, dword [rdi]
jbe 0x14000b48d
cmp qword [rbx], r14
je 0x14000b46f
mov rcx, qword [rbx]
call fcn.1400027dc
mov ecx, dword [rsp + 0x78]
mov qword [rbx], r14
mov dword [rdi], r14d
call fcn.140002798
mov qword [rbx], rax
test rax, rax
je 0x14000b4d0
mov eax, dword [rsp + 0x78]
mov dword [rdi], eax
mov rax, qword [rbx]
mov word [rax], r14w
mov edx, dword [rsp + 0x30]
mov rax, qword [rbx]
cmp edx, 1
jne 0x14000b49d
test rax, rax
je 0x14000b49d
mov byte [rax], r14b
lea rcx, [rsp + 0x78]
xor r8d, r8d
mov qword [rsp + 0x28], rcx
lea r9, [rsp + 0x30]
mov rcx, rbp
mov qword [rsp + 0x20], rax
mov rdx, rsi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x14000b4cb
mov rcx, qword [rbx]
mov word [rcx], r14w
mov eax, 1
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x68]
add rsp, 0x40
pop r14
pop rdi
pop rsi
ret
Function at 0x14000b9f4
Capabilities:
Set registry value

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbp
mov qword [rax + 0x20], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
xor r13d, r13d
mov r12d, edx
mov qword [rax + 8], r13
mov rax, rcx
mov rbp, rcx
mov edi, r13d
test rcx, rcx
je 0x14000ba3a
cmp word [rcx], r13w
je 0x14000ba3a
lea rax, [rax + 2]
inc edi
cmp word [rax], r13w
jne 0x14000ba2e
mov ecx, r12d
mov rbx, r13
call fcn.14000b984
test rax, rax
lea rsi, [0x140046528]
mov r14, rax
mov r15d, 0x3b
cmovne rsi, rax
cmp word [rsi], r13w
je 0x14000bab4
mov rax, rsi
cmp rax, rsi
lea r15, [rax + 2]
mov r8d, edi
mov rdx, rbp
cmova rax, r15
mov rcx, rax
call fcn.14000db7c
test eax, eax
jne 0x14000bb4e
mov rax, r15
test r15, r15
je 0x14000baae
movzx ecx, word [r15]
mov r15d, 0x3b
jmp 0x14000baa6
add rax, 2
test cx, cx
je 0x14000bab4
movzx ecx, word [rax]
cmp cx, r15w
jne 0x14000ba9a
jmp 0x14000ba65
mov r15d, 0x3b
lea edx, [rdi + 2]
mov rcx, rsi
call fcn.14000dccc
mov rbx, rax
test rax, rax
je 0x14000bb4e
mov rcx, rax
mov esi, r13d
cmp word [rax], r13w
je 0x14000bae3
lea rcx, [rcx + 2]
inc esi
cmp word [rcx], r13w
jne 0x14000bad7
mov eax, esi
lea rcx, [rbx + rax*2]
cmp rcx, rbx
jbe 0x14000baf6
mov word [rcx], r15w
add rcx, 2
lea r8d, [rdi + 1]
mov rdx, rbp
call fcn.14000dc08
mov r9d, 1
lea rdx, [rsp + 0x60]
mov r8d, r12d
mov rcx, 0xffffffff80000002
call fcn.140007c08
test eax, eax
je 0x14000bb4e
mov rcx, qword [rsp + 0x60]
lea eax, [rsi + rdi]
lea eax, [rax*2 + 2]
mov r9d, 1
mov dword [rsp + 0x28], eax
lea rdx, str.KnownIDs
xor r8d, r8d
mov qword [rsp + 0x20], rbx
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test r14, r14
je 0x14000bb5b
mov rcx, r14
call fcn.1400027dc
test rbx, rbx
je 0x14000bb68
mov rcx, rbx
call fcn.1400027dc
mov rcx, qword [rsp + 0x60]
test rcx, rcx
je 0x14000bb78
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rbx, qword [rsp + 0x68]
mov rbp, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
Function at 0x14000be74
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r15
lea rbp, [rsp - 0x1000]
mov eax, 0x1100
call fcn.1400409d0
sub rsp, rax
mov rax, qword [0x14007c010]
xor rax, rsp
mov qword [rbp + 0xff0], rax
lea r15, vtable.Mso::Registry::Key.0
mov dword [rsp + 0x60], 1
xor esi, esi
mov qword [rsp + 0x58], r15
lea rdx, [rsp + 0x68]
mov qword [rsp + 0x68], rsi
mov rbx, rcx
mov byte [rsp + 0x70], 1
call fcn.140016d08
test eax, eax
jne 0x14000bff2
mov edi, esi
xor edx, edx
mov rcx, qword [rsp + 0x68]
lea rax, [rsp + 0x78]
mov qword [rsp + 0x38], rax
lea r9, [rsp + 0x40]
mov qword [rsp + 0x30], rsi
lea r8, [rbp - 0x80]
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], rsi
mov dword [rsp + 0x40], 0x10
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x14000bff2
mov rcx, qword [rsp + 0x68]
lea rax, [rsp + 0x48]
mov r9d, 0x20019
mov qword [rsp + 0x20], rax
lea rdx, [rbp - 0x80]
mov qword [rsp + 0x48], rsi
call fcn.14000e39c
test eax, eax
jne 0x14000bfd9
movzx eax, byte [rbp - 0x60]
lea r9, [rsp + 0x50]
cmp dword [rsp + 0x50], 1
mov rdx, qword [rbx]
mov rcx, qword [rsp + 0x48]
cmove eax, esi
mov byte [rbp - 0x60], al
xor r8d, r8d
lea rax, [rsp + 0x54]
mov dword [rsp + 0x54], 0x1048
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x60]
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x14000bf94
cmp dword [rsp + 0x50], 1
je 0x14000bfb2
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x14000bfa4
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
inc edi
mov qword [rsp + 0x48], rsi
mov edx, edi
jmp 0x14000bee1
mov rcx, qword [rbx + 0x10]
test rcx, rcx
je 0x14000bfc0
call fcn.1400027dc
xor edx, edx
lea rcx, [rbp - 0x60]
call fcn.14000dccc
mov qword [rbx + 0x10], rax
test rax, rax
mov ebx, esi
setne bl
jmp 0x14000bfdb
mov ebx, esi
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x14000bfeb
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rsp + 0x48], rsi
jmp 0x14000bff4
mov ebx, esi
mov qword [rsp + 0x58], r15
cmp byte [rsp + 0x70], sil
je 0x14000c010
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x14000c010
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
mov rcx, qword [rbp + 0xff0]
xor rcx, rsp
call fcn.14003ee60
lea r11, [rsp + 0x1100]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop rdi
pop rbp
ret
Function at 0x14000c03c
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rbp
lea rbp, [rsp - 0x740]
sub rsp, 0x840
mov rax, qword [0x14007c010]
xor rax, rsp
mov qword [rbp + 0x730], rax
xor esi, esi
mov dword [rsp + 0x44], 0x410
lea rdx, str.SharePointDesigner.Application.15.0
mov qword [rsp + 0x48], rsi
lea rcx, [rbp + 0x20]
mov qword [rsp + 0x38], rsi
mov dword [rsp + 0x40], 0xc8
mov ebx, esi
lea r8d, [rsi + 0x78]
call fcn.14000dc08
lea r8d, [rsi + 0x78]
lea rdx, [0x140047a20]
lea rcx, [rbp + 0x20]
call fcn.14000dc84
lea rax, [rsp + 0x48]
mov r9d, 0x20019
lea rdx, [rbp + 0x20]
mov qword [rsp + 0x20], rax
mov rcx, 0xffffffff80000000
call fcn.14000e39c
test eax, eax
jne 0x14000c1ed
movzx eax, byte [rsp + 0x50]
lea r9, [rsp + 0x30]
cmp dword [rsp + 0x30], 1
mov rcx, qword [rsp + 0x48]
cmove eax, esi
xor r8d, r8d
mov byte [rsp + 0x50], al
xor edx, edx
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x14000c1ed
mov r8d, 0x104
lea rdx, str.CLSID_
lea rcx, [rbp + 0x110]
call fcn.14000dc08
mov r8d, 0x104
lea rdx, [rsp + 0x50]
lea rcx, [rbp + 0x110]
call fcn.14000dc84
mov r8d, 0x104
lea rdx, str.LocalServer32
lea rcx, [rbp + 0x110]
call fcn.14000dc84
lea rax, [rsp + 0x38]
mov r9d, 0x20019
lea rdx, [rbp + 0x110]
mov qword [rsp + 0x20], rax
mov rcx, 0xffffffff80000000
call fcn.14000e39c
test eax, eax
jne 0x14000c1ed
movzx eax, byte [rbp + 0x320]
lea r9, [rsp + 0x30]
cmp dword [rsp + 0x30], 1
mov rcx, qword [rsp + 0x38]
cmove eax, esi
xor r8d, r8d
mov byte [rbp + 0x320], al
xor edx, edx
lea rax, [rsp + 0x44]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x320]
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x14000c1ed
mov ecx, 0x410
call fcn.140002798
mov r8d, 0x208
lea rdx, [rbp + 0x320]
mov rcx, rax
mov rbx, rax
call fcn.14000dc08
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x14000c1fd
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rsp + 0x48]
mov qword [rsp + 0x38], rsi
test rcx, rcx
je 0x14000c212
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rax, rbx
mov rcx, qword [rbp + 0x730]
xor rcx, rsp
call fcn.14003ee60
lea r11, [rsp + 0x840]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rbp
ret
Function at 0x14000e228
Capabilities:
Query or enumerate registry value

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
lea rbp, [rax - 0x178]
sub rsp, 0x270
mov rax, qword [0x14007c010]
xor rax, rsp
mov qword [rbp + 0x160], rax
xor ebx, ebx
lea rax, [rsp + 0x40]
mov rdi, 0xffffffff80000002
mov qword [rsp + 0x40], rbx
mov rcx, rdi
mov qword [rsp + 0x38], rbx
mov r9d, 0x20219
mov qword [rsp + 0x20], rax
xor r8d, r8d
lea rdx, str.SoftwareMicrosoftOffice16.0common_filespaths
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14000e372
lea rax, [rsp + 0x38]
mov r9d, 0x20119
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, str.SoftwareMicrosoftOffice16.0common_filespaths
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14000e367
movzx eax, byte [rsp + 0x50]
lea esi, [rbx + 1]
cmp dword [rsp + 0x30], esi
lea r9, [rsp + 0x30]
mov rcx, qword [rsp + 0x40]
lea rdx, str.mso.dll
cmove eax, ebx
mov dword [rsp + 0x34], 0x20a
mov byte [rsp + 0x50], al
xor r8d, r8d
lea rax, [rsp + 0x34]
mov edi, ebx
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x14000e35a
cmp dword [rsp + 0x30], esi
jne 0x14000e35a
mov rcx, qword [rsp + 0x38]
lea rax, [rsp + 0x34]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x30]
lea rax, [rsp + 0x50]
mov dword [rsp + 0x34], 0x20a
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, str.mso.dll
mov byte [rsp + 0x50], bl
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x14000e35a
cmp dword [rsp + 0x30], esi
cmove edi, esi
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ebx, edi
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
mov rcx, qword [rbp + 0x160]
xor rcx, rsp
call fcn.14003ee60
lea r11, [rsp + 0x270]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret