Function at 0x4106b6
Capabilities:
Set registry value

Disassembly:
mov eax, 0x421bc4
call fcn.00420e60
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.0040fab4
cmp dword [ebp - 0x38], ebx
mov esi, dword [sym.imp.SHLWAPI.dll_SHSetValueW]
pop ecx
je 0x4107a1
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 0x41072d
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 0x410792
mov eax, dword [ebp - 0x1c]
cmp eax, ebx
jne 0x41074e
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 0x410792
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.0041033e
cmp dword [ebp - 0x28], ebx
pop ecx
je 0x41084a
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 0x4107d6
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 0x41083b
mov eax, dword [ebp - 0x1c]
cmp eax, ebx
jne 0x4107f7
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 0x41083b
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 0x42c880
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