Function at 0x1004caf0
Capabilities:
Read .ini file

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x1008f811
push eax
mov dword fs:[0], esp
sub esp, 0x5c
push ebx
push ebp
mov ebp, ecx
push esi
push edi
mov eax, dword [ebp + 0x40]
test eax, eax
jne 0x1004cb1a
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 eax, [esp + 0x24]
push 0xb
push eax
push 0x100aba18
push str.DisableExpiredDate
push str.UnavailableNetworkAdapters
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea edi, [esp + 0x20]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
jne 0x1004cbcf
mov eax, dword [ebp + 0x40]
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
mov dword [esp + 0x18], 0x997
mov edi, esi
je 0x1004cb64
mov edi, eax
mov eax, dword [ebp + 0x14c]
test eax, eax
je 0x1004cb70
mov esi, eax
lea ecx, [esp + 0x18]
push ecx
push str.F:SCVLibScvLIBNetAvailableNetworkAdapters.cpp
lea ecx, [esp + 0x44]
call fcn.1006ae90
mov edx, dword [str.AvailableNetworkAdaptersFunction]
push edi
push esi
push 0x100a98c4
push 0xb
xor ebx, ebx
push edx
push eax
mov dword [esp + 0x8c], ebx
call fcn.1006b020
add esp, 0x18
lea ecx, [esp + 0x3c]
mov dword [esp + 0x74], 0xffffffff
call fcn.1006afc0
pop edi
mov dword [ebp + 0x144], ebx
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x5c]
mov dword fs:[0], ecx
add esp, 0x68
ret
mov al, byte [esp + 0x13]
push 0
lea ecx, [esp + 0x30]
mov byte [esp + 0x30], 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_]
lea edi, [esp + 0x20]
or ecx, 0xffffffff
xor eax, eax
push 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov ebx, ecx
lea ecx, [esp + 0x30]
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 0x1004cc28
mov edi, dword [esp + 0x30]
mov ecx, ebx
mov edx, ecx
lea esi, [esp + 0x20]
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 [esp + 0x30]
mov dword [esp + 0x34], ebx
mov byte [eax + ebx], 0
mov ebx, dword [sym.imp.MSVCRT.dll__mbsstr]
lea ecx, [esp + 0x20]
push 0x100a98c0
push ecx
mov dword [esp + 0x7c], 1
xor edi, edi
call ebx
mov esi, eax
add esp, 8
test esi, esi
je 0x1004cc66
mov byte [esi], 0
inc esi
push 0x100a98c0
push esi
call ebx
mov edi, eax
add esp, 8
test edi, edi
je 0x1004cc66
mov byte [edi], 0
inc edi
lea edx, [esp + 0x20]
test edx, edx
je 0x1004cd9c
test esi, esi
je 0x1004cd9c
test edi, edi
je 0x1004cd9c
mov ebx, dword [sym.imp.MSVCRT.dll_atoi]
lea eax, [esp + 0x20]
push eax
call ebx
push esi
mov dword [esp + 0x20], eax
call ebx
push edi
mov esi, eax
call ebx
add esp, 0xc
cmp si, 1
mov edi, eax
jb 0x1004cd9c
cmp si, 0xc
ja 0x1004cd9c
cmp di, 1
jb 0x1004cd9c
cmp di, 0x1f
ja 0x1004cd9c
mov ecx, dword [esp + 0x18]
push edi
push esi
push ecx
mov ecx, ebp
call fcn.1004ce90
cmp dword [ebp + 0x144], eax
je 0x1004cd66
mov eax, dword [esp + 0x30]
mov ebx, 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
mov dword [esp + 0x1c], 0x9b8
mov dword [esp + 0x14], ebx
je 0x1004cd00
mov dword [esp + 0x14], eax
mov eax, dword [ebp + 0x14c]
test eax, eax
je 0x1004cd0c
mov ebx, eax
lea edx, [esp + 0x1c]
lea ecx, [esp + 0x3c]
push edx
push str.F:SCVLibScvLIBNetAvailableNetworkAdapters.cpp
call fcn.1006ae90
mov ecx, dword [esp + 0x14]
mov edx, dword [str.AvailableNetworkAdaptersFunction]
push ecx
push ebx
push 0x100a9890
push 0xb
push edx
push eax
mov byte [esp + 0x8c], 2
call fcn.1006b020
add esp, 0x18
lea ecx, [esp + 0x3c]
mov byte [esp + 0x74], 1
call fcn.1006afc0
mov eax, dword [esp + 0x18]
push edi
push esi
push eax
mov ecx, ebp
call fcn.1004ce90
mov dword [ebp + 0x144], eax
mov ecx, dword [esp + 0x30]
test ecx, ecx
je 0x1004ce42
mov al, byte [ecx - 1]
test al, al
je 0x1004cd95
cmp al, 0xff
je 0x1004cd95
pop edi
dec al
pop esi
pop ebp
mov byte [ecx - 1], al
pop ebx
mov ecx, dword [esp + 0x5c]
mov dword fs:[0], ecx
add esp, 0x68
ret
dec ecx
push ecx
jmp 0x1004ce3a
mov edi, dword [esp + 0x30]
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 edi, edi
mov dword [esp + 0x1c], 0x9c4
jne 0x1004cdb4
mov edi, esi
mov eax, dword [ebp + 0x14c]
test eax, eax
je 0x1004cdc0
mov esi, eax
lea ecx, [esp + 0x1c]
push ecx
push str.F:SCVLibScvLIBNetAvailableNetworkAdapters.cpp
lea ecx, [esp + 0x5c]
call fcn.1006ae90
mov edx, dword [str.AvailableNetworkAdaptersFunction]
push edi
push esi
push 0x100a9850
push 1
push edx
push eax
mov byte [esp + 0x8c], 3
call fcn.1006b020
add esp, 0x18
lea ecx, [esp + 0x54]
mov byte [esp + 0x74], 1
call fcn.1006afc0
mov eax, dword [esp + 0x30]
mov dword [ebp + 0x144], 0
test eax, eax
je 0x1004ce42
mov cl, byte [eax - 1]
test cl, cl
je 0x1004ce38
cmp cl, 0xff
je 0x1004ce38
pop edi
dec cl
pop esi
pop ebp
mov byte [eax - 1], cl
pop ebx
mov ecx, dword [esp + 0x5c]
mov dword fs:[0], ecx
add esp, 0x68
ret
dec eax
push eax
call fcn.10088e50
add esp, 4
mov ecx, dword [esp + 0x6c]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x68
ret