Function at 0x415960
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x44
mov eax, dword [0x644040]
xor eax, ebp
mov dword [ebp - 0x10], eax
xor ebx, ebx
dec ebx
lea edi, [ebp - 0x24]
mov dword [edi], ebx
mov dword [edi + 4], ebx
mov dword [edi + 8], ebx
mov ecx, dword [0x64a7e4]
push 0x18
push str.enable_registry_features
push edi
call fcn.00543320
movsx ecx, byte [edi + 0xb]
mov eax, ecx
test ecx, ecx
jns 0x4159a1
mov eax, dword [ebp - 0x20]
test eax, eax
jne 0x415b35
xor esi, esi
cmp byte [ebp - 0x19], 0
js 0x415c3b
test esi, esi
jne 0x415c34
mov ecx, dword [0x64a7e4]
push str.registry_feature_in_test
call fcn.00543200
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x28], ebx
lea esi, [ebp - 0x24]
push esi
call fcn.00415d20
add esp, 4
mov ecx, esi
push 9
push str.Features
call fcn.0053d1f0
cmp byte [eax + 0xb], 0
jns 0x415c4b
lea ecx, [ebp - 0x3c]
push dword [eax + 4]
push dword [eax]
call fcn.00543180
cmp byte [ebp - 0x19], 0
jns 0x415a18
push dword [ebp - 0x24]
call fcn.00562f60
add esp, 4
cmp byte [ebp - 0x31], 0
js 0x415a23
lea eax, [ebp - 0x3c]
jmp 0x415a26
mov eax, dword [ebp - 0x3c]
lea ecx, [ebp - 0x30]
push 0x20019
push eax
push 0x80000001
call fcn.00415c70
cmp byte [ebp - 0x31], 0
jns 0x415a4a
push dword [ebp - 0x3c]
call fcn.00562f60
add esp, 4
mov eax, dword [ebp + 8]
mov edi, dword [eax]
test edi, edi
je 0x415c25
push edi
call fcn.0057d4d0
add esp, 4
push eax
push edi
push esi
call fcn.005430c0
add esp, 0xc
cmp byte [ebp - 0x19], 0
jns 0x415a74
mov esi, dword [ebp - 0x24]
mov eax, 4
lea ecx, [ebp - 0x3c]
mov dword [ecx], eax
lea edx, [ebp - 0x14]
mov dword [edx], eax
xor edi, edi
lea eax, [ebp - 0x18]
mov dword [eax], edi
push edx
push eax
push ecx
push edi
push esi
push dword [ebp - 0x30]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x415b26
mov eax, dword [ebp - 0x3c]
add eax, 0xfffffffd
cmp eax, 2
setb al
cmp dword [ebp - 0x14], 4
sete cl
and cl, al
cmp dword [ebp - 0x18], 0
setne al
mov esi, ecx
mov ebx, ecx
xor bl, 1
or bl, al
cmp byte [ebp - 0x19], 0
jns 0x415ad6
push dword [ebp - 0x24]
call fcn.00562f60
add esp, 4
xor ecx, ecx
mov eax, dword [ebp + 8]
cmp dword [eax + 4], 1
sete cl
movzx eax, bl
mov ebx, ecx
mov ecx, esi
test cl, cl
cmovne ebx, eax
mov eax, dword [ebp - 0x30]
test eax, eax
je 0x415b04
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], eax
mov ecx, dword [ebp - 0x28]
mov dword [ebp - 0x28], 0
test ecx, ecx
jne 0x415b2c
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00566245
mov eax, ebx
add esp, 0x44
pop esi
pop edi
pop ebx
pop ebp
ret
xor esi, esi
mov bl, 1
jmp 0x415ac5
push 1
call fcn.0043ce00
jmp 0x415b12
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x28], ebx
test cl, cl
jns 0x415b45
mov edi, dword [ebp - 0x24]
test eax, eax
js 0x415c5f
test edi, edi
je 0x415c66
xor esi, esi
inc esi
lea ecx, [ebp - 0x30]
push esi
push esi
push esi
push 0x62342b
push eax
push edi
mov edi, ecx
push ecx
call fcn.005595f0
add esp, 0x1c
mov ecx, dword [edi]
mov edx, dword [edi + 4]
mov al, 1
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x40], ecx
mov dword [ebp - 0x50], edx
cmp ecx, edx
je 0x415bf7
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov dword [ebp - 0x48], eax
test eax, eax
je 0x415c25
push dword [ebp - 0x48]
call fcn.0057d4d0
add esp, 4
mov dword [ebp - 0x4c], eax
mov edi, dword [ebp - 0x40]
jmp 0x415baf
add edi, 0xc
cmp edi, dword [ebp - 0x50]
je 0x415bf7
movsx ecx, byte [edi + 0xb]
mov eax, edi
test ecx, ecx
jns 0x415bbe
mov ecx, dword [edi + 4]
mov eax, dword [edi]
test ecx, ecx
js 0x415c5f
sete dl
test eax, eax
setne dh
or dh, dl
je 0x415c66
cmp ecx, dword [ebp - 0x4c]
jne 0x415ba7
push dword [ebp - 0x4c]
push dword [ebp - 0x48]
push eax
call fcn.00563048
add esp, 0xc
test eax, eax
jne 0x415ba7
mov dword [ebp - 0x44], 0
jmp 0x415bf9
xor esi, esi
cmp dword [ebp - 0x40], 0
je 0x415c16
lea edi, [ebp - 0x30]
mov ecx, edi
push dword [ebp - 0x40]
call fcn.005559f0
push dword [edi]
call fcn.00562f60
add esp, 4
cmp byte [ebp - 0x44], 0
jne 0x4159a9
jmp 0x4159ab
push str....._third_partylibc_srcinclude_string_view:268:_assertion___s___nullptr_failed:_null_pointer_passed_to_non_null_argument_of_char_traits_..._::length_n
push 0x622e92
call fcn.00590170
mov bl, 1
jmp 0x415b12
push dword [ebp - 0x24]
call fcn.00562f60
add esp, 4
jmp 0x4159b5
mov ecx, dword [eax + 8]
mov dword [ebp - 0x34], ecx
movsd xmm0, qword [eax]
movsd qword [ebp - 0x3c], xmm0
jmp 0x415a07
push str....._third_partylibc_srcinclude_string_view:318:_assertion___len___static_cast_size_type__numeric_limits_difference_type_::max____failed:_string_view::string_view__CharT___size_t_:_length_does_not_fit_in_difference_type_n
jmp 0x415c2a
push str....._third_partylibc_srcinclude_string_view:320:_assertion___len__0____s___nullptr_failed:_string_view::string_view__CharT___size_t_:_received_nullptr_n
jmp 0x415c2a