Function at 0x48b25e
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 [0x4c7cc8], eax
mov ebx, ecx
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 4], eax
je 0x48b28f
cmp dword [ebx + 0xd4], eax
jne 0x48b28f
mov dword [ebp - 4], 0x400
jmp 0x48b294
mov edi, 0x400
cmp dword [0x4c7cc0], eax
je 0x48b2a5
or byte [ebp - 3], 0x10
or edi, 6
jmp 0x48b2af
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 0x48b2d7
push ecx
push 0xfffffffffffffff0
push dword [ebx + 4]
call edi
cmp dword [0x4c7cb8], 0
je 0x48b2f8
push 0xfffffffffffffff0
push dword [ebx + 4]
call esi
mov ecx, eax
and ecx, 0xfffffff9
cmp eax, ecx
je 0x48b2f8
push ecx
push 0xfffffffffffffff0
push dword [ebx + 4]
call edi
push dword [ebx + 4]
call fcn.0045c914
cmp dword [0x4c7cbc], 0
pop ecx
push 0xfffffffffffffff0
push dword [ebx + 4]
je 0x48b318
call esi
mov ecx, eax
or ecx, 4
jmp 0x48b31f
call esi
mov ecx, eax
and ecx, 0xfffffffb
cmp eax, ecx
je 0x48b32b
push ecx
push 0xfffffffffffffff0
push dword [ebx + 4]
call edi
mov dword [ebx + 0xf8], 0x20
cmp dword [0x4b9508], 0
je 0x48b348
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 0x48b361
or byte [ebx + 0xf8], 0x80
cmp dword [ebp + 8], 0
mov edi, dword [sym.imp.SHELL32.dll_ILClone]
je 0x48b3ae
push dword [ebp + 8]
call edi
mov esi, eax
push esi
call dword [sym.imp.SHELL32.dll_ILRemoveLastID]
test esi, esi
je 0x48b484
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 0x4ac2d8
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 0x48b484
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 0x48b472
mov dword [ebx + 0x68], edi
push edi
push 2
push 0x1102
push dword [ebx + 4]
call esi
push 1
pop eax
jmp 0x48b486
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 4