joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140002f3c
Capabilities:
Create directory

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x140
mov rax, qword [0x1400b7a38]
xor rax, rsp
mov qword [rsp + 0x130], rax
mov rbx, r8
mov rdi, rdx
test rdx, rdx
je 0x140002fde
test rbx, rbx
je 0x140002fde
xor edx, edx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CreateDirectoryA]
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x105
call fcn.14007c680
mov r8, rdi
lea rcx, [rsp + 0x20]
mov edi, 0x104
mov edx, edi
call fcn.14005896c
mov r8, rbx
lea rcx, [rsp + 0x20]
mov edx, edi
call fcn.14005896c
xor edx, edx
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
jne 0x140002fc9
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x140002fde
lea rcx, [rsp + 0x20]
call fcn.140003ce4
test eax, eax
je 0x140002fde
mov eax, 1
jmp 0x140002fe0
xor eax, eax
mov rcx, qword [rsp + 0x130]
xor rcx, rsp
call fcn.140077b20
mov rbx, qword [rsp + 0x150]
add rsp, 0x140
pop rdi
ret
Function at 0x140003180
Capabilities:
Create directory
Get common file path

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rdi
push r13
push r14
push r15
sub rsp, 0x390
mov rax, qword [0x1400b7a38]
xor rax, rsp
mov qword [rsp + 0x380], rax
and qword [r8], 0
mov r15b, r9b
movsxd rbx, edx
mov rdi, r8
mov r14, rcx
cmp ebx, 6
ja 0x1400033a7
mov rax, qword [rcx + rbx*8]
mov rbp, rbx
test rax, rax
je 0x1400031d5
mov qword [r8], rax
xor eax, eax
jmp 0x1400033ac
mov r13d, 0x400
mov ecx, r13d
call fcn.140077e58
mov r8d, r13d
mov qword [rdi], rax
xor edx, edx
mov rcx, rax
call fcn.14007c680
test ebx, ebx
je 0x140003365
sub ebx, 1
je 0x14000335d
sub ebx, 1
je 0x140003355
sub ebx, 1
je 0x14000333e
sub ebx, 1
je 0x140003336
sub ebx, 1
je 0x140003236
cmp ebx, 1
jne 0x140003398
lea r8d, [rbx + 0x29]
jmp 0x14000336b
mov ebx, 0x104
lea rcx, [rsp + 0x50]
mov r8d, ebx
xor edx, edx
call fcn.14007c680
mov r8d, ebx
lea rdx, [rsp + 0x50]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
je 0x140003398
mov r8d, ebx
lea rcx, [rsp + 0x160]
xor edx, edx
call fcn.14007c680
mov r8d, ebx
lea rcx, [rsp + 0x270]
xor edx, edx
call fcn.14007c680
and qword [rsp + 0x40], 0
lea r9, [rsp + 0x270]
and qword [rsp + 0x38], 0
lea rdx, [rsp + 0x160]
and qword [rsp + 0x30], 0
lea rcx, [rsp + 0x50]
and qword [rsp + 0x28], 0
mov r8d, ebx
mov qword [rsp + 0x20], rbx
call fcn.140058f60
mov rcx, qword [rdi]
lea r8, [rsp + 0x160]
mov rdx, r13
call fcn.14005896c
mov rcx, qword [rdi]
lea r8, [rsp + 0x270]
mov rdx, r13
call fcn.14005896c
cmp dword [r14 + 0x38], 1
lea rax, [0x14009a070]
mov rcx, qword [rdi]
lea r8, str.RoomConnector
cmovne r8, rax
mov rdx, r13
call fcn.14005896c
test r15b, r15b
je 0x140003318
mov rcx, qword [rdi]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov rcx, qword [rdi]
lea r8, [0x14009a058]
mov rdx, r13
call fcn.14005896c
mov rax, qword [rdi]
mov qword [r14 + rbp*8], rax
jmp 0x1400031ce
mov r8d, 0x20
jmp 0x14000336b
mov rdx, qword [rdi]
mov ecx, 0x103
call qword [sym.imp.KERNEL32.dll_GetTempPathA]
xor ebx, ebx
test eax, eax
setne bl
jmp 0x140003390
mov r8d, 0x26
jmp 0x14000336b
mov r8d, 0x1c
jmp 0x14000336b
mov r8d, 0x1a
mov rdx, qword [rdi]
mov r9d, 1
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
mov rcx, qword [rdi]
lea r8, [0x14009a058]
mov rdx, r13
mov ebx, eax
call fcn.14005896c
test ebx, ebx
jne 0x1400032e6
mov rcx, qword [rdi]
call fcn.14002ae70
mov eax, 3
jmp 0x1400033ac
mov eax, 1
mov rcx, qword [rsp + 0x380]
xor rcx, rsp
call fcn.140077b20
mov rbx, qword [rsp + 0x3d8]
add rsp, 0x390
pop r15
pop r14
pop r13
pop rdi
pop rbp
ret
Function at 0x1400033d4
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x430
mov rax, qword [0x1400b7a38]
xor rax, rsp
mov qword [rsp + 0x420], rax
mov rbx, rdx
mov rdi, rcx
test rcx, rcx
je 0x140003462
test rdx, rdx
je 0x140003462
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x400
call fcn.14007c680
mov r8, rdi
lea rcx, [rsp + 0x20]
mov edi, 0x3ff
mov edx, edi
call fcn.14005890c
lea r8, [0x14009a058]
mov edx, edi
lea rcx, [rsp + 0x20]
call fcn.14005896c
mov r8, rbx
lea rcx, [rsp + 0x20]
mov edx, edi
call fcn.14005896c
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x140003462
mov eax, 1
jmp 0x140003464
xor eax, eax
mov rcx, qword [rsp + 0x420]
xor rcx, rsp
call fcn.140077b20
mov rbx, qword [rsp + 0x450]
add rsp, 0x430
pop rdi
ret
Function at 0x140003ce4
Capabilities:
Check if file exists
Delete file
Print debug messages

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
lea rbp, [rsp - 0x80]
sub rsp, 0x180
mov rax, qword [0x1400b7a38]
xor rax, rsp
mov qword [rbp + 0x70], rax
xor ebx, ebx
mov rdi, rcx
test rcx, rcx
je 0x140003dfb
lea rcx, str._ProductPathHelper::RecursiveRemoveDirA__Path_is:
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
lea rcx, [0x14009a204]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
xor edx, edx
lea rcx, [rsp + 0x60]
mov r8d, 0x105
call fcn.14007c680
mov esi, 0x104
lea rcx, [rsp + 0x60]
mov edx, esi
mov r8, rdi
call fcn.14005890c
mov edx, esi
mov rcx, rdi
call fcn.14005826c
cmp rax, rsi
jae 0x140003dfb
mov byte [rsp + rax + 0x60], bl
inc rax
cmp rax, 0x105
jae 0x140003e22
mov byte [rsp + rax + 0x60], bl
lea rcx, [rsp + 0x20]
xor eax, eax
xorps xmm0, xmm0
mov qword [rsp + 0x50], rax
lea rax, [rsp + 0x60]
movups xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x30], rax
mov eax, 0x414
movups xmmword [rsp + 0x20], xmm0
mov dword [rsp + 0x28], 3
movups xmmword [rsp + 0x40], xmm0
mov word [rsp + 0x40], ax
call qword [sym.imp.SHELL32.dll_SHFileOperationA]
mov esi, eax
cmp dword [rsp + 0x44], ebx
jne 0x140003dfb
mov rcx, rdi
call qword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
jne 0x140003dfb
test esi, 0xfffffbfd
jne 0x140003df7
cmp esi, 0x400
je 0x140003df7
lea ebx, [rax + 1]
mov eax, ebx
jmp 0x140003dfd
xor eax, eax
mov rcx, qword [rbp + 0x70]
xor rcx, rsp
call fcn.140077b20
lea r11, [rsp + 0x180]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
call fcn.140077c54
int3

Function at 0x140003e28
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x440
mov rax, qword [0x1400b7a38]
xor rax, rsp
mov qword [rsp + 0x430], rax
mov rsi, rcx
test rcx, rcx
je 0x140003ee4
mov ebp, 0x400
lea rcx, [rsp + 0x30]
mov r8d, ebp
xor edx, edx
call fcn.14007c680
xor ebx, ebx
lea rdi, [0x14009a218]
mov edx, dword [rdi]
lea rax, [rsp + 0x30]
xor r9d, r9d
mov qword [rsp + 0x20], rax
xor r8d, r8d
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderPathA]
test eax, eax
js 0x140003ed9
mov rdx, rbp
lea rcx, [rsp + 0x30]
call fcn.14005826c
test rax, 0xfffffffffffffbff
je 0x140003ed9
cmp byte [rsp + rax + 0x2f], 0x5c
jne 0x140003ec5
lea rcx, [rax - 1]
mov rax, rcx
cmp rcx, rbp
jae 0x140003f16
mov byte [rsp + rcx + 0x30], 0
mov r8, rax
lea rdx, [rsp + 0x30]
mov rcx, rsi
call fcn.14005880c
test eax, eax
je 0x140003f0f
inc ebx
add rdi, 4
cmp ebx, 2
jb 0x140003e7a
xor eax, eax
mov rcx, qword [rsp + 0x430]
xor rcx, rsp
call fcn.140077b20
lea r11, [rsp + 0x440]
mov rbx, qword [r11 + 0x18]
mov rbp, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
mov eax, 1
jmp 0x140003ee6
call fcn.140077c54
int3
Function at 0x140004614
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x240
mov rax, qword [0x1400b7a38]
xor rax, rsp
mov qword [rsp + 0x230], rax
xor edx, edx
lea rcx, [0x14009a390]
mov r8d, 0x800
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
xor esi, esi
mov rdi, rax
test rax, rax
jne 0x1400046aa
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x208
call fcn.14007c680
mov edx, 0x104
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
je 0x1400046d2
cmp word [rsp + 0x20], si
je 0x1400046d2
lea rcx, [rsp + 0x20]
call fcn.140004520
mov rbx, rax
test rax, rax
je 0x1400046d2
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rcx, rbx
mov rdi, rax
call fcn.1400044d8
mov rax, rdi
mov rcx, qword [rsp + 0x230]
xor rcx, rsp
call fcn.140077b20
lea r11, [rsp + 0x240]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret
xor eax, eax
jmp 0x1400046ad

