Function at 0x424040
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 [0x64a7d4]
push 0x18
push str.enable_registry_features
push edi
call fcn.005306d0
movsx ecx, byte [edi + 0xb]
mov eax, ecx
test ecx, ecx
jns 0x424081
mov eax, dword [ebp - 0x20]
test eax, eax
jne 0x424215
xor esi, esi
cmp byte [ebp - 0x19], 0
js 0x424315
test esi, esi
jne 0x42430e
mov ecx, dword [0x64a7d4]
push str.registry_feature_in_test
call fcn.005305b0
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x28], ebx
lea esi, [ebp - 0x24]
push esi
call fcn.00424400
add esp, 4
mov ecx, esi
push 9
push str.Features
call fcn.00539af0
cmp byte [eax + 0xb], 0
jns 0x424325
lea ecx, [ebp - 0x3c]
push dword [eax + 4]
push dword [eax]
call fcn.00506680
cmp byte [ebp - 0x19], 0
jns 0x4240f8
push dword [ebp - 0x24]
call fcn.00564ea0
add esp, 4
cmp byte [ebp - 0x31], 0
js 0x424103
lea eax, [ebp - 0x3c]
jmp 0x424106
mov eax, dword [ebp - 0x3c]
lea ecx, [ebp - 0x30]
push 0x20019
push eax
push 0x80000001
call fcn.00424350
cmp byte [ebp - 0x31], 0
jns 0x42412a
push dword [ebp - 0x3c]
call fcn.00564ea0
add esp, 4
mov eax, dword [ebp + 8]
mov edi, dword [eax]
test edi, edi
je 0x4242ff
push edi
call fcn.0057f420
add esp, 4
push eax
push edi
push esi
call fcn.0054b1e0
add esp, 0xc
cmp byte [ebp - 0x19], 0
jns 0x424154
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 0x424206
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 0x4241b6
push dword [ebp - 0x24]
call fcn.00564ea0
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 0x4241e4
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 0x42420c
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00568175
mov eax, ebx
add esp, 0x44
pop esi
pop edi
pop ebx
pop ebp
ret
xor esi, esi
mov bl, 1
jmp 0x4241a5
push 1
call fcn.0043d7b0
jmp 0x4241f2
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x28], ebx
test cl, cl
jns 0x424225
mov edi, dword [ebp - 0x24]
test eax, eax
js 0x424339
test edi, edi
je 0x424340
xor esi, esi
inc esi
lea ecx, [ebp - 0x30]
push esi
push esi
push esi
push 0x62482b
push eax
push edi
mov edi, ecx
push ecx
call fcn.00557730
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 0x4242d1
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov dword [ebp - 0x48], eax
test eax, eax
je 0x4242ff
push dword [ebp - 0x48]
call fcn.0057f420
add esp, 4
mov dword [ebp - 0x4c], eax
mov edi, dword [ebp - 0x40]
jmp 0x42428f
add edi, 0xc
cmp edi, dword [ebp - 0x50]
je 0x4242d1
movsx ecx, byte [edi + 0xb]
mov eax, edi
test ecx, ecx
jns 0x42429e
mov ecx, dword [edi + 4]
mov eax, dword [edi]
test ecx, ecx
js 0x424339
je 0x4242b0
test eax, eax
je 0x424340
cmp ecx, dword [ebp - 0x4c]
jne 0x424287
push dword [ebp - 0x4c]
push dword [ebp - 0x48]
push eax
call fcn.00564f88
add esp, 0xc
test eax, eax
jne 0x424287
mov dword [ebp - 0x44], 0
jmp 0x4242d3
xor esi, esi
cmp dword [ebp - 0x40], 0
je 0x4242f0
lea edi, [ebp - 0x30]
mov ecx, edi
push dword [ebp - 0x40]
call fcn.00553ea0
push dword [edi]
call fcn.00564ea0
add esp, 4
cmp byte [ebp - 0x44], 0
jne 0x424089
jmp 0x42408b
push str....._third_partylibc_srcinclude_string_view:267:_assertion___s___nullptr_failed:_null_pointer_passed_to_non_null_argument_of_char_traits_..._::length_n
push 0x624173
call fcn.00591ed0
mov bl, 1
jmp 0x4241f2
push dword [ebp - 0x24]
call fcn.00564ea0
add esp, 4
jmp 0x424095
mov ecx, dword [eax + 8]
mov dword [ebp - 0x34], ecx
movsd xmm0, qword [eax]
movsd qword [ebp - 0x3c], xmm0
jmp 0x4240e7
push str....._third_partylibc_srcinclude_string_view:314:_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 0x424304
push str....._third_partylibc_srcinclude_string_view:316:_assertion___len__0____s___nullptr_failed:_string_view::string_view__CharT___size_t_:_received_nullptr_n
jmp 0x424304