Function at 0x18000ed50
Capabilities:
Query or enumerate registry value

Disassembly:
mov rax, rsp
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rax - 0x208]
sub rsp, 0x2e0
mov qword [rsp + 0x40], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rsi
mov rax, qword [0x1800f4320]
xor rax, rsp
mov qword [rbp + 0x1d0], rax
mov rdi, rdx
mov r14, rcx
mov qword [rsp + 0x48], rcx
xor r12d, r12d
mov dword [rsp + 0x30], r12d
mov qword [rsp + 0x68], r12
mov qword [rsp + 0x70], r12
mov qword [rsp + 0x70], reloc.WS2_32.dll_ntohs
mov qword [rsp + 0x68], r12
lea rax, [rsp + 0x58]
cmp qword [rsp + 0x70], 0x10
cmovae rax, qword [rsp + 0x58]
mov byte [rax], r12b
xor eax, eax
mov qword [rbp - 0x60], rax
mov qword [rbp - 0x58], rax
mov qword [rbp - 0x50], rax
mov r15d, r12d
mov qword [rbp - 0x60], r12
mov dword [rbp - 0x58], r12d
mov qword [rbp - 0x50], r12
mov eax, dword [0x1800fbbe8]
test al, 1
jne 0x18000ee20
or eax, 1
mov dword [0x1800fbbe8], eax
xor edx, edx
mov r8d, 0x158
lea rcx, [0x1800fba90]
call fcn.180084ad0
nop
call fcn.180004870
lea rcx, [0x1800b4880]
call fcn.18008195c
lea rdx, [rbp - 0x80]
lea rcx, [0x1800fba90]
call fcn.180006170
nop
cmp qword [rax + 0x18], 8
jb 0x18000ee3b
mov rax, qword [rax]
mov qword [rsp + 0x38], r12
lea rcx, [rsp + 0x38]
mov qword [rsp + 0x20], rcx
mov r9d, 0x20019
xor r8d, r8d
mov rdx, rax
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x18000ee74
mov r15, qword [rsp + 0x38]
mov qword [rbp - 0x60], r15
mov dword [rbp - 0x58], r12d
cmp qword [rbp - 0x68], 8
jb 0x18000ee90
mov rdx, qword [rbp - 0x80]
mov r8, qword [rbp - 0x68]
inc r8
lea rcx, [rbp - 0x80]
call fcn.180003df0
nop
mov qword [rbp - 0x68], 7
mov qword [rbp - 0x70], r12
lea rax, [rbp - 0x80]
cmp qword [rbp - 0x68], 8
cmovae rax, qword [rbp - 0x80]
mov word [rax], r12w
mov dword [rsp + 0x78], 3
mov dword [rsp + 0x50], r12d
cmp qword [rdi + 0x18], 8
jb 0x18000eec7
mov rdx, qword [rdi]
jmp 0x18000eeca
mov rdx, rdi
lea rax, [rsp + 0x50]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r12
lea r9, [rsp + 0x78]
xor r8d, r8d
mov rcx, r15
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov eax, dword [rsp + 0x50]
test eax, eax
je 0x18000f130
inc eax
mov ebx, eax
mov edx, eax
lea rcx, [rsp + 0x58]
call fcn.1800045a0
lea rdx, [rbx - 1]
cmp rdx, qword [rsp + 0x68]
ja 0x18000ef2d
mov qword [rsp + 0x68], rdx
lea rax, [rsp + 0x58]
cmp qword [rsp + 0x70], 0x10
cmovae rax, qword [rsp + 0x58]
mov byte [rdx + rax], 0
jmp 0x18000ef40
sub rdx, qword [rsp + 0x68]
xor r8d, r8d
lea rcx, [rsp + 0x58]
call fcn.180004080
nop
lea rax, [rsp + 0x58]
cmp qword [rsp + 0x70], 0x10
cmovae rax, qword [rsp + 0x58]
cmp qword [rdi + 0x18], 8
jb 0x18000ef5b
mov rdi, qword [rdi]
lea rcx, [rsp + 0x50]
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x78]
xor r8d, r8d
mov rdx, rdi
mov rcx, r15
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
nop
mov rdx, qword [rsp + 0x68]
lea rcx, [rbp - 0x80]
call fcn.18000e980
nop
mov rsi, qword [rsp + 0x68]
lea rdi, [rsp + 0x58]
cmp qword [rsp + 0x70], 0x10
cmovae rdi, qword [rsp + 0x58]
lea rbx, [rsp + 0x58]
cmp qword [rsp + 0x70], 0x10
cmovae rbx, qword [rsp + 0x58]
mov r8, qword [rbp - 0x70]
lea rdx, [rbp - 0x80]
cmp qword [rbp - 0x68], 0x10
cmovae rdx, qword [rbp - 0x80]
lea rcx, [rbp - 0x40]
call fcn.1800276e0
mov r9d, esi
mov r8, rdi
mov rdx, rbx
lea rcx, [rbp - 0x40]
call fcn.180027840
nop
mov qword [r14 + 0x10], r12
mov qword [r14 + 0x18], r12
mov qword [r14 + 0x18], reloc.WS2_32.dll_ntohs
mov qword [r14 + 0x10], r12
cmp qword [r14 + 0x18], 0x10
jb 0x18000f003
mov rax, qword [r14]
jmp 0x18000f006
mov rax, r14
mov byte [rax], 0
lea rdx, [rsp + 0x58]
mov rcx, r14
call fcn.180006da0
nop
mov dword [rsp + 0x30], 1
cmp qword [rbp - 0x68], 0x10
jb 0x18000f077
mov rcx, qword [rbp - 0x80]
mov rax, qword [rbp - 0x68]
inc rax
cmp rax, 0x1000
jb 0x18000f071
test cl, 0x1f
je 0x18000f044
call fcn.180086214
int3
mov rax, qword [rcx - 8]
cmp rax, rcx
jb 0x18000f053
call fcn.180086214
int3
sub rcx, rax
cmp rcx, 8
jae 0x18000f062
call fcn.180086214
int3
cmp rcx, 0x27
jbe 0x18000f06e
call fcn.180086214
int3
mov rcx, rax
call fcn.180081458
nop
mov qword [rbp - 0x68], reloc.WS2_32.dll_ntohs
mov qword [rbp - 0x70], r12
lea rax, [rbp - 0x80]
cmp qword [rbp - 0x68], 0x10
cmovae rax, qword [rbp - 0x80]
mov byte [rax], 0
test r15, r15
je 0x18000f0aa
mov rcx, r15
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rbp - 0x60], r12
mov dword [rbp - 0x58], r12d
mov qword [rbp - 0x50], r12
cmp qword [rsp + 0x70], 0x10
jb 0x18000f109
mov rcx, qword [rsp + 0x58]
mov rax, qword [rsp + 0x70]
inc rax
cmp rax, 0x1000
jb 0x18000f103
test cl, 0x1f
je 0x18000f0d6
call fcn.180086214
int3
mov rax, qword [rcx - 8]
cmp rax, rcx
jb 0x18000f0e5
call fcn.180086214
int3
sub rcx, rax
cmp rcx, 8
jae 0x18000f0f4
call fcn.180086214
int3
cmp rcx, 0x27
jbe 0x18000f100
call fcn.180086214
int3
mov rcx, rax
call fcn.180081458
nop
mov qword [rsp + 0x70], reloc.WS2_32.dll_ntohs
mov qword [rsp + 0x68], r12
lea rcx, [rsp + 0x58]
cmp qword [rsp + 0x70], 0x10
cmovae rcx, qword [rsp + 0x58]
mov byte [rcx], 0
jmp 0x18000f207
mov qword [r14 + 0x10], r12
mov qword [r14 + 0x18], r12
mov qword [r14 + 0x18], reloc.WS2_32.dll_ntohs
mov qword [r14 + 0x10], r12
cmp qword [r14 + 0x18], 0x10
jb 0x18000f150
mov rax, qword [r14]
jmp 0x18000f153
mov rax, r14
mov byte [rax], 0
xor r8d, r8d
lea rdx, [0x1800d5238]
mov rcx, r14
call fcn.180003900
mov dword [rsp + 0x30], 1
test r15, r15
je 0x18000f186
mov rcx, r15
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rbp - 0x60], r12
mov dword [rbp - 0x58], r12d
mov qword [rbp - 0x50], r12
cmp qword [rsp + 0x70], 0x10
jb 0x18000f1e5
mov rcx, qword [rsp + 0x58]
mov rax, qword [rsp + 0x70]
inc rax
cmp rax, 0x1000
jb 0x18000f1df
test cl, 0x1f
je 0x18000f1b2
call fcn.180086214
int3
mov rax, qword [rcx - 8]
cmp rax, rcx
jb 0x18000f1c1
call fcn.180086214
int3
sub rcx, rax
cmp rcx, 8
jae 0x18000f1d0
call fcn.180086214
int3
cmp rcx, 0x27
jbe 0x18000f1dc
call fcn.180086214
int3
mov rcx, rax
call fcn.180081458
nop
mov qword [rsp + 0x70], reloc.WS2_32.dll_ntohs
mov qword [rsp + 0x68], r12
lea rax, [rsp + 0x58]
cmp qword [rsp + 0x70], 0x10
cmovae rax, qword [rsp + 0x58]
mov byte [rax], 0
mov rax, r14
mov rcx, qword [rbp + 0x1d0]
xor rcx, rsp
call fcn.180081d90
lea r11, [rsp + 0x2e0]
mov rbx, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret