Function at 0x402a20
Capabilities:
Copy file

Disassembly:
push 0xffffffffffffffff
push 0x405418
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x80
push ebx
push ebp
push esi
mov ebp, ecx
push edi
lea ecx, [esp + 0x18]
call fcn.004032f0
lea eax, [esp + 0x14]
lea ecx, [esp + 0x18]
push eax
mov dword [esp + 0x9c], 0
call fcn.00403330
mov eax, dword [ebp + 0x140]
mov edi, dword [sym.imp.KERNEL32.dll_CopyFileA]
test eax, eax
mov byte [esp + 0x98], 1
jle 0x402ad1
lea ecx, [ebp + 0x160]
push str.CodecsInfo.udi
lea edx, [esp + 0x14]
push ecx
push edx
call sub.MFC42.DLL_operator
mov esi, dword [eax]
lea eax, [esp + 0x14]
push str.CodecsInfo.udi
lea ecx, [esp + 0x20]
push eax
push ecx
mov byte [esp + 0xa4], 2
call sub.MFC42.DLL_operator
mov eax, dword [eax]
push 0
push esi
push eax
call edi
lea ecx, [esp + 0x1c]
call fcn.00404a98
lea ecx, [esp + 0x10]
mov byte [esp + 0x98], 1
call fcn.00404a98
mov eax, dword [ebp + 0x108]
test eax, eax
jle 0x402b31
lea edx, [ebp + 0x158]
push str.UpdateInfo.udi
lea eax, [esp + 0x14]
push edx
push eax
call sub.MFC42.DLL_operator
mov esi, dword [eax]
lea ecx, [esp + 0x14]
push str.UpdateInfo.udi
lea edx, [esp + 0x20]
push ecx
push edx
mov byte [esp + 0xa4], 3
call sub.MFC42.DLL_operator
mov eax, dword [eax]
push 0
push esi
push eax
call edi
lea ecx, [esp + 0x1c]
call fcn.00404a98
lea ecx, [esp + 0x10]
mov byte [esp + 0x98], 1
call fcn.00404a98
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString
lea esi, [ebp + 0x160]
push str.CommonInfo.udi
lea eax, [esp + 0x20]
mov bl, 4
push esi
push eax
mov byte [esp + 0xa4], bl
call sub.MFC42.DLL_operator
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x9c], 5
call fcn.00404c18
lea ecx, [esp + 0x1c]
mov byte [esp + 0x98], bl
call fcn.00404a98
lea ecx, [esp + 0x40]
call sub.MFC42.DLL_CFileFind::CFileFind
mov ecx, dword [esp + 0x10]
push 0
push ecx
lea ecx, [esp + 0x48]
mov byte [esp + 0xa0], 6
call sub.MFC42.DLL_CFileFind::FindFile
test eax, eax
jne 0x402bbc
mov edx, dword [esp + 0x10]
push 0x1000
push edx
lea ecx, [esp + 0x34]
call fcn.00403620
lea ecx, [esp + 0x2c]
call fcn.00403680
lea ecx, [esp + 0x40]
mov byte [esp + 0x98], bl
call fcn.00404be8
mov eax, dword [esp + 0x10]
push 1
push eax
lea ecx, [esp + 0x34]
call fcn.00403620
mov eax, dword [ebp + 0x188]
mov byte [esp + 0x98], 7
test eax, eax
je 0x402c00
mov ecx, dword [ebp + 0x170]
push ecx
push 0
lea ecx, [esp + 0x34]
call fcn.00403730
mov eax, dword [ebp + 0x18c]
test eax, eax
je 0x402c1c
mov edx, dword [ebp + 0x174]
lea ecx, [esp + 0x2c]
push edx
push 1
call fcn.00403730
mov eax, dword [ebp + 0x190]
test eax, eax
je 0x402c38
mov eax, dword [ebp + 0x178]
lea ecx, [esp + 0x2c]
push eax
push 2
call fcn.00403730
lea ecx, [esp + 0x2c]
mov byte [esp + 0x98], bl
call fcn.00403680
lea ecx, [esp + 0x10]
mov byte [esp + 0x98], 1
call fcn.00404a98
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString
movsx ecx, word [ebp + 0x17a]
mov edx, dword [esp + 0x14]
push ecx
push edx
lea eax, [esp + 0x18]
mov bl, 8
push str._s_04xVersionInfo.udi
push eax
mov byte [esp + 0xa8], bl
call sub.MFC42.DLL_CString::Format
mov ecx, dword [esp + 0x20]
add esp, 0x10
push 2
push ecx
lea ecx, [esp + 0x34]
call fcn.00403620
mov dx, word [ebp + 0x184]
mov ax, word [ebp + 0x180]
mov cx, word [ebp + 0x178]
push edx
push eax
push ecx
lea ecx, [esp + 0x38]
mov byte [esp + 0xa4], 9
call fcn.00403b30
lea ecx, [esp + 0x2c]
mov byte [esp + 0x98], bl
call fcn.00403680
lea ecx, [esp + 0x10]
mov byte [esp + 0x98], 1
call fcn.00404a98
push 0x408290
push 0x3eb
mov ecx, ebp
call sub.MFC42.DLL_CWnd::GetDlgItem
mov ecx, eax
call sub.MFC42.DLL_CWnd::SetWindowTextA
mov eax, dword [ebp + 0x18c]
test eax, eax
je 0x402e3b
push str.CodecsInfo.udi
lea edx, [esp + 0x24]
push esi
push edx
call sub.MFC42.DLL_operator
mov eax, dword [eax]
push 0
push eax
lea ecx, [esp + 0x34]
mov byte [esp + 0xa0], 0xa
call fcn.00403620
lea ecx, [esp + 0x20]
mov byte [esp + 0x98], 0xc
call fcn.00404a98
lea eax, [ebp + 0x134]
lea ecx, [esp + 0x2c]
push eax
call fcn.00403770
mov ebx, dword [ebp + 0x138]
test ebx, ebx
je 0x402e2a
mov eax, ebx
mov ebx, dword [ebx]
mov ecx, 0xc
lea edi, [esp + 0x5c]
lea esi, [eax + 8]
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
call sub.MFC42.DLL_AfxGetEmptyString
mov ecx, dword [eax]
lea edx, [esp + 0x5c]
mov dword [esp + 0x10], ecx
push edx
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::operator_1
lea eax, [esp + 0x10]
lea ecx, [esp + 0x24]
push eax
lea eax, [ebp + 0x160]
push eax
push ecx
mov byte [esp + 0xa4], 0xd
call sub.MFC42.DLL_operator_1
mov eax, dword [eax]
lea ecx, [esp + 0x18]
push eax
mov byte [esp + 0x9c], 0xe
call fcn.00403550
lea ecx, [esp + 0x24]
mov byte [esp + 0x98], 0xd
call fcn.00404a98
lea ecx, [esp + 0x10]
mov byte [esp + 0x98], 0xc
call fcn.00404a98
call sub.MFC42.DLL_AfxGetEmptyString
mov edx, dword [eax]
lea eax, [esp + 0x5c]
push eax
lea ecx, [esp + 0x20]
mov dword [esp + 0x20], edx
call sub.MFC42.DLL_CString::operator_1
mov ecx, dword [esp + 0x1c]
mov byte [esp + 0x98], 0xf
push ecx
lea ecx, [ebp + 0xa0]
call sub.MFC42.DLL_CWnd::SetWindowTextA
lea ecx, [esp + 0x1c]
mov byte [esp + 0x98], 0xc
call fcn.00404a98
test ebx, ebx
jne 0x402d5f
lea ecx, [esp + 0x2c]
mov byte [esp + 0x98], 1
call fcn.00403680
mov eax, dword [ebp + 0x190]
test eax, eax
je 0x402f84
lea eax, [ebp + 0x158]
push str.UpdateInfo.udi
lea edx, [esp + 0x28]
push eax
push edx
mov dword [esp + 0x2c], eax
call sub.MFC42.DLL_operator
mov eax, dword [eax]
push 0
push eax
lea ecx, [esp + 0x34]
mov byte [esp + 0xa0], 0x10
call fcn.00403620
lea ecx, [esp + 0x24]
mov byte [esp + 0x98], 0x12
call fcn.00404a98
lea eax, [ebp + 0xfc]
lea ecx, [esp + 0x2c]
push eax
call fcn.00403770
mov ebx, dword [ebp + 0x100]
test ebx, ebx
je 0x402f73
add ebp, 0xa0
mov eax, ebx
mov ebx, dword [ebx]
mov ecx, 0xc
lea edi, [esp + 0x5c]
lea esi, [eax + 8]
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
call sub.MFC42.DLL_AfxGetEmptyString
mov ecx, dword [eax]
lea edx, [esp + 0x5c]
mov dword [esp + 0x1c], ecx
push edx
lea ecx, [esp + 0x20]
call sub.MFC42.DLL_CString::operator_1
mov ecx, dword [esp + 0x20]
lea eax, [esp + 0x1c]
push eax
lea edx, [esp + 0x2c]
push ecx
push edx
mov byte [esp + 0xa4], 0x13
call sub.MFC42.DLL_operator_1
mov eax, dword [eax]
lea ecx, [esp + 0x18]
push eax
mov byte [esp + 0x9c], 0x14
call fcn.00403550
lea ecx, [esp + 0x28]
mov byte [esp + 0x98], 0x13
call fcn.00404a98
lea ecx, [esp + 0x1c]
mov byte [esp + 0x98], 0x12
call fcn.00404a98
call sub.MFC42.DLL_AfxGetEmptyString
mov eax, dword [eax]
lea ecx, [esp + 0x5c]
push ecx
lea ecx, [esp + 0x14]
mov dword [esp + 0x14], eax
call sub.MFC42.DLL_CString::operator_1
mov edx, dword [esp + 0x10]
mov ecx, ebp
push edx
mov byte [esp + 0x9c], 0x15
call sub.MFC42.DLL_CWnd::SetWindowTextA
lea ecx, [esp + 0x10]
mov byte [esp + 0x98], 0x12
call fcn.00404a98
test ebx, ebx
jne 0x402eae
lea ecx, [esp + 0x2c]
mov byte [esp + 0x98], 1
call fcn.00403680
lea ecx, [esp + 0x14]
mov byte [esp + 0x98], 0
call fcn.00404a98
lea ecx, [esp + 0x18]
mov dword [esp + 0x98], 0xffffffff
call fcn.00403320
mov ecx, dword [esp + 0x90]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x8c
ret