joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400419e0
Capabilities:
Set registry value

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x68
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov rax, qword [0x1400bb008]
xor rax, rsp
mov qword [rsp + 0x58], rax
mov r15d, r9d
mov r14, r8
mov rsi, rdx
mov rbp, rcx
test rdx, rdx
jne 0x140041a36
mov r8d, 0x83
lea rdx, str.CRegClient::SetRegUI4Property
lea rcx, str._s__d_RETURN_FALSE_ON_FALSE
call fcn.140026f80
xor eax, eax
jmp 0x140041b03
test r14, r14
jne 0x140041a43
mov r8d, 0x84
jmp 0x140041a1c
xor eax, eax
mov qword [rsp + 0x48], rax
xor edi, edi
mov ebx, edi
mov qword [rsp + 0x40], rbx
mov dword [rsp + 0x48], edi
mov qword [rsp + 0x50], rdi
call fcn.1400423f0
test eax, eax
jne 0x140041a7c
mov rdx, rsi
mov rcx, rbp
call fcn.140041c40
test eax, eax
jne 0x140041a7c
mov r8d, 0x8d
jmp 0x140041ad9
mov r9d, 2
mov r8, rsi
mov rdx, rbp
lea rcx, [rsp + 0x40]
call fcn.1400222c0
mov rbx, qword [rsp + 0x40]
test eax, eax
je 0x140041aa3
mov r8d, 0x92
jmp 0x140041ad9
mov dword [rsp + 0x38], r15d
mov dword [rsp + 0x28], 4
lea rax, [rsp + 0x38]
mov qword [rsp + 0x20], rax
mov r9d, 4
xor r8d, r8d
mov rdx, r14
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegSetValueExW]
test eax, eax
je 0x140041aee
mov r8d, 0x96
lea rdx, str.CRegClient::SetRegUI4Property
lea rcx, str._s__d_RETURN_FALSE_ON_FALSE
call fcn.140026f80
jmp 0x140041af3
mov edi, 1
test rbx, rbx
je 0x140041b01
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
mov eax, edi
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140065bd0
add rsp, 0x68
pop r15
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x140041b20
Capabilities:
Query or enumerate registry value

Disassembly:
push rbp
push rsi
push rdi
push r14
sub rsp, 0x68
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov rax, qword [0x1400bb008]
xor rax, rsp
mov qword [rsp + 0x58], rax
mov rsi, r9
mov r14, r8
mov rbp, qword [rsp + 0xb0]
test rdx, rdx
jne 0x140041b75
mov r8d, 0xda
lea rdx, str.CRegClient::GetRegBinary
lea rcx, str._s__d_RETURN_FALSE_ON_FALSE
call fcn.140026f80
xor eax, eax
jmp 0x140041c22
test rbp, rbp
jne 0x140041b82
mov r8d, 0xdc
jmp 0x140041b5b
xor eax, eax
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x40], rax
mov dword [rsp + 0x48], eax
mov qword [rsp + 0x50], rax
mov edi, 1
mov r9d, edi
mov r8, rdx
mov rdx, rcx
lea rcx, [rsp + 0x40]
call fcn.1400222c0
test eax, eax
je 0x140041bbb
mov r8d, 0xe5
jmp 0x140041bf8
test rsi, rsi
je 0x140041bc5
mov rax, qword [rsi]
jmp 0x140041bc7
xor eax, eax
mov qword [rsp + 0x28], rbp
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x38]
xor r8d, r8d
mov rdx, r14
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
test eax, eax
jne 0x140041bf2
cmp dword [rsp + 0x38], 3
je 0x140041c0d
mov r8d, 0xe9
lea rdx, str.CRegClient::GetRegBinary
lea rcx, str._s__d_RETURN_FALSE_ON_FALSE
call fcn.140026f80
xor edi, edi
cmp qword [rsp + 0x40], 0
je 0x140041c20
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
mov eax, edi
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140065bd0
add rsp, 0x68
pop r14
pop rdi
pop rsi
pop rbp
ret

