Function at 0x4c49b0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x54be04
mov eax, dword fs:[0]
push eax
sub esp, 0x494
mov eax, dword [0x5ac020]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor edi, edi
xor eax, eax
mov dword [ebp - 0x42c], edi
mov dword [ebp - 0x428], edi
mov dword [ebp - 0x428], 7
mov dword [ebp - 0x42c], edi
mov word [ebp - 0x43c], ax
mov dword [ebp - 4], eax
lea ecx, [ebp - 0x440]
push edx
mov dword [ebp - method.cafx::tstring_ex_wchar_t__class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___.virtual_0], vtable.cafx::tstring_ex_wchar_t__class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___.0
call fcn.004022e0
mov dword [ebp - 4], 1
push 1
push ecx
push 0x56c40c
lea ecx, [ebp - 0x43c]
call fcn.00403b00
push eax
push edi
lea ecx, [ebp - 0x43c]
call fcn.00401b90
push 1
push ecx
push 0x56c40c
lea ecx, [ebp - 0x43c]
call fcn.00403b80
lea ecx, [eax + 1]
cmp dword [ebp - 0x42c], ecx
jae 0x4c4a6c
push str.invalid_string_position
call fcn.004ffb7d
cmp dword [ebp - 0x428], 8
lea eax, [ebp - 0x43c]
mov dword [ebp - 0x42c], ecx
cmovae eax, dword [ebp - 0x43c]
xor edx, edx
mov word [eax + ecx*2], dx
cmp dword [ebp - 0x42c], edx
ja 0x4c4a9e
push str.invalid_string_position
call fcn.004ffb7d
mov edx, dword [ebp - 0x428]
lea eax, [ebp - 0x43c]
mov esi, dword [ebp - 0x43c]
cmp edx, 8
cmovae eax, esi
cmp word [eax], 0x2e
je 0x4c4b91
xor eax, eax
mov dword [ebp - 0x480], 0
mov dword [ebp - 0x47c], 0
mov dword [ebp - 0x47c], 7
mov dword [ebp - 0x480], 0
mov word [ebp - 0x490], ax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x494]
push 0x56dbcc
mov dword [ebp - method.cafx::tstring_ex_wchar_t__class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___.virtual_0], vtable.cafx::tstring_ex_wchar_t__class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___.0
call fcn.004022e0
mov byte [ebp - 4], 3
lea eax, [ebp - 0x43c]
push 0xffffffffffffffff
push 0
push eax
lea ecx, [ebp - 0x490]
call fcn.0040e530
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x490]
push eax
lea ecx, [ebp - 0x43c]
call fcn.00401c40
mov byte [ebp - 4], 1
mov dword [ebp - method.cafx::tstring_ex_wchar_t__class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___.virtual_0], vtable.cafx::tstring_ex_wchar_t__class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___.0
mov byte [ebp - 4], 1
cmp dword [ebp - 0x47c], 8
jb 0x4c4b68
push dword [ebp - 0x490]
call fcn.0051d3d0
add esp, 4
mov edx, dword [ebp - 0x428]
xor eax, eax
mov esi, dword [ebp - 0x43c]
mov dword [ebp - 0x47c], 7
mov dword [ebp - 0x480], 0
mov word [ebp - 0x490], ax
cmp edx, 8
lea ecx, [ebp - 0x43c]
cmovae ecx, esi
call fcn.004c4360
test eax, eax
je 0x4c4f0d
cmp dword [ebp - 0x428], 8
lea ecx, [ebp - 0x498]
lea eax, [ebp - 0x43c]
mov dword [ebp - 0x498], 0
cmovae eax, dword [ebp - 0x43c]
push ecx
push eax
push Ordinal_1
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x4c4d35
mov dword [ebp - 0x464], eax
mov dword [ebp - 0x460], eax
mov dword [ebp - 0x460], 7
mov dword [ebp - 0x464], eax
mov word [ebp - 0x474], ax
mov byte [ebp - 4], 5
mov dword [ebp - method.cafx::tstring_ex_wchar_t__class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___.virtual_0], vtable.cafx::tstring_ex_wchar_t__class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___.0
mov byte [ebp - 4], 6
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp - 0x4a0], eax
mov dword [ebp - 0x49c], eax
lea eax, [ebp - 0x49c]
push eax
push 0
push 0
push 0
push 0x56c344
push dword [ebp - 0x498]
call edi
test eax, eax
jne 0x4c4ca8
mov eax, dword [ebp - 0x49c]
test eax, eax
je 0x4c4ca8
push eax
call fcn.004ffbb1
mov esi, eax
add esp, 4
test esi, esi
je 0x4c4ca8
lea eax, [ebp - 0x49c]
push eax
push esi
lea eax, [ebp - 0x4a0]
push eax
push 0
push 0x56c344
push dword [ebp - 0x498]
call edi
test eax, eax
jne 0x4c4c9f
mov eax, dword [ebp - 0x4a0]
cmp eax, 1
je 0x4c4c93
cmp eax, 2
jne 0x4c4c9f
push esi
lea ecx, [ebp - 0x478]
call fcn.004022e0
push esi
call fcn.00500843
add esp, 4
push dword [ebp - 0x498]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x464], 0
je 0x4c4cef
cmp dword [ebp - 0x460], 8
lea eax, [ebp - 0x474]
push ecx
cmovae eax, dword [ebp - 0x474]
push eax
push ecx
lea ecx, [ebp - 0x424]
call fcn.004c3d10
lea edx, [ebp - 0x424]
mov ecx, Ordinal_1
call fcn.004c44f0
mov byte [ebp - 4], 1
mov dword [ebp - method.cafx::tstring_ex_wchar_t__class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___.virtual_0], vtable.cafx::tstring_ex_wchar_t__class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___.0
mov byte [ebp - 4], 1
cmp dword [ebp - 0x460], 8
jb 0x4c4d18
push dword [ebp - 0x474]
call fcn.0051d3d0
add esp, 4
xor eax, eax
mov dword [ebp - 0x460], 7
mov dword [ebp - 0x464], 0
mov word [ebp - 0x474], ax
cmp dword [ebp - 0x428], 8
lea eax, [ebp - 0x43c]
push ecx
cmovae eax, dword [ebp - 0x43c]
push eax
push ecx
lea ecx, [ebp - 0x424]
call fcn.004c3d10
lea edx, [ebp - 0x424]
mov ecx, Ordinal_1
call fcn.004c44f0
push ecx
push 0x56dbb0
push ecx
lea ecx, [ebp - 0x424]
call fcn.004c3d10
lea edx, [ebp - 0x424]
mov ecx, Ordinal_1
call fcn.004c44f0
xor eax, eax
mov dword [ebp - 0x448], 0
mov dword [ebp - 0x444], 0
mov dword [ebp - 0x444], 7
mov dword [ebp - 0x448], 0
mov word [ebp - 0x458], ax
mov byte [ebp - 4], 8
mov dword [ebp - method.cafx::tstring_ex_wchar_t__class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___.virtual_0], vtable.cafx::tstring_ex_wchar_t__class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___.0
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x45c]
push str.SoftwareMicrosoftWindowsCurrentVersionExplorerFileExts_
call fcn.004022e0
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x43c]
push eax
lea ecx, [ebp - 0x458]
call fcn.0040e530
cmp dword [ebp - 0x444], 8
lea eax, [ebp - 0x458]
push ecx
cmovae eax, dword [ebp - 0x458]
push eax
push ecx
lea ecx, [ebp - 0x424]
call fcn.004c3d10
lea edx, [ebp - 0x424]
mov ecx, reloc.gdiplus.dll_Ordinal_1
call fcn.004c44f0
push 0x583cc0
lea ecx, [ebp - 0x45c]
call fcn.004022e0
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x43c]
push eax
lea ecx, [ebp - 0x458]
call fcn.0040e530
cmp dword [ebp - 0x444], 8
lea eax, [ebp - 0x458]
push ecx
cmovae eax, dword [ebp - 0x458]
push eax
push ecx
lea ecx, [ebp - 0x424]
call fcn.004c3d10
lea edx, [ebp - 0x424]
mov ecx, reloc.gdiplus.dll_Ordinal_1
call fcn.004c44f0
cmp dword [ebp - 0x428], 8
lea eax, [ebp - 0x43c]
push ecx
cmovae eax, dword [ebp - 0x43c]
push eax
push ecx
lea ecx, [ebp - 0x424]
call fcn.004c3d10
lea edx, [ebp - 0x424]
mov ecx, Ordinal_1
call fcn.004c44f0
push 0
push 0
push 0x1000
push 0x8000000
mov edi, 1
call dword [sym.imp.SHELL32.dll_SHChangeNotify]
mov byte [ebp - 4], 1
mov dword [ebp - method.cafx::tstring_ex_wchar_t__class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___.virtual_0], vtable.cafx::tstring_ex_wchar_t__class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___.0
mov byte [ebp - 4], 1
cmp dword [ebp - 0x444], 8
jb 0x4c4ef0
push dword [ebp - 0x458]
call fcn.0051d3d0
add esp, 4
xor eax, eax
mov dword [ebp - 0x444], 7
mov dword [ebp - 0x448], 0
mov word [ebp - 0x458], ax
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - method.cafx::tstring_ex_wchar_t__class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___.virtual_0], vtable.cafx::tstring_ex_wchar_t__class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___.0
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x428], 8
jb 0x4c4f3c
push dword [ebp - 0x43c]
call fcn.0051d3d0
add esp, 4
xor eax, eax
mov dword [ebp - 0x428], 7
mov word [ebp - 0x43c], ax
mov eax, edi
mov dword [ebp - 0x42c], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004ffcef
mov esp, ebp
pop ebp
ret