Function at 0x40dfa0
Capabilities:
Delete file

Disassembly:
push 0xffffffffffffffff
push 0x4312c2
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x148
push ebx
push ebp
push esi
mov ebp, ecx
push edi
lea eax, [esp + 0x1c]
push str._Y__m__d
lea ecx, [esp + 0x54]
push eax
push ecx
call fcn.00427d26
mov ecx, eax
call fcn.00427d68
lea edx, [esp + 0x54]
mov ecx, 0x41
xor eax, eax
lea edi, [esp + 0x54]
push 0x104
push edx
rep stosd dword es:[edi], eax
push eax
mov dword [esp + 0x16c], 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea eax, [esp + 0x54]
push 0x5c
push eax
call fcn.0041bd80
mov byte [eax + 1], 0
mov edi, str.CapLog_fileop_
or ecx, 0xffffffff
xor eax, eax
add esp, 8
lea edx, [esp + 0x54]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
lea edx, [esp + 0x54]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, str.__________.txt
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x3c]
call fcn.0042802e
lea eax, [esp + 0x3c]
lea edx, [esp + 0x54]
push eax
push ecx
mov ecx, esp
mov dword [esp + 0x28], esp
push edx
mov byte [esp + 0x16c], 1
call fcn.00428960
mov ecx, ebp
call fcn.0040b700
mov eax, dword [esp + 0x44]
xor esi, esi
test eax, eax
jle 0x40e351
mov edi, dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea eax, [esp + 0x10]
push esi
push eax
lea ecx, [esp + 0x44]
call fcn.0040b910
mov ecx, dword [esp + 0x1c]
lea edx, [esp + 0x14]
push ecx
push str.date
push str.FILEOP
push edx
mov ecx, 0x441320
mov byte [esp + 0x170], 2
call fcn.004161f0
push ecx
lea eax, [esp + 0x14]
mov ecx, esp
mov dword [esp + 0x1c], esp
push eax
mov byte [esp + 0x168], 3
call fcn.00428667
lea ecx, [esp + 0x30]
push ecx
mov ecx, ebp
call fcn.0040b940
mov edx, dword [esp + 0x14]
mov eax, dword [eax]
push edx
push eax
call fcn.0041bda7
add esp, 8
lea ecx, [esp + 0x2c]
test eax, eax
setl bl
call fcn.004288f2
test bl, bl
je 0x40e16c
mov eax, dword [esp + 0x10]
push eax
call edi
test eax, eax
jne 0x40e2fe
lea ecx, [esp + 0x10]
lea edx, [esp + 0x28]
push ecx
push str.del.
push edx
call fcn.00428baf
mov eax, dword [eax]
push eax
mov eax, dword [esp + 0x14]
push eax
call fcn.0041c94d
add esp, 8
lea ecx, [esp + 0x28]
jmp 0x40e2f9
push ecx
lea edx, [esp + 0x14]
mov ecx, esp
mov dword [esp + 0x1c], esp
push edx
call fcn.00428667
lea eax, [esp + 0x38]
mov ecx, ebp
push eax
call fcn.0040b940
mov ecx, dword [esp + 0x14]
mov eax, dword [eax]
push ecx
push eax
call fcn.0041bda7
add esp, 8
lea ecx, [esp + 0x34]
test eax, eax
setg bl
call fcn.004288f2
push ecx
test bl, bl
mov ecx, esp
je 0x40e210
lea edx, [esp + 0x14]
mov dword [esp + 0x1c], esp
push edx
call fcn.00428667
lea eax, [esp + 0x28]
mov ecx, ebp
push eax
call fcn.0040b940
mov eax, dword [eax]
mov ecx, 0x441320
push eax
push str.date
push str.FILEOP
mov byte [esp + 0x16c], 4
call fcn.004160d0
lea ecx, [esp + 0x24]
mov byte [esp + 0x160], 3
call fcn.004288f2
push 0
push 0x43b32c
push str.FILEOP
mov ecx, 0x441320
call fcn.004161a0
jmp 0x40e25a
lea edx, [esp + 0x14]
mov dword [esp + 0x1c], esp
push edx
call fcn.00428667
lea eax, [esp + 0x3c]
mov ecx, ebp
push eax
call fcn.0040b940
mov eax, dword [eax]
mov ecx, 0x441320
push eax
push str.date
push str.FILEOP
mov byte [esp + 0x16c], 5
call fcn.004160d0
lea ecx, [esp + 0x38]
mov byte [esp + 0x160], 3
call fcn.004288f2
mov ecx, dword [esp + 0x44]
xor edx, edx
dec ecx
lea eax, [esp + 0x10]
cmp esi, ecx
sete dl
push edx
push ecx
mov ecx, esp
mov dword [esp + 0x20], esp
push eax
call fcn.00428667
mov ecx, ebp
call fcn.0040e3a0
test eax, eax
je 0x40e32f
push ecx
lea edx, [esp + 0x14]
mov ecx, esp
mov dword [esp + 0x1c], esp
push edx
call fcn.00428667
lea eax, [esp + 0x34]
mov ecx, ebp
push eax
call fcn.0040b940
mov ecx, dword [esp + 0x1c]
mov eax, dword [eax]
push ecx
push eax
call fcn.0041bda7
add esp, 8
lea ecx, [esp + 0x30]
test eax, eax
setne bl
call fcn.004288f2
test bl, bl
je 0x40e32f
mov edx, dword [esp + 0x10]
push edx
call edi
test eax, eax
jne 0x40e2fe
lea eax, [esp + 0x10]
lea ecx, [esp + 0x20]
push eax
push str.del.
push ecx
call fcn.00428baf
mov eax, dword [eax]
mov edx, dword [esp + 0x10]
push eax
push edx
call fcn.0041c94d
add esp, 8
lea ecx, [esp + 0x20]
call fcn.004288f2
lea ecx, [esp + 0x14]
mov byte [esp + 0x160], 2
call fcn.004288f2
lea ecx, [esp + 0x10]
mov byte [esp + 0x160], 1
call fcn.004288f2
mov eax, dword [esp + 0x44]
inc esi
cmp esi, eax
jl 0x40e0b4
jmp 0x40e351
lea ecx, [esp + 0x14]
mov byte [esp + 0x160], 2
call fcn.004288f2
lea ecx, [esp + 0x10]
mov byte [esp + 0x160], 1
call fcn.004288f2
push 0xffffffffffffffff
push 0
lea ecx, [esp + 0x44]
call fcn.004280c1
lea ecx, [esp + 0x3c]
mov byte [esp + 0x160], 0
call fcn.00428061
lea ecx, [esp + 0x1c]
mov dword [esp + 0x160], 0xffffffff
call fcn.004288f2
mov ecx, dword [esp + 0x158]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x154
ret