Function at 0x140041cf0
Capabilities:
Delete registry value
Persist via run registry key

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
mov qword [r11 + 0x10], rbp
mov qword [r11 + 0x20], rsi
push rdi
sub rsp, 0x40
mov rax, qword [0x1400bb008]
xor rax, rsp
mov qword [rsp + 0x38], rax
xor edi, edi
lea rcx, [r11 - 0x28]
xor eax, eax
mov qword [r11 - 0x28], rdi
mov qword [r11 - 0x20], rax
mov rbp, r8
mov dword [rsp + 0x28], edi
lea r8, str.SOFTWAREMicrosoftWindowsCurrentVersionRun_
mov r9d, 0x20006
mov qword [r11 - 0x18], rdi
mov rdx, 0xffffffff80000002
call fcn.1400222c0
mov rbx, qword [rsp + 0x20]
mov esi, eax
test eax, eax
jne 0x140041d60
mov rdx, rbp
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegDeleteValueW]
mov esi, eax
test rbx, rbx
je 0x140041d71
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
mov rbx, rdi
test esi, esi
sete dil
test rbx, rbx
je 0x140041d85
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
mov eax, edi
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.140065bd0
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x68]
add rsp, 0x40
pop rdi
ret
Function at 0x140042260
Capabilities:
Set registry value

Disassembly:
mov r11, rsp
push rbx
push rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x70
mov qword [r11 - 0x78], 0xfffffffffffffffe
mov rax, qword [0x1400bb008]
xor rax, rsp
mov qword [rsp + 0x68], rax
mov rsi, r9
mov r12, r8
mov r14, rdx
mov rdi, rcx
xor eax, eax
mov qword [r11 - 0x50], rax
xor ebx, ebx
mov ebp, ebx
mov qword [r11 - 0x58], rbx
mov dword [rsp + 0x58], ebx
mov qword [r11 - 0x48], rbx
mov qword [r11 - 0x68], rax
mov qword [r11 - 0x70], rbx
mov dword [rsp + 0x40], ebx
mov qword [r11 - 0x60], rbx
mov r9d, 0x20019
mov r8, rdx
mov rdx, rcx
lea rcx, [r11 - 0x70]
call fcn.1400222c0
mov r15d, ebx
test eax, eax
sete r15b
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x1400422e8
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
test r15d, r15d
jne 0x14004231a
mov rdx, r14
mov rcx, rdi
call fcn.140041c40
test eax, eax
jne 0x14004231a
mov r8d, 0x1da
lea rdx, str.CRegClient::SetRegStringValue
lea rcx, str._s__d_RETURN_FALSE_ON_FALSE
call fcn.140026f80
jmp 0x1400423b8
mov r9d, 2
mov r8, r14
mov rdx, rdi
lea rcx, [rsp + 0x50]
call fcn.1400222c0
mov edi, eax
mov r9d, eax
mov r8d, 0x1e0
lea rdx, str.CRegClient::SetRegStringValue
lea rcx, str._s__d_nRet_d
call fcn.140026f80
mov rbp, qword [rsp + 0x50]
test edi, edi
jne 0x1400423b5
test rsi, rsi
jne 0x140042361
lea edi, [rsi + 0xd]
jmp 0x140042397
or rax, 0xffffffffffffffff
lea rax, [rax + 1]
cmp word [rsi + rax*2], 0
jne 0x140042365
lea eax, [rax*2 + 2]
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rsi
mov r9d, 1
xor r8d, r8d
mov rdx, r12
mov rcx, rbp
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegSetValueExW]
mov edi, eax
mov r9d, edi
mov r8d, 0x1e7
lea rdx, str.CRegClient::SetRegStringValue
lea rcx, str._s__d_nRet_d
call fcn.140026f80
test edi, edi
sete bl
test rbp, rbp
je 0x1400423c6
mov rcx, rbp
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
mov eax, ebx
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.140065bd0
add rsp, 0x70
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret

Function at 0x140042850
Capabilities:
Persist via windows service
Set registry value

