Function at 0x45aacd
Capabilities:
Check if file exists
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5bccc8
mov eax, dword fs:[0]
push eax
mov eax, 0xa234
call fcn.005a41d0
mov eax, dword [0x61dc40]
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 edi, ecx
xor ebx, ebx
mov dword [ebp - 0xa224], edi
cmp dword [edi + 0x208], ebx
jne 0x45ad8e
lea eax, [edi + 0x218]
call fcn.0045b761
call fcn.004040a8
push eax
mov esi, 0x104
push 0x5e9c44
mov ecx, esi
call fcn.00405374
pop ecx
pop ecx
push edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x45ad84
lea eax, [ebp - 0xa21c]
push edi
push eax
mov dword [ebp - 0xa21c], ebx
call fcn.00517c15
pop ecx
pop ecx
cmp dword [ebp - 0xa21c], ebx
je 0x45ad7d
xor eax, eax
push 0x206
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x216]
push ebx
push eax
mov dword [ebp - 0xa220], ebx
call fcn.00596530
add esp, 0xc
mov ebx, 0xa000
push ebx
lea eax, [ebp - 0xa218]
push 0
push eax
call fcn.00596530
add esp, 0xc
push 0
push 0x5e9c60
mov ecx, esi
lea edi, [ebp - 0x218]
call fcn.00405374
mov ecx, dword [ebp - 0xa21c]
lea eax, [ebp - 0xa218]
push eax
mov eax, edi
push eax
call fcn.0051807b
add esp, 0x10
test eax, eax
je 0x45ad67
jmp 0x45abdf
mov esi, 0x104
lea edi, [ebp - 0xa240]
call fcn.0045ada8
and dword [ebp - 4], 0
lea eax, [ebp - 0xa218]
push eax
lea eax, [ebp - 0xa23c]
push eax
call fcn.00407af8
push ebx
lea eax, [ebp - 0xa218]
push 0
push eax
call fcn.00596530
add esp, 0xc
push dword [ebp - 0xa220]
mov ecx, esi
push 0x5e9c84
lea edi, [ebp - 0x218]
call fcn.00405374
mov ecx, dword [ebp - 0xa21c]
lea eax, [ebp - 0xa218]
push eax
mov eax, edi
push eax
call fcn.0051807b
add esp, 0x10
lea eax, [ebp - 0xa218]
push eax
lea eax, [ebp - 0xa240]
push eax
call fcn.00407af8
push ebx
lea eax, [ebp - 0xa218]
push 0
push eax
call fcn.00596530
add esp, 0xc
push dword [ebp - 0xa220]
mov ecx, esi
push 0x5e9c8c
call fcn.00405374
mov ecx, dword [ebp - 0xa21c]
lea eax, [ebp - 0xa218]
push eax
mov eax, edi
push eax
call fcn.0051807b
add esp, 0x10
lea eax, [ebp - 0xa218]
push eax
lea eax, [ebp - 0xa238]
push eax
call fcn.00407af8
push ebx
lea eax, [ebp - 0xa218]
push 0
push eax
call fcn.00596530
add esp, 0xc
push dword [ebp - 0xa220]
mov ecx, esi
push 0x5e9c94
call fcn.00405374
mov ecx, dword [ebp - 0xa21c]
lea eax, [ebp - 0xa218]
push eax
mov eax, edi
push eax
call fcn.0051807b
add esp, 0x10
lea eax, [ebp - 0xa218]
push eax
lea eax, [ebp - 0xa234]
push eax
call fcn.00407af8
lea eax, [ebp - 0xa240]
push eax
mov eax, dword [ebp - 0xa224]
add eax, 0x218
call fcn.0045b6c0
inc dword [ebp - 0xa220]
or dword [ebp - 4], 0xffffffff
lea esi, [ebp - 0xa240]
call fcn.0045addb
push ebx
lea eax, [ebp - 0xa218]
push 0
push eax
call fcn.00596530
add esp, 0xc
push dword [ebp - 0xa220]
mov ecx, 0x104
push 0x5e9c60
call fcn.00405374
mov ecx, dword [ebp - 0xa21c]
lea eax, [ebp - 0xa218]
push eax
mov eax, edi
push eax
call fcn.0051807b
add esp, 0x10
test eax, eax
jne 0x45abda
lea eax, [ebp - 0xa21c]
push 0
push eax
call fcn.00517d74
mov edi, dword [ebp - 0xa224]
pop ecx
pop ecx
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov dword [edi + 0x208], 1
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.0058f3cf
leave
ret