Function at 0x4bcbf0
Capabilities:
Delete file

Disassembly:
sub esp, 0x14c
push ebx
push ebp
push esi
push edi
lea ecx, [esp + 0x1c]
call sub.MFC42.DLL_CFileFind::CFileFind
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString_2
push 0
call dword [sym.imp.MSVCRT.dll_time]
mov esi, dword [sym.imp.MSVCRT.dll__snprintf]
add esp, 4
mov ebx, eax
lea eax, [esp + 0x5c]
push 0x5965b8
push str._s_testerhistory.fxt
sub ebx, 0x15180
push 0xff
push eax
mov dword [esp + 0x24], ebx
call esi
add esp, 0x10
lea ecx, [esp + 0x5c]
push 0
push ecx
lea ecx, [esp + 0x24]
call sub.MFC42.DLL_CFileFind::FindFile
mov ebp, dword [sym.imp.MSVCRT.dll__stat]
cmp eax, 1
jne 0x4bccef
lea ecx, [esp + 0x1c]
call sub.MFC42.DLL_CFileFind::FindNextFileA
lea edx, [esp + 0x18]
lea ecx, [esp + 0x1c]
push edx
mov ebx, eax
call sub.MFC42.DLL_CFileFind::GetFileName
push eax
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::operator_2
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::CString
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x5c]
push eax
push 0x5965b8
push str._s_testerhistory_s
push 0xff
push ecx
call esi
mov ecx, 9
xor eax, eax
lea edi, [esp + 0x4c]
lea edx, [esp + 0x4c]
rep stosd dword es:[edi], eax
lea eax, [esp + 0x70]
push edx
push eax
call ebp
add esp, 0x1c
cmp eax, 0xffffffff
je 0x4bcce2
mov eax, dword [esp + 0x50]
test eax, eax
jle 0x4bcce2
cmp dword [esp + 0x14], eax
jl 0x4bcce2
lea ecx, [esp + 0x5c]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
cmp ebx, 1
je 0x4bcc61
mov ebx, dword [esp + 0x14]
push 0x5965b8
push str._s_testercaches.
lea edx, [esp + 0x64]
push 0xff
push edx
call esi
add esp, 0x10
lea eax, [esp + 0x5c]
lea ecx, [esp + 0x1c]
push 0
push eax
call sub.MFC42.DLL_CFileFind::FindFile
cmp eax, 1
jne 0x4bcdd1
lea ecx, [esp + 0x1c]
call sub.MFC42.DLL_CFileFind::FindNextFileA
lea ecx, [esp + 0x1c]
mov dword [esp + 0x14], eax
call sub.MFC42.DLL_CFileFind::IsDots
cmp eax, 1
je 0x4bcdc6
mov edx, dword [esp + 0x1c]
push 0x10
lea ecx, [esp + 0x20]
call dword [edx + 0x40]
cmp eax, 1
je 0x4bcdc6
lea eax, [esp + 0x18]
lea ecx, [esp + 0x1c]
push eax
call sub.MFC42.DLL_CFileFind::GetFileName
push eax
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::operator_2
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0x5c]
push ecx
push 0x5965b8
push str._s_testercaches_s
push 0xff
push edx
call esi
mov ecx, 9
xor eax, eax
lea edi, [esp + 0x4c]
rep stosd dword es:[edi], eax
lea eax, [esp + 0x4c]
lea ecx, [esp + 0x70]
push eax
push ecx
call ebp
add esp, 0x1c
cmp eax, 0xffffffff
je 0x4bcdc6
mov eax, dword [esp + 0x54]
test eax, eax
jle 0x4bcdc6
cmp ebx, eax
jl 0x4bcdc6
lea edx, [esp + 0x5c]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
cmp dword [esp + 0x14], 1
je 0x4bcd21
push 0x5965b8
push str._s_testerlogs.
lea eax, [esp + 0x64]
push 0xff
push eax
sub ebx, 0x2a300
call esi
add esp, 0x10
lea ecx, [esp + 0x5c]
push 0
push ecx
lea ecx, [esp + 0x24]
call sub.MFC42.DLL_CFileFind::FindFile
cmp eax, 1
jne 0x4bceb9
lea ecx, [esp + 0x1c]
call sub.MFC42.DLL_CFileFind::FindNextFileA
lea ecx, [esp + 0x1c]
mov dword [esp + 0x14], eax
call sub.MFC42.DLL_CFileFind::IsDots
cmp eax, 1
je 0x4bceae
mov edx, dword [esp + 0x1c]
push 0x10
lea ecx, [esp + 0x20]
call dword [edx + 0x40]
cmp eax, 1
je 0x4bceae
lea eax, [esp + 0x18]
lea ecx, [esp + 0x1c]
push eax
call sub.MFC42.DLL_CFileFind::GetFileName
push eax
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::operator_2
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0x5c]
push ecx
push 0x5965b8
push str._s_testercaches_s
push 0xff
push edx
call esi
mov ecx, 9
xor eax, eax
lea edi, [esp + 0x4c]
rep stosd dword es:[edi], eax
lea eax, [esp + 0x4c]
lea ecx, [esp + 0x70]
push eax
push ecx
call ebp
add esp, 0x1c
cmp eax, 0xffffffff
je 0x4bceae
mov eax, dword [esp + 0x50]
test eax, eax
jle 0x4bceae
cmp ebx, eax
jl 0x4bceae
lea edx, [esp + 0x5c]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
cmp dword [esp + 0x14], 1
je 0x4bce09
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x1c]
call fcn.005628e4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14c
ret