joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43f520
Capabilities:
Terminate thread

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
mov rcx, qword [0x005022e8]
test rcx, rcx
je 0x43f54a
mov rax, qword [rcx]
mov edx, 1
call qword [rax]
mov qword [0x005022e8], 0
mov rcx, qword [rbx + 0x50]
test rcx, rcx
je 0x43f59f
call fcn.00440d40
cmp dword [0x004fcdf8], 0
je 0x43f584
lea rcx, [0x004fcdd0]
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_EnterCriticalSection]
cmp dword [0x004fcdf8], 0
je 0x43f584
lea rcx, [0x004fcdd0]
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_LeaveCriticalSection]
mov rcx, qword [rbx + 0x50]
test rcx, rcx
je 0x43f59f
mov rax, qword [rcx]
mov edx, 1
call qword [rax]
mov qword [rbx + 0x50], 0
cmp qword [rbx + 0x48], 0
je 0x43f5df
call fcn.0046e420
mov rcx, qword [rbx + 0x48]
mov edx, 0x64
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x43f5cd
mov rcx, qword [rbx + 0x48]
xor edx, edx
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_TerminateThread]
mov rcx, qword [rbx + 0x48]
call qword [sym.imp.api_ms_win_core_handle_l1_1_0.dll_CloseHandle]
mov qword [rbx + 0x48], 0
add rsp, 0x20
pop rbx
ret

Function at 0x440c80
Capabilities:
Create thread

Disassembly:
push rdi
sub rsp, 0x30
mov rdi, rcx
mov edx, 0x80
lea rcx, [0x004c4ef0]
call fcn.004036d0
lea rcx, str.C:Usersjk_kanDesktopGerritSWMgrAsusSoftwareManagerAsusSoftwareManagerGiftBoxServiceGiftBoxServiceGiftBoxServiceCore.cpp
mov r8d, 0x95
lea r9, str.Create_GiftBox_Service_
lea rdx, [rcx + rax*2]
mov ecx, 1
call fcn.0044a600
lea rdx, [0x004baa2b]
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_locale_l1_1_0.dll_setlocale]
cmp qword [rdi + 8], 0
jne 0x440d35
mov ecx, 0x20
mov qword [rsp + 0x48], rbx
call fcn.0047970c
mov rbx, rax
mov qword [rsp + 0x40], rax
xor ecx, ecx
lea r8, [0x0044fce0]
xorps xmm0, xmm0
mov qword [rsp + 0x28], rcx
movups xmmword [rax], xmm0
mov r9, rbx
xor edx, edx
movups xmmword [rax + 0x10], xmm0
mov qword [rbx + 0x10], rdi
lea rax, vtable.CConnectionBroker.0
mov qword [rbx], rax
mov qword [rbx + 8], rcx
mov qword [rdi + 8], rbx
mov dword [rbx + 0x18], ecx
mov dword [rsp + 0x20], ecx
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_CreateThread]
mov qword [rbx + 8], rax
mov rbx, qword [rsp + 0x48]
mov eax, 1
add rsp, 0x30
pop rdi
ret
Function at 0x440d40
Capabilities:
Terminate thread

