Function at 0x14011f2f0
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x2d0
mov rax, qword [0x1401980c8]
xor rax, rsp
mov qword [rsp + 0x2c0], rax
mov dword [rsp + 0x38], 0
mov eax, 2
imul rax, rax, 0x11
mov ecx, reloc.WS2_32.dll_WSACleanup
mov word [rsp + rax + 0x80], cx
mov eax, 2
imul rax, rax, 0x18
mov ecx, reloc.WS2_32.dll_WSAGetLastError
mov word [rsp + rax + 0x80], cx
mov eax, 2
imul rax, rax, 8
mov ecx, 0x5c
mov word [rsp + rax + 0x80], cx
mov eax, 2
imul rax, rax, 0xa
mov ecx, 0x69
mov word [rsp + rax + 0x80], cx
mov eax, 2
imul rax, rax, 6
mov ecx, VarR8FromBool
mov word [rsp + rax + 0x80], cx
mov eax, 2
imul rax, rax, 5
mov ecx, 0x41
mov word [rsp + rax + 0x80], cx
mov eax, 2
imul rax, rax, 0xf
mov ecx, reloc.WS2_32.dll_WSAGetLastError
mov word [rsp + rax + 0x80], cx
mov eax, 2
imul rax, rax, 0x10
mov ecx, 0x66
mov word [rsp + rax + 0x80], cx
mov eax, 2
imul rax, rax, 0x16
mov ecx, reloc.WS2_32.dll_WSASetLastError
mov word [rsp + rax + 0x80], cx
mov eax, 2
imul rax, rax, 3
mov ecx, VarR8FromBool
mov word [rsp + rax + 0x80], cx
mov eax, 2
imul rax, rax, 0
mov ecx, VarR8FromBool
mov word [rsp + rax + 0x80], cx
mov eax, 2
imul rax, rax, 2
mov ecx, 0x46
mov word [rsp + rax + 0x80], cx
mov eax, 2
imul rax, rax, 9
mov ecx, Ordinal_79
mov word [rsp + rax + 0x80], cx
mov eax, 2
imul rax, rax, 0x19
mov ecx, 0x67
mov word [rsp + rax + 0x80], cx
mov eax, 2
imul rax, rax, 0xd
mov ecx, reloc.WS2_32.dll_WSAGetLastError
mov word [rsp + rax + 0x80], cx
mov eax, 2
imul rax, rax, 0x1a
mov ecx, WSACleanup
mov word [rsp + rax + 0x80], cx
mov eax, 2
imul rax, rax, 0x1b
mov ecx, VarCyFromR8
mov word [rsp + rax + 0x80], cx
mov eax, 2
imul rax, rax, 0x13
mov ecx, 0x43
mov word [rsp + rax + 0x80], cx
mov eax, 2
imul rax, rax, 0x14
mov ecx, WSACleanup
mov word [rsp + rax + 0x80], cx
mov eax, 2
imul rax, rax, 7
mov ecx, 0x45
mov word [rsp + rax + 0x80], cx
mov eax, 2
imul rax, rax, 0x1c
mov ecx, reloc.WS2_32.dll_WSASetLastError
mov word [rsp + rax + 0x80], cx
mov eax, 2
imul rax, rax, 1
mov ecx, reloc.WLDAP32.dll_Ordinal_79
mov word [rsp + rax + 0x80], cx
mov eax, 2
imul rax, rax, 0x1d
mov ecx, 0x68
mov word [rsp + rax + 0x80], cx
mov eax, 2
imul rax, rax, 0x1e
mov ecx, 0x79
mov word [rsp + rax + 0x80], cx
mov eax, 2
imul rax, rax, 0x12
mov ecx, 0x5c
mov word [rsp + rax + 0x80], cx
mov eax, 2
imul rax, rax, 4
mov ecx, 0x57
mov word [rsp + rax + 0x80], cx
mov eax, 2
imul rax, rax, 0x17
mov ecx, reloc.WS2_32.dll_WSACleanup
mov word [rsp + rax + 0x80], cx
mov eax, 2
imul rax, rax, 0x1f
mov qword [rsp + 0x58], rax
cmp qword [rsp + 0x58], 0x40
jae 0x14011f581
jmp 0x14011f586
call fcn.14008eff0
xor eax, eax
mov rcx, qword [rsp + 0x58]
mov word [rsp + rcx + 0x80], ax
mov eax, 2
imul rax, rax, 0xe
mov ecx, reloc.WS2_32.dll_WSAStartup
mov word [rsp + rax + 0x80], cx
mov eax, 2
imul rax, rax, 0xc
mov ecx, WSACleanup
mov word [rsp + rax + 0x80], cx
mov eax, 2
imul rax, rax, 0xb
mov ecx, VarCyFromR8
mov word [rsp + rax + 0x80], cx
mov eax, 2
imul rax, rax, 0x15
mov ecx, 0x79
mov word [rsp + rax + 0x80], cx
mov eax, 2
imul rax, rax, 3
mov ecx, 0x68
mov word [rsp + rax + 0x68], cx
mov eax, 2
imul rax, rax, 0xa
mov ecx, VarCyFromR8
mov word [rsp + rax + 0x68], cx
mov eax, 2
imul rax, rax, 1
mov ecx, VarCyFromR8
mov word [rsp + rax + 0x68], cx
mov eax, 2
imul rax, rax, 8
mov ecx, 0x75
mov word [rsp + rax + 0x68], cx
mov eax, 2
imul rax, rax, 0
mov ecx, Ordinal_79
mov word [rsp + rax + 0x68], cx
mov eax, 2
imul rax, rax, 2
mov ecx, VarCyFromR8
mov word [rsp + rax + 0x68], cx
mov eax, 2
imul rax, rax, 7
mov ecx, 0x47
mov word [rsp + rax + 0x68], cx
mov eax, 2
imul rax, rax, 5
mov ecx, WSAGetLastError
mov word [rsp + rax + 0x68], cx
mov eax, 2
imul rax, rax, 9
mov ecx, 0x69
mov word [rsp + rax + 0x68], cx
mov eax, 2
imul rax, rax, 6
mov ecx, reloc.OLEAUT32.dll_VarCyFromR8
mov word [rsp + rax + 0x68], cx
mov eax, 2
imul rax, rax, 4
mov ecx, 0x69
mov word [rsp + rax + 0x68], cx
mov eax, 2
imul rax, rax, 0xb
mov qword [rsp + 0x60], rax
cmp qword [rsp + 0x60], 0x18
jae 0x14011f6d6
jmp 0x14011f6db
call fcn.14008eff0
xor eax, eax
mov rcx, qword [rsp + 0x60]
mov word [rsp + rcx + 0x68], ax
lea rcx, [rsp + 0x50]
call fcn.140064ffc
nop
lea rax, [rsp + 0xc0]
mov rdi, rax
xor eax, eax
mov ecx, 0x200
rep stosb byte [rdi], al
mov dword [rsp + 0x34], 0x200
mov byte [rsp + 0x30], 0
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
lea rdx, [rsp + 0x80]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14011f807
lea rax, [rsp + 0x34]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0xc0]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x48]
xor r8d, r8d
lea rdx, [rsp + 0x68]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x14011f77d
mov byte [rsp + 0x30], 1
jmp 0x14011f7e1
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
mov r9d, 0x20119
xor r8d, r8d
lea rdx, [rsp + 0x80]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14011f7e1
lea rax, [rsp + 0x34]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0xc0]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x48]
xor r8d, r8d
lea rdx, [rsp + 0x68]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x14011f7e1
mov byte [rsp + 0x30], 1
movzx eax, byte [rsp + 0x30]
test eax, eax
je 0x14011f807
lea rdx, [rsp + 0xc0]
lea rcx, [rsp + 0x50]
call fcn.14006511c
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rdx, [rsp + 0x50]
mov rcx, qword [rsp + 0x2e0]
call fcn.140064f2c
mov eax, dword [rsp + 0x38]
or eax, 1
mov dword [rsp + 0x38], eax
lea rcx, [rsp + 0x50]
call fcn.14006504c
mov rax, qword [rsp + 0x2e0]
mov rcx, qword [rsp + 0x2c0]
xor rcx, rsp
call fcn.14008f320
add rsp, 0x2d0
pop rdi
ret