Function at 0x4b162d1c
Capabilities:
Set registry value

Disassembly:
mov eax, 0x4b1682ef
call fcn.4b1678d8
sub esp, 0x7e4
mov eax, dword [0x4b16c628]
push esi
mov esi, dword [ebp + 0xc]
push edi
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0x10]
xor edi, edi
push edi
lea ecx, [ebp - 0x730]
mov dword [ebp - 0x734], eax
call sym.mmcbase.DLL_public:_void___thiscall_mmcerror::SC::constructor_long_int_
push 0x4b1536ec
lea ecx, [ebp - 0x730]
mov dword [ebp - 4], edi
call sym.mmcbase.DLL_public:_void___thiscall_mmcerror::SC::SetFunctionName_unsigned_short_int_const__
push 0x80004005
push esi
lea eax, [ebp - 0x760]
push eax
call fcn.4b15f55e
push eax
lea ecx, [ebp - 0x730]
mov byte [ebp - 4], 1
call sym.mmcbase.DLL_public:_class_CMMCStrongReferences____thiscall_CMMCStrongReferences::operator_class_CMMCStrongReferences_const__
dec dword [sym.mmcbase.DLL_unsigned_int_mmcerror::SC::s_CallDepth]
lea ecx, [ebp - 0x760]
mov byte [ebp - 4], 0
call sym.mmcbase.DLL_public:_void___thiscall_mmcerror::SC::Trace__void_const
lea ecx, [ebp - 0x730]
call sym.mmcbase.DLL_public:_bool___thiscall_mmcerror::SC::operator_bool_void_const
test al, al
je 0x4b162dbb
lea ecx, [ebp - 0x730]
call sym.mmcbase.DLL_public:_long_int___thiscall_mmcerror::SC::ToHr_void_const
mov esi, eax
jmp 0x4b1632c0
push ebx
mov dword [ebp - 0x738], edi
lea eax, [ebp - 0x738]
push eax
push esi
mov byte [ebp - 4], 2
call dword [sym.imp.ole32.dll_StringFromCLSID]
push 3
pop ebx
lea ecx, [ebp - 0x730]
mov dword [ebp - 0x730], ebx
mov dword [ebp - 0x72c], eax
call sym.mmcbase.DLL_public:_bool___thiscall_mmcerror::SC::operator_bool_void_const
test al, al
je 0x4b162e04
lea ecx, [ebp - 0x730]
call sym.mmcbase.DLL_public:_long_int___thiscall_mmcerror::SC::ToHr_void_const
mov esi, eax
jmp 0x4b1632b4
push dword [esi + 0x70]
call fcn.4b1613c6
lea ecx, [ebp - 0x7c0]
mov edi, eax
call fcn.4b161ea9
lea ecx, [ebp - 0x7b4]
mov byte [ebp - 4], bl
call fcn.4b161638
lea ecx, [ebp - 0x730]
mov dword [ebp - 0x730], ebx
mov dword [ebp - 0x72c], eax
call sym.mmcbase.DLL_public:_bool___thiscall_mmcerror::SC::operator_bool_void_const
test al, al
jne 0x4b16329c
mov eax, dword [ebp - 0x738]
lea ecx, [esi + 0x10]
mov dword [ebp - 0x798], 0x4b1536dc
mov dword [ebp - 0x794], eax
mov dword [ebp - 0x790], 0x4b1536c8
call dword [sym.imp.msvcp60.dll_public:_unsigned_short_int_const____thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::data_void_const]
lea ecx, [esi + 0x30]
mov dword [ebp - 0x78c], eax
mov dword [ebp - 0x788], 0x4b1536b0
call dword [sym.imp.msvcp60.dll_public:_unsigned_short_int_const____thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::data_void_const]
lea ecx, [esi + 0x40]
mov dword [ebp - 0x784], eax
mov dword [ebp - 0x780], 0x4b1536a0
call dword [sym.imp.msvcp60.dll_public:_unsigned_short_int_const____thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::data_void_const]
lea ecx, [esi + 0x50]
mov dword [ebp - 0x77c], eax
mov dword [ebp - 0x778], 0x4b15366c
call dword [sym.imp.msvcp60.dll_public:_unsigned_short_int_const____thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::data_void_const]
lea ecx, [esi + 0x60]
mov dword [ebp - 0x774], eax
mov dword [ebp - 0x770], 0x4b153654
call dword [sym.imp.msvcp60.dll_public:_unsigned_short_int_const____thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::data_void_const]
and dword [ebp - 0x720], 0
mov dword [ebp - 0x76c], eax
mov dword [ebp - 0x768], 0x4b153634
mov dword [ebp - 0x764], edi
mov eax, dword [ebp - 0x720]
shl eax, 3
mov edi, dword [ebp + eax - 0x794]
mov eax, dword [ebp + eax - 0x798]
push edi
push eax
mov dword [ebp - 0x71c], eax
lea eax, [ebp - 0x7c0]
push eax
call fcn.4b161990
lea ecx, [ebp - 0x730]
mov dword [ebp - 0x730], ebx
mov dword [ebp - 0x72c], eax
call sym.mmcbase.DLL_public:_bool___thiscall_mmcerror::SC::operator_bool_void_const
test al, al
jne 0x4b16329c
mov eax, dword [0x4b16c0b8]
cmp byte [eax + 0x19], 4
jb 0x4b162f5e
push edi
push dword [ebp - 0x71c]
push 0x4b152c70
push 0xa
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.4b15b68f
inc dword [ebp - 0x720]
cmp dword [ebp - 0x720], 7
jb 0x4b162ef0
mov edi, dword [ebp - 0x734]
test edi, edi
je 0x4b1630ac
and dword [ebp - 0x720], 0
lea eax, [ebp - 0x720]
push eax
push edi
mov byte [ebp - 4], 4
call dword [sym.imp.ole32.dll_StringFromCLSID]
lea ecx, [ebp - 0x730]
mov dword [ebp - 0x730], ebx
mov dword [ebp - 0x72c], eax
call sym.mmcbase.DLL_public:_bool___thiscall_mmcerror::SC::operator_bool_void_const
test al, al
je 0x4b162fcc
lea ecx, [ebp - 0x730]
call sym.mmcbase.DLL_public:_long_int___thiscall_mmcerror::SC::ToHr_void_const
lea ecx, [ebp - 0x720]
mov esi, eax
call fcn.4b161f9e
jmp 0x4b1632a9
mov eax, dword [ebp - 0x720]
lea ecx, [edi + 0x10]
mov dword [ebp - 0x750], 0x4b153624
mov dword [ebp - 0x74c], eax
mov dword [ebp - 0x748], 0x4b153610
call dword [sym.imp.msvcp60.dll_public:_unsigned_short_int_const____thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::data_void_const]
lea ecx, [edi + 0x20]
mov dword [ebp - 0x744], eax
mov dword [ebp - 0x740], 0x4b1535fc
call dword [sym.imp.msvcp60.dll_public:_unsigned_short_int_const____thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::data_void_const]
and dword [ebp - 0x71c], 0
mov dword [ebp - 0x73c], eax
mov eax, dword [ebp - 0x71c]
shl eax, 3
mov edi, dword [ebp + eax - 0x74c]
mov eax, dword [ebp + eax - 0x750]
push edi
push eax
mov dword [ebp - 0x734], eax
lea eax, [ebp - 0x7c0]
push eax
call fcn.4b161990
lea ecx, [ebp - 0x730]
mov dword [ebp - 0x730], ebx
mov dword [ebp - 0x72c], eax
call sym.mmcbase.DLL_public:_bool___thiscall_mmcerror::SC::operator_bool_void_const
test al, al
jne 0x4b162faf
mov eax, dword [0x4b16c0b8]
cmp byte [eax + 0x19], 4
jb 0x4b163089
push edi
push dword [ebp - 0x734]
push 0x4b152c70
push 0xb
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.4b15b68f
inc dword [ebp - 0x71c]
cmp dword [ebp - 0x71c], ebx
jb 0x4b16301b
lea ecx, [ebp - 0x720]
mov byte [ebp - 4], bl
call fcn.4b161f9e
mov eax, 0x4b153110
jmp 0x4b1630b1
mov eax, 0x4b15142c
push eax
push 0x4b152c80
lea eax, [ebp - 0x718]
push 0x383
push eax
call fcn.4b15763b
add esp, 0x10
lea ecx, [ebp - 0x730]
mov dword [ebp - 0x730], ebx
mov dword [ebp - 0x72c], eax
call sym.mmcbase.DLL_public:_bool___thiscall_mmcerror::SC::operator_bool_void_const
test al, al
jne 0x4b16329c
mov eax, dword [0x4b16c0b8]
cmp byte [eax + 0x19], 4
jb 0x4b16310e
lea ecx, [ebp - 0x718]
push ecx
push 0x4b152c70
push 0xc
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.4b15b62c
xor edi, edi
cmp dword [ebp + 8], edi
lea ecx, [ebp - 0x7c0]
lea eax, [ebp - 0x718]
je 0x4b163125
push 1
jmp 0x4b163126
push edi
push eax
call fcn.4b162cd2
lea ecx, [ebp - 0x730]
mov dword [ebp - 0x730], ebx
mov dword [ebp - 0x72c], eax
call sym.mmcbase.DLL_public:_bool___thiscall_mmcerror::SC::operator_bool_void_const
test al, al
jne 0x4b16329c
cmp dword [ebp + 8], edi
je 0x4b16329c
cmp dword [esi + 0x28], edi
je 0x4b16329c
push 0x4b1535ec
lea ecx, [ebp - 0x7e0]
call fcn.4b161ef5
push dword [ebp - 0x738]
mov byte [ebp - 4], 5
push eax
lea eax, [ebp - 0x7d0]
push eax
call sub.msvcp60.dll_class_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int_____cdecl_std::operator_class_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int___const___unsigned_short_int_const__
add esp, 0xc
push eax
lea ecx, [ebp - 0x760]
mov byte [ebp - 4], 6
call fcn.4b161ed8
lea ecx, [ebp - 0x7d0]
mov byte [ebp - 4], 9
call dword [sym.imp.msvcp60.dll_public:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::destructor_void_]
lea ecx, [ebp - 0x7e0]
mov byte [ebp - 4], 8
call dword [sym.imp.msvcp60.dll_public:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::destructor_void_]
push 0x4b1535e8
lea ecx, [ebp - 0x748]
call fcn.4b161ef5
mov edi, eax
lea ecx, [esi + 0x60]
mov byte [ebp - 4], 0xa
call dword [sym.imp.msvcp60.dll_public:_unsigned_short_int_const____thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::c_str_void_const]
push eax
lea eax, [ebp - 0x7f0]
push edi
push eax
call sub.msvcp60.dll_class_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int_____cdecl_std::operator_class_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int___const___unsigned_short_int_const__
add esp, 0xc
push eax
lea ecx, [ebp - 0x760]
mov byte [ebp - 4], 0xb
call fcn.4b161f1f
lea ecx, [ebp - 0x7f0]
mov byte [ebp - 4], 0xa
call dword [sym.imp.msvcp60.dll_public:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::destructor_void_]
lea ecx, [ebp - 0x748]
mov byte [ebp - 4], 8
call dword [sym.imp.msvcp60.dll_public:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::destructor_void_]
call fcn.4b161f3c
xor ecx, ecx
test al, al
setne cl
xor edi, edi
mov dword [ebp - 0x71c], edi
inc ecx
mov dword [ebp - 0x734], ecx
push 0x20006
lea ecx, [ebp - 0x760]
mov byte [ebp - 4], 0xc
call dword [sym.imp.msvcp60.dll_public:_unsigned_short_int_const____thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::c_str_void_const]
push eax
push 0x80000000
lea ecx, [ebp - 0x71c]
call fcn.4b1616c4
cmp eax, edi
jne 0x4b163282
mov eax, dword [esi + 0x28]
lea eax, [eax + eax + 2]
push eax
lea ecx, [esi + 0x20]
call dword [sym.imp.msvcp60.dll_public:_unsigned_short_int_const____thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::c_str_void_const]
push eax
push dword [ebp - 0x734]
push edi
push edi
push dword [ebp - 0x71c]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
lea ecx, [ebp - 0x71c]
call fcn.4b161651
lea ecx, [ebp - 0x760]
mov byte [ebp - 4], bl
call dword [sym.imp.msvcp60.dll_public:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::destructor_void_]
lea ecx, [ebp - 0x730]
call sym.mmcbase.DLL_public:_long_int___thiscall_mmcerror::SC::ToHr_void_const
mov esi, eax
lea ecx, [ebp - 0x7c0]
call fcn.4b162136
lea ecx, [ebp - 0x738]
call fcn.4b161f9e
pop ebx
or dword [ebp - 4], 0xffffffff
dec dword [sym.mmcbase.DLL_unsigned_int_mmcerror::SC::s_CallDepth]
lea ecx, [ebp - 0x730]
call sym.mmcbase.DLL_public:_void___thiscall_mmcerror::SC::Trace__void_const
mov ecx, dword [ebp - 0xc]
pop edi
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x10]
mov eax, esi
pop esi
call fcn.4b163f8b
leave
ret 0xc