Function at 0x408950
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x7c
mov eax, dword [0x413014]
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, 0x414824
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 [0x414824]
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.RemoteServerIp
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 0x40d958
push 0x414828
call ebx
add esp, 0xc
mov ecx, 0x414824
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 [0x414824]
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 [0x413708], eax
mov ecx, 0x414824
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 [0x414824]
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 0x40d958
push 0x41482c
call ebx
add esp, 0xc
mov ecx, 0x414824
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 [0x414824]
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 [0x414710], eax
mov ecx, 0x414824
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 [0x414824]
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 0x40e074
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 [0x4136fc], eax
mov ecx, 0x414824
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 [0x414824]
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 0x40d954
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 [0x4136f8], eax
mov ecx, 0x414824
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 [0x414824]
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 0x40d958
push eax
call ebx
add esp, 4
mov ecx, 0x414840
push dword [ebp - 0x78]
call fcn.00409570
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.0040b2ce
mov esp, ebp
pop ebp
ret