Function at 0x417f00
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.00530520
movsx ecx, byte [edi + 0xb]
mov eax, ecx
test ecx, ecx
jns 0x417f41
mov eax, dword [ebp - 0x20]
test eax, eax
jne 0x4180d5
xor esi, esi
cmp byte [ebp - 0x19], 0
js 0x4181db
test esi, esi
jne 0x4181d4
mov ecx, dword [0x64a7e4]
push str.registry_feature_in_test
call fcn.00530400
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x28], ebx
lea esi, [ebp - 0x24]
push esi
call fcn.004182c0
add esp, 4
mov ecx, esi
push 9
push str.Features
call fcn.0053d9b0
cmp byte [eax + 0xb], 0
jns 0x4181eb
lea ecx, [ebp - 0x3c]
push dword [eax + 4]
push dword [eax]
call fcn.0050b0a0
cmp byte [ebp - 0x19], 0
jns 0x417fb8
push dword [ebp - 0x24]
call fcn.00562bc0
add esp, 4
cmp byte [ebp - 0x31], 0
js 0x417fc3
lea eax, [ebp - 0x3c]
jmp 0x417fc6
mov eax, dword [ebp - 0x3c]
lea ecx, [ebp - 0x30]
push 0x20019
push eax
push 0x80000001
call fcn.00418210
cmp byte [ebp - 0x31], 0
jns 0x417fea
push dword [ebp - 0x3c]
call fcn.00562bc0
add esp, 4
mov eax, dword [ebp + 8]
mov edi, dword [eax]
test edi, edi
je 0x4181c5
push edi
call fcn.0057d130
add esp, 4
push eax
push edi
push esi
call fcn.00544f20
add esp, 0xc
cmp byte [ebp - 0x19], 0
jns 0x418014
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 0x4180c6
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 0x418076
push dword [ebp - 0x24]
call fcn.00562bc0
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 0x4180a4
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 0x4180cc
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00565ea5
mov eax, ebx
add esp, 0x44
pop esi
pop edi
pop ebx
pop ebp
ret
xor esi, esi
mov bl, 1
jmp 0x418065
push 1
call fcn.0043c600
jmp 0x4180b2
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x28], ebx
test cl, cl
jns 0x4180e5
mov edi, dword [ebp - 0x24]
test eax, eax
js 0x4181ff
test edi, edi
je 0x418206
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.00559250
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 0x418197
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov dword [ebp - 0x48], eax
test eax, eax
je 0x4181c5
push dword [ebp - 0x48]
call fcn.0057d130
add esp, 4
mov dword [ebp - 0x4c], eax
mov edi, dword [ebp - 0x40]
jmp 0x41814f
add edi, 0xc
cmp edi, dword [ebp - 0x50]
je 0x418197
movsx ecx, byte [edi + 0xb]
mov eax, edi
test ecx, ecx
jns 0x41815e
mov ecx, dword [edi + 4]
mov eax, dword [edi]
test ecx, ecx
js 0x4181ff
sete dl
test eax, eax
setne dh
or dh, dl
je 0x418206
cmp ecx, dword [ebp - 0x4c]
jne 0x418147
push dword [ebp - 0x4c]
push dword [ebp - 0x48]
push eax
call fcn.00562ca8
add esp, 0xc
test eax, eax
jne 0x418147
mov dword [ebp - 0x44], 0
jmp 0x418199
xor esi, esi
cmp dword [ebp - 0x40], 0
je 0x4181b6
lea edi, [ebp - 0x30]
mov ecx, edi
push dword [ebp - 0x40]
call fcn.00555600
push dword [edi]
call fcn.00562bc0
add esp, 4
cmp byte [ebp - 0x44], 0
jne 0x417f49
jmp 0x417f4b
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.0058fdd0
mov bl, 1
jmp 0x4180b2
push dword [ebp - 0x24]
call fcn.00562bc0
add esp, 4
jmp 0x417f55
mov ecx, dword [eax + 8]
mov dword [ebp - 0x34], ecx
movsd xmm0, qword [eax]
movsd qword [ebp - 0x3c], xmm0
jmp 0x417fa7
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 0x4181ca
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 0x4181ca