Function at 0x40aa20
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x70
mov eax, dword [0x414014]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x70], esi
call dword [sym.imp.mfc140.dll_Ordinal_10421]
push 0x64
lea eax, [ebp - 0x68]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov ecx, 0x415824
call dword [sym.imp.mfc140.dll_Ordinal_5898]
push eax
lea ecx, [ebp - 0x6c]
call dword [sym.imp.mfc140.dll_Ordinal_305]
mov eax, dword [0x415824]
push 0xc
push str.Initial.ini
push dword [eax - 0xc]
push eax
lea eax, [ebp - 0x6c]
push eax
call dword [sym.imp.mfc140.dll_Ordinal_3005]
mov ebx, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea eax, [ebp - 0x68]
add esp, 0x14
push dword [ebp - 0x6c]
push 0x64
push eax
push 0x40f278
push str.CheckIntervalMin
push str.Setting
call ebx
lea ecx, [ebp - 0x6c]
call dword [sym.imp.mfc140.dll_Ordinal_1044]
mov edi, dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atoi]
lea eax, [ebp - 0x68]
push eax
call edi
add esp, 4
mov dword [esi + 0xd0], eax
mov ecx, 0x415824
call dword [sym.imp.mfc140.dll_Ordinal_5898]
push eax
lea ecx, [ebp - 0x6c]
call dword [sym.imp.mfc140.dll_Ordinal_305]
mov eax, dword [0x415824]
push 0xc
push str.Initial.ini
push dword [eax - 0xc]
push eax
lea eax, [ebp - 0x6c]
push eax
call dword [sym.imp.mfc140.dll_Ordinal_3005]
add esp, 0x14
lea eax, [ebp - 0x68]
push dword [ebp - 0x6c]
push 0x64
push eax
push 0x40f278
push str.TimeOutMin
push str.Setting
call ebx
lea ecx, [ebp - 0x6c]
call dword [sym.imp.mfc140.dll_Ordinal_1044]
lea eax, [ebp - 0x68]
push eax
call edi
add esp, 4
mov dword [esi + 0xd4], eax
mov ecx, 0x415824
call dword [sym.imp.mfc140.dll_Ordinal_5898]
push eax
lea ecx, [ebp - 0x6c]
call dword [sym.imp.mfc140.dll_Ordinal_305]
mov eax, dword [0x415824]
push 0xc
push str.Initial.ini
push dword [eax - 0xc]
push eax
lea eax, [ebp - 0x6c]
push eax
call dword [sym.imp.mfc140.dll_Ordinal_3005]
add esp, 0x14
lea eax, [ebp - 0x68]
push dword [ebp - 0x6c]
push 0x64
push eax
push 0x40f278
push str.CheckIntervalMin_ICON
push str.Setting
call ebx
lea ecx, [ebp - 0x6c]
call dword [sym.imp.mfc140.dll_Ordinal_1044]
lea eax, [ebp - 0x68]
push eax
call edi
add esp, 4
mov dword [esi + 0xd4], eax
mov ecx, 0x415824
call dword [sym.imp.mfc140.dll_Ordinal_5898]
push eax
lea ecx, [ebp - 0x6c]
call dword [sym.imp.mfc140.dll_Ordinal_305]
mov eax, dword [0x415824]
push 0xc
push str.Initial.ini
push dword [eax - 0xc]
push eax
lea eax, [ebp - 0x6c]
push eax
call dword [sym.imp.mfc140.dll_Ordinal_3005]
add esp, 0x14
lea eax, [ebp - 0x68]
push dword [ebp - 0x6c]
push 0x64
push eax
push str.47.92.37.72
push str.LocalServerIp
push str.Setting
call ebx
lea ecx, [ebp - 0x6c]
call dword [sym.imp.mfc140.dll_Ordinal_1044]
lea eax, [ebp - 0x68]
push eax
lea eax, [esi + 0xf4]
mov esi, dword [sym.imp.mfc140.dll_Ordinal_4807]
push 0x40e998
push eax
call esi
add esp, 0xc
mov ecx, 0x415824
call dword [sym.imp.mfc140.dll_Ordinal_5898]
push eax
lea ecx, [ebp - 0x6c]
call dword [sym.imp.mfc140.dll_Ordinal_305]
mov eax, dword [0x415824]
push 0xc
push str.Initial.ini
push dword [eax - 0xc]
push eax
lea eax, [ebp - 0x6c]
push eax
call dword [sym.imp.mfc140.dll_Ordinal_3005]
add esp, 0x14
lea eax, [ebp - 0x68]
push dword [ebp - 0x6c]
push 0x64
push eax
push str.47.92.37.72
push str.RemoteServerIp
push str.Setting
call ebx
lea ecx, [ebp - 0x6c]
call dword [sym.imp.mfc140.dll_Ordinal_1044]
lea eax, [ebp - 0x68]
push eax
mov eax, dword [ebp - 0x70]
push 0x40e998
add eax, 0xe0
push eax
call esi
add esp, 0xc
mov ecx, 0x415824
call dword [sym.imp.mfc140.dll_Ordinal_5898]
push eax
lea ecx, [ebp - 0x6c]
call dword [sym.imp.mfc140.dll_Ordinal_305]
mov eax, dword [0x415824]
push 0xc
push str.Initial.ini
push dword [eax - 0xc]
push eax
lea eax, [ebp - 0x6c]
push eax
call dword [sym.imp.mfc140.dll_Ordinal_3005]
add esp, 0x14
lea eax, [ebp - 0x68]
push dword [ebp - 0x6c]
push 0x64
push eax
push str.7180
push str.RemoteServerPort
push str.Setting
call ebx
lea ecx, [ebp - 0x6c]
call dword [sym.imp.mfc140.dll_Ordinal_1044]
lea eax, [ebp - 0x68]
push eax
call edi
mov ecx, dword [ebp - 0x70]
add esp, 4
mov dword [ecx + 0xe4], eax
mov ecx, 0x415824
call dword [sym.imp.mfc140.dll_Ordinal_5898]
push eax
lea ecx, [ebp - 0x6c]
call dword [sym.imp.mfc140.dll_Ordinal_305]
mov eax, dword [0x415824]
push 0xc
push str.Initial.ini
push dword [eax - 0xc]
push eax
lea eax, [ebp - 0x6c]
push eax
call dword [sym.imp.mfc140.dll_Ordinal_3005]
add esp, 0x14
lea eax, [ebp - 0x68]
push dword [ebp - 0x6c]
push 0x64
push eax
push str.17346508992
push str.UserTels
push str.Setting
call ebx
lea ecx, [ebp - 0x6c]
call dword [sym.imp.mfc140.dll_Ordinal_1044]
lea eax, [ebp - 0x68]
push eax
mov eax, dword [ebp - 0x70]
add eax, 0xe8
push 0x40e998
push eax
call esi
add esp, 0xc
mov ecx, 0x415824
call dword [sym.imp.mfc140.dll_Ordinal_5898]
push eax
lea ecx, [ebp - 0x6c]
call dword [sym.imp.mfc140.dll_Ordinal_305]
mov eax, dword [0x415824]
push 0xc
push str.Initial.ini
push dword [eax - 0xc]
push eax
lea eax, [ebp - 0x6c]
push eax
call dword [sym.imp.mfc140.dll_Ordinal_3005]
add esp, 0x14
push dword [ebp - 0x6c]
push 0x64
lea eax, [ebp - 0x68]
push eax
push str.66000001
push str.TerminalCode
push str.Setting
call ebx
lea ecx, [ebp - 0x6c]
call dword [sym.imp.mfc140.dll_Ordinal_1044]
lea eax, [ebp - 0x68]
push eax
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atol]
mov esi, dword [ebp - 0x70]
add esp, 4
mov ecx, 0x415824
mov dword [esi + 0xdc], eax
call dword [sym.imp.mfc140.dll_Ordinal_5898]
push eax
lea ecx, [ebp - 0x6c]
call dword [sym.imp.mfc140.dll_Ordinal_305]
mov eax, dword [0x415824]
push 0xc
push str.Initial.ini
push dword [eax - 0xc]
push eax
lea eax, [ebp - 0x6c]
push eax
call dword [sym.imp.mfc140.dll_Ordinal_3005]
add esp, 0x14
lea eax, [ebp - 0x68]
push dword [ebp - 0x6c]
push 0x64
push eax
push 0x40f0ec
push str.HeartBeatInterval
push str.Setting
call ebx
lea ecx, [ebp - 0x6c]
call dword [sym.imp.mfc140.dll_Ordinal_1044]
lea eax, [ebp - 0x68]
push eax
call edi
add esp, 4
mov dword [esi + 0xec], eax
mov ecx, 0x415824
call dword [sym.imp.mfc140.dll_Ordinal_5898]
push eax
lea ecx, [ebp - 0x6c]
call dword [sym.imp.mfc140.dll_Ordinal_305]
mov eax, dword [0x415824]
push 0xc
push str.Initial.ini
push dword [eax - 0xc]
push eax
lea eax, [ebp - 0x6c]
push eax
call dword [sym.imp.mfc140.dll_Ordinal_3005]
add esp, 0x14
lea eax, [ebp - 0x68]
push dword [ebp - 0x6c]
push 0x64
push eax
push 0x40e994
push str.MonitorRemoteServer
push str.Setting
call ebx
lea ecx, [ebp - 0x6c]
call dword [sym.imp.mfc140.dll_Ordinal_1044]
lea eax, [ebp - 0x68]
push eax
call edi
add esp, 4
mov dword [esi + 0xf0], eax
mov ecx, esi
push 0
call dword [sym.imp.mfc140.dll_Ordinal_14421]
mov ecx, dword [ebp - 4]
mov eax, 1
pop edi
pop esi
pop ebx
xor ecx, ebp
call fcn.0040bb2c
mov esp, ebp
pop ebp
ret