Function at 0x14000d237
Capabilities:
Query or enumerate registry key

Disassembly:
mov qword [rsp + 8], rcx
mov qword [rsp + 0x10], rdx
mov qword [rsp + 0x18], r8
push r15
mov rax, reloc.WS2_32.dll_inet_addr
sub rsp, 8
mov qword [rsp], 0
dec rax
jne 0x14000d24f
sub rsp, 0x28
call fcn.14002daf0
mov rcx, qword [rsp + 0xb0]
call fcn.1400118d4
mov rdx, qword [rsp + 0x90]
lea rcx, [rsp + 0x28]
sub rsp, 0x10
call fcn.14002db60
add rsp, 0x10
mov rdx, qword [rsp + 0xa0]
lea rcx, [rsp + 0x30]
sub rsp, 0x10
call fcn.14002db60
add rsp, 0x10
push qword [rsp + 0x28]
pop rcx
call fcn.14000acb2
lea rax, [rsp + 0x40]
push qword [rsp + 0x30]
movabs rcx, 0x1400e1374
pop rdx
call fcn.14002da10
or rax, rax
je 0x14000d34d
cmp dword [0x14014944c], 0
je 0x14000d325
sub rsp, 8
lea rax, [rsp + 0x58]
mov rax, rax
push rax
movsxd r15, dword [0x140149454]
or r15, 0xf003f
mov rax, r15
push rax
push 0
push qword [0x140149338]
push qword [0x140149360]
pop rcx
pop rdx
pop r8
pop r9
sub rsp, 0x20
call sub.ADVAPI32.dll_RegOpenKeyExW
add rsp, 0x30
mov qword [rsp + 0x48], rax
jmp 0x14000d348
lea rax, [rsp + 0x50]
mov rax, rax
push rax
push qword [0x140149338]
push qword [0x140149360]
pop rcx
pop rdx
pop r8
call sub.ADVAPI32.dll_RegOpenKeyW
mov qword [rsp + 0x48], rax
jmp 0x14000d3e6
lea rax, [rsp + 0x60]
mov rax, rax
push rax
push qword [0x140149360]
push qword [rsp + 0x40]
pop rcx
pop rdx
pop r8
call sub.ADVAPI32.dll_RegConnectRegistryW
movsxd rax, eax
mov qword [rsp + 0x58], rax
cmp dword [0x14014944c], 0
je 0x14000d3c5
sub rsp, 8
lea rax, [rsp + 0x58]
mov rax, rax
push rax
movsxd r15, dword [0x140149454]
or r15, 0xf003f
mov rax, r15
push rax
push 0
push qword [0x140149338]
push qword [rsp + 0x88]
pop rcx
pop rdx
pop r8
pop r9
sub rsp, 0x20
call sub.ADVAPI32.dll_RegOpenKeyExW
add rsp, 0x30
mov qword [rsp + 0x48], rax
jmp 0x14000d3e6
lea rax, [rsp + 0x50]
mov rax, rax
push rax
push qword [0x140149338]
push qword [rsp + 0x70]
pop rcx
pop rdx
pop r8
call sub.ADVAPI32.dll_RegOpenKeyW
mov qword [rsp + 0x48], rax
mov r15, qword [rsp + 0x48]
and r15, r15
jne 0x14000d500
mov qword [rsp + 0x68], 0x400
push rcx
sub rsp, 0x28
call fcn.14002d810
add rsp, 0x28
pop rcx
push rax
sub rsp, 8
push rcx
sub rsp, 0x28
call fcn.14002d810
add rsp, 0x28
pop rcx
push rax
push qword [rsp + 0x80]
pop rcx
pop rdx
sub rsp, 0x20
call fcn.14002a950
add rsp, 0x28
lea rcx, [rsp + 0x40]
pop rdx
call fcn.14002d8d0
lea rax, [rsp + 0x40]
mov rax, rax
push rax
push 0
push 0
push 0
lea rax, [rsp + 0x88]
mov rax, rax
push rax
mov rax, qword [rsp + 0x60]
mov rax, rax
push rax
push qword [rsp + 0xc8]
push qword [rsp + 0x88]
pop rcx
pop rdx
pop r8
pop r9
sub rsp, 0x20
call sub.ADVAPI32.dll_RegEnumKeyExW
add rsp, 0x40
mov qword [rsp + 0x48], rax
mov r15, qword [rsp + 0x48]
and r15, r15
jne 0x14000d4ec
push rcx
sub rsp, 0x28
call fcn.14002d810
add rsp, 0x28
pop rcx
push rax
sub rsp, 8
push rcx
sub rsp, 0x28
call fcn.14002d810
add rsp, 0x28
pop rcx
push rax
push qword [rsp + 0x80]
push qword [rsp + 0x58]
pop rcx
pop rdx
pop r8
sub rsp, 0x20
call fcn.14002b350
add rsp, 0x28
lea rcx, [rsp + 0x78]
pop rdx
call fcn.14002d8d0
jmp 0x14000d500
movabs rdx, 0x1400e1028
lea rcx, [rsp + 0x70]
call fcn.14002d720
push qword [rsp + 0x50]
pop rcx
call sub.ADVAPI32.dll_RegCloseKey
mov rcx, qword [rsp + 0x70]
push rcx
sub rsp, 0x28
call fcn.14002d810
add rsp, 0x28
pop rcx
push rax
sub rsp, 0x28
call fcn.14002d860
add rsp, 0x28
pop rax
push rax
call fcn.14002d9b0
pop rdx
add rax, rdx
jmp 0x14000d543
push rax
mov rcx, qword [rsp + 0x38]
sub rsp, 0x28
call fcn.14002dc00
add rsp, 0x28
mov rcx, qword [rsp + 0x40]
sub rsp, 0x28
call fcn.14002dc00
add rsp, 0x28
mov rcx, qword [rsp + 0x78]
sub rsp, 0x28
call fcn.14002dc00
add rsp, 0x28
mov rcx, qword [rsp + 0x30]
sub rsp, 0x28
call fcn.14002dc00
add rsp, 0x28
pop rax
add rsp, 0x80
pop r15
ret