Function at 0x106d41b
Capabilities:
Get common file path

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x6b4
mov eax, dword [0x10b1090]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x688], eax
call fcn.01019281
mov dword [ebp - 0x694], eax
mov byte [ebp - 0x67d], 0
test eax, eax
jl 0x106d632
and dword [ebp - 0x690], 0
xor edi, edi
inc edi
mov esi, 0x104
jmp 0x106d77e
push 0x106d830
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_StrCmpICW]
test eax, eax
jne 0x106d48c
or dword [ebx + 8], 1
jmp 0x106d77d
push 0x106d820
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_StrCmpICW]
test eax, eax
jne 0x106d4ab
or dword [ebx + 8], 0x10
jmp 0x106d77d
push 0x106d818
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_StrCmpICW]
test eax, eax
jne 0x106d4ca
or dword [ebx + 8], 8
jmp 0x106d77d
push 0x106d80c
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_StrCmpICW]
test eax, eax
lea eax, [ebp - 0x20c]
jne 0x106d654
and dword [ebp - 0x68c], 0
and dword [ebp - 0x684], 0
push esi
push eax
inc edi
push edi
push dword [ebp - 0x688]
call fcn.0106cf76
test eax, eax
je 0x106d7ca
lea eax, [ebp - 0x67c]
push eax
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_GUIDFromStringW]
test eax, eax
lea eax, [ebp - 0x20c]
je 0x106d598
push eax
push 0x27
lea eax, [ebp - 0x25c]
push eax
call fcn.0100665f
push esi
lea eax, [ebp - 0x20c]
push eax
inc edi
push edi
push dword [ebp - 0x688]
call fcn.0106cf76
test eax, eax
jne 0x106d571
push esi
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x25c]
push eax
call fcn.0106d360
test eax, eax
je 0x106d7ca
xor eax, eax
push eax
push eax
lea ecx, [ebp - 0x68c]
push ecx
push eax
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHELL32.dll_SHParseDisplayName]
lea eax, [ebp - 0x67c]
mov dword [ebp - 0x684], eax
jmp 0x106d5e0
push 0x1068c20
push eax
call dword [sym.imp.SHLWAPI.dll_StrCmpICW]
test eax, eax
jne 0x106d5c7
inc edi
push edi
push dword [ebp - 0x688]
mov dword [ebp - 0x690], 1
call fcn.0106d297
mov dword [ebp - 0x68c], eax
jmp 0x106d5e0
xor eax, eax
push eax
push eax
lea ecx, [ebp - 0x68c]
push ecx
push eax
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHELL32.dll_SHParseDisplayName]
cmp dword [ebp - 0x68c], 0
je 0x106d608
push dword [ebp - 0x68c]
push dword [ebp - 0x684]
call fcn.0107cfd0
push dword [ebp - 0x68c]
mov dword [ebx], eax
call dword [sym.imp.SHELL32.dll_ILFree]
cmp dword [ebp - 0x690], 0
je 0x106d77d
xor eax, eax
cmp dword [ebx], eax
jne 0x106d627
push ebx
push eax
push eax
push 5
push eax
call dword [sym.imp.SHELL32.dll_SHGetFolderLocation]
push dword [ebp - 0x694]
call fcn.010192b3
xor eax, eax
cmp dword [ebx], eax
jne 0x106d640
cmp byte [ebp - 0x67d], al
je 0x106d643
xor eax, eax
inc eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.01001fef
leave
ret 8
push 0x106d7fc
push eax
call dword [sym.imp.SHLWAPI.dll_StrCmpICW]
test eax, eax
jne 0x106d66d
or dword [ebx + 8], 4
jmp 0x106d77d
push 0x1068c20
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_StrCmpICW]
test eax, eax
je 0x106d79f
push 0x106d7e8
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_StrCmpICW]
test eax, eax
jne 0x106d6a9
mov dword [ebx + 4], 1
jmp 0x106d77d
push 0x106d7d4
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_StrCmpICW]
test eax, eax
jne 0x106d716
inc edi
push edi
push dword [ebp - 0x688]
lea eax, [ebp - 0x6b4]
push eax
mov dword [ebp - 0x684], edi
call fcn.0106d14f
mov esi, eax
lea edi, [ebp - 0x6a4]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea eax, [ebx + 0xc]
mov edi, eax
lea esi, [ebp - 0x6a4]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push 4
mov esi, eax
pop ecx
mov edi, 0x100d864
xor eax, eax
repe cmpsd dword [esi], dword es:[edi]
mov edi, dword [ebp - 0x684]
setne byte [ebp - 0x67d]
mov esi, 0x104
jmp 0x106d77d
cmp dword [ebx], 0
jne 0x106d77d
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHELL32.dll_ILCreateFromPathW]
mov dword [ebp - 0x684], eax
test eax, eax
jne 0x106d775
push esi
lea eax, [ebp - 0x66c]
push eax
call fcn.0107ca24
test eax, eax
jl 0x106d775
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x66c]
push eax
lea eax, [ebp - 0x464]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
test eax, eax
je 0x106d775
lea eax, [ebp - 0x464]
push eax
call dword [sym.imp.SHELL32.dll_ILCreateFromPathW]
mov dword [ebp - 0x684], eax
mov eax, dword [ebp - 0x684]
mov dword [ebx], eax
inc edi
push esi
lea eax, [ebp - 0x20c]
push eax
push edi
push dword [ebp - 0x688]
call fcn.0106cf76
test eax, eax
je 0x106d615
jmp 0x106d46d
inc edi
push edi
push dword [ebp - 0x688]
call fcn.0106d297
mov esi, eax
test esi, esi
je 0x106d7c1
push dword [ebx]
call dword [sym.imp.SHELL32.dll_ILFree]
mov dword [ebx], esi
jmp 0x106d615
cmp dword [ebx], 0
jne 0x106d627
xor eax, eax
jmp 0x106d643