Function at 0x406e60
Capabilities:
Delete file

Disassembly:
push 0xffffffffffffffff
push 0x409628
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x28
push ebx
push ebp
push esi
push edi
mov esi, ecx
lea eax, [esp + 0x4c]
lea ecx, [esi + 8]
push eax
mov dword [esp + 0x44], 1
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x48]
push ecx
lea ecx, [esi + 4]
call sub.MFC42.DLL_CString::operator_1
push ecx
lea edx, [esp + 0x4c]
mov ecx, esp
mov dword [esp + 0x14], esp
push edx
call sub.MFC42.DLL_CString::CString_3
lea ecx, [esp + 0x1c]
call fcn.00401000
mov edi, 0x40a65c
xor ebx, ebx
mov dword [esp + 0x24], edi
mov dword [esp + 0x28], ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x2c], ebx
lea eax, [esp + 0x24]
lea ecx, [esp + 0x18]
push eax
mov byte [esp + 0x44], 3
call fcn.00401f70
test eax, eax
jne 0x406f51
mov dword [esp + 0x24], edi
mov eax, dword [esp + 0x28]
mov byte [esp + 0x40], 4
cmp eax, ebx
je 0x406f15
mov ecx, dword [esp + 0x2c]
push ecx
push eax
call sub.MFC42.DLL_DestructElements
mov edx, dword [esp + 0x28]
push edx
call sub.MFC42.DLL_operatordelete
add esp, 4
lea ecx, [esp + 0x18]
mov dword [esp + 0x24], 0x40a400
mov byte [esp + 0x40], 1
call fcn.004010a0
lea ecx, [esp + 0x48]
mov byte [esp + 0x40], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x4c]
mov dword [esp + 0x40], 0xffffffff
call sub.MFC42.DLL_CString::CString
xor eax, eax
jmp 0x4070df
lea ecx, [esp + 0x18]
call fcn.004025b0
mov ecx, esi
call fcn.00406cd0
push 0x14
mov ecx, esi
call fcn.00406be0
push ecx
mov ecx, esp
mov dword [esp + 0x14], esp
push str.delpolicy__delpolicy
call sub.MFC42.DLL_CString::CString_2
mov ecx, esi
call fcn.00406d30
mov ebp, dword [sym.imp.KERNEL32.dll_DeleteFileA]
push str.delpolicy.exe
xor edi, edi
call ebp
test eax, eax
jne 0x406fb2
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
cmp edi, 0x14
je 0x406fb0
push 0x32
inc edi
call ebx
push str.delpolicy.exe
call ebp
test eax, eax
je 0x406f9b
xor ebx, ebx
mov eax, dword [esp + 0x2c]
xor edi, edi
cmp eax, ebx
jle 0x407030
lea eax, [esp + 0x10]
push edi
push eax
lea ecx, [esp + 0x2c]
call fcn.00406200
push str.winvnc.exe
lea ecx, [esp + 0x14]
mov byte [esp + 0x44], 5
call sub.MFC42.DLL_CString::Find
cmp eax, ebx
push ecx
jl 0x406ff5
mov ecx, esp
mov dword [esp + 0x18], esp
push str.SC_DELETE_RemoteControl
call sub.MFC42.DLL_CString::CString_2
jmp 0x40700b
mov edx, esp
mov dword [esp + 0x18], esp
lea eax, [esp + 0x14]
push str.__uninstall
push eax
push edx
call sub.MFC42.DLL_operator
mov ecx, esi
call fcn.00406d30
mov ecx, dword [esp + 0x10]
push ecx
call ebp
lea ecx, [esp + 0x10]
mov byte [esp + 0x40], 3
call sub.MFC42.DLL_CString::CString
mov eax, dword [esp + 0x2c]
inc edi
cmp edi, eax
jl 0x406fbc
push ecx
mov ecx, esp
mov dword [esp + 0x18], esp
push str.snetcfg__u_ms_jdpassthru
call sub.MFC42.DLL_CString::CString_2
mov ecx, esi
call fcn.00406d30
push ecx
mov ecx, esp
mov dword [esp + 0x18], esp
push str.usb_uninstall
call sub.MFC42.DLL_CString::CString_2
mov ecx, esi
call fcn.00406d30
push ecx
mov ecx, esp
mov dword [esp + 0x18], esp
push str.uninsfsdrv__unfsdrv
call sub.MFC42.DLL_CString::CString_2
mov ecx, esi
call fcn.00406d30
mov dword [esp + 0x24], 0x40a65c
mov eax, dword [esp + 0x28]
mov byte [esp + 0x40], 6
cmp eax, ebx
je 0x4070a5
mov edx, dword [esp + 0x2c]
push edx
push eax
call sub.MFC42.DLL_DestructElements
mov eax, dword [esp + 0x28]
push eax
call sub.MFC42.DLL_operatordelete
add esp, 4
lea ecx, [esp + 0x18]
mov dword [esp + 0x24], 0x40a400
mov byte [esp + 0x40], 1
call fcn.004010a0
lea ecx, [esp + 0x48]
mov byte [esp + 0x40], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x4c]
mov dword [esp + 0x40], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov eax, 1
mov ecx, dword [esp + 0x38]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x34
ret 8