Function at 0x180052030
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0x1e8
mov rax, qword [0x1801060b8]
xor rax, rsp
mov qword [rsp + 0x1d8], rax
mov dword [rsp + 0x1b0], 0
mov dword [rsp + 0x1b4], 0
cmp qword [rsp + 0x208], 0
jne 0x180052091
mov r8d, 0x5e7
lea rdx, [0x1800d87b0]
lea rcx, str.pulInstalledFeatures
call fcn.1800a60d0
xor eax, eax
cmp qword [rsp + 0x208], 0
jne 0x1800520a6
mov eax, 0x57
jmp 0x180052574
mov rax, qword [rsp + 0x208]
mov dword [rax], 0
lea rax, [rsp + 0x1c0]
mov rdi, rax
xor eax, eax
mov ecx, 0x18
rep stosb byte [rdi], al
mov qword [rsp + 0x1c0], 0
mov dword [rsp + 0x1c8], 0
mov qword [rsp + 0x1d0], 0
mov r9d, 0x2001f
lea r8, str.SYSTEMCurrentControlSetServiceseppParameters
mov rdx, 0xffffffff80000002
lea rcx, [rsp + 0x1c0]
call fcn.1800629e0
mov dword [rsp + 0x1b0], eax
cmp dword [rsp + 0x1b0], 0
je 0x18005223b
mov rax, qword [rsp + 0x200]
add rax, 0x418
xor edx, edx
mov rcx, rax
call fcn.18000ea90
movzx eax, al
test eax, eax
je 0x18005221a
mov rax, qword [rsp + 0xd0]
mov qword [rsp + 0x80], rax
mov rax, qword [rsp + 0x200]
mov rax, qword [rax + 0x418]
mov qword [rsp + 0xb8], rax
mov rax, qword [rsp + 0xb8]
mov qword [rsp + 0x80], rax
mov eax, dword [rsp + 0x1b0]
mov dword [rsp + 0x48], eax
lea rdx, [0x1800d88c8]
lea rcx, [rsp + 0x160]
call fcn.180002a40
nop
mov r9d, dword [rsp + 0x48]
lea r8, str.Open_EPP_PARAMS_KEY
lea rdx, [rsp + 0x160]
lea rcx, [rsp + 0x190]
call fcn.180056040
mov qword [rsp + 0xc0], rax
mov rax, qword [rsp + 0xc0]
mov qword [rsp + 0xc8], rax
mov rax, qword [rsp + 0xc8]
mov qword [rsp + 0x98], rax
mov r8, qword [rsp + 0x98]
mov edx, 4
mov rcx, qword [rsp + 0x80]
call fcn.180059b40
nop
lea rcx, [rsp + 0x190]
call fcn.1800029a0
nop
lea rcx, [rsp + 0x160]
call fcn.1800029a0
mov eax, dword [rsp + 0x1b0]
mov dword [rsp + 0x4c], eax
lea rcx, [rsp + 0x1c0]
call fcn.180062250
mov eax, dword [rsp + 0x4c]
jmp 0x180052574
xor eax, eax
test eax, eax
jne 0x18005223b
mov dword [rsp + 0x1b8], 4
lea rax, [rsp + 0x1b8]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x1b4]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x1bc]
xor r8d, r8d
lea rdx, str.InstalledFeatures
mov rcx, qword [rsp + 0x1c0]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [rsp + 0x34], eax
cmp dword [rsp + 0x34], 0
je 0x18005229b
mov eax, dword [rsp + 0x34]
mov dword [rsp + 0x30], eax
jmp 0x1800522b7
cmp dword [rsp + 0x1bc], 4
je 0x1800522af
mov dword [rsp + 0x30], 0xd
jmp 0x1800522b7
mov dword [rsp + 0x30], 0
mov eax, dword [rsp + 0x30]
mov dword [rsp + 0x1b0], eax
mov dword [rsp + 0x50], 0
cmp qword [rsp + 0x1c0], 0
je 0x1800522f3
mov rcx, qword [rsp + 0x1c0]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [rsp + 0x50], eax
mov qword [rsp + 0x1c0], 0
mov dword [rsp + 0x1c8], 0
mov rax, qword [rsp + 0x208]
mov ecx, dword [rsp + 0x1b4]
mov dword [rax], ecx
mov rax, qword [rsp + 0x200]
add rax, 0x418
xor edx, edx
mov rcx, rax
call fcn.18000ea90
movzx eax, al
test eax, eax
je 0x180052558
mov rax, qword [rsp + 0xd8]
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0x200]
mov rax, qword [rax + 0x418]
mov qword [rsp + 0xa0], rax
mov rax, qword [rsp + 0xa0]
mov qword [rsp + 0x78], rax
lea rax, [rsp + 0x180]
mov qword [rsp + 0x90], rax
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0x88], rax
mov rax, qword [rsp + 0x88]
lea rcx, str._Result:__:x
mov qword [rax], rcx
xor eax, eax
test eax, eax
je 0x1800523d7
lea rax, str._Result:__:x
mov qword [rsp + 0xa8], rax
mov qword [rsp + 0x38], 0xffffffffffffffff
inc qword [rsp + 0x38]
mov rax, qword [rsp + 0xa8]
mov rcx, qword [rsp + 0x38]
cmp byte [rax + rcx], 0
jne 0x1800523b3
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x58], rax
jmp 0x18005241f
mov rax, qword [rsp + 0xe0]
mov qword [rsp + 0x58], rax
lea rax, str._Result:__:x
mov qword [rsp + 0xb0], rax
mov qword [rsp + 0x40], 0xffffffffffffffff
inc qword [rsp + 0x40]
mov rax, qword [rsp + 0xb0]
mov rcx, qword [rsp + 0x40]
cmp word [rax + rcx*2], 0
jne 0x1800523fc
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x88]
mov rcx, qword [rsp + 0x58]
mov qword [rax + 8], rcx
lea rax, [rsp + 0x100]
mov rdi, rax
mov rsi, qword [rsp + 0x90]
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
lea rax, [rsp + 0x110]
lea rcx, [rsp + 0x100]
mov rdi, rax
mov rsi, rcx
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0xe8]
mov qword [rsp + 0x60], rax
lea rax, [rsp + 0x1b4]
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0xf0]
mov qword [rsp + 0x68], rax
lea rax, [rsp + 0x1b0]
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0xf8]
mov qword [rsp + 0x70], rax
lea rax, str.EppLibClass::EppGetInstalledFeatures
mov qword [rsp + 0x70], rax
lea rax, [rsp + 0x120]
lea rcx, [rsp + 0x110]
mov rdi, rax
mov rsi, rcx
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
lea rax, [rsp + 0x130]
lea rcx, [rsp + 0x120]
mov rdi, rax
mov rsi, rcx
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
lea rax, [rsp + 0x140]
lea rcx, [rsp + 0x130]
mov rdi, rax
mov rsi, rcx
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
lea rax, [rsp + 0x150]
lea rcx, [rsp + 0x140]
mov rdi, rax
mov rsi, rcx
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x70]
lea r8, [rsp + 0x150]
mov edx, 2
mov rcx, qword [rsp + 0x78]
call fcn.180059420
mov eax, dword [rsp + 0x1b0]
mov dword [rsp + 0x54], eax
lea rcx, [rsp + 0x1c0]
call fcn.180062250
mov eax, dword [rsp + 0x54]
mov rcx, qword [rsp + 0x1d8]
xor rcx, rsp
call fcn.180099a00
add rsp, 0x1e8
pop rdi
pop rsi
ret