Function at 0x425b10
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x11d0]
mov eax, 0x12d0
call fcn.004a5260
sub rsp, rax
mov rax, qword [0x004fb010]
xor rax, rsp
mov qword [rbp + 0x11c0], rax
mov rdi, r8
mov qword [rbp - 0x80], r8
mov r15, rdx
mov qword [rsp + 0x50], rdx
xor r14d, r14d
mov ebx, r14d
mov dword [rsp + 0x58], r14d
test r8, r8
je 0x425fde
mov esi, r9d
mov qword [rbp - 0x78], rsi
mov r8d, r9d
xor edx, edx
mov rcx, rdi
call fcn.004a2370
lea r8, str.NO_HWID
mov edx, esi
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscpy_s]
lea r9d, [r14 + 6]
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.SETUPAPI.dll_SetupDiGetClassDevsW]
mov r13, rax
cmp rax, 0xffffffffffffffff
je 0x425fde
mov dword [rbp - 0x68], 0x20
mov dword [rsp + 0x68], r14d
lea r8, [rbp - 0x68]
xor edx, edx
mov rcx, rax
call qword [sym.imp.SETUPAPI.dll_SetupDiEnumDeviceInfo]
test eax, eax
je 0x425fd4
mov dword [rsp + 0x6c], r14d
mov rcx, rbx
mov rbx, r14
mov qword [rbp - 0x70], rbx
test rcx, rcx
je 0x425be9
call fcn.00479330
mov dword [rsp + 0x58], r14d
mov rdi, r14
lea rax, [rsp + 0x58]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], r14d
mov qword [rsp + 0x20], r14
lea r9, [rsp + 0x6c]
mov r8d, 1
lea rdx, [rbp - 0x68]
mov rcx, r13
call qword [sym.imp.SETUPAPI.dll_SetupDiGetDeviceRegistryPropertyW]
test eax, eax
jne 0x425cb3
mov r15, r14
nop dword [rax + rax]
mov rdi, r15
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
cmp eax, 0x7a
jne 0x425cae
mov esi, dword [rsp + 0x58]
mov ecx, esi
call fcn.00479588
mov rbx, rax
mov r15, rax
mov r8d, esi
xor edx, edx
mov rcx, rax
call fcn.004a2370
mov qword [rbp - 0x70], rbx
test rdi, rdi
je 0x425c6d
mov rcx, rdi
call fcn.00479330
mov eax, dword [rsp + 0x58]
test rbx, rbx
cmove eax, r14d
mov dword [rsp + 0x58], eax
mov rdi, rbx
lea rcx, [rsp + 0x58]
mov qword [rsp + 0x30], rcx
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rbx
lea r9, [rsp + 0x6c]
mov r8d, 1
lea rdx, [rbp - 0x68]
mov rcx, r13
call qword [sym.imp.SETUPAPI.dll_SetupDiGetDeviceRegistryPropertyW]
test eax, eax
je 0x425c30
mov r15, qword [rsp + 0x50]
test rdi, rdi
je 0x425d92
mov rsi, 0xffffffffffffffff
inc rsi
cmp word [rdi + rsi*2], 0
jne 0x425cc3
mov rdi, 0xffffffffffffffff
inc rdi
cmp word [r15 + rdi*2], 0
jne 0x425cd4
test rsi, rsi
je 0x425d92
test rdi, rdi
je 0x425d92
mov r15d, 1
mov qword [rsp + 0x60], r14
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsdup]
mov r12, rax
lea rdx, [rsi + 1]
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsupr_s]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsdup]
mov rsi, rax
lea rdx, [rdi + 1]
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsupr_s]
lea r8, [rsp + 0x60]
lea rdx, [0x004be818]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcstok_s]
test rax, rax
je 0x425d7b
nop word [rax + rax]
mov rdx, rax
mov rcx, r12
call fcn.004a12e8
test rax, rax
cmove r15d, r14d
lea r8, [rsp + 0x60]
lea rdx, [0x004be818]
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcstok_s]
test rax, rax
jne 0x425d50
mov rcx, r12
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
test r15d, r15d
jne 0x425dbd
mov edi, dword [rsp + 0x68]
inc edi
mov dword [rsp + 0x68], edi
lea r8, [rbp - 0x68]
mov edx, edi
mov rcx, r13
call qword [sym.imp.SETUPAPI.dll_SetupDiEnumDeviceInfo]
test eax, eax
je 0x425fd4
mov r15, qword [rsp + 0x50]
jmp 0x425bd0
mov qword [rsp + 0x60], r14
xor edx, edx
mov r8d, 0x800
lea rcx, [rbp + 0x9c0]
call fcn.004a2370
xor edx, edx
mov r8d, 0x800
lea rcx, [rbp + 0x1c0]
call fcn.004a2370
mov dword [rsp + 0x74], 0x800
mov dword [rsp + 0x78], r14d
lea r8, str.0.0.0.0
mov rsi, qword [rbp - 0x78]
mov rdx, rsi
mov rdi, qword [rbp - 0x80]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscpy_s]
lea rax, [rsp + 0x74]
mov qword [rsp + 0x30], rax
mov eax, dword [rsp + 0x74]
mov dword [rsp + 0x28], eax
lea rax, [rbp + 0x1c0]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x6c]
mov r8d, 9
lea rdx, [rbp - 0x68]
mov rcx, r13
call qword [sym.imp.SETUPAPI.dll_SetupDiGetDeviceRegistryPropertyW]
lea r9, [rbp + 0x1c0]
lea r8, str.SYSTEMCurrentControlSetControlClass
lea rdx, [0x004be8a0]
lea rcx, [rbp + 0x9c0]
call fcn.00426360
lea rax, [rsp + 0x78]
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x60]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], r14
mov dword [rsp + 0x28], 0xf003f
mov dword [rsp + 0x20], r14d
xor r9d, r9d
xor r8d, r8d
lea rdx, [rbp + 0x9c0]
mov rcx, 0xffffffff80000002
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCreateKeyExW]
test eax, eax
jne 0x425fd4
mov dword [rbp - 0x78], r14d
mov dword [rbp - 0x80], 0x200
xor edx, edx
mov r8d, 0x200
lea rcx, [rbp - 0x40]
call fcn.004a2370
lea rax, [rbp - 0x80]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x40]
mov qword [rsp + 0x20], rax
lea r9, [rbp - 0x78]
xor r8d, r8d
lea rdx, [0x004be8b0]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
test eax, eax
jne 0x425fc9
mov dword [rsp + 0x70], r14d
mov dword [rsp + 0x68], r14d
lea r8, [rbp - 0x40]
mov rdx, rsi
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscpy_s]
mov r14d, 1
xor r9d, r9d
mov r8d, dword [rbp - 0x54]
lea rdx, [rsp + 0x68]
lea rcx, [rsp + 0x70]
call qword [sym.imp.api_ms_win_devices_config_l1_1_1.dll_CM_Get_DevNode_Status]
test eax, eax
jne 0x425fc9
lea edx, [rax + 0x7c]
lea rcx, str.C:Usersjk_kanDesktopGerritSWMgrAsusSoftwareManagerAsusSoftwareManagerGiftBoxServiceGiftBoxServiceCModuleVersion.cpp
call fcn.004036d0
lea rsi, [0x004be930]
lea rdx, [rsi + rax*2]
mov eax, dword [rsp + 0x68]
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0x70]
mov dword [rsp + 0x28], eax
mov rdi, qword [rsp + 0x50]
mov qword [rsp + 0x20], rdi
lea r9, str.HWID:__s__ulStatus0x_08x__ulProblemCode0x_08x
lea ecx, [r14 + 3]
mov r8d, 0x9b
call fcn.0044a600
test dword [rsp + 0x70], 0x400
je 0x425fc9
cmp dword [rsp + 0x68], r14d
jne 0x425fc9
lea edx, [r14 + 0x7b]
lea rcx, str.C:Usersjk_kanDesktopGerritSWMgrAsusSoftwareManagerAsusSoftwareManagerGiftBoxServiceGiftBoxServiceCModuleVersion.cpp
call fcn.004036d0
lea rdx, [rsi + rax*2]
mov qword [rsp + 0x20], rdi
lea r9, str.HWID:__s_____DN_HAS_PROBLEM__CM_PROB_NOT_CONFIGURED
lea ecx, [r14 + 3]
mov r8d, 0x9e
call fcn.0044a600
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
mov rcx, r13
call qword [sym.imp.SETUPAPI.dll_SetupDiDestroyDeviceInfoList]
nop
test rbx, rbx
je 0x425feb
mov rcx, rbx
call fcn.00479330
mov eax, r14d
mov rcx, qword [rbp + 0x11c0]
xor rcx, rsp
call fcn.00479310
mov rbx, qword [rsp + 0x1310]
add rsp, 0x12d0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret