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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100a029a
mov eax, dword fs:[0]
push eax
sub esp, 0xb60
mov eax, dword [0x100d07a8]
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 0x100394f2
push 0x208
lea eax, [ebp - 0x420]
mov edi, 1
push 0
push eax
mov dword [ebp - 0xb4c], edi
call fcn.10075650
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 0x100399b0
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 0x100399b0
lea eax, [ebp - 0xb48]
push edi
push eax
call fcn.1005d4e0
add esp, 8
mov eax, dword [ebp - 0xb48]
or ebx, 0xffffffff
mov dword [ebp - 4], 0
cmp dword [eax - 0xc], 0
je 0x10039994
push eax
lea ecx, [ebp - 0x8e4]
call fcn.10038530
push dword [eax]
lea ecx, [ebp - 0xb68]
mov byte [ebp - 4], 1
call fcn.100382f0
push str._Pop.dll
push eax
lea eax, [ebp - 0xb54]
mov byte [ebp - 4], 2
push eax
call fcn.10038cf0
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 0x10039396
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 0x100393af
push eax
call fcn.1007b84f
add esp, 4
lea ecx, [ebp - 0xb3c]
call fcn.10021a00
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 0x100393e9
push 0x21
lea ecx, [ebp - 0xb3c]
call fcn.10007d70
mov edi, dword [ebp - 0xb3c]
cmp dword [edi - 8], 0x21
jl 0x100399d8
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.1005d750
push dword [edi - 8]
push edi
call fcn.1007b292
add esp, 0x18
test eax, eax
js 0x100399d8
cmp eax, dword [edi - 8]
jg 0x100399d8
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.1003b760
push dword [eax]
lea ecx, [ebp - 0x114]
mov byte [ebp - 4], 7
call fcn.10038190
push dword [eax]
lea ecx, [ebp - 0xb50]
mov byte [ebp - 4], 8
call fcn.10002930
mov eax, dword [ebp - 0x114]
lea ecx, [ebp - 0x110]
cmp eax, ecx
je 0x10039485
push eax
call fcn.1007b84f
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 0x100394a6
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 0x100394fc
lea ecx, [ebp - 0xb50]
call fcn.10002ae0
lea ecx, [ebp - 0xb3c]
call fcn.10002ae0
lea ecx, [ebp - 0xb54]
call fcn.10002ae0
lea ecx, [ebp - 0xb48]
call fcn.10002ae0
mov eax, 1
jmp 0x100399b2
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.10075650
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 0x10039753
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
nop word [eax + eax]
push 0x208
lea eax, [ebp - 0x830]
push 0
push eax
call fcn.10075650
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 0x100ae0e0
push 1
push 0
push 0x100ae100
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x10039737
mov ecx, dword [ebp - 0xb44]
test ecx, ecx
je 0x10039737
lea edx, [ebp - 0xb40]
mov dword [ebp - 0xb40], 0
mov eax, dword [ecx]
push edx
push 0x100ae0f0
push ecx
call dword [eax]
test eax, eax
js 0x1003972b
mov ecx, dword [ebp - 0xb40]
test ecx, ecx
je 0x1003972b
mov eax, dword [ecx]
lea edx, [ebp - 0x830]
push 0
push edx
push ecx
call dword [eax + 0x14]
test eax, eax
js 0x1003971f
mov eax, dword [ebp - 0xb44]
push 0x11
push 0
push eax
mov ecx, dword [eax]
call dword [ecx + 0x4c]
test eax, eax
js 0x1003971f
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.10075650
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 0x100396bd
push str.taskpop.exe
push esi
call dword [sym.imp.SHLWAPI.dll_StrCmpIW]
test eax, eax
je 0x100396bd
push str.____32.exe
push esi
call dword [sym.imp.SHLWAPI.dll_PathMatchSpecW]
test eax, eax
je 0x10039719
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0xb6c]
call fcn.10002930
mov esi, dword [ebp - 0xb60]
mov byte [ebp - 4], 0xd
cmp dword [ebp - 0xb5c], esi
je 0x100396fd
mov eax, dword [eax]
sub eax, 0x10
push eax
call fcn.10002ca0
add eax, 0x10
add esp, 4
mov dword [esi], eax
add dword [ebp - 0xb60], 4
jmp 0x1003970a
push eax
push esi
lea ecx, [ebp - 0xb64]
call fcn.10038040
lea ecx, [ebp - 0xb6c]
mov byte [ebp - 4], 0xc
call fcn.10002ae0
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 0x10039580
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 0x10039913
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.10011b60
add esp, 4
mov ebx, eax
and eax, edi
and dword [ebp - 0xb4c], eax
call fcn.10003000
mov ecx, eax
test ecx, ecx
je 0x100399ce
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.10002ef0
add esp, 0x10
call fcn.100689b0
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 0x100398da
push 0x57
push str.d:jenkins.jenkinsworkspacelib_commonpop_popexpoppop_popexpoppop_taskbarwnd.cpp
lea ecx, [ebp - 0x860]
mov dword [ebp - 0x850], 0
mov dword [ebp - 0x84c], 0xf
mov byte [ebp - 0x860], 0
call fcn.1000a260
push 3
push 0x100a680c
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.1000a260
mov byte [ebp - 4], 0x10
call fcn.100689b0
mov dword [ebp - 0xb58], eax
lea ecx, [ebp - 0xa8]
push 0x3e1
lea eax, [ebp - 0x860]
push eax
lea eax, [ebp - 0x848]
push eax
call fcn.10004790
mov ebx, eax
test edi, edi
mov byte [ebp - 4], 0x11
mov ecx, 0x100a68c0
cmovne ecx, edi
push ecx
push ebx
call fcn.10003800
mov ecx, dword [ebp - 0xb58]
add esp, 8
mov eax, dword [ecx]
push ebx
call dword [eax + 0x1c]
lea ecx, [ebp - 0xa8]
call fcn.10005bc0
lea ecx, [ebp - 0x848]
call fcn.10002b00
lea ecx, [ebp - 0x860]
call fcn.10002b00
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 0x100398f8
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 0x10039780
mov edi, dword [ebp - 0xb3c]
lea eax, [ebp - 0x420]
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
lea ecx, [ebp - 0xb64]
call fcn.10014770
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 0x1003994c
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 0x10039967
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 0x10039988
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 0x100399b0
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.1006a4da
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.10002c70
push 0x80070057
call fcn.10002c70
int3