Function at 0x4020b0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x403b16
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x3a8
push ebx
push esi
push edi
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x364], 0
mov byte [ebp - 0x114], 0
mov ecx, 0x40
xor eax, eax
lea edi, [ebp - 0x113]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov eax, dword [ebp - 0x10]
add eax, 0x70
push eax
lea ecx, [ebp - 0x118]
call sub.MFC42.DLL_CString::CString_2
mov dword [ebp - 4], 1
push str.TdxW.exe
lea ecx, [ebp - 0x118]
push ecx
lea edx, [ebp - 0x11c]
push edx
call sub.MFC42.DLL_operator
mov byte [ebp - 4], 2
push ecx
mov ecx, esp
mov dword [ebp - 0x358], esp
lea eax, [ebp - 0x11c]
push eax
call sub.MFC42.DLL_CString::CString_2
mov dword [ebp - 0x368], eax
mov ecx, dword [ebp - 0x10]
call fcn.00401fd0
mov dword [ebp - 0x36c], eax
cmp dword [ebp - 0x36c], 0
je 0x4021c3
push ecx
mov ecx, esp
mov dword [ebp - 0x35c], esp
push str.AutoLoginAppName
call sub.MFC42.DLL_CString::CString_1
mov dword [ebp - 0x370], eax
mov ecx, dword [ebp - 0x10]
call fcn.00402040
lea ecx, [ebp - 0x11c]
push ecx
mov ecx, dword [ebp + 8]
call sub.MFC42.DLL_CString::CString_2
mov edx, dword [ebp - 0x364]
or edx, 1
mov dword [ebp - 0x364], edx
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x11c]
call fcn.004034a0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x118]
call fcn.004034a0
mov eax, dword [ebp + 8]
jmp 0x40243a
push str.TdxW.exe
lea ecx, [ebp - 0x11c]
call sub.MFC42.DLL_CString::operator_1
push str.CONNECT.CFG
lea eax, [ebp - 0x118]
push eax
lea ecx, [ebp - 0x120]
push ecx
call sub.MFC42.DLL_operator
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x10]
add ecx, 0x74
call fcn.00402760
push eax
push 0x104
lea edx, [ebp - 0x114]
push edx
push str.TdxW.exe
push str.AutoLoginAppName
push 0x4043b0
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov dword [ebp - 0x124], eax
cmp dword [ebp - 0x124], 0
jbe 0x4023e5
lea eax, [ebp - 0x114]
push eax
lea ecx, [ebp - 0x11c]
call fcn.00402780
test eax, eax
jne 0x4023e5
mov ecx, 0xa
mov esi, 0x404668
lea edi, [ebp - 0x150]
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
push 0
lea ecx, [ebp - 0x150]
push ecx
push 6
push 0
push 0
push 1
lea ecx, [ebp - 0x34c]
call sub.MFC42.DLL_CFileDialog::CFileDialog
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x10]
add ecx, 0x70
call fcn.00402760
mov dword [ebp - 0x2c0], eax
lea ecx, [ebp - 0x34c]
call sub.MFC42.DLL_CFileDialog::DoModal
cmp eax, 1
jne 0x402388
lea edx, [ebp - 0x350]
push edx
lea ecx, [ebp - 0x34c]
call sub.MFC42.DLL_CFileDialog::GetPathName
mov byte [ebp - 4], 5
lea eax, [ebp - 0x350]
push eax
lea ecx, [ebp - 0x11c]
call fcn.0040357e
push 0x5c
lea ecx, [ebp - 0x11c]
call sub.MFC42.DLL_CString::ReverseFind
mov dword [ebp - 0x354], eax
mov ecx, dword [ebp - 0x354]
add ecx, 1
push ecx
push 0
lea ecx, [ebp - 0x11c]
call sub.MFC42.DLL_CString::Delete
push ecx
mov ecx, esp
mov dword [ebp - 0x360], esp
lea edx, [ebp - 0x11c]
push edx
call sub.MFC42.DLL_CString::CString_2
mov dword [ebp - 0x374], eax
mov ecx, dword [ebp - 0x10]
call fcn.00402040
lea eax, [ebp - 0x350]
push eax
mov ecx, dword [ebp + 8]
call sub.MFC42.DLL_CString::CString_2
mov ecx, dword [ebp - 0x364]
or ecx, 1
mov dword [ebp - 0x364], ecx
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x350]
call fcn.004034a0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x34c]
call fcn.00402450
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x120]
call fcn.004034a0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x11c]
call fcn.004034a0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x118]
call fcn.004034a0
mov eax, dword [ebp + 8]
jmp 0x40243a
push 0x404640
mov ecx, dword [ebp + 8]
call sub.MFC42.DLL_CString::CString_1
mov edx, dword [ebp - 0x364]
or edx, 1
mov dword [ebp - 0x364], edx
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x34c]
call fcn.00402450
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x120]
call fcn.004034a0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x11c]
call fcn.004034a0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x118]
call fcn.004034a0
mov eax, dword [ebp + 8]
jmp 0x40243a
lea eax, [ebp - 0x114]
push eax
lea ecx, [ebp - 0x118]
push ecx
mov edx, dword [ebp + 8]
push edx
call sub.MFC42.DLL_operator
mov eax, dword [ebp - 0x364]
or al, 1
mov dword [ebp - 0x364], eax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x120]
call fcn.004034a0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x11c]
call fcn.004034a0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x118]
call fcn.004034a0
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4