Function at 0x180074630
Capabilities:
Query or enumerate registry value

Disassembly:
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x7c0]
sub rsp, 0x8c0
mov qword [rbp - 0x80], 0xfffffffffffffffe
mov qword [rsp + 0x8f0], rbx
mov rax, qword [0x18012db10]
xor rax, rsp
mov qword [rbp + 0x7b0], rax
mov r14, r9
xor eax, eax
mov qword [rbp - 0x68], rax
mov qword [rbp - 0x60], rax
mov r9d, 0x20019
mov r8, rdx
lea rcx, [rbp - 0x68]
call fcn.1800743b0
nop
mov dword [rbp - 0x78], 0x400
mov dword [rbp - 0x74], 0x400
xor r15d, r15d
mov dword [rbp - 0x70], r15d
mov esi, r15d
mov rax, qword [rbp - 0x68]
lea rcx, [rbp - 0x74]
mov qword [rsp + 0x38], rcx
lea rcx, [rbp - 0x50]
mov qword [rsp + 0x30], rcx
lea rcx, [rbp - 0x70]
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x20], r15
lea r9, [rbp - 0x78]
lea r8, [rbp + 0x3b0]
xor edx, edx
mov rcx, qword [rax]
call qword [sym.imp.ADVAPI32.dll_RegEnumValueW]
or rdi, 0xffffffffffffffff
test eax, eax
jne 0x180074866
cmp dword [rbp - 0x70], 1
jne 0x18007480c
mov qword [rsp + 0x50], r15
mov qword [rsp + 0x58], r15
mov qword [rsp + 0x58], 7
mov qword [rsp + 0x50], r15
mov word [rsp + 0x40], r15w
cmp word [rbp + 0x3b0], ax
jne 0x18007471c
mov r8, r15
jmp 0x18007473b
lea rax, [rbp + 0x3b0]
mov r8, rdi
nop word [rax + rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x180074730
lea rdx, [rbp + 0x3b0]
lea rcx, [rsp + 0x40]
call fcn.1800041a0
nop
mov qword [rsp + 0x70], r15
mov qword [rsp + 0x78], r15
mov qword [rsp + 0x78], 7
mov qword [rsp + 0x70], r15
mov word [rsp + 0x60], r15w
cmp word [rbp - 0x50], 0
jne 0x180074777
mov r8, r15
jmp 0x18007478b
lea rax, [rbp - 0x50]
mov r8, rdi
nop
inc r8
cmp word [rax + r8*2], 0
jne 0x180074780
lea rdx, [rbp - 0x50]
lea rcx, [rsp + 0x60]
call fcn.1800041a0
nop
mov rcx, qword [r14 + 0x18]
test rcx, rcx
je 0x180074860
mov rax, qword [rcx]
lea r8, [rsp + 0x60]
lea rdx, [rsp + 0x40]
call qword [rax + select]
test al, al
sete bl
cmp qword [rsp + 0x78], 8
jb 0x1800747ce
mov rcx, qword [rsp + 0x60]
call fcn.180071ef0
mov qword [rsp + 0x78], 7
mov qword [rsp + 0x70], r15
mov word [rsp + 0x60], r15w
cmp qword [rsp + 0x58], 8
jb 0x1800747f4
mov rcx, qword [rsp + 0x40]
call fcn.180071ef0
mov qword [rsp + 0x58], 7
mov qword [rsp + 0x50], r15
mov word [rsp + 0x40], r15w
test bl, bl
jne 0x18007485b
mov dword [rbp - 0x78], 0x400
mov dword [rbp - 0x74], 0x400
inc esi
mov rax, qword [rbp - 0x68]
lea rcx, [rbp - 0x74]
mov qword [rsp + 0x38], rcx
lea rcx, [rbp - 0x50]
mov qword [rsp + 0x30], rcx
lea rcx, [rbp - 0x70]
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x20], r15
lea r9, [rbp - 0x78]
lea r8, [rbp + 0x3b0]
mov edx, esi
mov rcx, qword [rax]
call qword [sym.imp.ADVAPI32.dll_RegEnumValueW]
jmp 0x1800746de
xor sil, sil
jmp 0x180074869
call fcn.18008ec44
nop
mov sil, 1
mov rbx, qword [rbp - 0x60]
test rbx, rbx
je 0x18007488f
lock dec dword [rbx + 8]
jne 0x18007488f
mov rdx, qword [rbx]
mov rcx, rbx
call qword [rdx]
lock dec dword [rbx + 0xc]
jne 0x18007488f
mov rdx, qword [rbx]
mov rcx, rbx
call qword [rdx + reloc.WS2_32.dll_htonl]
movzx eax, sil
mov rcx, qword [rbp + 0x7b0]
xor rcx, rsp
call fcn.180093670
mov rbx, qword [rsp + 0x8f0]
add rsp, 0x8c0
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret