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

Disassembly:
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r12
push r13
push r15
lea rbp, [rsp - 0x380]
sub rsp, 0x480
mov rax, qword [0x1400c7008]
xor rax, rsp
mov qword [rbp + 0x370], rax
xor edi, edi
lea rax, [rsp + 0x48]
mov rsi, rcx
mov qword [rsp + 0x20], rax
mov rcx, 0xffffffff80000002
lea rdx, str.SYSTEMCurrentControlSetControlNetwork4D36E972_E325_11CE_BFC1_08002BE10318
mov r9d, 0x20019
xor r8d, r8d
mov r12d, edi
mov r15d, edi
mov r13d, edi
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x14007ce94
lea ecx, [rdi + 0x10]
call fcn.14000e3d0
test al, al
je 0x14007ce88
lea r8, str.SYSTEMCurrentControlSetControlNetwork4D36E972_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.Name]
lea r9, [rsp + 0x40]
movzx eax, word [0x1400b70d8]
lea r8, [rsp + 0x70]
mov rcx, qword [rsp + 0x48]
xor edx, edx
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x4b8], rbx
mov qword [rsp + 0x20], rdi
mov qword [rsp + 0x4c0], r14
movsd qword [rsp + 0x58], xmm0
mov word [rsp + 0x60], ax
mov dword [rsp + 0x40], 0x100
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
cmp eax, 0x103
je 0x14007d178
nop dword [rax]
test eax, eax
jne 0x14007d1bd
lea rax, [rsp + 0x70]
mov edx, 0x100
lea r9, str.SYSTEMCurrentControlSetControlNetwork4D36E972_E325_11CE_BFC1_08002BE10318
mov qword [rsp + 0x20], rax
lea r8, str._s_sConnection
lea rcx, [rbp + 0x70]
call fcn.140003020
lea rax, [rsp + 0x50]
mov r9d, 0x20019
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, [rbp + 0x70]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x14007d11c
mov rcx, qword [rsp + 0x50]
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x44]
lea rax, [rbp + 0x170]
mov dword [rsp + 0x40], 0x200
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x14007d111
cmp dword [rsp + 0x44], 1
jne 0x14007d111
test rsi, rsi
je 0x14007cfc9
lea ecx, [rax + 0x20]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
test rax, rax
je 0x14007d1ef
mov rcx, qword [rsi]
lea rbx, [rax + 8]
mov qword [rax], rcx
mov qword [rsi], rax
jmp 0x14007cfe0
mov ecx, 0x18
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rbx, rax
test rax, rax
je 0x14007d1ef
xor eax, eax
mov qword [rsp + 0x38], rdi
xorps xmm0, xmm0
mov qword [rsp + 0x30], rdi
movups xmmword [rbx], xmm0
mov dword [rsp + 0x28], edi
lea r8, [rbp + 0x170]
lea r9d, [rax - 1]
mov qword [rbx + 0x10], rax
xor edx, edx
mov qword [rsp + 0x20], rdi
mov ecx, 0xfde9
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
movsxd r14, eax
mov rcx, r14
test rsi, rsi
je 0x14007d044
add rcx, 8
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
test rax, rax
je 0x14007d1ef
mov rcx, qword [rsi]
lea rdi, [rax + 8]
mov qword [rax], rcx
mov qword [rsi], rax
jmp 0x14007d056
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rdi, rax
test rax, rax
je 0x14007d1ef
xor eax, eax
lea r8, [rbp + 0x170]
mov qword [rsp + 0x38], rax
xor edx, edx
mov qword [rsp + 0x30], rax
mov ecx, 0xfde9
mov dword [rsp + 0x28], r14d
lea r9d, [rax - 1]
mov qword [rsp + 0x20], rdi
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
lea rcx, [rsp + 0x70]
mov qword [rbx], rdi
mov rax, 0xffffffffffffffff
inc rax
cmp byte [rcx + rax], 0
jne 0x14007d093
inc eax
movsxd r14, eax
test rsi, rsi
je 0x14007d0c8
lea rcx, [r14 + 8]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
test rax, rax
je 0x14007d1ef
mov rcx, qword [rsi]
lea rdi, [rax + 8]
mov qword [rax], rcx
mov qword [rsi], rax
jmp 0x14007d0e2
mov rdx, r14
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_calloc]
mov rdi, rax
test rax, rax
je 0x14007d1ef
mov r8, r14
lea rdx, [rsp + 0x70]
mov rcx, rdi
call sub.VCRUNTIME140.dll_memcpy
test r12, r12
mov qword [rbx + 8], rdi
mov rax, rbx
cmovne rax, r12
mov r12, rax
test r15, r15
je 0x14007d10c
mov qword [r15 + 0x10], rbx
mov r15, rbx
xor edi, edi
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
movsd xmm0, qword [str.Name]
lea r9, [rsp + 0x40]
movzx eax, word [0x1400b70d8]
lea r8, [rsp + 0x70]
mov rcx, qword [rsp + 0x48]
inc r13d
mov qword [rsp + 0x38], rdi
mov edx, r13d
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], rdi
movsd qword [rsp + 0x58], xmm0
mov word [rsp + 0x60], ax
mov dword [rsp + 0x40], 0x100
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
cmp eax, 0x103
jne 0x14007cf00
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rbx, qword [rsp + 0x4b8]
mov rax, r12
mov r14, qword [rsp + 0x4c0]
mov rcx, qword [rbp + 0x370]
xor rcx, rsp
call fcn.140088150
mov rsi, qword [rsp + 0x4c8]
add rsp, 0x480
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 0x14007d1e3
lea r8, str.SYSTEMCurrentControlSetControlNetwork4D36E972_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