Function at 0x43d7fa
Capabilities:
Create directory
Delete file
Get common file path

Disassembly:
push ebp
sub esp, 0x800
lea ebp, [esp - 4]
mov eax, dword [0x6bd6f8]
xor eax, ebp
mov dword [ebp + 0x800], eax
push 0x44
mov eax, 0x5b4349
call fcn.00580b4b
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.0044937e
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.0041b387
mov dword [ebp - 4], 4
lea eax, [ebx + 0xc0]
push eax
mov dword [ebx], vtable.AVSuiteService.0
call fcn.0046c228
mov byte [ebp - 4], 5
push edi
push 0x6c2020
push 0x6d6414
call sub.gdiplus.dll_GdiplusStartup
push 0x40
call fcn.00573487
pop ecx
mov dword [ebp - 0x1c], eax
mov byte [ebp - 4], 6
cmp eax, edi
je 0x43d8e4
push 0xffffffffffffffff
push 0x67cf90
call fcn.004bb9d0
pop ecx
pop ecx
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 7
xor ecx, ecx
inc ecx
mov eax, 0x6bb0d4
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.00401262
jmp 0x43d8e6
xor eax, eax
mov dword [ebp - 4], 0xa
mov dword [0x6d640c], eax
mov dword [ebp - 4], 9
test byte [ebp - 0x10], 2
je 0x43d918
and dword [ebp - 0x10], 0xfffffffd
mov eax, dword [ebp - 0x24]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x43d918
push dword [ebp - 0x24]
call fcn.004b7ca0
pop ecx
push 5
pop esi
mov dword [ebp - 4], esi
test byte [ebp - 0x10], 1
je 0x43d93d
and dword [ebp - 0x10], 0xfffffffe
mov eax, dword [ebp - 0x14]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x43d93d
push dword [ebp - 0x14]
call fcn.004b7ca0
pop ecx
push 1
push str.ServiceStarted
push 0x67cfa8
call fcn.0040191b
call fcn.00401cb3
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 0x43d966
mov ecx, esi
mov esi, 0x67cfac
rep movsd dword es:[edi], dword [esi]
lea eax, [ebp]
push eax
movsw word es:[edi], word [esi]
call fcn.0041ced2
pop ecx
xor edi, edi
push edi
push str.AllLogsDelete
push 0x67cfd4
call fcn.004019d7
test al, al
jne 0x43da83
lea eax, [ebp - 0x50]
push eax
push edi
push 0x67cfdc
call dword [sym.imp.KERNEL32.dll_GetFileAttributesExW]
test eax, eax
je 0x43da83
push edi
push edi
push 3
push edi
push 1
push 0x40000000
push 0x67d000
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x14], eax
mov esi, 0x989680
cmp eax, edi
je 0x43da1e
push edi
call fcn.0057501b
pop ecx
mov dword [ebp - 0x24], edx
cdq
push edi
add eax, 0xb6109100
push esi
adc edx, 2
push edx
push eax
call fcn.00578b70
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.00578bb0
push edi
mov dword [ebp - 0x1c], eax
call fcn.0057501b
pop ecx
push 0x1e
push str.AllLogsTips
push 0x67d030
mov esi, eax
mov edi, edx
call fcn.00401840
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 0x43da81
jg 0x43da76
cmp esi, dword [ebp - 0x18]
jbe 0x43da81
push 0x67d038
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
xor edi, edi
push str.c:PCDCTRkrn.log
mov dword [0x6bc38c], 7
call fcn.00532b7c
push edi
push str.c:PCDCTRkrnMailLogs
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
cmp dword [0x6bc38c], 1
jl 0x43dac0
push str.Started
push str.AVSuiteService::AVSuiteService
push 1
call fcn.00532652
add esp, 0xc
mov dword [0x6d6410], 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.0057340c
add ebp, 0x804
leave
ret 0xc