Function at 0x1c3b4d0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x1c
mov eax, dword [0x1cff040]
xor eax, ebp
mov dword [ebp - 0x10], eax
cmp byte [0x1d1bce4], 0
je 0x1c3b7f9
mov eax, dword [ebp + 0xc]
xor ecx, ecx
lea edx, [ebp - 0x18]
mov dword [edx + 4], ecx
mov dword [edx], ecx
push eax
push edx
call sub.ntdll.dll_RtlInitUnicodeString
mov eax, 0x18
mov dword [ebp - 0x1c], eax
push eax
call fcn.01c86c86
add esp, 4
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], eax
lea ecx, [eax + 0x18]
mov dword [ebp - 0x20], ecx
test eax, eax
je 0x1c3b7ef
mov byte [eax], 0
cmp eax, 0xffffffff
je 0x1c3b7ef
mov byte [eax + 1], 0
cmp eax, 0xfffffffe
je 0x1c3b7ef
mov byte [eax + 2], 0
cmp eax, 0xfffffffd
je 0x1c3b7ef
mov byte [eax + 3], 0
cmp eax, 0xfffffffc
je 0x1c3b7ef
mov byte [eax + 4], 0
cmp eax, 0xfffffffb
je 0x1c3b7ef
mov byte [eax + 5], 0
cmp eax, 0xfffffffa
je 0x1c3b7ef
mov byte [eax + 6], 0
cmp eax, 0xfffffff9
je 0x1c3b7ef
mov byte [eax + 7], 0
cmp eax, 0xfffffff8
je 0x1c3b7ef
mov byte [eax + 8], 0
cmp eax, 0xfffffff7
je 0x1c3b7ef
mov byte [eax + 9], 0
cmp eax, 0xfffffff6
je 0x1c3b7ef
mov byte [eax + 0xa], 0
cmp eax, 0xfffffff5
je 0x1c3b7ef
mov byte [eax + 0xb], 0
cmp eax, 0xfffffff4
je 0x1c3b7ef
mov byte [eax + 0xc], 0
cmp eax, 0xfffffff3
je 0x1c3b7ef
mov byte [eax + 0xd], 0
cmp eax, 0xfffffff2
je 0x1c3b7ef
mov byte [eax + 0xe], 0
cmp eax, 0xfffffff1
je 0x1c3b7ef
mov byte [eax + 0xf], 0
cmp eax, 0xfffffff0
je 0x1c3b7ef
mov byte [eax + 0x10], 0
cmp eax, 0xffffffef
je 0x1c3b7ef
mov byte [eax + 0x11], 0
cmp eax, 0xffffffee
je 0x1c3b7ef
mov byte [eax + 0x12], 0
cmp eax, 0xffffffed
je 0x1c3b7ef
mov byte [eax + 0x13], 0
cmp eax, 0xffffffec
je 0x1c3b7ef
mov byte [eax + 0x14], 0
cmp eax, 0xffffffeb
je 0x1c3b7ef
mov byte [eax + 0x15], 0
cmp eax, 0xffffffea
je 0x1c3b7ef
mov byte [eax + 0x16], 0
cmp eax, 0xffffffe9
je 0x1c3b7ef
mov edi, dword [ebp + 8]
mov byte [eax + 0x17], 0
lea esi, [ebp - 0x28]
mov dword [esi + 4], ecx
mov ebx, 0x18
mov ecx, esi
push ebx
call fcn.01c5bd20
mov esi, dword [esi]
lea eax, [ebp - 0x1c]
push eax
push ebx
mov ebx, edi
push esi
push 1
lea edi, [ebp - 0x18]
push edi
push ebx
call sub.ntdll.dll_NtQueryValueKey
cmp eax, 0x80000005
je 0x1c3b6e1
cmp eax, 0xc0000023
je 0x1c3b6e1
test eax, eax
js 0x1c3b6dd
mov ecx, dword [ebp + 0x14]
mov eax, dword [ebp + 0x10]
mov edx, dword [esi + 4]
mov dword [eax], edx
mov eax, dword [esi + 0xc]
test eax, eax
je 0x1c3b725
add esi, dword [esi + 8]
lea edx, [esi + eax]
push eax
push edx
push esi
call fcn.01c34030
mov bl, 1
mov eax, dword [ebp - 0x28]
test eax, eax
je 0x1c3b711
mov ecx, dword [ebp - 0x24]
mov edx, ecx
sub edx, eax
dec ecx
cmp edx, ecx
jbe 0x1c3b7de
push str....._third_partylibc_srcinclude__memoryconstruct_at.h:66:_assertion___loc___nullptr_failed:_null_pointer_given_to_destroy_at_n
push 0x1ce99e6
call fcn.01cb3fe0
xor ebx, ebx
jmp 0x1c3b6b7
lea esi, [ebp - 0x28]
mov ecx, esi
push dword [ebp - 0x1c]
call fcn.01c5bd20
mov esi, dword [esi]
lea eax, [ebp - 0x1c]
push eax
push dword [ebp - 0x1c]
push esi
push 1
push edi
push ebx
call sub.ntdll.dll_NtQueryValueKey
cmp eax, 0x80000005
je 0x1c3b73b
cmp eax, 0xc0000023
jne 0x1c3b691
jmp 0x1c3b73b
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.01c87bd3
mov eax, ebx
add esp, 0x1c
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, dword [ecx]
mov edx, dword [ecx + 4]
mov esi, edx
sub esi, eax
dec edx
cmp esi, edx
ja 0x1c3b6ce
mov dword [ecx + 4], eax
jmp 0x1c3b6b5
lea esi, [ebp - 0x28]
mov ecx, esi
push dword [ebp - 0x1c]
call fcn.01c5bd20
mov esi, dword [esi]
lea eax, [ebp - 0x1c]
push eax
push dword [ebp - 0x1c]
push esi
push 1
push edi
push ebx
call sub.ntdll.dll_NtQueryValueKey
cmp eax, 0x80000005
je 0x1c3b76d
cmp eax, 0xc0000023
jne 0x1c3b691
lea esi, [ebp - 0x28]
mov ecx, esi
push dword [ebp - 0x1c]
call fcn.01c5bd20
mov esi, dword [esi]
lea eax, [ebp - 0x1c]
push eax
push dword [ebp - 0x1c]
push esi
push 1
push edi
push ebx
call sub.ntdll.dll_NtQueryValueKey
cmp eax, 0x80000005
je 0x1c3b79f
cmp eax, 0xc0000023
jne 0x1c3b691
lea esi, [ebp - 0x28]
mov ecx, esi
push dword [ebp - 0x1c]
call fcn.01c5bd20
mov esi, dword [esi]
mov eax, ebx
xor ebx, ebx
lea ecx, [ebp - 0x1c]
push ecx
push dword [ebp - 0x1c]
push esi
push 1
push edi
push eax
call sub.ntdll.dll_NtQueryValueKey
cmp eax, 0x80000005
je 0x1c3b6b7
cmp eax, 0xc0000023
jne 0x1c3b691
jmp 0x1c3b6b7
mov dword [ebp - 0x24], eax
push eax
call fcn.01c86cb6
add esp, 4
jmp 0x1c3b711
push str....._third_partylibc_srcinclude__memoryconstruct_at.h:40:_assertion___location___nullptr_failed:_null_pointer_given_to_construct_at_n
jmp 0x1c3b6d3
call fcn.01c3ac20
test al, al
jne 0x1c3b4f0
xor ebx, ebx
jmp 0x1c3b711