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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4fa9cc
mov eax, dword fs:[0]
push eax
sub esp, 0x454
mov eax, dword [0x537474]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x460], ecx
mov eax, dword [ebp + 0x10]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x42c6c9
mov ecx, dword [ebp + 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov dword [ebp - 0x424], 0x80004005
mov dword [ebp - 0x430], 0
lea ecx, [ebp - 0x428]
call fcn.0042e810
mov dword [ebp - 4], 0
xor edx, edx
mov word [ebp - 0x218], dx
push 0x206
push 0
lea eax, [ebp - 0x216]
push eax
call fcn.0049d060
add esp, 0xc
mov dword [ebp - 0x448], 0
xor ecx, ecx
mov word [ebp - 0x420], cx
push 0x206
push 0
lea edx, [ebp - 0x41e]
push edx
call fcn.0049d060
add esp, 0xc
lea eax, [ebp - 0x448]
push eax
lea ecx, [ebp - 0x218]
push ecx
push 0x104
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_GetFullPathNameW]
mov dword [ebp - 0x430], eax
cmp dword [ebp - 0x430], 0
jne 0x42c78c
mov eax, dword [ebp - 0x424]
mov dword [ebp - 0x44c], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x428]
call fcn.0042ea00
mov eax, dword [ebp - 0x44c]
jmp 0x42c9d7
lea ecx, [ebp - 0x428]
call fcn.0042eb50
push eax
push 0x5063c0
push 1
push 0
push 0x506440
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov dword [ebp - 0x424], eax
cmp dword [ebp - 0x424], 0
jl 0x42c9b3
lea ecx, [ebp - 0x428]
call fcn.0042ac60
push eax
lea ecx, [ebp - 0x42c]
call fcn.0042e850
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x428]
call fcn.0042ac60
mov dword [ebp - 0x434], eax
lea ecx, [ebp - 0x218]
push ecx
mov edx, dword [ebp - 0x434]
push edx
mov eax, dword [ebp - 0x434]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x50]
call edx
mov dword [ebp - 0x424], eax
cmp dword [ebp - 0x424], 0
jge 0x42c84d
mov eax, dword [ebp - 0x424]
mov dword [ebp - 0x450], eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x42c]
call fcn.0042ea50
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x428]
call fcn.0042ea00
mov eax, dword [ebp - 0x450]
jmp 0x42c9d7
cmp dword [ebp + 0xc], 0
je 0x42c85e
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x438], ecx
jmp 0x42c868
mov dword [ebp - 0x438], 0x5015e8
lea ecx, [ebp - 0x428]
call fcn.0042ac60
mov dword [ebp - 0x43c], eax
mov edx, dword [ebp - 0x438]
push edx
mov eax, dword [ebp - 0x43c]
push eax
mov ecx, dword [ebp - 0x43c]
mov edx, dword [ecx]
mov eax, dword [edx + 0x1c]
call eax
mov dword [ebp - 0x424], eax
cmp dword [ebp - 0x424], 0
jge 0x42c8db
mov ecx, dword [ebp - 0x424]
mov dword [ebp - 0x454], ecx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x42c]
call fcn.0042ea50
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x428]
call fcn.0042ea00
mov eax, dword [ebp - 0x454]
jmp 0x42c9d7
cmp dword [ebp + 0x14], 0
je 0x42c953
lea ecx, [ebp - 0x428]
call fcn.0042ac60
mov dword [ebp - 0x440], eax
push 0
mov edx, dword [ebp + 0x14]
push edx
mov eax, dword [ebp - 0x440]
push eax
mov ecx, dword [ebp - 0x440]
mov edx, dword [ecx]
mov eax, dword [edx + 0x44]
call eax
mov dword [ebp - 0x424], eax
cmp dword [ebp - 0x424], 0
jge 0x42c953
mov ecx, dword [ebp - 0x424]
mov dword [ebp - 0x458], ecx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x42c]
call fcn.0042ea50
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x428]
call fcn.0042ea00
mov eax, dword [ebp - 0x458]
jmp 0x42c9d7
push 0x104
mov edx, dword [ebp + 0x10]
push edx
push 0x104
lea eax, [ebp - 0x420]
push eax
call fcn.004b0319
add esp, 0x10
lea ecx, [ebp - 0x42c]
call fcn.0042ac60
mov dword [ebp - 0x444], eax
push 1
lea ecx, [ebp - 0x420]
push ecx
mov edx, dword [ebp - 0x444]
push edx
mov eax, dword [ebp - 0x444]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x18]
call edx
mov dword [ebp - 0x424], eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x42c]
call fcn.0042ea50
mov eax, dword [ebp - 0x424]
mov dword [ebp - 0x45c], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x428]
call fcn.0042ea00
mov eax, dword [ebp - 0x45c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00497ebf
mov esp, ebp
pop ebp
ret 0x10