Function at 0x4130a0
Capabilities:
Delete file

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x429dac
push eax
mov dword fs:[0], esp
sub esp, 0x120
push ebx
push ebp
push esi
push edi
mov esi, ecx
push 0x42
call fcn.00415250
mov ecx, esi
call fcn.0041b390
test al, al
je 0x4133d3
lea eax, [esp + 0x30]
lea ebx, [esi + 0x2e0]
push eax
push 0x80
mov ecx, ebx
call fcn.004237d0
test eax, eax
jne 0x413102
push 0x38
push 0x6a
mov ecx, esi
call fcn.00406e80
jmp 0x4133d3
cmp byte [esp + 0x30], 4
je 0x41311c
push 0
push 0
push str.unknown_error
call sub.MFC42.DLL_AfxMessageBox
jmp 0x4133d3
push 0x82
mov ecx, ebx
call fcn.00424ad0
push 0x7d0
call dword [sym.imp.KERNEL32.dll_Sleep]
lea ecx, [esp + 0x30]
push ecx
push 0x80
mov ecx, ebx
call fcn.004237d0
test eax, eax
jne 0x413158
push 0x37
push 0x6a
mov ecx, esi
call fcn.00406e80
jmp 0x4133d3
push ecx
mov byte [esp + 0x34], 2
mov ecx, esp
mov dword [esp + 0x18], esp
push 0x4335cc
call sub.MFC42.DLL_CString::CString_2
mov ecx, esi
call fcn.0040c920
test eax, eax
je 0x4133d3
push ecx
mov ecx, esp
mov dword [esp + 0x18], esp
push 0x4335c8
call sub.MFC42.DLL_CString::CString_2
mov ecx, esi
call fcn.0040ced0
test eax, eax
je 0x4133d3
push str.shengji_soft_boot33_
lea edx, [esp + 0x2c]
push 0x434a44
push edx
call sub.MFC42.DLL_operator_1
push str.shangjiami.bin
push eax
lea eax, [esp + 0x34]
mov dword [esp + 0x140], 0
push eax
call sub.MFC42.DLL_operator_1
push eax
lea ecx, [esi + 0x32c]
mov byte [esp + 0x13c], 1
call fcn.00426e04
lea ecx, [esp + 0x2c]
mov byte [esp + 0x138], 0
call sub.MFC42.DLL_CString::CString
or edi, 0xffffffff
lea ecx, [esp + 0x28]
mov dword [esp + 0x138], edi
call sub.MFC42.DLL_CString::CString
mov ecx, esi
call fcn.00409530
test al, al
je 0x4133d3
lea eax, [esi + 0x330]
lea ecx, [esp + 0x10]
push eax
call sub.MFC42.DLL_CString::CString_3
lea ecx, [esp + 0x18]
mov dword [esp + 0x138], 2
call sub.MFC42.DLL_CFile::CFile_1
mov ecx, dword [esp + 0x10]
push 0
push 0
push ecx
lea ecx, [esp + 0x24]
mov byte [esp + 0x144], 3
call sub.MFC42.DLL_CFile::Open
test eax, eax
jne 0x41328a
push ecx
lea edx, [esp + 0x14]
mov ecx, esp
mov dword [esp + 0x18], esp
push edx
call sub.MFC42.DLL_CString::CString_3
mov ecx, esi
call fcn.00417250
lea ecx, [esp + 0x18]
mov byte [esp + 0x138], 2
call sub.MFC42.DLL_CFile::CFile
mov dword [esp + 0x138], edi
jmp 0x4133ca
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CFile::GetLength
mov ebp, eax
push ebp
call sub.MFC42.DLL_operatornew
add esp, 4
mov edi, eax
lea ecx, [esp + 0x18]
push ebp
push edi
call sub.MFC42.DLL_CFile::Read
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CFile::Close
mov eax, dword [esi + 0x330]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov eax, dword [esi + 0x370]
mov ecx, ebx
add eax, edi
push eax
call fcn.00420480
test al, al
jne 0x4132ee
push edi
call sub.MFC42.DLL_operatordelete
add esp, 4
mov ecx, esi
push 8
push 0xd
call fcn.00406e80
jmp 0x4133ae
add ebp, 0xfffffcf0
lea ecx, [edi + 0x300]
push ebp
push ecx
mov ecx, ebx
call fcn.00424b60
test al, al
je 0x41339c
cmp al, 1
jne 0x41333b
mov dx, word [esi + 0x212]
push 1
sub esp, 0x44
lea eax, [esi + 0x298]
mov ecx, esp
mov dword [esp + 0x5c], esp
push eax
mov word [esi + 0x29a], dx
call fcn.004065e0
mov ecx, ebx
call fcn.00424490
push 0x40
mov ecx, esi
call fcn.00415250
mov ecx, ebx
call fcn.004233b0
test eax, eax
jne 0x41335c
push 0x2b
push 0x6a
mov ecx, esi
call fcn.00406e80
jmp 0x4133ae
push 0xbb8
call dword [sym.imp.KERNEL32.dll_Sleep]
push edi
call sub.MFC42.DLL_operatordelete
add esp, 4
lea ecx, [esp + 0x18]
mov byte [esp + 0x138], 2
call sub.MFC42.DLL_CFile::CFile
lea ecx, [esp + 0x10]
mov dword [esp + 0x138], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov eax, 1
jmp 0x4133d5
push 0x41
mov ecx, esi
call fcn.00415250
push edi
call sub.MFC42.DLL_operatordelete
add esp, 4
lea ecx, [esp + 0x18]
mov byte [esp + 0x138], 2
call sub.MFC42.DLL_CFile::CFile
mov dword [esp + 0x138], 0xffffffff
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString
xor eax, eax
mov ecx, dword [esp + 0x130]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x12c
ret