Function at 0x403000
Capabilities:
Delete file
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x41aa93
mov eax, dword fs:[0]
push eax
push ecx
mov eax, 0x1021c
call fcn.00416270
mov eax, dword [0x4213d4]
xor eax, ebp
mov dword [ebp - 0x18], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
push str.DDSystemUpdateStarted
xor ebx, ebx
push ebx
push 0x100000
mov dword [ebp - 0x100b0], ebx
call dword [sym.imp.KERNEL32.dll_OpenEventW]
mov dword [0x423660], eax
cmp eax, ebx
je 0x403069
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
jmp 0x403853
lea eax, [ebp - 0x100d8]
push 1
mov ecx, eax
push ecx
mov dword [ebp - 0x100bc], 0xc
mov dword [ebp - 0x100b4], ebx
mov dword [ebp - 0x100b8], eax
call dword [sym.imp.ADVAPI32.dll_InitializeSecurityDescriptor]
mov edx, dword [ebp - 0x100b8]
push ebx
push ebx
push 1
push edx
call dword [sym.imp.ADVAPI32.dll_SetSecurityDescriptorDacl]
push str.DDSystemUpdateStarted
push ebx
push ebx
lea eax, [ebp - 0x100bc]
push eax
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [0x423660], eax
cmp eax, ebx
je 0x40305f
call fcn.00401e80
test al, al
je 0x40305f
lea ecx, [ebp - 0x1001c]
push ecx
push 0x8000
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
cmp eax, ebx
je 0x40305f
xor edx, edx
push eax
lea eax, [ebp - 0x1001c]
lea esi, [ebp - 0x10054]
mov dword [ebp - 0x10040], 7
mov dword [ebp - 0x10044], ebx
mov word [ebp - 0x10054], dx
call fcn.00405560
mov edi, esi
mov esi, 0x4223e4
mov dword [ebp - 4], ebx
call fcn.004053f0
or edi, 0xffffffff
mov dword [ebp - 4], edi
cmp dword [ebp - 0x10040], 8
jb 0x403135
mov eax, dword [ebp - 0x10054]
push eax
call fcn.0040a478
add esp, 4
cmp byte [ebp + 8], 0
je 0x403310
mov eax, 0x41e288
lea ecx, [ebp - 0x10038]
call fcn.00404880
lea ecx, [ebp - 0x10038]
push ecx
mov dword [ebp - 4], 1
call fcn.00402570
add esp, 4
lea esi, [ebp - 0x10038]
mov dword [ebp - 4], edi
call fcn.004048c0
mov eax, str.AVTray.exe
lea ecx, [ebp - 0x10038]
call fcn.00404880
lea edx, [ebp - 0x10038]
push edx
mov dword [ebp - 4], 2
call fcn.00402570
add esp, 4
lea esi, [ebp - 0x10038]
mov dword [ebp - 4], edi
call fcn.004048c0
mov eax, str.AVScanningService.exe
lea ecx, [ebp - 0x10038]
call fcn.00404880
lea eax, [ebp - 0x10038]
push eax
mov dword [ebp - 4], 3
call fcn.00402570
add esp, 4
lea esi, [ebp - 0x10038]
mov dword [ebp - 4], edi
call fcn.004048c0
mov eax, str.AVAssistant.exe
lea ecx, [ebp - 0x10038]
call fcn.00404880
lea ecx, [ebp - 0x10038]
push ecx
mov dword [ebp - 4], 4
call fcn.00402570
add esp, 4
lea esi, [ebp - 0x10038]
mov dword [ebp - 4], edi
call fcn.004048c0
mov edi, 7
push str.updates
lea eax, [ebp - 0x1008c]
push 0x4223e4
push eax
call fcn.00408040
add esp, 0xc
lea ecx, [ebp - 0x1008c]
mov dword [ebp - 4], 9
push ecx
lea esi, [ebp - 0x100b0]
mov byte [ebp - 4], 0xa
call fcn.00408fe0
mov byte [ebp - 4], 0xb
mov ecx, dword [ebp - 0x1008c]
mov esi, 8
cmp dword [ebp - 0x10078], esi
jae 0x403267
lea ecx, [ebp - 0x1008c]
mov eax, dword [0x4223e4]
cmp dword [0x4223f8], esi
jae 0x403279
mov eax, 0x4223e4
push ecx
push eax
call dword [0x423674]
test eax, eax
jne 0x4032f1
push str._nethandler.dll
lea edx, [ebp - 0x1008c]
push edx
lea eax, [ebp - 0x10070]
push eax
call fcn.00408040
add esp, 0xc
cmp dword [eax + 0x14], esi
jb 0x4032a7
mov eax, dword [eax]
mov ebx, dword [sym.imp.KERNEL32.dll_DeleteFileW]
push eax
call ebx
lea esi, [ebp - 0x10070]
call fcn.004048c0
push str._netfilter.exe
lea ecx, [ebp - 0x1008c]
push ecx
lea edx, [ebp - 0x10070]
push edx
call fcn.00408040
add esp, 0xc
cmp dword [eax + 0x14], 8
jb 0x4032de
mov eax, dword [eax]
push eax
call ebx
lea esi, [ebp - 0x10070]
call fcn.004048c0
mov esi, 8
mov eax, dword [ebp - 0x100b0]
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [ebp - 4], 9
jmp 0x40358c
xor edx, edx
mov edi, 7
push 8
mov eax, 0x41e288
lea esi, [ebp - 0x10038]
mov dword [ebp - 0x10024], edi
mov dword [ebp - 0x10028], 0
mov word [ebp - 0x10038], dx
call fcn.00405560
mov eax, esi
mov dword [ebp - 4], 5
or ebx, 1
push eax
mov dword [ebp - 0x100b0], ebx
call fcn.00402450
add esp, 4
test al, al
jne 0x4033b0
xor ecx, ecx
push 0xa
mov eax, str.AVTray.exe
lea esi, [ebp - 0x10054]
mov dword [ebp - 0x10040], edi
mov dword [ebp - 0x10044], 0
mov word [ebp - 0x10054], cx
call fcn.00405560
mov edx, esi
mov dword [ebp - 4], 6
or ebx, 2
push edx
mov dword [ebp - 0x100b0], ebx
call fcn.00402450
add esp, 4
mov byte [ebp - 0x100a9], 0
test al, al
je 0x4033b7
mov byte [ebp - 0x100a9], 1
test bl, 2
je 0x4033f0
and ebx, 0xfffffffd
cmp dword [ebp - 0x10040], 8
jb 0x4033d7
mov eax, dword [ebp - 0x10054]
push eax
call fcn.0040a478
add esp, 4
xor ecx, ecx
mov dword [ebp - 0x10040], edi
mov dword [ebp - 0x10044], 0
mov word [ebp - 0x10054], cx
mov dword [ebp - 4], 0xffffffff
test bl, 1
je 0x403417
and ebx, 0xfffffffe
cmp dword [ebp - 0x10024], 8
jb 0x403417
mov edx, dword [ebp - 0x10038]
push edx
call fcn.0040a478
add esp, 4
cmp byte [ebp - 0x100a9], 0
je 0x403430
push 0x1f4
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x403310
mov eax, str.AVScanningService.exe__p
lea ecx, [ebp - 0x10038]
call fcn.00404880
push 1
lea eax, [ebp - 0x10038]
call fcn.00402720
add esp, 4
lea esi, [ebp - 0x10038]
call fcn.004048c0
jmp 0x403460
xor eax, eax
mov word [ebp - 0x10038], ax
push 0x15
mov eax, str.AVScanningService.exe
lea esi, [ebp - 0x10038]
mov dword [ebp - 0x10024], edi
mov dword [ebp - 0x10028], 0
call fcn.00405560
mov ecx, esi
push ecx
mov dword [ebp - 4], edi
call fcn.00402450
add esp, 4
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x10024], 8
mov bl, al
jb 0x4034ba
mov edx, dword [ebp - 0x10038]
push edx
call fcn.0040a478
add esp, 4
test bl, bl
je 0x4034cb
push 0x1f4
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x403460
mov eax, str.AVAssistant.exe__p
lea ecx, [ebp - 0x10038]
call fcn.00404880
push 1
lea eax, [ebp - 0x10038]
call fcn.00402720
add esp, 4
lea esi, [ebp - 0x10038]
call fcn.004048c0
jmp 0x403500
xor eax, eax
mov word [ebp - 0x10038], ax
push 0xf
mov eax, str.AVAssistant.exe
lea esi, [ebp - 0x10038]
mov dword [ebp - 0x10024], edi
mov dword [ebp - 0x10028], 0
call fcn.00405560
lea ecx, [ebp - 0x10038]
mov esi, 8
push ecx
mov dword [ebp - 4], esi
call fcn.00402450
add esp, 4
mov dword [ebp - 4], 0xffffffff
mov bl, al
cmp dword [ebp - 0x10024], esi
jb 0x403562
mov edx, dword [ebp - 0x10038]
push edx
call fcn.0040a478
add esp, 4
test bl, bl
je 0x403214
push 0x1f4
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x403500
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x100b0], esp
push str._backup
push 0x4223e4
push ecx
call fcn.00408040
add esp, 0xc
call fcn.004027b0
lea edx, [ebp - 0x100c4]
add esp, 0x1c
push edx
call fcn.0040a527
add esp, 4
lea eax, [ebp - 0x1022c]
push eax
call fcn.004049a0
mov byte [ebp - 4], 0xd
mov eax, dword [0x4223e4]
cmp dword [0x4223f8], esi
jae 0x4035e3
mov eax, 0x4223e4
mov ecx, dword [ebp - 0x100c0]
mov edx, dword [ebp - 0x100c4]
push ecx
push edx
push str._backup_
push ecx
push eax
lea eax, [ebp - 0x1021c]
push eax
call fcn.00408170
add esp, 0xc
push eax
call fcn.00408170
add esp, 8
push eax
call fcn.00404290
lea ecx, [ebp - 0x100a8]
lea eax, [ebp - 0x1022c]
call fcn.00404a40
sub esp, 0x1c
mov ecx, esp
mov bl, 0xe
mov byte [ebp - 4], bl
xor edx, edx
mov dword [ebp - 0x100b0], esp
push edx
lea eax, [ebp - 0x100a8]
push eax
mov dword [ecx + 0x14], edi
mov dword [ecx + 0x10], 0
or eax, 0xffffffff
mov word [ecx], dx
call fcn.00405460
call fcn.004027b0
add esp, 0x1c
push str.updates
lea ecx, [ebp - 0x10070]
push 0x4223e4
push ecx
call fcn.00408040
add esp, 0xc
push 1
lea edx, [ebp - 0x100a8]
push edx
push 0x4223e4
push eax
mov byte [ebp - 4], 0xf
call fcn.00402820
mov esi, 8
add esp, 0x10
mov byte [ebp - 4], bl
cmp dword [ebp - 0x1005c], esi
jb 0x4036b1
mov eax, dword [ebp - 0x10070]
push eax
call fcn.0040a478
add esp, 4
push 0x1f4
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [0x423670], 0
je 0x403782
lea ecx, [ebp - 0x10184]
push ecx
call fcn.004049a0
mov byte [ebp - 4], 0x10
cmp dword [0x423670], 0x800
push str.__qn_SET_SHUTDOWN_MODE_FALSE_
push ecx
jbe 0x40372b
lea edx, [ebp - 0x10174]
push str.msiexec.exe__i
push edx
call fcn.00408170
push eax
call fcn.00408440
add esp, 0x10
push eax
call fcn.00408170
add esp, 8
lea ecx, [ebp - 0x10070]
lea eax, [ebp - 0x10184]
call fcn.00404a40
push 1
call fcn.00402720
add esp, 4
jmp 0x403764
lea eax, [ebp - 0x10174]
push str.msiexec.exe__fv
push eax
call fcn.00408170
push eax
call fcn.00408440
add esp, 0x10
push eax
call fcn.00408170
add esp, 8
lea ecx, [ebp - 0x10070]
lea eax, [ebp - 0x10184]
call fcn.00404a40
call fcn.004026b0
lea esi, [ebp - 0x10070]
call fcn.004048c0
lea ecx, [ebp - 0x10184]
mov byte [ebp - 4], bl
call fcn.00403870
mov esi, 8
mov eax, str.AVScanningService.exe__s
lea ecx, [ebp - 0x10038]
call fcn.00404880
push 1
lea eax, [ebp - 0x10038]
call fcn.00402720
add esp, 4
cmp dword [ebp - 0x10024], esi
jb 0x4037b9
mov ecx, dword [ebp - 0x10038]
push ecx
call fcn.0040a478
add esp, 4
mov eax, str.AVAssistant.exe__s
lea ecx, [ebp - 0x10070]
call fcn.00404880
push 1
lea eax, [ebp - 0x10070]
call fcn.00402720
add esp, 4
cmp dword [ebp - 0x1005c], esi
jb 0x4037f0
mov edx, dword [ebp - 0x10070]
push edx
call fcn.0040a478
add esp, 4
push 0x41dfd4
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp dword [ebp - 0x10094], esi
jb 0x403812
mov eax, dword [ebp - 0x100a8]
push eax
call fcn.0040a478
add esp, 4
xor ecx, ecx
mov word [ebp - 0x100a8], cx
lea ecx, [ebp - 0x1022c]
mov dword [ebp - 0x10094], edi
mov dword [ebp - 0x10098], 0
mov byte [ebp - 4], 9
call fcn.00403870
cmp dword [ebp - 0x10078], esi
jb 0x403851
mov edx, dword [ebp - 0x1008c]
push edx
call fcn.0040a478
add esp, 4
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x18]
xor ecx, ebp
call fcn.00409cc0
mov esp, ebp
pop ebp
ret