Function at 0x18001b3d0
Capabilities:
Query or enumerate registry key

Disassembly:
mov rax, rsp
push rsi
push rdi
push r12
sub rsp, 0x190
mov qword [rsp + 0xa8], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbp
mov rax, qword [0x18006e168]
xor rax, rsp
mov qword [rsp + 0x180], rax
mov rsi, rcx
xor ebp, ebp
mov qword [rsp + 0x70], rbp
lea rax, [rsp + 0x70]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
lea rdx, str.SOFTWAREMicrosoftWindows_NTCurrentVersionNetworkCards
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x18001b440
xor al, al
jmp 0x18001b84b
mov dword [rsp + 0x64], ebp
mov dword [rsp + 0x60], ebp
mov qword [rsp + 0x58], rbp
mov qword [rsp + 0x50], rbp
mov qword [rsp + 0x48], rbp
mov qword [rsp + 0x40], rbp
mov qword [rsp + 0x38], rbp
mov qword [rsp + 0x30], rbp
lea rax, [rsp + 0x60]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x64]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
test eax, eax
je 0x18001b4a3
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor al, al
jmp 0x18001b84b
mov eax, dword [rsp + 0x60]
cmp eax, 0x400
ja 0x18001b83e
mov ecx, dword [rsp + 0x64]
cmp ecx, 0x400
ja 0x18001b83e
mov ebx, ebp
test ecx, ecx
je 0x18001b82f
or r12, 0xffffffffffffffff
lea ecx, [rax + 2]
mov eax, 2
mul rcx
cmovo rax, r12
mov rcx, rax
call fcn.18003e520
mov rdi, rax
mov r9d, dword [rsp + 0x60]
add r9d, 1
mov r8, rax
mov edx, ebx
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
test eax, eax
jne 0x18001b815
mov ecx, dword [rsp + 0x60]
add ecx, 1
mov word [rdi + rcx*2], ax
mov qword [rsp + 0x78], rbp
lea rax, [rsp + 0x78]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
mov rdx, rdi
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x18001b815
lea rcx, [rsp + 0x100]
call fcn.1800014c0
lea rcx, [rsp + 0x128]
call fcn.1800014c0
lea rcx, [rsp + 0x150]
call fcn.1800014c0
nop
lea rdx, str.ServiceName
lea rcx, [rsp + 0xd8]
call fcn.180001510
nop
lea r9, [rsp + 0xd8]
mov r8, qword [rsp + 0x78]
lea rdx, [rsp + 0x80]
mov rcx, rsi
call fcn.18001b2a0
nop
mov rdx, rax
lea rcx, [rsp + 0x100]
call fcn.180001590
nop
lea rcx, [rsp + 0x80]
call fcn.180001570
nop
lea rcx, [rsp + 0xd8]
call fcn.180001570
lea rdx, str.Description
lea rcx, [rsp + 0xd8]
call fcn.180001510
nop
lea r9, [rsp + 0xd8]
mov r8, qword [rsp + 0x78]
lea rdx, [rsp + 0x80]
mov rcx, rsi
call fcn.18001b2a0
nop
mov rdx, rax
lea rcx, [rsp + 0x128]
call fcn.180001590
nop
lea rcx, [rsp + 0x80]
call fcn.180001570
nop
lea rcx, [rsp + 0xd8]
call fcn.180001570
lea rcx, [rsp + 0x100]
call fcn.180003130
test al, al
jne 0x18001b7c0
lea rdx, str.SYSTEMCurrentControlSetControlNetwork4D36E972_E325_11CE_BFC1_08002BE10318_
lea rcx, [rsp + 0xd8]
call fcn.180001510
nop
lea rdx, [rsp + 0x100]
lea rcx, [rsp + 0xd8]
call fcn.1800046b0
lea rdx, str.Connection
lea rcx, [rsp + 0xd8]
call fcn.1800046e0
mov qword [rsp + 0x68], rbp
lea rcx, [rsp + 0xd8]
call fcn.180003110
mov rdx, rax
lea rax, [rsp + 0x68]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x18001b725
lea rdx, str.Name
lea rcx, [rsp + 0x80]
call fcn.180001510
nop
lea r9, [rsp + 0x80]
mov r8, qword [rsp + 0x68]
lea rdx, [rsp + 0xb0]
mov rcx, rsi
call fcn.18001b2a0
nop
mov rdx, rax
lea rcx, [rsp + 0x150]
call fcn.180001590
nop
lea rcx, [rsp + 0xb0]
call fcn.180001570
nop
lea rcx, [rsp + 0x80]
call fcn.180001570
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rsp + 0x68], rbp
lea rcx, [rsp + 0x150]
call fcn.180003130
test al, al
jne 0x18001b7b3
lea rdx, str.SYSTEMCurrentControlSetServicesTcpipParametersInterfaces_
lea rcx, [rsp + 0xd8]
call fcn.180004680
lea rdx, [rsp + 0x100]
lea rcx, [rsp + 0xd8]
call fcn.1800046b0
lea rcx, [rsp + 0xd8]
call fcn.180003110
mov rdx, rax
lea rax, [rsp + 0x68]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x18001b7a5
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rsp + 0x68], rbp
jmp 0x18001b7b3
lea rcx, [rsp + 0x150]
call fcn.1800047c0
nop
lea rcx, [rsp + 0xd8]
call fcn.180001570
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rcx, [rsp + 0x150]
call fcn.180003130
test al, al
jne 0x18001b7ee
lea rcx, [rsi + 0x40]
lea rdx, [rsp + 0x100]
call fcn.18001c210
nop
lea rcx, [rsp + 0x150]
call fcn.180001570
lea rcx, [rsp + 0x128]
call fcn.180001570
lea rcx, [rsp + 0x100]
call fcn.180001570
mov rcx, rdi
call sub.MSVCR80.dll_void___cdecl_operator_delete___void____ptr64_
add ebx, 1
cmp ebx, dword [rsp + 0x64]
jae 0x18001b82f
mov eax, dword [rsp + 0x60]
jmp 0x18001b4d0
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, 1
jmp 0x18001b84b
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor al, al
mov rcx, qword [rsp + 0x180]
xor rcx, rsp
call fcn.18003f5f0
lea r11, [rsp + 0x190]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsp, r11
pop r12
pop rdi
pop rsi
ret