Function at 0xd8d830
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0xdb7c8b
mov eax, dword fs:[0]
push eax
sub esp, 0xec
push ebx
push esi
push edi
mov eax, dword [0xdc451c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push str.DCAgentInstallDir
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x14], 0
call fcn.00d8cc80
add esp, 4
test eax, eax
jne 0xd8d888
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 1
push 0x400
call fcn.00d9e3a7
push 2
push 0x400
mov dword [0xdc6d5c], eax
call fcn.00d9e3a7
mov ebx, eax
mov eax, dword [ebp - 0x14]
add esp, 0x10
mov ecx, eax
nop
mov dx, word [eax]
add eax, 2
test dx, dx
jne 0xd8d8b0
sub eax, ecx
mov esi, ecx
lea edi, [ebx - 2]
mov cx, word [edi + 2]
add edi, 2
test cx, cx
jne 0xd8d8c2
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [ebx - 2]
nop
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0xd8d8e0
mov eax, dword [ebp - 0x14]
mov ecx, 0xd
mov esi, str.logsdcprocessmoniter.log
rep movsd dword es:[edi], dword [esi]
xor edi, edi
cmp eax, edi
je 0xd8d90a
push eax
call fcn.00d9e1b8
add esp, 4
mov eax, dword [0xdc6d5c]
push ebx
push 0xdbe1dc
push eax
call fcn.00d9caf8
add esp, 0xc
cmp ebx, edi
je 0xd8d92b
push ebx
call fcn.00d9e1b8
add esp, 4
mov ecx, dword [0xdc6d5c]
push ecx
lea edx, [ebp - 0xf8]
push edx
call fcn.00d90b00
lea esi, [ebp - 0xf8]
mov dword [ebp - 4], edi
call fcn.00d8f8d0
mov eax, dword [ebp - 0xf8]
mov eax, dword [eax + 4]
test byte [ebp + eax - 0xec], 6
jne 0xd8d97f
mov ecx, dword [ebp + eax - 0xc0]
mov edx, dword [ecx]
mov edx, dword [edx + 0x28]
push 1
push 1
push edi
push edi
lea eax, [ebp - 0x40]
push eax
call edx
mov ecx, dword [ebp - 0x38]
mov eax, dword [ebp - 0x40]
jmp 0xd8d992
mov ecx, dword [0xdb9454]
mov eax, dword [0xdb9450]
mov dword [ebp - 0x3c], ecx
xor ecx, ecx
mov dword [ebp - 0x34], edi
add eax, ecx
mov dword [ebp - 0x14], eax
fild dword [ebp - 0x14]
jns 0xd8d9a2
fadd dword [0xdbf480]
fmul qword [0xdbf468]
lea eax, [ebp - 0xe8]
fstp qword [ebp - 0x18]
call fcn.00d93400
test eax, eax
jne 0xd8d9ed
mov edx, dword [ebp - 0xf8]
mov ecx, dword [edx + 4]
mov eax, dword [ebp + ecx - 0xec]
lea ecx, [ebp + ecx - 0xf8]
or eax, 2
cmp dword [ecx + 0x38], edi
jne 0xd8d9dc
or eax, 4
and eax, 0x17
mov dword [ecx + 0xc], eax
test dword [ecx + 0x10], eax
je 0xd8d9ed
push edi
call fcn.00d822c0
fld qword [0xdbf478]
fcomp qword [ebp - 0x18]
fnstsw ax
test ah, 5
jp 0xd8da09
mov eax, dword [0xdc6d5c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
call fcn.00d9e1f2
mov ecx, dword [0xdc6d5c]
add eax, 0x20
push eax
push 0xdbc5d4
push ecx
call fcn.00da0131
add esp, 0xc
push str.Log_Open_time_:
call fcn.00d9f6dc
add esp, 4
push edi
call fcn.00da0839
mov dword [ebp - 0x1c], edx
lea edx, [ebp - 0x20]
add esp, 4
push edx
mov dword [ebp - 0x20], eax
call fcn.00da04db
add esp, 4
mov esi, eax
mov ecx, 9
lea edi, [ebp - 0x48]
rep movsd dword es:[edi], dword [esi]
mov eax, dword [ebp - 0x48]
mov ecx, dword [ebp - 0x44]
mov edx, dword [ebp - 0x40]
push eax
mov eax, dword [ebp - 0x3c]
push ecx
mov ecx, dword [ebp - 0x38]
push edx
mov edx, dword [ebp - 0x34]
push eax
inc ecx
push ecx
add edx, 0x76c
push edx
push str.__d__02d__02d__02d:_02d:_02d_
call fcn.00d9f6dc
add esp, 0x1c
push 0xdbed00
call fcn.00d9f6dc
fld qword [0xdbf478]
add esp, 4
fcomp qword [ebp - 0x18]
fnstsw ax
test ah, 5
jp 0xd8dad3
call fcn.00d8d7d0
push str._INFO_
call fcn.00d9f6dc
add esp, 4
push str.Log_file_exceeded_the_size_limit._Log_rotated_succesfully____n
call fcn.00d9f6dc
add esp, 4
call fcn.00d9e1f2
add eax, 0x20
push eax
call fcn.00d9ece2
add esp, 4
lea ecx, [ebp - 0x90]
mov dword [ebp - 4], 0xffffffff
call fcn.00d90c70
lea eax, [ebp - 0x90]
push eax
mov dword [ebp - 0x90], 0xdbf104
call fcn.00d9b36b
add esp, 4
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret