Function at 0x100023ad
Capabilities:
Check if file exists
Get common file path
Read .ini file

Disassembly:
mov eax, 0x1000b9ce
call fcn.1000b5d0
sub esp, 0x860
push ebx
push esi
push edi
xor ebx, ebx
push 0x10010ff4
mov esi, str.EverDelNetAcc2
push ebx
mov edi, str.main
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
cmp eax, 1
je 0x100026e8
push 0x10010ff4
push 0x1000e0ec
push esi
push edi
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
mov ecx, 0x81
xor eax, eax
lea edi, [ebp - 0x252]
mov word [ebp - 0x254], bx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [ebp - 0x254]
push 0x103
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x254]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
mov esi, dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x254]
push str.netacc.dll
push eax
call esi
lea eax, [ebp - 0x254]
mov dword [ebp - 0x34], ebx
push eax
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x30], ebx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x10002639
mov al, byte [ebp - 0xd]
push ebx
lea ecx, [ebp - 0x28]
mov byte [ebp - 0x28], 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 edi, dword [sym.imp.MSVCRT.dll_wcslen]
push 0x10011208
call edi
pop ecx
push eax
push 0x10011208
lea ecx, [ebp - 0x28]
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int______thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::assign_unsigned_short_int_const___unsigned_int_]
mov al, byte [ebp - 0xd]
push ebx
lea ecx, [ebp - 0x4c]
mov dword [ebp - 4], ebx
mov byte [ebp - 0x4c], 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 - 0x254]
push eax
call edi
pop ecx
push eax
lea eax, [ebp - 0x254]
push eax
lea ecx, [ebp - 0x4c]
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int______thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::assign_unsigned_short_int_const___unsigned_int_]
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x4c]
push eax
call fcn.100085f6
pop ecx
mov byte [ebp - 4], bl
pop ecx
push 1
lea ecx, [ebp - 0x4c]
pop edi
push edi
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 eax, dword [ebp - 0x24]
cmp eax, ebx
jne 0x100024f2
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 str.1.0.1.1005
push eax
call fcn.1000871e
pop ecx
test eax, eax
pop ecx
jg 0x1000255e
lea eax, [ebp - 0x254]
push str.netacc.dat
push eax
call fcn.100083aa
pop ecx
xor eax, eax
pop ecx
lea edi, [ebp - 0x45a]
mov ecx, 0x81
mov word [ebp - 0x45c], bx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [ebp - 0x45c]
push eax
push ebx
push ebx
push 0x1a
push ebx
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
lea eax, [ebp - 0x45c]
push str.360sedata_na.ini
push eax
call esi
lea eax, [ebp - 0x45c]
push eax
call fcn.100085d7
pop ecx
push 1
pop edi
mov eax, dword [ebp - 0x24]
cmp eax, ebx
jne 0x1000256a
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 str.1.0.1.1001
push eax
call fcn.1000871e
pop ecx
test eax, eax
pop ecx
jne 0x10002583
mov dword [ebp - 0x34], edi
jmp 0x1000262b
mov eax, dword [ebp - 0x24]
cmp eax, ebx
jne 0x1000258f
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 str.1.0.1.1002
push eax
call fcn.1000871e
pop ecx
test eax, eax
pop ecx
jne 0x100025a8
mov dword [ebp - 0x18], edi
jmp 0x1000262b
mov eax, dword [ebp - 0x24]
cmp eax, ebx
jne 0x100025b4
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 str.1.0.1.1003
push eax
call fcn.1000871e
pop ecx
test eax, eax
pop ecx
jne 0x100025ca
mov dword [ebp - 0x38], edi
jmp 0x1000262b
mov eax, dword [ebp - 0x24]
cmp eax, ebx
jne 0x100025d6
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 str.1.0.1.1005
push eax
call fcn.1000871e
pop ecx
test eax, eax
pop ecx
jne 0x100025ec
mov dword [ebp - 0x3c], edi
jmp 0x1000262b
mov eax, dword [ebp - 0x24]
cmp eax, ebx
jne 0x100025f8
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]
mov esi, str.1.0.0.9
push esi
push eax
call fcn.1000871e
pop ecx
test eax, eax
pop ecx
jne 0x1000260f
mov dword [ebp - 0x30], edi
jmp 0x1000262b
mov eax, dword [ebp - 0x24]
cmp eax, ebx
jne 0x1000261b
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 esi
push eax
call fcn.1000871e
pop ecx
test eax, eax
pop ecx
jge 0x1000262b
mov dword [ebp - 0x2c], edi
or dword [ebp - 4], 0xffffffff
push edi
lea ecx, [ebp - 0x28]
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 esi, 0x81
xor eax, eax
mov ecx, esi
lea edi, [ebp - 0x662]
mov word [ebp - 0x664], bx
push 0x103
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [ebp - 0x664]
mov ecx, 0x10010ed0
push eax
call fcn.100077b9
mov eax, dword [0x1000e020]
mov dword [ebp - 0x14], eax
push dword [ebp - 0x30]
lea eax, [ebp - 0x664]
mov dword [ebp - 4], 2
push dword [ebp - 0x2c]
push dword [ebp - 0x3c]
push dword [ebp - 0x38]
push dword [ebp - 0x18]
push dword [ebp - 0x34]
push 1
push eax
lea eax, [ebp - 0x14]
push str.http:__st.se.360.cn_push.html_ver_snamedecid61fa_d__d__d__d__d__d__d
push eax
call fcn.10001865
mov ecx, esi
xor eax, eax
lea edi, [ebp - 0x86a]
mov word [ebp - 0x86c], bx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [ebp - 0x86c]
push ebx
push eax
push ebx
push ebx
push ebx
push 0x7d0
push 1
push ebx
push 1
push 0x1000e38c
push ebx
push dword [ebp - 0x14]
call fcn.10007bcd
or dword [ebp - 4], 0xffffffff
add esp, 0x58
lea ecx, [ebp - 0x14]
call fcn.10001c3a
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret