Function at 0x454080
Capabilities:
Delete file
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5e9aeb
mov eax, dword fs:[0]
push eax
sub esp, 0x4b8
mov eax, dword [0x6670f4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, edx
mov dword [ebp - 0x4c0], ecx
lea eax, [ebp - 0x260]
xor esi, esi
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp eax, 0xffffffff
je 0x4542f8
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
push ebx
lea edx, [ebp - 0x4c4]
mov dword [ebp - 0x4b8], esi
lea ecx, [ebp - 0x4b8]
mov dword [ebp - 0x4c4], esi
call fcn.00454320
add esp, 4
test eax, eax
mov eax, dword [ebp - 0x4b8]
je 0x4542eb
test eax, eax
je 0x4542f8
mov edi, dword [ebp - 0x4c4]
test edi, edi
je 0x4542eb
mov dword [ebp - 0x4b4], esi
mov dword [ebp - 0x4bc], esi
cmp dword [ebp + 8], esi
je 0x4541b8
push 0x104
lea eax, [ebp - 0x114]
push esi
push eax
call fcn.0058c8f0
mov dword [ebp - method.ST_QPSF_DESCRIBE.virtual_0], vtable.ST_QPSF_DESCRIBE.0
mov dword [ebp - 4], esi
lea ecx, [edi + 0x114]
push ecx
mov dword [ebp - 0x124], 0x51505346
mov dword [ebp - 0x120], 1
mov dword [ebp - 0x11c], esi
mov dword [ebp - 0x118], edi
mov dword [ebp - 0x4b4], ecx
call fcn.0050f771
mov edi, eax
lea eax, [ebp - 0x124]
push 0x114
push eax
push edi
call fcn.0058bd80
push dword [ebp - 0x4c4]
lea eax, [edi + 0x114]
push dword [ebp - 0x4b8]
push eax
call fcn.0058bd80
mov eax, dword [ebp - 0x4b4]
add esp, 0x28
jmp 0x4541e8
push edi
push eax
lea edx, [ebp - 0x4bc]
lea ecx, [ebp - 0x4b4]
call fcn.00453ff0
mov edi, dword [ebp - 0x4b4]
add esp, 8
test eax, eax
je 0x4542d8
mov eax, dword [ebp - 0x4bc]
mov dword [ebp - 0x4b4], eax
test edi, edi
je 0x4542e5
test eax, eax
je 0x4542d8
lea eax, [ebp - 0x260]
push eax
push dword [ebp - 0x4c0]
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp eax, 0xffffffff
je 0x454223
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
push dword [ebp - 0x4c0]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea eax, [ebp - 0x260]
push eax
push dword [ebp - 0x4c0]
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp eax, 0xffffffff
je 0x454247
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
jmp 0x4542d8
xor esi, esi
test ebx, ebx
je 0x4542d8
mov ecx, ebx
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x454256
sub ecx, edx
sar ecx, 1
je 0x4542d8
push 0
push 0x80
push 2
push 0
push 0
push 0x40000000
push ebx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x4bc], eax
cmp eax, 0xffffffff
je 0x4542d8
push 0
lea ecx, [ebp - 0x4c0]
mov dword [ebp - 0x4c0], esi
push ecx
mov ecx, dword [ebp - 0x4b4]
push ecx
push edi
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
push dword [ebp - 0x4bc]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp - 0x4b0]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp eax, 0xffffffff
jne 0x4542cc
xor esi, esi
jmp 0x4542d8
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov esi, 1
test edi, edi
je 0x4542e5
push edi
call fcn.0050edcc
add esp, 4
mov eax, dword [ebp - 0x4b8]
test eax, eax
je 0x4542f8
push eax
call fcn.0050edcc
add esp, 4
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0050ed5c
mov esp, ebp
pop ebp
ret