Function at 0x180005050
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r14
push r15
lea rbp, [rsp - 0x3c0]
sub rsp, 0x4c0
mov rax, qword [0x1800680c0]
xor rax, rsp
mov qword [rbp + 0x3b0], rax
xor r14d, r14d
lea rcx, [rsp + 0x70]
xor edx, edx
mov qword [rsp + 0x50], r14
mov r8d, 0x104
mov qword [rsp + 0x58], r14
call fcn.18004c430
lea r8, [rsp + 0x50]
mov dword [rsp + 0x48], r14d
lea rdx, str.SOFTWAREMicrosoftWindows_NTCurrentVersionNetworkCards_
mov dword [rsp + 0x40], r14d
mov rcx, 0xffffffff80000002
mov dword [rsp + 0x44], 0x104
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x1800052d6
mov rcx, qword [rsp + 0x50]
lea r9, [rsp + 0x44]
mov qword [rsp + 0x38], r14
lea r8, [rbp + 0x190]
mov qword [rsp + 0x30], r14
xor edx, edx
mov qword [rsp + 0x28], r14
mov esi, r14d
mov qword [rsp + 0x20], r14
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
test eax, eax
jne 0x1800052c6
lea r15, [0x18006bd30]
nop word [rax + rax]
lea r8, str.SOFTWAREMicrosoftWindows_NTCurrentVersionNetworkCards_
mov edx, 0x104
lea rcx, [rbp + 0x80]
call fcn.180030008
lea r8, [rbp + 0x190]
mov edx, 0x104
lea rcx, [rbp + 0x80]
call fcn.180030158
lea r8, [rsp + 0x58]
mov rcx, 0xffffffff80000002
lea rdx, [rbp + 0x80]
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x180005287
mov rcx, qword [rsp + 0x58]
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x48]
xor r8d, r8d
mov qword [rsp + 0x20], r15
lea rdx, str.ServiceName
mov dword [rsp + 0x48], 1
mov dword [rsp + 0x40], 0x104
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov rcx, qword [rsp + 0x58]
test eax, eax
jne 0x180005281
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea r8, str.._
mov edx, 0x104
lea rcx, [rsp + 0x70]
call fcn.180030008
mov r8, r15
lea rcx, [rsp + 0x70]
mov edx, 0x104
call fcn.180030158
mov qword [rsp + 0x30], r14
lea rcx, [rsp + 0x70]
mov dword [rsp + 0x28], r14d
xor r9d, r9d
mov edx, 0x80000000
mov dword [rsp + 0x20], 3
mov r8d, 1
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x180005287
mov qword [rsp + 0x38], r14
lea rax, [rsp + 0x40]
mov qword [rsp + 0x30], rax
lea r8, [rsp + 0x60]
lea rax, [rbp + 0x2a0]
mov dword [rsp + 0x28], 0x104
mov r9d, 4
mov qword [rsp + 0x20], rax
mov edx, 0x170002
mov dword [rsp + 0x60], 0x1010101
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
mov rcx, rdi
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test ebx, ebx
je 0x180005287
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x18000527c
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rax, r15
jmp 0x1800052dd
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rsp + 0x50]
lea r9, [rsp + 0x44]
mov qword [rsp + 0x38], r14
lea r8, [rbp + 0x190]
mov qword [rsp + 0x30], r14
inc esi
mov qword [rsp + 0x28], r14
mov edx, esi
mov qword [rsp + 0x20], r14
mov dword [rsp + 0x44], 0x104
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
test eax, eax
je 0x180005120
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x1800052d6
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rax, [0x1800595a3]
mov rcx, qword [rbp + 0x3b0]
xor rcx, rsp
call fcn.180023640
lea r11, [rsp + 0x4c0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop r14
pop rbp
ret