Function at 0x406e20
Capabilities:
Delete file

Disassembly:
push 0xffffffffffffffff
push 0x4094d8
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.00401f30
test eax, eax
jne 0x406f11
mov dword [esp + 0x24], edi
mov eax, dword [esp + 0x28]
mov byte [esp + 0x40], 4
cmp eax, ebx
je 0x406ed5
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 0x40709f
lea ecx, [esp + 0x18]
call fcn.00402570
mov ecx, esi
call fcn.00406c90
push 0x14
mov ecx, esi
call fcn.00406ba0
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.00406cf0
mov ebp, dword [sym.imp.KERNEL32.dll_DeleteFileA]
push str.delpolicy.exe
xor edi, edi
call ebp
test eax, eax
jne 0x406f72
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
cmp edi, 0x14
je 0x406f65
push 0x32
inc edi
call ebx
push str.delpolicy.exe
call ebp
test eax, eax
je 0x406f5b
xor ebx, ebx
mov eax, dword [esp + 0x2c]
xor edi, edi
cmp eax, ebx
jle 0x406ff0
lea eax, [esp + 0x10]
push edi
push eax
lea ecx, [esp + 0x2c]
call fcn.004061c0
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 0x406fb5
mov ecx, esp
mov dword [esp + 0x18], esp
push str.SC_DELETE_RemoteControl
call sub.MFC42.DLL_CString::CString_2
jmp 0x406fcb
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.00406cf0
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 0x406f7c
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.00406cf0
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.00406cf0
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.00406cf0
mov dword [esp + 0x24], 0x40a65c
mov eax, dword [esp + 0x28]
mov byte [esp + 0x40], 6
cmp eax, ebx
je 0x407065
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