Function at 0x418a60
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x426019
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x13c
push ebx
push ebp
mov ebp, ecx
push esi
push edi
lea ecx, [esp + 0x20]
call fcn.00422340
xor esi, esi
lea ecx, [esp + 0x18]
mov dword [esp + 0x154], esi
call fcn.00422340
lea ecx, [esp + 0x24]
mov byte [esp + 0x154], 1
call fcn.00422340
lea ecx, [esp + 0x1c]
mov byte [esp + 0x154], 2
call fcn.00422340
lea eax, [esp + 0x4c]
push 0xff
mov bl, 3
push eax
push esi
mov byte [esp + 0x160], bl
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea ecx, [esp + 0x4c]
push ecx
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::CString_2
push 0x5c
lea ecx, [esp + 0x14]
mov byte [esp + 0x158], 4
call sub.MFC42.DLL_CString::ReverseFind
cmp eax, esi
jle 0x418b2f
lea edx, [esp + 0x14]
push eax
push edx
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::Left
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x158], 5
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x14]
mov byte [esp + 0x154], 4
call sub.MFC42.DLL_CString::CString
push 0x5c
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::ReverseFind
cmp eax, esi
jle 0x418b70
push eax
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::Left
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x158], 6
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x14]
mov byte [esp + 0x154], 4
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x10]
push ecx
lea ecx, [esp + 0x20]
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x10]
mov byte [esp + 0x154], bl
call sub.MFC42.DLL_CString::CString
lea edx, [esp + 0x1c]
push str.Data
lea eax, [esp + 0x18]
push edx
push eax
call sub.MFC42.DLL_operator
push eax
lea ecx, [esp + 0x24]
mov byte [esp + 0x158], 7
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x14]
mov byte [esp + 0x154], bl
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x1c]
mov byte [esp + 0x154], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x20]
push 0x43012c
lea edx, [esp + 0x18]
push ecx
push edx
call sub.MFC42.DLL_operator
push str.HtsNetInfo.ini
push eax
lea eax, [esp + 0x30]
mov byte [esp + 0x15c], 8
push eax
call sub.MFC42.DLL_operator
lea ecx, [esp + 0x14]
mov byte [esp + 0x154], 0xa
call sub.MFC42.DLL_CString::CString
mov ecx, 7
xor eax, eax
lea edi, [esp + 0x2c]
lea edx, [esp + 0x2c]
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x28]
push ecx
push 0x1e
push edx
push 0x4333dc
push 0x430aa4
push str.NetError
stosw word es:[edi], ax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea eax, [esp + 0x2c]
lea ecx, [esp + 0x18]
push eax
call fcn.00422328
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::TrimLeft
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::TrimRight
mov eax, dword [ebp + 0xb4]
test eax, eax
jle 0x418cdd
mov ebx, dword [sym.imp.MSVCRT.dll__mbscmp]
lea edi, [ebp + 0xac]
lea ecx, [esp + 0x1c]
push esi
push ecx
mov ecx, edi
call fcn.00419010
push eax
lea ecx, [esp + 0x28]
mov byte [esp + 0x158], 0xb
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x1c]
mov byte [esp + 0x154], 0xa
call sub.MFC42.DLL_CString::CString
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x18]
push edx
push eax
call ebx
add esp, 8
test eax, eax
je 0x418cc8
mov eax, dword [ebp + 0xb4]
inc esi
cmp esi, eax
jl 0x418c78
jmp 0x418cdd
mov ecx, dword [ebp + 0xe0]
push 0
push esi
push 0x14e
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
lea ecx, [esp + 0x28]
mov byte [esp + 0x154], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x24]
mov byte [esp + 0x154], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x18]
mov byte [esp + 0x154], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x20]
mov dword [esp + 0x154], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x14c]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x148
ret