Function at 0x425320
Capabilities:
Delete file

Disassembly:
push 0xffffffffffffffff
push 0x4b4f47
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x34
push ebx
push ebp
push esi
xor esi, esi
push edi
mov dword [esp + 0x18], esi
push ecx
mov ebx, 1
mov ecx, esp
mov dword [esp + 0x20], esp
push 0x4cf610
mov dword [esp + 0x54], ebx
call sub.MFC42u.DLL_CString::CString_2
lea eax, [esp + 0x18]
push eax
call fcn.004275b0
add esp, 8
lea ecx, [esp + 0x58]
lea edx, [esp + 0x14]
push ecx
lea eax, [esp + 0x20]
push edx
push eax
mov byte [esp + 0x58], 2
call sub.MFC42u.DLL_operator
push eax
lea ecx, [esp + 0x5c]
mov byte [esp + 0x50], 3
call sub.MFC42u.DLL_CString::operator_2
lea ecx, [esp + 0x1c]
mov byte [esp + 0x4c], 2
call sub.MFC42u.DLL_CString::CString
push 0x4e28c0
lea ecx, [esp + 0x14]
call sub.MFC42u.DLL_CString::CString_2
lea ecx, [esp + 0x20]
mov byte [esp + 0x4c], 4
call sub.MFC42u.DLL_CFile::CFile
lea ecx, [esp + 0x30]
mov byte [esp + 0x4c], 5
call sub.MFC42u.DLL_CException::CException
lea ecx, [esp + 0x40]
mov byte [esp + 0x4c], 6
call sub.MFC42u.DLL_CString::CString_1
mov edi, 0x4bc494
push esi
lea ecx, [esp + 0x44]
mov byte [esp + 0x50], 7
mov dword [esp + 0x34], edi
mov dword [esp + 0x3c], esi
mov dword [esp + 0x40], 0xffffffff
call fcn.004b0454
mov edx, dword [esp + 0x58]
lea ecx, [esp + 0x30]
push ecx
push esi
push edx
lea ecx, [esp + 0x2c]
mov byte [esp + 0x58], 8
call sub.MFC42u.DLL_CFile::Open
test eax, eax
jne 0x42543a
mov esi, dword [esp + 0x54]
push 0x4e28c0
mov ecx, esi
call sub.MFC42u.DLL_CString::CString_2
mov dword [esp + 0x18], ebx
mov dword [esp + 0x30], edi
mov byte [esp + 0x4c], 9
jmp 0x425524
lea ecx, [esp + 0x20]
call sub.MFC42u.DLL_CFile::GetLength
mov ebp, eax
lea edi, [ebp + 1]
push edi
call sub.MFC42u.DLL_operatornew
mov ecx, edi
mov esi, eax
mov edx, ecx
xor eax, eax
mov edi, esi
add esp, 4
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
push ebp
and ecx, 3
push esi
rep stosb byte es:[edi], al
lea ecx, [esp + 0x28]
call sub.MFC42u.DLL_CFile::Read
lea ecx, [esp + 0x20]
call sub.MFC42u.DLL_CFile::Close
cmp ebp, 3
jle 0x4254bc
cmp byte [esi], 0xef
jne 0x4254bc
cmp byte [esi + 1], 0xbb
jne 0x4254bc
cmp byte [esi + 2], 0xbf
jne 0x4254bc
lea eax, [esi + 3]
lea ecx, [esp + 0x1c]
push eax
push ecx
call fcn.00428ae0
add esp, 8
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x50], 0xa
call sub.MFC42u.DLL_CString::operator_2
mov byte [esp + 0x4c], 8
lea ecx, [esp + 0x1c]
jmp 0x4254e2
lea edx, [esp + 0x1c]
push esi
push edx
call fcn.00428ae0
add esp, 8
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x50], 0xb
call sub.MFC42u.DLL_CString::operator_2
mov byte [esp + 0x4c], 8
lea ecx, [esp + 0x1c]
call sub.MFC42u.DLL_CString::CString
push esi
call sub.MFC42u.DLL_operatordelete
mov al, byte [esp + 0x60]
add esp, 4
test al, al
je 0x425503
mov eax, dword [esp + 0x58]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov esi, dword [esp + 0x54]
lea ecx, [esp + 0x10]
push ecx
mov ecx, esi
call sub.MFC42u.DLL_CString::CString_3
mov dword [esp + 0x18], ebx
mov dword [esp + 0x30], 0x4bc494
mov byte [esp + 0x4c], 0xc
lea ecx, [esp + 0x40]
call sub.MFC42u.DLL_CString::CString
lea ecx, [esp + 0x20]
mov dword [esp + 0x30], 0x4bc480
mov byte [esp + 0x4c], 4
call fcn.004b0436
lea ecx, [esp + 0x10]
mov byte [esp + 0x4c], 2
call sub.MFC42u.DLL_CString::CString
lea ecx, [esp + 0x14]
mov byte [esp + 0x4c], bl
call sub.MFC42u.DLL_CString::CString
lea ecx, [esp + 0x58]
mov byte [esp + 0x4c], 0
call sub.MFC42u.DLL_CString::CString
mov ecx, dword [esp + 0x44]
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x40
ret