joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140012600
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.14000e788
nop
lea rdx, str.Start_SetRegApp...
lea rcx, [0x1400ba1e0]
call fcn.14001447c
nop
lea rcx, [rbp - 0x39]
call fcn.14000e9b4
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.1400089b4
nop
mov dword [rsp + 0x20], esi
mov r9, rbx
mov r8d, edi
lea rdx, [rbp - 0x31]
call fcn.140013b84
mov rbx, rax
mov rdx, qword [rbp - 0x19]
cmp rdx, 8
jb 0x1400126dd
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x31]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400126d8
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400127e0
call fcn.14002a8f0
mov qword [rbp - 0x21], rsi
mov qword [rbp - 0x19], 7
mov word [rbp - 0x31], si
test rbx, rbx
je 0x1400127c4
mov r8, r14
lea rdx, str.SoftwareClientsZoomPBX_
lea rcx, [rbp + 0xf]
call fcn.14000d750
nop
lea r8, str.Capabilities
mov rdx, rax
lea rcx, [rbp - 0x11]
call fcn.14000d6e0
nop
lea rcx, [rbp + 0xf]
call fcn.140008a38
lea rcx, [rbp - 0x11]
cmp qword [rbp + 7], 8
cmovae rcx, qword [rbp - 0x11]
cmp qword [r14 + 0x18], 8
jb 0x14001273f
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 0x1400127ad
mov r9d, 0x1d0
lea r8, str.c:jenkinsworkspaceClientClientWindows_releaseclient_srcinstallwindowsIncludePBXProtocolInstaller.cpp
mov edx, 2
lea rcx, [rbp - 0x39]
call fcn.14000e788
nop
lea rdx, str.RegSetValueEx_fail_error_code:
lea rcx, [0x1400ba1e0]
call fcn.14001447c
mov rcx, rax
mov edx, edi
call fcn.14000b784
nop
lea rcx, [rbp - 0x39]
call fcn.14000e9b4
jmp 0x1400127b2
mov esi, 1
lea rcx, [rbp - 0x11]
call fcn.140008a38
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
mov rcx, qword [rbp + 0x2f]
xor rcx, rsp
call fcn.1400775a0
add rsp, 0xa0
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret
call fcn.140058698
int3
Function at 0x140012930
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.14000e788
nop
lea rdx, str.Start_ClearDefaultProtocolHandler...
lea rcx, [0x1400ba1e0]
call fcn.14001447c
nop
lea rcx, [rsp + 0x30]
call fcn.14000e9b4
mov r8, rbx
lea rdx, str.SoftwareMicrosoftWindowsShellAssociationsUrlAssociations_
lea rcx, [rsp + 0x60]
call fcn.14000d750
nop
lea r8, str.UserChoice
mov rdx, rax
lea rcx, [rsp + 0x40]
call fcn.14000d6e0
nop
mov dword [rsp + 0x20], 1
mov r9, rsi
mov r8d, edi
mov rdx, rax
call fcn.140013b84
mov rbx, rax
lea rcx, [rsp + 0x40]
call fcn.140008a38
nop
lea rcx, [rsp + 0x60]
call fcn.140008a38
test rbx, rbx
je 0x140012b00
and dword [rsp + 0x30], 0
xor edx, edx
mov r8d, 0xc8
lea rcx, [rbp - 0x80]
call fcn.14007c100
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 0x140012a85
mov r9d, 0x20e
lea r8, str.c:jenkinsworkspaceClientClientWindows_releaseclient_srcinstallwindowsIncludePBXProtocolInstaller.cpp
mov edx, 2
lea rcx, [rsp + 0x34]
call fcn.14000e788
nop
lea rdx, str.RegQueryValueEx_fail_error_code:
lea rcx, [0x1400ba1e0]
call fcn.14001447c
mov rcx, rax
mov edx, edi
call fcn.14000b784
nop
jmp 0x140012aed
cmp dword [rsp + 0x30], 1
jne 0x140012af7
lea rdx, [rbp - 0x80]
mov rcx, r14
call fcn.140014404
test eax, eax
jne 0x140012af7
lea rdx, str.Progid
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov edi, eax
test eax, eax
je 0x140012af7
mov r9d, 0x219
lea r8, str.c:jenkinsworkspaceClientClientWindows_releaseclient_srcinstallwindowsIncludePBXProtocolInstaller.cpp
mov edx, 2
lea rcx, [rsp + 0x34]
call fcn.14000e788
nop
lea rdx, str.RegDeleteValue_fail_error_code:
lea rcx, [0x1400ba1e0]
call fcn.14001447c
mov rcx, rax
mov edx, edi
call fcn.14000b784
nop
lea rcx, [rsp + 0x34]
call fcn.14000e9b4
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rbp + 0x50]
xor rcx, rsp
call fcn.1400775a0
add rsp, 0x160
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret
Function at 0x140012f50
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.14007c100
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 0x14001318f
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 0x140013032
cmp eax, 2
je 0x14001318f
lea r9d, [r12 + 0x6d]
lea r8, str.c:jenkinsworkspaceClientClientWindows_releaseclient_srcinstallwindowsIncludePBXProtocolInstaller.cpp
lea edx, [r15 + 2]
lea rcx, [rsp + 0x44]
call fcn.14000e788
nop
lea rdx, str.RegOpenKeyEx_fail_error_code:
lea rcx, [0x1400ba1e0]
call fcn.14001447c
mov rcx, rax
mov edx, ebx
call fcn.14000b784
nop
lea rcx, [rsp + 0x44]
call fcn.14000e9b4
xor eax, eax
jmp 0x140013194
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 0x1400130ed
mov word [rbx], ax
add rbx, 2
mov word [rbx], r15w
jmp 0x1400130ed
mov word [rbx], r15w
mov rdx, r12
mov rax, rdi
cmp word [rax], r15w
je 0x14001307b
add rax, 2
sub rdx, 1
jne 0x14001306b
mov rax, rdx
mov rcx, r12
sub rcx, rdx
neg rax
sbb r8, r8
and r8, rcx
test rdx, rdx
je 0x1400130db
mov rdx, r12
sub rdx, r8
lea rcx, [rdi + r8*2]
je 0x1400130cc
mov eax, 0x7ffffffe
lea r8, [rsp + 0x60]
sub r8, rcx
test rax, rax
je 0x1400130cc
movzx r9d, word [r8 + rcx]
test r9w, r9w
je 0x1400130cc
mov word [rcx], r9w
add rcx, 2
dec rax
sub rdx, 1
jne 0x1400130ab
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.140012f50
test eax, eax
je 0x14001312d
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 0x140013061
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 0x14001318f
mov r9d, 0x2a9
lea r8, str.c:jenkinsworkspaceClientClientWindows_releaseclient_srcinstallwindowsIncludePBXProtocolInstaller.cpp
mov edx, 2
lea rcx, [rsp + 0x44]
call fcn.14000e788
nop
lea rdx, str.RegDeleteKey_fail_error_code
lea rcx, [0x1400ba1e0]
call fcn.14001447c
mov rcx, rax
mov edx, ebx
call fcn.14000b784
nop
jmp 0x140013021
mov eax, 1
mov rcx, qword [rbp + 0x170]
xor rcx, rsp
call fcn.1400775a0
add rsp, 0x280
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
Function at 0x1400131b8
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 [0x1400b7a38]
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.14007c100
and dword [rsp + 0x30], 0
mov dword [rsp + 0x34], 0x7ce
mov r9d, 0x2b8
lea r8, str.c:jenkinsworkspaceClientClientWindows_releaseclient_srcinstallwindowsIncludePBXProtocolInstaller.cpp
xor edx, edx
lea rcx, [rsp + 0x48]
call fcn.14000e788
nop
lea rdx, str.Start_ResetProtoShellOpenCmd...
lea rcx, [0x1400ba1e0]
call fcn.14001447c
nop
lea rcx, [rsp + 0x48]
call fcn.14000e9b4
mov r8, rbx
lea rdx, str.SoftwareClasses_
lea rcx, [rsp + 0x50]
call fcn.14000d750
nop
and dword [rsp + 0x20], 0
mov r9, rsi
mov r8d, edi
mov rdx, rax
call fcn.140013b84
mov rbx, rax
lea rcx, [rsp + 0x50]
call fcn.140008a38
test rbx, rbx
je 0x1400133a5
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, [0x14009b60c]
test eax, eax
jne 0x140013318
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 0x140013318
cmp dword [rsp + 0x30], 1
jne 0x140013318
lea rdx, [rsp + 0x70]
mov rcx, r14
call fcn.140014404
test eax, eax
jne 0x140013318
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 0x14001339c
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 0x14001339c
cmp dword [rsp + 0x30], 1
jne 0x14001339c
lea rdx, [rsp + 0x70]
mov rcx, r15
call fcn.140014404
test eax, eax
jne 0x14001339c
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 0x1400133b5
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x1400133c5
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rbp + 0x740]
xor rcx, rsp
call fcn.1400775a0
add rsp, 0x858
pop r15
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret
Function at 0x140013860
Capabilities:
Delete registry value

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r14
mov rbp, rsp
sub rsp, 0x60
mov rax, qword [0x1400b7a38]
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_releaseclient_srcinstallwindowsIncludePBXProtocolInstaller.cpp
xor edx, edx
lea rcx, [rbp - 0x30]
call fcn.14000e788
nop
lea rdx, str.Start_DelRegApp...
lea rcx, [0x1400ba1e0]
call fcn.14001447c
nop
lea rcx, [rbp - 0x30]
call fcn.14000e9b4
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.1400089b4
nop
mov dword [rsp + 0x20], r14d
mov r9, rbx
mov r8d, edi
lea rdx, [rbp - 0x28]
call fcn.140013b84
mov rbx, rax
mov rdx, qword [rbp - 0x10]
cmp rdx, 8
jb 0x140013937
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140013932
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140013983
call fcn.14002a8f0
mov qword [rbp - 0x18], r14
mov qword [rbp - 0x10], 7
mov word [rbp - 0x28], r14w
test rbx, rbx
je 0x14001396c
cmp qword [rsi + 0x18], 8
jb 0x140013957
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.1400775a0
add rsp, 0x60
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret
call fcn.140058698
int3

Function at 0x140013cc4
Capabilities:
Query or enumerate registry value

Disassembly:
push rbp
push rbx
push rdi
lea rbp, [rsp - 0x720]
sub rsp, 0x820
mov rax, qword [0x1400b7a38]
xor rax, rsp
mov qword [rbp + 0x710], rax
cmp dword [rcx + 0xa4], 0
mov rbx, r9
mov rax, r8
mov rdi, rdx
jne 0x140013dd3
neg dword [rbp + 0x768]
sbb r9d, r9d
and qword [rsp + 0x38], 0
and r9d, 0x100
add r9d, 0x20019
cmp qword [r8 + 0x10], 0
je 0x140013d52
cmp qword [r8 + 0x18], 8
jb 0x140013d2c
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 0x140013dd3
mov rdi, qword [rsp + 0x38]
and dword [rsp + 0x30], 0
lea rcx, [rsp + 0x40]
xor edx, edx
mov r8d, 0x7d0
call fcn.14007c100
cmp qword [rbx + 0x18], 8
mov dword [rsp + 0x34], 0x7ce
jb 0x140013d7b
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 0x140013db5
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test ebx, ebx
jne 0x140013dd3
cmp dword [rsp + 0x30], 1
jne 0x140013dd3
lea rcx, [rsp + 0x40]
call fcn.140057e3c
test rax, rax
je 0x140013dd3
xor eax, eax
jmp 0x140013dd8
mov eax, 1
mov rcx, qword [rbp + 0x710]
xor rcx, rsp
call fcn.1400775a0
add rsp, 0x820
pop rdi
pop rbx
pop rbp
ret
Function at 0x140014c70
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, [0x14009bf50]
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 0x140014d69
mov rcx, qword [rbp + 0x10]
lea rax, [rbp - 0x10]
mov r9d, 0x20019
mov qword [rsp + 0x20], rax
xor r8d, r8d
lea rdx, [0x14009bf88]
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x140014d4b
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, [0x14009bf90]
xor r8d, r8d
mov qword [rsp + 0x20], rdi
mov dword [rbp + 0x18], ebx
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x140014d4b
mov eax, dword [rbp + 0x30]
dec eax
cmp eax, 1
ja 0x140014d4b
mov rcx, qword [rbp + 0x10]
test rcx, rcx
je 0x140014d38
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rbp - 0x10]
test rcx, rcx
je 0x140014d47
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, 1
jmp 0x140014d6b
mov rcx, qword [rbp + 0x10]
test rcx, rcx
je 0x140014d5a
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rbp - 0x10]
test rcx, rcx
je 0x140014d69
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 0x140014d7c
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 0x140014ed0
cmp qword [rcx], 0
jne 0x140014dc4
mov ecx, 0x40
call fcn.14007789c
mov qword [rsp + 0x70], rax
mov rcx, rax
call fcn.140002ed0
mov qword [rsi], rax
test rax, rax
je 0x140014ed0
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x30], xmm0
and qword [rsp + 0x40], 0
cmp byte [rdi + 0xd], 0
jne 0x140014e2d
mov r9d, dword [rdi + 8]
mov r8, qword [rdi]
call fcn.140014c70
test al, al
je 0x140014e2d
and dword [rsp + 0x20], 0
lea r9, [rsp + 0x30]
lea r8, [0x14009a3db]
mov rdx, qword [rdi]
mov rcx, qword [rsi]
call fcn.140003478
test eax, eax
je 0x140014e2d
mov rbx, qword [rsp + 0x30]
cmp rbx, qword [rsp + 0x38]
je 0x140014e2d
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 0x140014e70
lea rdx, [rsp + 0x30]
mov rcx, qword [rsi]
call fcn.14000397c
mov rbx, qword [rsp + 0x30]
test eax, eax
je 0x140014e4a
cmp rbx, qword [rsp + 0x38]
jne 0x140014e4f
xor dil, dil
jmp 0x140014e73
lea r8, [rbx + 8]
movsxd rdx, dword [rdi + 8]
mov rcx, qword [rdi]
call fcn.14005838c
cmp byte [rdi + 0xc], 0
je 0x140014e70
xor edx, edx
mov rcx, qword [rdi]
call qword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov dil, 1
test rbx, rbx
je 0x140014ecb
mov rcx, qword [rsp + 0x40]
sub rcx, rbx
movabs rax, 0x73615a240e6c2b45
imul rcx
sar rdx, 7
mov rax, rdx
shr rax, 0x3f
add rdx, rax
imul rdx, rdx, 0x11c
mov rax, rbx
cmp rdx, 0x1000
jb 0x140014ec3
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140014ee2
mov rcx, rbx
call fcn.14002a8f0
mov al, dil
jmp 0x140014ed2
xor al, al
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
add rsp, 0x50
pop rdi
ret
call fcn.140058698
int3
Function at 0x14001567c
Capabilities:
Get common file path

Disassembly:
sub rsp, 0x288
mov rax, qword [0x1400b7a38]
xor rax, rsp
mov qword [rsp + 0x270], rax
xor edx, edx
lea rcx, [rsp + 0x160]
mov r8d, 0x104
call fcn.14007c100
mov edx, 0x104
lea rcx, [rsp + 0x160]
call qword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
test eax, eax
je 0x140015700
lea r8, str.winsxsx86_microsoft.vc90.crt_
mov edx, 0x104
lea rcx, [rsp + 0x160]
call fcn.1400583ec
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x160]
call qword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp rax, 0xffffffffffffffff
je 0x140015700
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_FindClose]
mov al, 1
jmp 0x140015702
xor al, al
mov rcx, qword [rsp + 0x270]
xor rcx, rsp
call fcn.1400775a0
add rsp, 0x288
ret

Function at 0x1400157b4
Capabilities:
Check os version

Disassembly:
sub rsp, 0x158
mov rax, qword [0x1400b7a38]
xor rax, rsp
mov qword [rsp + 0x140], rax
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x11c
call fcn.14007c100
lea rcx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x11c
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
jne 0x14001580d
lea rcx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x114
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x140015826
mov eax, dword [rsp + 0x30]
test eax, eax
je 0x14001582a
sub eax, 1
je 0x14001582a
cmp eax, 1
jne 0x140015826
cmp dword [rsp + 0x24], 6
jb 0x14001582a
xor al, al
jmp 0x14001582c
mov al, 1
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.1400775a0
add rsp, 0x158
ret

