Function at 0x425df8
Capabilities:
Delete file

Disassembly:
mov eax, 0x4e649c
call fcn.004e1580
sub esp, 0x14
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
xor ebx, ebx
mov esi, ecx
cmp edi, ebx
mov dword [ebp - 0x10], ebx
je 0x425e24
mov eax, dword [edi]
lea ecx, [ebp - 0x10]
push ecx
push 0x52b600
push edi
call dword [eax]
cmp dword [ebp + 0x10], ebx
mov dword [ebp - 4], ebx
je 0x425e3d
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0xc]
push eax
push ecx
push edi
call fcn.004256e7
add esp, 0xc
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 0x1c]
mov dword [ebp - 0x1c], ebx
push edx
mov ecx, dword [eax]
push eax
call dword [ecx + 0x14]
cmp dword [ebp - 0x1c], ebx
je 0x425f31
mov dword [ebp - 0x18], ebx
mov eax, dword [esi + 4]
lea edx, [ebp - 0x18]
push edx
push 0x52ad00
mov ecx, dword [eax]
push eax
mov byte [ebp - 4], 1
call dword [ecx]
mov dword [ebp - 0x14], ebx
mov eax, dword [edi]
lea ecx, [ebp - 0x14]
push ecx
push 0x5093c0
push edi
mov byte [ebp - 4], 2
call dword [eax]
mov eax, dword [ebp - 0x18]
lea edx, [ebp + 8]
push edx
push dword [ebp - 0x14]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x5c]
cmp dword [ebp + 0xc], ebx
je 0x425ed4
cmp dword [ebp + 8], 1
jne 0x425eb0
mov ecx, dword [esi + 0x14]
mov eax, dword [esi + 4]
push ecx
push dword [ebp - 0x10]
mov edx, dword [eax]
push eax
call dword [edx + 0x24]
jmp 0x425ec6
cmp dword [ebp + 8], 2
jne 0x425ec6
mov ecx, dword [esi + 0x14]
mov eax, dword [esi + 8]
push ecx
push dword [ebp - 0x10]
mov edx, dword [eax]
push eax
call dword [edx + 0x1c]
call fcn.004a1834
mov ecx, eax
call fcn.004a2007
jmp 0x425f0e
cmp dword [ebp + 8], 1
jne 0x425efc
mov eax, dword [esi + 4]
lea edx, [ebp - 0x20]
push edx
push dword [ebp - 0x10]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x18]
test eax, eax
jne 0x425f0e
mov eax, dword [esi + 4]
push dword [ebp - 0x20]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x10]
jmp 0x425f0e
cmp dword [ebp + 8], 2
jne 0x425f0e
mov eax, dword [esi + 8]
push dword [ebp - 0x10]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x28]
mov eax, dword [ebp - 0x14]
mov byte [ebp - 4], 1
cmp eax, ebx
je 0x425f1f
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x18]
mov byte [ebp - 4], bl
cmp eax, ebx
je 0x425f60
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x425f60
cmp dword [ebp + 0xc], ebx
je 0x425f54
mov ecx, dword [esi + 0x14]
mov eax, dword [esi + 8]
push ecx
push dword [ebp - 0x10]
mov edx, dword [eax]
push eax
call dword [edx + 0x1c]
call fcn.004a1834
mov ecx, eax
call fcn.004a2007
jmp 0x425f60
mov eax, dword [esi + 8]
push dword [ebp - 0x10]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x28]
cmp dword [ebp + 0xc], ebx
jne 0x426023
mov dword [ebp + 8], ebx
mov eax, dword [edi]
lea ecx, [ebp + 8]
push ecx
push edi
mov byte [ebp - 4], 3
call dword [eax + 0x10]
push dword [ebp + 8]
test eax, eax
jge 0x425f9f
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [ebp - 0x10]
or dword [ebp - 4], 0xffffffff
cmp eax, ebx
je 0x425f98
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
xor eax, eax
jmp 0x426037
lea ecx, [ebp + 0xc]
call sub.MFC42.DLL_CString::CString_2
lea eax, [ebp - 0x18]
push 0xc
push eax
mov byte [ebp - 4], 4
call fcn.0041aab4
pop ecx
pop ecx
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 5
push ecx
push eax
lea eax, [ebp - 0x20]
push eax
call sub.MFC42.DLL_operator_3
push eax
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 6
call sub.MFC42.DLL_CString::operator_1
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 5
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 4
call sub.MFC42.DLL_CString::CString
cmp dword [ebp + 0x10], ebx
je 0x426005
mov eax, dword [esi + 0x10]
mov esi, dword [esi + 0xc]
push eax
push esi
push edi
call fcn.00425ba0
add esp, 0xc
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 3
call sub.MFC42.DLL_CString::CString
push dword [ebp + 8]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [ebp - 0x10]
or dword [ebp - 4], 0xffffffff
cmp eax, ebx
je 0x426034
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push 1
pop eax
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 0xc