Disassembly:
push rbx
sub rsp, 0x60
mov rax, qword [0x1400bb008]
xor rax, rsp
mov qword [rsp + 0x50], rax
xor eax, eax
lea r8, str.SystemCurrentControlSetServicesRealtekAudioRTKAMPInfo
mov qword [rsp + 0x40], rax
lea rcx, [rsp + 0x38]
mov r9d, 0x20006
mov dword [rsp + 0x40], eax
mov rdx, 0xffffffff80000002
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x48], rax
call fcn.1400222c0
mov rcx, qword [rsp + 0x38]
mov ebx, eax
test eax, eax
jne 0x1400428e2
lea rax, [rsp + 0x30]
mov dword [rsp + 0x28], 4
lea r9d, [rbx + 4]
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov dword [rsp + 0x30], 2
lea rdx, str.viR0
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegSetValueExW]
cmp qword [rsp + 0x38], 0
mov ebx, eax
je 0x1400428ef
mov rcx, qword [rsp + 0x38]
jmp 0x1400428e7
test rcx, rcx
je 0x1400428ef
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
mov eax, ebx
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.140065bd0
add rsp, 0x60
pop rbx
ret
Function at 0x140042910
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x60
mov rax, qword [0x1400bb008]
xor rax, rsp
mov qword [rsp + 0x50], rax
xor eax, eax
lea r8, str.SystemCurrentControlSetServicesRealtekAudioRTKAMPInfo
mov rdi, rdx
mov qword [rsp + 0x40], rax
mov r9d, 0x20019
mov dword [rsp + 0x40], eax
mov rdx, 0xffffffff80000002
mov qword [rsp + 0x38], rax
lea rcx, [rsp + 0x38]
mov qword [rsp + 0x48], rax
call fcn.1400222c0
mov ebx, eax
test eax, eax
jne 0x1400429b6
lea rax, [rsp + 0x30]
mov dword [rsp + 0x30], 4
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x34]
mov qword [rsp + 0x20], rdi
lea rdx, str.viR0
mov rdi, qword [rsp + 0x38]
xor r8d, r8d
mov rcx, rdi
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
mov ebx, eax
test eax, eax
jne 0x1400429ac
cmp dword [rsp + 0x34], 4
mov eax, 0xd
cmovne ebx, eax
test rdi, rdi
je 0x1400429c6
mov rcx, rdi
jmp 0x1400429c0
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x1400429c8
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
mov eax, ebx
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.140065bd0
mov rbx, qword [rsp + 0x70]
add rsp, 0x60
pop rdi
ret

Function at 0x1400429e0
Capabilities:
Persist via run registry key

Disassembly:
mov r11, rsp
push rdi
sub rsp, 0x60
mov qword [r11 - 0x38], 0xfffffffffffffffe
mov qword [r11 + 8], rbx
mov rax, qword [0x1400bb008]
xor rax, rsp
mov qword [rsp + 0x50], rax
xor eax, eax
mov qword [r11 - 0x20], rax
lea rax, [r11 - 0x48]
mov qword [r11 - 0x30], rax
lea rax, [r11 - 0x40]
mov qword [r11 - 0x28], rax
call fcn.140003520
mov rcx, rax
test rax, rax
je 0x140042b2c
mov rax, qword [rax]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
add rax, 0x18
mov qword [rsp + 0x20], rax
lea rdi, str.RtkAudUService
mov rdx, rdi
lea rcx, [rsp + 0x20]
call fcn.140004a90
or rbx, 0xffffffffffffffff
test al, al
jne 0x140042a7b
mov rax, rbx
nop dword [rax + rax]
inc rax
cmp word [rdi + rax*2], 0
jne 0x140042a60
mov r8d, eax
mov rdx, rdi
lea rcx, [rsp + 0x20]
call fcn.140002f50
nop
call fcn.140003520
mov rcx, rax
test rax, rax
je 0x140042b37
mov rax, qword [rax]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
add rax, 0x18
mov qword [rsp + 0x28], rax
lea rdi, str.SOFTWAREMicrosoftWindowsCurrentVersionRun_
mov rdx, rdi
lea rcx, [rsp + 0x28]
call fcn.140004a90
test al, al
jne 0x140042ad1
mov rax, rbx
inc rax
cmp word [rdi + rax*2], 0
jne 0x140042ab6
mov r8d, eax
mov rdx, rdi
lea rcx, [rsp + 0x28]
call fcn.140002f50
nop
lea r9, [rsp + 0x20]
lea r8, [rsp + 0x28]
mov rdx, 0xffffffff80000002
lea rcx, [rsp + 0x48]
call fcn.140041f50
xor edi, edi
mov rax, qword [rsp + 0x48]
cmp dword [rax - 0x10], edi
setne dil
lea rdx, [rax - 0x18]
lock xadd dword [rdx + 0x10], ebx
sub ebx, 1
jg 0x140042b12
mov rcx, qword [rdx]
mov r8, qword [rcx]
call qword [rreloc.OLEAUT32.dll_VariantClear + 8]
mov eax, edi
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.140065bd0
mov rbx, qword [rsp + 0x70]
add rsp, 0x60
pop rdi
ret
mov ecx, 0x80004005
call fcn.140003270
nop
mov ecx, 0x80004005
call fcn.140003270
int3
Function at 0x140043750
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x20
mov rbx, rdx
mov rdi, rcx
test rdx, rdx
jne 0x140043788
mov r8d, 0x10d
lea rdx, str.CRegPKeyReWriter::OnRemoveDevice
lea rcx, str._s__d_RETURN_ON_FALSE
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
jmp fcn.140026f80
mov ecx, dword [rdx + 0x16c]
lea eax, [rcx - 1]
test eax, 0xfffffffd
je 0x1400437df
cmp ecx, 4
jne 0x140043895
mov rbx, qword [rdx + 0x130]
call fcn.1400048a0
mov rcx, rax
mov r8, rbx
mov rdx, 0xffffffff80000002
call fcn.14004b790
test rax, rax
je 0x140043895
lea rdx, [rdi - 8]
lea rcx, [rax + 0x20]
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
jmp fcn.1400048f0
mov rax, qword [0x1400bfb88]
mov qword [rsp + 0x30], rsi
mov rsi, qword [rdx + 0x128]
test rax, rax
jne 0x14004382b
lea ecx, [rax + 0x30]
call fcn.140066208
xor ecx, ecx
mov qword [rsp + 0x38], rax
mov qword [0x1400bfb88], rax
mov qword [rax + 0x28], rcx
mov qword [rax], rcx
mov qword [rax + 8], rcx
mov qword [rax + 0x10], rcx
mov qword [rax + 0x18], rcx
mov qword [rax + 0x20], rcx
mov dword [rax + 0x28], 0xa
mov r8, rsi
mov rdx, 0xffffffff80000002
mov rcx, rax
call fcn.14004b790
mov rsi, qword [rsp + 0x30]
test rax, rax
je 0x140043854
lea rcx, [rax + 0x20]
lea rdx, [rdi - 8]
call fcn.140008520
call fcn.140008300
test dword [rax + 0x17c], 0x10000000
je 0x140043895
mov rbx, qword [rbx + 0x130]
call fcn.1400048a0
mov rcx, rax
mov r8, rbx
mov rdx, 0xffffffff80000002
call fcn.14004b790
test rax, rax
je 0x140043895
lea rcx, [rax + 0x20]
lea rdx, [rdi - 8]
call fcn.140008520
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x140044980
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x20], rbx
push rsi
sub rsp, 0x60
mov rax, qword [0x1400bb008]
xor rax, rsp
mov qword [rsp + 0x58], rax
mov ebx, r8d
mov rsi, rcx
call fcn.140008300
cmp ebx, 0x2c
jne 0x140044ad8
mov eax, dword [0x1400bf960]
mov qword [rsp + 0x78], rbp
xor ebp, ebp
mov dword [rsp + 0x50], ebp
mov dword [rsp + 0x54], ebp
test eax, eax
jg 0x1400449e1
mov r8d, 0x2ba
lea rdx, str.CDriverPropertyClient::KsProperty
lea rcx, str._s__d_RETURN_FALSE_ON_FALSE
call fcn.140026f80
jmp 0x140044a2c
movups xmm0, xmmword [0x1400810b0]
movaps xmmword [rsp + 0x40], xmm0
test eax, eax
jle 0x140044af3
mov rcx, qword [0x1400bf958]
lea rax, [rsp + 0x54]
mov qword [rsp + 0x30], rax
lea rdx, [rsp + 0x40]
xor r9d, r9d
mov dword [rsp + 0x28], 4
lea rax, [rsp + 0x50]
mov rcx, qword [rcx]
mov qword [rsp + 0x20], rax
lea r8d, [r9 + 0x38]
call fcn.140047fc0
cmp dword [rsp + 0x50], ebp
lea rdx, str.CRtkAudioDriverHelperForNormalUser::IsACPowerStateChanged
mov ebx, dword [rsi + 0x40]
lea rcx, str._s_PowerStateChange_d_SysPowerState_d_DrvAcPowerState_d
mov qword [rsp + 0x80], rdi
mov r8d, ebp
mov edi, ebp
mov r9d, ebx
sete dil
cmp ebx, edi
mov dword [rsp + 0x20], edi
setne r8b
call fcn.140026f80
cmp ebx, edi
mov dword [rsi + 0x40], edi
mov rdi, qword [rsp + 0x80]
je 0x140044ad3
call fcn.1400083c0
mov rdx, qword [rax + 0x70]
test rdx, rdx
je 0x140044aab
mov rcx, qword [rdx + 0x10]
mov rdx, qword [rdx]
test rcx, rcx
je 0x140044aa6
cmp dword [rcx + 0x140], ebp
je 0x140044aa6
cmp dword [rcx + 0x14c], ebp
jge 0x140044aa6
cmp dword [rcx + 0x16c], 1
je 0x140044aae
test rdx, rdx
jne 0x140044a81
mov rcx, rbp
mov qword [rsi + 0x38], rcx
lea r8, [0x140044b10]
xor ecx, ecx
mov qword [rsp + 0x28], rbp
mov r9, rsi
mov dword [rsp + 0x20], ebp
xor edx, edx
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_CreateThread]
mov qword [rsi + 0x48], rax
mov rbp, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140065bd0
mov rbx, qword [rsp + 0x88]
add rsp, 0x60
pop rsi
ret
mov edx, 1
mov ecx, 0xc000008c
call fcn.14002b1f0
int3
Function at 0x14004b350
Capabilities:
Query or enumerate registry value

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x50
mov rax, qword [0x1400bb008]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov rbx, qword [rcx + 0x4b0]
mov rsi, rdx
mov rdi, rcx
test rbx, rbx
je 0x14004b39f
mov rcx, qword [rbx + 0x10]
mov rbx, qword [rbx]
test rcx, rcx
je 0x14004b39a
add rcx, 4
mov rdx, rsi
call qword [sym.imp.api_ms_win_core_string_obsolete_l1_1_0.dll_lstrcmpW]
test eax, eax
je 0x14004b58e
test rbx, rbx
jne 0x14004b379
mov qword [rsp + 0x80], rbp
mov ecx, 0x110
mov qword [rsp + 0x88], r14
call fcn.140066208
xor edx, edx
mov r8d, 0x110
mov rcx, rax
mov r14, rax
call fcn.14006d020
lea rbp, [r14 + 4]
mov edx, 0x7f
mov rcx, rbp
sub rsi, rbp
nop dword [rax + rax]
lea rax, [rdx + 0x7fffff7f]
test rax, rax
je 0x14004b404
movzx eax, word [rsi + rcx]
test ax, ax
je 0x14004b404
mov word [rcx], ax
add rcx, 2
sub rdx, 1
jne 0x14004b3e0
jmp 0x14004b409
test rdx, rdx
jne 0x14004b40d
sub rcx, 2
xor esi, esi
mov word [rcx], si
cmp dword [rdi + 0x4a8], esi
je 0x14004b499
mov rcx, qword [rdi + 0x490]
mov r9, r14
mov qword [rsp + 0x28], rsi
xor r8d, r8d
mov rdx, rbp
mov qword [rsp + 0x20], rsi
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
test eax, eax
jne 0x14004b499
mov eax, dword [r14]
cmp eax, 4
je 0x14004b463
cmp eax, 0xb
jne 0x14004b499
lea r8, [r14 + 0x108]
mov rdx, rbp
lea rcx, [rdi + 0x490]
call fcn.14004ba60
jmp 0x14004b499
lea rcx, [rsp + 0x30]
mov dword [rsp + 0x30], 4
mov qword [rsp + 0x28], rcx
lea rax, [r14 + 0x108]
mov rcx, qword [rdi + 0x490]
lea r9, [rsp + 0x38]
xor r8d, r8d
mov qword [rsp + 0x20], rax
mov rdx, rbp
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
mov rbx, qword [rdi + 0x4b8]
mov rbp, qword [rsp + 0x80]
cmp qword [rdi + 0x4d0], rsi
jne 0x14004b53f
mov ecx, dword [rdi + 0x4d8]
test rcx, rcx
jne 0x14004b4c5
mov rcx, rsi
jmp 0x14004b4e0
xor edx, edx
or rax, 0xffffffffffffffff
div rcx
cmp rax, 0x18
jb 0x14004b5a3
lea rcx, [rcx + rcx*2]
shl rcx, 3
add rcx, 8
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
test rax, rax
je 0x14004b5a3
mov rcx, qword [rdi + 0x4c8]
mov qword [rax], rcx
mov qword [rdi + 0x4c8], rax
mov r8d, dword [rdi + 0x4d8]
lea ecx, [r8 - 1]
lea rdx, [rcx*2 + 1]
add rdx, rcx
sub r8d, 1
lea rdx, [rax + rdx*8]
js 0x14004b53f
mov rax, qword [rdi + 0x4d0]
mov qword [rdx], rax
mov qword [rdi + 0x4d0], rdx
sub rdx, 0x18
sub r8d, 1
jns 0x14004b524
mov rcx, qword [rdi + 0x4d0]
mov qword [rsp + 0x38], rcx
mov rax, qword [rcx]
mov qword [rcx + 0x10], r14
mov qword [rdi + 0x4d0], rax
mov qword [rcx + 8], rbx
mov qword [rcx], rsi
inc qword [rdi + 0x4c0]
mov rax, qword [rdi + 0x4b8]
test rax, rax
je 0x14004b578
mov qword [rax], rcx
jmp 0x14004b57f
mov qword [rdi + 0x4b0], rcx
mov r14, qword [rsp + 0x88]
mov qword [rdi + 0x4b8], rcx
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.140065bd0
add rsp, 0x50
pop rdi
pop rsi
pop rbx
ret
mov ecx, 0x8007000e
call fcn.140003270
int3
Function at 0x14004b5b0
Capabilities:
Query or enumerate registry value