Disassembly:
push rbx
push rbp
push rdi
push r12
sub rsp, 0x38
mov rbp, rcx
mov qword [rsp + 0x70], r14
lea rcx, [0x004c4ef0]
mov qword [rsp + 0x30], r15
mov edx, 0x80
call fcn.004036d0
lea r12, str.C:Usersjk_kanDesktopGerritSWMgrAsusSoftwareManagerAsusSoftwareManagerGiftBoxServiceGiftBoxServiceGiftBoxServiceCore.cpp
mov ecx, 4
lea r9, str._Destroy__In
mov r8d, 0xa0
lea rdx, [r12 + rax*2]
call fcn.0044a600
cmp dword [rbp + 0x58], 0
je 0x440d9a
lea rcx, [rbp + 0x30]
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_EnterCriticalSection]
mov rax, qword [rbp + 0x20]
mov rbx, qword [rax]
cmp rbx, rax
je 0x440ee1
mov qword [rsp + 0x68], rsi
nop
mov rdi, qword [rbx + 0x28]
mov esi, dword [rbx + 0x20]
test rdi, rdi
je 0x440e1e
mov edx, 0x80
lea rcx, [0x004c4ef0]
call fcn.004036d0
lea r9, str._Destroy__Send_AgentExit_to_sessionId__d_
mov dword [rsp + 0x20], esi
mov ecx, 4
mov r8d, 0xa9
lea rdx, [r12 + rax*2]
call fcn.0044a600
xor r9d, r9d
mov byte [rsp + 0x20], 0xee
xor r8d, r8d
xor edx, edx
mov rcx, rdi
call fcn.004381a0
mov rcx, rdi
call fcn.004387d0
mov rcx, rdi
call fcn.00438000
mov edx, 0x158
mov rcx, rdi
call fcn.00479330
mov rax, qword [rbx + 0x10]
lea r8, [rbx + 0x10]
mov rdx, rbx
cmp byte [rax + 0x19], 0
je 0x440e78
mov rax, qword [rbx + 8]
cmp byte [rax + 0x19], 0
jne 0x440e53
nop dword [rax]
cmp rbx, qword [rax + 0x10]
jne 0x440e53
mov rbx, rax
mov rax, qword [rax + 8]
cmp byte [rax + 0x19], 0
je 0x440e40
mov rcx, qword [rdx + 8]
mov rbx, rax
cmp byte [rcx + 0x19], 0
jne 0x440ebc
mov rax, rdx
cmp rax, qword [rcx + 0x10]
jne 0x440ebc
mov rax, rcx
mov rcx, qword [rcx + 8]
cmp byte [rcx + 0x19], 0
je 0x440e63
jmp 0x440ebc
mov rcx, qword [rax]
mov rbx, rax
cmp byte [rcx + 0x19], 0
jne 0x440e9f
nop dword [rax]
nop dword [rax + rax]
mov rax, qword [rcx]
mov rbx, rcx
mov rcx, rax
cmp byte [rax + 0x19], 0
je 0x440e90
mov rax, qword [r8]
mov rcx, qword [rax]
cmp byte [rcx + 0x19], 0
jne 0x440ebc
nop dword [rax + rax]
mov rax, qword [rcx]
mov rcx, rax
cmp byte [rax + 0x19], 0
je 0x440eb0
lea rcx, [rbp + 0x20]
call fcn.0043bcf0
mov edx, 0x30
mov rcx, rax
call fcn.00479330
cmp rbx, qword [rbp + 0x20]
jne 0x440db0
mov rsi, qword [rsp + 0x68]
cmp dword [rbp + 0x58], 0
mov r14, qword [rsp + 0x70]
je 0x440ef6
lea rcx, [rbp + 0x30]
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_LeaveCriticalSection]
mov ecx, 0x64
call qword [sym.imp.api_ms_win_core_synch_l1_2_0.dll_Sleep]
mov rbx, qword [rbp + 8]
xor edi, edi
mov r15, qword [rsp + 0x30]
test rbx, rbx
je 0x440f46
mov rcx, qword [rbx + 8]
mov dword [rbx + 0x18], 1
test rcx, rcx
je 0x440f29
xor edx, edx
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_TerminateThread]
mov dword [rbx + 0x18], edi
mov rbx, qword [rbp + 8]
test rbx, rbx
je 0x440f46
mov rax, qword [rbx]
mov edx, 1
mov rcx, rbx
call qword [rax]
mov qword [rbp + 8], rdi
mov edx, 0x80
lea rcx, [0x004c4ef0]
call fcn.004036d0
lea r9, str._Destroy__Out
mov ecx, 4
mov r8d, 0xb4
lea rdx, [r12 + rax*2]
add rsp, 0x38
pop r12
pop rdi
pop rbp
pop rbx
jmp fcn.0044a600
Function at 0x447db0
Capabilities:
Initialize winhttp library
Reference http user-agent string

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x40
mov rsi, rcx
mov qword [rsp + 0x30], rcx
mov ecx, 0xf0
call fcn.0047970c
mov rdi, rax
mov qword [rsp + 0x30], rax
xor edx, edx
mov r8d, 0xf0
mov rcx, rax
call fcn.004a2370
xor r14d, r14d
mov qword [rdi], r14
mov qword [rdi + 0x10], r14
mov qword [rdi + 0x18], 7
mov word [rdi], r14w
lea r8d, [r14 + 0x73]
lea rdx, str.Mozilla_5.0__Windows_NT_10.0__Win64__x64__AppleWebKit_537.36__KHTML__like_Gecko__Chrome_89.0.4389.128_Safari_537.36
mov rcx, rdi
call sym.AsusSoftwareManager.exe_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t______ptr64___cdecl_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::assign_wchar_t_const__const___ptr64__unsigned_long_long_unsigned___int64_____ptr64
nop
mov byte [rdi + 0x20], r14b
mov qword [rdi + 0x28], r14
mov qword [rdi + 0x30], r14
mov qword [rdi + 0x38], r14
mov dword [rdi + 0x40], 0x7530
mov dword [rdi + 0x44], 0x7530
mov dword [rdi + 0x48], 0x7530
mov qword [rdi + 0x50], r14
mov qword [rdi + 0x58], r14
mov qword [rdi + 0x60], r14
lea rbp, [rdi + 0x68]
mov qword [rbp + 0x38], r14
lea rbx, [rdi + 0xb0]
mov qword [rsp + 0x38], rbx
mov qword [rbx], r14
mov qword [rbx + 8], r14
lfence
lea ecx, [r14 + 0x28]
call fcn.0047970c
mov qword [rax], rax
mov qword [rax + 8], rax
mov qword [rax + 0x10], rax
mov word [rax + 0x18], 0x101
mov qword [rbx], rax
lea rcx, [rdi + 0xc0]
mov dword [rcx + 0x28], 1
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_InitializeCriticalSection]
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rdi + 0x50], xmm0
mov qword [rdi + 0x60], rax
mov byte [rdi + 0xa8], al
mov rcx, qword [rbp + 0x38]
test rcx, rcx
je 0x447ec2
mov rax, qword [rcx]
cmp rcx, rbp
setne dl
call qword [rax + 0x20]
mov qword [rbp + 0x38], r14
mov rcx, rdi
cmp qword [rdi + 0x18], 8
jb 0x447ecf
mov rcx, qword [rdi]
mov dword [rsp + 0x20], r14d
xor r9d, r9d
xor r8d, r8d
xor edx, edx
call qword [sym.imp.WINHTTP.dll_WinHttpOpen]
mov qword [rdi + 0x28], rax
test rax, rax
jne 0x447ef4
mov dword [rdi + 0x60], 2
jmp 0x447f0f
mov ecx, dword [rdi + 0x48]
mov dword [rsp + 0x20], ecx
mov r9d, dword [rdi + 0x44]
mov r8d, dword [rdi + 0x40]
xor edx, edx
mov rcx, rax
call qword [sym.imp.WINHTTP.dll_WinHttpSetTimeouts]
nop
mov qword [rsi], rdi
mov rax, rsi
mov rbx, qword [rsp + 0x68]
mov rbp, qword [rsp + 0x70]
add rsp, 0x40
pop r14
pop rdi
pop rsi
ret
Function at 0x44cd30
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x90
mov rax, qword [0x004fb010]
xor rax, rsp
mov qword [rsp + 0x88], rax
mov rbx, rcx
xor edi, edi
mov qword [rsp + 0x40], rdi
mov qword [rsp + 0x50], rdi
mov qword [rsp + 0x58], 7
mov word [rsp + 0x40], di
lea r8d, [rdi + 6]
lea rdx, str.McAfee
lea rcx, [rsp + 0x40]
call sym.AsusSoftwareManager.exe_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t______ptr64___cdecl_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::assign_wchar_t_const__const___ptr64__unsigned_long_long_unsigned___int64_____ptr64
nop
mov dword [rsp + 0x84], edi
mov dword [rsp + 0x80], 4
lea r8, [rsp + 0x40]
cmp qword [rsp + 0x58], 8
cmovae r8, qword [rsp + 0x40]
lea rdx, [rbx + 0x50]
cmp qword [rdx + 0x18], 8
jb 0x44cdb3
mov rdx, qword [rdx]
lea rax, [rsp + 0x80]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x84]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rdi
mov rcx, 0xffffffff80000002
mov r9d, reloc.OLEAUT32.dll_SafeArrayGetDim
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegGetValueW]
test eax, eax
jne 0x44ce62
mov ebx, dword [rsp + 0x84]
mov rdx, qword [rsp + 0x58]
cmp rdx, 8
jb 0x44ce36
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x44ce30
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x44ce30
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.00479330
nop
jmp 0x44ce3f
mov eax, ebx
mov rcx, qword [rsp + 0x88]
xor rcx, rsp
call fcn.00479310
mov rbx, qword [rsp + 0xa8]
add rsp, 0x90
pop rdi
ret
mov r8d, eax
lea rdx, str.Cannot_read_DWORD_from_registry.
lea rcx, [rsp + 0x60]
call fcn.00457540
lea rdx, [0x004e7a40]
lea rcx, [rsp + 0x60]
call fcn.004a2510
int3
Function at 0x44ce90
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x90
mov rax, qword [0x004fb010]
xor rax, rsp
mov qword [rsp + 0x88], rax
mov rbx, rcx
xor edi, edi
mov qword [rsp + 0x40], rdi
mov qword [rsp + 0x50], rdi
mov qword [rsp + 0x58], 7
mov word [rsp + 0x40], di
lea r8d, [rdi + 8]
lea rdx, str.McAfeeBI
lea rcx, [rsp + 0x40]
call sym.AsusSoftwareManager.exe_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t______ptr64___cdecl_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::assign_wchar_t_const__const___ptr64__unsigned_long_long_unsigned___int64_____ptr64
nop
mov dword [rsp + 0x84], edi
mov dword [rsp + 0x80], 4
lea r8, [rsp + 0x40]
cmp qword [rsp + 0x58], 8
cmovae r8, qword [rsp + 0x40]
lea rdx, [rbx + 0x50]
cmp qword [rdx + 0x18], 8
jb 0x44cf13
mov rdx, qword [rdx]
lea rax, [rsp + 0x80]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x84]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rdi
mov rcx, 0xffffffff80000002
mov r9d, reloc.OLEAUT32.dll_SafeArrayGetDim
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegGetValueW]
test eax, eax
jne 0x44cfc2
mov ebx, dword [rsp + 0x84]
mov rdx, qword [rsp + 0x58]
cmp rdx, 8
jb 0x44cf96
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x44cf90
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x44cf90
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.00479330
nop
jmp 0x44cf9f
mov eax, ebx
mov rcx, qword [rsp + 0x88]
xor rcx, rsp
call fcn.00479310
mov rbx, qword [rsp + 0xa8]
add rsp, 0x90
pop rdi
ret
mov r8d, eax
lea rdx, str.Cannot_read_DWORD_from_registry.
lea rcx, [rsp + 0x60]
call fcn.00457540
lea rdx, [0x004e7a40]
lea rcx, [rsp + 0x60]
call fcn.004a2510
int3
Function at 0x455750
Capabilities:
Create process on windows

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x50
mov rdi, rcx
mov byte [rsp + 0x60], 0
mov edx, 6
xor ecx, ecx
call qword [sym.imp.api_ms_win_core_com_l1_1_0.dll_CoInitializeEx]
mov dword [rsp + 0x64], eax
test eax, eax
js 0x4558b9
mov byte [rsp + 0x60], 1
mov rcx, qword [rdi + 0x10]
call qword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
setne cl
mov rax, qword [rdi + 8]
mov byte [rax], cl
mov rax, qword [rdi + 8]
mov edx, 0x7c
cmp byte [rax], 0
je 0x455873
mov rax, qword [rdi + 0x10]
cmp qword [rax + 0x68], 0
je 0x45584a
call fcn.00454620
mov rcx, qword [rdi + 0x18]
lea rdx, str.C:Usersjk_kanDesktopGerritSWMgrAsusSoftwareManagerAsusSoftwareManagerGiftBoxServiceGiftBoxServicePackageManager.cpp
lea rdx, [rdx + rax*2]
mov eax, dword [rcx]
mov dword [rsp + 0x20], eax
lea r9, str.Timeout_is__d_ms_
mov ecx, 4
mov r8d, 0x1df
call fcn.0044b390
mov rax, qword [rdi + 0x18]
mov rcx, qword [rdi + 0x10]
mov edx, dword [rax]
mov rcx, qword [rcx + 0x68]
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_WaitForSingleObject]
mov ebx, eax
mov ecx, 0x3e8
call qword [sym.imp.api_ms_win_core_synch_l1_2_0.dll_Sleep]
test ebx, ebx
jne 0x455829
mov rcx, qword [rdi + 0x10]
mov rdx, qword [rdi + 0x20]
mov rcx, qword [rcx + 0x68]
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_GetExitCodeProcess]
test eax, eax
je 0x455829
mov rax, qword [rdi + 0x28]
mov byte [rax], 1
mov rax, qword [rdi + 0x10]
mov rcx, qword [rax + 0x68]
test rcx, rcx
je 0x4558a8
call qword [sym.imp.api_ms_win_core_handle_l1_1_0.dll_CloseHandle]
mov rax, qword [rdi + 0x10]
mov qword [rax + 0x68], 0
jmp 0x4558a8
call fcn.00454620
lea rdx, str.C:Usersjk_kanDesktopGerritSWMgrAsusSoftwareManagerAsusSoftwareManagerGiftBoxServiceGiftBoxServicePackageManager.cpp
lea rdx, [rdx + rax*2]
lea r9, str.No_attached_process_handle_
mov ecx, 4
mov r8d, 0x1f0
call fcn.0044b390
jmp 0x4558a8
call fcn.00454620
mov rbx, rax
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
lea rdx, str.C:Usersjk_kanDesktopGerritSWMgrAsusSoftwareManagerAsusSoftwareManagerGiftBoxServiceGiftBoxServicePackageManager.cpp
lea rdx, [rdx + rbx*2]
mov dword [rsp + 0x20], eax
lea r9, str.Execute_state_is_false_0x_08x_
mov ecx, 4
mov r8d, 0x1f3
call fcn.0044b390
nop
mov rbx, qword [rsp + 0x68]
add rsp, 0x50
pop rdi
jmp qword [sym.imp.api_ms_win_core_com_l1_1_0.dll_CoUninitialize]
lfence
xor r9d, r9d
xor r8d, r8d
mov edx, dword [rsp + 0x64]
lea rcx, [rsp + 0x30]
call fcn.0042ad60
lea rdx, [0x004e7930]
lea rcx, [rsp + 0x30]
call fcn.004a2510
int3
Function at 0x457660
Capabilities:
Set registry value

Disassembly:
push rbx
sub rsp, 0x70
mov rax, qword [0x004fb010]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov rbx, r8
mov qword [rsp + 0x50], rbx
mov dword [rsp + 0x58], r9d
cmp qword [r8 + 0x18], 8
jb 0x45768c
mov r8, qword [r8]
cmp qword [rdx + 0x18], 8
jb 0x457696
mov rdx, qword [rdx]
mov dword [rsp + 0x28], 4
lea rax, [rsp + 0x58]
mov qword [rsp + 0x20], rax
mov rcx, 0xffffffff80000002
mov r9d, 4
call qword [sym.imp.api_ms_win_core_registry_l1_1_1.dll_RegSetKeyValueW]
test eax, eax
jne 0x457725
mov rdx, qword [rbx + 0x18]
cmp rdx, 8
jb 0x4576fa
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbx]
cmp rdx, 0x1000
jb 0x4576f5
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x45771e
mov rcx, r8
call fcn.00479330
xor eax, eax
mov qword [rbx + 0x10], rax
mov qword [rbx + 0x18], 7
mov word [rbx], ax
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.00479310
add rsp, 0x70
pop rbx
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
mov r8d, eax
lea rdx, str.Cannot_set_DWORD_to_registry
lea rcx, [rsp + 0x30]
call fcn.00457540
lea rdx, [0x004e7a40]
lea rcx, [rsp + 0x30]
call fcn.004a2510
int3

