joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14000f320
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 [0x1400bca20]
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.14000b3c8
nop
lea rdx, str.Start_SetRegApp...
lea rcx, [0x1400bf210]
call fcn.14001119c
nop
lea rcx, [rbp - 0x39]
call fcn.14000b5f4
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.140005584
nop
mov dword [rsp + 0x20], esi
mov r9, rbx
mov r8d, edi
lea rdx, [rbp - 0x31]
call fcn.1400108a4
mov rbx, rax
mov rdx, qword [rbp - 0x19]
cmp rdx, 8
jb 0x14000f3fd
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x31]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000f3f8
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000f500
call fcn.140027b00
mov qword [rbp - 0x21], rsi
mov qword [rbp - 0x19], 7
mov word [rbp - 0x31], si
test rbx, rbx
je 0x14000f4e4
mov r8, r14
lea rdx, str.SoftwareClientsZoomPBX_
lea rcx, [rbp + 0xf]
call fcn.14000a390
nop
lea r8, str.Capabilities
mov rdx, rax
lea rcx, [rbp - 0x11]
call fcn.14000a320
nop
lea rcx, [rbp + 0xf]
call fcn.140005608
lea rcx, [rbp - 0x11]
cmp qword [rbp + 7], 8
cmovae rcx, qword [rbp - 0x11]
cmp qword [r14 + 0x18], 8
jb 0x14000f45f
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 0x14000f4cd
mov r9d, 0x1d0
lea r8, str.c:jenkinsworkspaceClientClientWindows_releasewin_common_srcinstallerIncludePBXProtocolInstaller.cpp
mov edx, 2
lea rcx, [rbp - 0x39]
call fcn.14000b3c8
nop
lea rdx, str.RegSetValueEx_fail_error_code:
lea rcx, [0x1400bf210]
call fcn.14001119c
mov rcx, rax
mov edx, edi
call fcn.140008398
nop
lea rcx, [rbp - 0x39]
call fcn.14000b5f4
jmp 0x14000f4d2
mov esi, 1
lea rcx, [rbp - 0x11]
call fcn.140005608
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
mov rcx, qword [rbp + 0x2f]
xor rcx, rsp
call fcn.14007a950
add rsp, 0xa0
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret
call fcn.14005fbcc
int3
Function at 0x14000f650
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 [0x1400bca20]
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.14000b3c8
nop
lea rdx, str.Start_ClearDefaultProtocolHandler...
lea rcx, [0x1400bf210]
call fcn.14001119c
nop
lea rcx, [rsp + 0x30]
call fcn.14000b5f4
mov r8, rbx
lea rdx, str.SoftwareMicrosoftWindowsShellAssociationsUrlAssociations_
lea rcx, [rsp + 0x60]
call fcn.14000a390
nop
lea r8, str.UserChoice
mov rdx, rax
lea rcx, [rsp + 0x40]
call fcn.14000a320
nop
mov dword [rsp + 0x20], 1
mov r9, rsi
mov r8d, edi
mov rdx, rax
call fcn.1400108a4
mov rbx, rax
lea rcx, [rsp + 0x40]
call fcn.140005608
nop
lea rcx, [rsp + 0x60]
call fcn.140005608
test rbx, rbx
je 0x14000f820
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 0x14000f7a5
mov r9d, 0x20e
lea r8, str.c:jenkinsworkspaceClientClientWindows_releasewin_common_srcinstallerIncludePBXProtocolInstaller.cpp
mov edx, 2
lea rcx, [rsp + 0x34]
call fcn.14000b3c8
nop
lea rdx, str.RegQueryValueEx_fail_error_code:
lea rcx, [0x1400bf210]
call fcn.14001119c
mov rcx, rax
mov edx, edi
call fcn.140008398
nop
jmp 0x14000f80d
cmp dword [rsp + 0x30], 1
jne 0x14000f817
lea rdx, [rbp - 0x80]
mov rcx, r14
call fcn.140011124
test eax, eax
jne 0x14000f817
lea rdx, str.Progid
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov edi, eax
test eax, eax
je 0x14000f817
mov r9d, 0x219
lea r8, str.c:jenkinsworkspaceClientClientWindows_releasewin_common_srcinstallerIncludePBXProtocolInstaller.cpp
mov edx, 2
lea rcx, [rsp + 0x34]
call fcn.14000b3c8
nop
lea rdx, str.RegDeleteValue_fail_error_code:
lea rcx, [0x1400bf210]
call fcn.14001119c
mov rcx, rax
mov edx, edi
call fcn.140008398
nop
lea rcx, [rsp + 0x34]
call fcn.14000b5f4
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rbp + 0x50]
xor rcx, rsp
call fcn.14007a950
add rsp, 0x160
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret
Function at 0x14000fc70
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 [0x1400bca20]
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 0x14000feaf
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 0x14000fd52
cmp eax, 2
je 0x14000feaf
lea r9d, [r12 + 0x6d]
lea r8, str.c:jenkinsworkspaceClientClientWindows_releasewin_common_srcinstallerIncludePBXProtocolInstaller.cpp
lea edx, [r15 + 2]
lea rcx, [rsp + 0x44]
call fcn.14000b3c8
nop
lea rdx, str.RegOpenKeyEx_fail_error_code:
lea rcx, [0x1400bf210]
call fcn.14001119c
mov rcx, rax
mov edx, ebx
call fcn.140008398
nop
lea rcx, [rsp + 0x44]
call fcn.14000b5f4
xor eax, eax
jmp 0x14000feb4
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 0x14000fe0d
mov word [rbx], ax
add rbx, 2
mov word [rbx], r15w
jmp 0x14000fe0d
mov word [rbx], r15w
mov rdx, r12
mov rax, rdi
cmp word [rax], r15w
je 0x14000fd9b
add rax, 2
sub rdx, 1
jne 0x14000fd8b
mov rax, rdx
mov rcx, r12
sub rcx, rdx
neg rax
sbb r8, r8
and r8, rcx
test rdx, rdx
je 0x14000fdfb
mov rdx, r12
sub rdx, r8
lea rcx, [rdi + r8*2]
je 0x14000fdec
mov eax, 0x7ffffffe
lea r8, [rsp + 0x60]
sub r8, rcx
test rax, rax
je 0x14000fdec
movzx r9d, word [r8 + rcx]
test r9w, r9w
je 0x14000fdec
mov word [rcx], r9w
add rcx, 2
dec rax
sub rdx, 1
jne 0x14000fdcb
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.14000fc70
test eax, eax
je 0x14000fe4d
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 0x14000fd81
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 0x14000feaf
mov r9d, 0x2a9
lea r8, str.c:jenkinsworkspaceClientClientWindows_releasewin_common_srcinstallerIncludePBXProtocolInstaller.cpp
mov edx, 2
lea rcx, [rsp + 0x44]
call fcn.14000b3c8
nop
lea rdx, str.RegDeleteKey_fail_error_code
lea rcx, [0x1400bf210]
call fcn.14001119c
mov rcx, rax
mov edx, ebx
call fcn.140008398
nop
jmp 0x14000fd41
mov eax, 1
mov rcx, qword [rbp + 0x170]
xor rcx, rsp
call fcn.14007a950
add rsp, 0x280
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
Function at 0x14000fed8
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 [0x1400bca20]
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.14000b3c8
nop
lea rdx, str.Start_ResetProtoShellOpenCmd...
lea rcx, [0x1400bf210]
call fcn.14001119c
nop
lea rcx, [rsp + 0x48]
call fcn.14000b5f4
mov r8, rbx
lea rdx, str.SoftwareClasses_
lea rcx, [rsp + 0x50]
call fcn.14000a390
nop
and dword [rsp + 0x20], 0
mov r9, rsi
mov r8d, edi
mov rdx, rax
call fcn.1400108a4
mov rbx, rax
lea rcx, [rsp + 0x50]
call fcn.140005608
test rbx, rbx
je 0x1400100c5
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, [0x1400a027c]
test eax, eax
jne 0x140010038
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 0x140010038
cmp dword [rsp + 0x30], 1
jne 0x140010038
lea rdx, [rsp + 0x70]
mov rcx, r14
call fcn.140011124
test eax, eax
jne 0x140010038
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 0x1400100bc
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 0x1400100bc
cmp dword [rsp + 0x30], 1
jne 0x1400100bc
lea rdx, [rsp + 0x70]
mov rcx, r15
call fcn.140011124
test eax, eax
jne 0x1400100bc
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 0x1400100d5
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x1400100e5
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rbp + 0x740]
xor rcx, rsp
call fcn.14007a950
add rsp, 0x858
pop r15
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret
Function at 0x140010580
Capabilities:
Delete registry value

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r14
mov rbp, rsp
sub rsp, 0x60
mov rax, qword [0x1400bca20]
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.14000b3c8
nop
lea rdx, str.Start_DelRegApp...
lea rcx, [0x1400bf210]
call fcn.14001119c
nop
lea rcx, [rbp - 0x30]
call fcn.14000b5f4
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.140005584
nop
mov dword [rsp + 0x20], r14d
mov r9, rbx
mov r8d, edi
lea rdx, [rbp - 0x28]
call fcn.1400108a4
mov rbx, rax
mov rdx, qword [rbp - 0x10]
cmp rdx, 8
jb 0x140010657
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140010652
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400106a3
call fcn.140027b00
mov qword [rbp - 0x18], r14
mov qword [rbp - 0x10], 7
mov word [rbp - 0x28], r14w
test rbx, rbx
je 0x14001068c
cmp qword [rsi + 0x18], 8
jb 0x140010677
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.14007a950
add rsp, 0x60
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret
call fcn.14005fbcc
int3

Function at 0x1400109e4
Capabilities:
Query or enumerate registry value

Disassembly:
push rbp
push rbx
push rdi
lea rbp, [rsp - 0x720]
sub rsp, 0x820
mov rax, qword [0x1400bca20]
xor rax, rsp
mov qword [rbp + 0x710], rax
cmp dword [rcx + 0xa4], 0
mov rbx, r9
mov rax, r8
mov rdi, rdx
jne 0x140010af3
neg dword [rbp + 0x768]
sbb r9d, r9d
and qword [rsp + 0x38], 0
and r9d, 0x100
add r9d, 0x20019
cmp qword [r8 + 0x10], 0
je 0x140010a72
cmp qword [r8 + 0x18], 8
jb 0x140010a4c
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 0x140010af3
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 0x140010a9b
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 0x140010ad5
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test ebx, ebx
jne 0x140010af3
cmp dword [rsp + 0x30], 1
jne 0x140010af3
lea rcx, [rsp + 0x40]
call fcn.14005fd94
test rax, rax
je 0x140010af3
xor eax, eax
jmp 0x140010af8
mov eax, 1
mov rcx, qword [rbp + 0x710]
xor rcx, rsp
call fcn.14007a950
add rsp, 0x820
pop rdi
pop rbx
pop rbp
ret
Function at 0x140011990
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, [0x1400a0bc0]
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 0x140011a89
mov rcx, qword [rbp + 0x10]
lea rax, [rbp - 0x10]
mov r9d, 0x20019
mov qword [rsp + 0x20], rax
xor r8d, r8d
lea rdx, [0x1400a0bf8]
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x140011a6b
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, [0x1400a0c00]
xor r8d, r8d
mov qword [rsp + 0x20], rdi
mov dword [rbp + 0x18], ebx
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x140011a6b
mov eax, dword [rbp + 0x30]
dec eax
cmp eax, 1
ja 0x140011a6b
mov rcx, qword [rbp + 0x10]
test rcx, rcx
je 0x140011a58
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rbp - 0x10]
test rcx, rcx
je 0x140011a67
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, 1
jmp 0x140011a8b
mov rcx, qword [rbp + 0x10]
test rcx, rcx
je 0x140011a7a
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rbp - 0x10]
test rcx, rcx
je 0x140011a89
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 0x140011a9c
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
jne 0x140011abe
xor al, al
jmp 0x140011c00
cmp qword [rcx], 0
jne 0x140011af0
mov ecx, 0x60
call fcn.14007a970
mov rbx, rax
mov qword [rsp + 0x70], rax
and dword [rax + 0x50], 0
and qword [rax + 0x58], 0
xor edx, edx
lea r8d, [rdx + 0x50]
mov rcx, rax
call main
mov qword [rsi], rbx
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x30], xmm0
and qword [rsp + 0x40], 0
cmp byte [rdi + 0xd], 0
jne 0x140011b59
mov r9d, dword [rdi + 8]
mov r8, qword [rdi]
call fcn.140011990
test al, al
je 0x140011b59
and dword [rsp + 0x20], 0
lea r9, [rsp + 0x30]
lea r8, [0x14009dddb]
mov rdx, qword [rdi]
mov rcx, qword [rsi]
call fcn.140058430
test eax, eax
je 0x140011b59
mov rax, qword [rsp + 0x38]
cmp qword [rsp + 0x30], rax
je 0x140011b59
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 0x140011b9f
lea rdx, [rsp + 0x30]
mov rcx, qword [rsi]
call fcn.1400589c0
test eax, eax
jne 0x140011b6e
xor bl, bl
jmp 0x140011ba1
mov r8, qword [rsp + 0x30]
cmp r8, qword [rsp + 0x38]
jne 0x140011b7e
xor bl, bl
jmp 0x140011ba6
add r8, 8
movsxd rdx, dword [rdi + 8]
mov rcx, qword [rdi]
call fcn.140060978
cmp byte [rdi + 0xc], 0
je 0x140011b9f
xor edx, edx
mov rcx, qword [rdi]
call qword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov bl, 1
mov r8, qword [rsp + 0x30]
test r8, r8
je 0x140011bfe
mov rcx, qword [rsp + 0x40]
sub rcx, r8
movabs rax, 0x73615a240e6c2b45
imul rcx
sar rdx, 7
mov rax, rdx
shr rax, 0x3f
add rdx, rax
imul rdx, rdx, 0x11c
mov rax, r8
cmp rdx, 0x1000
jb 0x140011bf6
add rdx, 0x27
mov r8, qword [r8 - 8]
sub rax, r8
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140011c10
mov rcx, r8
call fcn.140027b00
mov al, bl
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
add rsp, 0x50
pop rdi
ret
call fcn.14005fbcc
int3
Function at 0x1400123ac
Capabilities:
Get common file path

Disassembly:
sub rsp, 0x288
mov rax, qword [0x1400bca20]
xor rax, rsp
mov qword [rsp + 0x270], rax
xor edx, edx
lea rcx, [rsp + 0x160]
mov r8d, 0x104
call main
mov edx, 0x104
lea rcx, [rsp + 0x160]
call qword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
test eax, eax
je 0x140012430
lea r8, str.winsxsx86_microsoft.vc90.crt_
mov edx, 0x104
lea rcx, [rsp + 0x160]
call fcn.140060ab0
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x160]
call qword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp rax, 0xffffffffffffffff
je 0x140012430
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_FindClose]
mov al, 1
jmp 0x140012432
xor al, al
mov rcx, qword [rsp + 0x270]
xor rcx, rsp
call fcn.14007a950
add rsp, 0x288
ret

Function at 0x1400124e4
Capabilities:
Check os version

Disassembly:
sub rsp, 0x158
mov rax, qword [0x1400bca20]
xor rax, rsp
mov qword [rsp + 0x140], rax
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x11c
call main
lea rcx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x11c
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
jne 0x14001253d
lea rcx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x114
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x140012556
mov eax, dword [rsp + 0x30]
test eax, eax
je 0x14001255a
sub eax, 1
je 0x14001255a
cmp eax, 1
jne 0x140012556
cmp dword [rsp + 0x24], 6
jb 0x14001255a
xor al, al
jmp 0x14001255c
mov al, 1
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.14007a950
add rsp, 0x158
ret

Function at 0x140012bc0
Capabilities:
Get common file path

Disassembly:
sub rsp, 0x38
test rcx, rcx
je 0x140012be9
mov qword [rsp + 0x20], rcx
xor r9d, r9d
xor ecx, ecx
xor r8d, r8d
xor edx, edx
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
js 0x140012be9
mov eax, 1
jmp 0x140012beb
xor eax, eax
add rsp, 0x38
ret

Function at 0x140012bf0
Capabilities:
Get common file path

Disassembly:
sub rsp, 0x38
test rcx, rcx
je 0x140012c1b
xor r9d, r9d
mov qword [rsp + 0x20], rcx
xor r8d, r8d
xor ecx, ecx
lea edx, [r9 + 2]
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
js 0x140012c1b
mov eax, 1
jmp 0x140012c1d
xor eax, eax
add rsp, 0x38
ret
Function at 0x140013898
Capabilities:
Create new key via cryptacquirecontext
Initialize hashing via wincrypt

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x30
xor ebx, ebx
mov rdi, rdx
test rdx, rdx
je 0x1400138f9
lea r9d, [rbx + 0x18]
mov dword [rsp + 0x20], 0xf0000000
xor r8d, r8d
xor edx, edx
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
je 0x1400138f9
mov rcx, qword [rdi]
lea rsi, [rdi + 8]
xor r9d, r9d
mov qword [rsp + 0x20], rsi
xor r8d, r8d
mov edx, 0x800c
call qword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
je 0x1400138f9
cmp qword [rsi], rbx
je 0x1400138f9
mov bl, 1
jmp 0x140013901
mov rdx, rdi
call fcn.14001385c
mov rsi, qword [rsp + 0x48]
mov al, bl
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret

Function at 0x140013914
Capabilities:
Hash data via wincrypt

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x90
mov rax, qword [0x1400bca20]
xor rax, rsp
mov qword [rsp + 0x80], rax
mov rdi, r9
mov rsi, r8
mov rbx, rdx
mov qword [rsp + 0x38], rdx
and dword [rsp + 0x34], 0
and qword [rdx], 0
and qword [rdx + 0x10], 0
mov qword [rdx + 0x18], 0xf
mov byte [rdx], 0
mov dword [rsp + 0x34], 1
xor edx, edx
lea r8d, [rdx + 0x40]
lea rcx, [rsp + 0x40]
call main
test rsi, rsi
je 0x1400139de
test rdi, rdi
je 0x1400139de
mov r8d, dword [rsp + 0xd0]
test r8d, r8d
jle 0x1400139de
xor r9d, r9d
mov rdx, rdi
mov rcx, qword [rsi + 8]
call qword [sym.imp.ADVAPI32.dll_CryptHashData]
test eax, eax
je 0x1400139de
mov dword [rsp + 0x30], 0x40
and dword [rsp + 0x20], 0
lea r9, [rsp + 0x30]
lea r8, [rsp + 0x40]
mov edx, 2
mov rcx, qword [rsi + 8]
call qword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
test eax, eax
je 0x1400139de
mov ecx, dword [rsp + 0x30]
lea rdx, [rsp + 0x40]
add rdx, rcx
mov r8, rbx
lea rcx, [rsp + 0x40]
call fcn.14001526c
mov rax, rbx
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.14007a950
add rsp, 0x90
pop rdi
pop rsi
pop rbx
ret
Function at 0x140016908
Capabilities:
Delete registry key

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x40
mov rdi, qword [rcx + 0x10]
mov rsi, rdx
mov rbx, rcx
test rdi, rdi
je 0x14001699e
cmp qword [rdi], 0
mov rbx, qword [rcx]
je 0x140016978
lea rcx, str.Advapi32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140016997
lea rdx, str.RegDeleteKeyTransactedW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x140016997
mov rdx, qword [rdi]
xor r9d, r9d
and qword [rsp + 0x28], 0
xor r8d, r8d
mov qword [rsp + 0x20], rdx
mov rcx, rbx
mov rdx, rsi
call qword [case.0x14002b001.0]
jmp 0x140016987
cmp dword [rdi + 8], 0
je 0x140016997
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
ret
mov eax, 1
jmp 0x140016987
cmp byte [0x1400bfb08], 0
jne 0x1400169e9
lea rcx, str.Advapi32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1400169d5
lea rdx, str.RegDeleteKeyExW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r10, rax
mov qword [0x1400bfb00], rax
jmp 0x1400169dc
mov r10, qword [0x1400bfb00]
mov eax, 1
mov byte [0x1400bfb08], al
jmp 0x1400169f0
mov r10, qword [0x1400bfb00]
mov rcx, qword [rbx]
mov rdx, rsi
test r10, r10
je 0x140016981
mov r8d, dword [rbx + 8]
xor r9d, r9d
mov rax, r10
call qword [case.0x14002b001.0]
jmp 0x140016987