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

Disassembly:
mov qword [rsp + 0x10], rdx
mov dword [rsp + 8], ecx
push rdi
sub rsp, 0x370
mov rax, qword [0x1403c86e8]
xor rax, rsp
mov qword [rsp + 0x360], rax
mov dword [rsp + 0x54], 0
mov dword [rsp + 0x40], 1
mov dword [rsp + 0x88], 0x104
mov byte [rsp + 0x250], 0
lea rax, [rsp + 0x251]
mov rdi, rax
xor eax, eax
mov ecx, 0x103
rep stosb byte [rdi], al
lea rax, [rsp + 0x88]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x250]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x40]
mov r8, qword [rsp + 0x388]
lea rdx, [0x1403dd0e8]
mov rcx, 0xffffffff80000002
call qword [sym.imp.SHLWAPI.dll_SHGetValueA]
mov dword [rsp + 0x6c], eax
cmp dword [rsp + 0x6c], 2
jne 0x14001b7fe
xor ecx, ecx
call fcn.140295a30
mov qword [rsp + 0xd8], rax
mov rax, qword [rsp + 0xd8]
mov qword [rsp + 0x80], rax
mov byte [rsp + 0x210], 0
lea rax, [rsp + 0x211]
mov rdi, rax
xor eax, eax
mov ecx, Ordinal_33
rep stosb byte [rdi], al
lea rdx, [rsp + 0x118]
lea rcx, [rsp + 0x80]
call fcn.14002f58c
mov qword [rsp + 0xa8], rax
cmp qword [rsp + 0xa8], 0
je 0x14001b6c0
mov rax, qword [rsp + 0xa8]
mov eax, dword [rax + 4]
mov dword [rsp + 0x60], eax
jmp 0x14001b6c8
mov dword [rsp + 0x60], 0xffffffff
lea rdx, [rsp + 0x140]
lea rcx, [rsp + 0x80]
call fcn.14002f58c
mov qword [rsp + 0xb0], rax
cmp qword [rsp + 0xb0], 0
je 0x14001b701
mov rax, qword [rsp + 0xb0]
mov eax, dword [rax + 8]
mov dword [rsp + 0x64], eax
jmp 0x14001b709
mov dword [rsp + 0x64], 0xffffffff
lea rdx, [rsp + 0x168]
lea rcx, [rsp + 0x80]
call fcn.14002f58c
mov qword [rsp + 0xb8], rax
cmp qword [rsp + 0xb8], 0
je 0x14001b742
mov rax, qword [rsp + 0xb8]
mov eax, dword [rax + 0xc]
mov dword [rsp + 0x68], eax
jmp 0x14001b74a
mov dword [rsp + 0x68], 0
lea rcx, [rsp + 0x80]
call fcn.14002f528
mov dword [rsp + 0x8c], eax
lea rcx, [rsp + 0x80]
call fcn.14002f4c0
mov ecx, dword [rsp + 0x60]
mov dword [rsp + 0x38], ecx
mov ecx, dword [rsp + 0x64]
mov dword [rsp + 0x30], ecx
mov ecx, dword [rsp + 0x68]
mov dword [rsp + 0x28], ecx
mov ecx, dword [rsp + 0x8c]
mov dword [rsp + 0x20], ecx
mov r9d, eax
lea r8, [0x140363fb0]
mov edx, reloc.WLDAP32.dll_Ordinal_32
lea rcx, [rsp + 0x210]
call fcn.1400453f4
mov dword [rsp + 0x40], 1
lea rcx, [rsp + 0x210]
call fcn.1402958f0
mov dword [rsp + 0x28], eax
lea rax, [rsp + 0x210]
mov qword [rsp + 0x20], rax
mov r9d, dword [rsp + 0x40]
mov r8, qword [rsp + 0x388]
lea rdx, [0x1403dd0e8]
mov rcx, 0xffffffff80000002
call qword [sym.imp.SHLWAPI.dll_SHSetValueA]
mov dword [rsp + 0x54], 1
jmp 0x14001bbfc
cmp dword [rsp + 0x6c], 0
jne 0x14001bbfc
lea rcx, [rsp + 0x250]
call fcn.1402958f0
cmp rax, 0xc
jb 0x14001bbfc
mov byte [rsp + 0x208], 0
lea rax, [rsp + 0x209]
mov rdi, rax
xor eax, eax
mov ecx, 4
rep stosb byte [rdi], al
mov r8d, 4
lea rdx, [rsp + 0x250]
lea rcx, [rsp + 0x208]
call fcn.14028b800
mov byte [rsp + 0x50], 0
lea rax, [rsp + 0x51]
mov rdi, rax
xor eax, eax
mov ecx, 2
rep stosb byte [rdi], al
lea rax, [rsp + 0x254]
mov r8d, 2
mov rdx, rax
lea rcx, [rsp + 0x50]
call fcn.14028b800
mov byte [rsp + 0x4c], 0
lea rax, [rsp + 0x4d]
mov rdi, rax
xor eax, eax
mov ecx, 2
rep stosb byte [rdi], al
lea rax, [rsp + 0x256]
mov r8d, 2
mov rdx, rax
lea rcx, [rsp + 0x4c]
call fcn.14028b800
mov byte [rsp + 0x48], 0
lea rax, [rsp + 0x49]
mov rdi, rax
xor eax, eax
mov ecx, 2
rep stosb byte [rdi], al
lea rax, [rsp + 0x258]
mov r8d, 2
mov rdx, rax
lea rcx, [rsp + 0x48]
call fcn.14028b800
mov byte [rsp + 0x44], 0
lea rax, [rsp + 0x45]
mov rdi, rax
xor eax, eax
mov ecx, 2
rep stosb byte [rdi], al
lea rax, [rsp + 0x25a]
mov r8d, 2
mov rdx, rax
lea rcx, [rsp + 0x44]
call fcn.14028b800
lea rcx, [rsp + 0x44]
call qword [sym.imp.SHLWAPI.dll_StrToIntA]
mov dword [rsp + 0x90], eax
lea rcx, [rsp + 0x48]
call qword [sym.imp.SHLWAPI.dll_StrToIntA]
mov dword [rsp + 0x94], eax
lea rcx, [rsp + 0x4c]
call qword [sym.imp.SHLWAPI.dll_StrToIntA]
mov dword [rsp + 0xa0], eax
lea rcx, [rsp + 0x50]
call qword [sym.imp.SHLWAPI.dll_StrToIntA]
mov dword [rsp + 0x98], eax
lea rcx, [rsp + 0x208]
call qword [sym.imp.SHLWAPI.dll_StrToIntA]
mov dword [rsp + 0x38], 0xffffffff
mov dword [rsp + 0x30], 0
mov ecx, dword [rsp + 0x90]
mov dword [rsp + 0x28], ecx
mov ecx, dword [rsp + 0x94]
mov dword [rsp + 0x20], ecx
mov ecx, dword [rsp + 0xa0]
mov r9d, ecx
mov ecx, dword [rsp + 0x98]
mov r8d, ecx
mov edx, eax
lea rcx, [rsp + 0x108]
call fcn.14002f238
xor ecx, ecx
call fcn.140295a30
mov qword [rsp + 0xe0], rax
mov rax, qword [rsp + 0xe0]
mov qword [rsp + 0x58], rax
xor eax, eax
movsxd rcx, dword [rsp + 0x380]
xor edx, edx
xor edi, edi
imul rdi, rdi, 0x18
add rdx, rdi
imul rdx, rdx, 0x3c
add rcx, rdx
imul rcx, rcx, 0x3c
add rax, rcx
mov qword [rsp + 0xe8], rax
mov rax, qword [rsp + 0xe8]
mov qword [rsp + 0xf0], rax
mov rax, qword [rsp + 0xf0]
mov qword [rsp + 0xf8], rax
mov rax, qword [rsp + 0xf8]
mov rcx, qword [rsp + 0x58]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x100], rax
mov rax, qword [rsp + 0x100]
mov qword [rsp + 0x110], rax
mov rax, qword [rsp + 0x108]
cmp qword [rsp + 0x110], rax
jle 0x14001ba68
mov dword [rsp + 0x70], 1
jmp 0x14001ba70
mov dword [rsp + 0x70], 0
movzx eax, byte [rsp + 0x70]
test eax, eax
je 0x14001bbfc
mov byte [rsp + 0x230], 0
lea rax, [rsp + 0x231]
mov rdi, rax
xor eax, eax
mov ecx, Ordinal_33
rep stosb byte [rdi], al
lea rdx, [rsp + 0x190]
lea rcx, [rsp + 0x58]
call fcn.14002f58c
mov qword [rsp + 0xc0], rax
cmp qword [rsp + 0xc0], 0
je 0x14001bacf
mov rax, qword [rsp + 0xc0]
mov eax, dword [rax + 4]
mov dword [rsp + 0x74], eax
jmp 0x14001bad7
mov dword [rsp + 0x74], 0xffffffff
lea rdx, [rsp + 0x1b8]
lea rcx, [rsp + 0x58]
call fcn.14002f58c
mov qword [rsp + 0xc8], rax
cmp qword [rsp + 0xc8], 0
je 0x14001bb0d
mov rax, qword [rsp + 0xc8]
mov eax, dword [rax + 8]
mov dword [rsp + 0x78], eax
jmp 0x14001bb15
mov dword [rsp + 0x78], 0xffffffff
lea rdx, [rsp + 0x1e0]
lea rcx, [rsp + 0x58]
call fcn.14002f58c
mov qword [rsp + 0xd0], rax
cmp qword [rsp + 0xd0], 0
je 0x14001bb4b
mov rax, qword [rsp + 0xd0]
mov eax, dword [rax + 0xc]
mov dword [rsp + 0x7c], eax
jmp 0x14001bb53
mov dword [rsp + 0x7c], 0
lea rcx, [rsp + 0x58]
call fcn.14002f528
mov dword [rsp + 0x9c], eax
lea rcx, [rsp + 0x58]
call fcn.14002f4c0
mov ecx, dword [rsp + 0x74]
mov dword [rsp + 0x38], ecx
mov ecx, dword [rsp + 0x78]
mov dword [rsp + 0x30], ecx
mov ecx, dword [rsp + 0x7c]
mov dword [rsp + 0x28], ecx
mov ecx, dword [rsp + 0x9c]
mov dword [rsp + 0x20], ecx
mov r9d, eax
lea r8, [0x140363fd0]
mov edx, reloc.WLDAP32.dll_Ordinal_32
lea rcx, [rsp + 0x230]
call fcn.1400453f4
mov dword [rsp + 0x40], 1
lea rcx, [rsp + 0x230]
call fcn.1402958f0
mov dword [rsp + 0x28], eax
lea rax, [rsp + 0x230]
mov qword [rsp + 0x20], rax
mov r9d, dword [rsp + 0x40]
mov r8, qword [rsp + 0x388]
lea rdx, [0x1403dd0e8]
mov rcx, 0xffffffff80000002
call qword [sym.imp.SHLWAPI.dll_SHSetValueA]
mov dword [rsp + 0x54], 1
mov eax, dword [rsp + 0x54]
mov rcx, qword [rsp + 0x360]
xor rcx, rsp
call fcn.140286010
add rsp, 0x370
pop rdi
ret