joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140062910
Capabilities:
Print debug messages

Disassembly:
sub rsp, 0x28
test rdx, rdx
je 0x140062978
cmp dword [rdx + 0x178], 1
jne 0x140062978
cmp dword [0x1401ad89c], 0
jne 0x140062978
cmp dword [0x1401ad898], 0
je 0x140062978
mov r8d, 0x17a
lea rdx, str.CIndependentVolumeMgr::OnAddDevice
lea rcx, [0x140119e10]
call fcn.140065460
call fcn.140062380
cmp dword [0x1401ad89c], 0
jne 0x140062978
mov r8d, 0x17f
lea rdx, str.CIndependentVolumeMgr::OnAddDevice
lea rcx, [0x140119e10]
add rsp, 0x28
jmp fcn.140065460
add rsp, 0x28
ret
Function at 0x1400657c0
Capabilities:
Print debug messages

Disassembly:
mov ecx, 1
mov dword [0x1401a44e8], 0
jmp 0x1400657c0
push rbx
sub rsp, 0x20
cmp dword [0x1401ad8a0], 0
mov ebx, ecx
jne 0x140065879
lea rcx, [0x1401ad8b0]
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_EnterCriticalSection]
cmp ebx, 1
jne 0x140065847
cmp dword [0x1401ad8ac], 0
mov dword [0x1401ad8a4], ebx
je 0x14006585a
cmp dword [0x1401a425c], 0
je 0x140065838
mov rdx, qword [0x1401ad8d8]
test rdx, rdx
jne 0x14006581c
call fcn.140064a90
mov rdx, qword [0x1401ad8d8]
test rdx, rdx
je 0x140065866
mov rcx, qword [0x1401af458]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputws]
mov rcx, qword [0x1401ad8d8]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fflush]
jmp 0x14006585a
mov rcx, qword [0x1401af458]
call qword [sym.imp.api_ms_win_core_debug_l1_1_0.dll_OutputDebugStringW]
jmp 0x14006585a
xor edx, edx
mov dword [0x1401ad8a4], 0
xor ecx, ecx
call fcn.1400651c0
lea rcx, [0x1401af458]
call fcn.140004f90
lea rcx, [0x1401ad8b0]
add rsp, 0x20
pop rbx
jmp qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_LeaveCriticalSection]
add rsp, 0x20
pop rbx
ret
Function at 0x14006b290
Capabilities:
Set registry value

Disassembly:
mov rax, rsp
push r14
sub rsp, 0x70
mov qword [rax - 0x40], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x1401a4010]
xor rax, rsp
mov qword [rsp + 0x68], rax
call fcn.140005430
mov rcx, rax
test rax, rax
je 0x14006b4c5
mov rax, qword [rax]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
add rax, 0x18
mov qword [rsp + 0x48], rax
call fcn.140021ad0
mov rbp, rax
mov esi, SafeArrayUnaccessData
xor r14d, r14d
mov r9d, esi
lea r8, str.SoftwareRealtekAudioGUI_INFORMATIONJackInfomation
lea rdx, str._sJack_d
lea rcx, [rsp + 0x48]
call fcn.1400071a0
mov dword [rsp + 0x30], r14d
lea r9, [rsp + 0x30]
lea r8, str.Docking
mov rbx, qword [rsp + 0x48]
mov rdx, rbx
mov rcx, 0xffffffff80000002
call fcn.140085ae0
cmp dword [rsp + 0x30], 0
je 0x14006b476
test rbp, rbp
je 0x14006b364
cmp esi, 0x21
jae 0x14006b364
mov eax, esi
lea rcx, [rax + rax*2]
lea rax, [rbp + 0xa0]
lea rax, [rax + rcx*4]
test rax, rax
je 0x14006b364
cmp dword [rax], 0
jne 0x14006b476
test rbx, rbx
jne 0x14006b387
mov r8d, 0xc0
lea rdx, str.CRegClient::SetRegUI4PropertyNoCreateKey
lea rcx, str._s__d_RETURN_FALSE_ON_FALSE
call fcn.140065460
jmp 0x14006b45a
xor eax, eax
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x50], r14
mov dword [rsp + 0x58], r14d
mov qword [rsp + 0x60], r14
mov rdx, rbx
mov rcx, 0xffffffff80000002
call fcn.140086bc0
test eax, eax
jne 0x14006b3b5
jmp 0x14006b45a
mov r9d, 2
mov r8, rbx
mov rdx, 0xffffffff80000002
lea rcx, [rsp + 0x50]
call fcn.140029f10
test eax, eax
je 0x14006b3f9
mov r8d, 0xce
lea rdx, str.CRegClient::SetRegUI4PropertyNoCreateKey
lea rcx, str._s__d_RETURN_FALSE_ON_FALSE
call fcn.140065460
nop
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x14006b45a
jmp 0x14006b454
mov dword [rsp + 0x40], r14d
mov dword [rsp + 0x28], 4
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
mov r9d, 4
xor r8d, r8d
lea rdx, str.JackStatus
mov rdi, qword [rsp + 0x50]
mov rcx, rdi
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegSetValueExW]
test eax, eax
je 0x14006b44c
mov r8d, 0xd2
lea rdx, str.CRegClient::SetRegUI4PropertyNoCreateKey
lea rcx, str._s__d_RETURN_FALSE_ON_FALSE
call fcn.140065460
nop
test rdi, rdi
je 0x14006b45a
mov rcx, rdi
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
mov r9d, esi
mov r8d, 0x107
lea rdx, str.CJackInfoRegWriter::DeleteUSBJackPlugStatusInReg
lea rcx, str._s__d_UIJackIndex_d_PlugState0
call fcn.140065460
inc esi
cmp esi, 0x20
jl 0x14006b2f0
lea rdx, [rbx - 0x18]
mov eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14006b49d
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.1400d37a0
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop r14
ret
mov ecx, 0x80004005
call fcn.140005560
int3
Function at 0x14006d190
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rbx, rcx
mov edi, edx
mov rcx, qword [rcx + 0x250]
call fcn.140067c00
test eax, eax
jne 0x14006d1d2
mov r8d, 0x26d
lea rdx, str.CJackMgr::UpdateOneJack
lea rcx, str._s__d_EXIT_ON_FALSE
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp fcn.140065460
mov rcx, qword [rbx + 0x250]
add rcx, 0x10
call fcn.140049450
mov rcx, qword [rbx + 0x250]
cmp edi, dword [rcx + 0x80]
jne 0x14006d20a
mov edx, dword [rcx + 0x7c]
mov r8d, 1
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x20]
mov rcx, qword [rbx + 0x250]
cmp edi, dword [rcx + 0x78]
jne 0x14006d228
mov edx, dword [rcx + 0x74]
mov r8d, 1
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x20]
mov rcx, qword [rbx + 0x250]
mov eax, 0xffffffff
lock xadd dword [rcx + 0x28], eax
mov eax, dword [rcx + 0x28]
test eax, eax
jne 0x14006d24e
mov rcx, qword [rcx + 0x20]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_SetEvent]
mov eax, dword [rcx + 0x28]
cmp eax, 0x32
jle 0x14006d26f
mov r8d, 0x6a
lea rdx, str.CDataAccessProtector::FinishAccess
lea rcx, str._s__d_calling_FinishAccess_isnt_matched_RequestAccess_or_directly_return_in_EnumAudioDeviceStart_loop
call fcn.140065460
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x14006d6b0
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push r14
sub rsp, 0x20
mov ebx, r8d
mov r14, rdx
mov rsi, rcx
cmp r8d, 0xf
jg 0x14006d7bf
mov qword [rsp + 0x30], rbp
call fcn.14002ce10
mov rbp, rax
test rax, rax
jne 0x14006d714
mov r8d, 0x578
lea rdx, str.CJackMgr::OnDriverEvent
lea rcx, str._s__d_RETURN_ON_FALSE
call fcn.140065460
mov rbp, qword [rsp + 0x30]
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
mov rcx, r14
mov qword [rsp + 0x38], rdi
call fcn.1400919b0
movsxd rdi, eax
test eax, eax
jns 0x14006d732
mov rcx, r14
call fcn.1400937e0
jmp 0x14006d737
mov eax, 0xffffffff
test edi, edi
jle 0x14006d767
cmp edi, 9
jl 0x14006d74f
mov r8d, 0x6e3
lea rdx, str.CJackInfo::MapRealHdaPinIndex
jmp 0x14006d77d
add ebx, dword [rbp + rdi*4 + 0x1730]
mov rcx, rsi
mov edx, ebx
call fcn.14006d280
mov rdi, qword [rsp + 0x38]
jmp 0x14006d6fe
test eax, eax
js 0x14006d7ab
cmp eax, 9
jl 0x14006d7a2
mov r8d, 0x6ea
lea rdx, str.CJackInfo::MapRealUsbPinIndex
lea rcx, str._s__d_RETURN_VALUE_ON_FALSE
call fcn.140065460
mov ebx, 0xffffffff
mov rcx, rsi
mov edx, ebx
call fcn.14006d280
mov rdi, qword [rsp + 0x38]
jmp 0x14006d6fe
cdqe
add ebx, dword [rbp + rax*4 + 0x1754]
mov edx, ebx
mov rcx, rsi
call fcn.14006d280
mov rdi, qword [rsp + 0x38]
jmp 0x14006d6fe
cmp ebx, 0x11
jne 0x14006d703
call fcn.14002ce10
mov rcx, rsi
mov qword [rsi + 0x250], rax
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
jmp fcn.14006cbf0

