Function at 0x14007c9c0
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rdi
push r12
push r13
push r15
lea rbp, [rsp - 0x3a0]
sub rsp, 0x4a0
mov rax, qword [0x1400c7008]
xor rax, rsp
mov qword [rbp + 0x390], rax
xor edi, edi
lea rax, [rsp + 0x58]
mov r15, rcx
mov qword [rsp + 0x20], rax
mov ebx, edi
lea rdx, str.SYSTEMCurrentControlSetControlClass4D36E972_E325_11CE_BFC1_08002BE10318
mov r9d, 0x20019
mov dword [rsp + 0x48], ebx
xor r8d, r8d
mov rcx, 0xffffffff80000002
mov r12d, edi
mov r13d, edi
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x14007ca57
lea ecx, [rdi + 0x10]
call fcn.14000e3d0
test al, al
je 0x14007ca4b
lea r8, str.SYSTEMCurrentControlSetControlClass4D36E972_E325_11CE_BFC1_08002BE10318
lea rdx, str.Error_opening_registry_key:__s
lea ecx, [rdi + 0x10]
call fcn.14000e000
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__exit]
int3
movsd xmm0, qword [str.ComponentId]
lea r9, [rsp + 0x40]
mov eax, dword [0x1400b7028]
lea r8, [rbp + 0x190]
mov rcx, qword [rsp + 0x58]
xor edx, edx
mov qword [rsp + 0x38], rdi
movsd qword [rsp + 0x60], xmm0
movups xmm0, xmmword [str.NetCfgInstanceId]
mov dword [rsp + 0x68], eax
movzx eax, byte [0x1400b6fa0]
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x4d8], rsi
mov qword [rsp + 0x28], rdi
movups xmmword [rsp + 0x70], xmm0
mov qword [rsp + 0x4e0], r14
mov byte [rbp - 0x80], al
mov dword [rsp + 0x40], 0x100
mov qword [rsp + 0x20], rdi
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
cmp eax, 0x103
je 0x14007cd76
test eax, eax
jne 0x14007cdbb
lea rax, [rbp + 0x190]
mov edx, 0x100
lea r9, str.SYSTEMCurrentControlSetControlClass4D36E972_E325_11CE_BFC1_08002BE10318
mov qword [rsp + 0x20], rax
lea r8, str._s_s
lea rcx, [rbp + 0x290]
call fcn.140003020
lea rax, [rsp + 0x50]
mov r9d, 0x20019
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, [rbp + 0x290]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x14007cd02
mov rcx, qword [rsp + 0x50]
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x44]
lea rax, [rbp - 0x70]
mov dword [rsp + 0x40], 0x100
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, [rsp + 0x60]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x14007ccf7
cmp dword [rsp + 0x44], 1
jne 0x14007ccf7
mov rcx, qword [rsp + 0x50]
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x44]
lea rax, [rbp + 0x90]
mov dword [rsp + 0x40], 0x100
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, [rsp + 0x70]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x14007ccf7
cmp dword [rsp + 0x44], 1
jne 0x14007ccf7
lea rdx, str.tap0901
lea rcx, [rbp - 0x70]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__stricmp]
test eax, eax
je 0x14007cc0f
lea rdx, str.root_tap0901
lea rcx, [rbp - 0x70]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__stricmp]
test eax, eax
je 0x14007cc0f
lea rdx, str.wintun
lea rcx, [rbp - 0x70]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__stricmp]
test eax, eax
jne 0x14007ccf7
lea r14d, [rax + 2]
jmp 0x14007cc15
mov r14d, 1
test r15, r15
je 0x14007cc3d
mov ecx, 0x20
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
test rax, rax
je 0x14007cded
mov rcx, qword [r15]
lea rbx, [rax + 8]
mov qword [rax], rcx
mov qword [r15], rax
jmp 0x14007cc54
mov ecx, 0x18
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rbx, rax
test rax, rax
je 0x14007cded
xor eax, eax
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], rax
mov rcx, 0xffffffffffffffff
lea rax, [rbp + 0x90]
nop
inc rcx
cmp byte [rax + rcx], 0
jne 0x14007cc70
inc ecx
movsxd rsi, ecx
test r15, r15
je 0x14007cca5
lea rcx, [rsi + 8]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
test rax, rax
je 0x14007cded
mov rcx, qword [r15]
lea rdi, [rax + 8]
mov qword [rax], rcx
mov qword [r15], rax
jmp 0x14007ccbf
mov rdx, rsi
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_calloc]
mov rdi, rax
test rax, rax
je 0x14007cded
mov r8, rsi
lea rdx, [rbp + 0x90]
mov rcx, rdi
call sub.VCRUNTIME140.dll_memcpy
test r12, r12
mov qword [rbx], rdi
mov rax, rbx
mov dword [rbx + 8], r14d
cmovne rax, r12
mov r12, rax
test r13, r13
je 0x14007ccee
mov qword [r13 + 0x10], rbx
mov r13, rbx
xor edi, edi
mov ebx, dword [rsp + 0x48]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
movsd xmm0, qword [str.ComponentId]
lea r9, [rsp + 0x40]
mov eax, dword [0x1400b7028]
lea r8, [rbp + 0x190]
mov rcx, qword [rsp + 0x58]
inc ebx
mov qword [rsp + 0x38], rdi
mov edx, ebx
movsd qword [rsp + 0x60], xmm0
movups xmm0, xmmword [str.NetCfgInstanceId]
mov dword [rsp + 0x68], eax
movzx eax, byte [0x1400b6fa0]
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x28], rdi
movups xmmword [rsp + 0x70], xmm0
mov dword [rsp + 0x48], ebx
mov byte [rbp - 0x80], al
mov dword [rsp + 0x40], 0x100
mov qword [rsp + 0x20], rdi
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
cmp eax, 0x103
jne 0x14007cad5
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rsi, qword [rsp + 0x4d8]
mov rax, r12
mov r14, qword [rsp + 0x4e0]
mov rcx, qword [rbp + 0x390]
xor rcx, rsp
call fcn.140088150
mov rbx, qword [rsp + 0x4e8]
add rsp, 0x4a0
pop r15
pop r13
pop r12
pop rdi
pop rbp
ret
mov ecx, reloc.WS2_32.dll_recv
call fcn.14000e3d0
test al, al
je 0x14007cde1
lea r8, str.SYSTEMCurrentControlSetControlClass4D36E972_E325_11CE_BFC1_08002BE10318
mov ecx, reloc.WS2_32.dll_recv
lea rdx, str.Error_enumerating_registry_subkeys_of_key:__s
call fcn.14000e000
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__exit]
int3
call fcn.14000e540
int3