Disassembly:
mov rax, rsp
push rdi
push r14
push r15
sub rsp, 0x70
mov qword [rax - 0x40], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov rax, qword [0x1400bb008]
xor rax, rsp
mov qword [rsp + 0x68], rax
mov rsi, rcx
mov qword [rsp + 0x40], rcx
mov r14, qword [rcx + 0x4b0]
xor r15d, r15d
nop dword [rax]
test r14, r14
je 0x14004b763
mov rdi, qword [r14 + 0x10]
mov r14, qword [r14]
mov qword [rsp + 0x30], r14
mov qword [rsp + 0x38], rdi
test rdi, rdi
je 0x14004b5f0
mov ebx, dword [rdi]
test ebx, ebx
jne 0x14004b63c
lea rdx, [rdi + 4]
mov qword [rsp + 0x28], r15
mov qword [rsp + 0x20], r15
mov r9, rdi
xor r8d, r8d
mov rcx, qword [rsi + 0x490]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
test eax, eax
jne 0x14004b63c
mov ebx, dword [rdi]
sub ebx, 1
je 0x14004b71c
sub ebx, 3
je 0x14004b6b1
cmp ebx, 7
jne 0x14004b5f0
mov qword [rsp + 0x58], r15
mov dword [rsp + 0x50], 8
lea rdx, [rdi + 4]
lea rax, [rsp + 0x50]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x58]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x60]
xor r8d, r8d
mov rcx, qword [rsi + 0x490]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
test eax, eax
jne 0x14004b5f0
cmp dword [rsp + 0x60], 0xb
jne 0x14004b5f0
mov rax, qword [rsp + 0x58]
cmp rax, qword [rdi + 0x108]
mov qword [rdi + 0x108], rax
jmp 0x14004b70e
mov dword [rsp + 0x50], r15d
mov dword [rsp + 0x58], 4
lea rdx, [rdi + 4]
lea rax, [rsp + 0x58]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x64]
xor r8d, r8d
mov rcx, qword [rsi + 0x490]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
test eax, eax
jne 0x14004b5f0
cmp dword [rsp + 0x64], 4
jne 0x14004b5f0
mov eax, dword [rsp + 0x50]
cmp eax, dword [rdi + 0x108]
mov dword [rdi + 0x108], eax
mov ecx, r15d
setne cl
test ecx, ecx
je 0x14004b5f0
mov rbx, qword [rsi + 0x48]
test rbx, rbx
je 0x14004b5f0
mov rcx, qword [rbx + 0x10]
mov rbx, qword [rbx]
mov qword [rsp + 0x58], rbx
test rcx, rcx
je 0x14004b720
mov rax, qword [rcx]
lea r8, [rdi + 4]
lea rdx, [rsi + 0x78]
call qword [rax]
nop
jmp 0x14004b720
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.140065bd0
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop r14
pop rdi
ret

