joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140006cf8
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rsi, rdx
mov rbx, rcx
call fcn.140006a80
xor r8d, r8d
xor edx, edx
mov rcx, rsi
call fcn.14005cd04
mov rcx, rsi
call fcn.140053a88
cmp eax, 0xffffffff
jne 0x140006d4d
mov rcx, rsi
call fcn.140053488
test eax, eax
je 0x140006d4d
mov edx, 5
mov rcx, rbx
xor r9d, r9d
xor r8d, r8d
call fcn.140006dd8
jmp 0x140006dc5
xor edx, edx
mov rcx, rsi
lea r8d, [rdx + 2]
call fcn.14005cd04
mov rcx, rsi
call fcn.1400573b0
xor r8d, r8d
xor edx, edx
mov rcx, rsi
mov rdi, rax
call fcn.14005cd04
cmp rdi, 0xffffffffffffffff
jae 0x140006d38
test rdi, rdi
jne 0x140006d83
lea edx, [rdi + 0xd]
jmp 0x140006d3d
lea rcx, [rdi + 1]
call fcn.140072368
mov r9, rsi
mov qword [rbx + 0x98], rax
mov r8, rdi
mov edx, 1
mov rcx, rax
call fcn.140057650
mov rcx, rbx
cmp rax, rdi
je 0x140006db5
mov edx, 5
jmp 0x140006d40
mov rax, qword [rbx + 0x98]
mov byte [rdi + rax], 0
call fcn.140006ed4
mov eax, dword [rbx + 0x6c]
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret

Function at 0x1400087dc
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 0x140008858
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 0x140008868
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 0x1400088db
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, [0x140094098]
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 0x1400088e4
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 0x140008936
mov rcx, qword [rsp + 0x50]
lea rdx, [0x140094098]
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 0x14000d1f8
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 [0x1400afa38]
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.14000e98c
nop
cmp qword [r14 + 0x10], r12
jne 0x14000d263
mov rdi, 0xffffffff80000001
jmp 0x14000d30a
mov rdi, 0xffffffff80000003
mov rdx, r14
lea rcx, [rbp - 0x29]
call fcn.14000dc88
lea rcx, [0x140094940]
call fcn.140052744
mov r8, rax
lea rdx, [0x140094940]
lea rcx, [rbp - 0x29]
call fcn.14000f52c
mov qword [rbp - 9], r12
mov qword [rbp + 7], r12
mov qword [rbp + 0xf], r12
mov rdx, r15
lea rcx, [rbp - 9]
call fcn.14000e98c
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.14000f52c
nop
mov rdx, qword [rbp + 0xf]
cmp rdx, 8
jb 0x14000d30a
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 9]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000d305
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000d3f9
call fcn.14002a510
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 0x14000d344
mov edi, r12d
mov rbx, qword [rbp - 0x49]
test edi, edi
jne 0x14000d373
cmp qword [rsi + 0x18], 8
jb 0x14000d352
mov rsi, qword [rsi]
mov rdx, rsi
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov edi, eax
test rbx, rbx
je 0x14000d371
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 0x14000d3b3
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x29]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000d3ae
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000d3f3
call fcn.14002a510
mov qword [rbp - 0x19], r12
mov qword [rbp - 0x11], 7
mov word [rbp - 0x29], r12w
test rbx, rbx
je 0x14000d3d2
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, dil
mov rcx, qword [rbp + 0x17]
xor rcx, rsp
call fcn.140072030
add rsp, 0xa0
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
call fcn.140052fa0
nop
call fcn.140052fa0
int3
Function at 0x140014aac
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 [0x1400afa38]
xor rax, rsp
mov qword [rbp + 0x2f], rax
mov edi, r9d
mov rbx, r8
mov r14, rdx
xor esi, esi
mov r9d, 0x1b4
lea r8, str.c:jenkinsworkspaceClientClientWindows_release_64client_srcinstallwindowsIncludePBXProtocolInstaller.cpp
xor edx, edx
lea rcx, [rbp - 0x39]
call fcn.140010d78
nop
lea rdx, str.Start_SetRegApp...
lea rcx, [0x1400b21c0]
call fcn.140016720
nop
lea rcx, [rbp - 0x39]
call fcn.140010fa4
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.14000e910
nop
mov dword [rsp + 0x20], esi
mov r9, rbx
mov r8d, edi
lea rdx, [rbp - 0x31]
call fcn.140016080
mov rbx, rax
mov rdx, qword [rbp - 0x19]
cmp rdx, 8
jb 0x140014b89
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x31]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140014b84
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140014c8c
call fcn.14002a510
mov qword [rbp - 0x21], rsi
mov qword [rbp - 0x19], 7
mov word [rbp - 0x31], si
test rbx, rbx
je 0x140014c70
mov r8, r14
lea rdx, str.SoftwareClientsZoomPBX_
lea rcx, [rbp + 0xf]
call fcn.14000fa70
nop
lea r8, str.Capabilities
mov rdx, rax
lea rcx, [rbp - 0x11]
call fcn.14000fa00
nop
lea rcx, [rbp + 0xf]
call fcn.14000e8ac
lea rcx, [rbp - 0x11]
cmp qword [rbp + 7], 8
cmovae rcx, qword [rbp - 0x11]
cmp qword [r14 + 0x18], 8
jb 0x140014beb
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 0x140014c59
mov r9d, 0x1bf
lea r8, str.c:jenkinsworkspaceClientClientWindows_release_64client_srcinstallwindowsIncludePBXProtocolInstaller.cpp
mov edx, 2
lea rcx, [rbp - 0x39]
call fcn.140010d78
nop
lea rdx, str.RegSetValueEx_fail_error_code:
lea rcx, [0x1400b21c0]
call fcn.140016720
mov rcx, rax
mov edx, edi
call fcn.14000d8d0
nop
lea rcx, [rbp - 0x39]
call fcn.140010fa4
jmp 0x140014c5e
mov esi, 1
lea rcx, [rbp - 0x11]
call fcn.14000e8ac
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
mov rcx, qword [rbp + 0x2f]
xor rcx, rsp
call fcn.140072030
add rsp, 0xa0
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret
call fcn.140052fa0
int3
Function at 0x140014ddc
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 [0x1400afa38]
xor rax, rsp
mov qword [rbp + 0x50], rax
mov rsi, r9
mov r14, r8
mov rbx, rdx
mov edi, dword [rbp + 0xb0]
mov r9d, 0x1ec
lea r8, str.c:jenkinsworkspaceClientClientWindows_release_64client_srcinstallwindowsIncludePBXProtocolInstaller.cpp
xor edx, edx
lea rcx, [rsp + 0x30]
call fcn.140010d78
nop
lea rdx, str.Start_ClearDefaultProtocolHandler...
lea rcx, [0x1400b21c0]
call fcn.140016720
nop
lea rcx, [rsp + 0x30]
call fcn.140010fa4
mov r8, rbx
lea rdx, str.SoftwareMicrosoftWindowsShellAssociationsUrlAssociations_
lea rcx, [rsp + 0x60]
call fcn.14000fa70
nop
lea r8, str.UserChoice
mov rdx, rax
lea rcx, [rsp + 0x40]
call fcn.14000fa00
nop
mov dword [rsp + 0x20], 1
mov r9, rsi
mov r8d, edi
mov rdx, rax
call fcn.140016080
mov rbx, rax
lea rcx, [rsp + 0x40]
call fcn.14000e8ac
nop
lea rcx, [rsp + 0x60]
call fcn.14000e8ac
test rbx, rbx
je 0x140014fac
and dword [rsp + 0x30], 0
xor edx, edx
mov r8d, 0xc8
lea rcx, [rbp - 0x80]
call fcn.140076b90
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 0x140014f31
mov r9d, 0x1fd
lea r8, str.c:jenkinsworkspaceClientClientWindows_release_64client_srcinstallwindowsIncludePBXProtocolInstaller.cpp
mov edx, 2
lea rcx, [rsp + 0x34]
call fcn.140010d78
nop
lea rdx, str.RegQueryValueEx_fail_error_code:
lea rcx, [0x1400b21c0]
call fcn.140016720
mov rcx, rax
mov edx, edi
call fcn.14000d8d0
nop
jmp 0x140014f99
cmp dword [rsp + 0x30], 1
jne 0x140014fa3
lea rdx, [rbp - 0x80]
mov rcx, r14
call fcn.1400166a8
test eax, eax
jne 0x140014fa3
lea rdx, str.Progid
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov edi, eax
test eax, eax
je 0x140014fa3
mov r9d, 0x208
lea r8, str.c:jenkinsworkspaceClientClientWindows_release_64client_srcinstallwindowsIncludePBXProtocolInstaller.cpp
mov edx, 2
lea rcx, [rsp + 0x34]
call fcn.140010d78
nop
lea rdx, str.RegDeleteValue_fail_error_code:
lea rcx, [0x1400b21c0]
call fcn.140016720
mov rcx, rax
mov edx, edi
call fcn.14000d8d0
nop
lea rcx, [rsp + 0x34]
call fcn.140010fa4
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rbp + 0x50]
xor rcx, rsp
call fcn.140072030
add rsp, 0x160
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret
Function at 0x1400153fc
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 [0x1400afa38]
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 fcn.140076b90
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 0x14001563b
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 0x1400154de
cmp eax, 2
je 0x14001563b
lea r9d, [r12 + 0x5c]
lea r8, str.c:jenkinsworkspaceClientClientWindows_release_64client_srcinstallwindowsIncludePBXProtocolInstaller.cpp
lea edx, [r15 + 2]
lea rcx, [rsp + 0x44]
call fcn.140010d78
nop
lea rdx, str.RegOpenKeyEx_fail_error_code:
lea rcx, [0x1400b21c0]
call fcn.140016720
mov rcx, rax
mov edx, ebx
call fcn.14000d8d0
nop
lea rcx, [rsp + 0x44]
call fcn.140010fa4
xor eax, eax
jmp 0x140015640
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 0x140015599
mov word [rbx], ax
add rbx, 2
mov word [rbx], r15w
jmp 0x140015599
mov word [rbx], r15w
mov rdx, r12
mov rax, rdi
cmp word [rax], r15w
je 0x140015527
add rax, 2
sub rdx, 1
jne 0x140015517
mov rax, rdx
mov rcx, r12
sub rcx, rdx
neg rax
sbb r8, r8
and r8, rcx
test rdx, rdx
je 0x140015587
mov rdx, r12
sub rdx, r8
lea rcx, [rdi + r8*2]
je 0x140015578
mov eax, 0x7ffffffe
lea r8, [rsp + 0x60]
sub r8, rcx
test rax, rax
je 0x140015578
movzx r9d, word [r8 + rcx]
test r9w, r9w
je 0x140015578
mov word [rcx], r9w
add rcx, 2
dec rax
sub rdx, 1
jne 0x140015557
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.1400153fc
test eax, eax
je 0x1400155d9
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 0x14001550d
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 0x14001563b
mov r9d, 0x298
lea r8, str.c:jenkinsworkspaceClientClientWindows_release_64client_srcinstallwindowsIncludePBXProtocolInstaller.cpp
mov edx, 2
lea rcx, [rsp + 0x44]
call fcn.140010d78
nop
lea rdx, str.RegDeleteKey_fail_error_code
lea rcx, [0x1400b21c0]
call fcn.140016720
mov rcx, rax
mov edx, ebx
call fcn.14000d8d0
nop
jmp 0x1400154cd
mov eax, 1
mov rcx, qword [rbp + 0x170]
xor rcx, rsp
call fcn.140072030
add rsp, 0x280
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
Function at 0x140015664
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 [0x1400afa38]
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 fcn.140076b90
and dword [rsp + 0x30], 0
mov dword [rsp + 0x34], 0x7ce
mov r9d, 0x2a7
lea r8, str.c:jenkinsworkspaceClientClientWindows_release_64client_srcinstallwindowsIncludePBXProtocolInstaller.cpp
xor edx, edx
lea rcx, [rsp + 0x48]
call fcn.140010d78
nop
lea rdx, str.Start_ResetProtoShellOpenCmd...
lea rcx, [0x1400b21c0]
call fcn.140016720
nop
lea rcx, [rsp + 0x48]
call fcn.140010fa4
mov r8, rbx
lea rdx, str.SoftwareClasses_
lea rcx, [rsp + 0x50]
call fcn.14000fa70
nop
and dword [rsp + 0x20], 0
mov r9, rsi
mov r8d, edi
mov rdx, rax
call fcn.140016080
mov rbx, rax
lea rcx, [rsp + 0x50]
call fcn.14000e8ac
test rbx, rbx
je 0x140015851
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, [0x1400956f4]
test eax, eax
jne 0x1400157c4
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 0x1400157c4
cmp dword [rsp + 0x30], 1
jne 0x1400157c4
lea rdx, [rsp + 0x70]
mov rcx, r14
call fcn.1400166a8
test eax, eax
jne 0x1400157c4
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 0x140015848
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 0x140015848
cmp dword [rsp + 0x30], 1
jne 0x140015848
lea rdx, [rsp + 0x70]
mov rcx, r15
call fcn.1400166a8
test eax, eax
jne 0x140015848
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 0x140015861
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x140015871
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rbp + 0x740]
xor rcx, rsp
call fcn.140072030
add rsp, 0x858
pop r15
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret
Function at 0x140015d5c
Capabilities:
Delete registry value

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r14
mov rbp, rsp
sub rsp, 0x60
mov rax, qword [0x1400afa38]
xor rax, rsp
mov qword [rbp - 8], rax
mov edi, r9d
mov rbx, r8
mov rsi, rdx
mov r9d, 0x304
lea r8, str.c:jenkinsworkspaceClientClientWindows_release_64client_srcinstallwindowsIncludePBXProtocolInstaller.cpp
xor edx, edx
lea rcx, [rbp - 0x30]
call fcn.140010d78
nop
lea rdx, str.Start_DelRegApp...
lea rcx, [0x1400b21c0]
call fcn.140016720
nop
lea rcx, [rbp - 0x30]
call fcn.140010fa4
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.14000e910
nop
mov dword [rsp + 0x20], r14d
mov r9, rbx
mov r8d, edi
lea rdx, [rbp - 0x28]
call fcn.140016080
mov rbx, rax
mov rdx, qword [rbp - 0x10]
cmp rdx, 8
jb 0x140015e33
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140015e2e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140015e7f
call fcn.14002a510
mov qword [rbp - 0x18], r14
mov qword [rbp - 0x10], 7
mov word [rbp - 0x28], r14w
test rbx, rbx
je 0x140015e68
cmp qword [rsi + 0x18], 8
jb 0x140015e53
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.140072030
add rsp, 0x60
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret
call fcn.140052fa0
int3

Function at 0x1400161c0
Capabilities:
Query or enumerate registry value

Disassembly:
push rbp
push rbx
push rdi
lea rbp, [rsp - 0x720]
sub rsp, 0x820
mov rax, qword [0x1400afa38]
xor rax, rsp
mov qword [rbp + 0x710], rax
cmp dword [rcx + 0xa4], 0
mov rbx, r9
mov rax, r8
mov rdi, rdx
jne 0x1400162cf
neg dword [rbp + 0x768]
sbb r9d, r9d
and qword [rsp + 0x38], 0
and r9d, 0x100
add r9d, 0x20019
cmp qword [r8 + 0x10], 0
je 0x14001624e
cmp qword [r8 + 0x18], 8
jb 0x140016228
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 0x1400162cf
mov rdi, qword [rsp + 0x38]
and dword [rsp + 0x30], 0
lea rcx, [rsp + 0x40]
xor edx, edx
mov r8d, 0x7d0
call fcn.140076b90
cmp qword [rbx + 0x18], 8
mov dword [rsp + 0x34], 0x7ce
jb 0x140016277
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 0x1400162b1
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test ebx, ebx
jne 0x1400162cf
cmp dword [rsp + 0x30], 1
jne 0x1400162cf
lea rcx, [rsp + 0x40]
call fcn.140052744
test rax, rax
je 0x1400162cf
xor eax, eax
jmp 0x1400162d4
mov eax, 1
mov rcx, qword [rbp + 0x710]
xor rcx, rsp
call fcn.140072030
add rsp, 0x820
pop rdi
pop rbx
pop rbp
ret
Function at 0x140016f14
Capabilities:
Query or enumerate registry value