Function at 0x140004848
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
and qword [rcx + 8], 0
lea rax, vtable.zoom_windows_util::AutoLockFile.0
mov qword [rcx], rax
mov rdi, rdx
mov rbx, rcx
test rdx, rdx
je 0x1400048a9
mov rcx, rdx
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x1400048a9
and qword [rsp + 0x30], 0
xor r9d, r9d
mov dword [rsp + 0x28], 0x80
mov edx, 0x80000000
mov rcx, rdi
mov dword [rsp + 0x20], 3
lea r8d, [r9 + 1]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov qword [rbx + 8], rax
mov rax, rbx
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret

Function at 0x140005408
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 0x140005484
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 0x140005494
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 0x140005507
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, [0x14009a0f8]
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 0x140005510
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 0x140005562
mov rcx, qword [rsp + 0x50]
lea rdx, [0x14009a0f8]
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 0x14000ad70
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 [0x1400b7a38]
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.14000c6ec
nop
cmp qword [r14 + 0x10], r12
jne 0x14000addb
mov rdi, 0xffffffff80000001
jmp 0x14000ae82
mov rdi, 0xffffffff80000003
mov rdx, r14
lea rcx, [rbp - 0x29]
call fcn.140008b20
lea rcx, [0x14009a660]
call fcn.1400583bc
mov r8, rax
lea rdx, [0x14009a660]
lea rcx, [rbp - 0x29]
call fcn.140008aac
mov qword [rbp - 9], r12
mov qword [rbp + 7], r12
mov qword [rbp + 0xf], r12
mov rdx, r15
lea rcx, [rbp - 9]
call fcn.14000c6ec
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.140008aac
nop
mov rdx, qword [rbp + 0xf]
cmp rdx, 8
jb 0x14000ae82
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 9]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000ae7d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000af71
call fcn.14002ae70
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 0x14000aebc
mov edi, r12d
mov rbx, qword [rbp - 0x49]
test edi, edi
jne 0x14000aeeb
cmp qword [rsi + 0x18], 8
jb 0x14000aeca
mov rsi, qword [rsi]
mov rdx, rsi
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov edi, eax
test rbx, rbx
je 0x14000aee9
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 0x14000af2b
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x29]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000af26
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000af6b
call fcn.14002ae70
mov qword [rbp - 0x19], r12
mov qword [rbp - 0x11], 7
mov word [rbp - 0x29], r12w
test rbx, rbx
je 0x14000af4a
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, dil
mov rcx, qword [rbp + 0x17]
xor rcx, rsp
call fcn.140077b20
add rsp, 0xa0
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
call fcn.140058c18
nop
call fcn.140058c18
int3
Function at 0x140012610
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 [0x1400b7a38]
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_releaseclient_srcinstallwindowsIncludePBXProtocolInstaller.cpp
xor edx, edx
lea rcx, [rbp - 0x39]
call fcn.14000e798
nop
lea rdx, str.Start_SetRegApp...
lea rcx, [0x1400ba1e0]
call fcn.14001448c
nop
lea rcx, [rbp - 0x39]
call fcn.14000e9c4
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.1400089c4
nop
mov dword [rsp + 0x20], esi
mov r9, rbx
mov r8d, edi
lea rdx, [rbp - 0x31]
call fcn.140013b94
mov rbx, rax
mov rdx, qword [rbp - 0x19]
cmp rdx, 8
jb 0x1400126ed
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x31]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400126e8
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400127f0
call fcn.14002ae70
mov qword [rbp - 0x21], rsi
mov qword [rbp - 0x19], 7
mov word [rbp - 0x31], si
test rbx, rbx
je 0x1400127d4
mov r8, r14
lea rdx, str.SoftwareClientsZoomPBX_
lea rcx, [rbp + 0xf]
call fcn.14000d760
nop
lea r8, str.Capabilities
mov rdx, rax
lea rcx, [rbp - 0x11]
call fcn.14000d6f0
nop
lea rcx, [rbp + 0xf]
call fcn.140008a48
lea rcx, [rbp - 0x11]
cmp qword [rbp + 7], 8
cmovae rcx, qword [rbp - 0x11]
cmp qword [r14 + 0x18], 8
jb 0x14001274f
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 0x1400127bd
mov r9d, 0x1d0
lea r8, str.c:jenkinsworkspaceClientClientWindows_releaseclient_srcinstallwindowsIncludePBXProtocolInstaller.cpp
mov edx, 2
lea rcx, [rbp - 0x39]
call fcn.14000e798
nop
lea rdx, str.RegSetValueEx_fail_error_code:
lea rcx, [0x1400ba1e0]
call fcn.14001448c
mov rcx, rax
mov edx, edi
call fcn.14000b794
nop
lea rcx, [rbp - 0x39]
call fcn.14000e9c4
jmp 0x1400127c2
mov esi, 1
lea rcx, [rbp - 0x11]
call fcn.140008a48
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
mov rcx, qword [rbp + 0x2f]
xor rcx, rsp
call fcn.140077b20
add rsp, 0xa0
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret
call fcn.140058c18
int3
Function at 0x140012940
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 [0x1400b7a38]
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_releaseclient_srcinstallwindowsIncludePBXProtocolInstaller.cpp
xor edx, edx
lea rcx, [rsp + 0x30]
call fcn.14000e798
nop
lea rdx, str.Start_ClearDefaultProtocolHandler...
lea rcx, [0x1400ba1e0]
call fcn.14001448c
nop
lea rcx, [rsp + 0x30]
call fcn.14000e9c4
mov r8, rbx
lea rdx, str.SoftwareMicrosoftWindowsShellAssociationsUrlAssociations_
lea rcx, [rsp + 0x60]
call fcn.14000d760
nop
lea r8, str.UserChoice
mov rdx, rax
lea rcx, [rsp + 0x40]
call fcn.14000d6f0
nop
mov dword [rsp + 0x20], 1
mov r9, rsi
mov r8d, edi
mov rdx, rax
call fcn.140013b94
mov rbx, rax
lea rcx, [rsp + 0x40]
call fcn.140008a48
nop
lea rcx, [rsp + 0x60]
call fcn.140008a48
test rbx, rbx
je 0x140012b10
and dword [rsp + 0x30], 0
xor edx, edx
mov r8d, 0xc8
lea rcx, [rbp - 0x80]
call fcn.14007c680
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 0x140012a95
mov r9d, 0x20e
lea r8, str.c:jenkinsworkspaceClientClientWindows_releaseclient_srcinstallwindowsIncludePBXProtocolInstaller.cpp
mov edx, 2
lea rcx, [rsp + 0x34]
call fcn.14000e798
nop
lea rdx, str.RegQueryValueEx_fail_error_code:
lea rcx, [0x1400ba1e0]
call fcn.14001448c
mov rcx, rax
mov edx, edi
call fcn.14000b794
nop
jmp 0x140012afd
cmp dword [rsp + 0x30], 1
jne 0x140012b07
lea rdx, [rbp - 0x80]
mov rcx, r14
call fcn.140014414
test eax, eax
jne 0x140012b07
lea rdx, str.Progid
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov edi, eax
test eax, eax
je 0x140012b07
mov r9d, 0x219
lea r8, str.c:jenkinsworkspaceClientClientWindows_releaseclient_srcinstallwindowsIncludePBXProtocolInstaller.cpp
mov edx, 2
lea rcx, [rsp + 0x34]
call fcn.14000e798
nop
lea rdx, str.RegDeleteValue_fail_error_code:
lea rcx, [0x1400ba1e0]
call fcn.14001448c
mov rcx, rax
mov edx, edi
call fcn.14000b794
nop
lea rcx, [rsp + 0x34]
call fcn.14000e9c4
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rbp + 0x50]
xor rcx, rsp
call fcn.140077b20
add rsp, 0x160
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret
Function at 0x140012f60
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 [0x1400b7a38]
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.14007c680
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 0x14001319f
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 0x140013042
cmp eax, 2
je 0x14001319f
lea r9d, [r12 + 0x6d]
lea r8, str.c:jenkinsworkspaceClientClientWindows_releaseclient_srcinstallwindowsIncludePBXProtocolInstaller.cpp
lea edx, [r15 + 2]
lea rcx, [rsp + 0x44]
call fcn.14000e798
nop
lea rdx, str.RegOpenKeyEx_fail_error_code:
lea rcx, [0x1400ba1e0]
call fcn.14001448c
mov rcx, rax
mov edx, ebx
call fcn.14000b794
nop
lea rcx, [rsp + 0x44]
call fcn.14000e9c4
xor eax, eax
jmp 0x1400131a4
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 0x1400130fd
mov word [rbx], ax
add rbx, 2
mov word [rbx], r15w
jmp 0x1400130fd
mov word [rbx], r15w
mov rdx, r12
mov rax, rdi
cmp word [rax], r15w
je 0x14001308b
add rax, 2
sub rdx, 1
jne 0x14001307b
mov rax, rdx
mov rcx, r12
sub rcx, rdx
neg rax
sbb r8, r8
and r8, rcx
test rdx, rdx
je 0x1400130eb
mov rdx, r12
sub rdx, r8
lea rcx, [rdi + r8*2]
je 0x1400130dc
mov eax, 0x7ffffffe
lea r8, [rsp + 0x60]
sub r8, rcx
test rax, rax
je 0x1400130dc
movzx r9d, word [r8 + rcx]
test r9w, r9w
je 0x1400130dc
mov word [rcx], r9w
add rcx, 2
dec rax
sub rdx, 1
jne 0x1400130bb
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.140012f60
test eax, eax
je 0x14001313d
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 0x140013071
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 0x14001319f
mov r9d, 0x2a9
lea r8, str.c:jenkinsworkspaceClientClientWindows_releaseclient_srcinstallwindowsIncludePBXProtocolInstaller.cpp
mov edx, 2
lea rcx, [rsp + 0x44]
call fcn.14000e798
nop
lea rdx, str.RegDeleteKey_fail_error_code
lea rcx, [0x1400ba1e0]
call fcn.14001448c
mov rcx, rax
mov edx, ebx
call fcn.14000b794
nop
jmp 0x140013031
mov eax, 1
mov rcx, qword [rbp + 0x170]
xor rcx, rsp
call fcn.140077b20
add rsp, 0x280
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret