Function at 0x44f421
Capabilities:
Delete file

Disassembly:
push 0x2dc
mov eax, 0x610fc7
call fcn.00429868
mov ebx, dword [ebp + 8]
xor edi, edi
mov dword [ebp - 0x2ac], ebx
test ebx, ebx
je 0x44f744
call fcn.0044e2dc
push 0x682610
lea ecx, [ebp - 0x2e0]
mov esi, eax
call fcn.0040ad69
push ebx
push edi
mov ecx, eax
mov dword [ebp - 4], edi
call fcn.00450367
push eax
lea ecx, [ebp - 0x2c8]
call fcn.00413889
push esi
lea ecx, [ebp - 0x2c8]
mov byte [ebp - 4], 1
call fcn.00411c2b
push eax
lea ecx, [ebp - 0x34]
call fcn.00413889
push 0x63e370
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 2
call fcn.00411c2b
push eax
lea ecx, [ebp - 0x4c]
call fcn.00413889
lea ecx, [ebp - 0x34]
call fcn.00413b5a
lea ecx, [ebp - 0x2c8]
call fcn.00413b5a
lea ecx, [ebp - 0x2e0]
call fcn.00413b5a
or dword [ebp - 0x2a8], 0xffffffff
push 0x250
lea eax, [ebp - 0x29c]
mov byte [ebp - 4], 7
push edi
push eax
call fcn.0042a970
add esp, 0xc
lea ecx, [ebp - 0x29c]
cmp dword [ebp - 0x38], 8
lea eax, [ebp - 0x4c]
cmovae eax, dword [ebp - 0x4c]
push ecx
push eax
lea ecx, [ebp - 0x2a8]
call fcn.0044dfe3
mov ebx, eax
lea edi, [ebp - 0x1c]
xor eax, eax
mov dword [ebp - 0x2a4], ebx
stosd dword es:[edi], eax
xor ecx, ecx
xor edx, edx
stosd dword es:[edi], eax
stosd dword es:[edi], eax
and dword [ebp - 0x14], ecx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x18], ecx
mov byte [ebp - 4], 8
test ebx, ebx
js 0x44f605
cmp ebx, 1
je 0x44f5ff
lea eax, [ebp - 0x29c]
push eax
call fcn.0044e4b9
test al, al
jne 0x44f5dd
test byte [ebp - 0x29c], 0x10
jne 0x44f5dd
lea eax, [ebp - 0x2a4]
push eax
push 0x104
lea eax, [ebp - 0x270]
push eax
call fcn.0044fb23
test eax, eax
js 0x44f5dd
lea eax, [ebp - 0x270]
push eax
lea ecx, [ebp - 0x2c8]
call fcn.0040ad69
lea eax, [ebp - 0x2c8]
mov byte [ebp - 4], 9
push eax
lea ecx, [ebp - 0x2e8]
call fcn.00411a2e
mov eax, dword [ebp - 0x288]
mov ecx, dword [ebp - 0x284]
mov dword [ebp - 0x2d0], eax
mov dword [ebp - 0x2cc], ecx
lea eax, [ebp - 0x2e8]
mov byte [ebp - 4], 0xa
push eax
lea ecx, [ebp - 0x1c]
call 0x44dbbd
lea ecx, [ebp - 0x2e8]
call fcn.00413b5a
lea ecx, [ebp - 0x2c8]
mov byte [ebp - 4], 8
call fcn.00413b5a
lea eax, [ebp - 0x29c]
push eax
lea ecx, [ebp - 0x2a8]
call 0x44e051
mov ebx, eax
mov dword [ebp - 0x2a4], ebx
test ebx, ebx
jns 0x44f52a
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x1c]
mov eax, ecx
sub eax, edx
sar eax, 5
cmp eax, dword [ebp + 0xc]
jbe 0x44f721
mov ebx, dword [ebp - 0x2ac]
mov esi, edx
xor edi, edi
and dword [ebp - 0x2a0], edi
sub ecx, esi
sar ecx, 5
test ecx, ecx
je 0x44f66e
xor ebx, ebx
lea eax, [esi + 0x18]
push eax
lea eax, [edx + 0x18]
add eax, ebx
push eax
call dword [sym.imp.KERNEL32.dll_CompareFileTime]
mov edx, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x2a0]
test eax, eax
jg 0x44f652
lea esi, [ebx + edx]
mov edi, ecx
mov eax, dword [ebp - 0x18]
inc ecx
sub eax, edx
mov dword [ebp - 0x2a0], ecx
sar eax, 5
add ebx, 0x20
cmp ecx, eax
jb 0x44f630
mov ebx, dword [ebp - 0x2ac]
lea eax, [ebp - 0x2a0]
push eax
push 0x104
push ebx
call fcn.0044fb23
test eax, eax
js 0x44f6dc
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x44f68e
mov eax, dword [esi]
push eax
push ebx
lea eax, [ebp - 0x34]
push eax
call fcn.004beac2
cmp dword [esi + 0x14], 8
mov byte [ebp - 4], 0xb
jb 0x44f6a5
mov esi, dword [esi]
push esi
push str.Removing_old_logfile_:__ls
push str.Logger
push 1
call fcn.0044ffa7
add esp, 0x10
lea eax, [ebp - 0x34]
cmp dword [ebp - 0x20], 8
cmovae eax, dword [ebp - 0x34]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
je 0x44f713
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 8
call fcn.00413b5a
cmp dword [ebp - 0x2a4], 0
jl 0x44f721
shl edi, 5
lea eax, [ebp - 0x2b0]
add edi, dword [ebp - 0x1c]
lea ecx, [ebp - 0x1c]
push edi
push eax
call 0x450334
mov ecx, dword [ebp - 0x18]
mov eax, ecx
mov edx, dword [ebp - 0x1c]
sub eax, edx
sar eax, 5
cmp eax, dword [ebp + 0xc]
ja 0x44f61b
jmp 0x44f721
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [ebp - 0x34]
call fcn.00413b5a
lea ecx, [ebp - 0x1c]
call fcn.004500eb
lea ecx, [ebp - 0x2a8]
call fcn.0044de3e
lea ecx, [ebp - 0x4c]
call fcn.00413b5a
call fcn.00429817
ret 8
push 0x80004005
call fcn.00413b3a
int3