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

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x1f8
mov qword [rsp + 0x1d8], 0xfffffffffffffffe
mov rax, qword [rsp + 0x200]
mov qword [rsp + 0xb8], rax
mov rax, qword [rsp + 0xb8]
mov qword [rsp + 0xc0], rax
mov rax, qword [rsp + 0xc0]
add rax, 0x10
mov qword [rsp + 0xc8], rax
mov rax, qword [rsp + 0xc8]
mov rax, qword [rax]
mov qword [rsp + 0xd0], rax
cmp qword [rsp + 0xd0], 0
jne 0x1401ac67a
xor r8d, r8d
mov dl, 1
mov rcx, qword [rsp + 0x200]
call fcn.14004c760
nop
jmp 0x1401ace4b
mov qword [rsp + 0x58], 0
lea rax, [rsp + 0x58]
mov qword [rsp + 0x20], rax
mov r9d, 1
xor r8d, r8d
lea rdx, [0x1402536a0]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x1401ace24
mov dword [rsp + 0x3c], 0
mov dword [rsp + 0x64], 0
mov dword [rsp + 0x60], 7
mov dword [rsp + 0x40], 0
lea rax, [rsp + 0x3c]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x60]
xor r8d, r8d
lea rdx, [0x1402536e0]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x1401ace24
cmp dword [rsp + 0x60], 7
jne 0x1401ace24
cmp dword [rsp + 0x3c], 0
jbe 0x1401ace24
cmp dword [rsp + 0x3c], 0x100000
jae 0x1401ace24
mov eax, dword [rsp + 0x3c]
mov dword [rsp + 0x64], eax
mov eax, dword [rsp + 0x3c]
shl eax, 1
mov eax, eax
mov ecx, eax
call fcn.1401ef8b0
mov qword [rsp + 0xd8], rax
mov rax, qword [rsp + 0xd8]
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x88], 0
cmp qword [rsp + 0x50], 0
je 0x1401ac799
mov eax, dword [rsp + 0x3c]
shl eax, 1
mov eax, eax
mov r8d, eax
xor edx, edx
mov rcx, qword [rsp + 0x50]
call fcn.14020fde0
mov eax, dword [rsp + 0x3c]
mov rcx, qword [rsp + 0x50]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x88], rax
cmp qword [rsp + 0x50], 0
je 0x1401ace02
lea rax, [rsp + 0x64]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x60]
xor r8d, r8d
lea rdx, [0x140253778]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov dword [rsp + 0x40], eax
cmp dword [rsp + 0x40], 0
jne 0x1401ace02
mov eax, dword [rsp + 0x64]
cmp dword [rsp + 0x3c], eax
jne 0x1401ace02
mov dword [rsp + 0x34], 0
mov dword [rsp + 0x68], 0
mov qword [rsp + 0x48], 0
lea rax, [rsp + 0x1c0]
mov qword [rsp + 0xe0], rax
mov rax, qword [rsp + 0xe0]
mov qword [rsp + 0x90], rax
mov rax, qword [rsp + 0x90]
mov qword [rax], 0
mov rax, qword [rsp + 0x90]
mov qword [rax + 8], 0
mov rax, qword [rsp + 0x90]
mov qword [rax + 0x10], 0
lea rax, [rsp + 0x1a8]
mov qword [rsp + 0xe8], rax
mov rax, qword [rsp + 0xe8]
mov qword [rsp + 0x98], rax
mov rax, qword [rsp + 0x98]
mov qword [rax], 0
mov rax, qword [rsp + 0x98]
mov qword [rax + 8], 0
mov rax, qword [rsp + 0x98]
mov qword [rax + 0x10], 0
mov qword [rsp + 0x70], 0
mov qword [rsp + 0xb0], 0
mov byte [rsp + 0x38], 0
mov byte [rsp + 0x30], 0
mov eax, dword [rsp + 0x3c]
cmp dword [rsp + 0x34], eax
jae 0x1401acb21
mov eax, dword [rsp + 0x34]
mov rcx, qword [rsp + 0x50]
movsx eax, byte [rcx + rax]
test eax, eax
jne 0x1401acb12
mov eax, dword [rsp + 0x68]
mov rcx, qword [rsp + 0x50]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x70], rax
cmp qword [rsp + 0x48], 0
jne 0x1401acad7
mov rax, qword [rsp + 0x200]
mov qword [rsp + 0xf0], rax
mov rax, qword [rsp + 0xf0]
mov qword [rsp + 0xf8], rax
mov rax, qword [rsp + 0xf8]
add rax, 0x10
mov qword [rsp + 0x100], rax
mov rax, qword [rsp + 0x100]
mov rax, qword [rax]
mov qword [rsp + 0x108], rax
mov eax, dword [rsp + 0x68]
mov ecx, dword [rsp + 0x34]
sub ecx, eax
mov eax, ecx
mov eax, eax
cmp rax, qword [rsp + 0x108]
jbe 0x1401acac3
mov rax, qword [rsp + 0x200]
mov qword [rsp + 0x110], rax
mov rax, qword [rsp + 0x110]
mov qword [rsp + 0x118], rax
mov rax, qword [rsp + 0x118]
add rax, 0x10
mov qword [rsp + 0x120], rax
mov rax, qword [rsp + 0x120]
mov rax, qword [rax]
mov qword [rsp + 0x150], rax
mov rax, qword [rsp + 0x200]
mov qword [rsp + 0x128], rax
mov rax, qword [rsp + 0x128]
mov qword [rsp + 0x130], rax
mov rax, qword [rsp + 0x130]
add rax, 0x10
mov qword [rsp + 0x138], rax
mov rax, qword [rsp + 0x138]
mov rax, qword [rax]
mov qword [rsp + 0x148], rax
mov rax, qword [rsp + 0x200]
mov qword [rsp + 0x140], rax
mov rax, qword [rsp + 0x140]
mov qword [rsp + 0xa0], rax
mov rax, qword [rsp + 0xa0]
cmp qword [rax + 0x18], 0x10
jb 0x1401aca4e
mov rax, qword [rsp + 0x1e0]
mov qword [rsp + 0xa8], rax
mov rax, qword [rsp + 0xa0]
mov rax, qword [rax]
mov qword [rsp + 0xa8], rax
jmp 0x1401aca5e
mov rax, qword [rsp + 0xa0]
mov qword [rsp + 0xa8], rax
mov rax, qword [rsp + 0xa8]
mov qword [rsp + 0x158], rax
mov eax, dword [rsp + 0x34]
mov rcx, qword [rsp + 0x50]
add rcx, rax
mov rax, rcx
sub rax, qword [rsp + 0x148]
mov r8, qword [rsp + 0x150]
mov rdx, rax
mov rcx, qword [rsp + 0x158]
call fcn.1402195bc
test eax, eax
jne 0x1401acac3
mov r8, qword [rsp + 0x70]
lea rdx, str._net_utility__clear_delay_delete_registry:_s
mov ecx, 4
call fcn.1401ab968
mov byte [rsp + 0x38], 1
mov byte [rsp + 0x30], 1
jmp 0x1401acad5
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x1c0]
call fcn.1401ae7ac
jmp 0x1401acaf9
movzx eax, byte [rsp + 0x30]
test eax, eax
jne 0x1401acaf4
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x1a8]
call fcn.1401ae7ac
jmp 0x1401acaf9
mov byte [rsp + 0x30], 0
mov eax, 1
sub rax, qword [rsp + 0x48]
mov qword [rsp + 0x48], rax
mov eax, dword [rsp + 0x34]
inc eax
mov dword [rsp + 0x68], eax
mov eax, dword [rsp + 0x34]
inc eax
mov dword [rsp + 0x34], eax
jmp 0x1401ac8c6
movzx eax, byte [rsp + 0x38]
test eax, eax
je 0x1401acde6
mov qword [rsp + 0x48], 0
mov qword [rsp + 0x78], 0
mov qword [rsp + 0x80], 0
mov dword [rsp + 0x34], 0
jmp 0x1401acb60
mov eax, dword [rsp + 0x34]
inc eax
mov dword [rsp + 0x34], eax
mov eax, dword [rsp + 0x34]
mov qword [rsp + 0x160], rax
lea rcx, [rsp + 0x1c0]
call fcn.1401aed8c
mov rcx, qword [rsp + 0x160]
cmp rcx, rax
jae 0x1401acd1d
lea rax, [rsp + 0x1c0]
mov qword [rsp + 0x168], rax
mov rax, qword [rsp + 0x168]
mov qword [rsp + 0x170], rax
mov rax, qword [rsp + 0x170]
mov qword [rsp + 0x178], rax
mov eax, dword [rsp + 0x34]
mov rcx, qword [rsp + 0x178]
mov rcx, qword [rcx]
mov rax, qword [rcx + rax*8]
mov qword [rsp + 0x70], rax
mov eax, dword [rsp + 0x34]
mov qword [rsp + 0x180], rax
lea rcx, [rsp + 0x1a8]
call fcn.1401aed8c
mov rcx, qword [rsp + 0x180]
cmp rcx, rax
jb 0x1401acbfd
jmp 0x1401acd1d
lea rax, [rsp + 0x1a8]
mov qword [rsp + 0x188], rax
mov rax, qword [rsp + 0x188]
mov qword [rsp + 0x190], rax
mov rax, qword [rsp + 0x190]
mov qword [rsp + 0x198], rax
mov eax, dword [rsp + 0x34]
mov rcx, qword [rsp + 0x198]
mov rcx, qword [rcx]
mov rax, qword [rcx + rax*8]
mov qword [rsp + 0xb0], rax
mov rcx, qword [rsp + 0x70]
call fcn.140212370
mov qword [rsp + 0x78], rax
mov rcx, qword [rsp + 0xb0]
call fcn.140212370
mov qword [rsp + 0x80], rax
mov rax, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x48]
add rcx, rax
mov rax, rcx
mov rcx, qword [rsp + 0x80]
lea rax, [rax + rcx + 2]
mov ecx, dword [rsp + 0x3c]
cmp rax, rcx
jbe 0x1401acc97
jmp 0x1401acd1d
mov rax, qword [rsp + 0x78]
inc rax
mov rcx, qword [rsp + 0x48]
mov rdx, qword [rsp + 0x88]
add rdx, rcx
mov rcx, rdx
mov r8, rax
mov rdx, qword [rsp + 0x70]
call fcn.14020f990
mov rax, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x78]
lea rax, [rax + rcx + 1]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x80]
inc rax
mov rcx, qword [rsp + 0x48]
mov rdx, qword [rsp + 0x88]
add rdx, rcx
mov rcx, rdx
mov r8, rax
mov rdx, qword [rsp + 0xb0]
call fcn.14020f990
mov rax, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x80]
lea rax, [rax + rcx + 1]
mov qword [rsp + 0x48], rax
jmp 0x1401acb56
mov eax, dword [rsp + 0x3c]
cmp qword [rsp + 0x48], rax
jae 0x1401acd35
mov rax, qword [rsp + 0x48]
inc rax
mov qword [rsp + 0x48], rax
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rsp + 0x58], 0
lea rax, [rsp + 0x58]
mov qword [rsp + 0x20], rax
mov r9d, 2
xor r8d, r8d
lea rdx, str.SYSTEMCurrentControlSetControlSession_Manager
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov dword [rsp + 0x40], eax
cmp dword [rsp + 0x40], 0
jne 0x1401acdc6
mov eax, dword [rsp + 0x48]
mov dword [rsp + 0x28], eax
mov rax, qword [rsp + 0x88]
mov qword [rsp + 0x20], rax
mov r9d, dword [rsp + 0x60]
xor r8d, r8d
lea rdx, str.PendingFileRenameOperations
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov dword [rsp + 0x40], eax
mov r8d, dword [rsp + 0x40]
lea rdx, str._net_utility__clear_delay_delete_registry__set_reg_key_result:_d
mov ecx, 4
call fcn.1401ab968
jmp 0x1401acde6
mov qword [rsp + 0x58], 0
mov r8d, dword [rsp + 0x40]
lea rdx, str._net_utility__clear_delay_delete_registry__open_key_for_set_value_failed:_d
mov ecx, 4
call fcn.1401ab968
nop
lea rcx, [rsp + 0x1a8]
call fcn.1401ae43c
nop
lea rcx, [rsp + 0x1c0]
call fcn.1401ae43c
nop
cmp qword [rsp + 0x50], 0
je 0x1401ace24
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x1a0], rax
mov rcx, qword [rsp + 0x1a0]
call fcn.1401ef8b8
cmp qword [rsp + 0x58], 0
je 0x1401ace38
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
xor r8d, r8d
mov dl, 1
mov rcx, qword [rsp + 0x200]
call fcn.14004c760
nop
add rsp, 0x1f8
ret