Function at 0x4016c0
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x40e736
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10c
push ebp
push esi
push edi
push str.connect.cfg
lea eax, [esp + 0x10]
push 0x4179a8
push eax
call sub.MFC42.DLL_operator_1
push str.T0002usercomm.ini
lea ecx, [esp + 0x14]
push 0x4179a8
push ecx
mov dword [esp + 0x12c], 0
call sub.MFC42.DLL_operator_1
push ecx
lea edx, [esp + 0x14]
mov ecx, esp
mov dword [esp + 0x18], esp
push edx
mov byte [esp + 0x128], 1
call sub.MFC42.DLL_CString::CString_1
call fcn.004010b0
add esp, 4
test eax, eax
jne 0x401911
mov eax, dword [esp + 0xc]
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
push eax
push 0
push str.HasProxy
push str.PROXY
call edi
mov ecx, dword [esp + 0xc]
mov esi, eax
push ecx
push 0
push str.buse
push str.TDXPROXY
call edi
test esi, esi
jne 0x401774
test eax, eax
je 0x401911
mov edx, dword [esp + 0xc]
push edx
push 0
push str.HasProxy
push str.PROXY
call edi
push eax
lea eax, [esp + 0x18]
push eax
call fcn.00401630
mov ecx, dword [esp + 0x18]
mov eax, dword [eax]
mov esi, dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
add esp, 8
push ecx
push eax
push str.HasProxy
push str.PROXY
call esi
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::CString
mov edx, dword [esp + 0xc]
push edx
push 2
push str.SockType
push str.PROXY
call edi
push eax
lea eax, [esp + 0x18]
push eax
call fcn.00401630
mov ecx, dword [esp + 0x18]
mov eax, dword [eax]
add esp, 8
push ecx
push eax
push str.SockType
push str.PROXY
call esi
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::CString
mov edx, dword [esp + 0xc]
push edx
push 0x50
push str.ProxyPort
push str.PROXY
call edi
push eax
lea eax, [esp + 0x18]
push eax
call fcn.00401630
mov ecx, dword [esp + 0x18]
mov eax, dword [eax]
add esp, 8
push ecx
push eax
push str.ProxyPort
push str.PROXY
call esi
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::CString
mov edx, dword [esp + 0xc]
mov ebp, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push edx
lea eax, [esp + 0x1c]
push 0x63
push eax
push 0x417920
push str.ProxyIP
push str.PROXY
call ebp
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0x18]
push ecx
push edx
push str.ProxyIP
push str.PROXY
call esi
mov eax, dword [esp + 0xc]
push eax
push 0x63
lea ecx, [esp + 0x20]
push ecx
push 0x417920
push str.ProxyUser
push str.PROXY
call ebp
mov edx, dword [esp + 0x10]
lea eax, [esp + 0x18]
push edx
push eax
push str.ProxyUser
push str.PROXY
call esi
mov ecx, dword [esp + 0xc]
lea edx, [esp + 0x18]
push ecx
push 0x63
push edx
push 0x417920
push str.ProxyPass
push str.PROXY
call ebp
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x18]
push eax
push ecx
push str.ProxyPass
push str.PROXY
call esi
mov edx, dword [esp + 0xc]
push edx
push 0
push str.buse
push str.TDXPROXY
call edi
push eax
lea eax, [esp + 0x18]
push eax
call fcn.00401630
mov ecx, dword [esp + 0x18]
mov eax, dword [eax]
add esp, 8
push ecx
push eax
push str.buse
push str.TDXPROXY
call esi
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x10]
mov byte [esp + 0x120], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xc]
mov dword [esp + 0x120], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x118]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebp
add esp, 0x118
ret