Function at 0x180007214
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x40]
sub rsp, 0x140
mov rax, qword [0x180013070]
xor rax, rsp
mov qword [rbp + 0x30], rax
movups xmm0, xmmword [str.NetpProvGetWindowsImageState]
movzx eax, word [0x18000f350]
xor edi, edi
mov word [rbp - 0x58], ax
mov ebx, edi
mov qword [rsp + 0x58], rdi
mov r15, r8
mov qword [rsp + 0x48], rdi
mov r12, rdx
mov dword [rsp + 0x38], 0x7e
lea r14, str._unknown_
mov qword [rsp + 0x40], rbx
mov r13b, dil
mov qword [rsp + 0x30], rdi
mov rsi, 0xffffffff80000002
movups xmm1, xmmword [0x18000f328]
movups xmmword [rsp + 0x70], xmm0
movups xmm0, xmmword [0x18000f338]
movups xmmword [rbp - 0x80], xmm1
movsd xmm1, qword [0x18000f348]
movsd qword [rbp - 0x60], xmm1
mov dword [rdx], edi
movups xmmword [rbp - 0x70], xmm0
test rcx, rcx
jne 0x180007300
lea rax, [rsp + 0x48]
mov r9d, 0x20019
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, str.SoftwareMicrosoftWindowsCurrentVersionSetupState
mov rcx, rsi
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegOpenKeyExW]
nop dword [rax + rax]
test eax, eax
je 0x18000740b
lea rcx, str._ws:_Failed_to_open_the_online_registry_WSS_key:_0x_x._n
lea rdx, [rsp + 0x70]
mov r8d, eax
call fcn.180008608
jmp 0x1800074d6
mov eax, 2
lea r9, str._system32configSOFTWARE
mov r8, rcx
movzx edx, ax
lea rcx, [rsp + 0x40]
call fcn.180009054
test eax, eax
jne 0x1800074d1
lea rcx, [rsp + 0x60]
call qword [sym.imp.RPCRT4.dll_UuidCreate]
nop dword [rax + rax]
test eax, eax
jne 0x1800074bd
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x60]
call qword [sym.imp.RPCRT4.dll_UuidToStringW]
nop dword [rax + rax]
test eax, eax
jne 0x1800074bd
mov rbx, qword [rsp + 0x40]
mov rcx, rsi
mov rdx, qword [rsp + 0x30]
mov r8, rbx
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegLoadKeyW]
nop dword [rax + rax]
test eax, eax
je 0x180007397
mov r8, rbx
lea rcx, str._ws:_RegLoadKeyW_failed_to_load_the_hive__ws:_0x_x._n
mov r9d, eax
lea rdx, [rsp + 0x70]
call fcn.180008608
jmp 0x1800074d6
mov rdx, qword [rsp + 0x30]
lea rax, [rsp + 0x58]
mov r9d, 0x20019
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov rcx, rsi
mov r13b, 1
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegOpenKeyExW]
nop dword [rax + rax]
test eax, eax
je 0x1800073d3
mov r8, qword [rsp + 0x30]
lea rcx, str._ws:_RegOpenKeyExW_failed_to_load__ws:_0x_x._n
jmp 0x180007385
mov rcx, qword [rsp + 0x58]
lea rax, [rsp + 0x48]
mov r9d, 0x20019
mov qword [rsp + 0x20], rax
xor r8d, r8d
lea rdx, str.MicrosoftWindowsCurrentVersionSetupState
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegOpenKeyExW]
nop dword [rax + rax]
test eax, eax
je 0x18000740b
lea r8, str.Select
jmp 0x1800073ca
mov rcx, qword [rsp + 0x48]
lea rax, [rsp + 0x38]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x50]
lea rax, [rbp - 0x50]
xor r8d, r8d
lea rdx, str.ImageState
mov qword [rsp + 0x20], rax
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
nop dword [rax + rax]
test eax, eax
jne 0x1800074b1
cmp dword [rsp + 0x50], 1
jne 0x1800074b1
mov eax, dword [rsp + 0x38]
and rax, 0xfffffffffffffffe
cmp rax, 0x80
jae 0x180007586
mov word [rbp + rax - 0x50], di
lea rsi, str.IMAGE_STATE_UNDEPLOYABLE
mov rdx, qword [rsi]
lea rcx, [rbp - 0x50]
call qword [sym.imp.api_ms_win_core_crt_l1_1_0.dll__wcsicmp]
nop dword [rax + rax]
test eax, eax
je 0x18000748d
inc edi
add rsi, 0x10
cmp edi, 6
jb 0x180007469
jmp 0x1800074a6
lea r14, str.IMAGE_STATE_UNDEPLOYABLE
mov ecx, edi
add rcx, rcx
mov eax, dword [r14 + rcx*8 + 8]
mov dword [r12], eax
mov r14, qword [r14 + rcx*8]
xor edi, edi
mov rsi, 0xffffffff80000002
jmp 0x1800074d6
lea rcx, str._ws:_Failed_to_read_parse_Image_State:_0x_x._n
jmp 0x1800072ee
mov r8d, eax
lea rdx, [rsp + 0x70]
lea rcx, str._ws:_UUID_creation_failed:_0x_x._n
call fcn.180008608
mov rbx, qword [rsp + 0x40]
test r15, r15
je 0x1800074de
mov qword [r15], r14
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x1800074f4
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
nop dword [rax + rax]
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x18000750a
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
nop dword [rax + rax]
test r13b, r13b
je 0x180007523
mov rdx, qword [rsp + 0x30]
mov rcx, rsi
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegUnLoadKeyW]
nop dword [rax + rax]
cmp qword [rsp + 0x30], rdi
je 0x18000753b
lea rcx, [rsp + 0x30]
call qword [sym.imp.RPCRT4.dll_RpcStringFreeW]
nop dword [rax + rax]
mov rcx, rbx
call qword [sym.imp.netutils.dll_NetApiBufferFree]
nop dword [rax + rax]
mov r8, r14
lea rdx, [rsp + 0x70]
lea rcx, str._ws:__ws._n
call fcn.180008608
mov rcx, qword [rbp + 0x30]
xor rcx, rsp
call fcn.180009470
mov rbx, qword [rsp + 0x198]
add rsp, 0x140
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call fcn.180009648
int3