Function at 0x1800108f0
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 [0x1800fca30]
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 0x18001096a
xor al, al
jmp 0x180011222
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 0x1800109cf
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor al, al
jmp 0x180011222
mov eax, dword [rsp + 0x60]
cmp eax, 0x400
ja 0x180011215
mov ecx, dword [rsp + 0x64]
cmp ecx, 0x400
ja 0x180011215
mov esi, r13d
test ecx, ecx
je 0x180011206
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.1800a09e0
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 0x1800111ec
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 0x1800111ec
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.180003710
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.1800a1c40
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.1800106a0
nop
mov r9, r15
xor r8d, r8d
mov rdx, rax
lea rcx, [rsp + 0x100]
call fcn.1800030a0
nop
cmp qword [rsp + 0xa0], 8
jb 0x180010bb3
mov rcx, qword [rsp + 0x88]
call fcn.1800a2030
mov qword [rsp + 0xa0], 7
mov qword [rsp + 0x98], r13
mov word [rsp + 0x88], 0
cmp qword [rsp + 0xf8], 8
jb 0x180010be9
mov rcx, qword [rsp + 0xe0]
call fcn.1800a2030
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.180003710
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.1800a1c40
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.1800106a0
nop
mov r9, r15
xor r8d, r8d
mov rdx, rax
lea rcx, [rsp + 0x128]
call fcn.1800030a0
nop
cmp qword [rsp + 0xa0], 8
jb 0x180010cc6
mov rcx, qword [rsp + 0x88]
call fcn.1800a2030
mov qword [rsp + 0xa0], 7
mov qword [rsp + 0x98], r13
mov word [rsp + 0x88], 0
cmp qword [rsp + 0xf8], 8
jb 0x180010cfc
mov rcx, qword [rsp + 0xe0]
call fcn.1800a2030
cmp qword [rsp + 0x118], 0
je 0x1800111b6
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.180003710
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.1800a1c40
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 0x180010dcd
lea rax, [rcx + rdi]
cmp rax, rcx
jae 0x180010dda
call fcn.1800a09f0
mov rcx, qword [rsp + 0xf0]
test rdi, rdi
je 0x180010ecb
lea rbx, [rcx + rdi]
movabs rax, 0x7ffffffffffffffe
cmp rbx, rax
jbe 0x180010e03
call fcn.1800a09f0
mov rcx, qword [rsp + 0xf0]
mov rdx, qword [rsp + 0xf8]
cmp rdx, rbx
jae 0x180010e35
mov r8, rcx
mov rdx, rbx
lea rcx, [rsp + 0xd8]
call fcn.180003710
mov rdx, qword [rsp + 0xf8]
mov rcx, qword [rsp + 0xf0]
jmp 0x180010e5c
test rbx, rbx
jne 0x180010e5c
mov qword [rsp + 0xf0], r13
lea rax, [rsp + 0xe0]
cmp rdx, 8
cmovae rax, qword [rsp + 0xe0]
mov word [rax], bx
jmp 0x180010ecb
test rbx, rbx
je 0x180010ecb
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.1800a1c40
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.1800029d0
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 0x180011022
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.1800a1c40
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.1800106a0
nop
mov r9, r15
xor r8d, r8d
mov rdx, rax
lea rcx, [rsp + 0x150]
call fcn.1800030a0
nop
cmp qword [rsp + 0xc8], 8
jb 0x180010fdc
mov rcx, qword [rsp + 0xb0]
call fcn.1800a2030
mov qword [rsp + 0xc8], 7
mov qword [rsp + 0xc0], r13
mov word [rsp + 0xb0], 0
cmp qword [rsp + 0xa0], 8
jb 0x180011012
mov rcx, qword [rsp + 0x88]
call fcn.1800a2030
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rsp + 0x68], r13
cmp qword [rsp + 0x168], 0
je 0x18001119e
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 0x1800110ad
lea rax, [rsp + 0xe0]
cmp rdx, 8
cmovae rax, r8
lea rax, [rax + rcx*2]
cmp rax, r14
jbe 0x1800110ad
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.1800030a0
jmp 0x180011125
cmp rdx, 0x3e
jae 0x1800110d8
mov r8, rcx
mov edx, 0x3e
lea rcx, [rsp + 0xd8]
call fcn.180003710
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.1800a1c40
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.180002f50
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 0x180011190
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rsp + 0x68], r13
jmp 0x18001119e
lea rcx, [rsp + 0x150]
call fcn.180002b30
nop
cmp qword [rsp + 0xf8], 8
jb 0x1800111b6
mov rcx, qword [rsp + 0xe0]
call fcn.1800a2030
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp qword [rsp + 0x168], 0
je 0x1800111df
lea rcx, [r12 + 0x40]
lea rdx, [rsp + 0x100]
call fcn.180011c80
nop
lea rcx, [rsp + 0x100]
call fcn.18003cbd0
mov rcx, rbp
call fcn.1800a22f0
add esi, 1
cmp esi, dword [rsp + 0x64]
jae 0x180011206
mov eax, dword [rsp + 0x60]
jmp 0x180010a10
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, 1
jmp 0x180011222
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.1800a3210
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