Function at 0x408cd0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x7c
mov eax, dword [0x414014]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x64
lea eax, [ebp - 0x70]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea ecx, [ebp - 0x78]
call dword [sym.imp.mfc140.dll_Ordinal_316]
mov ecx, 0x415824
call dword [sym.imp.mfc140.dll_Ordinal_5898]
push eax
lea ecx, [ebp - 0x74]
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 - 0x74]
push eax
call dword [sym.imp.mfc140.dll_Ordinal_3005]
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea eax, [ebp - 0x70]
add esp, 0x14
push dword [ebp - 0x74]
push 0x64
push eax
push str.47.92.37.72
push str.LocalServerIp
push str.Setting
call edi
lea ecx, [ebp - 0x74]
call dword [sym.imp.mfc140.dll_Ordinal_1044]
mov ebx, dword [sym.imp.mfc140.dll_Ordinal_4807]
lea eax, [ebp - 0x70]
push eax
push 0x40e998
push 0x41582c
call ebx
add esp, 0xc
mov ecx, 0x415824
call dword [sym.imp.mfc140.dll_Ordinal_5898]
push eax
lea ecx, [ebp - 0x74]
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 - 0x74]
push eax
call dword [sym.imp.mfc140.dll_Ordinal_3005]
add esp, 0x14
lea eax, [ebp - 0x70]
push dword [ebp - 0x74]
push 0x64
push eax
push str.47.92.37.72
push str.RemoteServerIp
push str.Setting
call edi
lea ecx, [ebp - 0x74]
call dword [sym.imp.mfc140.dll_Ordinal_1044]
lea eax, [ebp - 0x70]
push eax
push 0x40e998
push 0x415828
call ebx
add esp, 0xc
mov ecx, 0x415824
call dword [sym.imp.mfc140.dll_Ordinal_5898]
push eax
lea ecx, [ebp - 0x74]
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 - 0x74]
push eax
call dword [sym.imp.mfc140.dll_Ordinal_3005]
add esp, 0x14
lea eax, [ebp - 0x70]
push dword [ebp - 0x74]
push 0x64
push eax
push str.7080
push str.RemoteServerPort
push str.Setting
call edi
lea ecx, [ebp - 0x74]
call dword [sym.imp.mfc140.dll_Ordinal_1044]
mov esi, dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atoi]
lea eax, [ebp - 0x70]
push eax
call esi
add esp, 4
mov dword [0x414708], eax
mov ecx, 0x415824
call dword [sym.imp.mfc140.dll_Ordinal_5898]
push eax
lea ecx, [ebp - 0x74]
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 - 0x74]
push eax
call dword [sym.imp.mfc140.dll_Ordinal_3005]
add esp, 0x14
lea eax, [ebp - 0x70]
push dword [ebp - 0x74]
push 0x64
push eax
push str.17346508992
push str.UserTels
push str.Setting
call edi
lea ecx, [ebp - 0x74]
call dword [sym.imp.mfc140.dll_Ordinal_1044]
lea eax, [ebp - 0x70]
push eax
push 0x40e998
push 0x415830
call ebx
add esp, 0xc
mov ecx, 0x415824
call dword [sym.imp.mfc140.dll_Ordinal_5898]
push eax
lea ecx, [ebp - 0x74]
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 - 0x74]
push eax
call dword [sym.imp.mfc140.dll_Ordinal_3005]
add esp, 0x14
lea eax, [ebp - 0x70]
push dword [ebp - 0x74]
push 0x64
push eax
push str.66000001
push str.TerminalCode
push str.Setting
call edi
lea ecx, [ebp - 0x74]
call dword [sym.imp.mfc140.dll_Ordinal_1044]
lea eax, [ebp - 0x70]
push eax
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atol]
add esp, 4
mov dword [0x415710], eax
mov ecx, 0x415824
call dword [sym.imp.mfc140.dll_Ordinal_5898]
push eax
lea ecx, [ebp - 0x74]
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 - 0x74]
push eax
call dword [sym.imp.mfc140.dll_Ordinal_3005]
add esp, 0x14
lea eax, [ebp - 0x70]
push dword [ebp - 0x74]
push 0x64
push eax
push 0x40f0ec
push str.HeartBeatInterval
push str.Setting
call edi
lea ecx, [ebp - 0x74]
call dword [sym.imp.mfc140.dll_Ordinal_1044]
lea eax, [ebp - 0x70]
push eax
call esi
add esp, 4
mov dword [0x4146fc], eax
mov ecx, 0x415824
call dword [sym.imp.mfc140.dll_Ordinal_5898]
push eax
lea ecx, [ebp - 0x74]
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 - 0x74]
push eax
call dword [sym.imp.mfc140.dll_Ordinal_3005]
add esp, 0x14
lea eax, [ebp - 0x70]
push dword [ebp - 0x74]
push 0x64
push eax
push 0x40e994
push str.MonitorRemoteServer
push str.Setting
call edi
lea ecx, [ebp - 0x74]
call dword [sym.imp.mfc140.dll_Ordinal_1044]
lea eax, [ebp - 0x70]
push eax
call esi
add esp, 4
mov dword [0x4146f8], eax
mov ecx, 0x415824
call dword [sym.imp.mfc140.dll_Ordinal_5898]
push eax
lea ecx, [ebp - 0x74]
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 - 0x74]
push eax
call dword [sym.imp.mfc140.dll_Ordinal_3005]
add esp, 0x14
lea eax, [ebp - 0x70]
push dword [ebp - 0x74]
push 0x64
push eax
push str.2024_01_01
push str.SMSSendTime_Last
push str.RunState
call edi
lea ecx, [ebp - 0x74]
call dword [sym.imp.mfc140.dll_Ordinal_1044]
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0x78]
push 0x40e998
push eax
call ebx
add esp, 4
mov ecx, 0x415844
push dword [ebp - 0x78]
call fcn.00409cc0
lea ecx, [ebp - 0x78]
call dword [sym.imp.mfc140.dll_Ordinal_1044]
mov ecx, dword [ebp - 4]
mov eax, 1
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040bb2c
mov esp, ebp
pop ebp
ret