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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4cbe4e
mov eax, dword fs:[0]
push eax
sub esp, 0x2cc
mov eax, dword [0x4fa0a8]
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 0x45e231
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 0x45dc78
sub eax, ebx
sar eax, 2
imul esi, eax, 0x914c1bad
push esi
call fcn.00457fb0
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.00457f00
add edi, 0x94
add ebx, 0x94
mov dword [ebp - 0x230], edi
cmp ebx, esi
jne 0x45dc54
mov dword [ebp - 0x220], edi
lea ecx, [ebp - 0x2c8]
mov dword [ebp - 4], 2
call fcn.00452ef0
mov esi, dword [0x50f3cc]
test esi, esi
je 0x45dc9e
lock inc dword [esi + 4]
mov esi, dword [0x50f3cc]
mov ecx, dword [0x50f3c8]
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 0x45dcd0
sub ecx, edi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x2c4]
call fcn.00426980
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 0x45dd0e
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 3
test esi, esi
je 0x45dd37
or eax, 0xffffffff
lock xadd dword [esi + 4], eax
jne 0x45dd37
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
or eax, 0xffffffff
lock xadd dword [esi + 8], eax
jne 0x45dd37
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 0x45dd70
mov ecx, eax
call fcn.00457f00
mov eax, dword [ebp - 0x220]
add eax, 0x94
mov dword [ebp - 0x220], eax
jmp 0x45dd82
push eax
lea ecx, [ebp - 0x224]
call fcn.00457bd0
mov eax, dword [ebp - 0x220]
lea ecx, [ebp - 0x2c8]
mov dword [ebp - 0x2c8], 1
push ecx
cmp eax, dword [ebp - 0x21c]
je 0x45ddae
mov ecx, eax
call fcn.00457f00
add dword [ebp - 0x220], 0x94
jmp 0x45ddba
push eax
lea ecx, [ebp - 0x224]
call fcn.00457bd0
mov esi, dword [0x50f3cc]
test esi, esi
je 0x45ddce
lock inc dword [esi + 4]
mov esi, dword [0x50f3cc]
mov ecx, dword [0x50f3c8]
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 0x45de00
sub ecx, edi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x2ac]
call fcn.00426980
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 0x45de3e
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 3
test esi, esi
je 0x45de67
or eax, 0xffffffff
lock xadd dword [esi + 4], eax
jne 0x45de67
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
or eax, 0xffffffff
lock xadd dword [esi + 8], eax
jne 0x45de67
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 0x45de99
mov ecx, eax
call fcn.00457f00
add dword [ebp - 0x220], 0x94
jmp 0x45dea5
push eax
lea ecx, [ebp - 0x224]
call fcn.00457bd0
mov esi, dword [0x50f3cc]
test esi, esi
je 0x45deb9
lock inc dword [esi + 4]
mov esi, dword [0x50f3cc]
mov ecx, dword [0x50f3c8]
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 0x45dee6
sub ecx, edi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x2c4]
call fcn.00426980
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 0x45df24
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 3
test esi, esi
je 0x45df4d
or eax, 0xffffffff
lock xadd dword [esi + 4], eax
jne 0x45df4d
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
or eax, 0xffffffff
lock xadd dword [esi + 8], eax
jne 0x45df4d
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 0x45df86
mov ecx, eax
call fcn.00457f00
mov eax, dword [ebp - 0x220]
add eax, 0x94
mov dword [ebp - 0x220], eax
jmp 0x45df98
push eax
lea ecx, [ebp - 0x224]
call fcn.00457bd0
mov eax, dword [ebp - 0x220]
sub eax, dword [ebp - 0x224]
xor ebx, ebx
sar eax, 2
imul eax, eax, 0x914c1bad
test eax, eax
je 0x45e178
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.0045e260
mov dword [ebp - 0x2d4], eax
test eax, eax
js 0x45e154
mov eax, dword [ebp - 0x224]
add eax, edi
cmp dword [eax + 0x8c], 0
je 0x45e154
cmp dword [eax], 3
jne 0x45e0e3
add eax, 0x7c
cmp dword [eax + 0x14], 8
jb 0x45e00d
mov eax, dword [eax]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x45e154
mov eax, dword [ebp - 0x224]
add eax, edi
push eax
call fcn.0045e760
call fcn.00404d00
mov ecx, eax
test ecx, ecx
je 0x45e254
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.00420260
mov eax, dword [ebp - 0x224]
add esp, 0xc
add eax, 0x7c
add eax, edi
cmp dword [eax + 0x14], 8
jb 0x45e077
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 0x45e0a0
mov eax, dword [eax]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x45e0c5
mov eax, dword [ebp - 0x224]
add eax, 0x7c
add eax, edi
cmp dword [eax + 0x14], 8
jb 0x45e0be
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 0x45e154
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x45e154
add eax, 0x7c
cmp dword [eax + 0x14], 8
jb 0x45e0ee
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 0x45e154
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.0049c3c0
lea eax, [esi + 0x7c]
add esp, 0xc
add eax, edi
cmp dword [eax + 0x14], 8
jb 0x45e125
mov eax, dword [eax]
push eax
lea eax, [ebp - 0x218]
push 0x104
push eax
call fcn.004adc5b
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 0x45dfc0
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.00426920
lea ecx, [ebp - 0x264]
call fcn.00426920
lea ecx, [ebp - 0x27c]
call fcn.00426920
lea ecx, [ebp - 0x294]
call fcn.00426920
lea ecx, [ebp - 0x2ac]
call fcn.00426920
lea ecx, [ebp - 0x2c4]
call fcn.00426920
mov ecx, dword [ebp - 0x224]
test ecx, ecx
je 0x45e22b
mov edx, dword [ebp - 0x220]
push ecx
call fcn.00452e10
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 0x45e221
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45e24f
push edx
push ecx
call fcn.0049a567
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.0049a9dd
mov esp, ebp
pop ebp
ret 4
call fcn.0049f0ef
push 0x80004005
call fcn.00404ae0
int3