Function at 0x140029e90
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x27]
sub rsp, 0x90
mov qword [rbp - 0x29], 0xfffffffffffffffe
mov r15, rcx
mov edx, reloc.OLEAUT32.dll_VariantTimeToDosDateTime
lea rcx, [rbp - 0x21]
call fcn.1400244d0
mov rbx, rax
cmp qword [rax + 0x18], 8
jb 0x140029ecd
mov rbx, qword [rax]
call fcn.14000bcc0
mov rcx, rax
test rax, rax
jne 0x140029ee5
mov ecx, 0x80004005
call fcn.14000b790
int3
mov rax, qword [rax]
call qword [rax + Ordinal_26]
lea rdi, [rax + 0x18]
mov qword [rbp - 0x39], rdi
or r14, 0xffffffffffffffff
xor r12d, r12d
test rbx, rbx
je 0x140029f3c
test rbx, 0xffffffffffff0000
jne 0x140029f2a
movzx ebx, bx
xor edx, edx
mov ecx, ebx
call fcn.14000b6e0
test rax, rax
je 0x140029f52
mov r8d, ebx
mov rdx, rax
lea rcx, [rbp - 0x39]
call fcn.14000bf00
jmp 0x140029f4e
mov rax, r14
nop dword [rax]
inc rax
cmp word [rbx + rax*2], r12w
jne 0x140029f30
jmp 0x140029f3f
mov eax, r12d
mov r8d, eax
mov rdx, rbx
lea rcx, [rbp - 0x39]
call fcn.1400144a0
mov rdi, qword [rbp - 0x39]
mov r8, qword [rbp - 9]
cmp r8, 8
jb 0x140029f6c
inc r8
mov rdx, qword [rbp - 0x21]
lea rcx, [rbp - 0x21]
call fcn.1400146a0
mov qword [rbp - 9], 7
mov qword [rbp - 0x11], r12
mov word [rbp - 0x21], r12w
mov edx, reloc.WLDAP32.dll_Ordinal_22
lea rcx, [rbp - 1]
call fcn.1400244d0
mov rsi, rax
cmp qword [rax + 0x18], 8
jb 0x140029f98
mov rsi, qword [rax]
call fcn.14000bcc0
mov rcx, rax
test rax, rax
jne 0x140029fb0
mov ecx, 0x80004005
call fcn.14000b790
int3
mov rax, qword [rax]
call qword [rax + Ordinal_26]
lea rbx, [rax + 0x18]
mov qword [rbp - 0x31], rbx
test rsi, rsi
je 0x140029ffd
test rsi, 0xffffffffffff0000
jne 0x140029fee
movzx esi, si
xor edx, edx
mov ecx, esi
call fcn.14000b6e0
test rax, rax
je 0x14002a013
mov r8d, esi
mov rdx, rax
lea rcx, [rbp - 0x31]
call fcn.14000bf00
jmp 0x14002a00f
mov rax, r14
inc rax
cmp word [rsi + rax*2], 0
jne 0x140029ff1
jmp 0x14002a000
mov eax, r12d
mov r8d, eax
mov rdx, rsi
lea rcx, [rbp - 0x31]
call fcn.1400144a0
mov rbx, qword [rbp - 0x31]
mov r8, qword [rbp + 0x17]
cmp r8, 8
jb 0x14002a02d
inc r8
mov rdx, qword [rbp - 1]
lea rcx, [rbp - 1]
call fcn.1400146a0
mov dword [rbp + 0x7f], 4
mov dword [rbp + 0x6f], r12d
mov dword [rbp + 0x77], 4
lea rax, [rbp + 0x77]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x6f]
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0x7f]
mov r8, rbx
mov rdx, rdi
mov rcx, 0xffffffff80000002
call qword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
je 0x14002a0a6
xor ecx, ecx
call fcn.1400e48f0
mov dword [rbp + 0x6f], eax
mov dword [rsp + 0x28], 4
lea rax, [rbp + 0x6f]
mov qword [rsp + 0x20], rax
mov r9d, 4
mov r8, rbx
mov rdx, rdi
mov rcx, 0xffffffff80000002
call qword [sym.imp.SHLWAPI.dll_SHSetValueW]
mov byte [r15], 1
jmp 0x14002a0aa
mov byte [r15], 0
mov edi, dword [rbp + 0x6f]
lea rdx, [rbx - 0x18]
mov eax, r14d
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14002a0c8
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_htonl]
nop
mov rdx, qword [rbp - 0x39]
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], r14d
sub r14d, 1
jg 0x14002a0e6
mov rcx, qword [rdx]
mov r8, qword [rcx]
call qword [rreloc.WS2_32.dll_htonl + 8]
mov eax, edi
add rsp, 0x90
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret