Function at 0x10037c50
Capabilities:
Check if file exists
Create directory
Get common file path
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100adcc8
mov eax, dword fs:[0]
push eax
sub esp, 0x368
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 edi, ecx
mov dword [ebp - 0x364], edi
mov esi, dword [sym.imp.ole32.dll_CoCreateInstance]
lea eax, [ebp - 0x360]
push eax
push 0x100b987c
push 1
push 0
push 0x100baa84
mov dword [ebp - 0x360], 0
call esi
mov ebx, eax
mov dword [ebp - 0x354], ebx
test ebx, ebx
js 0x100382d7
mov eax, dword [ebp - 0x360]
lea edx, [ebp - 0x35c]
push edx
push str._V
mov dword [ebp - 0x368], 0
lea edx, [ebp - 0x368]
mov dword [ebp - 0x35c], 0
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0x10]
mov ebx, eax
mov dword [ebp - 0x354], ebx
test ebx, ebx
js 0x100381d9
lea eax, [ebp - 0x358]
mov dword [ebp - 0x358], 0
push eax
push 0x100b989c
push 1
push 0
push 0x100baa94
call esi
mov ebx, eax
mov dword [ebp - 0x354], ebx
test ebx, ebx
js 0x100380cf
push dword [ebp - 0x358]
mov ecx, edi
call fcn.10037070
mov ebx, eax
mov dword [ebp - 0x354], ebx
test ebx, ebx
js 0x10037fb9
mov eax, dword [ebp - 0x358]
lea edx, [ebp - 0x350]
push edx
mov dword [ebp - 0x350], 0
push str._V
mov ecx, dword [eax]
push eax
call dword [ecx]
mov ebx, eax
mov dword [ebp - 0x354], ebx
test ebx, ebx
js 0x10037f08
mov eax, dword [ebp - 0x360]
push dword [ebp - 0x350]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x1c]
mov ebx, eax
mov dword [ebp - 0x354], ebx
test ebx, ebx
js 0x10037de6
mov eax, dword [ebp - 0x360]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x20]
mov ebx, eax
mov eax, dword [ebp - 0x350]
push eax
mov dword [ebp - 0x354], ebx
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 0x358]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 0x35c]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 0x360]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
jmp 0x100383c4
call fcn.100609e0
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x10037ed3
push 0x4c
push str.d:jenkins.jenkinsworkspacepop_popex_poppop_popexpoppop_taskbarwnd.cpp
lea ecx, [ebp - 0x230]
mov dword [ebp - 0x220], eax
mov dword [ebp - 0x21c], 0xf
mov byte [ebp - 0x230], al
call fcn.1000bdb0
push 3
push 0x100b3af0
lea ecx, [ebp - 0x248]
mov dword [ebp - 4], 0
mov dword [ebp - 0x238], 0
mov dword [ebp - 0x234], 0xf
mov byte [ebp - 0x248], 0
call fcn.1000bdb0
mov byte [ebp - 4], 1
call fcn.100609e0
mov edi, eax
lea ecx, [ebp - 0x2e0]
push 0x262
lea eax, [ebp - 0x230]
push eax
lea eax, [ebp - 0x248]
push eax
call fcn.100090e0
mov esi, eax
push str.AddUserTasks_Failed
push esi
mov byte [ebp - 4], 2
call fcn.10008960
add esp, 8
mov ecx, esi
push ebx
call fcn.100328a0
mov eax, dword [edi]
mov ecx, edi
push esi
call dword [eax + 0x1c]
lea ecx, [ebp - 0x2e0]
call fcn.10009fa0
lea ecx, [ebp - 0x248]
call fcn.10006b60
lea ecx, [ebp - 0x230]
mov dword [ebp - 4], 0xffffffff
call fcn.10006b60
mov eax, dword [ebp - 0x350]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 0x358]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 0x35c]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 0x360]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
jmp 0x100383c4
call fcn.100609e0
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x100380a6
push 0x4c
push str.d:jenkins.jenkinsworkspacepop_popex_poppop_popexpoppop_taskbarwnd.cpp
lea ecx, [ebp - 0x230]
mov dword [ebp - 0x220], eax
mov dword [ebp - 0x21c], 0xf
mov byte [ebp - 0x230], al
call fcn.1000bdb0
push 3
push 0x100b3af0
lea ecx, [ebp - 0x248]
mov dword [ebp - 4], 3
mov dword [ebp - 0x238], 0
mov dword [ebp - 0x234], 0xf
mov byte [ebp - 0x248], 0
call fcn.1000bdb0
mov byte [ebp - 4], 4
call fcn.100609e0
mov edi, eax
lea ecx, [ebp - 0x2e0]
push 0x26a
lea eax, [ebp - 0x230]
push eax
lea eax, [ebp - 0x248]
push eax
call fcn.100090e0
mov esi, eax
mov byte [ebp - 4], 5
push str.QueryInterface_Failed
jmp 0x10038065
call fcn.100609e0
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x100380a6
push 0x4c
push str.d:jenkins.jenkinsworkspacepop_popex_poppop_popexpoppop_taskbarwnd.cpp
lea ecx, [ebp - 0x230]
mov dword [ebp - 0x220], eax
mov dword [ebp - 0x21c], 0xf
mov byte [ebp - 0x230], al
call fcn.1000bdb0
push 3
push 0x100b3af0
lea ecx, [ebp - 0x248]
mov dword [ebp - 4], 6
mov dword [ebp - 0x238], 0
mov dword [ebp - 0x234], 0xf
mov byte [ebp - 0x248], 0
call fcn.1000bdb0
mov byte [ebp - 4], 7
call fcn.100609e0
mov edi, eax
lea ecx, [ebp - 0x2e0]
push 0x270
lea eax, [ebp - 0x230]
push eax
lea eax, [ebp - 0x248]
push eax
call fcn.100090e0
mov esi, eax
mov byte [ebp - 4], 8
push str.AddShellLink_Failed
push esi
call fcn.10008960
add esp, 8
mov ecx, esi
push ebx
call fcn.100328a0
mov eax, dword [edi]
mov ecx, edi
push esi
call dword [eax + 0x1c]
lea ecx, [ebp - 0x2e0]
call fcn.10009fa0
lea ecx, [ebp - 0x248]
call fcn.10006b60
lea ecx, [ebp - 0x230]
mov dword [ebp - 4], 0xffffffff
call fcn.10006b60
mov eax, dword [ebp - 0x358]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 0x35c]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 0x360]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
jmp 0x100383c4
call fcn.100609e0
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x100381bc
push 0x4c
push str.d:jenkins.jenkinsworkspacepop_popex_poppop_popexpoppop_taskbarwnd.cpp
lea ecx, [ebp - 0x230]
mov dword [ebp - 0x220], eax
mov dword [ebp - 0x21c], 0xf
mov byte [ebp - 0x230], al
call fcn.1000bdb0
push 3
push 0x100b3af0
lea ecx, [ebp - 0x248]
mov dword [ebp - 4], 9
mov dword [ebp - 0x238], 0
mov dword [ebp - 0x234], 0xf
mov byte [ebp - 0x248], 0
call fcn.1000bdb0
mov byte [ebp - 4], 0xa
call fcn.100609e0
mov edi, eax
lea ecx, [ebp - 0x2e0]
push 0x277
lea eax, [ebp - 0x230]
push eax
lea eax, [ebp - 0x248]
push eax
call fcn.100090e0
mov esi, eax
push str.CoCreateInstance2_Failed
push esi
mov byte [ebp - 4], 0xb
call fcn.10008960
add esp, 8
mov ecx, esi
push ebx
call fcn.100328a0
mov eax, dword [edi]
mov ecx, edi
push esi
call dword [eax + 0x1c]
lea ecx, [ebp - 0x2e0]
call fcn.10009fa0
lea ecx, [ebp - 0x248]
call fcn.10006b60
lea ecx, [ebp - 0x230]
mov dword [ebp - 4], 0xffffffff
call fcn.10006b60
mov eax, dword [ebp - 0x35c]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 0x360]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
jmp 0x100383c4
call fcn.100609e0
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x100382c6
push 0x4c
push str.d:jenkins.jenkinsworkspacepop_popex_poppop_popexpoppop_taskbarwnd.cpp
lea ecx, [ebp - 0x230]
mov dword [ebp - 0x220], eax
mov dword [ebp - 0x21c], 0xf
mov byte [ebp - 0x230], al
call fcn.1000bdb0
push 3
push 0x100b3af0
lea ecx, [ebp - 0x248]
mov dword [ebp - 4], 0xc
mov dword [ebp - 0x238], 0
mov dword [ebp - 0x234], 0xf
mov byte [ebp - 0x248], 0
call fcn.1000bdb0
mov byte [ebp - 4], 0xd
call fcn.100609e0
mov edi, eax
lea ecx, [ebp - 0x2e0]
push 0x27e
lea eax, [ebp - 0x230]
push eax
lea eax, [ebp - 0x248]
push eax
call fcn.100090e0
mov esi, eax
push str.BeginList_Failed
push esi
mov byte [ebp - 4], 0xe
call fcn.10008960
add esp, 8
mov ecx, esi
push ebx
call fcn.100328a0
mov eax, dword [edi]
mov ecx, edi
push esi
call dword [eax + 0x1c]
lea ecx, [ebp - 0x2e0]
call fcn.10009fa0
lea ecx, [ebp - 0x248]
call fcn.10006b60
lea ecx, [ebp - 0x230]
mov dword [ebp - 4], 0xffffffff
call fcn.10006b60
mov eax, dword [ebp - 0x360]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
jmp 0x100383c4
call fcn.100609e0
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x100383ca
push 0x4c
push str.d:jenkins.jenkinsworkspacepop_popex_poppop_popexpoppop_taskbarwnd.cpp
lea ecx, [ebp - 0x230]
mov dword [ebp - 0x220], eax
mov dword [ebp - 0x21c], 0xf
mov byte [ebp - 0x230], al
call fcn.1000bdb0
push 3
push 0x100b3af0
lea ecx, [ebp - 0x248]
mov dword [ebp - 4], 0xf
mov dword [ebp - 0x238], 0
mov dword [ebp - 0x234], 0xf
mov byte [ebp - 0x248], 0
call fcn.1000bdb0
mov byte [ebp - 4], 0x10
call fcn.100609e0
mov edi, eax
lea ecx, [ebp - 0x2e0]
push 0x285
lea eax, [ebp - 0x230]
push eax
lea eax, [ebp - 0x248]
push eax
call fcn.100090e0
mov esi, eax
push str.CoCreateInstance1_Failed
push esi
mov byte [ebp - 4], 0x11
call fcn.10008960
add esp, 8
mov ecx, esi
push ebx
call fcn.100328a0
mov eax, dword [edi]
mov ecx, edi
push esi
call dword [eax + 0x1c]
lea ecx, [ebp - 0x2e0]
call fcn.10009fa0
lea ecx, [ebp - 0x248]
call fcn.10006b60
lea ecx, [ebp - 0x230]
mov dword [ebp - 4], 0xffffffff
call fcn.10006b60
mov edi, dword [ebp - 0x364]
call fcn.10007040
mov ecx, eax
test ecx, ecx
je 0x10038b15
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x370], eax
push ebx
push dword [edi + 0x44]
lea eax, [ebp - 0x370]
mov dword [ebp - 4], 0x12
push str.m_bLinkFlag:_d_hr:_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 - 0x370]
movzx eax, al
sub eax, 1
jne 0x10038579
push 0x4c
push str.d:jenkins.jenkinsworkspacepop_popex_poppop_popexpoppop_taskbarwnd.cpp
lea ecx, [ebp - 0x248]
mov dword [ebp - 0x238], 0
mov dword [ebp - 0x234], 0xf
mov byte [ebp - 0x248], 0
call fcn.1000bdb0
push 3
push 0x100b3af0
lea ecx, [ebp - 0x230]
mov byte [ebp - 4], 0x13
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x21c], 0xf
mov byte [ebp - 0x230], 0
call fcn.1000bdb0
mov byte [ebp - 4], 0x14
call fcn.100609e0
mov ebx, eax
lea ecx, [ebp - 0x2e0]
push 0x289
lea eax, [ebp - 0x248]
push eax
lea eax, [ebp - 0x230]
push eax
call fcn.100090e0
mov esi, eax
test edi, edi
mov byte [ebp - 4], 0x15
mov ecx, 0x100b39f4
cmovne ecx, edi
push ecx
push esi
call fcn.10008960
mov eax, dword [ebx]
add esp, 8
mov ecx, ebx
push esi
call dword [eax + 0x1c]
lea ecx, [ebp - 0x2e0]
call fcn.10009fa0
mov edx, dword [ebp - 0x21c]
mov byte [ebp - 4], 0x13
cmp edx, 0x10
jb 0x1003851a
mov ecx, dword [ebp - 0x230]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10038510
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10038b1f
push edx
push ecx
call fcn.100618fd
add esp, 8
mov edx, dword [ebp - 0x234]
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x21c], 0xf
mov byte [ebp - 0x230], 0
mov byte [ebp - 4], 0x12
cmp edx, 0x10
jb 0x10038573
mov ecx, dword [ebp - 0x248]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10038569
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10038b24
push edx
push ecx
call fcn.100618fd
add esp, 8
mov ebx, dword [ebp - 0x354]
mov esi, dword [ebp - 0x364]
cmp dword [esi + 0x44], 0
je 0x10038ada
test ebx, ebx
js 0x10038ada
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.10081e40
add esp, 0xc
lea eax, [ebp - 0x218]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x10038ada
lea ebx, [esi + 0xe8]
push ebx
mov dword [ebp - 0x368], ebx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x10038724
push ebx
call fcn.1000ada0
add esp, 4
lea ecx, [ebp - 0x35c]
mov esi, eax
call fcn.10020910
push esi
push ebx
lea eax, [ebp - 0x35c]
mov byte [ebp - 4], 0x16
push str._Taskbar_CTaskbarWnd::CreateJumpList_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 esi, dword [ebp - 0x35c]
movzx eax, al
sub eax, 1
jne 0x10038708
push 0x4c
push str.d:jenkins.jenkinsworkspacepop_popex_poppop_popexpoppop_taskbarwnd.cpp
lea ecx, [ebp - 0x230]
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x21c], 0xf
mov byte [ebp - 0x230], 0
call fcn.1000bdb0
push 3
push 0x100b3af0
lea ecx, [ebp - 0x248]
mov byte [ebp - 4], 0x17
mov dword [ebp - 0x238], 0
mov dword [ebp - 0x234], 0xf
mov byte [ebp - 0x248], 0
call fcn.1000bdb0
mov byte [ebp - 4], 0x18
call fcn.100609e0
mov dword [ebp - 0x36c], eax
lea ecx, [ebp - 0x2e0]
push 0x294
lea eax, [ebp - 0x230]
push eax
lea eax, [ebp - 0x248]
push eax
call fcn.100090e0
mov ebx, eax
test esi, esi
mov byte [ebp - 4], 0x19
mov ecx, 0x100b39f4
cmovne ecx, esi
push ecx
push ebx
call fcn.10008960
mov ecx, dword [ebp - 0x36c]
add esp, 8
mov eax, dword [ecx]
push ebx
call dword [eax + 0x1c]
lea ecx, [ebp - 0x2e0]
call fcn.10009fa0
lea ecx, [ebp - 0x248]
call fcn.10006b60
lea ecx, [ebp - 0x230]
call fcn.10006b60
mov ebx, dword [ebp - 0x368]
mov byte [ebp - 4], 0x12
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x10038724
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
push 0x208
push 0
push ebx
call fcn.10081e40
add esp, 0xc
push 0
push 0x1a
push ebx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x10038ada
push str.MicrosoftInternet_ExplorerQuick_LaunchUser_PinnedImplicitAppShortcuts
push ebx
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
push ebx
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
je 0x10038ada
lea eax, [ebp - 0x354]
push 1
push eax
call fcn.1005d060
add esp, 8
mov eax, dword [ebp - 0x354]
cmp dword [eax - 0xc], 0
je 0x10038acf
lea ecx, [ebp - 0x35c]
call fcn.10020910
push dword [ebp - 0x354]
lea eax, [ebp - 0x35c]
mov byte [ebp - 4], 0x1b
push str.SOFTWARE_s_run_list
push eax
call fcn.10006f50
mov esi, dword [ebp - 0x35c]
add esp, 0xc
push 2
push 0x100b3628
push 1
push str.UtilsPop.dll
push esi
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
mov ebx, eax
test ebx, ebx
je 0x100388fa
lea ecx, [ebp - 0x350]
call fcn.10020910
mov byte [ebp - 4], 0x1c
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push ebx
push esi
lea eax, [ebp - 0x350]
push str._Taskbar_CTaskbarWnd::CreateJumpList_SHSetValue_strSubKey___s_Failed__lRes___ld__GLE___ld
push eax
call fcn.10006f50
add esp, 0x14
call fcn.100609e0
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x100388eb
push 0x4c
push str.d:jenkins.jenkinsworkspacepop_popex_poppop_popexpoppop_taskbarwnd.cpp
lea ecx, [ebp - 0x230]
mov dword [ebp - 0x220], eax
mov dword [ebp - 0x21c], 0xf
mov byte [ebp - 0x230], al
call fcn.1000bdb0
push 3
push 0x100b3af0
lea ecx, [ebp - 0x248]
mov byte [ebp - 4], 0x1d
mov dword [ebp - 0x238], 0
mov dword [ebp - 0x234], 0xf
mov byte [ebp - 0x248], 0
call fcn.1000bdb0
mov byte [ebp - 4], 0x1e
call fcn.100609e0
mov ebx, eax
lea ecx, [ebp - 0x2e0]
push 0x2bb
lea eax, [ebp - 0x230]
push eax
lea eax, [ebp - 0x248]
push eax
call fcn.100090e0
mov esi, eax
mov ecx, dword [ebp - 0x350]
mov eax, 0x100b39f4
test ecx, ecx
mov byte [ebp - 4], 0x1f
cmovne eax, ecx
push eax
push esi
call fcn.10008960
mov eax, dword [ebx]
add esp, 8
mov ecx, ebx
push esi
call dword [eax + 0x1c]
lea ecx, [ebp - 0x2e0]
call fcn.10009fa0
lea ecx, [ebp - 0x248]
call fcn.10006b60
lea ecx, [ebp - 0x230]
call fcn.10006b60
lea ecx, [ebp - 0x350]
mov byte [ebp - 4], 0x1b
call fcn.10006b40
push dword [ebp - 0x354]
lea ecx, [ebp - 0x2cc]
call fcn.10036730
push dword [eax]
lea ecx, [ebp - 0x350]
mov byte [ebp - 4], 0x20
call fcn.100365d0
push str._Pop.dll
push eax
lea eax, [ebp - 0x36c]
mov byte [ebp - 4], 0x21
push eax
call fcn.10036ee0
add esp, 0xc
lea ecx, [ebp - 0x350]
call fcn.10006b40
mov eax, dword [ebp - 0x2cc]
lea ecx, [ebp - 0x2c8]
cmp eax, ecx
je 0x10038959
push eax
call fcn.10088bae
add esp, 4
lea ecx, [ebp - 0x358]
call fcn.10020910
mov ebx, dword [ebp - 0x36c]
lea ecx, [ebp - 0x358]
push 0x21
push 0x21
mov byte [ebp - 4], 0x25
mov esi, dword [ebx - 0xc]
call fcn.10038ea0
push eax
push esi
push ebx
call fcn.1005edd0
add esp, 0x10
lea ecx, [ebp - 0x358]
push 0xffffffffffffffff
call fcn.1003b630
push 0x10
push 8
lea eax, [ebp - 0x350]
push eax
lea ecx, [ebp - 0x358]
call fcn.10039a00
mov eax, dword [eax]
lea ecx, [ebp - 0x348]
push 3
mov dword [ebp - 0x34c], ecx
lea ecx, [ebp - 0x34c]
push eax
mov byte [ebp - 4], 0x26
call fcn.10021040
push dword [ebp - 0x34c]
lea ecx, [ebp - 0x374]
mov byte [ebp - 4], 0x27
call fcn.10006990
mov eax, dword [ebp - 0x34c]
lea ecx, [ebp - 0x348]
cmp eax, ecx
je 0x100389fc
push eax
call fcn.10088bae
add esp, 4
lea ecx, [ebp - 0x350]
call fcn.10006b40
push dword [ebp - 0x374]
mov esi, dword [ebp - 0x368]
push esi
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
mov ebx, dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
push esi
call ebx
test eax, eax
jne 0x10038a30
push eax
push esi
push eax
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
push esi
call ebx
test eax, eax
je 0x10038aa3
lea ecx, [ebp - 0x350]
call fcn.10020910
mov byte [ebp - 4], 0x2b
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
call fcn.100906ed
call fcn.100906cc
mov ebx, dword [ebp - 0x364]
shl eax, 2
mov ecx, dword [ebx + 8]
add ecx, eax
lea eax, [ebp - 0x350]
push ecx
push str._u.lnk
push eax
call fcn.10006f50
add esp, 0x10
push dword [ebp - 0x350]
push esi
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
push 0
push esi
lea eax, [ebp - 0x218]
mov ecx, ebx
push eax
call fcn.10038b30
lea ecx, [ebp - 0x350]
call fcn.10006b40
lea ecx, [ebp - 0x374]
call fcn.10006b40
lea ecx, [ebp - 0x358]
call fcn.10006b40
lea ecx, [ebp - 0x36c]
call fcn.10006b40
lea ecx, [ebp - 0x35c]
call fcn.10006b40
lea ecx, [ebp - 0x354]
call fcn.10006b40
mov dword [ebp - 4], 0xffffffff
add edi, 0xfffffff0
or ebx, 0xffffffff
lock xadd dword [edi + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x10038af9
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
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
call fcn.10085449
call fcn.10085449
int3