Function at 0x428150
Capabilities:
Check os version
Create process on windows
Get common file path
Get program files directory
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x44f16c
mov eax, dword fs:[0]
push eax
mov eax, 0x1098
call fcn.00436dc0
mov eax, dword [0x468110]
xor eax, esp
mov dword [esp + 0x1094], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x468110]
xor eax, esp
push eax
lea eax, [esp + 0x10ac]
mov dword fs:[0], eax
mov esi, ecx
push esi
call fcn.00429240
test eax, eax
jne 0x4286b4
lea ecx, [esp + 0x70]
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_]
xor edi, edi
mov dword [esp + 0x10b4], edi
cmp esi, edi
je 0x4281d8
mov eax, esi
lea edx, [eax + 1]
jmp 0x4281c0
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4281c0
lea ecx, [esp + 0x70]
push ecx
sub eax, edx
push eax
push esi
call fcn.0043c5a6
add esp, 0xc
push 0x7fe
lea eax, [esp + 0xae]
xor edx, edx
push edi
push eax
mov word [esp + 0xb4], dx
call sub.MSVCR90.dll_memset
add esp, 0xc
mov dword [esp + 0x18], edi
call dword [sym.imp.KERNEL32.dll_GetVersion]
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ebp, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
movzx ecx, al
shr eax, 8
movzx eax, al
cmp ecx, 6
jne 0x42836a
cmp eax, 1
jne 0x42836a
lea ecx, [esp + 0x14]
push ecx
push eax
push 0
push str.SoftwareMicrosoftWindowsShellAssociationsUrlAssociationshttpUserChoice
push SysReAllocString
call ebp
test eax, eax
jne 0x42836a
xor edx, edx
push 0x7fe
push edx
lea eax, [esp + 0x8b2]
push eax
mov word [esp + 0x8b4], dx
call sub.MSVCR90.dll_memset
mov eax, dword [esp + 0x20]
add esp, 0xc
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x8ac]
push edx
push 0
push 0
push str.Progid
push eax
mov dword [esp + 0x30], 0x400
call edi
mov ecx, dword [esp + 0x14]
push ecx
mov esi, eax
call ebx
test esi, esi
jne 0x42836a
cmp dword [esp + 0x18], esi
je 0x4283bd
lea edx, [esp + 0x8a8]
push edx
lea ecx, [esp + 0x58]
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_wchar_t_const__]
push str._shellopencommand
lea eax, [esp + 0x58]
push eax
lea ecx, [esp + 0x40]
push ecx
mov byte [esp + 0x10c0], 1
call dword [sym.imp.MSVCP90.dll_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t_____cdecl_std::operator_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const___wchar_t_const__]
add esp, 0xc
push eax
lea ecx, [esp + 0x58]
mov byte [esp + 0x10b8], 2
call dword [0x451350]
lea ecx, [esp + 0x38]
mov byte [esp + 0x10b4], 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_]
cmp dword [esp + 0x6c], 8
mov eax, dword [esp + 0x58]
jae 0x428311
lea eax, [esp + 0x58]
lea edx, [esp + 0x14]
push edx
push 1
push 0
push eax
push SysReAllocString
call ebp
mov esi, eax
test esi, esi
jne 0x428354
mov edx, dword [esp + 0x14]
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0xac]
push ecx
push esi
push esi
push 0x456eac
push edx
mov dword [esp + 0x30], 0x400
call edi
mov esi, eax
mov eax, dword [esp + 0x14]
push eax
call ebx
lea ecx, [esp + 0x54]
mov byte [esp + 0x10b4], 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_]
test esi, esi
je 0x4283bd
lea ecx, [esp + 0x14]
push ecx
push 1
push 0
push str.http_shellopencommand
push SysReAllocString
call ebp
test eax, eax
jne 0x4285b8
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0xac]
push eax
push 0
push 0
push 0x456eac
push ecx
mov dword [esp + 0x30], 0x400
call edi
mov edx, dword [esp + 0x14]
push edx
mov esi, eax
call ebx
test esi, esi
jne 0x4285b8
lea eax, [esp + 0xa8]
push eax
lea ecx, [esp + 0x3c]
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_wchar_t_const__]
lea ecx, [esp + 0x54]
mov byte [esp + 0x10b4], 3
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_]
mov bl, 4
mov byte [esp + 0x10b4], bl
cmp dword [esp + 0x4c], 0
je 0x42858d
push 0
push 0x22
lea ecx, [esp + 0x40]
call dword [sym.imp.MSVCP90.dll_public:_unsigned_int___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::find_wchar_t__unsigned_int_const]
mov ecx, dword [sym.imp.MSVCP90.dll_unsigned_int_const_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::npos]
cmp dword [ecx], eax
je 0x428445
mov ecx, dword [ecx]
push ecx
inc eax
push eax
lea edx, [esp + 0x24]
push edx
lea ecx, [esp + 0x44]
call dword [sym.imp.MSVCP90.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t_____thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::substr_unsigned_int__unsigned_int_]
push eax
lea ecx, [esp + 0x3c]
mov byte [esp + 0x10b8], 5
call dword [0x451350]
lea ecx, [esp + 0x1c]
mov byte [esp + 0x10b4], bl
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_]
push 0
push 0x22
lea ecx, [esp + 0x40]
call dword [sym.imp.MSVCP90.dll_public:_unsigned_int___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::find_wchar_t__unsigned_int_const]
mov esi, eax
mov eax, dword [sym.imp.MSVCP90.dll_unsigned_int_const_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::npos]
cmp dword [eax], esi
je 0x4284ce
mov eax, dword [eax]
push eax
lea ecx, [esi + 1]
push ecx
lea edx, [esp + 0x24]
push edx
lea ecx, [esp + 0x44]
call dword [sym.imp.MSVCP90.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t_____thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::substr_unsigned_int__unsigned_int_]
push eax
lea ecx, [esp + 0x58]
mov byte [esp + 0x10b8], 6
call dword [0x451350]
lea ecx, [esp + 0x1c]
mov byte [esp + 0x10b4], bl
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_]
push esi
push 0
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x44]
call dword [sym.imp.MSVCP90.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t_____thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::substr_unsigned_int__unsigned_int_]
push eax
lea ecx, [esp + 0x3c]
mov byte [esp + 0x10b8], 7
call dword [0x451350]
lea ecx, [esp + 0x1c]
mov byte [esp + 0x10b4], bl
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_]
push 0
push 0x45946c
lea ecx, [esp + 0x5c]
call dword [sym.imp.MSVCP90.dll_public:_unsigned_int___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::find_wchar_t_const___unsigned_int_const]
mov ecx, dword [sym.imp.MSVCP90.dll_unsigned_int_const_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::npos]
cmp dword [ecx], eax
je 0x42850f
mov ecx, dword [esp + 0x74]
mov esi, 8
cmp dword [esp + 0x88], esi
jae 0x4284ff
lea ecx, [esp + 0x74]
push ecx
push 2
push eax
lea ecx, [esp + 0x60]
call dword [sym.imp.MSVCP90.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t______thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::replace_unsigned_int__unsigned_int__wchar_t_const__]
jmp 0x428523
lea edx, [esp + 0x70]
push edx
lea ecx, [esp + 0x58]
call dword [0x451350]
mov esi, 8
mov eax, dword [esp + 0x3c]
cmp dword [esp + 0x50], esi
jae 0x428531
lea eax, [esp + 0x3c]
push eax
call fcn.0043dbad
add esp, 4
test al, al
je 0x428592
mov ecx, dword [esp + 0x58]
cmp dword [esp + 0x6c], esi
jae 0x42854c
lea ecx, [esp + 0x58]
mov eax, dword [esp + 0x3c]
cmp dword [esp + 0x50], esi
jae 0x42855a
lea eax, [esp + 0x3c]
push 1
push 0
push ecx
push eax
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp eax, 0x20
jle 0x428592
lea ecx, [esp + 0x54]
mov byte [esp + 0x10b4], 3
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 + 0x38]
jmp 0x4286c2
mov esi, 8
lea ecx, [esp + 0x54]
mov byte [esp + 0x10b4], 3
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 + 0x38]
mov byte [esp + 0x10b4], 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_]
jmp 0x4285bd
mov esi, 8
push 0x459480
lea ecx, [esp + 0x90]
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_wchar_t_const__]
mov byte [esp + 0x10b4], 8
mov eax, dword [esp + 0x74]
cmp dword [esp + 0x88], esi
jae 0x4285e8
lea eax, [esp + 0x74]
push eax
lea ecx, [esp + 0x90]
call dword [0x451348]
push 0x459480
lea ecx, [esp + 0x90]
call dword [0x451348]
push 0x800
lea eax, [esp + 0xac]
push 0
push eax
call sub.MSVCR90.dll_memset
add esp, 0xc
push 0
push 0x26
lea ecx, [esp + 0xb0]
push ecx
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x4286bb
push 0x40
lea edx, [esp + 0xac]
push str.Internet_Exploreriexplore.exe
push edx
call dword [sym.imp.MSVCR90.dll_wcsncat]
mov eax, dword [esp + 0x9c]
add esp, 0xc
cmp dword [esp + 0xa4], esi
jae 0x42866b
lea eax, [esp + 0x90]
push 1
push 0
push eax
lea eax, [esp + 0xb4]
push eax
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp eax, 0x20
jle 0x4286bb
lea ecx, [esp + 0x8c]
mov byte [esp + 0x10b4], 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_]
lea ecx, [esp + 0x70]
mov dword [esp + 0x10b4], 0xffffffff
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_]
mov eax, 1
jmp 0x4286e7
lea ecx, [esp + 0x8c]
mov byte [esp + 0x10b4], 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_]
lea ecx, [esp + 0x70]
mov dword [esp + 0x10b4], 0xffffffff
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_]
xor eax, eax
mov ecx, dword [esp + 0x10ac]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x1094]
xor ecx, esp
call fcn.00436772
add esp, 0x10a4
ret