Function at 0x210505a3
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x130
mov dword [ebp - 0x12c], ecx
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x128], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x120], 0
mov dword [ebp - 0x124], 0
mov dword [ebp - 0x11c], 0
push 0x108
push 0
lea eax, [ebp - 0x114]
push eax
call fcn.2105e780
add esp, 0xc
mov dword [ebp - 8], 0
mov dword [ebp - 0x118], 0
mov ecx, dword [ebp - 0x12c]
cmp dword [ecx], 0
je 0x21050632
mov edx, dword [ebp - 0x12c]
cmp dword [edx + 4], 0
je 0x21050632
mov dword [ebp - 0x130], 1
jmp 0x2105063c
mov dword [ebp - 0x130], 0
cmp dword [ebp - 0x130], 0
jne 0x2105064c
xor eax, eax
jmp 0x21050907
lea eax, [ebp - 0xc]
push eax
call dword [sym.imp.SHELL32.dll_SHGetDesktopFolder]
test eax, eax
je 0x21050661
xor eax, eax
jmp 0x21050907
lea ecx, [ebp - 0x128]
push ecx
push 4
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
test eax, eax
je 0x2105067b
jmp 0x21050902
lea edx, [ebp - 4]
push edx
push 0x21080920
push 0
mov eax, dword [ebp - 0x128]
push eax
mov ecx, dword [ebp - 0xc]
mov edx, dword [ecx]
mov eax, dword [ebp - 0xc]
push eax
call dword [edx + 0x14]
test eax, eax
je 0x210506a2
jmp 0x210508fd
lea ecx, [ebp - 0x120]
push ecx
push 0x40
push 0
mov edx, dword [ebp - 4]
mov eax, dword [edx]
mov ecx, dword [ebp - 4]
push ecx
call dword [eax + 0x10]
test eax, eax
je 0x210506c2
jmp 0x210508f8
push 0
lea edx, [ebp - 0x124]
push edx
push 1
mov eax, dword [ebp - 0x120]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x120]
push edx
call dword [ecx + 0xc]
test eax, eax
jne 0x2105082b
lea eax, [ebp - 0x114]
push eax
push 0xa001
mov ecx, dword [ebp - 0x124]
push ecx
mov edx, dword [ebp - 4]
mov eax, dword [edx]
mov ecx, dword [ebp - 4]
push ecx
call dword [eax + 0x2c]
test eax, eax
je 0x2105070f
jmp 0x210508f3
lea edx, [ebp - 8]
push edx
mov eax, dword [ebp - 0x124]
push eax
lea ecx, [ebp - 0x114]
push ecx
call dword [sym.imp.SHLWAPI.dll_StrRetToStrW]
test eax, eax
je 0x21050730
jmp 0x210508ee
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp - 8]
push eax
call fcn.2105e83a
add esp, 8
test eax, eax
je 0x21050749
jmp 0x210508e9
mov ecx, dword [ebp - 0x124]
push ecx
mov edx, dword [ebp - 0x128]
push edx
call fcn.21050d06
add esp, 8
mov dword [ebp - 0x11c], eax
cmp dword [ebp - 0x11c], 0
jne 0x21050773
jmp 0x210508e4
mov eax, dword [ebp - 0x11c]
push eax
mov ecx, dword [ebp - 0x12c]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x12c]
mov ecx, dword [eax]
mov eax, dword [ecx]
push edx
call dword [eax + 0x14]
test eax, eax
je 0x21050799
jmp 0x210508df
push 1
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 0x12c]
mov eax, dword [edx + 4]
mov ecx, dword [ebp - 0x12c]
mov edx, dword [ecx + 4]
mov ecx, dword [edx]
push eax
call dword [ecx + 0x18]
test eax, eax
je 0x210507c0
jmp 0x210508da
mov dword [ebp - 0x118], 1
jmp 0x2105082b
cmp dword [ebp - 8], 0
je 0x210507e3
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.ole32.dll_CoTaskMemFree]
mov dword [ebp - 8], 0
cmp dword [ebp - 0x114], 0
jne 0x2105080f
mov eax, dword [ebp - 0x110]
push eax
call dword [sym.imp.ole32.dll_CoTaskMemFree]
push 0x108
push 0
lea ecx, [ebp - 0x114]
push ecx
call fcn.2105e780
add esp, 0xc
mov edx, dword [ebp - 0x124]
push edx
call dword [sym.imp.ole32.dll_CoTaskMemFree]
mov dword [ebp - 0x124], 0
jmp 0x210506c2
cmp dword [ebp - 8], 0
je 0x2105083b
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.ole32.dll_CoTaskMemFree]
cmp dword [ebp - 0x114], 0
jne 0x21050851
mov ecx, dword [ebp - 0x110]
push ecx
call dword [sym.imp.ole32.dll_CoTaskMemFree]
cmp dword [ebp - 0x11c], 0
je 0x21050867
mov edx, dword [ebp - 0x11c]
push edx
call dword [sym.imp.ole32.dll_CoTaskMemFree]
cmp dword [ebp - 0x124], 0
je 0x2105087d
mov eax, dword [ebp - 0x124]
push eax
call dword [sym.imp.ole32.dll_CoTaskMemFree]
cmp dword [ebp - 0x120], 0
je 0x21050898
mov ecx, dword [ebp - 0x120]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x120]
push eax
call dword [edx + 8]
cmp dword [ebp - 4], 0
je 0x210508aa
mov ecx, dword [ebp - 4]
mov edx, dword [ecx]
mov eax, dword [ebp - 4]
push eax
call dword [edx + 8]
cmp dword [ebp - 0x128], 0
je 0x210508c0
mov ecx, dword [ebp - 0x128]
push ecx
call dword [sym.imp.ole32.dll_CoTaskMemFree]
cmp dword [ebp - 0xc], 0
je 0x210508d2
mov edx, dword [ebp - 0xc]
mov eax, dword [edx]
mov ecx, dword [ebp - 0xc]
push ecx
call dword [eax + 8]
mov eax, dword [ebp - 0x118]
jmp 0x21050907
jmp 0x2105082b
jmp 0x2105082b
jmp 0x2105082b
jmp 0x210507cc
jmp 0x210507cc
jmp 0x210507cc
jmp 0x2105082b
jmp 0x2105082b
jmp 0x2105082b
mov esp, ebp
pop ebp
ret 8