Function at 0x48d460
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x607660
mov eax, dword fs:[0]
push eax
sub esp, 0x30
push ebx
push esi
push edi
mov eax, dword [0x7f206c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov edi, dword [ebp + 8]
lea ecx, [ebp - 0x10]
push ecx
push edi
mov dword [ebp - 0x10], 0
mov eax, dword [edi]
call dword [eax + 0x28]
test eax, eax
js 0x48d62a
mov edx, dword [ebp - 0x10]
mov eax, edx
or eax, 0x20
and edx, 0xffffffdf
cmp byte [ebx + 0x178], 0
cmovne edx, eax
mov eax, edx
or edx, 2
and eax, 0xfffffffd
cmp byte [ebx + 0x17a], 0
cmove edx, eax
mov eax, edx
or edx, 0x200
and eax, 0xfffffdff
cmp byte [ebx + 0x17b], 0
cmove edx, eax
cmp dword [ebx + 0x150], 0
je 0x48d4f5
or edx, 0x40000000
jmp 0x48d4fb
and edx, 0xbfffffff
mov eax, dword [edi]
push edx
push edi
mov dword [ebp - 0x10], edx
call dword [eax + 0x24]
test eax, eax
js 0x48d62a
mov eax, dword [edi]
lea edx, [ebx + 0x148]
lea ecx, [ebp - 0x18]
mov esi, dword [eax + 0x44]
call fcn.00418480
push dword [ebp - 0x18]
push edi
call esi
test eax, eax
js 0x48d62a
lea esi, [ebx + 0x154]
mov dword [ebp + 8], 0
mov edx, esi
lea ecx, [ebp - 0x20]
call fcn.00418480
push 0
push 0x20000000
lea ecx, [ebp + 8]
push ecx
push 0
push dword [eax]
call dword [sym.imp.SHELL32.dll_SHParseDisplayName]
test eax, eax
jns 0x48d5b0
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], 0
push eax
push 0
push 0
push 0x61b760
call dword [sym.imp.SHELL32.dll_SHGetKnownFolderPath]
mov esi, dword [ebp - 0x18]
test eax, eax
js 0x48d61f
push 0
push 0x20000000
lea eax, [ebp + 8]
push eax
push 0
push esi
call dword [sym.imp.SHELL32.dll_SHParseDisplayName]
test eax, eax
js 0x48d61f
test esi, esi
je 0x48d5aa
push esi
call dword [sym.imp.ole32.dll_CoTaskMemFree]
lea esi, [ebx + 0x154]
lea eax, [ebp + 8]
mov dword [ebp - 0x18], eax
lea ecx, [ebp - 0x18]
lea eax, [ebp - 0x1c]
push eax
call fcn.0048d800
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x48d5e7
mov ecx, dword [edi]
push eax
push edi
call dword [ecx + 0x2c]
mov eax, dword [esi]
cmp byte [eax], 0
je 0x48d5e7
push dword [ebp - 0x1c]
mov eax, dword [edi]
push edi
call dword [eax + 0x30]
push dword [ebx + 0x17c]
lea ecx, [ebp - 0x18]
call fcn.0041d400
add esp, 4
mov byte [ebp - 4], 1
lea edx, [ebp - 0x18]
mov eax, dword [edi]
lea ecx, [ebp - 0x20]
mov esi, dword [eax + 0x3c]
call fcn.00418480
push dword [eax]
push edi
call esi
or ecx, 0xffffffff
test eax, eax
jns 0x48d640
xor bl, bl
jmp 0x48d7ac
test esi, esi
je 0x48d62a
push esi
call dword [sym.imp.ole32.dll_CoTaskMemFree]
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
lea eax, [ebp - 0x18]
mov ecx, ebx
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.0048ec20
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x14]
cmp byte [eax], 0
je 0x48d674
mov eax, dword [edi]
lea edx, [ebp - 0x14]
lea ecx, [ebp - 0x20]
mov esi, dword [eax + 0x58]
call fcn.00418480
push dword [eax]
push edi
call esi
test eax, eax
js 0x48d6b3
lea edx, [ebx + 0x14c]
lea ecx, [ebp - 0x20]
call fcn.00418480
lea edx, [ebx + 0x14c]
lea ecx, [ebp - 0x20]
mov eax, dword [eax]
mov dword [ebp - 0x30], eax
call fcn.00418480
cmp byte [ebx + 0x178], 0
mov eax, dword [eax]
mov dword [ebp - 0x2c], eax
jne 0x48d6ba
mov eax, dword [edi]
lea ecx, [ebp - 0x30]
push ecx
push 1
push edi
call dword [eax + 0x10]
test eax, eax
jns 0x48d6ba
xor bl, bl
jmp 0x48d787
lea esi, [ebx + 0x160]
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp byte [ebx + 0x188], 0
push esi
je 0x48d6de
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor bl, bl
jmp 0x48d787
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x38], 1
push ecx
mov dword [ebp - 0x3c], 0x7b171c
lea ecx, [ebp - 0x3c]
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x24], 0
mov eax, dword [edi]
push ecx
push edi
call dword [eax + 0x1c]
mov byte [ebp - 4], 7
cmp byte [ebp + 0xc], 0
mov eax, dword [edi]
mov eax, dword [eax + 0xc]
mov dword [ebp - 0x20], eax
jne 0x48d74f
mov ecx, dword [ebx + 0x144]
test ecx, ecx
je 0x48d72e
mov ecx, dword [ecx + 8]
jmp 0x48d730
xor ecx, ecx
call fcn.005ef5c0
test eax, eax
je 0x48d74f
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
cmp ecx, vtable.juce::HWNDComponentPeer.1.0
jne 0x48d7f4
mov eax, dword [eax + 0x70]
jmp 0x48d751
xor eax, eax
push eax
push edi
call dword [ebp - 0x20]
test eax, eax
sete byte [ebp + 0xf]
mov byte [ebp - 4], 8
mov ecx, dword [ebp - 0x28]
push dword [ebp - 0x24]
push ecx
mov eax, dword [ecx]
call dword [eax + 0x20]
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea ecx, [ebx + 0x184]
xor eax, eax
xchg dword [ecx], eax
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov bl, byte [ebp + 0xf]
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff8
cmp ecx, 0x7a1354
je 0x48d7a9
or eax, 0xffffffff
lock xadd dword [ecx], eax
test eax, eax
jne 0x48d7a9
push ecx
call fcn.004a8172
add esp, 4
or ecx, 0xffffffff
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff8
cmp eax, 0x7a1354
je 0x48d7ca
lock xadd dword [eax], ecx
test ecx, ecx
jne 0x48d7ca
push eax
call fcn.004a8172
add esp, 4
mov dword [ebp - 4], 9
mov ecx, dword [ebp - 0x1c]
test ecx, ecx
je 0x48d7de
mov edx, dword [ecx]
push ecx
call dword [edx + 8]
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov ecx, eax
call edx
jmp 0x48d751