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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f3301
mov eax, dword fs:[0]
push eax
sub esp, 0x454
mov eax, dword [0x52e474]
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 0x426ea9
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.00402be0
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.004938a0
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.004938a0
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 0x426f6c
mov eax, dword [ebp - 0x424]
mov dword [ebp - 0x44c], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x428]
call fcn.00402b50
mov eax, dword [ebp - 0x44c]
jmp 0x4271b7
lea ecx, [ebp - 0x428]
call fcn.00401920
push eax
push 0x4feb90
push 1
push 0
push 0x4fec10
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov dword [ebp - 0x424], eax
cmp dword [ebp - 0x424], 0
jl 0x427193
lea ecx, [ebp - 0x428]
call fcn.00402b90
push eax
lea ecx, [ebp - 0x42c]
call fcn.00402ba0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x428]
call fcn.00402b90
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 0x42702d
mov eax, dword [ebp - 0x424]
mov dword [ebp - 0x450], eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x42c]
call fcn.00402b50
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x428]
call fcn.00402b50
mov eax, dword [ebp - 0x450]
jmp 0x4271b7
cmp dword [ebp + 0xc], 0
je 0x42703e
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x438], ecx
jmp 0x427048
mov dword [ebp - 0x438], 0x4fa5b4
lea ecx, [ebp - 0x428]
call fcn.00402b90
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 0x4270bb
mov ecx, dword [ebp - 0x424]
mov dword [ebp - 0x454], ecx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x42c]
call fcn.00402b50
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x428]
call fcn.00402b50
mov eax, dword [ebp - 0x454]
jmp 0x4271b7
cmp dword [ebp + 0x14], 0
je 0x427133
lea ecx, [ebp - 0x428]
call fcn.00402b90
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 0x427133
mov ecx, dword [ebp - 0x424]
mov dword [ebp - 0x458], ecx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x42c]
call fcn.00402b50
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x428]
call fcn.00402b50
mov eax, dword [ebp - 0x458]
jmp 0x4271b7
push 0x104
mov edx, dword [ebp + 0x10]
push edx
push 0x104
lea eax, [ebp - 0x420]
push eax
call fcn.004a6b4e
add esp, 0x10
lea ecx, [ebp - 0x42c]
call fcn.00402b90
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.00402b50
mov eax, dword [ebp - 0x424]
mov dword [ebp - 0x45c], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x428]
call fcn.00402b50
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.00491b3a
mov esp, ebp
pop ebp
ret 0x10