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

Disassembly:
push ebp
sub esp, 0x800
lea ebp, [esp - 4]
mov eax, dword [0x6c56f8]
xor eax, ebp
mov dword [ebp + 0x800], eax
push 0x44
mov eax, 0x5bb026
call fcn.0058705b
mov edi, dword [ebp + 0x810]
mov eax, dword [ebp + 0x80c]
mov esi, dword [ebp + 0x814]
and dword [ebp - 0x10], 0
push edi
push edx
push ecx
push eax
push ebx
mov dword [ebp - 0x2c], ebx
call fcn.00448d73
xor edi, edi
mov dword [ebp - 4], edi
lea eax, [ebx + 0x9c]
push eax
mov ecx, esi
mov dword [ebx], vtable.ServiceGeneric.0
mov dword [ebp - 0x1c], eax
call fcn.0041b27c
mov dword [ebp - 4], 4
lea eax, [ebx + 0xc0]
push eax
mov dword [ebx], vtable.AVSuiteService.0
call fcn.0046ef87
mov byte [ebp - 4], 5
push edi
push 0x6ca030
push 0x6de440
call sub.gdiplus.dll_GdiplusStartup
push 0x40
call fcn.00579757
pop ecx
mov dword [ebp - 0x1c], eax
mov byte [ebp - 4], 6
cmp eax, edi
je 0x43d01c
push 0xffffffffffffffff
push 0x6849d4
call fcn.004c1c50
pop ecx
pop ecx
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 7
xor ecx, ecx
inc ecx
mov eax, 0x6c30d4
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x24], eax
lock xadd dword [eax], ecx
mov dword [ebp - 4], 8
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 0x1c]
mov dword [ebp - 0x10], 3
call fcn.0040126b
jmp 0x43d01e
xor eax, eax
mov dword [ebp - 4], 0xa
mov dword [0x6de438], eax
mov dword [ebp - 4], 9
test byte [ebp - 0x10], 2
je 0x43d050
and dword [ebp - 0x10], 0xfffffffd
mov eax, dword [ebp - 0x24]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x43d050
push dword [ebp - 0x24]
call fcn.004bdf50
pop ecx
push 5
pop esi
mov dword [ebp - 4], esi
test byte [ebp - 0x10], 1
je 0x43d075
and dword [ebp - 0x10], 0xfffffffe
mov eax, dword [ebp - 0x14]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x43d075
push dword [ebp - 0x14]
call fcn.004bdf50
pop ecx
push 1
push str.ServiceStarted
push 0x6849ec
call fcn.00401924
call fcn.00401cbc
push edi
push 0x23
lea eax, [ebp]
push eax
push edi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea edi, [ebp]
dec edi
dec edi
mov ax, word [edi + 2]
inc edi
inc edi
test ax, ax
jne 0x43d09e
mov ecx, esi
mov esi, 0x6849f0
rep movsd dword es:[edi], dword [esi]
lea eax, [ebp]
push eax
movsw word es:[edi], word [esi]
call fcn.0041cf79
pop ecx
xor edi, edi
push edi
push str.AllLogsDelete
push 0x684a18
call fcn.004019e0
test al, al
jne 0x43d1b9
lea eax, [ebp - 0x50]
push eax
push edi
push 0x684a20
call dword [sym.imp.KERNEL32.dll_GetFileAttributesExW]
test eax, eax
je 0x43d1b9
push edi
push edi
push 3
push edi
push 1
push 0x40000000
push 0x684a3c
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x14], eax
mov esi, 0x989680
cmp eax, edi
je 0x43d156
push edi
call fcn.0057b2eb
pop ecx
mov dword [ebp - 0x24], edx
cdq
push edi
add eax, 0xb6109100
push esi
adc edx, 2
push edx
push eax
call fcn.0057f080
push edi
mov dword [ebp - 0x20], eax
push edi
lea eax, [ebp - 0x20]
push eax
push dword [ebp - 0x14]
mov dword [ebp - 0x1c], edx
call dword [sym.imp.KERNEL32.dll_SetFileTime]
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_FlushFileBuffers]
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0x4c]
mov eax, dword [ebp - 0x48]
push edi
add ecx, 0x2ac18000
push esi
adc eax, 0xfe624e21
push eax
push ecx
call fcn.0057f0c0
push edi
mov dword [ebp - 0x1c], eax
call fcn.0057b2eb
pop ecx
push 0x1e
push str.AllLogsTips
push 0x684a64
mov esi, eax
mov edi, edx
call fcn.00401849
imul eax, eax, 0x15180
cdq
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x1c]
mov ecx, edx
cdq
sub esi, eax
sbb edi, edx
cmp edi, ecx
jl 0x43d1b9
jg 0x43d1ae
cmp esi, dword [ebp - 0x18]
jbe 0x43d1b9
push 0x684a6c
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push str.c:Vibkrn.log
mov dword [0x6c438c], 7
call fcn.00538e4c
cmp dword [0x6c438c], 1
jl 0x43d1ea
push str.Started
push str.AVSuiteService::AVSuiteService
push 1
call fcn.00538922
add esp, 0xc
mov dword [0x6de43c], ebx
or dword [ebp - 4], 0xffffffff
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x800]
xor ecx, ebp
call fcn.005796dc
add ebp, 0x804
leave
ret 0xc