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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50f4db
mov eax, dword fs:[0]
push eax
sub esp, 0x454
mov eax, dword [0x5524b4]
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 0x430d79
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.004032e0
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.004ab2f0
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.004ab2f0
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 0x430e3c
mov eax, dword [ebp - 0x424]
mov dword [ebp - 0x44c], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x428]
call fcn.00403240
mov eax, dword [ebp - 0x44c]
jmp 0x431087
lea ecx, [ebp - 0x428]
call fcn.004032d0
push eax
push 0x51d278
push 1
push 0
push 0x51d2f8
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov dword [ebp - 0x424], eax
cmp dword [ebp - 0x424], 0
jl 0x431063
lea ecx, [ebp - 0x428]
call fcn.00403280
push eax
lea ecx, [ebp - 0x42c]
call fcn.00403290
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x428]
call fcn.00403280
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 0x430efd
mov eax, dword [ebp - 0x424]
mov dword [ebp - 0x450], eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x42c]
call fcn.00403240
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x428]
call fcn.00403240
mov eax, dword [ebp - 0x450]
jmp 0x431087
cmp dword [ebp + 0xc], 0
je 0x430f0e
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x438], ecx
jmp 0x430f18
mov dword [ebp - 0x438], 0x51891c
lea ecx, [ebp - 0x428]
call fcn.00403280
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 0x430f8b
mov ecx, dword [ebp - 0x424]
mov dword [ebp - 0x454], ecx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x42c]
call fcn.00403240
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x428]
call fcn.00403240
mov eax, dword [ebp - 0x454]
jmp 0x431087
cmp dword [ebp + 0x14], 0
je 0x431003
lea ecx, [ebp - 0x428]
call fcn.00403280
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 0x431003
mov ecx, dword [ebp - 0x424]
mov dword [ebp - 0x458], ecx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x42c]
call fcn.00403240
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x428]
call fcn.00403240
mov eax, dword [ebp - 0x458]
jmp 0x431087
push 0x104
mov edx, dword [ebp + 0x10]
push edx
push 0x104
lea eax, [ebp - 0x420]
push eax
call fcn.004bdc69
add esp, 0x10
lea ecx, [ebp - 0x42c]
call fcn.00403280
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.00403240
mov eax, dword [ebp - 0x424]
mov dword [ebp - 0x45c], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x428]
call fcn.00403240
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.004a4bd0
mov esp, ebp
pop ebp
ret 0x10