Function at 0x140007950
Capabilities:
Query or enumerate registry value

Disassembly:
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x350]
sub rsp, 0x450
mov rax, qword [0x1400866a0]
xor rax, rsp
mov qword [rbp + 0x340], rax
movups xmm0, xmmword [rdx]
lea rax, [rsp + 0x30]
mov dword [rsp + 0x30], 0x400
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x38]
movaps xmmword [r8], xmm0
lea rax, [rsp + 0x40]
mov rdi, r8
mov qword [rsp + 0x20], rax
xor r15d, r15d
lea rdx, str.FriendlyName
xor r8d, r8d
mov dword [rsp + 0x34], r15d
mov rsi, rcx
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
mov r14d, eax
test eax, eax
jne 0x140020346
mov qword [rsp + 0x488], rbx
lea rcx, [rdi + 0x14]
mov ebx, 0x100
lea r8, [rsp + 0x40]
mov edx, ebx
mov r14d, r15d
sub r8, rcx
nop word [rax + rax]
lea rax, [rdx + 0x7ffffefe]
test rax, rax
je 0x140007a18
movzx eax, word [r8 + rcx]
test ax, ax
je 0x140007a18
mov word [rcx], ax
add rcx, 2
sub rdx, 1
jne 0x1400079f0
jmp 0x14002035c
test rdx, rdx
je 0x14002035c
mov word [rcx], r15w
test r14d, r14d
js 0x140007ce2
lea rax, [rsp + 0x30]
mov dword [rsp + 0x30], 0x400
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x38]
lea rax, [rsp + 0x40]
xor r8d, r8d
lea rdx, str.Copyright
mov qword [rsp + 0x20], rax
mov rcx, rsi
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
mov r14d, eax
test eax, eax
jne 0x14002036b
lea rax, [rdi + 0x214]
mov r14d, r15d
lea rdx, [rsp + 0x40]
sub rdx, rax
nop
lea rcx, [rbx + 0x7ffffefe]
test rcx, rcx
je 0x140007aa7
movzx ecx, word [rdx + rax]
test cx, cx
je 0x140007aa7
mov word [rax], cx
add rax, 2
sub rbx, 1
jne 0x140007a80
jmp 0x140020381
test rbx, rbx
je 0x140020381
mov word [rax], r15w
test r14d, r14d
js 0x140007ce2
lea rax, [rsp + 0x30]
mov dword [rsp + 0x30], 4
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x38]
lea rax, [rsp + 0x34]
xor r8d, r8d
lea rdx, str.MajorVersion
mov qword [rsp + 0x20], rax
mov rcx, rsi
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
test eax, eax
jne 0x140007d0b
mov eax, dword [rsp + 0x34]
lea r9, [rsp + 0x38]
mov dword [rdi + 0x414], eax
lea rdx, str.MinorVersion
lea rax, [rsp + 0x30]
mov dword [rsp + 0x30], 4
mov qword [rsp + 0x28], rax
xor r8d, r8d
lea rax, [rsp + 0x34]
mov rcx, rsi
mov qword [rsp + 0x20], rax
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
test eax, eax
jne 0x140007d0b
mov eax, dword [rsp + 0x34]
lea r9, [rsp + 0x38]
mov dword [rdi + 0x418], eax
lea rdx, str.Flags
lea rax, [rsp + 0x30]
mov dword [rsp + 0x30], 4
mov qword [rsp + 0x28], rax
xor r8d, r8d
lea rax, [rsp + 0x34]
mov rcx, rsi
mov qword [rsp + 0x20], rax
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
test eax, eax
jne 0x140007d0b
mov eax, dword [rsp + 0x34]
lea r9, [rsp + 0x38]
mov dword [rdi + 0x10], eax
lea rdx, str.MinInputConnections
lea rax, [rsp + 0x30]
mov dword [rsp + 0x30], 4
mov qword [rsp + 0x28], rax
xor r8d, r8d
lea rax, [rsp + 0x34]
mov rcx, rsi
mov qword [rsp + 0x20], rax
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
test eax, eax
jne 0x140007d0b
mov eax, dword [rsp + 0x34]
lea r9, [rsp + 0x38]
mov dword [rdi + 0x41c], eax
lea rdx, str.MaxInputConnections
lea rax, [rsp + 0x30]
mov dword [rsp + 0x30], 4
mov qword [rsp + 0x28], rax
xor r8d, r8d
lea rax, [rsp + 0x34]
mov rcx, rsi
mov qword [rsp + 0x20], rax
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
test eax, eax
jne 0x140007d0b
mov eax, dword [rsp + 0x34]
lea r9, [rsp + 0x38]
mov dword [rdi + 0x420], eax
lea rdx, str.MinOutputConnections
lea rax, [rsp + 0x30]
mov dword [rsp + 0x30], 4
mov qword [rsp + 0x28], rax
xor r8d, r8d
lea rax, [rsp + 0x34]
mov rcx, rsi
mov qword [rsp + 0x20], rax
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
test eax, eax
jne 0x140007d0b
mov eax, dword [rsp + 0x34]
lea r9, [rsp + 0x38]
mov dword [rdi + 0x424], eax
lea rdx, str.MaxOutputConnections
lea rax, [rsp + 0x30]
mov dword [rsp + 0x30], 4
mov qword [rsp + 0x28], rax
xor r8d, r8d
lea rax, [rsp + 0x34]
mov rcx, rsi
mov qword [rsp + 0x20], rax
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
test eax, eax
jne 0x140007d0b
mov eax, dword [rsp + 0x34]
lea r9, [rsp + 0x38]
mov dword [rdi + 0x428], eax
lea rdx, str.MaxInstances
lea rax, [rsp + 0x30]
mov dword [rsp + 0x30], 4
mov qword [rsp + 0x28], rax
xor r8d, r8d
lea rax, [rsp + 0x34]
mov rcx, rsi
mov qword [rsp + 0x20], rax
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
test eax, eax
jne 0x140007d0b
mov ecx, dword [rsp + 0x34]
mov dword [rdi + 0x42c], ecx
mov rbx, qword [rsp + 0x488]
mov eax, r14d
mov rcx, qword [rbp + 0x340]
xor rcx, rsp
call fcn.140015a80
add rsp, 0x450
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
jg 0x140020371
mov r14d, eax
jmp 0x140007ce2
jle 0x140007cea
movzx r14d, ax
or r14d, 0x80070000
jmp 0x140007cea
sub rcx, 2
mov r14d, 0x8007007a
jmp 0x140007a21
jle 0x140007ce2
movzx r14d, ax
or r14d, 0x80070000
jmp 0x140007ce2
sub rax, 2
mov r14d, 0x8007007a
jmp 0x140007ab0