Function at 0x4829cc
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffeb0
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x150], ebx
mov dword [ebp - 0x14c], ebx
mov dword [ebp - 0x148], ebx
mov dword [ebp - 0x134], ebx
mov dword [ebp - 0x130], ebx
mov dword [ebp - 0x12c], ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov esi, dword [ebp + 8]
mov eax, dword [ebp - 4]
call fcn.00404748
mov eax, dword [ebp - 8]
call fcn.00404748
mov eax, dword [ebp - 0xc]
call fcn.00404748
xor eax, eax
push ebp
push 0x482c92
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
mov eax, dword [ebp - 4]
call fcn.0040913c
test al, al
je 0x482c37
xor eax, eax
push ebp
push 0x482c2b
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp - 8], 0
jne 0x482a80
lea edx, [ebp - 0x12c]
mov eax, dword [ebp - 4]
call fcn.00409458
mov eax, dword [ebp - 0x12c]
lea ecx, [ebp - 8]
xor edx, edx
call fcn.004092fc
lea edx, [ebp - 0x10]
mov eax, dword [0x5072ec]
call fcn.00481140
lea eax, [ebp - 0x14]
mov edx, dword [ebp - 0x10]
mov ecx, 0x482ca4
call fcn.00406014
mov eax, dword [ebp - 4]
call fcn.00404758
push eax
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [eax]
call dword [eax + 0x50]
lea edx, [ebp - 0x130]
mov eax, dword [ebp - 4]
call fcn.00409390
mov eax, dword [ebp - 0x130]
call fcn.00404758
push eax
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [eax]
call dword [eax + 0x24]
cmp dword [ebp - 0xc], 0
jne 0x482adf
cmp esi, 0xffffffff
jne 0x482adf
xor esi, esi
cmp esi, 0xffffffff
jle 0x482b4f
lea eax, [ebp - 0x1c]
push eax
push esi
push 0
call sub.shell32.dll_SHGetSpecialFolderLocation
lea eax, [ebp - 0x125]
push eax
mov eax, dword [ebp - 0x1c]
push eax
call sub.shell32.dll_SHGetPathFromIDListA
lea eax, [ebp - 0x134]
push eax
lea eax, [ebp - 0x125]
mov dword [ebp - 0x144], eax
mov byte [ebp - 0x140], 6
mov eax, dword [ebp - 8]
mov dword [ebp - 0x13c], eax
mov byte [ebp - 0x138], 0xb
lea edx, [ebp - 0x144]
mov ecx, 1
mov eax, 0x482cbc
call fcn.00409c80
mov edx, dword [ebp - 0x134]
lea eax, [ebp - 0x20]
call fcn.00404af0
jmp 0x482bce
lea edx, [ebp - 0x148]
mov eax, dword [ebp - 0xc]
call fcn.0040da60
mov edx, dword [ebp - 0x148]
lea eax, [ebp - 0xc]
call fcn.00404330
mov eax, dword [ebp - 0xc]
call fcn.0040914c
test al, al
jne 0x482b84
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x482c37
lea eax, [ebp - 0x14c]
push eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x144], eax
mov byte [ebp - 0x140], 0xb
mov eax, dword [ebp - 8]
mov dword [ebp - 0x13c], eax
mov byte [ebp - 0x138], 0xb
lea edx, [ebp - 0x144]
mov ecx, 1
mov eax, 0x482cbc
call fcn.00409c80
mov edx, dword [ebp - 0x14c]
lea eax, [ebp - 0x20]
call fcn.00404af0
lea eax, [ebp - 0x150]
mov edx, dword [ebp - 0x20]
call fcn.00404520
mov eax, dword [ebp - 0x150]
call fcn.0040913c
test al, al
je 0x482bf7
mov bl, 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x482c37
lea eax, [ebp - 0x18]
mov edx, dword [ebp - 0x10]
mov ecx, 0x482cc8
call fcn.00406014
push 0
mov eax, dword [ebp - 0x20]
call fcn.00404b00
push eax
mov eax, dword [ebp - 0x18]
push eax
mov eax, dword [eax]
call dword [eax + 0x18]
test eax, eax
jne 0x482c21
mov bl, 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x482c37
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x482c99
lea eax, [ebp - 0x150]
mov edx, 3
call fcn.004042bc
lea eax, [ebp - 0x134]
mov edx, 3
call fcn.004042bc
lea eax, [ebp - 0x20]
call fcn.004049a4
lea eax, [ebp - 0x18]
call fcn.00405fd0
lea eax, [ebp - 0x14]
call fcn.00405fd0
lea eax, [ebp - 0x10]
call fcn.00405fd0
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.004042bc
ret