Function at 0x417b80
Capabilities:
Copy file

Disassembly:
push 0xffffffffffffffff
mov eax, dword fs:[0]
push 0x43ce1e
push eax
mov eax, 0x1ee0
mov dword fs:[0], esp
call fcn.0043b050
push ebx
push ebp
push esi
mov esi, ecx
push edi
lea ecx, [esp + 0x14]
mov dword [esp + 0x18], esi
call sub.MFC42.DLL_CString::CString_2
xor ebx, ebx
lea ecx, [esp + 0x10]
mov dword [esp + 0x1ef8], ebx
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esp + 0x1c]
mov byte [esp + 0x1ef8], 1
call sub.MFC42.DLL_CString::CString_2
mov eax, dword [esi + 0x560c]
push ebx
push ebx
push 0x1004
push eax
mov byte [esp + 0x1f08], 2
call dword [sym.imp.USER32.dll_SendMessageA]
mov edi, eax
lea ecx, [esp + 0x3c]
mov dword [esp + 0x24], edi
call fcn.0042ae70
push 0x44a754
lea ecx, [esp + 0x18]
mov byte [esp + 0x1efc], 3
call fcn.0043ac24
cmp dword [esp + 0x1f00], ebx
je 0x417f48
cmp edi, ebx
jle 0x417f0f
mov edi, 0x44f0a8
mov dword [esp + 0x20], edi
mov eax, dword [esi + 0x4878]
test eax, eax
je 0x417c7f
lea ecx, [edi + 4]
push ecx
lea ecx, [esp + 0x20]
call sub.MFC42.DLL_CString::operator_2
mov eax, dword [esi + 0x2ec]
mov edx, dword [esp + 0x1c]
mov ebp, dword [sym.imp.MSVCRT.dll__mbscmp]
push eax
push edx
call ebp
add esp, 8
test eax, eax
je 0x417c85
mov eax, dword [esp + 0x1c]
push 0x44a754
push eax
call ebp
add esp, 8
test eax, eax
jne 0x417ef7
jmp 0x417c85
mov ebp, dword [sym.imp.MSVCRT.dll__mbscmp]
push edi
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::operator_2
mov ecx, dword [esp + 0x10]
push 0x2e
mov esi, dword [ecx - 8]
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::ReverseFind
sub esi, eax
lea edx, [esp + 0x34]
push esi
push edx
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::Right
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x1efc], 4
call sub.MFC42.DLL_CString::operator_2
lea ecx, [esp + 0x34]
mov byte [esp + 0x1ef8], 3
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::MakeUpper
mov eax, dword [esp + 0x10]
push 0x4489a8
push eax
call ebp
add esp, 8
test eax, eax
jne 0x417ef7
mov eax, dword [edi - 4]
push 0x448934
push eax
call ebp
add esp, 8
test eax, eax
jne 0x417f19
mov ecx, dword [esp + 0x18]
push ebx
add ecx, 0x55ec
call sub.MFC42.DLL_CListCtrl::GetCheck
cmp eax, 1
jne 0x417d38
push edi
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::operator
push 0x449048
lea ecx, [esp + 0x18]
call fcn.0043ae7c
push 0x44a754
lea ecx, [esp + 0x14]
call fcn.0043ac24
xor esi, esi
xor ebp, ebp
mov edi, 0x44f0a4
movsx edx, byte [edi + 0xd]
cmp ebx, edx
jne 0x417e24
mov eax, dword [edi]
push 0x44893c
push eax
call dword [sym.imp.MSVCRT.dll__mbscmp]
add esp, 8
test eax, eax
jne 0x417d85
mov eax, dword [esp + 0x18]
push ebp
lea ecx, [eax + 0x55ec]
call sub.MFC42.DLL_CListCtrl::GetCheck
cmp eax, 1
je 0x417db3
mov eax, dword [edi]
push 0x448948
push eax
call dword [sym.imp.MSVCRT.dll__mbscmp]
add esp, 8
test eax, eax
jne 0x417e24
mov ecx, dword [esp + 0x18]
push ebp
add ecx, 0x55ec
call sub.MFC42.DLL_CListCtrl::GetCheck
cmp eax, 1
jne 0x417e24
lea esi, [edi - 4]
lea ecx, [esp + 0x10]
push esi
call sub.MFC42.DLL_CString::operator
push 0x449044
lea ecx, [esp + 0x14]
call fcn.0043ae7c
push 0x44903c
lea edx, [esp + 0x34]
push 0x44ee44
push edx
call sub.MFC42.DLL_operator_2
push esi
push eax
lea eax, [esp + 0x40]
mov byte [esp + 0x1f00], 5
push eax
call sub.MFC42.DLL_operator_1
mov eax, dword [eax]
mov ecx, dword [edi + 4]
push 0
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_CopyFileA]
lea ecx, [esp + 0x38]
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x30]
mov byte [esp + 0x1ef8], 3
call sub.MFC42.DLL_CString::CString
mov esi, 1
mov eax, dword [esp + 0x24]
inc ebp
add edi, 0x14
cmp ebp, eax
jl 0x417d4f
test esi, esi
je 0x417ef3
mov ecx, dword [esp + 0x10]
push 1
mov eax, dword [ecx - 8]
lea ecx, [esp + 0x14]
dec eax
push eax
call sub.MFC42.DLL_CString::Delete
push ebx
push 0
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::GetBuffer
mov ecx, dword [esp + 0x24]
push eax
push 0
call sub.MFC42.DLL_CString::GetBuffer
push eax
lea ecx, [esp + 0x48]
call fcn.0042e350
push ebx
lea edx, [esp + 0x14]
push 0x449030
push edx
call sub.MFC42.DLL_CString::Format
add esp, 0xc
lea eax, [esp + 0x28]
push 0x44903c
push 0x44ee44
push eax
call sub.MFC42.DLL_operator_2
lea ecx, [esp + 0x10]
lea edx, [esp + 0x2c]
push ecx
push eax
push edx
mov byte [esp + 0x1f04], 6
call sub.MFC42.DLL_operator_1
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x1efc], 7
call sub.MFC42.DLL_CString::operator
lea ecx, [esp + 0x2c]
mov byte [esp + 0x1ef8], 6
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x28]
mov byte [esp + 0x1ef8], 3
call sub.MFC42.DLL_CString::CString
push 0x44902c
lea ecx, [esp + 0x18]
call fcn.0043ae7c
mov edi, dword [esp + 0x20]
mov eax, dword [esp + 0x24]
mov esi, dword [esp + 0x18]
inc ebx
add edi, 0x14
cmp ebx, eax
mov dword [esp + 0x20], edi
jl 0x417c34
lea ecx, [esp + 0x14]
push ecx
jmp 0x41811d
mov eax, dword [esp + 0x18]
push ebx
lea ecx, [eax + 0x55ec]
call sub.MFC42.DLL_CListCtrl::GetCheck
cmp eax, 1
jne 0x417ef7
push edi
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::operator
push 0x44902c
lea ecx, [esp + 0x18]
call fcn.0043ae7c
jmp 0x417ef7
cmp edi, ebx
jle 0x418118
mov edi, dword [sym.imp.MSVCRT.dll__mbscmp]
mov ebp, 0x44f0a0
mov eax, dword [esi + 0x4878]
test eax, eax
je 0x417f9e
lea edx, [ebp + 0xc]
lea ecx, [esp + 0x1c]
push edx
call sub.MFC42.DLL_CString::operator_2
mov eax, dword [esi + 0x2ec]
push eax
mov eax, dword [esp + 0x20]
push eax
call edi
add esp, 8
test eax, eax
je 0x417f9e
mov ecx, dword [esp + 0x1c]
push 0x44a754
push ecx
call edi
add esp, 8
test eax, eax
jne 0x418104
push ebp
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::operator_2
mov edx, dword [esp + 0x10]
push 0x2e
lea ecx, [esp + 0x14]
mov esi, dword [edx - 8]
call sub.MFC42.DLL_CString::ReverseFind
sub esi, eax
lea eax, [esp + 0x28]
push esi
push eax
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::Right
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x1efc], 8
call sub.MFC42.DLL_CString::operator_2
lea ecx, [esp + 0x28]
mov byte [esp + 0x1ef8], 3
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::MakeUpper
mov ecx, dword [esp + 0x10]
push 0x4489a8
push ecx
call edi
add esp, 8
test eax, eax
je 0x418104
mov edx, dword [esp + 0x18]
push ebx
lea ecx, [edx + 0x55ec]
call sub.MFC42.DLL_CListCtrl::GetCheck
cmp eax, 1
jne 0x418104
lea eax, [ebp + 4]
lea ecx, [esp + 0x10]
push eax
call sub.MFC42.DLL_CString::operator_2
lea ecx, [ebp + 8]
push ecx
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::operator
mov edx, dword [esp + 0x10]
push 0x448970
push edx
call edi
add esp, 8
test eax, eax
jne 0x41805b
push 0x448d4c
jmp 0x4180bc
mov eax, dword [esp + 0x10]
push 0x44895c
push eax
call edi
add esp, 8
test eax, eax
jne 0x418075
push 0x448d48
jmp 0x4180bc
mov ecx, dword [esp + 0x10]
push 0x448968
push ecx
call edi
add esp, 8
test eax, eax
jne 0x41808f
push 0x449028
jmp 0x4180bc
mov edx, dword [esp + 0x10]
push 0x448950
push edx
call edi
add esp, 8
test eax, eax
jne 0x4180b7
mov eax, dword [esp + 0x18]
push 0x449024
mov dword [eax + 0x4098], 1
jmp 0x4180bc
push 0x449020
lea ecx, [esp + 0x14]
call fcn.0043ac24
lea ecx, [esp + 0x10]
lea edx, [esp + 0x2c]
push ecx
push 0x2a
push edx
call sub.MFC42.DLL_operator_4
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x1efc], 9
call sub.MFC42.DLL_CString::operator
lea ecx, [esp + 0x2c]
mov byte [esp + 0x1ef8], 3
call sub.MFC42.DLL_CString::CString
push 0x7c
lea ecx, [esp + 0x18]
call fcn.0043ae88
mov eax, dword [esp + 0x24]
mov esi, dword [esp + 0x18]
inc ebx
add ebp, 0x14
cmp ebx, eax
jl 0x417f5b
lea eax, [esp + 0x14]
push eax
lea ecx, [esi + 0x344]
call sub.MFC42.DLL_CString::operator_2
lea ecx, [esp + 0x3c]
mov byte [esp + 0x1ef8], 2
call fcn.0042b3a0
lea ecx, [esp + 0x1c]
mov byte [esp + 0x1ef8], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x10]
mov byte [esp + 0x1ef8], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x14]
mov dword [esp + 0x1ef8], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x1ef0]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
mov dword fs:[0], ecx
add esp, 0x1eec
ret 4