Function at 0x40ca50
Capabilities:
Set registry value

Disassembly:
mov eax, 0x41c84c
call fcn.0041be90
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.0040be67
cmp dword [ebp - 0x38], ebx
mov esi, dword [sym.imp.SHLWAPI.dll_SHSetValueW]
pop ecx
je 0x40cb3b
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 0x40cac7
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.00403072
pop ecx
pop ecx
cmp dword [ebp - 0x18], ebx
mov byte [ebp - 4], 2
je 0x40cb2c
mov eax, dword [ebp - 0x1c]
cmp eax, ebx
jne 0x40cae8
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.00402fb4
add esp, 0x10
test eax, eax
je 0x40cb2c
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.0040c6f1
cmp dword [ebp - 0x28], ebx
pop ecx
je 0x40cbe4
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 0x40cb70
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.00403072
pop ecx
pop ecx
cmp dword [ebp - 0x18], ebx
mov byte [ebp - 4], 3
je 0x40cbd5
mov eax, dword [ebp - 0x1c]
cmp eax, ebx
jne 0x40cb91
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.00402fb4
add esp, 0x10
test eax, eax
je 0x40cbd5
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 0x424a2c
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