Function at 0x405430
Capabilities:
Copy file

Disassembly:
push 0xffffffffffffffff
push 0x4101a8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x38
push ebx
push esi
mov esi, ecx
push edi
push 0x415ea4
lea eax, [esp + 0x24]
lea edi, [esi + 0x4e0]
push edi
push eax
call sub.MFC42.DLL_operator_1
lea ecx, [esp + 0x1c]
mov dword [esp + 0x4c], 0
call sub.MFC42.DLL_CString::CString_1
lea ecx, [esp + 0x1c]
mov byte [esp + 0x4c], 1
push ecx
lea ecx, [esi + 0x2b0]
call sub.MFC42.DLL_CWnd::GetWindowTextA
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x1c]
push 0
push edx
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileA]
lea ecx, [esp + 0x28]
call sub.MFC42.DLL_CFileFind::CFileFind
push 0x415e9c
lea ecx, [esp + 0x1c]
push edi
push ecx
mov byte [esp + 0x58], 2
call sub.MFC42.DLL_operator_1
mov edx, dword [esp + 0x18]
push 0
push edx
lea ecx, [esp + 0x30]
mov byte [esp + 0x54], 3
call sub.MFC42.DLL_CFileFind::FindFile
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
test edi, edi
je 0x40550e
lea ecx, [esp + 0x28]
call sub.MFC42.DLL_CFileFind::FindNextFileA
lea eax, [esp + 0x14]
lea ecx, [esp + 0x28]
push eax
call sub.MFC42.DLL_CFileFind::GetFilePath
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x50], 4
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x14]
mov byte [esp + 0x4c], 3
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xc]
mov byte [esp + 0x4c], 5
push ecx
mov dword [esp + 0x10], 0
call fcn.00401350
add esp, 4
test eax, eax
je 0x4056a1
mov edx, dword [esp + 0xc]
mov eax, dword [esp + 0x18]
push edx
push eax
call fcn.00401490
add esp, 8
test eax, eax
je 0x4056a1
push 0xffffffffffffffff
push str.value
call fcn.00405710
add esp, 8
mov dword [esp + 0x14], eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x4c], 6
call sub.MFC42.DLL_CString::CString_1
lea ecx, [esp + 0x10]
mov bl, 7
push ecx
lea ecx, [esi + 0x2f0]
mov byte [esp + 0x50], bl
call sub.MFC42.DLL_CWnd::GetWindowTextA
mov edx, dword [esp + 0xc]
push ecx
mov eax, esp
mov dword [esp + 0x28], esp
mov dword [eax], edx
mov eax, dword [esp + 0x10]
test eax, eax
je 0x40559c
mov ecx, dword [eax]
push eax
call dword [ecx + 4]
lea ecx, [esp + 0x14]
mov byte [esp + 0x50], bl
call fcn.00401330
push eax
lea ecx, [esp + 0x1c]
call fcn.00401330
push eax
push str..__TEXT__idCustomSign_
call fcn.00401d10
add esp, 0x10
lea edx, [esp + 0x10]
lea ecx, [esi + 0x230]
push edx
call sub.MFC42.DLL_CWnd::GetWindowTextA
push ecx
mov ecx, dword [esp + 0x10]
mov eax, esp
mov dword [esp + 0x28], esp
mov dword [eax], ecx
mov eax, dword [esp + 0x10]
test eax, eax
je 0x4055ec
mov edx, dword [eax]
push eax
call dword [edx + 4]
lea ecx, [esp + 0x14]
mov byte [esp + 0x50], bl
call fcn.00401330
push eax
lea ecx, [esp + 0x1c]
call fcn.00401330
push eax
push str..__TEXT__idCustomBlog_
call fcn.00401d10
mov eax, dword [esp + 0x24]
mov edi, dword [sym.imp.OLEAUT32.dll_SysStringLen]
add esp, 0x10
push eax
call edi
push str.title
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
lea ecx, [esp + 0x10]
mov dword [esp + 0x14], eax
push ecx
lea ecx, [esi + 0x270]
call sub.MFC42.DLL_CWnd::GetWindowTextA
mov edx, dword [esp + 0xc]
push ecx
mov eax, esp
mov dword [esp + 0x28], esp
mov dword [eax], edx
mov eax, dword [esp + 0x10]
test eax, eax
je 0x405658
mov ecx, dword [eax]
push eax
call dword [ecx + 4]
lea ecx, [esp + 0x14]
mov byte [esp + 0x50], bl
call fcn.00401330
push eax
lea ecx, [esp + 0x1c]
call fcn.00401330
push eax
push str..__THEME__idQQCar_
call fcn.00401d10
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x28]
push edx
push eax
call fcn.004018f0
add esp, 0x18
lea ecx, [esp + 0x10]
mov byte [esp + 0x4c], 6
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x14]
push ecx
call edi
mov eax, dword [esp + 0xc]
mov byte [esp + 0x4c], 3
test eax, eax
je 0x4056b4
mov edx, dword [eax]
push eax
call dword [edx + 8]
lea ecx, [esp + 0x18]
mov byte [esp + 0x4c], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x28]
mov byte [esp + 0x4c], 1
call fcn.0040f22e
lea ecx, [esp + 0x1c]
mov byte [esp + 0x4c], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x20]
mov dword [esp + 0x4c], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x44]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
add esp, 0x44
ret