Function at 0x1801dfae0
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x118
mov qword [rsp + 0xa8], 0xfffffffffffffffe
mov dword [rsp + 0x50], 0
mov r8, qword [rsp + 0x130]
lea rdx, [rsp + 0x128]
lea rcx, [rsp + 0xf0]
call fcn.1801e4160
nop
lea rcx, [rsp + 0xf0]
call fcn.180074060
lea rcx, [rsp + 0x60]
mov qword [rsp + 0x20], rcx
mov r9d, 0x20219
xor r8d, r8d
mov rdx, rax
mov rcx, qword [rsp + 0x128]
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [rsp + 0x38], eax
lea rcx, [rsp + 0x78]
call fcn.1800740e0
nop
cmp dword [rsp + 0x38], 0
jne 0x1801dfd8d
mov edx, 0x20008
lea rcx, [rsp + 0x40]
call fcn.1800761a0
nop
mov dword [rsp + 0x30], 0x20000
lea rcx, [rsp + 0x40]
call fcn.1800038e0
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x4c]
xor r8d, r8d
mov rdx, qword [rsp + 0x138]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [rsp + 0x38], eax
cmp dword [rsp + 0x30], 0x20000
jbe 0x1801dfc1f
mov eax, dword [rsp + 0x30]
add eax, 8
mov eax, eax
mov edx, eax
lea rcx, [rsp + 0x40]
call fcn.1800edad0
lea rcx, [rsp + 0x40]
call fcn.1800038e0
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x4c]
xor r8d, r8d
mov rdx, qword [rsp + 0x138]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [rsp + 0x38], eax
lea rcx, [rsp + 0x40]
call fcn.1800038e0
mov ecx, dword [rsp + 0x30]
mov byte [rax + rcx], 0
cmp dword [rsp + 0x38], 0
jne 0x1801dfd77
mov eax, dword [rsp + 0x4c]
mov dword [rsp + 0x68], eax
cmp dword [rsp + 0x68], 7
je 0x1801dfc50
jmp 0x1801dfd77
mov dword [rsp + 0x34], 0
mov eax, dword [rsp + 0x30]
cmp dword [rsp + 0x34], eax
jae 0x1801dfd77
lea rcx, [rsp + 0x40]
call fcn.1800038e0
mov ecx, dword [rsp + 0x34]
add rax, rcx
mov rcx, rax
call fcn.18017ce5c
mov qword [rsp + 0x58], rax
cmp qword [rsp + 0x58], 0
je 0x1801dfd5c
lea rcx, [rsp + 0x40]
call fcn.1800038e0
mov ecx, dword [rsp + 0x34]
add rax, rcx
mov r8, qword [rsp + 0x58]
mov rdx, rax
lea rcx, [rsp + 0xd0]
call fcn.180073d30
nop
lea rcx, [rsp + 0xd0]
call fcn.180074060
mov r8, qword [0x18039a670]
mov rdx, rax
lea rcx, [rsp + 0x90]
call fcn.1801de040
nop
lea rcx, [rsp + 0x90]
call fcn.180074b20
xor edx, edx
mov ecx, 2
div rcx
mov qword [rsp + 0x70], rax
xor edx, edx
lea rcx, [rsp + 0x90]
call fcn.180074b40
mov rcx, qword [rsp + 0x70]
mov r8, rcx
mov rdx, rax
lea rcx, [rsp + 0xb0]
call fcn.180073d30
nop
lea rdx, [rsp + 0xb0]
lea rcx, [rsp + 0x78]
call fcn.180074950
nop
lea rcx, [rsp + 0xb0]
call fcn.180073fc0
nop
lea rcx, [rsp + 0x90]
call fcn.180074b00
nop
lea rcx, [rsp + 0xd0]
call fcn.180073fc0
mov rax, qword [rsp + 0x58]
lea rax, [rax + rax + 2]
mov ecx, dword [rsp + 0x34]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x34], eax
jmp 0x1801dfc58
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
lea rcx, [rsp + 0x40]
call fcn.180076200
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0x78]
call fcn.180078dc0
mov rdx, rax
mov rcx, qword [rsp + 0x120]
call fcn.180079a40
lea rcx, [rsp + 0x78]
call fcn.1800032b0
mov rdx, rax
mov rcx, qword [rsp + 0x120]
call fcn.1800ab5f0
mov eax, dword [rsp + 0x50]
or eax, 1
mov dword [rsp + 0x50], eax
lea rcx, [rsp + 0x78]
call fcn.1800748f0
nop
lea rcx, [rsp + 0xf0]
call fcn.180073fc0
mov rax, qword [rsp + 0x120]
add rsp, 0x118
ret