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

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x30
and dword [rax + 0x20], 0
mov esi, r8d
mov r14, qword [rsp + 0x70]
mov rbp, rdx
mov r15, rcx
and qword [r14], 0
movzx eax, word [rdx]
add eax, 0x1f
and eax, 0xfffffff8
lea edi, [rax + r9]
cmp edi, eax
jb 0x140009914
mov edx, edi
mov ecx, 0x200
mov r8d, 0x62527050
call qword [sym.imp.ntoskrnl.exe_ExAllocatePoolWithTag]
nop dword [rax + rax]
mov rbx, rax
test rax, rax
je 0x14000990d
lea rax, [rsp + 0x68]
mov r9, rbx
mov qword [rsp + 0x28], rax
mov r8d, 1
mov rdx, rbp
mov dword [rsp + 0x20], edi
mov rcx, r15
call qword [sym.imp.ntoskrnl.exe_ZwQueryValueKey]
nop dword [rax + rax]
mov edi, eax
test eax, eax
jns 0x1400098e5
xor edx, edx
mov rcx, rbx
call qword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
nop dword [rax + rax]
cmp edi, 0x80000005
je 0x14000988f
cmp edi, 0xc0000023
je 0x14000988f
mov eax, edi
jmp 0x140009919
mov edx, dword [rsp + 0x68]
mov ecx, 0x200
mov r8d, 0x62527050
call qword [sym.imp.ntoskrnl.exe_ExAllocatePoolWithTag]
nop dword [rax + rax]
mov rbx, rax
test rax, rax
je 0x14000990d
lea rax, [rsp + 0x68]
mov r9, rbx
mov qword [rsp + 0x28], rax
mov r8d, 1
mov eax, dword [rsp + 0x68]
mov rdx, rbp
mov rcx, r15
mov dword [rsp + 0x20], eax
call qword [sym.imp.ntoskrnl.exe_ZwQueryValueKey]
nop dword [rax + rax]
mov edi, eax
test eax, eax
js 0x1400098f3
test esi, esi
je 0x140009906
cmp dword [rbx + 4], esi
je 0x140009906
mov edi, 0xc0000024
xor edx, edx
mov rcx, rbx
call qword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
nop dword [rax + rax]
jmp 0x140009888
mov qword [r14], rbx
xor eax, eax
jmp 0x140009919
mov eax, 0xc000009a
jmp 0x140009919
mov eax, 0xc0000095
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x30
pop r15
pop r14
pop rdi
ret
Function at 0x140009940
Capabilities:
Set registry value

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 r14
sub rsp, 0x40
xorps xmm0, xmm0
mov rbp, rdx
movzx edx, word [r8]
mov rdi, r8
movups xmmword [rax - 0x18], xmm0
movzx eax, word [r8 + 2]
mov r14, rcx
sub rax, rdx
cmp rax, 2
jb 0x1400099b6
mov rax, qword [r8 + 8]
xor esi, esi
shr rdx, 1
lea r9d, [rsi + 1]
mov word [rax + rdx*2], si
mov rdx, rbp
movzx eax, word [r8]
add eax, 2
mov dword [rsp + 0x28], eax
mov rax, qword [r8 + 8]
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ntoskrnl.exe_ZwSetValueKey]
nop dword [rax + rax]
mov ebx, eax
jmp 0x140009a33
lea rcx, [rsp + 0x30]
call fcn.140009c40
xor esi, esi
mov ebx, eax
test eax, eax
js 0x140009a33
movzx r8d, word [rdi]
mov rdx, qword [rdi + 8]
mov rcx, qword [rsp + 0x38]
mov word [rsp + 0x30], r8w
call fcn.1400037c0
mov rax, qword [rsp + 0x38]
lea r9d, [rsi + 1]
movzx ecx, word [rsp + 0x30]
xor r8d, r8d
shr rcx, 1
mov rdx, rbp
mov word [rax + rcx*2], si
mov rcx, r14
movzx eax, word [rsp + 0x30]
add eax, 2
mov dword [rsp + 0x28], eax
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x20], rax
call qword [sym.imp.ntoskrnl.exe_ZwSetValueKey]
nop dword [rax + rax]
lea rcx, [rsp + 0x30]
mov ebx, eax
call qword [sym.imp.ntoskrnl.exe_RtlFreeUnicodeString]
nop dword [rax + rax]
mov rbp, qword [rsp + 0x58]
mov eax, ebx
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x40
pop r14
ret

Function at 0x140009b20
Capabilities:
Set registry value

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
push rdi
sub rsp, 0x40
mov rsi, rcx
xorps xmm0, xmm0
lea rcx, [rax - 0x18]
mov rbx, r9
movups xmmword [rax - 0x18], xmm0
mov edi, r8d
call fcn.1400035a0
test eax, eax
js 0x140009b74
mov eax, dword [rsp + 0x70]
lea rdx, [rsp + 0x30]
mov dword [rsp + 0x28], eax
mov r9d, edi
xor r8d, r8d
mov qword [rsp + 0x20], rbx
mov rcx, rsi
call qword [sym.imp.ntoskrnl.exe_ZwSetValueKey]
nop dword [rax + rax]
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
ret
Function at 0x140001f98
Capabilities:
Query or enumerate registry value

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
mov qword [r11 + 0x18], r8
push rdi
sub rsp, 0x30
mov rdi, r9
lea rax, [r11 + 0x18]
xor ebx, ebx
mov qword [r11 - 0x18], rax
mov r9d, 0x20019
mov qword [r11 + 0x18], rbx
xor r8d, r8d
lea rdx, str.SoftwareMicrosoftInternet_Explorer
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x140002014
mov rax, qword [rsp + 0x60]
lea rdx, str.svcVersion
mov rcx, qword [rsp + 0x50]
xor r9d, r9d
mov qword [rsp + 0x28], rax
xor r8d, r8d
mov qword [rsp + 0x20], rdi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
lea ecx, [rbx + 1]
cmove ebx, ecx
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret

Function at 0x140002024
Capabilities:
Set registry value

Disassembly:
mov r11, rsp
mov dword [r11 + 0x20], r9d
mov qword [r11 + 0x18], r8
push rbx
sub rsp, 0x30
lea rax, [r11 + 0x18]
xor ebx, ebx
mov r9d, 0x20006
mov qword [r11 + 0x18], rbx
xor r8d, r8d
mov qword [r11 - 0x18], rax
lea rdx, str.SoftwareMicrosoftInternet_ExplorerMainFeatureControlFEATURE_BROWSER_EMULATION
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x140002097
mov rcx, qword [rsp + 0x50]
lea r9d, [rbx + 4]
lea rax, [rsp + 0x58]
mov dword [rsp + 0x28], r9d
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, [0x14009fcf8]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
lea ecx, [rbx + 1]
cmove ebx, ecx
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
add rsp, 0x30
pop rbx
ret

Function at 0x1400020a0
Capabilities:
Delete registry value

Disassembly:
mov r11, rsp
mov qword [r11 + 0x18], r8
push rbx
sub rsp, 0x30
lea rax, [r11 + 0x18]
xor ebx, ebx
mov r9d, 0x20006
mov qword [r11 + 0x18], rbx
xor r8d, r8d
mov qword [r11 - 0x18], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x1400020f2
mov rcx, qword [rsp + 0x50]
lea rdx, [0x14009fcf8]
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
test eax, eax
lea ecx, [rbx + 1]
cmove ebx, ecx
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
add rsp, 0x30
pop rbx
ret
Function at 0x140007960
Capabilities:
Delete registry value

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x27]
sub rsp, 0xa0
mov rax, qword [0x1400bba20]
xor rax, rsp
mov qword [rbp + 0x17], rax
mov rsi, r9
mov r15, r8
mov r14, rdx
xor r12d, r12d
mov ebx, r12d
mov qword [rbp - 0x41], rbx
mov dword [rbp - 0x39], r12d
mov qword [rbp - 0x31], r12
mov qword [rbp - 0x29], r12
mov qword [rbp - 0x19], r12
mov qword [rbp - 0x11], r12
mov rdx, r8
lea rcx, [rbp - 0x29]
call fcn.14000930c
nop
cmp qword [r14 + 0x10], r12
jne 0x1400079cb
mov rdi, 0xffffffff80000001
jmp 0x140007a72
mov rdi, 0xffffffff80000003
mov rdx, r14
lea rcx, [rbp - 0x29]
call fcn.140005700
lea rcx, [0x14009e290]
call fcn.14005e824
mov r8, rax
lea rdx, [0x14009e290]
lea rcx, [rbp - 0x29]
call fcn.14000568c
mov qword [rbp - 9], r12
mov qword [rbp + 7], r12
mov qword [rbp + 0xf], r12
mov rdx, r15
lea rcx, [rbp - 9]
call fcn.14000930c
nop
lea rdx, [rbp - 9]
cmp qword [rbp + 0xf], 8
cmovae rdx, qword [rbp - 9]
mov r8, qword [rbp + 7]
lea rcx, [rbp - 0x29]
call fcn.14000568c
nop
mov rdx, qword [rbp + 0xf]
cmp rdx, 8
jb 0x140007a72
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 9]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140007a6d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140007b61
call fcn.140028090
lea rdx, [rbp - 0x29]
cmp qword [rbp - 0x11], 8
cmovae rdx, qword [rbp - 0x29]
mov qword [rbp - 0x49], r12
lea rax, [rbp - 0x49]
mov qword [rsp + 0x20], rax
mov r9d, 0x2001f
xor r8d, r8d
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov edi, eax
test eax, eax
jne 0x140007aac
mov edi, r12d
mov rbx, qword [rbp - 0x49]
test edi, edi
jne 0x140007adb
cmp qword [rsi + 0x18], 8
jb 0x140007aba
mov rsi, qword [rsi]
mov rdx, rsi
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov edi, eax
test rbx, rbx
je 0x140007ad9
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rbx, r12
test edi, edi
sete dil
mov rdx, qword [rbp - 0x11]
cmp rdx, 8
jb 0x140007b1b
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x29]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140007b16
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140007b5b
call fcn.140028090
mov qword [rbp - 0x19], r12
mov qword [rbp - 0x11], 7
mov word [rbp - 0x29], r12w
test rbx, rbx
je 0x140007b3a
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, dil
mov rcx, qword [rbp + 0x17]
xor rcx, rsp
call fcn.1400793d0
add rsp, 0xa0
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
call fcn.14005e65c
nop
call fcn.14005e65c
int3
Function at 0x14000f300
Capabilities:
Set registry value

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r14
lea rbp, [rsp - 0x37]
sub rsp, 0xa0
mov rax, qword [0x1400bba20]
xor rax, rsp
mov qword [rbp + 0x2f], rax
mov edi, r9d
mov rbx, r8
mov r14, rdx
xor esi, esi
mov r9d, 0x1c5
lea r8, str.c:jenkinsworkspaceClientClientWindows_releasewin_common_srcinstallerIncludePBXProtocolInstaller.cpp
xor edx, edx
lea rcx, [rbp - 0x39]
call fcn.14000b3b8
nop
lea rdx, str.Start_SetRegApp...
lea rcx, [0x1400be210]
call fcn.14001117c
nop
lea rcx, [rbp - 0x39]
call fcn.14000b5e4
mov qword [rbp - 0x31], rsi
mov qword [rbp - 0x21], rsi
mov qword [rbp - 0x19], 7
mov word [rbp - 0x31], si
lea rdx, str.SOFTWARERegisteredApplications
lea rcx, [rbp - 0x31]
call fcn.1400055a4
nop
mov dword [rsp + 0x20], esi
mov r9, rbx
mov r8d, edi
lea rdx, [rbp - 0x31]
call fcn.140010884
mov rbx, rax
mov rdx, qword [rbp - 0x19]
cmp rdx, 8
jb 0x14000f3dd
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x31]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000f3d8
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000f4e0
call fcn.140028090
mov qword [rbp - 0x21], rsi
mov qword [rbp - 0x19], 7
mov word [rbp - 0x31], si
test rbx, rbx
je 0x14000f4c4
mov r8, r14
lea rdx, str.SoftwareClientsZoomPBX_
lea rcx, [rbp + 0xf]
call fcn.14000a380
nop
lea r8, str.Capabilities
mov rdx, rax
lea rcx, [rbp - 0x11]
call fcn.14000a310
nop
lea rcx, [rbp + 0xf]
call fcn.140005628
lea rcx, [rbp - 0x11]
cmp qword [rbp + 7], 8
cmovae rcx, qword [rbp - 0x11]
cmp qword [r14 + 0x18], 8
jb 0x14000f43f
mov r14, qword [r14]
mov eax, dword [rbp - 1]
add eax, eax
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rcx
mov r9d, 1
xor r8d, r8d
mov rdx, r14
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov edi, eax
test eax, eax
je 0x14000f4ad
mov r9d, 0x1d0
lea r8, str.c:jenkinsworkspaceClientClientWindows_releasewin_common_srcinstallerIncludePBXProtocolInstaller.cpp
mov edx, 2
lea rcx, [rbp - 0x39]
call fcn.14000b3b8
nop
lea rdx, str.RegSetValueEx_fail_error_code:
lea rcx, [0x1400be210]
call fcn.14001117c
mov rcx, rax
mov edx, edi
call fcn.140008384
nop
lea rcx, [rbp - 0x39]
call fcn.14000b5e4
jmp 0x14000f4b2
mov esi, 1
lea rcx, [rbp - 0x11]
call fcn.140005628
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
mov rcx, qword [rbp + 0x2f]
xor rcx, rsp
call fcn.1400793d0
add rsp, 0xa0
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret
call fcn.14005e65c
int3
Function at 0x14000f630
Capabilities:
Delete registry value
Query or enumerate registry value

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r14
lea rbp, [rsp - 0x60]
sub rsp, 0x160
mov rax, qword [0x1400bba20]
xor rax, rsp
mov qword [rbp + 0x50], rax
mov rsi, r9
mov r14, r8
mov rbx, rdx
mov edi, dword [rbp + 0xb0]
mov r9d, 0x1fd
lea r8, str.c:jenkinsworkspaceClientClientWindows_releasewin_common_srcinstallerIncludePBXProtocolInstaller.cpp
xor edx, edx
lea rcx, [rsp + 0x30]
call fcn.14000b3b8
nop
lea rdx, str.Start_ClearDefaultProtocolHandler...
lea rcx, [0x1400be210]
call fcn.14001117c
nop
lea rcx, [rsp + 0x30]
call fcn.14000b5e4
mov r8, rbx
lea rdx, str.SoftwareMicrosoftWindowsShellAssociationsUrlAssociations_
lea rcx, [rsp + 0x60]
call fcn.14000a380
nop
lea r8, str.UserChoice
mov rdx, rax
lea rcx, [rsp + 0x40]
call fcn.14000a310
nop
mov dword [rsp + 0x20], 1
mov r9, rsi
mov r8d, edi
mov rdx, rax
call fcn.140010884
mov rbx, rax
lea rcx, [rsp + 0x40]
call fcn.140005628
nop
lea rcx, [rsp + 0x60]
call fcn.140005628
test rbx, rbx
je 0x14000f800
and dword [rsp + 0x30], 0
xor edx, edx
mov r8d, 0xc8
lea rcx, [rbp - 0x80]
call main
mov dword [rsp + 0x38], 0xc6
lea rax, [rsp + 0x38]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x80]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x30]
xor r8d, r8d
lea rdx, str.Progid
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edi, eax
test eax, eax
je 0x14000f785
mov r9d, 0x20e
lea r8, str.c:jenkinsworkspaceClientClientWindows_releasewin_common_srcinstallerIncludePBXProtocolInstaller.cpp
mov edx, 2
lea rcx, [rsp + 0x34]
call fcn.14000b3b8
nop
lea rdx, str.RegQueryValueEx_fail_error_code:
lea rcx, [0x1400be210]
call fcn.14001117c
mov rcx, rax
mov edx, edi
call fcn.140008384
nop
jmp 0x14000f7ed
cmp dword [rsp + 0x30], 1
jne 0x14000f7f7
lea rdx, [rbp - 0x80]
mov rcx, r14
call fcn.140011104
test eax, eax
jne 0x14000f7f7
lea rdx, str.Progid
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov edi, eax
test eax, eax
je 0x14000f7f7
mov r9d, 0x219
lea r8, str.c:jenkinsworkspaceClientClientWindows_releasewin_common_srcinstallerIncludePBXProtocolInstaller.cpp
mov edx, 2
lea rcx, [rsp + 0x34]
call fcn.14000b3b8
nop
lea rdx, str.RegDeleteValue_fail_error_code:
lea rcx, [0x1400be210]
call fcn.14001117c
mov rcx, rax
mov edx, edi
call fcn.140008384
nop
lea rcx, [rsp + 0x34]
call fcn.14000b5e4
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rbp + 0x50]
xor rcx, rsp
call fcn.1400793d0
add rsp, 0x160
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret
Function at 0x14000fc50
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x180]
sub rsp, 0x280
mov rax, qword [0x1400bba20]
xor rax, rsp
mov qword [rbp + 0x170], rax
mov rdi, r8
mov rsi, rdx
mov r14, rcx
mov r12d, 0x208
mov r8d, r12d
xor edx, edx
lea rcx, [rsp + 0x60]
call main
xor r15d, r15d
mov qword [rsp + 0x48], r15
mov qword [rsp + 0x50], r15
mov rdx, rdi
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
test eax, eax
je 0x14000fe8f
lea rax, [rsp + 0x48]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
mov rdx, rdi
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov ebx, eax
test eax, eax
je 0x14000fd32
cmp eax, 2
je 0x14000fe8f
lea r9d, [r12 + 0x6d]
lea r8, str.c:jenkinsworkspaceClientClientWindows_releasewin_common_srcinstallerIncludePBXProtocolInstaller.cpp
lea edx, [r15 + 2]
lea rcx, [rsp + 0x44]
call fcn.14000b3b8
nop
lea rdx, str.RegOpenKeyEx_fail_error_code:
lea rcx, [0x1400be210]
call fcn.14001117c
mov rcx, rax
mov edx, ebx
call fcn.140008384
nop
lea rcx, [rsp + 0x44]
call fcn.14000b5e4
xor eax, eax
jmp 0x14000fe94
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_lstrlenW]
movsxd rcx, eax
lea rbx, [rdi + rcx*2]
mov eax, 0x5c
cmp word [rbx - 2], ax
je 0x14000fded
mov word [rbx], ax
add rbx, 2
mov word [rbx], r15w
jmp 0x14000fded
mov word [rbx], r15w
mov rdx, r12
mov rax, rdi
cmp word [rax], r15w
je 0x14000fd7b
add rax, 2
sub rdx, 1
jne 0x14000fd6b
mov rax, rdx
mov rcx, r12
sub rcx, rdx
neg rax
sbb r8, r8
and r8, rcx
test rdx, rdx
je 0x14000fddb
mov rdx, r12
sub rdx, r8
lea rcx, [rdi + r8*2]
je 0x14000fdcc
mov eax, 0x7ffffffe
lea r8, [rsp + 0x60]
sub r8, rcx
test rax, rax
je 0x14000fdcc
movzx r9d, word [r8 + rcx]
test r9w, r9w
je 0x14000fdcc
mov word [rcx], r9w
add rcx, 2
dec rax
sub rdx, 1
jne 0x14000fdab
lea rax, [rcx - 2]
test rdx, rdx
cmovne rax, rcx
mov word [rax], r15w
mov r8, rdi
mov rdx, rsi
mov rcx, r14
call fcn.14000fc50
test eax, eax
je 0x14000fe2d
lea rax, [rsp + 0x50]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], r15
mov qword [rsp + 0x28], r15
mov qword [rsp + 0x20], r15
mov dword [rsp + 0x40], 0x104
lea r9, [rsp + 0x40]
lea r8, [rsp + 0x60]
xor edx, edx
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
je 0x14000fd61
mov word [rbx - 2], r15w
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rdx, rdi
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov ebx, eax
test eax, eax
je 0x14000fe8f
mov r9d, 0x2a9
lea r8, str.c:jenkinsworkspaceClientClientWindows_releasewin_common_srcinstallerIncludePBXProtocolInstaller.cpp
mov edx, 2
lea rcx, [rsp + 0x44]
call fcn.14000b3b8
nop
lea rdx, str.RegDeleteKey_fail_error_code
lea rcx, [0x1400be210]
call fcn.14001117c
mov rcx, rax
mov edx, ebx
call fcn.140008384
nop
jmp 0x14000fd21
mov eax, 1
mov rcx, qword [rbp + 0x170]
xor rcx, rsp
call fcn.1400793d0
add rsp, 0x280
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
Function at 0x14000feb8
Capabilities:
Delete registry value
Query or enumerate registry value

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x758]
sub rsp, 0x858
mov rax, qword [0x1400bba20]
xor rax, rsp
mov qword [rbp + 0x740], rax
mov rsi, r9
mov r15, r8
mov rbx, rdx
mov r14, rcx
mov edi, dword [rbp + 0x7b0]
and qword [rsp + 0x38], 0
and qword [rsp + 0x40], 0
xor edx, edx
mov r8d, 0x7d0
lea rcx, [rsp + 0x70]
call main
and dword [rsp + 0x30], 0
mov dword [rsp + 0x34], 0x7ce
mov r9d, 0x2b8
lea r8, str.c:jenkinsworkspaceClientClientWindows_releasewin_common_srcinstallerIncludePBXProtocolInstaller.cpp
xor edx, edx
lea rcx, [rsp + 0x48]
call fcn.14000b3b8
nop
lea rdx, str.Start_ResetProtoShellOpenCmd...
lea rcx, [0x1400be210]
call fcn.14001117c
nop
lea rcx, [rsp + 0x48]
call fcn.14000b5e4
mov r8, rbx
lea rdx, str.SoftwareClasses_
lea rcx, [rsp + 0x50]
call fcn.14000a380
nop
and dword [rsp + 0x20], 0
mov r9, rsi
mov r8d, edi
mov rdx, rax
call fcn.140010884
mov rbx, rax
lea rcx, [rsp + 0x50]
call fcn.140005628
test rbx, rbx
je 0x1400100a5
lea rax, [rsp + 0x38]
mov qword [rsp + 0x20], rax
mov esi, 0x2001f
mov r9d, esi
xor r8d, r8d
lea rdx, str.DefaultIcon
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
lea rdi, [0x14009f26c]
test eax, eax
jne 0x140010018
lea rax, [rsp + 0x34]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x70]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x30]
xor r8d, r8d
mov rdx, rdi
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x140010018
cmp dword [rsp + 0x30], 1
jne 0x140010018
lea rdx, [rsp + 0x70]
mov rcx, r14
call fcn.140011104
test eax, eax
jne 0x140010018
mov rdx, rdi
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
mov r9d, esi
xor r8d, r8d
lea rdx, str.shellopencommand
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14001009c
and dword [rsp + 0x30], eax
mov dword [rsp + 0x34], 0x7ce
lea rax, [rsp + 0x34]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x70]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x30]
xor r8d, r8d
mov rdx, rdi
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x14001009c
cmp dword [rsp + 0x30], 1
jne 0x14001009c
lea rdx, [rsp + 0x70]
mov rcx, r15
call fcn.140011104
test eax, eax
jne 0x14001009c
mov rdx, rdi
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x1400100b5
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x1400100c5
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rbp + 0x740]
xor rcx, rsp
call fcn.1400793d0
add rsp, 0x858
pop r15
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret
Function at 0x140010560
Capabilities:
Delete registry value

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r14
mov rbp, rsp
sub rsp, 0x60
mov rax, qword [0x1400bba20]
xor rax, rsp
mov qword [rbp - 8], rax
mov edi, r9d
mov rbx, r8
mov rsi, rdx
mov r9d, 0x315
lea r8, str.c:jenkinsworkspaceClientClientWindows_releasewin_common_srcinstallerIncludePBXProtocolInstaller.cpp
xor edx, edx
lea rcx, [rbp - 0x30]
call fcn.14000b3b8
nop
lea rdx, str.Start_DelRegApp...
lea rcx, [0x1400be210]
call fcn.14001117c
nop
lea rcx, [rbp - 0x30]
call fcn.14000b5e4
xor r14d, r14d
mov qword [rbp - 0x28], r14
mov qword [rbp - 0x18], r14
mov qword [rbp - 0x10], 7
mov word [rbp - 0x28], r14w
lea rdx, str.SoftwareRegisteredApplications
lea rcx, [rbp - 0x28]
call fcn.1400055a4
nop
mov dword [rsp + 0x20], r14d
mov r9, rbx
mov r8d, edi
lea rdx, [rbp - 0x28]
call fcn.140010884
mov rbx, rax
mov rdx, qword [rbp - 0x10]
cmp rdx, 8
jb 0x140010637
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140010632
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140010683
call fcn.140028090
mov qword [rbp - 0x18], r14
mov qword [rbp - 0x10], 7
mov word [rbp - 0x28], r14w
test rbx, rbx
je 0x14001066c
cmp qword [rsi + 0x18], 8
jb 0x140010657
mov rsi, qword [rsi]
mov rdx, rsi
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.1400793d0
add rsp, 0x60
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret
call fcn.14005e65c
int3

Function at 0x1400109c4
Capabilities:
Query or enumerate registry value

Disassembly:
push rbp
push rbx
push rdi
lea rbp, [rsp - 0x720]
sub rsp, 0x820
mov rax, qword [0x1400bba20]
xor rax, rsp
mov qword [rbp + 0x710], rax
cmp dword [rcx + 0xa4], 0
mov rbx, r9
mov rax, r8
mov rdi, rdx
jne 0x140010ad3
neg dword [rbp + 0x768]
sbb r9d, r9d
and qword [rsp + 0x38], 0
and r9d, 0x100
add r9d, 0x20019
cmp qword [r8 + 0x10], 0
je 0x140010a52
cmp qword [r8 + 0x18], 8
jb 0x140010a2c
mov rax, qword [r8]
lea rcx, [rsp + 0x38]
xor r8d, r8d
mov qword [rsp + 0x20], rcx
mov rdx, rax
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x140010ad3
mov rdi, qword [rsp + 0x38]
and dword [rsp + 0x30], 0
lea rcx, [rsp + 0x40]
xor edx, edx
mov r8d, 0x7d0
call main
cmp qword [rbx + 0x18], 8
mov dword [rsp + 0x34], 0x7ce
jb 0x140010a7b
mov rbx, qword [rbx]
lea rax, [rsp + 0x34]
xor r8d, r8d
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x30]
lea rax, [rsp + 0x40]
mov rdx, rbx
mov rcx, rdi
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov rcx, qword [rsp + 0x38]
mov ebx, eax
test rcx, rcx
je 0x140010ab5
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test ebx, ebx
jne 0x140010ad3
cmp dword [rsp + 0x30], 1
jne 0x140010ad3
lea rcx, [rsp + 0x40]
call fcn.14005e824
test rax, rax
je 0x140010ad3
xor eax, eax
jmp 0x140010ad8
mov eax, 1
mov rcx, qword [rbp + 0x710]
xor rcx, rsp
call fcn.1400793d0
add rsp, 0x820
pop rdi
pop rbx
pop rbp
ret