Function at 0x14006d7f0
Capabilities:
Print debug messages

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
call fcn.14002ce10
mov rcx, rbx
mov qword [rbx + 0x250], rax
add rsp, 0x20
pop rbx
jmp fcn.14006cbf0
Function at 0x14006f9e0
Capabilities:
Log keystrokes via application hook

Disassembly:
push rbx
sub rsp, 0x20
xor r9d, r9d
lea rdx, [0x14006fa70]
mov rbx, rcx
xor r8d, r8d
lea ecx, [r9 + 0xd]
call qword [sym.imp.USER32.dll_SetWindowsHookExW]
mov r8d, 0x54
lea rdx, str.CLowLevelKeyboardEventNotify::RegisterLLKeyboard
lea rcx, [0x140119e10]
mov qword [rbx + 0xb8], rax
call fcn.140065460
cmp qword [rbx + 0xb8], 0
jne 0x14006fa60
mov r8d, 0x58
lea rdx, str.CLowLevelKeyboardEventNotify::RegisterLLKeyboard
lea rcx, str._s__d_set_hook_fail__
call fcn.140065460
call fcn.14000bb60
mov rcx, rax
mov edx, 0x42e
mov r8d, 0x1388
add rsp, 0x20
pop rbx
jmp fcn.1400c8b50
add rsp, 0x20
pop rbx
ret
Function at 0x140073a00
Capabilities:
Create thread

