Function at 0x483ed8
Capabilities:
Delete file

Disassembly:
push 0x288
mov eax, 0x5a8bc0
call fcn.00462cd6
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x288], ebx
test ebx, ebx
je 0x484267
xor esi, esi
mov dword [ebp - 0x1c], esi
mov dword [ebp - 4], esi
call fcn.004834de
push eax
push ebx
push str._ls_ls.log
lea eax, [ebp - 0x1c]
push 0x104
push eax
call fcn.00482ca4
add esp, 0x14
test eax, eax
js 0x48424f
or dword [ebp - 0x270], 0xffffffff
push 0x250
lea eax, [ebp - 0x26c]
push esi
push eax
call fcn.00463cc0
mov eax, dword [ebp - 0x1c]
add esp, 0xc
test eax, eax
jne 0x483f4c
mov eax, esi
jmp 0x483f4f
add eax, 0xc
lea ecx, [ebp - 0x26c]
push ecx
push eax
lea ecx, [ebp - 0x270]
call fcn.00482c04
mov ebx, eax
lea edi, [ebp - 0x27c]
xor eax, eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov dword [ebp - 0x27c], esi
mov dword [ebp - 0x278], esi
mov dword [ebp - 0x274], esi
mov byte [ebp - 4], 2
test ebx, ebx
js 0x48422f
cmp ebx, 1
je 0x48407e
lea eax, [ebp - 0x26c]
push eax
call fcn.00483a42
test al, al
jne 0x48405e
test byte [ebp - 0x26c], 0x10
jne 0x48405e
lea eax, [ebp - 0x280]
mov dword [ebp - 0x280], esi
push eax
push 0x104
lea eax, [ebp - 0x240]
push eax
call fcn.0048458e
test eax, eax
js 0x48405e
push dword [ebp - 0x280]
lea eax, [ebp - 0x240]
mov dword [ebp - 0x14], esi
push eax
lea ecx, [ebp - 0x14]
call fcn.0048279e
test eax, eax
js 0x48404e
lea eax, [ebp - 0x14]
mov dword [ebp - 0x294], esi
push eax
lea eax, [ebp - 0x294]
push eax
call fcn.00414f5b
mov eax, dword [ebp - 0x258]
lea ecx, [ebp - 0x27c]
mov dword [ebp - 0x290], eax
mov eax, dword [ebp - 0x254]
mov dword [ebp - 0x28c], eax
lea eax, [ebp - 0x294]
push eax
call 0x48272d
mov ebx, eax
xor ecx, ecx
lea eax, [ebp - 0x294]
xchg dword [eax], ecx
test ecx, ecx
je 0x48404e
call fcn.00415424
xor ecx, ecx
lea eax, [ebp - 0x14]
xchg dword [eax], ecx
test ecx, ecx
je 0x48405e
call fcn.00415424
test ebx, ebx
js 0x48407e
lea eax, [ebp - 0x26c]
push eax
lea ecx, [ebp - 0x270]
call fcn.00482c5d
mov ebx, eax
test ebx, ebx
jns 0x483f8d
mov eax, dword [ebp + 0xc]
cmp dword [ebp - 0x274], eax
jbe 0x48422f
push esi
lea ecx, [ebp - 0x27c]
call fcn.00482650
cmp dword [ebp - 0x274], 0
mov edi, eax
mov dword [ebp - 0x284], esi
jbe 0x4840e5
lea ecx, [edi + 4]
push ecx
push esi
lea ecx, [ebp - 0x27c]
call fcn.00482650
add eax, 4
push eax
call dword [sym.imp.KERNEL32.dll_CompareFileTime]
test eax, eax
jg 0x4840dc
push esi
lea ecx, [ebp - 0x27c]
call fcn.00482650
mov edi, eax
mov dword [ebp - 0x284], esi
inc esi
cmp esi, dword [ebp - 0x274]
jb 0x4840aa
mov esi, dword [ebp - 0x288]
lea eax, [ebp - 0x14]
and dword [ebp - 0x14], 0
push eax
push 0x104
push esi
call fcn.0043fd03
test eax, eax
js 0x4841da
and dword [ebp - 0x18], 0
push dword [ebp - 0x14]
lea ecx, [ebp - 0x18]
push esi
call fcn.0048279e
test eax, eax
js 0x4841c6
mov esi, dword [edi]
and dword [ebp - 0x14], 0
lea eax, [esi + 0xc]
neg esi
sbb esi, esi
and esi, eax
lea eax, [ebp - 0x14]
push eax
push 0x104
push esi
call fcn.0043fd03
test eax, eax
js 0x4841c6
push dword [ebp - 0x14]
lea ecx, [ebp - 0x18]
push esi
call fcn.00483cf6
test eax, eax
js 0x4841c6
and dword [ebp - 0x14], 0
mov ecx, dword [edi]
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.00482ca4
add esp, 0x10
test eax, eax
js 0x4841b6
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x48418c
add eax, 0xc
push eax
push 0x5c1bfc
push 0x5c1c04
push 1
call fcn.00484717
mov eax, dword [ebp - 0x18]
add esp, 0x10
test eax, eax
je 0x4841ab
add eax, 0xc
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
je 0x484209
xor ecx, ecx
lea eax, [ebp - 0x14]
xchg dword [eax], ecx
test ecx, ecx
je 0x4841c6
call fcn.00415424
mov byte [ebp - 4], 2
lea eax, [ebp - 0x18]
xor ecx, ecx
xchg dword [eax], ecx
test ecx, ecx
je 0x4841da
call fcn.00415424
test ebx, ebx
js 0x48422f
push 1
push dword [ebp - 0x284]
lea ecx, [ebp - 0x27c]
call 0x483e46
mov ebx, eax
test ebx, ebx
js 0x48422f
mov eax, dword [ebp + 0xc]
cmp dword [ebp - 0x274], eax
jbe 0x48422f
xor esi, esi
jmp 0x48408d
call dword [sym.imp.KERNEL32.dll_GetLastError]
xor ecx, ecx
lea eax, [ebp - 0x14]
xchg dword [eax], ecx
test ecx, ecx
je 0x48421f
call fcn.00415424
xor ecx, ecx
lea eax, [ebp - 0x18]
xchg dword [eax], ecx
test ecx, ecx
je 0x48422f
call fcn.00415424
lea ecx, [ebp - 0x27c]
call 0x482604
cmp dword [ebp - 0x270], 0xffffffff
je 0x48424f
push dword [ebp - 0x270]
call dword [sym.imp.KERNEL32.dll_FindClose]
xor ecx, ecx
lea eax, [ebp - 0x1c]
xchg dword [eax], ecx
test ecx, ecx
je 0x48425f
call fcn.00415424
call fcn.00462c80
ret 8
push 0x80004005
call fcn.0040a96d
int3