Function at 0x4147a0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x44
mov eax, dword [0x646040]
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 [0x64c7e4]
push 0x18
push str.enable_registry_features
push edi
call fcn.00542370
movsx ecx, byte [edi + 0xb]
mov eax, ecx
test ecx, ecx
jns 0x4147e1
mov eax, dword [ebp - 0x20]
test eax, eax
jne 0x414975
xor esi, esi
cmp byte [ebp - 0x19], 0
js 0x414a7b
test esi, esi
jne 0x414a74
mov ecx, dword [0x64c7e4]
push str.registry_feature_in_test
call fcn.00542250
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x28], ebx
lea esi, [ebp - 0x24]
push esi
call fcn.00414b60
add esp, 4
mov ecx, esi
push 9
push str.Features
call fcn.0053bb20
cmp byte [eax + 0xb], 0
jns 0x414a8b
lea ecx, [ebp - 0x3c]
push dword [eax + 4]
push dword [eax]
call fcn.005421d0
cmp byte [ebp - 0x19], 0
jns 0x414858
push dword [ebp - 0x24]
call fcn.00564050
add esp, 4
cmp byte [ebp - 0x31], 0
js 0x414863
lea eax, [ebp - 0x3c]
jmp 0x414866
mov eax, dword [ebp - 0x3c]
lea ecx, [ebp - 0x30]
push 0x20019
push eax
push 0x80000001
call fcn.00414ab0
cmp byte [ebp - 0x31], 0
jns 0x41488a
push dword [ebp - 0x3c]
call fcn.00564050
add esp, 4
mov eax, dword [ebp + 8]
mov edi, dword [eax]
test edi, edi
je 0x414a65
push edi
call fcn.0057e5c0
add esp, 4
push eax
push edi
push esi
call fcn.00542110
add esp, 0xc
cmp byte [ebp - 0x19], 0
jns 0x4148b4
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 0x414966
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 0x414916
push dword [ebp - 0x24]
call fcn.00564050
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 0x414944
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 0x41496c
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00567335
mov eax, ebx
add esp, 0x44
pop esi
pop edi
pop ebx
pop ebp
ret
xor esi, esi
mov bl, 1
jmp 0x414905
push 1
call fcn.00425470
jmp 0x414952
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x28], ebx
test cl, cl
jns 0x414985
mov edi, dword [ebp - 0x24]
test eax, eax
js 0x414a9f
test edi, edi
je 0x414aa6
xor esi, esi
inc esi
lea ecx, [ebp - 0x30]
push esi
push esi
push esi
push 0x62542b
push eax
push edi
mov edi, ecx
push ecx
call fcn.0055a480
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 0x414a37
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov dword [ebp - 0x48], eax
test eax, eax
je 0x414a65
push dword [ebp - 0x48]
call fcn.0057e5c0
add esp, 4
mov dword [ebp - 0x4c], eax
mov edi, dword [ebp - 0x40]
jmp 0x4149ef
add edi, 0xc
cmp edi, dword [ebp - 0x50]
je 0x414a37
movsx ecx, byte [edi + 0xb]
mov eax, edi
test ecx, ecx
jns 0x4149fe
mov ecx, dword [edi + 4]
mov eax, dword [edi]
test ecx, ecx
js 0x414a9f
sete dl
test eax, eax
setne dh
or dh, dl
je 0x414aa6
cmp ecx, dword [ebp - 0x4c]
jne 0x4149e7
push dword [ebp - 0x4c]
push dword [ebp - 0x48]
push eax
call fcn.00564098
add esp, 0xc
test eax, eax
jne 0x4149e7
mov dword [ebp - 0x44], 0
jmp 0x414a39
xor esi, esi
cmp dword [ebp - 0x40], 0
je 0x414a56
lea edi, [ebp - 0x30]
mov ecx, edi
push dword [ebp - 0x40]
call fcn.00556730
push dword [edi]
call fcn.00564050
add esp, 4
cmp byte [ebp - 0x44], 0
jne 0x4147e9
jmp 0x4147eb
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 0x624e92
call fcn.005912b0
mov bl, 1
jmp 0x414952
push dword [ebp - 0x24]
call fcn.00564050
add esp, 4
jmp 0x4147f5
mov ecx, dword [eax + 8]
mov dword [ebp - 0x34], ecx
movsd xmm0, qword [eax]
movsd qword [ebp - 0x3c], xmm0
jmp 0x414847
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 0x414a6a
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 0x414a6a