Function at 0x14004ba60
Capabilities:
Query or enumerate registry value

Disassembly:
sub rsp, 0x48
mov rax, qword [0x1400bb008]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov rcx, qword [rcx]
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x34]
mov qword [rsp + 0x20], r8
xor r8d, r8d
mov dword [rsp + 0x30], 8
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
test eax, eax
jne 0x14004baac
cmp dword [rsp + 0x34], 0xb
mov ecx, 0xd
cmovne eax, ecx
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.140065bd0
add rsp, 0x48
ret
Function at 0x14004d5f0
Capabilities:
Print debug messages

Disassembly:
push rbx
sub rsp, 0x20
movzx eax, byte [rcx + 0x108]
mov rbx, rcx
test al, al
jne 0x14004d654
mov byte [rcx + 0x108], 1
call fcn.1400085d0
mov rcx, rax
mov edx, 0x3f3
call fcn.14005ec00
mov rcx, qword [rbx + 0x58]
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_SetEvent]
mov rcx, qword [rbx + 0x68]
mov edx, 0x2710
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_WaitForSingleObject]
mov r8d, 0xd5
lea rdx, str.CRpcClientEventMgr::StopRpcEventTunnel
lea rcx, [0x140081b98]
add rsp, 0x20
pop rbx
jmp fcn.140026f80
add rsp, 0x20
pop rbx
ret

