Function at 0x401640
Capabilities:
Read .ini file
Reference cloudflare dns server
Terminate process

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x40251b
push eax
mov dword fs:[0], esp
sub esp, 0x5c8
push ebx
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0x64]
test eax, eax
jne 0x401bfe
push str.UniversalFunction.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.UniversalFunction
push eax
mov dword [esi + 0x64], eax
call edi
mov dword [esp + 0x20], eax
mov eax, dword [esi + 0x64]
push str.DoMini
push eax
call edi
mov ecx, dword [esi + 0x64]
push str.GetExeFlag
push ecx
mov dword [esi + 0x7c], eax
call edi
mov dl, byte [esp + 0x17]
push 0
lea ecx, [esp + 0x28]
mov dword [esi + 0x80], eax
mov byte [esp + 0x28], 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_]
add esi, 0x68
push str.softset.ini
lea eax, [esp + 0xc8]
push esi
push eax
mov dword [esp + 0x5e8], 0
mov dword [esp + 0x28], esi
call sub.MSVCP60.dll_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char_____cdecl_std::operator_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___char_const__
add esp, 0xc
mov ecx, dword [sym.imp.MSVCP60.dll_unsigned_int_const_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::npos]
mov byte [esp + 0x5dc], 1
mov edx, dword [ecx]
lea ecx, [esp + 0x24]
push edx
push 0
push eax
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::assign_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___unsigned_int__unsigned_int_]
push 1
lea ecx, [esp + 0xc8]
mov byte [esp + 0x5e0], 0
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 eax, dword [esp + 0x28]
test eax, eax
jne 0x401728
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]
mov ebx, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push eax
lea eax, [esp + 0x3d8]
push 0x100
push eax
push str.10_0
push str.user
push 0x406398
call ebx
mov eax, dword [esp + 0x28]
test eax, eax
jne 0x40175a
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]
push eax
lea ecx, [esp + 0x4d8]
push 0x100
push ecx
push 0x406418
push str.soft
push 0x406398
call ebx
lea edi, [esp + 0x4d4]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
jne 0x401793
push eax
call dword [sym.imp.MSVCRT.dll_exit]
mov eax, dword [esp + 0x28]
test eax, eax
jne 0x4017a0
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]
push ebp
push eax
lea edx, [esp + 0x2dc]
push 0x100
push edx
push str.1987_1_1_1_1_1
push str.SetupTimer
push str.SetupInfo
call ebx
mov eax, dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov ecx, dword [sym.imp.MSVCP60.dll____F__basic_string_DU__char_traits_D_std__V__allocator_D_2__std__QAEXXZ]
push eax
push ecx
push 6
lea edx, [esp + 0x54]
push 0x10
push edx
call fcn.00402192
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x1d8]
lea edx, [esp + 0x1d8]
rep stosd dword es:[edi], eax
lea edi, [esp + 0x2d8]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push 0x406364
mov eax, ecx
mov esi, edi
mov edi, edx
mov byte [esp + 0x5e4], 2
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x1dc]
push ecx
call dword [sym.imp.MSVCRT.dll_strtok]
mov esi, eax
add esp, 8
test esi, esi
je 0x401894
lea ebp, [esp + 0x48]
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
push 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov ebx, ecx
mov ecx, ebp
push ebx
call dword [sym.imp.MSVCP60.dll_private:_bool___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Grow_unsigned_int__bool_]
test al, al
je 0x401875
mov edi, dword [ebp + 4]
mov ecx, ebx
mov edx, ecx
push ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, ebp
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Eos_unsigned_int_]
push 0x406364
push 0
add ebp, 0x10
call dword [sym.imp.MSVCRT.dll_strtok]
mov esi, eax
add esp, 8
test esi, esi
jne 0x40183c
mov ebx, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov eax, dword [esp + 0x9c]
mov esi, 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]
test eax, eax
jne 0x4018a7
mov eax, esi
mov ecx, dword [esp + 0x8c]
mov dword [esp + 0x1c], esi
test ecx, ecx
je 0x4018ba
mov dword [esp + 0x1c], ecx
mov ecx, dword [esp + 0x7c]
mov dword [esp + 0x14], esi
test ecx, ecx
je 0x4018ca
mov dword [esp + 0x14], ecx
mov ecx, dword [esp + 0x6c]
mov dword [esp + 0x10], esi
test ecx, ecx
je 0x4018da
mov dword [esp + 0x10], ecx
mov edi, dword [esp + 0x5c]
test edi, edi
jne 0x4018e4
mov edi, esi
mov ecx, dword [esp + 0x4c]
test ecx, ecx
je 0x4018ee
mov esi, ecx
mov ebp, dword [sym.imp.MSVCRT.dll_atoi]
push eax
call ebp
add esp, 4
push eax
mov eax, dword [esp + 0x20]
push eax
call ebp
mov ecx, dword [esp + 0x1c]
add esp, 4
push eax
push ecx
call ebp
mov edx, dword [esp + 0x1c]
add esp, 4
push eax
push edx
call ebp
add esp, 4
push eax
push edi
call ebp
add esp, 4
push eax
push esi
call ebp
add esp, 4
push eax
lea eax, [esp + 0x1f0]
push str._04d_02d_02d_02d_02d_02d
push eax
call dword [sym.imp.MSVCRT.dll_sprintf]
mov eax, dword [esp + 0x4c]
add esp, 0x20
test eax, eax
jne 0x40194d
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]
push eax
lea ecx, [esp + 0x2dc]
push 0x100
push ecx
push str.2013_1_1_1_1_1
push str.SetupSoftStartTimer
push str.SetupInfo
call ebx
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0xd8]
lea edx, [esp + 0xd8]
rep stosd dword es:[edi], eax
lea edi, [esp + 0x2d8]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push 0x406364
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0xdc]
push ecx
call dword [sym.imp.MSVCRT.dll_strtok]
mov esi, eax
add esp, 8
test esi, esi
je 0x401a26
lea ebx, [esp + 0x4c]
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
push 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov edi, ecx
lea ecx, [ebx - 4]
push edi
mov dword [esp + 0x18], edi
call dword [sym.imp.MSVCP60.dll_private:_bool___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Grow_unsigned_int__bool_]
test al, al
je 0x401a07
mov eax, dword [ebx]
mov ecx, edi
mov edx, ecx
mov edi, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [ebx]
mov ecx, edx
add eax, ecx
mov dword [ebx + 4], ecx
mov byte [eax], 0
push 0x406364
push 0
add ebx, 0x10
call dword [sym.imp.MSVCRT.dll_strtok]
mov esi, eax
add esp, 8
test esi, esi
jne 0x4019c5
mov ebx, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov ecx, 7
xor eax, eax
lea edi, [esp + 0xa9]
mov byte [esp + 0xa8], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov eax, dword [esp + 0x20]
push str.version.ini
lea ecx, [esp + 0x3c]
push eax
push ecx
call sub.MSVCP60.dll_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char_____cdecl_std::operator_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___char_const__
add esp, 0xc
mov eax, dword [esp + 0x3c]
mov byte [esp + 0x5e0], 3
test eax, eax
jne 0x401a6d
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]
push eax
lea edx, [esp + 0xac]
push 0x100
push edx
push str.1.0.0.1
push str.version
push str.version
call ebx
mov eax, dword [esp + 0x9c]
mov esi, 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]
test eax, eax
jne 0x401a9f
mov eax, esi
mov ecx, dword [esp + 0x8c]
mov dword [esp + 0x10], esi
test ecx, ecx
je 0x401ab2
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 0x7c]
mov dword [esp + 0x14], esi
test ecx, ecx
je 0x401ac2
mov dword [esp + 0x14], ecx
mov ebx, dword [esp + 0x6c]
test ebx, ebx
jne 0x401acc
mov ebx, esi
mov edi, dword [esp + 0x5c]
test edi, edi
jne 0x401ad6
mov edi, esi
mov ecx, dword [esp + 0x4c]
test ecx, ecx
je 0x401ae0
mov esi, ecx
push eax
call ebp
add esp, 4
push eax
mov eax, dword [esp + 0x14]
push eax
call ebp
mov ecx, dword [esp + 0x1c]
add esp, 4
push eax
push ecx
call ebp
add esp, 4
push eax
push ebx
call ebp
add esp, 4
push eax
push edi
call ebp
add esp, 4
push eax
push esi
call ebp
add esp, 4
lea edx, [esp + 0xec]
push eax
push str._04d_02d_02d_02d_02d_02d
push edx
call dword [sym.imp.MSVCRT.dll_sprintf]
lea eax, [esp + 0x3f8]
push eax
call ebp
lea ecx, [esp + 0x3fc]
push 0xa
push ecx
push eax
call dword [sym.imp.MSVCRT.dll__itoa]
add esp, 0x30
call sub.MFC42.DLL_AfxGetModuleState
mov eax, dword [eax + 4]
lea edx, [esp + 0xd8]
lea ecx, [esp + 0x1d8]
push edx
mov edx, dword [eax + 0x74]
xor esi, esi
push ecx
push esi
push edx
call ebp
add esp, 4
lea ecx, [esp + 0x3e4]
lea edx, [esp + 0xb4]
push eax
lea eax, [esp + 0x4e8]
push eax
push ecx
push edx
push 0x406304
call dword [esp + 0x44]
mov eax, dword [esp + 0x5c]
add esp, 0x20
cmp eax, esi
pop ebp
je 0x401bb2
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x401ba9
cmp al, 0xff
je 0x401ba9
dec al
mov byte [ecx], al
jmp 0x401bb2
push ecx
call sub.MFC42.DLL_operatordelete
add esp, 4
mov eax, dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
lea ecx, [esp + 0x44]
push eax
push 6
push 0x10
push ecx
mov dword [esp + 0x48], esi
mov dword [esp + 0x4c], esi
mov dword [esp + 0x50], esi
mov byte [esp + 0x5ec], 0
call fcn.0040209e
mov ecx, dword [esp + 0x28]
cmp ecx, esi
je 0x401bfe
mov al, byte [ecx - 1]
test al, al
je 0x401bf4
cmp al, 0xff
je 0x401bf4
dec al
mov byte [ecx - 1], al
jmp 0x401bfe
dec ecx
push ecx
call sub.MFC42.DLL_operatordelete
add esp, 4
mov ecx, dword [esp + 0x5d4]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x5d4
ret