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

Disassembly:
push ebp
sub esp, 0x800
lea ebp, [esp - 4]
mov eax, dword [0x6b06f8]
xor eax, ebp
mov dword [ebp + 0x800], eax
push 0x44
mov eax, 0x5b45e4
call fcn.00580e6b
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.00449165
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.0041b707
mov dword [ebp - 4], 4
lea eax, [ebx + 0xc0]
push eax
mov dword [ebx], vtable.AVSuiteService.0
call fcn.0046c663
mov byte [ebp - 4], 5
push edi
push 0x6b4630
push 0x6c8a34
call sub.gdiplus.dll_GdiplusStartup
push 0x40
call fcn.005737a7
pop ecx
mov dword [ebp - 0x1c], eax
mov byte [ebp - 4], 6
cmp eax, edi
je 0x43d526
push 0xffffffffffffffff
push str.VBRST
call fcn.004bbc60
pop ecx
pop ecx
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 7
xor ecx, ecx
inc ecx
mov eax, 0x6ae0d4
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 0x43d528
xor eax, eax
mov dword [ebp - 4], 0xa
mov dword [0x6c8a2c], eax
mov dword [ebp - 4], 9
test byte [ebp - 0x10], 2
je 0x43d55a
and dword [ebp - 0x10], 0xfffffffd
mov eax, dword [ebp - 0x24]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x43d55a
push dword [ebp - 0x24]
call fcn.004b7f30
pop ecx
push 5
pop esi
mov dword [ebp - 4], esi
test byte [ebp - 0x10], 1
je 0x43d57f
and dword [ebp - 0x10], 0xfffffffe
mov eax, dword [ebp - 0x14]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x43d57f
push dword [ebp - 0x14]
call fcn.004b7f30
pop ecx
push 1
push str.ServiceStarted
push 0x679be4
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 0x43d5a8
mov ecx, esi
mov esi, str.SMTHR.xml
rep movsd dword es:[edi], dword [esi]
lea eax, [ebp]
push eax
movsw word es:[edi], word [esi]
call fcn.0041d1f8
pop ecx
xor edi, edi
push edi
push str.AllLogsDelete
push str.Main
call fcn.004019e0
test al, al
jne 0x43d6c2
lea eax, [ebp - 0x50]
push eax
push edi
mov esi, str.c:PCDCTRkrn.log
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesExW]
test eax, eax
je 0x43d6c2
push edi
push edi
push 3
push edi
push 1
push 0x40000000
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x14], eax
mov esi, 0x989680
cmp eax, edi
je 0x43d65d
push edi
call fcn.0057533b
pop ecx
mov dword [ebp - 0x24], edx
cdq
push edi
add eax, 0xb6109100
push esi
adc edx, 2
push edx
push eax
call fcn.00578e90
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.00578ed0
push edi
mov dword [ebp - 0x1c], eax
call fcn.0057533b
pop ecx
push 0x1e
push str.AllLogsTips
push str.Main
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 0x43d6c0
jg 0x43d6b5
cmp esi, dword [ebp - 0x18]
jbe 0x43d6c0
push str.c:PCDCTRkrn.log
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
xor edi, edi
push str.c:PCDCTRkrn.log
mov dword [0x6af38c], 7
call fcn.00532e8c
push edi
push str.c:PCDCTRkrnMailLogs
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
cmp dword [0x6af38c], 1
jl 0x43d6ff
push str.Started
push str.AVSuiteService::AVSuiteService
push 1
call fcn.00532962
add esp, 0xc
mov dword [0x6c8a30], 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.0057372c
add ebp, 0x804
leave
ret 0xc