Disassembly:
push rbx
sub rsp, 0x40
mov rax, qword [0x1401a4010]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov rbx, rcx
call fcn.1400738a0
xor ecx, ecx
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
lea r8, [0x140073a60]
mov r9, rbx
mov dword [rsp + 0x20], ecx
xor edx, edx
mov dword [rbx + 0x88], ecx
mov dword [rsp + 0x30], ecx
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_CreateThread]
mov qword [rbx + 0x78], rax
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.1400d37a0
add rsp, 0x40
pop rbx
ret
Function at 0x1400780b0
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x50
mov rax, qword [0x1401a4010]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov rbx, rcx
test rcx, rcx
jne 0x1400780f7
lea r8d, [rcx + 0x73]
lea rcx, str._s__d_RETURN_ON_FALSE
lea rdx, str.CNamedPipeHelper::SendPipeMessage
call fcn.140065460
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1400d37a0
add rsp, 0x50
pop rbx
ret
mov qword [rsp + 0x30], 0
lea rcx, str..pipeRtkAudUServiceNamedPipe
mov dword [rsp + 0x28], 0
xor r9d, r9d
xor r8d, r8d
mov dword [rsp + 0x20], 3
mov edx, 0xc0000000
mov qword [rsp + 0x68], rdi
call qword [sym.imp.api_ms_win_core_file_l1_1_0.dll_CreateFileW]
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x14007818c
lea r9, [rsp + 0x40]
mov qword [rsp + 0x20], 0
mov r8d, 0x208
mov rdx, rbx
mov rcx, rax
call qword [sym.imp.api_ms_win_core_file_l1_1_0.dll_WriteFile]
mov ecx, dword [rsp + 0x40]
lea rdx, str.CNamedPipeHelper::SendPipeMessage
mov r9d, dword [rbx]
mov r8d, 0x85
mov dword [rsp + 0x28], ecx
mov ecx, dword [rbx + 4]
mov dword [rsp + 0x20], ecx
lea rcx, str._s__d_dwEventId_x_nIndex_d_dwWritten_d
call fcn.140065460
mov rcx, rdi
call qword [sym.imp.api_ms_win_core_handle_l1_1_0.dll_CloseHandle]
jmp 0x1400781b6
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
lea r9, str..pipeRtkAudUServiceNamedPipe
mov r8d, 0x8c
lea rdx, str.CNamedPipeHelper::SendPipeMessage
mov dword [rsp + 0x20], eax
lea rcx, str._s__d_CreateFile__s__Err_d
call fcn.140065460
mov rdi, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1400d37a0
add rsp, 0x50
pop rbx
ret

Function at 0x1400785a0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
sub rsp, 0x20
mov rbp, rcx
mov rbx, rdx
mov rcx, rdx
call fcn.1400d1b10
test eax, eax
je 0x140078662
xor edx, edx
mov rcx, rbx
lea r8d, [rdx + 0x22]
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_LoadLibraryExW]
mov rbx, rax
test rax, rax
je 0x140078662
mov qword [rsp + 0x30], rsi
lea r8, [0x1401237b0]
mov qword [rsp + 0x38], rdi
mov rcx, rax
xor edi, edi
lea edx, [rdi + 0x66]
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_1.dll_FindResourceW]
mov rsi, rax
test rax, rax
je 0x14007863a
mov rdx, rax
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_SizeofResource]
test eax, eax
je 0x14007863a
mov rdx, rsi
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_LoadResource]
mov rcx, rax
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_LockResource]
mov rdi, rax
test rax, rax
je 0x14007863a
mov rdx, rax
mov rcx, rbp
call fcn.1400783d0
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_FreeLibrary]
mov rsi, qword [rsp + 0x30]
test rdi, rdi
mov rdi, qword [rsp + 0x38]
je 0x140078662
mov eax, 1
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop rbp
ret
mov rbx, qword [rsp + 0x40]
xor eax, eax
add rsp, 0x20
pop rbp
ret
Function at 0x140079fb0
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov edi, edx
mov rsi, rcx
cmp edx, 0xffffffff
je 0x14007a01a
movsxd rax, dword [rcx + 0x68]
mov byte [rax + rcx + 0x6c], dil
mov eax, dword [rcx + 0x68]
inc eax
mov dword [rcx + 0x68], eax
cmp edx, 0xa
je 0x140079fe1
cmp eax, 0x200
jne 0x14007a024
add rcx, 0x6c
mov qword [rsp + 0x30], rbx
call qword [sym.imp.api_ms_win_core_debug_l1_1_0.dll_OutputDebugStringA]
xor edx, edx
lea rcx, [rsi + 0x6c]
mov r8d, 0x200
call fcn.1400daa40
mov rbx, qword [rsp + 0x30]
mov eax, edi
mov dword [rsi + 0x68], 0
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
add rcx, 0x6c
call qword [sym.imp.api_ms_win_core_debug_l1_1_0.dll_OutputDebugStringA]
mov rsi, qword [rsp + 0x38]
mov eax, edi
add rsp, 0x20
pop rdi
ret
Function at 0x140085520
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 0x10], rbx
push rsi
sub rsp, 0x20
mov esi, edx
lea rcx, str._s__d_bMute_d
mov r9d, edx
mov r8d, 0x95
lea rdx, str.CPrivacyMute::ControlMuteAll
call fcn.140065460
call fcn.14000b9e0
mov rcx, rax
call fcn.140095b00
call fcn.14000b9e0
cmp dword [rax + 0x140], 0
jne 0x14008559b
cmp dword [0x1401ad8a8], 0
je 0x14008559b
cmp dword [0x1401ad8ac], 0
jne 0x140085582
mov rax, qword [0x1401a5308]
test byte [rax + 0x1c], 1
je 0x14008559b
mov r8d, 0x3e
lea rdx, str.CMMPlatform::AudioDevList_GetHeadPosition
lea rcx, str._s__d_please_call_AudioDevList_AddRef_before_AudioDevList_GetHeadPosition
call fcn.140065460
mov qword [rsp + 0x30], rdi
call fcn.14000b9e0
mov rbx, qword [rax + 0xe0]
test rbx, rbx
je 0x14008563e
call fcn.14000b9e0
call fcn.14000b9e0
test rbx, rbx
je 0x1400856aa
mov rdi, qword [rbx + 0x10]
mov rbx, qword [rbx]
test rdi, rdi
je 0x140085635
cmp dword [rdi + 0x184], 1
jne 0x140085635
mov rcx, rdi
call fcn.140017a40
test eax, eax
jne 0x140085635
mov rax, qword [rdi + 0x110]
test rax, rax
je 0x1400855fe
cmp dword [rdi + 0x100], 0
jne 0x140085611
lea rcx, [rdi + 0xc8]
call fcn.140010820
mov rax, qword [rdi + 0x110]
cmp qword [rax + 0x10], 0
jbe 0x140085635
mov rcx, qword [rax]
test rcx, rcx
je 0x1400856aa
mov rcx, qword [rcx + 0x10]
test rcx, rcx
je 0x140085635
mov rax, qword [rcx]
mov edx, esi
call qword [rax + 0x10]
test rbx, rbx
jne 0x1400855b5
call fcn.14000b9e0
sub dword [rax + 0x140], 1
mov ecx, dword [rax + 0x140]
jne 0x140085661
mov rcx, qword [rax + 0x150]
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_SetEvent]
jmp 0x14008567f
cmp ecx, 0x32
jle 0x14008567f
mov r8d, 0x80
lea rdx, str.CMMPlatform::AudioDevList_Release
lea rcx, str._s__d_calling_AudioDevList_Release_isnt_matched_AudioDevList_AddRef_or_directly_return_in_EnumAudioDeviceStart_loop
call fcn.140065460
mov r9d, esi
lea rdx, str.CPrivacyMute::ControlMuteAll
mov r8d, 0xa6
lea rcx, str._s__d_bMute_d
mov rdi, qword [rsp + 0x30]
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rsi
jmp fcn.140065460
mov ecx, 0x80004005
call fcn.140005560
int3
Function at 0x140085ae0
Capabilities:
Query or enumerate registry value

