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

Disassembly:
push 0xffffffffffffffff
push 0x584181
mov eax, dword fs:[0]
push eax
sub esp, 0x844
mov eax, dword [0x6531f0]
xor eax, esp
mov dword [esp + 0x840], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x6531f0]
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.004227b0
mov dword [esp + 0x860], ebx
lea eax, [ebp + 0xc0]
push eax
mov dword [ebp], vtable.AVSuiteService.0
call fcn.0046b010
mov byte [esp + 0x860], 1
push 0x40
call fcn.004fdddd
mov esi, eax
add esp, 4
mov dword [esp + 0x1c], esi
mov byte [esp + 0x860], 2
test esi, esi
je 0x447d28
push 0xffffffffffffffff
push str.SSHAV
call fcn.00483890
add esp, 8
mov dword [esp + 0x24], eax
mov byte [esp + 0x860], 3
mov dword [esp + 0x14], 1
mov dword [esp + 0x18], 0x6510b4
mov ecx, 0x6510b4
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.00401560
jmp 0x447d2a
xor eax, eax
mov dword [esp + 0x860], 6
mov dword [0x66b060], eax
mov dword [esp + 0x860], 5
test bl, 2
je 0x447d6b
and ebx, 0xfffffffd
mov dword [esp + 0x14], ebx
mov ecx, dword [esp + 0x18]
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x447d6b
mov eax, dword [esp + 0x18]
push eax
call fcn.0047fb60
add esp, 4
mov dword [esp + 0x860], 1
test bl, 1
je 0x447d9c
and ebx, 0xfffffffe
mov dword [esp + 0x14], ebx
mov ecx, dword [esp + 0x24]
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x447d9c
mov eax, dword [esp + 0x24]
push eax
call fcn.0047fb60
add esp, 4
push 1
push str.ServiceStarted
push 0x634698
call fcn.00402150
call fcn.00402620
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 0x447dd0
mov edx, dword [str.SSHAV.xml]
mov ecx, dword [0x634378]
mov dword [eax], edx
mov edx, dword [0x63437c]
mov dword [eax + 4], ecx
mov ecx, dword [0x634380]
mov dword [eax + 8], edx
mov edx, dword [0x634384]
mov dword [eax + 0xc], ecx
mov cx, word [0x634388]
mov dword [eax + 0x10], edx
mov word [eax + 0x14], cx
lea ecx, [esp + 0x54]
call fcn.004256a0
push 0
push str.AllLogsDelete
push str.Main
call fcn.00402260
test al, al
jne 0x447f27
lea edx, [esp + 0x30]
push edx
push 0
push str.c:_sshxsrv.log
call dword [sym.imp.KERNEL32.dll_GetFileAttributesExW]
test eax, eax
je 0x447f27
push 0
push 0
push 3
push 0
push 1
push 0x40000000
push str.c:_sshxsrv.log
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
test esi, esi
je 0x447eba
push 0
call fcn.004fef09
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.00502a90
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.00502ad0
push 0
mov ebx, eax
call fcn.004fef09
add esp, 4
push 0x1e
push str.AllLogsTips
push str.Main
mov esi, eax
mov edi, edx
call fcn.00401fc0
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 0x447f27
jg 0x447f1c
cmp esi, dword [esp + 0x1c]
jbe 0x447f27
push str.c:_sshxsrv.log
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push str.c:_sshxsrv.log
mov dword [0x65236c], 7
call fcn.004fa8ec
cmp dword [0x65236c], 1
jl 0x447f58
push str.Started
push str.AVSuiteService::AVSuiteService
push 1
call fcn.004fa3c2
add esp, 0xc
mov dword [0x66b064], 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.004fdb4a
add esp, 0x850
ret 0x10