Function at 0x140068700
Capabilities:
Query or enumerate registry value

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x2f]
sub rsp, 0x98
mov qword [rbp - 0x29], 0xfffffffffffffffe
mov edx, reloc.OLEAUT32.dll_VariantTimeToDosDateTime
lea rcx, [rbp - 0x21]
call fcn.140016310
mov rbx, rax
cmp qword [rax + 0x18], 8
jb 0x140068738
mov rbx, qword [rax]
call fcn.14000b6b4
mov rcx, rax
test rax, rax
jne 0x140068750
mov ecx, 0x80004005
call fcn.14000b9ec
int3
mov rax, qword [rax]
call qword [rax + Ordinal_26]
lea rdi, [rax + 0x18]
mov qword [rbp + 0x7f], rdi
or r14, 0xffffffffffffffff
xor r15d, r15d
test rbx, rbx
je 0x1400687ac
test rbx, 0xffffffffffff0000
jne 0x140068795
movzx ebx, bx
xor edx, edx
mov ecx, ebx
call fcn.14000b0cc
test rax, rax
je 0x1400687c2
mov r8d, ebx
mov rdx, rax
lea rcx, [rbp + 0x7f]
call fcn.140008224
jmp 0x1400687be
mov rax, r14
nop dword [rax + rax]
inc rax
cmp word [rbx + rax*2], r15w
jne 0x1400687a0
jmp 0x1400687af
mov eax, r15d
mov r8d, eax
mov rdx, rbx
lea rcx, [rbp + 0x7f]
call fcn.140007d30
mov rdi, qword [rbp + 0x7f]
mov r8, qword [rbp - 9]
cmp r8, 8
jb 0x1400687dc
inc r8
mov rdx, qword [rbp - 0x21]
lea rcx, [rbp - 0x21]
call fcn.14000c6f4
mov qword [rbp - 9], 7
mov qword [rbp - 0x11], r15
mov word [rbp - 0x21], r15w
mov edx, Ordinal_27
lea rcx, [rbp - 1]
call fcn.140016310
mov rsi, rax
cmp qword [rax + 0x18], 8
jb 0x140068808
mov rsi, qword [rax]
call fcn.14000b6b4
mov rcx, rax
test rax, rax
jne 0x140068820
mov ecx, 0x80004005
call fcn.14000b9ec
int3
mov rax, qword [rax]
call qword [rax + Ordinal_26]
lea rbx, [rax + 0x18]
mov qword [rbp - 0x39], rbx
test rsi, rsi
je 0x14006886d
test rsi, 0xffffffffffff0000
jne 0x14006885e
movzx esi, si
xor edx, edx
mov ecx, esi
call fcn.14000b0cc
test rax, rax
je 0x140068883
mov r8d, esi
mov rdx, rax
lea rcx, [rbp - 0x39]
call fcn.140008224
jmp 0x14006887f
mov rax, r14
inc rax
cmp word [rsi + rax*2], 0
jne 0x140068861
jmp 0x140068870
mov eax, r15d
mov r8d, eax
mov rdx, rsi
lea rcx, [rbp - 0x39]
call fcn.140007d30
mov rbx, qword [rbp - 0x39]
mov r8, qword [rbp + 0x17]
cmp r8, 8
jb 0x14006889d
inc r8
mov rdx, qword [rbp - 1]
lea rcx, [rbp - 1]
call fcn.14000c6f4
mov dword [rbp + 0x77], 4
mov dword [rbp + 0x6f], 4
mov dword [rbp + 0x67], r15d
lea rax, [rbp + 0x6f]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x67]
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0x77]
mov r8, rbx
mov rdx, rdi
mov rcx, 0xffffffff80000002
call qword [sym.imp.SHLWAPI.dll_SHGetValueW]
cmp dword [rbp + 0x67], 1
sete sil
test sil, sil
jne 0x14006895d
mov qword [rbp - 0x31], r15
lea rax, [rbp - 0x31]
mov qword [rsp + 0x20], rax
mov r9d, 0x20219
xor r8d, r8d
mov rdx, rdi
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14006895d
mov dword [rbp + 0x77], 4
mov dword [rbp + 0x6f], 4
mov dword [rbp + 0x67], r15d
lea rax, [rbp + 0x6f]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x67]
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0x77]
mov r8, rbx
lea rdx, [0x14069df38]
mov rcx, qword [rbp - 0x31]
call qword [sym.imp.SHLWAPI.dll_SHGetValueW]
mov rcx, qword [rbp - 0x31]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [rbp + 0x67], 1
sete sil
lea rdx, [rbx - 0x18]
mov eax, r14d
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140068978
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_htonl]
nop
mov rdx, qword [rbp + 0x7f]
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], r14d
sub r14d, 1
jg 0x140068996
mov rcx, qword [rdx]
mov r8, qword [rcx]
call qword [rreloc.WS2_32.dll_htonl + 8]
movzx eax, sil
add rsp, 0x98
pop r15
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret