Function at 0x43d464
Capabilities:
Delete file

Disassembly:
push 0x2dc
mov eax, 0x5f61ec
call fcn.004e1c06
mov ebx, dword [ebp + 8]
xor edi, edi
mov dword [ebp - 0x2ac], ebx
test ebx, ebx
je 0x43d787
call fcn.0043c31f
push 0x653c04
lea ecx, [ebp - 0x2e0]
mov esi, eax
call fcn.0040ab57
push ebx
push edi
mov ecx, eax
mov dword [ebp - 4], edi
call fcn.0043e3e6
push eax
lea ecx, [ebp - 0x2c8]
call fcn.0040a998
push esi
lea ecx, [ebp - 0x2c8]
mov byte [ebp - 4], 1
call fcn.0040a742
push eax
lea ecx, [ebp - 0x34]
call fcn.0040a998
push 0x622f58
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 2
call fcn.0040a742
push eax
lea ecx, [ebp - 0x4c]
call fcn.0040a998
lea ecx, [ebp - 0x34]
call fcn.00405a95
lea ecx, [ebp - 0x2c8]
call fcn.00405a95
lea ecx, [ebp - 0x2e0]
call fcn.00405a95
or dword [ebp - 0x2a8], 0xffffffff
push 0x250
lea eax, [ebp - 0x29c]
mov byte [ebp - 4], 7
push edi
push eax
call fcn.0041ab50
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.0043c026
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 0x43d648
cmp ebx, 1
je 0x43d642
lea eax, [ebp - 0x29c]
push eax
call fcn.0043c4fc
test al, al
jne 0x43d620
test byte [ebp - 0x29c], 0x10
jne 0x43d620
lea eax, [ebp - 0x2a4]
push eax
push 0x104
lea eax, [ebp - 0x270]
push eax
call fcn.0043db66
test eax, eax
js 0x43d620
lea eax, [ebp - 0x270]
push eax
lea ecx, [ebp - 0x2c8]
call fcn.0040ab57
lea eax, [ebp - 0x2c8]
mov byte [ebp - 4], 9
push eax
lea ecx, [ebp - 0x2e8]
call fcn.0040ada4
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 0x43bcc0
lea ecx, [ebp - 0x2e8]
call fcn.00405a95
lea ecx, [ebp - 0x2c8]
mov byte [ebp - 4], 8
call fcn.00405a95
lea eax, [ebp - 0x29c]
push eax
lea ecx, [ebp - 0x2a8]
call 0x43c094
mov ebx, eax
mov dword [ebp - 0x2a4], ebx
test ebx, ebx
jns 0x43d56d
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 0x43d764
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 0x43d6b1
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 0x43d695
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 0x43d673
mov ebx, dword [ebp - 0x2ac]
lea eax, [ebp - 0x2a0]
push eax
push 0x104
push ebx
call fcn.0043db66
test eax, eax
js 0x43d71f
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x43d6d1
mov eax, dword [esi]
push eax
push ebx
lea eax, [ebp - 0x34]
push eax
call fcn.004a3c32
cmp dword [esi + 0x14], 8
mov byte [ebp - 4], 0xb
jb 0x43d6e8
mov esi, dword [esi]
push esi
push str.Removing_old_logfile_:__ls
push str.Logger
push 1
call fcn.0043e026
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 0x43d756
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 8
call fcn.00405a95
cmp dword [ebp - 0x2a4], 0
jl 0x43d764
shl edi, 5
lea eax, [ebp - 0x2b0]
add edi, dword [ebp - 0x1c]
lea ecx, [ebp - 0x1c]
push edi
push eax
call 0x43e3b3
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 0x43d65e
jmp 0x43d764
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [ebp - 0x34]
call fcn.00405a95
lea ecx, [ebp - 0x1c]
call fcn.0043e16a
lea ecx, [ebp - 0x2a8]
call fcn.0043beb5
lea ecx, [ebp - 0x4c]
call fcn.00405a95
call fcn.004e1bb5
ret 8
push 0x80004005
call fcn.004059b0
int3