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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b651b
mov eax, dword fs:[0]
push eax
sub esp, 0x224
mov eax, dword [0x4e2018]
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 dword [ebp - 0x230], ecx
mov esi, dword [ebp + 8]
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
mov ebx, eax
test ebx, ebx
js 0x4606b0
xorps xmm0, xmm0
mov dword [ebp - 0x21c], 0
push esi
lea ecx, [ebp - 0x224]
movq qword [ebp - 0x224], xmm0
call fcn.004614c0
xor ecx, ecx
mov dword [ebp - 4], 0
mov dword [ebp - 0x22c], ecx
mov eax, 0xdd67c8a7
mov ecx, dword [ebp - 0x220]
sub ecx, dword [ebp - 0x224]
imul ecx
add edx, ecx
sar edx, 7
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x46068c
xor edi, edi
mov eax, dword [ebp - 0x224]
push ecx
mov ecx, dword [ebp - 0x230]
add eax, edi
push eax
call fcn.004606e0
mov ebx, eax
test ebx, ebx
js 0x460653
mov eax, dword [ebp - 0x224]
add eax, edi
cmp dword [eax + 0x8c], 0
je 0x460653
cmp dword [eax], 3
jne 0x4605e2
add eax, 0x7c
cmp dword [eax + 0x14], 8
jb 0x460508
mov eax, dword [eax]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x460653
mov eax, dword [ebp - 0x224]
add eax, edi
push eax
call fcn.004607b0
call fcn.00404840
mov ecx, eax
test ecx, ecx
je 0x4606ce
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x228], eax
push 0x4cca88
lea eax, [ebp - 0x228]
mov byte [ebp - 4], 1
push str.Task_snPin
push eax
call fcn.00403ab0
mov eax, dword [ebp - 0x224]
add esp, 0xc
add eax, 0x7c
add eax, edi
cmp dword [eax + 0x14], 8
jb 0x460572
mov eax, dword [eax]
mov esi, dword [ebp - 0x228]
push 0
push 0
push 0
push eax
push esi
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov eax, dword [ebp - 0x224]
add eax, 0x7c
add eax, edi
cmp dword [eax + 0x14], 8
jb 0x46059b
mov eax, dword [eax]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4605c0
mov eax, dword [ebp - 0x224]
add eax, 0x7c
add eax, edi
cmp dword [eax + 0x14], 8
jb 0x4605b9
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov byte [ebp - 4], 0
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x460653
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x460653
add eax, 0x7c
cmp dword [eax + 0x14], 8
jb 0x4605ed
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov esi, dword [ebp - 0x224]
cmp dword [esi + edi + 0x2c], 0
je 0x460653
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.00488c10
lea eax, [esi + 0x7c]
add esp, 0xc
add eax, edi
cmp dword [eax + 0x14], 8
jb 0x460624
mov eax, dword [eax]
push eax
lea eax, [ebp - 0x218]
push 0x104
push eax
call fcn.004987dc
add esp, 0xc
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov ecx, dword [ebp - 0x220]
mov eax, 0xdd67c8a7
sub ecx, dword [ebp - 0x224]
add edi, 0x94
inc dword [ebp - 0x22c]
imul ecx
add edx, ecx
mov ecx, dword [ebp - 0x22c]
sar edx, 7
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ecx, eax
jb 0x4604c0
push 0
push 0
push 0
push 0x8000000
call dword [sym.imp.SHELL32.dll_SHChangeNotify]
call dword [sym.imp.ole32.dll_CoUninitialize]
lea ecx, [ebp - 0x224]
call fcn.0045a150
mov eax, ebx
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.00486589
mov esp, ebp
pop ebp
ret 4
push 0x80004005
call fcn.00404610
int3