Function at 0x18000c630
Capabilities:
Query or enumerate registry key

Disassembly:
mov rax, rsp
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x190
mov qword [rsp + 0xd0], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbp
mov qword [rax + 0x20], rsi
mov rax, qword [0x1800f0938]
xor rax, rsp
mov qword [rsp + 0x180], rax
mov r12, rcx
xor r13d, r13d
mov qword [rsp + 0x70], r13
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 0x18000c6aa
xor al, al
jmp 0x18000cf62
mov dword [rsp + 0x64], r13d
mov dword [rsp + 0x60], r13d
mov qword [rsp + 0x58], r13
mov qword [rsp + 0x50], r13
mov qword [rsp + 0x48], r13
mov qword [rsp + 0x40], r13
mov qword [rsp + 0x38], r13
mov qword [rsp + 0x30], r13
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 0x18000c70f
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor al, al
jmp 0x18000cf62
mov eax, dword [rsp + 0x60]
cmp eax, 0x400
ja 0x18000cf55
mov ecx, dword [rsp + 0x64]
cmp ecx, 0x400
ja 0x18000cf55
mov esi, r13d
test ecx, ecx
je 0x18000cf46
or r15, 0xffffffffffffffff
lea r14, str.SYSTEMCurrentControlSetServicesTcpipParametersInterfaces_
nop
nop
nop
lea ecx, [rax + 2]
mov eax, 2
mul rcx
cmovo rax, r15
mov rcx, rax
call fcn.180097720
mov rbp, rax
mov r9d, dword [rsp + 0x60]
add r9d, 1
mov r8, rax
mov edx, esi
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
test eax, eax
jne 0x18000cf2c
mov ecx, dword [rsp + 0x60]
add ecx, 1
mov word [rbp + rcx*2], ax
mov qword [rsp + 0x78], r13
lea rax, [rsp + 0x78]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
mov rdx, rbp
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x18000cf2c
mov qword [rsp + 0x120], 7
mov qword [rsp + 0x118], r13
mov word [rsp + 0x108], ax
mov qword [rsp + 0x148], 7
mov qword [rsp + 0x140], r13
mov word [rsp + 0x130], ax
mov qword [rsp + 0x170], 7
mov qword [rsp + 0x168], r13
mov word [rsp + 0x158], ax
mov qword [rsp + 0xf8], 7
mov qword [rsp + 0xf0], r13
mov word [rsp + 0xe0], ax
xor r8d, r8d
lea edx, [rax + 0xb]
lea rcx, [rsp + 0xd8]
call fcn.180003d30
lea rcx, [rsp + 0xe0]
mov rdx, qword [rsp + 0xf8]
cmp rdx, 8
cmovae rcx, qword [rsp + 0xe0]
add rdx, rdx
mov r9d, 0x16
lea r8, str.ServiceName
call fcn.180098b20
mov qword [rsp + 0xf0], 0xb
lea rax, [rsp + 0xe0]
cmp qword [rsp + 0xf8], 8
cmovae rax, qword [rsp + 0xe0]
mov word [rax + 0x16], 0
lea r9, [rsp + 0xd8]
mov r8, qword [rsp + 0x78]
lea rdx, [rsp + 0x80]
mov rcx, r12
call fcn.18000c3e0
nop
mov r9, r15
xor r8d, r8d
mov rdx, rax
lea rcx, [rsp + 0x100]
call fcn.1800030f0
nop
cmp qword [rsp + 0xa0], 8
jb 0x18000c8f3
mov rcx, qword [rsp + 0x88]
call fcn.180098980
mov qword [rsp + 0xa0], 7
mov qword [rsp + 0x98], r13
mov word [rsp + 0x88], 0
cmp qword [rsp + 0xf8], 8
jb 0x18000c929
mov rcx, qword [rsp + 0xe0]
call fcn.180098980
mov qword [rsp + 0xf8], 7
mov qword [rsp + 0xf0], r13
mov word [rsp + 0xe0], 0
xor r8d, r8d
lea edx, [r8 + 0xb]
lea rcx, [rsp + 0xd8]
call fcn.180003d30
lea rcx, [rsp + 0xe0]
mov rdx, qword [rsp + 0xf8]
cmp rdx, 8
cmovae rcx, qword [rsp + 0xe0]
add rdx, rdx
mov r9d, 0x16
lea r8, str.Description
call fcn.180098b20
mov qword [rsp + 0xf0], 0xb
lea rax, [rsp + 0xe0]
cmp qword [rsp + 0xf8], 8
cmovae rax, qword [rsp + 0xe0]
mov word [rax + 0x16], 0
lea r9, [rsp + 0xd8]
mov r8, qword [rsp + 0x78]
lea rdx, [rsp + 0x80]
mov rcx, r12
call fcn.18000c3e0
nop
mov r9, r15
xor r8d, r8d
mov rdx, rax
lea rcx, [rsp + 0x128]
call fcn.1800030f0
nop
cmp qword [rsp + 0xa0], 8
jb 0x18000ca06
mov rcx, qword [rsp + 0x88]
call fcn.180098980
mov qword [rsp + 0xa0], 7
mov qword [rsp + 0x98], r13
mov word [rsp + 0x88], 0
cmp qword [rsp + 0xf8], 8
jb 0x18000ca3c
mov rcx, qword [rsp + 0xe0]
call fcn.180098980
cmp qword [rsp + 0x118], 0
je 0x18000cef6
mov qword [rsp + 0xf8], 7
mov qword [rsp + 0xf0], r13
mov word [rsp + 0xe0], 0
xor r8d, r8d
lea edx, [r8 + 0x50]
lea rcx, [rsp + 0xd8]
call fcn.180003d30
lea rcx, [rsp + 0xe0]
mov rdx, qword [rsp + 0xf8]
cmp rdx, 8
cmovae rcx, qword [rsp + 0xe0]
add rdx, rdx
mov r9d, LoadRegTypeLib
lea r8, str.SYSTEMCurrentControlSetControlNetwork4D36E972_E325_11CE_BFC1_08002BE10318_
call fcn.180098b20
mov qword [rsp + 0xf0], 0x50
lea rax, [rsp + 0xe0]
cmp qword [rsp + 0xf8], 8
cmovae rax, qword [rsp + 0xe0]
mov word [rax + 0xa0], 0
mov rdi, r15
mov rax, qword [rsp + 0x118]
cmp rax, 0xffffffffffffffff
cmovb rdi, rax
mov rax, r15
mov rcx, qword [rsp + 0xf0]
sub rax, rcx
cmp rax, rdi
jbe 0x18000cb0d
lea rax, [rcx + rdi]
cmp rax, rcx
jae 0x18000cb1a
call fcn.180097730
mov rcx, qword [rsp + 0xf0]
test rdi, rdi
je 0x18000cc0b
lea rbx, [rcx + rdi]
movabs rax, 0x7ffffffffffffffe
cmp rbx, rax
jbe 0x18000cb43
call fcn.180097730
mov rcx, qword [rsp + 0xf0]
mov rdx, qword [rsp + 0xf8]
cmp rdx, rbx
jae 0x18000cb75
mov r8, rcx
mov rdx, rbx
lea rcx, [rsp + 0xd8]
call fcn.180003d30
mov rdx, qword [rsp + 0xf8]
mov rcx, qword [rsp + 0xf0]
jmp 0x18000cb9c
test rbx, rbx
jne 0x18000cb9c
mov qword [rsp + 0xf0], r13
lea rax, [rsp + 0xe0]
cmp rdx, 8
cmovae rax, qword [rsp + 0xe0]
mov word [rax], bx
jmp 0x18000cc0b
test rbx, rbx
je 0x18000cc0b
lea r8, [rsp + 0x108]
cmp qword [rsp + 0x120], 8
cmovae r8, qword [rsp + 0x108]
lea rax, [rsp + 0xe0]
cmp rdx, 8
cmovae rax, qword [rsp + 0xe0]
sub rdx, rcx
lea rcx, [rax + rcx*2]
lea r9, [rdi + rdi]
add rdx, rdx
call fcn.180098b20
mov qword [rsp + 0xf0], rbx
lea rax, [rsp + 0xe0]
cmp qword [rsp + 0xf8], 8
cmovae rax, qword [rsp + 0xe0]
mov word [rax + rbx*2], 0
mov r8d, 0xb
lea rdx, str.Connection
lea rcx, [rsp + 0xd8]
call fcn.1800053c0
mov qword [rsp + 0x68], r13
lea rdx, [rsp + 0xe0]
cmp qword [rsp + 0xf8], 8
cmovae rdx, qword [rsp + 0xe0]
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 0x18000cd62
mov qword [rsp + 0xa0], 7
mov qword [rsp + 0x98], r13
mov word [rsp + 0x88], ax
lea r9d, [rax + 8]
lea r8, str.Name
lea edx, [rax + 0xe]
lea rcx, [rsp + 0x88]
call fcn.180098b20
mov qword [rsp + 0x98], 4
lea rax, [rsp + 0x88]
cmp qword [rsp + 0xa0], 8
cmovae rax, qword [rsp + 0x88]
mov word [rax + 8], 0
lea r9, [rsp + 0x80]
mov r8, qword [rsp + 0x68]
lea rdx, [rsp + 0xa8]
mov rcx, r12
call fcn.18000c3e0
nop
mov r9, r15
xor r8d, r8d
mov rdx, rax
lea rcx, [rsp + 0x150]
call fcn.1800030f0
nop
cmp qword [rsp + 0xc8], 8
jb 0x18000cd1c
mov rcx, qword [rsp + 0xb0]
call fcn.180098980
mov qword [rsp + 0xc8], 7
mov qword [rsp + 0xc0], r13
mov word [rsp + 0xb0], 0
cmp qword [rsp + 0xa0], 8
jb 0x18000cd52
mov rcx, qword [rsp + 0x88]
call fcn.180098980
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rsp + 0x68], r13
cmp qword [rsp + 0x168], 0
je 0x18000cede
lea rax, [rsp + 0xe0]
mov r8, qword [rsp + 0xe0]
mov rdx, qword [rsp + 0xf8]
cmp rdx, 8
cmovae rax, r8
mov rcx, qword [rsp + 0xf0]
cmp r14, rax
jb 0x18000cded
lea rax, [rsp + 0xe0]
cmp rdx, 8
cmovae rax, r8
lea rax, [rax + rcx*2]
cmp rax, r14
jbe 0x18000cded
lea rax, [rsp + 0xe0]
cmp rdx, 8
cmovae rax, r8
mov r8, r14
sub r8, rax
sar r8, 1
mov r9d, 0x3e
lea rdx, [rsp + 0xd8]
lea rcx, [rsp + 0xd8]
call fcn.1800030f0
jmp 0x18000ce65
cmp rdx, 0x3e
jae 0x18000ce18
mov r8, rcx
mov edx, 0x3e
lea rcx, [rsp + 0xd8]
call fcn.180003d30
mov rdx, qword [rsp + 0xf8]
mov r8, qword [rsp + 0xe0]
lea rcx, [rsp + 0xe0]
cmp rdx, 8
cmovae rcx, r8
add rdx, rdx
mov r9d, 0x7c
mov r8, r14
call fcn.180098b20
mov qword [rsp + 0xf0], 0x3e
lea rax, [rsp + 0xe0]
cmp qword [rsp + 0xf8], 8
cmovae rax, qword [rsp + 0xe0]
mov word [rax + 0x7c], 0
mov r9, r15
xor r8d, r8d
lea rdx, [rsp + 0x100]
lea rcx, [rsp + 0xd8]
call fcn.180005270
lea rdx, [rsp + 0xe0]
cmp qword [rsp + 0xf8], 8
cmovae rdx, qword [rsp + 0xe0]
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 0x18000ced0
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rsp + 0x68], r13
jmp 0x18000cede
lea rcx, [rsp + 0x150]
call fcn.180002c90
nop
cmp qword [rsp + 0xf8], 8
jb 0x18000cef6
mov rcx, qword [rsp + 0xe0]
call fcn.180098980
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp qword [rsp + 0x168], 0
je 0x18000cf1f
lea rcx, [r12 + 0x40]
lea rdx, [rsp + 0x100]
call fcn.18000da50
nop
lea rcx, [rsp + 0x100]
call fcn.18000d0a0
mov rcx, rbp
call fcn.180099070
add esi, 1
cmp esi, dword [rsp + 0x64]
jae 0x18000cf46
mov eax, dword [rsp + 0x60]
jmp 0x18000c750
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, 1
jmp 0x18000cf62
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.180099050
lea r11, [rsp + 0x190]
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret