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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d024e
mov eax, dword fs:[0]
push eax
sub esp, 0x2cc
mov eax, dword [0x5000a8]
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 - 0x2d8], ecx
mov esi, dword [ebp + 8]
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
mov dword [ebp - 0x2d4], eax
test eax, eax
js 0x461781
mov eax, dword [esi + 4]
xorps xmm0, xmm0
mov ebx, dword [esi]
movq qword [ebp - 0x224], xmm0
mov dword [ebp - 0x21c], 0
mov dword [ebp - 0x224], 0
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x21c], 0
mov dword [ebp - 0x228], eax
cmp ebx, eax
je 0x4611c8
sub eax, ebx
sar eax, 2
imul esi, eax, 0x914c1bad
push esi
call fcn.00458880
imul ecx, esi, 0x94
mov edi, eax
lea eax, [ebp - 0x224]
mov dword [ebp - 0x224], edi
mov dword [ebp - 0x220], edi
mov dword [ebp - 0x2cc], eax
add ecx, edi
mov dword [ebp - 0x21c], ecx
mov dword [ebp - 4], 0
xorps xmm0, xmm0
movq qword [ebp - 0x234], xmm0
mov dword [ebp - 0x22c], 0
mov dword [ebp - 0x234], edi
mov dword [ebp - 0x230], edi
mov dword [ebp - 0x22c], eax
mov byte [ebp - 4], 1
mov esi, dword [ebp - 0x228]
push ebx
mov ecx, edi
call fcn.004587d0
add edi, 0x94
add ebx, 0x94
mov dword [ebp - 0x230], edi
cmp ebx, esi
jne 0x4611a4
mov dword [ebp - 0x220], edi
lea ecx, [ebp - 0x2c8]
mov dword [ebp - 4], 2
call fcn.004530c0
mov esi, dword [0x51539c]
test esi, esi
je 0x4611ee
lock inc dword [esi + 4]
mov esi, dword [0x51539c]
mov ecx, dword [0x515398]
mov dword [ebp - 0x2d0], ecx
mov dword [ebp - 0x2cc], esi
mov byte [ebp - 4], 4
lea edx, [ebp - 0x228]
mov eax, dword [ecx]
push edx
call dword [eax + 8]
mov byte [ebp - 4], 5
mov edx, dword [eax]
mov ecx, edx
lea edi, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x461220
sub ecx, edi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x2c4]
call fcn.004263f0
mov byte [ebp - 4], 4
or eax, 0xffffffff
mov edx, dword [ebp - 0x228]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x46125e
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 3
test esi, esi
je 0x461287
or eax, 0xffffffff
lock xadd dword [esi + 4], eax
jne 0x461287
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
or eax, 0xffffffff
lock xadd dword [esi + 8], eax
jne 0x461287
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov eax, dword [ebp - 0x220]
lea ecx, [ebp - 0x2c8]
mov dword [ebp - 0x2c8], 3
push ecx
cmp eax, dword [ebp - 0x21c]
je 0x4612c0
mov ecx, eax
call fcn.004587d0
mov eax, dword [ebp - 0x220]
add eax, 0x94
mov dword [ebp - 0x220], eax
jmp 0x4612d2
push eax
lea ecx, [ebp - 0x224]
call fcn.004584a0
mov eax, dword [ebp - 0x220]
lea ecx, [ebp - 0x2c8]
mov dword [ebp - 0x2c8], 1
push ecx
cmp eax, dword [ebp - 0x21c]
je 0x4612fe
mov ecx, eax
call fcn.004587d0
add dword [ebp - 0x220], 0x94
jmp 0x46130a
push eax
lea ecx, [ebp - 0x224]
call fcn.004584a0
mov esi, dword [0x51539c]
test esi, esi
je 0x46131e
lock inc dword [esi + 4]
mov esi, dword [0x51539c]
mov ecx, dword [0x515398]
mov dword [ebp - 0x2d0], ecx
mov dword [ebp - 0x2cc], esi
mov byte [ebp - 4], 6
lea edx, [ebp - 0x228]
mov eax, dword [ecx]
push edx
call dword [eax + 8]
mov byte [ebp - 4], 7
mov edx, dword [eax]
mov ecx, edx
lea edi, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x461350
sub ecx, edi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x2ac]
call fcn.004263f0
mov byte [ebp - 4], 6
or eax, 0xffffffff
mov edx, dword [ebp - 0x228]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x46138e
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 3
test esi, esi
je 0x4613b7
or eax, 0xffffffff
lock xadd dword [esi + 4], eax
jne 0x4613b7
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
or eax, 0xffffffff
lock xadd dword [esi + 8], eax
jne 0x4613b7
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov eax, dword [ebp - 0x220]
lea ecx, [ebp - 0x2c8]
mov dword [ebp - 0x2c8], 2
push ecx
cmp eax, dword [ebp - 0x21c]
je 0x4613e9
mov ecx, eax
call fcn.004587d0
add dword [ebp - 0x220], 0x94
jmp 0x4613f5
push eax
lea ecx, [ebp - 0x224]
call fcn.004584a0
mov esi, dword [0x51539c]
test esi, esi
je 0x461409
lock inc dword [esi + 4]
mov esi, dword [0x51539c]
mov ecx, dword [0x515398]
mov dword [ebp - 0x2d0], ecx
mov dword [ebp - 0x2cc], esi
mov byte [ebp - 4], 8
lea edx, [ebp - 0x228]
mov eax, dword [ecx]
push edx
call dword [eax + 0x10]
mov byte [ebp - 4], 9
mov edx, dword [eax]
mov ecx, edx
lea edi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x461436
sub ecx, edi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x2c4]
call fcn.004263f0
mov byte [ebp - 4], 8
or eax, 0xffffffff
mov edx, dword [ebp - 0x228]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x461474
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 3
test esi, esi
je 0x46149d
or eax, 0xffffffff
lock xadd dword [esi + 4], eax
jne 0x46149d
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
or eax, 0xffffffff
lock xadd dword [esi + 8], eax
jne 0x46149d
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov eax, dword [ebp - 0x220]
lea ecx, [ebp - 0x2c8]
mov dword [ebp - 0x2c8], 2
push ecx
cmp eax, dword [ebp - 0x21c]
je 0x4614d6
mov ecx, eax
call fcn.004587d0
mov eax, dword [ebp - 0x220]
add eax, 0x94
mov dword [ebp - 0x220], eax
jmp 0x4614e8
push eax
lea ecx, [ebp - 0x224]
call fcn.004584a0
mov eax, dword [ebp - 0x220]
sub eax, dword [ebp - 0x224]
xor ebx, ebx
sar eax, 2
imul eax, eax, 0x914c1bad
test eax, eax
je 0x4616c8
xor edi, edi
nop dword [eax]
nop word [eax + eax]
mov eax, dword [ebp - 0x224]
mov ecx, dword [ebp - 0x2d8]
add eax, edi
push 0
push eax
call fcn.004617b0
mov dword [ebp - 0x2d4], eax
test eax, eax
js 0x4616a4
mov eax, dword [ebp - 0x224]
add eax, edi
cmp dword [eax + 0x8c], 0
je 0x4616a4
cmp dword [eax], 3
jne 0x461633
add eax, 0x7c
cmp dword [eax + 0x14], 8
jb 0x46155d
mov eax, dword [eax]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4616a4
mov eax, dword [ebp - 0x224]
add eax, edi
push eax
call fcn.00461cb0
call fcn.00404d30
mov ecx, eax
test ecx, ecx
je 0x4617a4
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x228], eax
push str.barU
lea eax, [ebp - 0x228]
mov byte [ebp - 4], 0xa
push str.Task_snPin
push eax
call fcn.0041fc40
mov eax, dword [ebp - 0x224]
add esp, 0xc
add eax, 0x7c
add eax, edi
cmp dword [eax + 0x14], 8
jb 0x4615c7
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 0x4615f0
mov eax, dword [eax]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x461615
mov eax, dword [ebp - 0x224]
add eax, 0x7c
add eax, edi
cmp dword [eax + 0x14], 8
jb 0x46160e
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov byte [ebp - 4], 3
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x4616a4
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x4616a4
add eax, 0x7c
cmp dword [eax + 0x14], 8
jb 0x46163e
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 0x4616a4
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.0049edd0
lea eax, [esi + 0x7c]
add esp, 0xc
add eax, edi
cmp dword [eax + 0x14], 8
jb 0x461675
mov eax, dword [eax]
push eax
lea eax, [ebp - 0x218]
push 0x104
push eax
call fcn.004b1d3b
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 eax, dword [ebp - 0x220]
inc ebx
sub eax, dword [ebp - 0x224]
add edi, 0x94
sar eax, 2
imul eax, eax, 0x914c1bad
cmp ebx, eax
jb 0x461510
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 - 0x24c]
call fcn.00426390
lea ecx, [ebp - 0x264]
call fcn.00426390
lea ecx, [ebp - 0x27c]
call fcn.00426390
lea ecx, [ebp - 0x294]
call fcn.00426390
lea ecx, [ebp - 0x2ac]
call fcn.00426390
lea ecx, [ebp - 0x2c4]
call fcn.00426390
mov ecx, dword [ebp - 0x224]
test ecx, ecx
je 0x46177b
mov edx, dword [ebp - 0x220]
push ecx
call fcn.00452fe0
mov eax, dword [ebp - 0x21c]
add esp, 4
mov ecx, dword [ebp - 0x224]
sub eax, ecx
sar eax, 2
imul eax, eax, 0x914c1bad
imul edx, eax, 0x94
mov eax, ecx
cmp edx, 0x1000
jb 0x461771
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x46179f
push edx
push ecx
call fcn.0049cf77
add esp, 8
mov eax, dword [ebp - 0x2d4]
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.0049d3ed
mov esp, ebp
pop ebp
ret 4
call fcn.004a1aff
push 0x80004005
call fcn.00404b10
int3