Function at 0x14004d970
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x20
movzx eax, byte [rcx + 0x108]
mov rdi, r8
mov rsi, rdx
mov rbx, rcx
test al, al
je 0x14004d9bb
mov r8d, 0x154
lea rdx, str.CRpcClientEventMgr::OnPropertyValueChanged
lea rcx, str._s__d_RETURN_ON_FALSE
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
jmp fcn.140026f80
mov ecx, 0x8c
mov qword [rsp + 0x38], rbp
call fcn.140066208
xor edx, edx
mov r8d, 0x8c
mov rcx, rax
mov rbp, rax
call fcn.14006d020
mov r8, rsi
mov edx, 0x3c
mov rcx, rbp
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscpy_s]
movups xmm0, xmmword [rdi]
movups xmmword [rbp + 0x78], xmm0
mov ecx, dword [rdi + 0x10]
mov dword [rbp + 0x88], ecx
lea rcx, [rbx + 0x20]
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_EnterCriticalSection]
movzx eax, byte [rbx + 0x108]
test al, al
jne 0x14004daf0
cmp qword [rbx + 0x90], 0
mov rdi, qword [rbx + 0x78]
jne 0x14004daae
mov ecx, dword [rbx + 0x98]
test rcx, rcx
je 0x14004da4f
xor edx, edx
or rax, 0xffffffffffffffff
div rcx
cmp rax, 0x18
jb 0x14004db19
lea rcx, [rcx + rcx*2]
shl rcx, 3
add rcx, 8
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
test rax, rax
je 0x14004db19
mov rcx, qword [rbx + 0x88]
mov qword [rax], rcx
mov qword [rbx + 0x88], rax
mov r8d, dword [rbx + 0x98]
lea ecx, [r8 - 1]
lea rdx, [rcx*2 + 1]
add rdx, rcx
sub r8d, 1
lea rdx, [rax + rdx*8]
js 0x14004daae
mov rax, qword [rbx + 0x90]
mov qword [rdx], rax
mov qword [rbx + 0x90], rdx
sub rdx, 0x18
sub r8d, 1
jns 0x14004da93
mov rcx, qword [rbx + 0x90]
mov qword [rsp + 0x30], rcx
mov rax, qword [rcx]
mov qword [rcx + 0x10], rbp
mov qword [rbx + 0x90], rax
mov qword [rcx + 8], rdi
mov qword [rcx], 0
inc qword [rbx + 0x80]
mov rax, qword [rbx + 0x78]
test rax, rax
je 0x14004dae8
mov qword [rax], rcx
jmp 0x14004daec
mov qword [rbx + 0x70], rcx
mov qword [rbx + 0x78], rcx
lea rcx, [rbx + 0x20]
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_LeaveCriticalSection]
mov rcx, qword [rbx + 0x50]
mov rbp, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
jmp qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_SetEvent]
mov ecx, 0x8007000e
call fcn.140003270
int3