Function at 0x402780
Capabilities:
Check mutex on windows
Create thread
Read .ini file

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x403513
push eax
mov dword fs:[0], esp
sub esp, 0x18
push ebx
push ebp
push esi
push edi
call dword [sym.imp.KERNEL32.dll_FreeConsole]
push str.MODBackupProcedure
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x402ab2
push 0x24
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 0x24], eax
test eax, eax
mov dword [esp + 0x30], 0
je 0x4027e5
mov ecx, eax
call fcn.0040126c
jmp 0x4027e7
xor eax, eax
lea ecx, [esp + 0x10]
or edi, 0xffffffff
push ecx
mov ecx, eax
mov dword [esp + 0x34], edi
mov dword [0x405358], eax
call fcn.0040160d
push str.langlang.xml
lea ecx, [esp + 0x14]
mov dword [esp + 0x34], 1
call sub.MFC42.DLL_CString::operator
mov edx, dword [esp + 0x10]
mov ecx, dword [0x405358]
push edx
call fcn.00401339
test eax, eax
jne 0x402832
mov dword [esp + 0x30], edi
jmp 0x402aa9
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::CString_2
mov ecx, dword [0x405358]
lea eax, [esp + 0x18]
push str.Shield__AllWindowsName__MAIN_WINDOW_NAME
push eax
mov byte [esp + 0x38], 2
call fcn.0040150a
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x34], 3
call fcn.00402b9e
lea ecx, [esp + 0x18]
mov byte [esp + 0x30], 2
call fcn.00402b5c
mov ecx, dword [esp + 0x14]
push ecx
push 0
call dword [sym.imp.USER32.dll_FindWindowA]
mov ecx, dword [0x405358]
lea edx, [esp + 0x18]
push str.Shield__AllWindowsName__BACKUP_WINDOW_NAME
push edx
mov dword [0x405320], eax
call fcn.0040150a
push eax
mov ecx, 0x405354
mov byte [esp + 0x34], 4
call fcn.00402b9e
lea ecx, [esp + 0x18]
mov byte [esp + 0x30], 2
call fcn.00402b5c
push 0x104
call sub.MFC42.DLL_operatornew
mov esi, eax
lea eax, [esp + 0x24]
push eax
call fcn.00401d80
add esp, 8
push str.BackupSet.ini
lea ecx, [esp + 0x1c]
push eax
push ecx
mov byte [esp + 0x3c], 5
call sub.MFC42.DLL_operator
mov eax, dword [eax]
push eax
push 0x104
push esi
push 0
push 0x405238
push str.SrcFiles
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea ecx, [esp + 0x18]
call fcn.00402b5c
lea ecx, [esp + 0x20]
mov byte [esp + 0x30], 2
call fcn.00402b5c
push esi
call dword [sym.imp.MSVCRT.dll_atoi]
mov ebx, eax
add esp, 4
test ebx, ebx
jne 0x40298e
mov ecx, dword [0x405358]
lea edx, [esp + 0x18]
push str.Shield__Backup__IDS_NOTSELECT
push edx
call fcn.0040150a
mov eax, dword [0x405354]
mov ecx, dword [esp + 0x18]
mov edx, dword [0x405320]
push ebx
push eax
push ecx
push edx
call dword [sym.imp.USER32.dll_MessageBoxA]
lea ecx, [esp + 0x18]
call fcn.00402b5c
lea ecx, [esp + 0x14]
mov byte [esp + 0x30], 1
call fcn.00402b5c
lea ecx, [esp + 0x10]
mov dword [esp + 0x30], edi
call fcn.00402b5c
mov eax, edi
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x24
ret
push 8
call sub.MFC42.DLL_operatornew
push 0x104
mov edi, eax
call sub.MFC42.DLL_operatornew
add esp, 8
xor esi, esi
test ebx, ebx
mov ebp, eax
jle 0x402a1f
push esi
push str.Src_d
push edi
call dword [sym.imp.MSVCRT.dll_sprintf]
lea eax, [esp + 0x30]
push eax
call fcn.00401d80
add esp, 0x10
push str.BackupSet.ini
lea ecx, [esp + 0x24]
push eax
push ecx
mov byte [esp + 0x3c], 6
call sub.MFC42.DLL_operator
mov eax, dword [eax]
push eax
push 0x104
push ebp
push 0
push edi
push str.SrcFiles
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea ecx, [esp + 0x20]
call fcn.00402b5c
lea ecx, [esp + 0x24]
mov byte [esp + 0x30], 2
call fcn.00402b5c
mov eax, dword [0x405348]
push ebp
push eax
mov ecx, 0x405340
call sub.MFC42.DLL_CStringArray::SetAtGrow
inc esi
cmp esi, ebx
jl 0x4029ac
push 0
push 0
push 0
push 0x401e90
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov esi, eax
push 0xffffffffffffffff
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0xffffffffffffffff
push 0
mov ecx, 0x405340
call sub.MFC42.DLL_CStringArray::SetSize
push str.MODBackupExit.html
lea ecx, [esp + 0x20]
call sub.MFC42.DLL_CString::CString_1
push ecx
lea edx, [esp + 0x20]
mov ecx, esp
mov dword [esp + 0x1c], esp
push edx
mov byte [esp + 0x38], 7
call sub.MFC42.DLL_CString::CString
call fcn.00401c20
add esp, 4
call fcn.0040123d
lea ecx, [esp + 0x1c]
mov byte [esp + 0x30], 2
call fcn.00402b5c
lea ecx, [esp + 0x14]
mov byte [esp + 0x30], 1
call fcn.00402b5c
mov dword [esp + 0x30], 0xffffffff
lea ecx, [esp + 0x10]
call fcn.00402b5c
mov ecx, dword [esp + 0x28]
pop edi
pop esi
pop ebp
xor eax, eax
mov dword fs:[0], ecx
pop ebx
add esp, 0x24
ret