Function at 0x4528ab
Capabilities:
Delete file

Disassembly:
push 0x284
mov eax, 0x60d895
call fcn.0042d958
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x284], ebx
test ebx, ebx
je 0x452c62
and dword [ebp - 0x28], 0
and dword [ebp - 4], 0
call fcn.004521a0
push eax
push ebx
push str._ls_ls.log
lea eax, [ebp - 0x28]
push 0x104
push eax
call fcn.00451ddc
add esp, 0x14
test eax, eax
js 0x452c4a
or dword [ebp - 0x27c], 0xffffffff
push 0x250
xor ebx, ebx
mov byte [ebp - 4], 1
lea eax, [ebp - 0x278]
push ebx
push eax
call fcn.0042e9f0
mov eax, dword [ebp - 0x28]
add esp, 0xc
test eax, eax
jne 0x452925
mov eax, ebx
jmp 0x452928
add eax, 0xc
lea ecx, [ebp - 0x278]
push ecx
push eax
lea ecx, [ebp - 0x27c]
call fcn.00451d6e
mov esi, eax
lea edi, [ebp - 0x24]
xor eax, eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 4], 2
test esi, esi
js 0x452c37
cmp esi, 1
je 0x452c03
lea eax, [ebp - 0x278]
push eax
call fcn.004523b4
test al, al
jne 0x452a1b
test byte [ebp - 0x278], 0x10
jne 0x452a1b
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], ebx
push eax
push 0x104
lea eax, [ebp - 0x24c]
push eax
call fcn.00452cfa
test eax, eax
js 0x452a1b
push dword [ebp - 0x18]
lea eax, [ebp - 0x24c]
mov dword [ebp - 0x14], ebx
push eax
lea ecx, [ebp - 0x14]
call fcn.00451aeb
test eax, eax
js 0x452a0b
lea eax, [ebp - 0x14]
mov dword [ebp - 0x290], ebx
push eax
lea eax, [ebp - 0x290]
push eax
call fcn.00451c71
mov eax, dword [ebp - 0x264]
mov ecx, dword [ebp - 0x260]
mov dword [ebp - 0x28c], eax
lea eax, [ebp - 0x290]
mov dword [ebp - 0x288], ecx
lea ecx, [ebp - 0x24]
push eax
call 0x451aa3
mov esi, eax
xor ecx, ecx
lea eax, [ebp - 0x290]
xchg dword [eax], ecx
test ecx, ecx
je 0x452a0b
call fcn.0041700a
xor ecx, ecx
lea eax, [ebp - 0x14]
xchg dword [eax], ecx
test ecx, ecx
je 0x452a1b
call fcn.0041700a
test esi, esi
js 0x452c03
cmp dword [ebp - 0x27c], 0xffffffff
je 0x452a89
mov edi, dword [0x6b5ed8]
mov eax, dword [edi]
mov esi, dword [eax + 8]
lea eax, [ebp - 0x278]
push eax
push dword [ebp - 0x27c]
mov ecx, esi
call dword [0x62c6dc]
mov ecx, edi
call esi
test eax, eax
jne 0x452a7a
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x12
je 0x452a81
movzx esi, ax
or esi, 0x80070000
test eax, eax
cmovle esi, eax
test esi, esi
jns 0x45295a
jmp 0x452c03
mov esi, ebx
jmp 0x45295a
xor esi, esi
inc esi
jmp 0x452c03
mov esi, 0x8000ffff
jmp 0x452c03
test ecx, ecx
jne 0x452a98
int3
mov eax, dword [ebp - 0x24]
xor edx, edx
push 0xc
pop edi
div edi
test eax, eax
jne 0x452aa7
int3
and dword [ebp - 0x280], 0
xor edi, edi
mov ebx, dword [ebp - 0x20]
test ecx, ecx
je 0x452ae9
lea eax, [ebx + 4]
push eax
push edi
lea ecx, [ebp - 0x24]
call fcn.00451a0f
add eax, 4
push eax
call dword [sym.imp.KERNEL32.dll_CompareFileTime]
test eax, eax
jg 0x452ae3
push edi
lea ecx, [ebp - 0x24]
call fcn.00451a0f
mov ebx, eax
mov dword [ebp - 0x280], edi
inc edi
cmp edi, dword [ebp - 0x1c]
jb 0x452ab7
mov edi, dword [ebp - 0x284]
lea eax, [ebp - 0x14]
and dword [ebp - 0x14], 0
push eax
push 0x104
push edi
call fcn.00452cfa
test eax, eax
js 0x452be9
and dword [ebp - 0x18], 0
push dword [ebp - 0x14]
lea ecx, [ebp - 0x18]
push edi
call fcn.00451aeb
test eax, eax
js 0x452bd5
mov ecx, dword [ebx]
lea eax, [ebp - 0x14]
and dword [ebp - 0x14], 0
push eax
push 0x104
lea eax, [ecx + 0xc]
neg ecx
sbb ecx, ecx
and ecx, eax
push ecx
call fcn.00452cfa
test eax, eax
js 0x452bd5
mov ecx, dword [ebx]
push dword [ebp - 0x14]
lea eax, [ecx + 0xc]
neg ecx
sbb ecx, ecx
and ecx, eax
push ecx
lea ecx, [ebp - 0x18]
call fcn.004526c8
test eax, eax
js 0x452bd5
and dword [ebp - 0x14], 0
mov ecx, dword [ebx]
mov byte [ebp - 4], 4
lea eax, [ecx + 0xc]
neg ecx
sbb ecx, ecx
and ecx, eax
lea eax, [ebp - 0x14]
push ecx
push str.Removing_old_logfile_:__ls
push 0x208
push eax
call fcn.00451ddc
add esp, 0x10
test eax, eax
js 0x452bc5
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x452b9b
add eax, 0xc
push eax
push 0x638974
push str.Logger
push 1
call fcn.004531b7
mov eax, dword [ebp - 0x18]
add esp, 0x10
test eax, eax
je 0x452bba
add eax, 0xc
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
je 0x452c11
xor ecx, ecx
lea eax, [ebp - 0x14]
xchg dword [eax], ecx
test ecx, ecx
je 0x452bd5
call fcn.0041700a
mov byte [ebp - 4], 2
lea eax, [ebp - 0x18]
xor ecx, ecx
xchg dword [eax], ecx
test ecx, ecx
je 0x452be9
call fcn.0041700a
test esi, esi
js 0x452c37
push 1
push dword [ebp - 0x280]
lea ecx, [ebp - 0x24]
call 0x452819
mov esi, eax
test esi, esi
js 0x452c37
mov ecx, dword [ebp - 0x1c]
cmp ecx, dword [ebp + 0xc]
ja 0x452a93
jmp 0x452c37
call dword [sym.imp.KERNEL32.dll_GetLastError]
xor ecx, ecx
lea eax, [ebp - 0x14]
xchg dword [eax], ecx
test ecx, ecx
je 0x452c27
call fcn.0041700a
xor ecx, ecx
lea eax, [ebp - 0x18]
xchg dword [eax], ecx
test ecx, ecx
je 0x452c37
call fcn.0041700a
lea ecx, [ebp - 0x24]
call 0x451992
lea ecx, [ebp - 0x27c]
call fcn.004519b7
xor ecx, ecx
lea eax, [ebp - 0x28]
xchg dword [eax], ecx
test ecx, ecx
je 0x452c5a
call fcn.0041700a
call fcn.0042d907
ret 8
push 0x80004005
call fcn.00415bd1
int3