Function at 0x4075f0
Capabilities:
Contain obfuscated stackstrings
Get number of processors
Get process heap flags
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x41c0c5
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xf4
mov eax, dword [esp + 0x104]
push ebx
push ebp
push esi
push edi
mov esi, ecx
push eax
push 0x66
mov dword [esp + 0x30], esi
call sub.MFC42.DLL_CDialog::CDialog
lea edi, [esi + 0x60]
xor ebp, ebp
mov ecx, edi
mov dword [esp + 0x10c], ebp
call sub.MFC42.DLL_CWnd::CWnd
mov dword [edi], 0x41eae8
mov ebx, 1
lea ecx, [esi + 0xa0]
mov byte [esp + 0x10c], bl
call fcn.00410210
lea edi, [esi + 0x100]
mov byte [esp + 0x10c], 2
mov ecx, edi
call sub.MFC42.DLL_CWnd::CWnd
mov dword [edi], 0x41ea28
lea ecx, [esi + 0x154]
mov byte [esp + 0x10c], 3
call sub.MFC42.DLL_CString::CString_2
mov dl, byte [esp + 0x13]
lea ecx, [esi + 0x15c]
mov dword [esi + 0x158], ebp
push ebp
mov byte [esp + 0x110], 4
mov byte [ecx], dl
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
mov al, byte [esp + 0x13]
lea ecx, [esi + 0x16c]
push ebp
mov byte [esp + 0x110], 5
mov byte [ecx], al
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
mov dl, byte [esp + 0x13]
lea ecx, [esi + 0x17c]
push ebp
mov byte [esp + 0x110], 6
mov byte [ecx], dl
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
mov al, byte [esp + 0x13]
lea ecx, [esi + 0x18c]
push ebp
mov byte [esp + 0x110], 7
mov byte [ecx], al
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
mov dl, byte [esp + 0x13]
lea ecx, [esi + 0x19c]
push ebp
mov byte [esp + 0x110], 8
mov byte [ecx], dl
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
mov al, byte [esp + 0x13]
lea ecx, [esi + 0x1ac]
push ebp
mov byte [esp + 0x110], 9
mov byte [ecx], al
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
mov dl, byte [esp + 0x13]
lea ecx, [esi + 0x1bc]
mov byte [esp + 0x10c], 0xa
push ebp
mov byte [ecx], dl
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
mov al, byte [esp + 0x13]
lea ecx, [esi + 0x1cc]
push ebp
mov byte [esp + 0x110], 0xb
mov byte [ecx], al
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
mov dl, byte [esp + 0x13]
lea ecx, [esi + 0x1dc]
push ebp
mov byte [esp + 0x110], 0xc
mov byte [ecx], dl
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
mov al, byte [esp + 0x13]
lea ecx, [esi + 0x1ec]
push ebp
mov byte [esp + 0x110], 0xd
mov byte [ecx], al
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
mov dl, byte [esp + 0x13]
lea ecx, [esi + 0x1fc]
push ebp
mov byte [esp + 0x110], 0xe
mov byte [ecx], dl
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
mov al, byte [esp + 0x13]
lea ecx, [esi + 0x20c]
push ebp
mov byte [esp + 0x110], 0xf
mov byte [ecx], al
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
mov dl, byte [esp + 0x13]
lea ecx, [esi + 0x21c]
push ebp
mov byte [esp + 0x110], 0x10
mov byte [ecx], dl
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, [esp + 0x13]
lea ecx, [esi + 0x22c]
push eax
mov byte [esp + 0x110], 0x11
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_class_std::allocator_char__const__]
lea edx, [esp + 0x1b]
lea ecx, [esi + 0x23c]
push edx
mov byte [esp + 0x110], 0x12
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_class_std::allocator_char__const__]
lea eax, [esp + 0x13]
lea ecx, [esi + 0x24c]
push eax
mov byte [esp + 0x110], 0x13
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_class_std::allocator_char__const__]
lea edx, [esp + 0x1b]
lea ecx, [esi + 0x25c]
push edx
mov byte [esp + 0x110], 0x14
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_class_std::allocator_char__const__]
lea eax, [esp + 0x13]
lea ecx, [esi + 0x26c]
push eax
mov byte [esp + 0x110], 0x15
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_class_std::allocator_char__const__]
lea edi, [esi + 0x2c8]
push str.Insight_Adapter_Info
mov ecx, edi
mov byte [esp + 0x110], 0x16
mov dword [esi + 0x28c], ebp
mov dword [esp + 0x28], edi
call fcn.00401460
push 0x64
mov byte [esp + 0x110], 0x17
mov dword [edi], 0x41ea20
mov dword [edi + 0x28], ebx
mov dword [edi + 0x2c], ebx
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 0x1c], eax
cmp eax, ebp
mov byte [esp + 0x10c], 0x18
je 0x4078d3
push ebp
push str.AsyncSvc
push str.Insight_AsyncSvc
push str.AsyncSvc
mov ecx, eax
call fcn.00407e10
mov dword [esp + 0x14], eax
jmp 0x4078d7
mov dword [esp + 0x14], ebp
push str.AsyncSvc
lea ecx, [esp + 0x80]
mov byte [esp + 0x110], 0x17
call fcn.00413ae0
push str.RpcSs
lea ecx, [esp + 0x80]
mov byte [esp + 0x110], 0x19
call fcn.00407c80
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x7c]
add ecx, 0x50
push edx
mov eax, dword [ecx + 8]
push eax
call fcn.0040e5c0
lea ecx, [esp + 0x7c]
mov byte [esp + 0x10c], 0x17
call fcn.00413c00
mov eax, dword [esp + 0x14]
add edi, 4
mov dword [esp + 0x20], eax
lea ecx, [esp + 0x20]
mov eax, dword [edi + 8]
push ecx
push eax
mov ecx, edi
call fcn.0040e7b0
push 0x64
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 0x1c], eax
cmp eax, ebp
mov byte [esp + 0x10c], 0x1a
je 0x407981
push ebp
push str.LoaderSvc
push str.Insight_LoaderSvc
push str.LoaderSvc
mov ecx, eax
call fcn.00407e10
mov dword [esp + 0x14], eax
jmp 0x407985
mov dword [esp + 0x14], ebp
push str.LoaderSvc
lea ecx, [esp + 0x3c]
mov byte [esp + 0x110], 0x17
call fcn.00413ae0
push str.AsyncSvc
lea ecx, [esp + 0x3c]
mov byte [esp + 0x110], 0x1b
call fcn.00407c80
push str.RpcSs
lea ecx, [esp + 0x3c]
call fcn.00407c80
mov edx, dword [esp + 0x14]
mov eax, dword [edx + 0x58]
lea ecx, [edx + 0x50]
lea edx, [esp + 0x38]
push edx
push eax
call fcn.0040e5c0
lea ecx, [esp + 0x38]
mov byte [esp + 0x10c], 0x17
call fcn.00413c00
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x14]
mov dword [esp + 0x14], eax
mov eax, dword [edi + 8]
push ecx
push eax
mov ecx, edi
call fcn.0040e7b0
push ebx
lea ecx, [esp + 0x30]
call dword [sym.imp.bcsfc.dll_public:_void___thiscall_ServiceUtil::constructor_bool_]
push str.SoftControllerSvc
lea ecx, [esp + 0x30]
mov byte [esp + 0x110], 0x1c
call dword [sym.imp.bcsfc.dll_public:_bool___thiscall_ServiceUtil::isServiceSetToAutoStart_char_const__]
test al, al
je 0x407acc
push 0x64
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 0x1c], eax
cmp eax, ebp
mov byte [esp + 0x10c], 0x1d
je 0x407a5c
push ebp
push str.SoftControllerSvc
push str.Insight_SoftControllerSvc
push str.SoftControllerSvc
mov ecx, eax
call fcn.00407e10
mov ebx, eax
jmp 0x407a5e
xor ebx, ebx
push str.SoftControllerSvc
lea ecx, [esp + 0xc4]
mov byte [esp + 0x110], 0x1c
call fcn.00413ae0
push str.AsyncSvc
lea ecx, [esp + 0xc4]
mov byte [esp + 0x110], 0x1e
call fcn.00407c80
mov eax, dword [ebx + 0x58]
lea ecx, [ebx + 0x50]
lea edx, [esp + 0xc0]
push edx
push eax
call fcn.0040e5c0
lea ecx, [esp + 0xc0]
mov byte [esp + 0x10c], 0x1c
call fcn.00413c00
mov eax, dword [edi + 8]
lea ecx, [esp + 0x1c]
push ecx
push eax
mov ecx, edi
mov dword [esp + 0x24], ebx
call fcn.0040e7b0
lea ecx, [esp + 0x2c]
mov byte [esp + 0x10c], 0x17
call dword [sym.imp.bcsfc.dll_public_virtual:_void___thiscall_ServiceUtil::destructor_void_]
lea ecx, [esi + 0x300]
mov byte [esp + 0x10c], 0x1f
call fcn.00407e90
lea ecx, [esi + 0x338]
mov byte [esp + 0x10c], 0x20
call fcn.004080d0
lea ecx, [esi + 0x370]
mov byte [esp + 0x10c], 0x21
call fcn.004087a0
lea ecx, [esi + 0x3a8]
mov byte [esp + 0x10c], 0x22
call fcn.00408a30
lea ecx, [esi + 0x3e0]
mov byte [esp + 0x10c], 0x23
call fcn.004087d0
lea ecx, [esi + 0x418]
mov byte [esp + 0x10c], 0x24
call fcn.00409090
lea ecx, [esi + 0x450]
mov byte [esp + 0x10c], 0x25
call fcn.00408df0
lea ecx, [esi + 0x488]
mov byte [esp + 0x10c], 0x26
call fcn.00408310
lea ecx, [esi + 0x4c0]
mov byte [esp + 0x10c], 0x27
call fcn.00408560
mov byte [esp + 0x10c], 0x28
mov dword [esi], 0x41e948
call sub.MFC42.DLL_AfxGetModuleState
push 0x80
push 0xe
push 0x80
call sub.MFC42.DLL_AfxFindResourceHandle
push eax
call dword [sym.imp.USER32.dll_LoadIconA]
push 4
mov dword [esi + 0x140], eax
mov dword [esi + 0x144], ebp
mov dword [esi + 0x148], ebp
mov dword [esi + 0x150], ebp
mov dword [esi + 0x14c], ebp
mov dword [esi + 0x288], ebp
mov dword [esi + 0x290], ebp
mov dword [esi + 0x294], ebp
mov dword [esi + 0x298], ebp
mov dword [esi + 0x29c], ebp
mov dword [esi + 0x2a0], ebp
mov dword [esi + 0x2a4], ebp
mov dword [esi + 0x2a8], ebp
mov dword [esi + 0x2ac], ebp
mov dword [esi + 0x2c4], ebp
mov dword [esi + 0x2b8], ebp
mov dword [esi + 0x2bc], ebp
mov dword [esi + 0x2c0], ebp
mov dword [esi + 0x2b4], ebp
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 0x24], eax
cmp eax, ebp
mov byte [esp + 0x10c], 0x29
je 0x407c50
mov ecx, eax
call dword [sym.imp.Options.DLL_public:_void___thiscall_COptionsObj::constructor_void_]
mov dword [esi + 0x158], eax
jmp 0x407c56
mov dword [esi + 0x158], ebp
mov ecx, dword [esp + 0x104]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x100
ret 4