Disassembly:
mov rax, rsp
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rdi
mov dword [rax + 0x10], edx
mov qword [rax + 8], rcx
push rbp
mov rbp, rsp
sub rsp, 0x40
and qword [rbp + 0x10], 0
lea rax, [rbp + 0x10]
and qword [rbp - 0x10], 0
lea rdx, [0x140095fd8]
mov ebx, r9d
mov qword [rsp + 0x20], rax
mov rdi, r8
mov r9d, 0x20019
xor r8d, r8d
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x14001700d
mov rcx, qword [rbp + 0x10]
lea rax, [rbp - 0x10]
mov r9d, 0x20019
mov qword [rsp + 0x20], rax
xor r8d, r8d
lea rdx, [0x140096010]
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x140016fef
and dword [rbp + 0x30], eax
lea r9, [rbp + 0x30]
mov rcx, qword [rbp - 0x10]
lea rax, [rbp + 0x18]
mov qword [rsp + 0x28], rax
lea rdx, [0x140096018]
xor r8d, r8d
mov qword [rsp + 0x20], rdi
mov dword [rbp + 0x18], ebx
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x140016fef
mov eax, dword [rbp + 0x30]
dec eax
cmp eax, 1
ja 0x140016fef
mov rcx, qword [rbp + 0x10]
test rcx, rcx
je 0x140016fdc
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rbp - 0x10]
test rcx, rcx
je 0x140016feb
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, 1
jmp 0x14001700f
mov rcx, qword [rbp + 0x10]
test rcx, rcx
je 0x140016ffe
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rbp - 0x10]
test rcx, rcx
je 0x14001700d
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor al, al
mov rbx, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x40
pop rbp
ret
Function at 0x140017020
Capabilities:
Create directory
Print debug messages

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x50
mov rdi, r8
mov rsi, rcx
cmp qword [r8], 0
je 0x140017166
cmp qword [rcx], 0
jne 0x140017068
mov ecx, 0x40
call fcn.14007232c
mov qword [rsp + 0x70], rax
mov rcx, rax
call fcn.140002ed0
mov qword [rsi], rax
test rax, rax
je 0x140017166
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x30], xmm0
and qword [rsp + 0x40], 0
cmp byte [rdi + 0xd], 0
jne 0x1400170cc
mov r9d, dword [rdi + 8]
mov r8, qword [rdi]
call fcn.140016f14
test al, al
je 0x1400170cc
lea r9, [rsp + 0x30]
lea r8, [0x140094373]
mov rdx, qword [rdi]
mov rcx, qword [rsi]
call fcn.140003478
test eax, eax
je 0x1400170cc
mov rbx, qword [rsp + 0x30]
cmp rbx, qword [rsp + 0x38]
je 0x1400170cc
lea rcx, str._CPluginImpHelper::GetInstallPath__Get_Install_Path:
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov rcx, qword [rdi]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
jmp 0x14001710f
lea rdx, [rsp + 0x30]
mov rcx, qword [rsi]
call fcn.14000383c
mov rbx, qword [rsp + 0x30]
test eax, eax
je 0x1400170e9
cmp rbx, qword [rsp + 0x38]
jne 0x1400170ee
xor dil, dil
jmp 0x140017112
lea r8, [rbx + 8]
movsxd rdx, dword [rdi + 8]
mov rcx, qword [rdi]
call fcn.140052c94
cmp byte [rdi + 0xc], 0
je 0x14001710f
xor edx, edx
mov rcx, qword [rdi]
call qword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov dil, 1
test rbx, rbx
je 0x140017161
mov rax, qword [rsp + 0x40]
sub rax, rbx
sar rax, 4
movabs rcx, 0xf0f0f0f0f0f0f0f1
imul rax, rcx
imul rdx, rax, 0x110
mov rax, rbx
cmp rdx, 0x1000
jb 0x140017159
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140017178
mov rcx, rbx
call fcn.14002a510
mov al, dil
jmp 0x140017168
xor al, al
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
add rsp, 0x50
pop rdi
ret
call fcn.140052fa0
int3