Function at 0x41b2b0
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x443dd0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x6c
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x24], edi
push ecx
lea eax, [ebp + 0xc]
mov ecx, esp
mov dword [ebp - 0x54], esp
push eax
mov dword [ebp - 4], 1
call sub.MFC42.DLL_CString::CString_1
mov ecx, edi
call fcn.0041b0b0
test eax, eax
jne 0x41b33c
lea ecx, [ebp + 0xc]
lea edx, [ebp + 0x10]
push ecx
push 0x45a734
push edx
call sub.MFC42.DLL_operator_2
push ecx
lea ecx, [ebp + 0xc]
mov eax, esp
mov dword [ebp - 0x54], esp
push ecx
push 0x45a734
push eax
mov byte [ebp - 4], 2
call sub.MFC42.DLL_operator_2
push 3
mov ecx, edi
call fcn.004091a0
lea ecx, [ebp + 0x10]
mov byte [ebp - 4], 1
call sub.MFC42.DLL_CString::CString
jmp 0x41b650
push 0x459194
lea ecx, [ebp + 8]
call sub.MFC42.DLL_CString::TrimRight_1
push 0x45919c
lea ecx, [ebp + 8]
call fcn.0043f64c
push 0x459194
lea ecx, [ebp + 0xc]
call sub.MFC42.DLL_CString::TrimRight_1
lea ecx, [ebp - 0x78]
call sub.MFC42.DLL_CFileFind::CFileFind
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 3
call fcn.0043f5d4
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 4
call fcn.0043f5d4
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 5
call fcn.0043f5d4
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 6
call fcn.0043f5d4
mov edx, dword [ebp + 8]
push 0
push edx
lea ecx, [ebp - 0x78]
mov byte [ebp - 4], 7
call sub.MFC42.DLL_CFileFind::FindFile
test eax, eax
je 0x41b745
lea ecx, [ebp - 0x78]
call sub.MFC42.DLL_CFileFind::FindNextFileA
mov dword [ebp - 0x54], eax
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x78]
call sub.MFC42.DLL_CFileFind::GetFileName
push eax
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 8
call sub.MFC42.DLL_CString::operator_1
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 7
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x2c]
push ecx
lea ecx, [ebp - 0x78]
call sub.MFC42.DLL_CFileFind::GetFilePath
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 9
call sub.MFC42.DLL_CString::operator_1
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 7
call sub.MFC42.DLL_CString::CString
mov edx, dword [ebp - 0x18]
push 0x2e
lea ecx, [ebp - 0x18]
mov esi, dword [edx - 8]
call sub.MFC42.DLL_CString::ReverseFind
sub esi, eax
lea eax, [ebp - 0x30]
push esi
push eax
lea ecx, [ebp - 0x18]
call sub.MFC42.DLL_CString::Right
push eax
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 0xa
call sub.MFC42.DLL_CString::operator_1
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 7
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x78]
call sub.MFC42.DLL_CFileFind::IsDots
test eax, eax
jne 0x41b730
mov edx, dword [ebp - 0x78]
push 0x10
lea ecx, [ebp - 0x78]
call dword [edx + 0x40]
test eax, eax
jne 0x41b730
mov eax, dword [ebp - 0x20]
mov esi, dword [sym.imp.MSVCRT.dll__mbsicmp]
push str..ini
push eax
call esi
add esp, 8
test eax, eax
je 0x41b730
mov ecx, dword [ebp - 0x20]
push str..dcm
push ecx
call esi
add esp, 8
test eax, eax
je 0x41b512
lea edx, [ebp + 0xc]
push 0x459194
lea eax, [ebp - 0x38]
push edx
push eax
call sub.MFC42.DLL_operator
lea ecx, [ebp - 0x18]
lea edx, [ebp - 0x34]
push ecx
push eax
push edx
mov byte [ebp - 4], 0xb
call sub.MFC42.DLL_operator_1
mov eax, dword [eax]
push 0
push eax
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileA]
test eax, eax
lea ecx, [ebp - 0x34]
sete bl
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 7
call sub.MFC42.DLL_CString::CString
test bl, bl
je 0x41b730
lea ecx, [ebp - 0x78]
call sub.MFC42.DLL_CFileFind::Close
push ecx
lea edx, [ebp - 0x14]
mov ecx, esp
mov dword [ebp + 0x10], esp
push edx
push 0x45a6d4
push ecx
call sub.MFC42.DLL_operator_2
push 3
mov ecx, edi
call fcn.004091a0
jmp 0x41b614
mov ecx, dword [ebp + 0x10]
lea eax, [ebp - 0x1c]
push eax
push ecx
push ecx
lea edx, [ebp - 0x18]
mov esi, esp
mov dword [ebp - 0x58], esp
push edx
lea eax, [ebp + 0xc]
push 0x459194
lea ecx, [ebp - 0x3c]
push eax
push ecx
mov byte [ebp - 4], 0xc
call sub.MFC42.DLL_operator
push eax
push esi
mov byte [ebp - 4], 0xd
call sub.MFC42.DLL_operator_1
push ecx
lea edx, [ebp - 0x14]
mov ecx, esp
mov dword [ebp - 0x5c], esp
push edx
mov byte [ebp - 4], 0xe
call sub.MFC42.DLL_CString::CString_1
mov ecx, edi
mov byte [ebp - 4], 0xd
call fcn.0041a130
test eax, eax
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 0xc
sete bl
call sub.MFC42.DLL_CString::CString
test bl, bl
je 0x41b729
lea eax, [ebp + 0xc]
push 0x459194
lea ecx, [ebp - 0x44]
push eax
push ecx
call sub.MFC42.DLL_operator
lea edx, [ebp - 0x18]
mov byte [ebp - 4], 0xf
push edx
push eax
lea eax, [ebp - 0x40]
push eax
call sub.MFC42.DLL_operator_1
mov eax, dword [eax]
mov ecx, dword [ebp - 0x14]
push 0
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_CopyFileA]
test eax, eax
lea ecx, [ebp - 0x40]
sete bl
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 0xc
call sub.MFC42.DLL_CString::CString
test bl, bl
je 0x41b729
lea ecx, [ebp - 0x78]
call sub.MFC42.DLL_CFileFind::Close
lea edx, [ebp - 0x1c]
lea eax, [ebp - 0x48]
push edx
push 0x45a5a4
push eax
call sub.MFC42.DLL_operator_2
push ecx
lea edx, [ebp - 0x14]
mov ecx, esp
mov dword [ebp - 0x5c], esp
push edx
push eax
push ecx
mov byte [ebp - 4], 0x10
call sub.MFC42.DLL_operator_1
push 3
mov ecx, edi
call fcn.004091a0
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 0xc
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 6
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 5
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 4
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 3
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x78]
mov byte [ebp - 4], 1
call fcn.0043f6ac
lea ecx, [ebp + 8]
mov byte [ebp - 4], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp + 0xc]
mov dword [ebp - 4], 0xffffffff
call sub.MFC42.DLL_CString::CString
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov dword [ebp - 4], 7
mov eax, dword [ebp - 0x54]
test eax, eax
jne 0x41b3b5
lea ecx, [ebp - 0x78]
call sub.MFC42.DLL_CFileFind::Close
jmp 0x41b763
push ecx
lea ecx, [ebp + 8]
mov eax, esp
mov dword [ebp + 0x10], esp
push ecx
push 0x459ad8
push eax
call sub.MFC42.DLL_operator_2
push 3
mov ecx, edi
call fcn.004091a0
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 6
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 5
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 4
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 3
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x78]
mov byte [ebp - 4], 1
call fcn.0043f6ac
lea ecx, [ebp + 8]
mov byte [ebp - 4], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp + 0xc]
mov dword [ebp - 4], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov eax, 1
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 0xc