Function at 0x4b46e0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 0x28
push 0
push 0
dec ecx
jne 0x4b46e9
xchg dword [ebp - 4], ecx
push ebx
push esi
push edi
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404b4c
mov eax, dword [ebp - 8]
call fcn.00404b4c
mov eax, dword [ebp - 0xc]
call fcn.00404b4c
xor eax, eax
push ebp
push 0x4b49ac
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x119]
mov cl, 0x20
mov edx, 0x105
call fcn.004031fc
xor eax, eax
push ebp
push 0x4b4771
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x10]
push eax
push 2
push 0
call sub.shell32.dll_SHGetSpecialFolderLocation
call fcn.004b203c
lea eax, [ebp - 0x119]
push eax
mov eax, dword [ebp - 0x10]
push eax
call sub.shell32.dll_SHGetPathFromIDListA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4b477b
lea eax, [ebp - 0x120]
lea edx, [ebp - 0x119]
mov ecx, 0x105
call fcn.0040490c
mov eax, dword [ebp - 0x120]
lea edx, [ebp - 0x14]
call fcn.004088e4
cmp dword [ebp - 0x14], 0
je 0x4b4979
mov eax, dword [ebp - 0x14]
call fcn.0040495c
mov edx, dword [ebp - 0x14]
cmp byte [edx + eax - 1], 0x5c
je 0x4b47c8
lea eax, [ebp - 0x14]
mov edx, 0x4b49c4
call fcn.00404964
push dword [ebp - 0x14]
push dword [ebp - 4]
push 0x4b49c4
lea eax, [ebp - 0x14]
mov edx, 3
call fcn.00404a1c
mov eax, dword [ebp - 0x14]
call fcn.004b3730
xor eax, eax
push ebp
push 0x4b4849
push dword fs:[eax]
mov dword fs:[eax], esp
push dword [ebp - 4]
push 0x4b49c4
lea edx, [ebp - 0x128]
mov eax, 0x4b49d0
call fcn.004ac5f4
push dword [ebp - 0x128]
push 0x4b49e0
push dword [ebp - 4]
lea eax, [ebp - 0x124]
mov edx, 5
call fcn.00404a1c
mov edx, dword [ebp - 0x124]
mov ecx, 2
mov eax, dword [ebp - 0xc]
call fcn.004b3800
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4b4853
cmp byte [ebp + 8], 0
je 0x4b490e
xor eax, eax
push ebp
push 0x4b4904
push dword fs:[eax]
mov dword fs:[eax], esp
push dword [ebp - 4]
push 0x4b49c4
lea edx, [ebp - 0x130]
mov eax, 0x4b49ec
call fcn.004ac5f4
push dword [ebp - 0x130]
push 0
lea eax, [ebp - 0x12c]
mov edx, 4
call fcn.00404a1c
mov eax, dword [ebp - 0x12c]
push eax
lea edx, [ebp - 0x138]
mov eax, dword [ebp - 0xc]
call fcn.00409474
push dword [ebp - 0x138]
push dword [ebp - 4]
push 0x4b49e0
lea edx, [ebp - 0x13c]
mov eax, 0x4b49ec
call fcn.004ac5f4
push dword [ebp - 0x13c]
push 0x4b49fc
lea eax, [ebp - 0x134]
mov edx, 5
call fcn.00404a1c
mov eax, dword [ebp - 0x134]
mov ecx, 2
pop edx
call fcn.004b3800
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4b490e
xor eax, eax
push ebp
push 0x4b496f
push dword fs:[eax]
mov dword fs:[eax], esp
push dword [ebp - 4]
push 0x4b49c4
lea edx, [ebp - 0x144]
mov eax, 0x4b4a0c
call fcn.004ac5f4
push dword [ebp - 0x144]
push 0x4b49e0
push dword [ebp - 4]
lea eax, [ebp - 0x140]
mov edx, 5
call fcn.00404a1c
mov edx, dword [ebp - 0x140]
mov ecx, 2
mov eax, dword [ebp - 8]
call fcn.004b3800
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4b4979
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b49b3
lea eax, [ebp - 0x144]
mov edx, 0xa
call fcn.004046c0
lea eax, [ebp - 0x14]
call fcn.0040469c
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.004046c0
ret