Function at 0x40fe30
Capabilities:
Set registry value

Disassembly:
mov eax, 0x420780
call fcn.0041fac0
sub esp, 0xb4
mov al, byte [ebp - 0xd]
push ebx
push esi
xor ebx, ebx
push edi
push ebx
lea ecx, [ebp - 0x30]
mov byte [ebp - 0x30], al
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Tidy_bool_]
mov al, byte [ebp - 0xd]
push ebx
lea ecx, [ebp - 0x40]
mov dword [ebp - 4], ebx
mov byte [ebp - 0x40], al
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Tidy_bool_]
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 1
push eax
call fcn.0040f247
cmp dword [ebp - 0x38], ebx
mov esi, dword [sym.imp.SHLWAPI.dll_SHSetValueW]
pop ecx
je 0x40ff1b
push 0x1f
xor eax, eax
pop ecx
lea edi, [ebp - 0xbe]
mov word [ebp - 0xc0], bx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov eax, dword [ebp - 0x3c]
cmp eax, ebx
jne 0x40fea7
mov eax, dword [sym.imp.MSVCP60.dll_unsigned_short_int_const__private:_static_unsigned_short_int_const____cdecl_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Nullstr_void_::_2::_C]
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.00403085
pop ecx
pop ecx
cmp dword [ebp - 0x18], ebx
mov byte [ebp - 4], 2
je 0x40ff0c
mov eax, dword [ebp - 0x1c]
cmp eax, ebx
jne 0x40fec8
mov eax, dword [sym.imp.MSVCP60.dll_char_const__private:_static_char_const____cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Nullstr_void_::_2::_C]
lea ecx, [ebp - 0xc0]
push 0x3f
push ecx
push dword [ebp - 0x18]
push eax
call fcn.00402fc7
add esp, 0x10
test eax, eax
je 0x40ff0c
lea eax, [ebp - 0xc0]
push eax
call dword [sym.imp.MSVCRT.dll_wcslen]
pop ecx
shl eax, 1
push eax
lea eax, [ebp - 0xc0]
push eax
push 1
push str.umid
push str.Softwarehao123JuziBrowser
push SysReAllocString
call esi
push 1
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 1
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
lea eax, [ebp - 0x30]
push eax
call fcn.0040fad1
cmp dword [ebp - 0x28], ebx
pop ecx
je 0x40ffc4
push 0x1f
xor eax, eax
pop ecx
lea edi, [ebp - 0xbe]
mov word [ebp - 0xc0], bx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov eax, dword [ebp - 0x2c]
cmp eax, ebx
jne 0x40ff50
mov eax, dword [sym.imp.MSVCP60.dll_unsigned_short_int_const__private:_static_unsigned_short_int_const____cdecl_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Nullstr_void_::_2::_C]
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.00403085
pop ecx
pop ecx
cmp dword [ebp - 0x18], ebx
mov byte [ebp - 4], 3
je 0x40ffb5
mov eax, dword [ebp - 0x1c]
cmp eax, ebx
jne 0x40ff71
mov eax, dword [sym.imp.MSVCP60.dll_char_const__private:_static_char_const____cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Nullstr_void_::_2::_C]
lea ecx, [ebp - 0xc0]
push 0x3f
push ecx
push dword [ebp - 0x18]
push eax
call fcn.00402fc7
add esp, 0x10
test eax, eax
je 0x40ffb5
lea eax, [ebp - 0xc0]
push eax
call dword [sym.imp.MSVCRT.dll_wcslen]
pop ecx
shl eax, 1
push eax
lea eax, [ebp - 0xc0]
push eax
push 1
push 0x42a560
push str.Softwarehao123JuziBrowser
push SysReAllocString
call esi
push 1
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 1
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
push 1
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], bl
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Tidy_bool_]
or dword [ebp - 4], 0xffffffff
push 1
lea ecx, [ebp - 0x30]
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Tidy_bool_]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret