Function at 0x140073a60
Capabilities:
Query or enumerate registry key

Disassembly:
mov qword [rsp + 0x18], r8
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x90
mov qword [rsp + 0x88], 0xfffffffffffffffe
mov qword [rsp + 0xe8], rbx
mov r12d, r9d
mov rdi, r8
mov r13, rdx
mov r14d, ecx
or ebx, 0xffffffff
test ecx, ecx
cmovne r12d, ebx
lea rcx, [rsp + 0x78]
call fcn.140063500
nop
test r14d, r14d
je 0x140073ac4
mov r9d, ebx
mov r8d, ebx
mov rdx, qword [r13]
lea rcx, [rsp + 0x78]
call fcn.140063690
mov rax, qword [r13]
mov byte [rax], 0
xor ebx, ebx
mov dword [rsp + 0xd0], ebx
mov dword [rsp + 0xd8], ebx
mov qword [rsp + 0x70], rbx
lea rax, [rsp + 0x70]
mov qword [rsp + 0x20], rax
mov r9d, 0xf003f
xor r8d, r8d
lea rdx, str.SYSTEMCurrentControlSetControlNetwork4D36E972_E325_11CE_BFC1_08002BE10318
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov qword [rsp + 0x58], rbx
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x48], rbx
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x30], rbx
lea rax, [rsp + 0xd8]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0xd0]
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]
mov ebx, eax
mov ecx, dword [rsp + 0xd8]
lea eax, [rcx*4]
mov dword [rsp + 0x60], eax
lea edx, [rax + 8]
lea rcx, [rsp + 0x80]
call fcn.1400632b0
nop
xor ecx, ecx
mov ebp, ecx
test ebx, ebx
jne 0x140073c98
mov esi, ecx
cmp dword [rsp + 0xd0], ecx
jle 0x140073c98
mov rdi, qword [rsp + 0x78]
mov rbx, qword [rsp + 0x80]
nop
mov eax, dword [rsp + 0x60]
mov dword [rsp + 0x64], eax
mov byte [rbx], 0
mov qword [rsp + 0x38], rcx
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x20], rcx
lea r9, [rsp + 0x64]
mov r8, rbx
mov edx, esi
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
cmp byte [rbx], 0x7b
jne 0x140073c25
test r12d, r12d
js 0x140073be3
cmp ebp, r12d
jge 0x140073c37
inc ebp
test r14d, r14d
je 0x140073c25
lea rcx, [rsp + 0x68]
call fcn.140063500
nop
lea r8, str.Name
lea rdx, [rsp + 0x68]
mov rcx, rbx
call fcn.140073930
mov rdx, rdi
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x140073c55
lea rcx, [rsp + 0x68]
call fcn.14005b520
inc esi
cmp esi, dword [rsp + 0xd0]
jge 0x140073c90
xor ecx, ecx
jmp 0x140073ba0
cmp ebp, r12d
jne 0x140073c86
or r8d, 0xffffffff
mov rdx, rbx
mov rcx, r13
call fcn.1400633b0
mov rdi, qword [rsp + 0xe0]
jmp 0x140073c98
lea rdx, [rsp + 0x68]
mov rdi, qword [rsp + 0xe0]
mov rcx, rdi
call fcn.1400713f0
or r8d, 0xffffffff
mov rdx, rbx
mov rcx, r13
call fcn.1400633b0
nop
lea rcx, [rsp + 0x68]
call fcn.14005b520
jmp 0x140073c98
mov rdi, qword [rsp + 0xe0]
jmp 0x140073c98
mov rdi, qword [rsp + 0xe0]
mov rcx, qword [rsp + 0x70]
test rcx, rcx
je 0x140073ca8
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [r13]
cmp byte [rcx], 0
je 0x140073cc9
mov rax, qword [rdi]
cmp word [rax], 0
jne 0x140073cc9
lea r8, str.Name
mov rdx, rdi
call fcn.140073930
mov rbx, qword [r13]
lea rcx, [rsp + 0x80]
call fcn.14005b520
nop
lea rcx, [rsp + 0x78]
call fcn.14005b520
mov rax, rbx
mov rbx, qword [rsp + 0xe8]
add rsp, 0x90
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret