Function at 0x411910
Capabilities:
Delete file

Disassembly:
push 0xffffffffffffffff
push 0x431892
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x148
push ebx
push ebp
push esi
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__________.idx
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
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
call fcn.004121d0
mov eax, dword [esp + 0x4c]
add esp, 8
xor edi, edi
xor esi, esi
test eax, eax
jle 0x411c8b
mov ebp, 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.NETIDX
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
call fcn.00412590
mov edx, dword [esp + 0x1c]
mov eax, dword [eax]
push edx
push eax
call fcn.0041bda7
add esp, 0x10
lea ecx, [esp + 0x2c]
test eax, eax
setl bl
call fcn.004288f2
test bl, bl
je 0x411aaf
mov eax, dword [esp + 0x10]
push eax
call ebp
test eax, eax
jne 0x411c38
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 0x411c33
push ecx
lea edx, [esp + 0x14]
mov ecx, esp
mov dword [esp + 0x1c], esp
push edx
call fcn.00428667
lea eax, [esp + 0x38]
push eax
call fcn.00412590
mov ecx, dword [esp + 0x1c]
mov eax, dword [eax]
push ecx
push eax
call fcn.0041bda7
add esp, 0x10
lea ecx, [esp + 0x34]
test eax, eax
setg bl
call fcn.004288f2
push ecx
test bl, bl
mov ecx, esp
je 0x411b52
lea edx, [esp + 0x14]
mov dword [esp + 0x1c], esp
push edx
call fcn.00428667
lea eax, [esp + 0x28]
push eax
call fcn.00412590
add esp, 8
mov eax, dword [eax]
mov ecx, 0x441320
push eax
push str.date
push str.NETIDX
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.NETIDX
mov ecx, 0x441320
call fcn.004161a0
jmp 0x411b9d
lea edx, [esp + 0x14]
mov dword [esp + 0x1c], esp
push edx
call fcn.00428667
lea eax, [esp + 0x3c]
push eax
call fcn.00412590
add esp, 8
mov eax, dword [eax]
mov ecx, 0x441320
push eax
push str.date
push str.NETIDX
mov byte [esp + 0x16c], 5
call fcn.004160d0
lea ecx, [esp + 0x38]
mov byte [esp + 0x160], 3
call fcn.004288f2
push ecx
lea edx, [esp + 0x14]
mov ecx, esp
mov dword [esp + 0x1c], esp
push edx
call fcn.00428667
call fcn.004123e0
add esp, 4
test eax, eax
je 0x411c69
push ecx
lea eax, [esp + 0x14]
mov ecx, esp
mov dword [esp + 0x1c], esp
push eax
mov edi, 1
call fcn.00428667
lea ecx, [esp + 0x34]
push ecx
call fcn.00412590
mov edx, dword [esp + 0x24]
mov eax, dword [eax]
push edx
push eax
call fcn.0041bda7
add esp, 0x10
lea ecx, [esp + 0x30]
test eax, eax
setne bl
call fcn.004288f2
test bl, bl
je 0x411c69
mov eax, dword [esp + 0x10]
push eax
call ebp
test eax, eax
jne 0x411c38
lea ecx, [esp + 0x10]
lea edx, [esp + 0x20]
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 + 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 0x4119f9
jmp 0x411c8b
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
test edi, edi
je 0x411ca1
call fcn.004132e0
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