Function at 0x23004320
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x23006a16
mov eax, dword fs:[0]
push eax
sub esp, 0x90
mov eax, dword [0x2300d454]
xor eax, esp
mov dword [esp + 0x8c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x2300d454]
xor eax, esp
push eax
lea eax, [esp + 0xa4]
mov dword fs:[0], eax
mov edi, dword [esp + 0xb4]
xor ebx, ebx
mov esi, ecx
mov dword [esp + 0x14], ebx
mov dword [esp + 0xac], ebx
call dword [sym.imp.MSVCP90.dll_public:_wchar_t_const____thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::c_str_void_const]
mov ebp, eax
mov eax, dword [esp + 0x14]
cmp eax, ebx
je 0x2300439f
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp eax, ebx
je 0x2300439b
push eax
push 0x23007f7c
call dword [sym.imp.Logger.dll_void___cdecl_logError_char_const__]
add esp, 8
mov dword [esp + 0x14], ebx
mov ecx, dword [edi]
lea eax, [esp + 0x14]
push eax
push 0x20019
push ebx
push ebp
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [esi + 0x38], eax
cmp eax, ebx
je 0x230043e0
mov eax, dword [esp + 0x14]
mov dword [esp + 0xac], 0xffffffff
cmp eax, ebx
je 0x2300451d
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp eax, ebx
jmp 0x2300450c
lea edi, [esi + 0x1c]
push edi
push str.DisplayName
lea ecx, [esp + 0x1c]
call fcn.23003670
test eax, eax
je 0x230043fe
mov ecx, edi
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::clear_void_]
xor ebp, ebp
mov bl, 2
mov edi, dword [ebp + 0x2300d414]
lea ecx, [esp + 0x84]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_void_]
lea edx, [esp + 0x84]
push edx
push edi
lea ecx, [esp + 0x1c]
mov byte [esp + 0xb4], 1
call fcn.23003670
test eax, eax
jne 0x230044a5
sub esp, 0x1c
lea eax, [esp + 0xa0]
mov dword [esp + 0x34], esp
mov ecx, esp
push eax
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const__]
lea ecx, [esp + 0x48]
push edi
push ecx
call fcn.230035f0
add esp, 0x24
push eax
lea ecx, [esp + 0x50]
mov byte [esp + 0xb0], bl
call fcn.23003350
lea edx, [esp + 0x4c]
push edx
lea eax, [esp + 0x24]
push eax
lea ecx, [esi + 0x40]
mov byte [esp + 0xb4], 3
call fcn.23003d20
lea ecx, [esp + 0x4c]
mov byte [esp + 0xac], bl
call fcn.230031f0
lea ecx, [esp + 0x30]
mov byte [esp + 0xac], 1
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
lea ecx, [esp + 0x84]
mov byte [esp + 0xac], 0
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
add ebp, 4
cmp ebp, 0x28
jb 0x23004402
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x18]
push ecx
add esi, 0x3c
push esi
lea edx, [esp + 0x24]
push edx
push 0
push str.VersionMajor
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x230044f0
mov dword [esi], 0
mov eax, dword [esp + 0x14]
mov dword [esp + 0xac], 0xffffffff
test eax, eax
je 0x2300451d
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
je 0x2300451d
push eax
push 0x23007f7c
call dword [sym.imp.Logger.dll_void___cdecl_logError_char_const__]
add esp, 8
mov ecx, dword [esp + 0xa4]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x8c]
xor ecx, esp
call fcn.23005c68
add esp, 0x9c
ret 4