Function at 0x10037460
Capabilities:
Create process on windows
Delete directory
Enumerate files on windows
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100adada
mov eax, dword fs:[0]
push eax
sub esp, 0xb60
mov eax, dword [0x100db688]
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 eax, ecx
mov dword [ebp - 0xb58], eax
cmp dword [eax + 0x44], 0
je 0x100376f5
push 0x208
lea eax, [ebp - 0x420]
mov edi, 1
push 0
push eax
mov dword [ebp - 0xb4c], edi
call fcn.10081e40
add esp, 0xc
lea eax, [ebp - 0x420]
push 0
push 0x1a
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x10037bb0
mov esi, dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x420]
push str.MicrosoftInternet_ExplorerQuick_LaunchUser_PinnedImplicitAppShortcuts
push eax
call esi
lea eax, [ebp - 0x420]
push eax
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
je 0x10037bb0
lea eax, [ebp - 0xb48]
push edi
push eax
call fcn.1005d060
add esp, 8
mov eax, dword [ebp - 0xb48]
or ebx, 0xffffffff
mov dword [ebp - 4], 0
cmp dword [eax - 0xc], 0
je 0x10037b94
push eax
lea ecx, [ebp - 0x8e4]
call fcn.10036730
push dword [eax]
lea ecx, [ebp - 0xb68]
mov byte [ebp - 4], 1
call fcn.100365d0
push str._Pop.dll
push eax
lea eax, [ebp - 0xb54]
mov byte [ebp - 4], 2
push eax
call fcn.10036ee0
add esp, 0xc
mov edx, dword [ebp - 0xb68]
mov eax, ebx
mov byte [ebp - 4], 4
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x10037586
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x8e4]
lea ecx, [ebp - 0x8e0]
cmp eax, ecx
je 0x1003759f
push eax
call fcn.10088bae
add esp, 4
lea ecx, [ebp - 0xb3c]
call fcn.10020910
mov edi, dword [ebp - 0xb3c]
mov ecx, 1
mov byte [ebp - 4], 6
mov eax, dword [edi - 8]
sub ecx, dword [edi - 4]
sub eax, 0x21
or eax, ecx
jge 0x100375d9
push 0x21
lea ecx, [ebp - 0xb3c]
call fcn.1001ce10
mov edi, dword [ebp - 0xb3c]
cmp dword [edi - 8], 0x21
jl 0x10037bd8
mov dword [edi - 0xc], 0x21
mov byte [edi + 0x21], 0
mov eax, dword [ebp - 0xb54]
push 0x21
push edi
push dword [eax - 0xc]
push eax
call fcn.1005edd0
push dword [edi - 8]
push edi
call fcn.100886bb
add esp, 0x18
test eax, eax
js 0x10037bd8
cmp eax, dword [edi - 8]
jg 0x10037bd8
mov dword [edi - 0xc], eax
lea ecx, [ebp - 0xb3c]
push 0x10
mov byte [eax + edi], 0
lea eax, [ebp - 0xb38]
push 8
push eax
call fcn.10039a00
mov eax, dword [eax]
lea ecx, [ebp - 0x110]
push 3
mov dword [ebp - 0x114], ecx
lea ecx, [ebp - 0x114]
push eax
mov byte [ebp - 4], 7
call fcn.10021040
push dword [ebp - 0x114]
lea ecx, [ebp - 0xb50]
mov byte [ebp - 4], 8
call fcn.10006990
mov eax, dword [ebp - 0x114]
lea ecx, [ebp - 0x110]
cmp eax, ecx
je 0x10037688
push eax
call fcn.10088bae
add esp, 4
mov edx, dword [ebp - 0xb38]
mov eax, ebx
mov byte [ebp - 4], 0xb
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x100376a9
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push dword [ebp - 0xb50]
lea eax, [ebp - 0x420]
push eax
call esi
lea eax, [ebp - 0x420]
push eax
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
jne 0x100376ff
lea ecx, [ebp - 0xb50]
call fcn.10006b40
lea ecx, [ebp - 0xb3c]
call fcn.10006b40
lea ecx, [ebp - 0xb54]
call fcn.10006b40
lea ecx, [ebp - 0xb48]
call fcn.10006b40
mov eax, 1
jmp 0x10037bb2
mov dword [ebp - 0xb64], 0
mov dword [ebp - 0xb60], 0
mov dword [ebp - 0xb5c], 0
push 0x208
lea eax, [ebp - 0x628]
mov byte [ebp - 4], 0xc
push 0
push eax
call fcn.10081e40
add esp, 0xc
lea eax, [ebp - 0x420]
push str..lnk
push eax
lea eax, [ebp - 0x628]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea eax, [ebp - 0xb34]
push eax
lea eax, [ebp - 0x628]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, eax
mov dword [ebp - 0xb38], esi
cmp esi, 0xffffffff
je 0x10037953
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
nop dword [eax]
push 0x208
lea eax, [ebp - 0x830]
push 0
push eax
call fcn.10081e40
add esp, 0xc
lea eax, [ebp - 0xb08]
push eax
lea eax, [ebp - 0x420]
push eax
lea eax, [ebp - 0x830]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea eax, [ebp - 0xb44]
mov dword [ebp - 0xb44], 0
push eax
push 0x100baa44
push 1
push 0
push 0x100baa64
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x10037937
mov ecx, dword [ebp - 0xb44]
test ecx, ecx
je 0x10037937
lea edx, [ebp - 0xb40]
mov dword [ebp - 0xb40], 0
mov eax, dword [ecx]
push edx
push 0x100baa54
push ecx
call dword [eax]
test eax, eax
js 0x1003792b
mov ecx, dword [ebp - 0xb40]
test ecx, ecx
je 0x1003792b
mov eax, dword [ecx]
lea edx, [ebp - 0x830]
push 0
push edx
push ecx
call dword [eax + 0x14]
test eax, eax
js 0x1003791f
mov eax, dword [ebp - 0xb44]
push 0x11
push 0
push eax
mov ecx, dword [eax]
call dword [ecx + 0x4c]
test eax, eax
js 0x1003791f
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.10081e40
mov eax, dword [ebp - 0xb44]
lea edx, [ebp - 0x218]
add esp, 0xc
mov ecx, dword [eax]
push 4
push 0
push 0x104
push edx
push eax
call dword [ecx + 0xc]
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
mov esi, eax
push str.RunDll.exe
push esi
call dword [sym.imp.SHLWAPI.dll_StrCmpIW]
test eax, eax
je 0x100378bd
push str.taskpop.exe
push esi
call dword [sym.imp.SHLWAPI.dll_StrCmpIW]
test eax, eax
je 0x100378bd
push str.____32.exe
push esi
call dword [sym.imp.SHLWAPI.dll_PathMatchSpecW]
test eax, eax
je 0x10037919
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0xb6c]
call fcn.10006990
mov esi, dword [ebp - 0xb60]
mov byte [ebp - 4], 0xd
cmp dword [ebp - 0xb5c], esi
je 0x100378fd
mov eax, dword [eax]
sub eax, 0x10
push eax
call fcn.10006d00
add eax, 0x10
add esp, 4
mov dword [esi], eax
add dword [ebp - 0xb60], 4
jmp 0x1003790a
push eax
push esi
lea ecx, [ebp - 0xb64]
call fcn.10036480
lea ecx, [ebp - 0xb6c]
mov byte [ebp - 4], 0xc
call fcn.10006b40
mov esi, dword [ebp - 0xb38]
mov eax, dword [ebp - 0xb40]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 0xb44]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
lea eax, [ebp - 0xb34]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x10037780
call dword [sym.imp.ole32.dll_CoUninitialize]
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov esi, dword [ebp - 0xb64]
cmp esi, dword [ebp - 0xb60]
je 0x10037b13
mov eax, dword [ebp - 0xb58]
add eax, 0xe8
mov dword [ebp - 0xb40], eax
nop dword [eax]
push 0
push 0
push 0
push eax
push str.taskbarunpin
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
push dword [esi]
mov edi, eax
call fcn.1000ada0
add esp, 4
mov ebx, eax
and eax, edi
and dword [ebp - 0xb4c], eax
call fcn.10007040
mov ecx, eax
test ecx, ecx
je 0x10037bce
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0xb38], eax
push ebx
push dword [ebp - 0xb40]
lea eax, [ebp - 0xb38]
mov byte [ebp - 4], 0xe
push str._Taskbar_CTaskbarWnd::UnpinAndDelLinkFile_Delete_File_s__bRet_d
push eax
call fcn.10006f50
add esp, 0x10
call fcn.100609e0
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
mov edi, dword [ebp - 0xb38]
movzx eax, al
sub eax, 1
jne 0x10037ada
push 0x4c
push str.d:jenkins.jenkinsworkspacepop_popex_poppop_popexpoppop_taskbarwnd.cpp
lea ecx, [ebp - 0x860]
mov dword [ebp - 0x850], 0
mov dword [ebp - 0x84c], 0xf
mov byte [ebp - 0x860], 0
call fcn.1000bdb0
push 3
push 0x100b3af0
lea ecx, [ebp - 0x848]
mov byte [ebp - 4], 0xf
mov dword [ebp - 0x838], 0
mov dword [ebp - 0x834], 0xf
mov byte [ebp - 0x848], 0
call fcn.1000bdb0
mov byte [ebp - 4], 0x10
call fcn.100609e0
mov dword [ebp - 0xb58], eax
lea ecx, [ebp - 0xa8]
push 0x42a
lea eax, [ebp - 0x860]
push eax
lea eax, [ebp - 0x848]
push eax
call fcn.100090e0
mov ebx, eax
test edi, edi
mov byte [ebp - 4], 0x11
mov ecx, 0x100b39f4
cmovne ecx, edi
push ecx
push ebx
call fcn.10008960
mov ecx, dword [ebp - 0xb58]
add esp, 8
mov eax, dword [ecx]
push ebx
call dword [eax + 0x1c]
lea ecx, [ebp - 0xa8]
call fcn.10009fa0
lea ecx, [ebp - 0x848]
call fcn.10006b60
lea ecx, [ebp - 0x860]
call fcn.10006b60
or ebx, 0xffffffff
mov byte [ebp - 4], 0xc
add edi, 0xfffffff0
mov eax, ebx
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x10037af8
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0xb40]
add esi, 4
cmp esi, dword [ebp - 0xb60]
jne 0x10037980
mov edi, dword [ebp - 0xb3c]
lea eax, [ebp - 0x420]
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
lea ecx, [ebp - 0xb64]
call fcn.100104c0
mov edx, dword [ebp - 0xb50]
mov eax, ebx
mov byte [ebp - 4], 6
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x10037b4c
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 5
add edi, 0xfffffff0
mov eax, ebx
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x10037b67
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0xb54]
mov eax, ebx
mov byte [ebp - 4], 0
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x10037b88
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0xb48]
mov edi, dword [ebp - 0xb4c]
mov dword [ebp - 4], 0xffffffff
add eax, 0xfffffff0
lock xadd dword [eax + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x10037bb0
mov ecx, dword [eax]
push eax
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, edi
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.10061c7c
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.10006cd0
push 0x80070057
call fcn.10006cd0
int3