Function at 0x409c70
Capabilities:
Check if file exists
Create process on windows
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x68beef
mov eax, dword fs:[0]
push eax
sub esp, 0x210
mov eax, dword [0x737100]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x21c], 0
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
lea edx, [ebp - 0x70]
push edx
call fcn.0040dc30
add esp, 0xc
mov dword [ebp - 4], 0
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
lea eax, [ebp - 0x100]
push eax
call fcn.0040b210
add esp, 4
mov dword [ebp - 0x1cc], eax
mov ecx, dword [ebp - 0x1cc]
mov dword [ebp - 0x1d4], ecx
mov byte [ebp - 4], 1
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 0x1d4]
push eax
lea ecx, [ebp - 0xe8]
push ecx
call fcn.0040dcc0
add esp, 0xc
mov dword [ebp - 0x1d8], eax
mov edx, dword [ebp - 0x1d8]
mov dword [ebp - 0x1dc], edx
mov byte [ebp - 4], 2
push 0x71c8bc
mov eax, dword [ebp - 0x1dc]
push eax
lea ecx, [ebp - 0x28]
push ecx
call fcn.0040db20
add esp, 0xc
mov byte [ebp - 4], 4
lea ecx, [ebp - 0xe8]
call fcn.00403030
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x100]
call fcn.00403030
lea edx, [ebp - 0x148]
push edx
call fcn.0040b210
add esp, 4
mov dword [ebp - 0x1e0], eax
mov eax, dword [ebp - 0x1e0]
mov dword [ebp - 0x1e4], eax
mov byte [ebp - 4], 6
push 0x71c8d4
mov ecx, dword [ebp - 0x1e4]
push ecx
lea edx, [ebp - 0x130]
push edx
call fcn.0040db20
add esp, 0xc
mov dword [ebp - 0x1e8], eax
mov eax, dword [ebp - 0x1e8]
mov dword [ebp - 0x1ec], eax
mov byte [ebp - 4], 7
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 0x1ec]
push edx
lea eax, [ebp - 0x118]
push eax
call fcn.0040dcc0
add esp, 0xc
mov dword [ebp - 0x1f0], eax
mov ecx, dword [ebp - 0x1f0]
mov dword [ebp - 0x1f4], ecx
mov byte [ebp - 4], 8
push 0x71c8c8
mov edx, dword [ebp - 0x1f4]
push edx
lea eax, [ebp - 0x58]
push eax
call fcn.0040db20
add esp, 0xc
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x118]
call fcn.00403030
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x130]
call fcn.00403030
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x148]
call fcn.00403030
push 0x19
lea ecx, [ebp - 0x178]
push ecx
call fcn.0040b2b0
add esp, 8
mov dword [ebp - 0x1f8], eax
mov edx, dword [ebp - 0x1f8]
mov dword [ebp - 0x1fc], edx
mov byte [ebp - 4], 0xd
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x1fc]
push ecx
lea edx, [ebp - 0x160]
push edx
call fcn.0040dcc0
add esp, 0xc
mov dword [ebp - 0x200], eax
mov eax, dword [ebp - 0x200]
mov dword [ebp - 0x204], eax
mov byte [ebp - 4], 0xe
push 0x71c900
mov ecx, dword [ebp - 0x204]
push ecx
lea edx, [ebp - 0x40]
push edx
call fcn.0040db20
add esp, 0xc
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0x160]
call fcn.00403030
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0x178]
call fcn.00403030
movzx eax, byte [ebp + 0x14]
test eax, eax
jne 0x40a0ed
lea ecx, [ebp - 0x28]
call fcn.00403020
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x409ef5
push 0
push 0
push 0
lea ecx, [ebp - 0x28]
call fcn.00403020
push eax
push 0x71c90c
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
lea ecx, [ebp - 0x28]
call fcn.00403020
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 0x71c928
lea ecx, [ebp - 0x88]
call fcn.00403090
mov byte [ebp - 4], 0x12
lea ecx, [ebp - 0x88]
push ecx
mov edx, dword [ebp + 8]
push edx
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x70]
push ecx
call fcn.0040b420
add esp, 0x10
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0x88]
call fcn.00403030
call fcn.0040bbc0
cmp eax, 0xa
jge 0x409f59
push 0
push 0
push 0
lea ecx, [ebp - 0x28]
call fcn.00403020
push eax
push 0x71c92c
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
lea ecx, [ebp - 0x58]
call fcn.00403020
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x40a036
call fcn.0040bbc0
cmp eax, 0xa
jl 0x40a00b
push 0x71c944
mov edx, dword [ebp + 8]
lea ecx, [ebp - 0x1a8]
call fcn.00403b60
add esp, 4
mov dword [ebp - 0x208], eax
mov edx, dword [ebp - 0x208]
mov dword [ebp - 0x210], edx
mov byte [ebp - 4], 0x13
lea eax, [ebp - 0x190]
push eax
call fcn.0040b210
add esp, 4
mov dword [ebp - 0x20c], eax
mov ecx, dword [ebp - 0x20c]
mov dword [ebp - 0x214], ecx
mov byte [ebp - 4], 0x14
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 0x210]
push eax
mov ecx, dword [ebp - 0x214]
push ecx
push 0
call fcn.0040b5f0
add esp, 0x10
mov byte [ebp - 4], 0x13
lea ecx, [ebp - 0x190]
call fcn.00403030
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0x1a8]
call fcn.00403030
jmp 0x40a027
push 0
push 0
push 0
lea ecx, [ebp - 0x58]
call fcn.00403020
push eax
push str.taskbarunpin
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
lea ecx, [ebp - 0x58]
call fcn.00403020
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
call fcn.0040bbc0
cmp eax, 0xa
jl 0x40a0d1
push 0x71c96c
mov edx, dword [ebp + 8]
lea ecx, [ebp - 0xd0]
call fcn.00403b60
add esp, 4
mov dword [ebp - 0x1c4], eax
mov edx, dword [ebp - 0x1c4]
mov dword [ebp - 0x218], edx
mov byte [ebp - 4], 0x15
lea eax, [ebp - 0x1c0]
push eax
call fcn.0040b210
add esp, 4
mov dword [ebp - 0x1c8], eax
mov ecx, dword [ebp - 0x1c8]
mov dword [ebp - 0x1d0], ecx
mov byte [ebp - 4], 0x16
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 0x218]
push eax
mov ecx, dword [ebp - 0x1d0]
push ecx
push 1
call fcn.0040b5f0
add esp, 0x10
mov byte [ebp - 4], 0x15
lea ecx, [ebp - 0x1c0]
call fcn.00403030
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0xd0]
call fcn.00403030
jmp 0x40a0ed
push 0
push 0
push 0
lea ecx, [ebp - 0x28]
call fcn.00403020
push eax
push str.taskbarpin
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
lea ecx, [ebp - 0x40]
call fcn.00403020
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x40a10f
lea ecx, [ebp - 0x40]
call fcn.00403020
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 0x71c990
lea ecx, [ebp - 0xb8]
call fcn.00403090
mov byte [ebp - 4], 0x17
push 0x71c994
lea ecx, [ebp - 0xa0]
call fcn.00403090
mov byte [ebp - 4], 0x18
lea edx, [ebp - 0xb8]
push edx
lea eax, [ebp - 0xa0]
push eax
lea ecx, [ebp - 0x40]
push ecx
lea edx, [ebp - 0x70]
push edx
call fcn.0040b420
add esp, 0x10
mov byte [ebp - 4], 0x17
lea ecx, [ebp - 0xa0]
call fcn.00403030
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0xb8]
call fcn.00403030
call dword [sym.imp.ole32.dll_CoUninitialize]
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x40]
call fcn.00403030
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x58]
call fcn.00403030
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.00403030
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x70]
call fcn.00403030
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004815ec
mov esp, ebp
pop ebp
ret