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

Disassembly:
push 0xffffffffffffffff
push 0x5d5f71
mov eax, dword fs:[0]
push eax
sub esp, 0x844
mov eax, dword [0x6d26f8]
xor eax, esp
mov dword [esp + 0x840], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x6d26f8]
xor eax, esp
push eax
lea eax, [esp + 0x858]
mov dword fs:[0], eax
mov edi, dword [esp + 0x874]
mov eax, dword [esp + 0x86c]
mov ebp, dword [esp + 0x868]
mov esi, dword [esp + 0x870]
push ecx
push edi
push eax
xor ebx, ebx
push ebp
mov ecx, esi
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x24], ebx
call fcn.004285e0
mov dword [esp + 0x860], ebx
lea eax, [ebp + 0xc0]
push eax
mov dword [ebp], vtable.AVSuiteService.0
call fcn.00495f60
mov byte [esp + 0x860], 1
push ebx
push 0x6d6630
push 0x6eaa34
call sub.gdiplus.dll_GdiplusStartup
push 0x40
call fcn.005939b5
mov esi, eax
add esp, 4
mov dword [esp + 0x1c], esi
mov byte [esp + 0x860], 2
test esi, esi
je 0x4586c8
push 0xffffffffffffffff
push str.VBRST
call fcn.004dbef0
add esp, 8
mov dword [esp + 0x24], eax
mov byte [esp + 0x860], 3
mov dword [esp + 0x14], 1
mov dword [esp + 0x18], 0x6d00d4
mov ecx, 0x6d00d4
mov edx, 1
lock xadd dword [ecx], edx
mov dword [esp + 0x860], 4
lea eax, [esp + 0x18]
push eax
mov ebx, 3
push esi
lea ecx, [esp + 0x2c]
mov dword [esp + 0x1c], ebx
call fcn.00401450
jmp 0x4586ca
xor eax, eax
mov dword [esp + 0x860], 6
mov dword [0x6eaa2c], eax
mov dword [esp + 0x860], 5
test bl, 2
je 0x45870b
and ebx, 0xfffffffd
mov dword [esp + 0x14], ebx
mov ecx, dword [esp + 0x18]
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x45870b
mov eax, dword [esp + 0x18]
push eax
call fcn.004d8200
add esp, 4
mov dword [esp + 0x860], 1
test bl, 1
je 0x45873c
and ebx, 0xfffffffe
mov dword [esp + 0x14], ebx
mov ecx, dword [esp + 0x24]
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x45873c
mov eax, dword [esp + 0x24]
push eax
call fcn.004d8200
add esp, 4
push 1
push str.ServiceStarted
push 0x69bbdc
call fcn.00401ce0
call fcn.004021b0
push 0
push 0x23
lea ecx, [esp + 0x5c]
push ecx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea eax, [esp + 0x54]
add eax, 0xfffffffe
lea ebx, [ebx]
mov cx, word [eax + 2]
add eax, 2
test cx, cx
jne 0x458770
mov edx, dword [str.SMTHR.xml]
mov ecx, dword [0x69b834]
mov dword [eax], edx
mov edx, dword [0x69b838]
mov dword [eax + 4], ecx
mov ecx, dword [0x69b83c]
mov dword [eax + 8], edx
mov edx, dword [0x69b840]
mov dword [eax + 0xc], ecx
mov cx, word [0x69b844]
mov dword [eax + 0x10], edx
mov word [eax + 0x14], cx
lea ecx, [esp + 0x54]
call fcn.0042ad90
push 0
push str.AllLogsDelete
push str.Main
call fcn.00401df0
test al, al
jne 0x4588c7
lea edx, [esp + 0x30]
push edx
push 0
push str.c:PCDCTRkrn.log
call dword [sym.imp.KERNEL32.dll_GetFileAttributesExW]
test eax, eax
je 0x4588c7
push 0
push 0
push 3
push 0
push 1
push 0x40000000
push str.c:PCDCTRkrn.log
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
test esi, esi
je 0x45885a
push 0
call fcn.0059553b
add esp, 4
mov dword [esp + 0x28], edx
cdq
push 0
add eax, 0xb6109100
push 0x989680
adc edx, 2
push edx
push eax
call fcn.00599090
push 0
mov dword [esp + 0x20], eax
push 0
lea eax, [esp + 0x24]
push eax
push esi
mov dword [esp + 0x30], edx
call dword [sym.imp.KERNEL32.dll_SetFileTime]
push esi
call dword [sym.imp.KERNEL32.dll_FlushFileBuffers]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x34]
mov eax, dword [esp + 0x38]
push 0
add ecx, 0x2ac18000
push 0x989680
adc eax, 0xfe624e21
push eax
push ecx
call fcn.005990d0
push 0
mov ebx, eax
call fcn.0059553b
add esp, 4
push 0x1e
push str.AllLogsTips
push str.Main
mov esi, eax
mov edi, edx
call fcn.00401bc0
imul eax, eax, 0x15180
cdq
mov dword [esp + 0x1c], eax
mov ecx, edx
mov eax, ebx
cdq
sub esi, eax
sbb edi, edx
cmp edi, ecx
jl 0x4588c7
jg 0x4588bc
cmp esi, dword [esp + 0x1c]
jbe 0x4588c7
push str.c:PCDCTRkrn.log
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push str.c:PCDCTRkrn.log
mov dword [0x6d138c], 7
call fcn.005530ec
push 0
push str.c:PCDCTRkrnMailLogs
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
cmp dword [0x6d138c], 1
jl 0x458905
push str.Started
push str.AVSuiteService::AVSuiteService
push 1
call fcn.00552bc2
add esp, 0xc
mov dword [0x6eaa30], ebp
mov dword [esp + 0x860], 0xffffffff
mov eax, ebp
mov ecx, dword [esp + 0x858]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x840]
xor ecx, esp
call fcn.0059393a
add esp, 0x850
ret 0x10