Function at 0x1400394b0
Capabilities:
Query or enumerate registry value

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
sub rsp, 0xb30
mov qword [rsp + 0x88], 0xfffffffffffffffe
mov qword [rsp + 0xb60], rbx
mov rax, qword [0x14012a4f8]
xor rax, rsp
mov qword [rsp + 0xb20], rax
mov r12, r9
mov rsi, r8
mov qword [rsp + 0x108], r8
xor r13d, r13d
mov qword [rsp + 0x50], r13
lea ecx, [r13 + 8]
call fcn.1400aee14
test rax, rax
je 0x140039513
lea rcx, [rsp + 0x58]
mov qword [rax], rcx
jmp 0x140039516
mov rax, r13
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x70], r13
mov qword [rsp + 0x78], r13
mov qword [rsp + 0x80], r13
cmp qword [rsi + 0x20], 8
jb 0x14003953e
lea rbp, [rsi + 8]
mov rdx, qword [rbp]
jmp 0x140039545
lea rbp, [rsi + 8]
mov rdx, rbp
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
mov r9d, 1
xor r8d, r8d
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x140039949
mov ebx, r13d
mov word [rsp + 0x110], r13w
xor edx, edx
mov r8d, 0x206
lea rcx, [rsp + 0x112]
call fcn.1400ad2f0
mov dword [rsp + 0x44], 0x104
mov dword [rsp + 0x48], r13d
mov word [rsp + 0x320], r13w
xor edx, edx
mov r8d, 0x7fe
lea rcx, [rsp + 0x322]
call fcn.1400ad2f0
mov dword [rsp + 0x40], 0x400
mov qword [rsp + 0x100], 7
mov qword [rsp + 0xf8], r13
mov word [rsp + 0xe8], r13w
mov qword [rsp + 0xd8], 7
mov qword [rsp + 0xd0], r13
mov word [rsp + 0xc0], r13w
lea rax, [rsp + 0x40]
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0x320]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x48]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r13
lea r9, [rsp + 0x44]
lea r8, [rsp + 0x110]
xor edx, edx
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
jne 0x140039774
inc ebx
cmp dword [rsp + 0x48], 1
jne 0x1400396f2
cmp dword [rsp + 0x44], 0
jbe 0x1400396f2
cmp dword [rsp + 0x40], 3
jbe 0x1400396f2
lea rdx, [rsp + 0x110]
lea rcx, str.NetCfgInstanceId
call fcn.1400af0e8
test eax, eax
jne 0x1400396ad
xor eax, eax
or rcx, 0xffffffffffffffff
lea rdi, [rsp + 0x320]
repne scasw ax, word [rdi]
not rcx
lea r8, [rcx - 1]
lea rdx, [rsp + 0x320]
lea rcx, [rsp + 0xb8]
call fcn.140025a70
jmp 0x1400396f2
lea rdx, [rsp + 0x110]
lea rcx, str.DeviceInstanceID
call fcn.1400af0e8
test eax, eax
jne 0x1400396f2
xor eax, eax
or rcx, 0xffffffffffffffff
lea rdi, [rsp + 0x320]
repne scasw ax, word [rdi]
not rcx
lea r8, [rcx - 1]
lea rdx, [rsp + 0x320]
lea rcx, [rsp + 0xe0]
call fcn.140025a70
xor edx, edx
mov r8d, 0x208
lea rcx, [rsp + 0x110]
call fcn.1400ad2f0
xor edx, edx
mov r8d, 0x800
lea rcx, [rsp + 0x320]
call fcn.1400ad2f0
mov dword [rsp + 0x44], 0x104
mov dword [rsp + 0x40], 0x400
lea rax, [rsp + 0x40]
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0x320]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x48]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r13
lea r9, [rsp + 0x44]
lea r8, [rsp + 0x110]
mov edx, ebx
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
je 0x140039643
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov r9d, 3
xor r8d, r8d
lea rdx, [rsp + 0x90]
lea rcx, [rsp + 0xe0]
call fcn.140029e30
cmp qword [rax + 0x20], 8
jb 0x1400397aa
mov rcx, qword [rax + 8]
jmp 0x1400397ae
lea rcx, [rax + 8]
lea rdx, [0x1400fca20]
call fcn.1400af0e8
test eax, eax
sete dil
cmp qword [rsp + 0xb0], 8
jb 0x1400397d8
mov rcx, qword [rsp + 0x98]
call fcn.1400ad0b8
test dil, dil
je 0x1400398fb
or r9, 0xffffffffffffffff
xor r8d, r8d
lea rdx, [rsp + 0xb8]
mov rcx, r12
call fcn.140025740
nop
cmp qword [rsp + 0xd8], 8
jb 0x140039811
mov rcx, qword [rsp + 0xc0]
call fcn.1400ad0b8
mov qword [rsp + 0xd8], 7
mov qword [rsp + 0xd0], r13
mov word [rsp + 0xc0], r13w
cmp qword [rsp + 0x100], 8
jb 0x140039846
mov rcx, qword [rsp + 0xe8]
call fcn.1400ad0b8
mov qword [rsp + 0x100], 7
mov qword [rsp + 0xf8], r13
mov word [rsp + 0xe8], r13w
mov rcx, qword [rsp + 0x70]
test rcx, rcx
je 0x1400398b6
mov rbx, qword [rsp + 0x78]
cmp rcx, rbx
je 0x1400398b1
lea rdi, [rcx + 0x20]
nop dword [rax + rax]
cmp qword [rdi], 8
jb 0x14003988f
mov rcx, qword [rdi - 0x18]
call fcn.1400ad0b8
mov qword [rdi], 7
mov qword [rdi - 8], r13
mov word [rdi - 0x18], r13w
add rdi, 0x28
lea rax, [rdi - 0x20]
cmp rax, rbx
jne 0x140039880
mov rcx, qword [rsp + 0x70]
call fcn.1400ad0b8
mov qword [rsp + 0x70], r13
mov qword [rsp + 0x78], r13
mov qword [rsp + 0x80], r13
mov rcx, qword [rsp + 0x58]
call fcn.1400ad0b8
nop
cmp qword [rsi + 0x20], 8
jb 0x1400398e3
mov rcx, qword [rbp]
call fcn.1400ad0b8
mov qword [rsi + 0x20], 7
mov qword [rsi + 0x18], r13
mov word [rbp], r13w
mov al, 1
jmp 0x1400399d7
cmp qword [rsp + 0xd8], 8
jb 0x140039913
mov rcx, qword [rsp + 0xc0]
call fcn.1400ad0b8
mov qword [rsp + 0xd8], 7
mov qword [rsp + 0xd0], r13
mov word [rsp + 0xc0], r13w
cmp qword [rsp + 0x100], 8
jb 0x140039949
mov rcx, qword [rsp + 0xe8]
call fcn.1400ad0b8
nop
mov rcx, qword [rsp + 0x70]
test rcx, rcx
je 0x140039997
mov rbx, qword [rsp + 0x78]
cmp rcx, rbx
je 0x140039992
lea rdi, [rcx + 0x20]
cmp qword [rdi], 8
jb 0x140039970
mov rcx, qword [rdi - 0x18]
call fcn.1400ad0b8
mov qword [rdi], 7
mov qword [rdi - 8], r13
mov word [rdi - 0x18], r13w
add rdi, 0x28
lea rax, [rdi - 0x20]
cmp rax, rbx
jne 0x140039961
mov rcx, qword [rsp + 0x70]
call fcn.1400ad0b8
mov qword [rsp + 0x70], r13
mov qword [rsp + 0x78], r13
mov qword [rsp + 0x80], r13
mov rcx, qword [rsp + 0x58]
call fcn.1400ad0b8
nop
cmp qword [rsi + 0x20], 8
jb 0x1400399c4
mov rcx, qword [rbp]
call fcn.1400ad0b8
mov qword [rsi + 0x20], 7
mov qword [rsi + 0x18], r13
mov word [rbp], r13w
xor al, al
mov rcx, qword [rsp + 0xb20]
xor rcx, rsp
call fcn.1400ad2c0
mov rbx, qword [rsp + 0xb60]
add rsp, 0xb30
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret