Function at 0x414760
Capabilities:
Delete file

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x429eec
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
lea eax, [esp + 0x30]
lea ebx, [esi + 0x2e0]
push eax
push 0x80
mov ecx, ebx
call fcn.004237d0
test eax, eax
jne 0x4147b3
push 0x31
push 0x6a
mov ecx, esi
call fcn.00406e80
jmp 0x414afc
mov al, byte [esp + 0x30]
cmp al, 4
jne 0x4147c2
mov al, 1
jmp 0x414afe
cmp al, 6
jne 0x4147df
push 0x82
mov ecx, ebx
call fcn.00424ad0
push 0x7d0
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x414818
cmp al, 3
jne 0x414818
lea ecx, [esp + 0x30]
push ecx
mov ecx, ebx
call fcn.0041ffe0
test eax, eax
jne 0x414804
push eax
push eax
push str.id_error
call sub.MFC42.DLL_AfxMessageBox
jmp 0x414afc
mov edx, dword [esp + 0x3c]
mov eax, dword [esp + 0x40]
mov dword [esi + 0x170], edx
mov dword [esi + 0x174], eax
push 0x3e8
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 0x414848
push 0x30
push 0x6a
mov ecx, esi
call fcn.00406e80
jmp 0x414afc
lea edx, [esp + 0x30]
mov ecx, ebx
push edx
push 0xd
mov byte [esp + 0x38], 2
call fcn.004237d0
test eax, eax
jne 0x414870
push eax
push eax
push str.0d_error
call sub.MFC42.DLL_AfxMessageBox
jmp 0x414afc
cmp byte [esp + 0x30], 1
jne 0x414887
push 1
push 0x49
mov ecx, esi
call fcn.00406e80
jmp 0x414afc
push ecx
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 0x414afc
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 0x414afc
push str.shengji_soft_boot33_
lea eax, [esp + 0x2c]
push 0x434a44
push eax
call sub.MFC42.DLL_operator_1
push str.shangjiami.bin
lea ecx, [esp + 0x30]
push eax
push ecx
mov dword [esp + 0x144], 0
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 0x414afc
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 edx, dword [esp + 0x10]
push 0
push 0
push edx
lea ecx, [esp + 0x24]
mov byte [esp + 0x144], 3
call sub.MFC42.DLL_CFile::Open
test eax, eax
jne 0x4149b4
push ecx
lea eax, [esp + 0x14]
mov ecx, esp
mov dword [esp + 0x18], esp
push eax
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 0x414af3
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]
push edi
mov ecx, ebx
call fcn.00420480
test al, al
jne 0x414a10
push edi
call sub.MFC42.DLL_operatordelete
add esp, 4
mov ecx, esi
push 0xb
push 0xd
call fcn.00406e80
jmp 0x414ad7
add ebp, 0xffffff70
lea ecx, [edi + 0x80]
push ebp
push ecx
mov ecx, ebx
call fcn.00424b60
test al, al
je 0x414ac5
cmp al, 1
jne 0x414a67
mov cx, word [esi + 0x212]
mov dx, word [esi + 0x210]
push 1
lea eax, [esi + 0x298]
sub esp, 0x44
mov word [esi + 0x29a], cx
mov ecx, esp
mov dword [esp + 0x5c], esp
push eax
mov word [eax], 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 0x414a88
push 0x26
push 0x6a
mov ecx, esi
call fcn.00406e80
jmp 0x414ad7
push 0x1388
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 al, 1
jmp 0x414afe
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 al, al
mov ecx, dword [esp + 0x130]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x12c
ret