Disassembly:
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x70
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov rax, qword [0x1401a4010]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov rsi, r9
mov r14, r8
mov rbp, rdx
test rdx, rdx
jne 0x140085b2d
lea r8d, [rdx + 0x68]
lea rdx, str.CRegClient::GetRegUI4Property
lea rcx, str._s__d_RETURN_FALSE_ON_FALSE
call fcn.140065460
xor eax, eax
jmp 0x140085ba3
test rsi, rsi
jne 0x140085b38
lea r8d, [rsi + 0x69]
jmp 0x140085b16
xor eax, eax
mov qword [rsp + 0x50], rax
xor r15d, r15d
mov qword [rsp + 0x48], r15
mov dword [rsp + 0x50], r15d
mov qword [rsp + 0x58], r15
mov dword [rsp + 0x38], r15d
mov edi, 1
mov r9d, edi
mov r8, rbp
mov rdx, rcx
lea rcx, [rsp + 0x48]
call fcn.140029f10
test eax, eax
je 0x140085bbc
mov r9, rbp
mov r8d, eax
lea rdx, str.CRegClient::GetRegUI4Property
lea rcx, str._s_nRet_d_szRegKey_s
call fcn.140065460
mov edi, r15d
cmp qword [rsp + 0x48], 0
je 0x140085ba1
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
mov eax, edi
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.1400d37a0
add rsp, 0x70
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
mov dword [rsp + 0x3c], 4
lea rax, [rsp + 0x3c]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x38]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x40]
xor r8d, r8d
mov rdx, r14
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
test eax, eax
jne 0x140085b8b
cmp dword [rsp + 0x40], 4
jne 0x140085b8b
mov eax, dword [rsp + 0x38]
mov dword [rsi], eax
jmp 0x140085b8e
Function at 0x140085c10
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 [0x1401a4010]
xor rax, rsp
mov qword [rsp + 0x58], rax
mov r15d, r9d
mov r14, r8
mov rsi, rdx
mov rbp, rcx
test rdx, rdx
jne 0x140085c66
mov r8d, 0x83
lea rdx, str.CRegClient::SetRegUI4Property
lea rcx, str._s__d_RETURN_FALSE_ON_FALSE
call fcn.140065460
xor eax, eax
jmp 0x140085d4e
test r14, r14
jne 0x140085c73
mov r8d, 0x84
jmp 0x140085c4c
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.140086bc0
test eax, eax
jne 0x140085caf
xor r8d, r8d
mov rdx, rsi
mov rcx, rbp
call fcn.140085e90
test eax, eax
jne 0x140085caf
mov r8d, 0x8d
jmp 0x140085d24
mov r9d, 2
mov r8, rsi
mov rdx, rbp
lea rcx, [rsp + 0x40]
call fcn.140029f10
test eax, eax
je 0x140085ce9
mov r8d, 0x92
lea rdx, str.CRegClient::SetRegUI4Property
lea rcx, str._s__d_RETURN_FALSE_ON_FALSE
call fcn.140065460
mov rbx, qword [rsp + 0x40]
jmp 0x140085d3e
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 rbx, qword [rsp + 0x40]
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegSetValueExW]
test eax, eax
je 0x140085d39
mov r8d, 0x96
lea rdx, str.CRegClient::SetRegUI4Property
lea rcx, str._s__d_RETURN_FALSE_ON_FALSE
call fcn.140065460
jmp 0x140085d3e
mov edi, 1
test rbx, rbx
je 0x140085d4c
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.1400d37a0
add rsp, 0x68
pop r15
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x140085d70
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 [0x1401a4010]
xor rax, rsp
mov qword [rsp + 0x58], rax
mov rsi, r9
mov r14, r8
mov rbp, qword [rsp + 0xb0]
test rdx, rdx
jne 0x140085dc5
mov r8d, 0xda
lea rdx, str.CRegClient::GetRegBinary
lea rcx, str._s__d_RETURN_FALSE_ON_FALSE
call fcn.140065460
xor eax, eax
jmp 0x140085e72
test rbp, rbp
jne 0x140085dd2
mov r8d, 0xdc
jmp 0x140085dab
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.140029f10
test eax, eax
je 0x140085e0b
mov r8d, 0xe5
jmp 0x140085e48
test rsi, rsi
je 0x140085e15
mov rax, qword [rsi]
jmp 0x140085e17
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 0x140085e42
cmp dword [rsp + 0x38], 3
je 0x140085e5d
mov r8d, 0xe9
lea rdx, str.CRegClient::GetRegBinary
lea rcx, str._s__d_RETURN_FALSE_ON_FALSE
call fcn.140065460
xor edi, edi
cmp qword [rsp + 0x40], 0
je 0x140085e70
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.1400d37a0
add rsp, 0x68
pop r14
pop rdi
pop rsi
pop rbp
ret

