Function at 0x4e3854
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffec4
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 0x13c], ebx
mov dword [ebp - 0x138], ebx
mov dword [ebp - 0x134], ebx
mov dword [ebp - 0x12c], ebx
mov dword [ebp - 0x130], ebx
mov dword [ebp - 0x128], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov ebx, eax
mov eax, dword [ebp - 4]
call fcn.00404ad8
mov eax, dword [ebp - 8]
call fcn.00404ad8
mov eax, dword [ebp + 0x10]
call fcn.00404ad8
mov eax, dword [ebp + 0xc]
call fcn.00404ad8
xor eax, eax
push ebp
push 0x4e3ac3
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.004094e0
test al, al
jne 0x4e38f3
mov ax, word [0x4e3ad4]
push eax
push 0
xor ecx, ecx
mov edx, 0x4e3ae0
mov eax, dword [ebx + 0x330]
call fcn.004bc040
jmp 0x4e3a6b
lea edx, [ebp - 0xc]
mov eax, dword [0x4e91d4]
call fcn.004aea30
lea eax, [ebp - 0x10]
mov edx, dword [ebp - 0xc]
mov ecx, 0x4e3b08
call fcn.004063d4
lea eax, [ebp - 0x14]
mov edx, dword [ebp - 0xc]
mov ecx, 0x4e3b18
call fcn.004063d4
mov eax, dword [ebp - 4]
call fcn.00404ae8
mov esi, eax
push esi
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [eax]
call dword [eax + 0x50]
mov eax, dword [ebp - 8]
call fcn.00404ae8
push eax
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [eax]
call dword [eax + 0x2c]
lea edx, [ebp - 0x128]
mov eax, dword [ebp - 4]
call fcn.00409788
mov eax, dword [ebp - 0x128]
call fcn.00404ae8
push eax
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [eax]
call dword [eax + 0x24]
mov eax, dword [ebp + 0x10]
call fcn.00404ae8
push eax
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [eax]
call dword [eax + 0x1c]
mov eax, dword [ebp + 8]
push eax
push esi
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [eax]
call dword [eax + 0x44]
lea eax, [ebp - 0x18]
push eax
push 0x10
push 0
call sub.shell32.dll_SHGetSpecialFolderLocation
lea eax, [ebp - 0x121]
push eax
mov eax, dword [ebp - 0x18]
push eax
call sub.shell32.dll_SHGetPathFromIDListA
lea edx, [ebp - 0x130]
lea eax, [ebp - 0x121]
call fcn.00409db0
push dword [ebp - 0x130]
push 0x4e3b30
push dword [ebp + 0xc]
push 0x4e3b3c
lea eax, [ebp - 0x12c]
mov edx, 4
call fcn.004049a8
mov edx, dword [ebp - 0x12c]
lea eax, [ebp - 0x1c]
call fcn.00404e80
lea eax, [ebp - 0x134]
mov edx, dword [ebp - 0x1c]
call fcn.004048b0
mov eax, dword [ebp - 0x134]
call fcn.00409654
push 0
mov eax, dword [ebp - 0x1c]
call fcn.00404e90
push eax
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [eax]
call dword [eax + 0x18]
lea eax, [ebp - 0x138]
mov edx, dword [ebp - 0x1c]
call fcn.004048b0
mov eax, dword [ebp - 0x138]
call fcn.004094e0
test al, al
jne 0x4e3a6b
mov ax, word [0x4e3ad4]
push eax
push 0
push 0x4e3b4c
push dword [ebp + 0xc]
push 0x4e3b60
lea eax, [ebp - 0x13c]
mov edx, 3
call fcn.004049a8
mov edx, dword [ebp - 0x13c]
xor ecx, ecx
mov eax, dword [ebx + 0x330]
call fcn.004bc040
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4e3aca
lea eax, [ebp - 0x13c]
mov edx, 6
call fcn.0040464c
lea eax, [ebp - 0x1c]
call fcn.00404d34
lea eax, [ebp - 0x14]
call fcn.00406390
lea eax, [ebp - 0x10]
call fcn.00406390
lea eax, [ebp - 0xc]
call fcn.00406390
lea eax, [ebp - 8]
mov edx, 2
call fcn.0040464c
lea eax, [ebp + 0xc]
mov edx, 2
call fcn.0040464c
ret