Function at 0x48aca1
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x70
push ebx
push esi
push edi
xor eax, eax
xor edi, edi
cmp dword [0x4c6be0], eax
mov ebx, ecx
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 4], eax
je 0x48acd2
cmp dword [ebx + 0xd4], eax
jne 0x48acd2
mov dword [ebp - 4], 0x400
jmp 0x48acd7
mov edi, 0x400
cmp dword [0x4c6bd8], eax
je 0x48ace8
or byte [ebp - 3], 0x10
or edi, 6
jmp 0x48acf2
or edi, 0x1000
or dword [ebp - 4], 6
mov esi, dword [sym.imp.USER32.dll_GetWindowLongW]
push 0xfffffffffffffff0
push dword [ebx + 4]
call esi
not edi
and edi, eax
or edi, dword [ebp - 4]
mov ecx, edi
mov edi, dword [sym.imp.USER32.dll_SetWindowLongW]
cmp eax, ecx
je 0x48ad1a
push ecx
push 0xfffffffffffffff0
push dword [ebx + 4]
call edi
cmp dword [0x4c6bd0], 0
je 0x48ad3b
push 0xfffffffffffffff0
push dword [ebx + 4]
call esi
mov ecx, eax
and ecx, 0xfffffff9
cmp eax, ecx
je 0x48ad3b
push ecx
push 0xfffffffffffffff0
push dword [ebx + 4]
call edi
push dword [ebx + 4]
call fcn.0045c51d
cmp dword [0x4c6bd4], 0
pop ecx
push 0xfffffffffffffff0
push dword [ebx + 4]
je 0x48ad5b
call esi
mov ecx, eax
or ecx, 4
jmp 0x48ad62
call esi
mov ecx, eax
and ecx, 0xfffffffb
cmp eax, ecx
je 0x48ad6e
push ecx
push 0xfffffffffffffff0
push dword [ebx + 4]
call edi
mov dword [ebx + 0xf8], 0x20
cmp dword [0x4b8440], 0
je 0x48ad8b
mov dword [ebx + 0xf8], 0x60
lea eax, [ebp - 0x10]
push 0x23
push eax
call dword [sym.imp.SHELL32.dll_SHGetSettings]
test byte [ebp - 0x10], 1
je 0x48ada4
or byte [ebx + 0xf8], 0x80
cmp dword [ebp + 8], 0
mov edi, dword [sym.imp.SHELL32.dll_ILClone]
je 0x48adf1
push dword [ebp + 8]
call edi
mov esi, eax
push esi
call dword [sym.imp.SHELL32.dll_ILRemoveLastID]
test esi, esi
je 0x48aec7
push dword [ebp + 8]
call dword [sym.imp.SHELL32.dll_ILFindLastID]
push eax
call edi
cmp word [esi], 0
lea edx, [ebp - 8]
mov dword [ebp - 0xc], eax
mov eax, dword [ebx + 0xfc]
push edx
push 0x4ab2c8
mov ecx, dword [eax]
push 0
push esi
push eax
call dword [ecx + 0x14]
push dword [ebx + 0xec]
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 0x1109
push dword [ebx + 4]
call esi
push 0
push 0x64
push 0x1121
push dword [ebx + 4]
call esi
lea eax, [ebp - 0x14]
push eax
push 0
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
test eax, eax
jl 0x48aec7
push 0xc
push 0x40
mov dword [ebp - 0x3c], 0x67
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
push dword [ebp + 8]
mov esi, eax
mov eax, dword [ebp - 0xc]
mov dword [esi + 8], eax
call edi
mov dword [esi + 4], eax
mov eax, dword [ebp - 8]
or dword [ebp - 0x2c], 0xffffffff
or dword [ebp - 0x20], 0xffffffff
or dword [ebp - 0x24], 0xffffffff
push 0xa
mov dword [esi], eax
pop ecx
lea eax, [ebp - 0x70]
mov dword [ebp - 0x18], esi
push eax
lea esi, [ebp - 0x3c]
lea edi, [ebp - 0x68]
push 0
mov dword [ebp - 0x1c], 1
push 0x1132
push dword [ebx + 4]
rep movsd dword es:[edi], dword [esi]
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
mov dword [ebp - 0x6c], 0xffff0002
mov dword [ebp - 0x70], 0xffff0000
call esi
push dword [ebx + 0x7c]
mov edi, eax
mov eax, dword [ebx + 0xfc]
push dword [ebp + 8]
mov ecx, dword [eax]
push 0
push eax
call dword [ecx + 0x1c]
test eax, eax
jne 0x48aeb5
mov dword [ebx + 0x68], edi
push edi
push 2
push 0x1102
push dword [ebx + 4]
call esi
push 1
pop eax
jmp 0x48aec9
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 4