Function at 0x457750
Capabilities:
Set registry value

Disassembly:
push rbx
sub rsp, 0x70
mov rax, qword [0x004fb010]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov rbx, r8
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x58], r9
cmp qword [r8 + 0x18], 8
jb 0x45777c
mov r8, qword [r8]
cmp qword [rdx + 0x18], 8
jb 0x457786
mov rdx, qword [rdx]
mov dword [rsp + 0x28], 8
lea rax, [rsp + 0x58]
mov qword [rsp + 0x20], rax
mov rcx, 0xffffffff80000002
mov r9d, SafeArrayGetDim
call qword [sym.imp.api_ms_win_core_registry_l1_1_1.dll_RegSetKeyValueW]
test eax, eax
jne 0x457815
mov rdx, qword [rbx + 0x18]
cmp rdx, 8
jb 0x4577ea
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbx]
cmp rdx, 0x1000
jb 0x4577e5
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x45780e
mov rcx, r8
call fcn.00479330
xor eax, eax
mov qword [rbx + 0x10], rax
mov qword [rbx + 0x18], 7
mov word [rbx], ax
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.00479310
add rsp, 0x70
pop rbx
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
mov r8d, eax
lea rdx, str.Cannot_set_DWORD64_to_registry
lea rcx, [rsp + 0x30]
call fcn.00457540
lea rdx, [0x004e7a40]
lea rcx, [rsp + 0x30]
call fcn.004a2510
int3
Function at 0x457840
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
sub rsp, 0x80
mov rax, qword [0x004fb010]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov rsi, r9
mov rdi, r8
mov rbx, rcx
mov qword [rsp + 0x48], rcx
xor ebp, ebp
mov dword [rsp + 0x40], ebp
mov dword [rsp + 0x70], ebp
mov r8, r9
cmp qword [r9 + 0x18], 8
jb 0x457883
mov r8, qword [r9]
mov rdx, rdi
cmp qword [rdi + 0x18], 8
jb 0x457890
mov rdx, qword [rdi]
lea rax, [rsp + 0x70]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], rbp
mov qword [rsp + 0x20], rbp
mov rcx, 0xffffffff80000002
mov r9d, 2
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegGetValueW]
test eax, eax
jne 0x457999
mov qword [rbx], rbp
mov qword [rbx + 0x10], rbp
mov qword [rbx + 0x18], 7
mov word [rbx], bp
mov dword [rsp + 0x40], 1
xor r8d, r8d
mov edx, dword [rsp + 0x70]
shr rdx, 1
mov rcx, rbx
call sym.AsusSoftwareManager.exe_public:_void___cdecl_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::resize_unsigned_long_long_unsigned___int64___wchar_t____ptr64
mov rax, rbx
cmp qword [rbx + 0x18], 8
jb 0x4578f8
mov rax, qword [rbx]
cmp qword [rsi + 0x18], 8
jb 0x457902
mov rsi, qword [rsi]
cmp qword [rdi + 0x18], 8
jb 0x45790c
mov rdi, qword [rdi]
lea rdx, [rsp + 0x70]
mov qword [rsp + 0x30], rdx
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rbp
mov r9d, 2
mov r8, rsi
mov rdx, rdi
mov rcx, 0xffffffff80000002
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegGetValueW]
test eax, eax
jne 0x457973
xor r8d, r8d
mov edx, dword [rsp + 0x70]
shr edx, 1
dec edx
mov rcx, rbx
call sym.AsusSoftwareManager.exe_public:_void___cdecl_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::resize_unsigned_long_long_unsigned___int64___wchar_t____ptr64
mov rax, rbx
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.00479310
mov rbx, qword [rsp + 0xa8]
add rsp, 0x80
pop rdi
pop rsi
pop rbp
ret
mov r8d, eax
lea rdx, str.Cannot_read_string_from_registry
lea rcx, [rsp + 0x50]
call fcn.00457540
lea rdx, [0x004e7a40]
lea rcx, [rsp + 0x50]
call fcn.004a2510
int3
mov r8d, eax
lea rdx, str.Cannot_read_string_from_registry
lea rcx, [rsp + 0x50]
call fcn.00457540
lea rdx, [0x004e7a40]
lea rcx, [rsp + 0x50]
call fcn.004a2510
int3
Function at 0x4579c0
Capabilities:
Set registry value

Disassembly:
push rbx
sub rsp, 0x60
mov rax, qword [0x004fb010]
xor rax, rsp
mov qword [rsp + 0x58], rax
mov rbx, r9
mov qword [rsp + 0x50], rbx
mov rcx, r9
cmp qword [r9 + 0x18], 8
jb 0x4579ea
mov rcx, qword [r9]
cmp qword [r8 + 0x18], 8
jb 0x4579f4
mov r8, qword [r8]
cmp qword [rdx + 0x18], 8
jb 0x4579fe
mov rdx, qword [rdx]
mov eax, dword [r9 + 0x10]
add eax, eax
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rcx
mov rcx, 0xffffffff80000002
mov r9d, 1
call qword [sym.imp.api_ms_win_core_registry_l1_1_1.dll_RegSetKeyValueW]
test eax, eax
jne 0x457a8a
mov rdx, qword [rbx + 0x18]
cmp rdx, 8
jb 0x457a5f
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbx]
cmp rdx, 0x1000
jb 0x457a5a
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x457a83
mov rcx, r8
call fcn.00479330
xor eax, eax
mov qword [rbx + 0x10], rax
mov qword [rbx + 0x18], 7
mov word [rbx], ax
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.00479310
add rsp, 0x60
pop rbx
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
mov r8d, eax
lea rdx, str.Cannot_set_string_to_registry
lea rcx, [rsp + 0x30]
call fcn.00457540
lea rdx, [0x004e7a40]
lea rcx, [rsp + 0x30]
call fcn.004a2510
int3
Function at 0x4580a0
Capabilities:
Delete registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x20], rbp
push rdi
sub rsp, 0x80
mov rax, qword [0x004fb010]
xor rax, rsp
mov qword [rsp + 0x70], rax
mov rbx, r8
mov rdi, rdx
mov qword [rsp + 0x40], rdx
mov qword [rsp + 0x48], rbx
cmp qword [rdx + 0x10], 0
je 0x458246
cmp qword [r8 + 0x10], 0
je 0x45826f
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
xor ebp, ebp
mov qword [rsp + 0x50], rbp
mov dword [rsp + 0x58], ebp
mov qword [rsp + 0x60], rbp
mov r8, rdx
cmp qword [rdx + 0x18], 8
jb 0x45810c
mov r8, qword [rdx]
mov r9d, 0xf003f
lea rcx, [rsp + 0x50]
call fcn.00457440
test eax, eax
jne 0x458298
mov rdx, rbx
cmp qword [rbx + 0x18], 8
jb 0x458131
mov rdx, qword [rbx]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegDeleteValueW]
test eax, eax
jne 0x458220
cmp qword [rsp + 0x50], 0
je 0x458158
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
nop
mov rdx, qword [rdi + 0x18]
cmp rdx, 8
jb 0x458197
mov rcx, qword [rdi]
lea rdx, [rdx*2 + 2]
cmp rdx, 0x1000
jb 0x458192
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x458212
mov rcx, r8
call fcn.00479330
mov qword [rdi + 0x10], rbp
mov qword [rdi + 0x18], 7
mov word [rdi], bp
mov rdx, qword [rbx + 0x18]
cmp rdx, 8
jb 0x4581e1
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbx]
cmp rdx, 0x1000
jb 0x4581dc
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x458219
mov rcx, r8
call fcn.00479330
mov qword [rbx + 0x10], rbp
mov qword [rbx + 0x18], 7
mov word [rbx], bp
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.00479310
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
mov r8d, eax
lea rdx, str.Cannot_delete_subkey_from_the_registry
lea rcx, [rsp + 0x20]
call fcn.00457540
lea rdx, [0x004e7a40]
lea rcx, [rsp + 0x20]
call fcn.004a2510
nop
mov r8d, 0x80000001
lea rdx, str.Subkey_is_empty_
lea rcx, [rsp + 0x50]
call fcn.00457540
lea rdx, [0x004e7a40]
lea rcx, [rsp + 0x50]
call fcn.004a2510
int3
mov r8d, 0x80000002
lea rdx, str.Value_name_is_empty_
lea rcx, [rsp + 0x50]
call fcn.00457540
lea rdx, [0x004e7a40]
lea rcx, [rsp + 0x50]
call fcn.004a2510
nop
mov r8d, eax
lea rdx, str.Cannot_open_subkey_from_the_registry
lea rcx, [rsp + 0x20]
call fcn.00457540
lea rdx, [0x004e7a40]
lea rcx, [rsp + 0x20]
call fcn.004a2510
int3