Function at 0x140015e90
Capabilities:
Get common file path

Disassembly:
sub rsp, 0x28
test rcx, rcx
je 0x140015eb8
mov rdx, rcx
mov r9d, 1
xor ecx, ecx
xor r8d, r8d
call qword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x140015eb8
mov eax, 1
jmp 0x140015eba
xor eax, eax
add rsp, 0x28
ret

Function at 0x140015ec0
Capabilities:
Get common file path

Disassembly:
sub rsp, 0x28
test rcx, rcx
je 0x140015ee9
mov r9d, 1
mov rdx, rcx
xor ecx, ecx
lea r8d, [r9 + 1]
call qword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x140015ee9
mov eax, 1
jmp 0x140015eeb
xor eax, eax
add rsp, 0x28
ret

Function at 0x140016694
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 0x1400166f5
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 0x1400166f5
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 0x1400166f5
cmp qword [rsi], rbx
je 0x1400166f5
mov bl, 1
jmp 0x1400166fd
mov rdx, rdi
call fcn.140016658
mov rsi, qword [rsp + 0x48]
mov al, bl
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret
Function at 0x140016710
Capabilities:
Hash data via wincrypt

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x90
mov rax, qword [0x1400b7a38]
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 fcn.14007c100
test rsi, rsi
je 0x1400167da
test rdi, rdi
je 0x1400167da
mov r8d, dword [rsp + 0xd0]
test r8d, r8d
jle 0x1400167da
xor r9d, r9d
mov rdx, rdi
mov rcx, qword [rsi + 8]
call qword [sym.imp.ADVAPI32.dll_CryptHashData]
test eax, eax
je 0x1400167da
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 0x1400167da
mov ecx, dword [rsp + 0x30]
lea rdx, [rsp + 0x40]
add rdx, rcx
mov r8, rbx
lea rcx, [rsp + 0x40]
call fcn.14001806c
mov rax, rbx
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.1400775a0
add rsp, 0x90
pop rdi
pop rsi
pop rbx
ret