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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ce85e
mov eax, dword fs:[0]
push eax
sub esp, 0x2cc
mov eax, dword [0x4fe0a8]
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 0x45e1c1
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 0x45dc08
sub eax, ebx
sar eax, 2
imul esi, eax, 0x914c1bad
push esi
call fcn.00457f40
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.00457e90
add edi, 0x94
add ebx, 0x94
mov dword [ebp - 0x230], edi
cmp ebx, esi
jne 0x45dbe4
mov dword [ebp - 0x220], edi
lea ecx, [ebp - 0x2c8]
mov dword [ebp - 4], 2
call fcn.00452e80
mov esi, dword [0x51350c]
test esi, esi
je 0x45dc2e
lock inc dword [esi + 4]
mov esi, dword [0x51350c]
mov ecx, dword [0x513508]
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 0x45dc60
sub ecx, edi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x2c4]
call fcn.00426a30
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 0x45dc9e
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 3
test esi, esi
je 0x45dcc7
or eax, 0xffffffff
lock xadd dword [esi + 4], eax
jne 0x45dcc7
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
or eax, 0xffffffff
lock xadd dword [esi + 8], eax
jne 0x45dcc7
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 0x45dd00
mov ecx, eax
call fcn.00457e90
mov eax, dword [ebp - 0x220]
add eax, 0x94
mov dword [ebp - 0x220], eax
jmp 0x45dd12
push eax
lea ecx, [ebp - 0x224]
call fcn.00457b60
mov eax, dword [ebp - 0x220]
lea ecx, [ebp - 0x2c8]
mov dword [ebp - 0x2c8], 1
push ecx
cmp eax, dword [ebp - 0x21c]
je 0x45dd3e
mov ecx, eax
call fcn.00457e90
add dword [ebp - 0x220], 0x94
jmp 0x45dd4a
push eax
lea ecx, [ebp - 0x224]
call fcn.00457b60
mov esi, dword [0x51350c]
test esi, esi
je 0x45dd5e
lock inc dword [esi + 4]
mov esi, dword [0x51350c]
mov ecx, dword [0x513508]
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 0x45dd90
sub ecx, edi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x2ac]
call fcn.00426a30
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 0x45ddce
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 3
test esi, esi
je 0x45ddf7
or eax, 0xffffffff
lock xadd dword [esi + 4], eax
jne 0x45ddf7
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
or eax, 0xffffffff
lock xadd dword [esi + 8], eax
jne 0x45ddf7
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 0x45de29
mov ecx, eax
call fcn.00457e90
add dword [ebp - 0x220], 0x94
jmp 0x45de35
push eax
lea ecx, [ebp - 0x224]
call fcn.00457b60
mov esi, dword [0x51350c]
test esi, esi
je 0x45de49
lock inc dword [esi + 4]
mov esi, dword [0x51350c]
mov ecx, dword [0x513508]
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 0x45de76
sub ecx, edi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x2c4]
call fcn.00426a30
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 0x45deb4
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 3
test esi, esi
je 0x45dedd
or eax, 0xffffffff
lock xadd dword [esi + 4], eax
jne 0x45dedd
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
or eax, 0xffffffff
lock xadd dword [esi + 8], eax
jne 0x45dedd
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 0x45df16
mov ecx, eax
call fcn.00457e90
mov eax, dword [ebp - 0x220]
add eax, 0x94
mov dword [ebp - 0x220], eax
jmp 0x45df28
push eax
lea ecx, [ebp - 0x224]
call fcn.00457b60
mov eax, dword [ebp - 0x220]
sub eax, dword [ebp - 0x224]
xor ebx, ebx
sar eax, 2
imul eax, eax, 0x914c1bad
test eax, eax
je 0x45e108
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.0045e1f0
mov dword [ebp - 0x2d4], eax
test eax, eax
js 0x45e0e4
mov eax, dword [ebp - 0x224]
add eax, edi
cmp dword [eax + 0x8c], 0
je 0x45e0e4
cmp dword [eax], 3
jne 0x45e073
add eax, 0x7c
cmp dword [eax + 0x14], 8
jb 0x45df9d
mov eax, dword [eax]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x45e0e4
mov eax, dword [ebp - 0x224]
add eax, edi
push eax
call fcn.0045e6f0
call fcn.00404d50
mov ecx, eax
test ecx, ecx
je 0x45e1e4
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.0041a070
mov eax, dword [ebp - 0x224]
add esp, 0xc
add eax, 0x7c
add eax, edi
cmp dword [eax + 0x14], 8
jb 0x45e007
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 0x45e030
mov eax, dword [eax]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x45e055
mov eax, dword [ebp - 0x224]
add eax, 0x7c
add eax, edi
cmp dword [eax + 0x14], 8
jb 0x45e04e
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 0x45e0e4
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x45e0e4
add eax, 0x7c
cmp dword [eax + 0x14], 8
jb 0x45e07e
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 0x45e0e4
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.0049edc0
lea eax, [esi + 0x7c]
add esp, 0xc
add eax, edi
cmp dword [eax + 0x14], 8
jb 0x45e0b5
mov eax, dword [eax]
push eax
lea eax, [ebp - 0x218]
push 0x104
push eax
call fcn.004b065b
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 0x45df50
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.004269d0
lea ecx, [ebp - 0x264]
call fcn.004269d0
lea ecx, [ebp - 0x27c]
call fcn.004269d0
lea ecx, [ebp - 0x294]
call fcn.004269d0
lea ecx, [ebp - 0x2ac]
call fcn.004269d0
lea ecx, [ebp - 0x2c4]
call fcn.004269d0
mov ecx, dword [ebp - 0x224]
test ecx, ecx
je 0x45e1bb
mov edx, dword [ebp - 0x220]
push ecx
call fcn.00452da0
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 0x45e1b1
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45e1df
push edx
push ecx
call fcn.0049cf67
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.0049d3dd
mov esp, ebp
pop ebp
ret 4
call fcn.004a1aef
push 0x80004005
call fcn.00404b30
int3