Function at 0x14001cda0
Capabilities:
Query or enumerate registry value

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
sub rsp, 0xa90
mov qword [rsp + 0x60], 0xfffffffffffffffe
mov qword [rsp + 0xac0], rbx
mov rax, qword [0x1401423c0]
xor rax, rsp
mov qword [rsp + 0xa80], rax
mov r12, r9
mov rdi, r8
mov qword [rsp + 0x68], r8
xor r13d, r13d
mov ebp, r13d
mov byte [rsp + 0x580], bpl
xor edx, edx
mov r8d, 0xfe
lea rcx, [rsp + 0x581]
call fcn.1400e1fc0
mov dword [rsp + 0x40], 0xff
mov byte [rsp + 0x680], bpl
xor edx, edx
mov r8d, 0x3ff
lea rcx, [rsp + 0x681]
call fcn.1400e1fc0
mov dword [rsp + 0x44], 0x400
mov dword [rsp + 0x48], 7
cmp qword [rdi + 0x20], 0x10
jb 0x14001ce45
lea rsi, [rdi + 8]
mov rdx, qword [rsi]
jmp 0x14001ce4c
lea rsi, [rdi + 8]
mov rdx, rsi
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
mov r9d, 0xf003f
xor r8d, r8d
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x14001ce95
cmp qword [rdi + 0x20], 0x10
jb 0x14001ce7f
mov rcx, qword [rsi]
call fcn.1400cfe04
mov qword [rdi + 0x20], reloc.WS2_32.dll_ntohs
mov qword [rdi + 0x18], r13
mov byte [rsi], 0
xor al, al
jmp 0x14001d076
mov qword [rsp + 0x38], r13
mov qword [rsp + 0x30], r13
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], r13
lea r9, [rsp + 0x40]
lea r8, [rsp + 0x580]
xor edx, edx
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegEnumValueA]
cmp eax, 0x103
je 0x14001d056
nop
inc ebp
lea rcx, [0x140143878]
mov rax, qword [0x140143878]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x58], rax
mov byte [rsp + 0x70], 0
xor edx, edx
mov r8d, 0xfe
lea rcx, [rsp + 0x71]
call fcn.1400e1fc0
xor edx, edx
mov r8d, 0x405
lea rcx, [rsp + 0x16f]
call fcn.1400e1fc0
mov rcx, rdi
call fcn.1400039b0
mov r8, rax
lea r9, [rsp + 0x580]
lea rdx, [0x140112240]
lea rcx, [rsp + 0x58]
call fcn.14001d780
lea r11, [rsp + 0x44]
mov qword [rsp + 0x28], r11
lea rax, [rsp + 0x680]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x48]
xor r8d, r8d
lea rdx, [rsp + 0x580]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x14001cfc3
mov rcx, r13
nop word [rax + rax]
movzx eax, byte [rsp + rcx + 0x580]
mov byte [rsp + rcx + 0x70], al
inc rcx
test al, al
jne 0x14001cf80
mov ebx, dword [rsp + 0x44]
mov r8, rbx
lea rdx, [rsp + 0x680]
lea rcx, [rsp + 0x16f]
call fcn.1400e0ec0
mov dword [rsp + 0x570], ebx
lea rdx, [rsp + 0x70]
mov rcx, r12
call fcn.14001d0d0
xor edx, edx
mov r8d, 0x104
lea rcx, [rsp + 0x680]
call fcn.1400e1fc0
xor edx, edx
mov r8d, 0xff
lea rcx, [rsp + 0x580]
call fcn.1400e1fc0
mov dword [rsp + 0x40], 0xff
mov dword [rsp + 0x44], 0x400
mov rdx, qword [rsp + 0x58]
add rdx, 0xffffffffffffffe8
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x14001d01d
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov qword [rsp + 0x38], r13
mov qword [rsp + 0x30], r13
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], r13
lea r9, [rsp + 0x40]
lea r8, [rsp + 0x580]
mov edx, ebp
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegEnumValueA]
cmp eax, 0x103
jne 0x14001ced0
cmp qword [rdi + 0x20], 0x10
jb 0x14001d065
mov rcx, qword [rsi]
call fcn.1400cfe04
mov qword [rdi + 0x20], reloc.WS2_32.dll_ntohs
mov qword [rdi + 0x18], r13
mov byte [rsi], 0
mov al, 1
mov rcx, qword [rsp + 0xa80]
xor rcx, rsp
call fcn.1400e2890
mov rbx, qword [rsp + 0xac0]
add rsp, 0xa90
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret