Function at 0x41c4e0
Capabilities:
Delete file

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x586bbc
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x1b0
mov eax, dword [0x60e9b0]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, edx
mov dword [ebp - 0x17c], esi
mov eax, ecx
mov dword [ebp - 0x184], eax
mov edi, dword [ebx + 8]
test eax, eax
je 0x41c8e8
test esi, esi
je 0x41c8e8
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea eax, [ebp - 0x174]
mov dword [ebp - 0x19c], 0
push eax
push 0
xorps xmm0, xmm0
mov dword [ebp - 0x188], 0
push esi
movups xmmword [ebp - 0x198], xmm0
call dword [sym.imp.KERNEL32.dll_GetFileAttributesExW]
test eax, eax
je 0x41c5f6
lea eax, [ebp - 0x148]
push eax
lea eax, [ebp - 0x160]
push eax
call dword [sym.imp.KERNEL32.dll_FileTimeToSystemTime]
lea eax, [ebp - 0x130]
push eax
lea eax, [ebp - 0x148]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_SystemTimeToTzSpecificLocalTime]
movzx eax, word [ebp - 0x130]
mov dword [ebp - 0x188], eax
movzx eax, word [ebp - 0x12e]
dec eax
mov dword [ebp - 0x18c], eax
movzx eax, word [ebp - 0x12a]
mov dword [ebp - 0x190], eax
movzx eax, word [ebp - 0x128]
mov dword [ebp - 0x194], eax
movzx eax, word [ebp - 0x126]
mov dword [ebp - 0x198], eax
movzx eax, word [ebp - 0x124]
mov dword [ebp - 0x19c], eax
push 0x104
lea eax, [ebp - 0x120]
push 0
push eax
call fcn.00559270
add esp, 0xc
test edi, edi
je 0x41c6b7
push edi
push esi
call dword [sym.imp.SHLWAPI.dll_StrStrIW]
cmp eax, esi
jne 0x41c6b7
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea ecx, [ebp - 0x150]
lea eax, [esi + eax*2]
push eax
call fcn.00405a20
lea edx, [ebp - 0x150]
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x138]
call fcn.0041c910
mov ecx, eax
cmp dword [ecx + 0x14], 0x10
jb 0x41c65c
mov ecx, dword [ecx]
mov esi, 0x104
lea edx, [ebp - 0x120]
nop word [eax + eax]
lea eax, [esi + 0x7ffffefa]
test eax, eax
je 0x41c689
mov al, byte [ecx]
test al, al
je 0x41c689
mov byte [edx], al
inc ecx
inc edx
sub esi, 1
jne 0x41c670
lea eax, [edx - 1]
test esi, esi
lea ecx, [ebp - 0x138]
cmovne eax, edx
mov byte [eax], 0
call fcn.00407a40
lea ecx, [ebp - 0x150]
mov dword [ebp - 4], 0xffffffff
call fcn.00407bc0
mov esi, dword [ebp - 0x17c]
lea eax, [ebp - 0x120]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
test eax, eax
jne 0x41c751
push esi
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
push eax
lea ecx, [ebp - 0x150]
call fcn.00405a20
lea edx, [ebp - 0x150]
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x138]
call fcn.0041c910
mov ecx, eax
cmp dword [ecx + 0x14], 0x10
jb 0x41c701
mov ecx, dword [ecx]
mov esi, 0x104
lea edx, [ebp - 0x120]
nop dword [eax]
lea eax, [esi + 0x7ffffefa]
test eax, eax
je 0x41c729
mov al, byte [ecx]
test al, al
je 0x41c729
mov byte [edx], al
inc ecx
inc edx
sub esi, 1
jne 0x41c710
lea eax, [edx - 1]
test esi, esi
lea ecx, [ebp - 0x138]
cmovne eax, edx
mov byte [eax], 0
call fcn.00407a40
lea ecx, [ebp - 0x150]
mov dword [ebp - 4], 0xffffffff
call fcn.00407bc0
push dword [ebp - 0x184]
lea ecx, [ebp - 0x150]
xor edi, edi
call fcn.00405a20
lea edx, [ebp - 0x150]
mov dword [ebp - 4], 2
lea ecx, [ebp - 0x138]
call fcn.0041c910
mov byte [ebp - 4], 3
cmp dword [eax + 0x14], 0x10
jb 0x41c788
mov eax, dword [eax]
sub esp, 8
mov ecx, eax
call fcn.004644e0
mov ecx, dword [ebp - 0x124]
add esp, 8
mov esi, eax
cmp ecx, 0x10
jb 0x41c7b5
inc ecx
push ecx
push dword [ebp - 0x138]
lea ecx, [ebp - 0x138]
call fcn.00407990
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x13c]
mov dword [ebp - 0x124], 0xf
mov dword [ebp - 0x128], 0
mov byte [ebp - 0x138], 0
cmp eax, 8
jb 0x41c7f5
inc eax
lea ecx, [ebp - 0x150]
push eax
push dword [ebp - 0x150]
call fcn.00407af0
xor eax, eax
mov dword [ebp - 0x13c], 7
mov dword [ebp - 0x140], 0
mov word [ebp - 0x150], ax
test esi, esi
je 0x41c8d8
xorps xmm0, xmm0
lea eax, [ebp - 0x1c0]
movups xmmword [ebp - 0x1bc], xmm0
sub esp, 0x34
lea edx, [ebp - 0x120]
movups xmmword [ebp - 0x1ac], xmm0
mov ecx, esi
movups xmm0, xmmword [ebp - 0x19c]
push eax
movups xmmword [ebp - 0x1c0], xmm0
movq xmm0, qword [ebp - 0x18c]
movq qword [ebp - 0x1b0], xmm0
call fcn.004645f0
add esp, 0x38
test eax, eax
jne 0x41c8cd
mov ecx, dword [ebp - 0x17c]
lea edx, [ebp - 0x178]
mov dword [ebp - 0x178], eax
mov dword [ebp - 0x180], eax
lea eax, [ebp - 0x180]
push eax
call fcn.0041c420
mov eax, dword [ebp - 0x178]
add esp, 4
test eax, eax
je 0x41c8c2
push dword [ebp - 0x180]
mov edx, eax
mov ecx, esi
call fcn.00464ba0
add esp, 4
mov ecx, 1
test eax, eax
cmove edi, ecx
push dword [ebp - 0x178]
call fcn.00556225
add esp, 4
push ecx
mov ecx, esi
call fcn.00464c90
add esp, 4
mov ecx, esi
call fcn.00464f60
test edi, edi
jne 0x41c8e4
push dword [ebp - 0x184]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, edi
jmp 0x41c8ea
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00555b37
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret