Function at 0x10017fd0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10114621
mov eax, dword fs:[0]
push eax
sub esp, 0x2cc
mov eax, dword [0x1015bdd0]
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, dword [ebp + 8]
mov eax, dword [ebp + 0x10]
mov esi, dword [ebp + 0xc]
xor ebx, ebx
mov dword [ebp - 0x288], edi
mov dword [ebp - 0x274], eax
cmp edi, ebx
jne 0x10018020
xor eax, eax
jmp 0x100184fa
mov edx, dword [edi]
mov edx, dword [edx + 0xc]
mov eax, 1
mov dword [ebp - 0x2cc], eax
mov dword [ebp - 0x2c4], eax
xor eax, eax
mov ecx, 0xf
mov dword [ebp - 0x280], eax
mov dword [ebp - 0x27c], eax
lea eax, [ebp - 0x284]
mov word [ebp - 0x2d4], cx
push eax
lea ecx, [ebp - 0x2d4]
push ecx
push edi
mov dword [ebp - 0x2d0], ebx
mov dword [ebp - 0x2c8], 0xffffffff
mov dword [ebp - 0x284], ebx
call edx
cmp eax, ebx
jl 0x100180a1
cmp esi, ebx
jne 0x10018085
mov esi, dword [ebp - 0x280]
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov ecx, dword [ebp - 0x274]
push ecx
push eax
call fcn.1004c510
add esp, 8
jmp 0x100184f1
push 0x206
lea eax, [ebp - 0x216]
xor edx, edx
push ebx
push eax
mov word [ebp - 0x218], dx
call fcn.1007d080
add esp, 0xc
push 0x103
lea ecx, [ebp - 0x218]
push ecx
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
lea edx, [ebp - 0x218]
push edx
lea ecx, [ebp - 0x26c]
call fcn.1006a1e0
mov dword [ebp - 4], ebx
push str.Temp_
lea ecx, [ebp - 0x264]
call fcn.1006a080
mov byte [ebp - 4], 1
lea eax, [ebp - 0x264]
push eax
lea ecx, [ebp - 0x26c]
call fcn.1006b630
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x264]
call fcn.1006a980
mov cx, word [0x10170d50]
mov edx, dword [edi]
mov edx, dword [edx + 0xc]
xor eax, eax
mov dword [ebp - 0x2a8], eax
mov dword [ebp - 0x2a4], eax
mov eax, 1
mov dword [ebp - 0x2b8], eax
mov dword [ebp - 0x2b0], eax
lea eax, [ebp - 0x2ac]
mov word [ebp - 0x2c0], cx
push eax
lea ecx, [ebp - 0x2c0]
push ecx
or esi, 0xffffffff
push edi
mov dword [ebp - 0x2ac], ebx
mov dword [ebp - 0x2bc], ebx
mov dword [ebp - 0x2b4], esi
call edx
cmp eax, ebx
jge 0x1001817e
mov dword [ebp - 4], esi
jmp 0x100184e6
mov eax, dword [ebp - 0x2a8]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov esi, eax
mov dword [ebp - 0x2a0], esi
cmp dword [0x1016af88], ebx
je 0x100181b5
push esi
push str._GetFileNames__File_21___08x_
push str.DragTool
push 0xffffffffffffffff
push 0x1016af1c
call fcn.1000b060
add esp, 0x14
cmp esi, ebx
je 0x100184df
cmp dword [0x1016af88], ebx
je 0x100181e1
mov ecx, dword [esi]
push ecx
push str._GetFileNames__File22___d_
push str.DragTool
push 0xffffffffffffffff
push 0x1016af1c
call fcn.1000b060
add esp, 0x14
mov dx, word [0x10170d64]
mov word [ebp - 0x29c], dx
mov dword [ebp - 0x298], ebx
mov dword [ebp - 0x294], 1
mov dword [ebp - 0x290], ebx
mov dword [ebp - 0x28c], 4
mov dword [ebp - 0x278], ebx
cmp dword [esi], ebx
jbe 0x100184d2
add esi, 0x4c
mov dword [ebp - 0x264], esi
cmp dword [0x1016af88], ebx
je 0x10018248
push esi
push str._GetFileNames__File23___s_
push str.DragTool
push 0xffffffffffffffff
push 0x1016af1c
call fcn.1000b060
add esp, 0x14
mov eax, esi
lea edx, [eax + 2]
lea ecx, [ecx]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x10018250
sub eax, edx
sar eax, 1
je 0x1001849b
push esi
lea eax, [ebp - 0x26c]
push eax
lea ecx, [ebp - 0x268]
push ecx
call fcn.1006b0f0
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x278]
mov eax, dword [edi]
mov eax, dword [eax + 0xc]
lea ecx, [ebp - 0x284]
mov dword [ebp - 0x290], edx
push ecx
lea edx, [ebp - 0x29c]
push edx
push edi
call eax
mov esi, eax
cmp esi, ebx
jge 0x100182c7
mov ecx, dword [edi]
mov ecx, dword [ecx + 0xc]
lea edx, [ebp - 0x284]
push edx
lea eax, [ebp - 0x29c]
push eax
push edi
mov dword [ebp - 0x28c], 1
call ecx
mov esi, eax
cmp dword [0x1016af88], ebx
je 0x100182f0
mov edx, dword [ebp - 0x28c]
push edx
push esi
push str._GetFileNames__File24___08x____08x_
push str.DragTool
push 0xffffffffffffffff
push 0x1016af1c
call fcn.1000b060
add esp, 0x18
cmp esi, ebx
jl 0x100184c4
cmp dword [ebp - 0x28c], 4
jne 0x1001830a
mov eax, dword [ebp - 0x280]
push eax
jmp 0x10018311
mov ecx, dword [ebp - 0x280]
push ecx
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov esi, eax
cmp dword [0x1016af88], ebx
je 0x1001833b
push esi
push str._GetFileNames__File25___p_
push str.DragTool
push 0xffffffffffffffff
push 0x1016af1c
call fcn.1000b060
add esp, 0x14
cmp esi, ebx
je 0x100184c4
mov eax, dword [ebp - 0x268]
lea edx, [ebp - 0x270]
push edx
push ebx
push 1
push ebx
push 0x1022
push eax
mov dword [ebp - 0x270], ebx
call dword [sym.imp.SHLWAPI.dll_SHCreateStreamOnFileEx]
cmp dword [ebp - 0x270], ebx
je 0x10018487
cmp dword [ebp - 0x28c], 4
jne 0x10018414
mov edx, dword [esi]
push ebx
push ebx
xor ecx, ecx
xor eax, eax
push ecx
push eax
mov eax, dword [edx + 0x14]
push esi
call eax
push 0x44
lea ecx, [ebp - 0x25c]
push ebx
push ecx
mov dword [ebp - 0x260], ebx
call fcn.1007d080
mov edx, dword [esi]
mov ecx, dword [edx + 0x30]
add esp, 0xc
push ebx
lea eax, [ebp - 0x260]
push eax
push esi
call ecx
mov eax, dword [ebp - 0x254]
mov ecx, dword [ebp - 0x258]
mov edx, dword [esi]
push ebx
push ebx
push eax
mov eax, dword [ebp - 0x270]
push ecx
mov ecx, dword [edx + 0x1c]
push eax
push esi
call ecx
mov edx, dword [ebp - 0x280]
push edx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
cmp dword [0x1016af88], ebx
je 0x10018463
mov eax, dword [ebp - 0x254]
mov ecx, dword [ebp - 0x258]
push eax
push ecx
push str._GetFileNames__File26___lx_
push str.DragTool
push 0xffffffffffffffff
push 0x1016af1c
call fcn.1000b060
add esp, 0x18
jmp 0x10018463
push esi
call dword [sym.imp.KERNEL32.dll_GlobalSize]
mov edi, eax
mov eax, dword [ebp - 0x270]
mov edx, dword [eax]
push ebx
push edi
push esi
push eax
mov eax, dword [edx + 0x10]
call eax
mov ecx, dword [ebp - 0x280]
push ecx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
cmp dword [0x1016af88], ebx
je 0x1001845d
push edi
push str._GetFileNames__File27___lx_
push str.DragTool
push 0xffffffffffffffff
push 0x1016af1c
call fcn.1000b060
add esp, 0x14
mov edi, dword [ebp - 0x288]
mov eax, dword [ebp - 0x270]
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
mov ecx, dword [ebp - 0x274]
mov eax, dword [ecx + 4]
lea edx, [ebp - 0x268]
push edx
push eax
call fcn.100708b0
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x268]
call fcn.1006a980
mov esi, dword [ebp - 0x264]
mov eax, dword [ebp - 0x278]
mov ecx, dword [ebp - 0x2a0]
inc eax
add esi, 0x250
mov dword [ebp - 0x278], eax
mov dword [ebp - 0x264], esi
cmp eax, dword [ecx]
jb 0x10018226
jmp 0x100184d2
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x268]
call fcn.1006a980
mov edx, dword [ebp - 0x2a8]
push edx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x26c]
call fcn.1006a980
mov eax, dword [ebp - 0x274]
mov eax, 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.1007ceab
mov esp, ebp
pop ebp
ret