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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d1e1e
mov eax, dword fs:[0]
push eax
sub esp, 0x2cc
mov eax, dword [0x5020a8]
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 0x462ff1
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 0x462a38
sub eax, ebx
sar eax, 2
imul esi, eax, 0x914c1bad
push esi
call fcn.00459180
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.004590d0
add edi, 0x94
add ebx, 0x94
mov dword [ebp - 0x230], edi
cmp ebx, esi
jne 0x462a14
mov dword [ebp - 0x220], edi
lea ecx, [ebp - 0x2c8]
mov dword [ebp - 4], 2
call fcn.004540f0
mov esi, dword [0x517558]
test esi, esi
je 0x462a5e
lock inc dword [esi + 4]
mov esi, dword [0x517558]
mov ecx, dword [0x517554]
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 0x462a90
sub ecx, edi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x2c4]
call fcn.00426ab0
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 0x462ace
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 3
test esi, esi
je 0x462af7
or eax, 0xffffffff
lock xadd dword [esi + 4], eax
jne 0x462af7
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
or eax, 0xffffffff
lock xadd dword [esi + 8], eax
jne 0x462af7
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 0x462b30
mov ecx, eax
call fcn.004590d0
mov eax, dword [ebp - 0x220]
add eax, 0x94
mov dword [ebp - 0x220], eax
jmp 0x462b42
push eax
lea ecx, [ebp - 0x224]
call fcn.00458da0
mov eax, dword [ebp - 0x220]
lea ecx, [ebp - 0x2c8]
mov dword [ebp - 0x2c8], 1
push ecx
cmp eax, dword [ebp - 0x21c]
je 0x462b6e
mov ecx, eax
call fcn.004590d0
add dword [ebp - 0x220], 0x94
jmp 0x462b7a
push eax
lea ecx, [ebp - 0x224]
call fcn.00458da0
mov esi, dword [0x517558]
test esi, esi
je 0x462b8e
lock inc dword [esi + 4]
mov esi, dword [0x517558]
mov ecx, dword [0x517554]
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 0x462bc0
sub ecx, edi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x2ac]
call fcn.00426ab0
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 0x462bfe
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 3
test esi, esi
je 0x462c27
or eax, 0xffffffff
lock xadd dword [esi + 4], eax
jne 0x462c27
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
or eax, 0xffffffff
lock xadd dword [esi + 8], eax
jne 0x462c27
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 0x462c59
mov ecx, eax
call fcn.004590d0
add dword [ebp - 0x220], 0x94
jmp 0x462c65
push eax
lea ecx, [ebp - 0x224]
call fcn.00458da0
mov esi, dword [0x517558]
test esi, esi
je 0x462c79
lock inc dword [esi + 4]
mov esi, dword [0x517558]
mov ecx, dword [0x517554]
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 + 0x14]
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 0x462ca6
sub ecx, edi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x2c4]
call fcn.00426ab0
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 0x462ce4
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 3
test esi, esi
je 0x462d0d
or eax, 0xffffffff
lock xadd dword [esi + 4], eax
jne 0x462d0d
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
or eax, 0xffffffff
lock xadd dword [esi + 8], eax
jne 0x462d0d
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 0x462d46
mov ecx, eax
call fcn.004590d0
mov eax, dword [ebp - 0x220]
add eax, 0x94
mov dword [ebp - 0x220], eax
jmp 0x462d58
push eax
lea ecx, [ebp - 0x224]
call fcn.00458da0
mov eax, dword [ebp - 0x220]
sub eax, dword [ebp - 0x224]
xor ebx, ebx
sar eax, 2
imul eax, eax, 0x914c1bad
test eax, eax
je 0x462f38
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.00463020
mov dword [ebp - 0x2d4], eax
test eax, eax
js 0x462f14
mov eax, dword [ebp - 0x224]
add eax, edi
cmp dword [eax + 0x8c], 0
je 0x462f14
cmp dword [eax], 3
jne 0x462ea3
add eax, 0x7c
cmp dword [eax + 0x14], 8
jb 0x462dcd
mov eax, dword [eax]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x462f14
mov eax, dword [ebp - 0x224]
add eax, edi
push eax
call fcn.00463520
call fcn.00404de0
mov ecx, eax
test ecx, ecx
je 0x463014
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.0041a0f0
mov eax, dword [ebp - 0x224]
add esp, 0xc
add eax, 0x7c
add eax, edi
cmp dword [eax + 0x14], 8
jb 0x462e37
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 0x462e60
mov eax, dword [eax]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x462e85
mov eax, dword [ebp - 0x224]
add eax, 0x7c
add eax, edi
cmp dword [eax + 0x14], 8
jb 0x462e7e
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 0x462f14
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x462f14
add eax, 0x7c
cmp dword [eax + 0x14], 8
jb 0x462eae
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 0x462f14
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.004a1c30
lea eax, [esi + 0x7c]
add esp, 0xc
add eax, edi
cmp dword [eax + 0x14], 8
jb 0x462ee5
mov eax, dword [eax]
push eax
lea eax, [ebp - 0x218]
push 0x104
push eax
call fcn.004b34cb
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 0x462d80
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.00426a50
lea ecx, [ebp - 0x264]
call fcn.00426a50
lea ecx, [ebp - 0x27c]
call fcn.00426a50
lea ecx, [ebp - 0x294]
call fcn.00426a50
lea ecx, [ebp - 0x2ac]
call fcn.00426a50
lea ecx, [ebp - 0x2c4]
call fcn.00426a50
mov ecx, dword [ebp - 0x224]
test ecx, ecx
je 0x462feb
mov edx, dword [ebp - 0x220]
push ecx
call fcn.00454010
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 0x462fe1
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x46300f
push edx
push ecx
call fcn.0049fdd7
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.004a024d
mov esp, ebp
pop ebp
ret 4
call fcn.004a495f
push 0x80004005
call fcn.00404bc0
int3