Function at 0x140086130
Capabilities:
Delete registry value

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x70
mov qword [rsp + 0x40], 0xfffffffffffffffe
mov rax, qword [0x1401a4010]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov r12d, r9d
mov r15, r8
mov r14, rdx
mov rbp, rcx
xor eax, eax
mov qword [rsp + 0x50], rax
xor edi, edi
mov qword [rsp + 0x48], rdi
mov dword [rsp + 0x50], edi
mov qword [rsp + 0x58], rdi
or r9d, 0x20006
mov r8, rdx
mov rdx, rcx
lea rcx, [rsp + 0x48]
call fcn.140029f10
mov esi, eax
mov rbx, qword [rsp + 0x48]
test eax, eax
jne 0x1400861c6
mov rdx, r15
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegDeleteValueW]
mov esi, eax
test eax, eax
je 0x1400861f0
mov dword [rsp + 0x30], eax
mov qword [rsp + 0x28], r15
mov r8d, 0x147
lea rcx, str._s__d_DeleteValue__x_s_s__nRet_d
jmp 0x1400861dc
mov dword [rsp + 0x30], r12d
mov dword [rsp + 0x28], eax
mov r8d, 0x14c
lea rcx, str._s__d_Open__x_s__nRet_d_AccMask_x
mov qword [rsp + 0x20], r14
mov r9, rbp
lea rdx, str.CRegClient::DeleteRegValue
call fcn.140065460
test rbx, rbx
je 0x140086201
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 0x140086215
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
mov eax, edi
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.1400d37a0
add rsp, 0x70
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x140086a70
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 [0x1401a4010]
xor rax, rsp
mov qword [rsp + 0x50], rax
mov rdi, r9
mov r15, r8
mov r14, rdx
mov rsi, rcx
xor eax, eax
mov qword [rsp + 0x40], rax
xor ebx, ebx
mov ebp, ebx
mov qword [rsp + 0x38], rbx
mov dword [rsp + 0x40], ebx
mov qword [rsp + 0x48], rbx
call fcn.140086bc0
test eax, eax
jne 0x140086af3
xor r8d, r8d
mov rdx, r14
mov rcx, rsi
call fcn.140085e90
test eax, eax
jne 0x140086af3
mov r8d, 0x1e8
lea rdx, str.CRegClient::SetRegStringValue
lea rcx, str._s__d_RETURN_FALSE_ON_FALSE
call fcn.140065460
jmp 0x140086b94
mov r9d, 2
mov r8, r14
mov rdx, rsi
lea rcx, [rsp + 0x38]
call fcn.140029f10
mov esi, eax
mov r9d, eax
mov r8d, 0x1ee
lea rdx, str.CRegClient::SetRegStringValue
lea rcx, str._s__d_nRet_d
call fcn.140065460
mov rbp, qword [rsp + 0x38]
test esi, esi
jne 0x140086b91
test rdi, rdi
jne 0x140086b3a
lea esi, [rdi + 0xd]
jmp 0x140086b73
mov rax, 0xffffffffffffffff
lea rax, [rax + 1]
cmp word [rdi + rax*2], 0
jne 0x140086b41
lea eax, [rax*2 + 2]
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rdi
mov r9d, 1
xor r8d, r8d
mov rdx, r15
mov rcx, rbp
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegSetValueExW]
mov esi, eax
mov r9d, esi
mov r8d, 0x1f5
lea rdx, str.CRegClient::SetRegStringValue
lea rcx, str._s__d_nRet_d
call fcn.140065460
test esi, esi
sete bl
test rbp, rbp
je 0x140086ba2
mov rcx, rbp
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.1400d37a0
add rsp, 0x68
pop r15
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret