Function at 0x4a03b4
Capabilities:
Get common file path
Get file system object information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe7c
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 0x184], ebx
mov dword [ebp - 0x180], ebx
mov dword [ebp - 0x17c], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 4], edx
mov ebx, eax
mov eax, dword [ebp - 4]
call fcn.00404e24
xor eax, eax
push ebp
push 0x4a0728
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x10], 0xffffffff
mov eax, dword [ebp - 4]
mov edx, dword [0x4afb8c]
mov edx, dword [edx]
call fcn.00404dcc
je 0x4a06e4
xor ecx, ecx
push ebp
push 0x4a06dd
push dword fs:[ecx]
mov dword fs:[ecx], esp
lea eax, [ebp - 0xc]
push eax
call sub.shell32.dll_SHGetMalloc
lea eax, [ebp - 0x17c]
mov edx, dword [ebp - 4]
call fcn.004052e0
mov eax, dword [ebp - 0x17c]
call fcn.0049eecc
mov esi, eax
lea eax, [ebp - 0x14]
push eax
push esi
mov eax, ebx
call fcn.00455ce0
push eax
call sub.shell32.dll_SHGetSpecialFolderLocation
call fcn.00407b10
test eax, eax
je 0x4a0488
push 0x108
push 0x160
lea eax, [ebp - 0x178]
push eax
push 0
mov eax, dword [ebp - 0x14]
push eax
call sub.shell32.dll_SHGetFileInfoA
mov eax, dword [ebp - 0x174]
mov dword [ebp - 0x10], eax
jmp 0x4a0686
mov eax, dword [ebp - 4]
call fcn.00409e24
test al, al
jne 0x4a04c1
lea eax, [ebp - 0x180]
push eax
mov ecx, 7
mov edx, 1
mov eax, dword [ebp - 4]
call fcn.00404e9c
mov eax, dword [ebp - 0x180]
mov edx, 0x4a0740
call fcn.004095a0
test eax, eax
jne 0x4a04f3
push 0x4011
push 0x160
lea eax, [ebp - 0x178]
push eax
push 0x80
mov eax, dword [ebp - 4]
call fcn.00404e34
push eax
call sub.shell32.dll_SHGetFileInfoA
mov eax, dword [ebp - 0x174]
mov dword [ebp - 0x10], eax
jmp 0x4a0686
mov eax, dword [ebp - 4]
call fcn.00409e48
test al, al
je 0x4a052e
push 0x4011
push 0x2000
lea eax, [ebp - 0x178]
push eax
push 0x10
mov eax, dword [ebp - 4]
call fcn.00404e34
push eax
call sub.shell32.dll_SHGetFileInfoA
mov eax, dword [ebp - 0x174]
mov dword [ebp - 0x10], eax
jmp 0x4a0686
cmp dword [ebp - 4], 0
je 0x4a0686
lea eax, [ebp - 0x184]
mov edx, dword [ebp - 4]
call fcn.004052e0
mov eax, dword [ebp - 0x184]
lea edx, [ebp - 8]
call fcn.0049eb04
mov eax, dword [ebp - 8]
mov edx, 0x4a0750
call fcn.00404dcc
jne 0x4a0659
mov eax, ebx
call fcn.004373cc
test al, al
jne 0x4a05b4
cmp byte [ebx + 0x380], 0
je 0x4a05b4
mov eax, ebx
call fcn.004a09f8
inc eax
jle 0x4a05b4
mov eax, ebx
call fcn.004a09f8
mov esi, eax
mov dword [ebp - 0x174], esi
mov dword [ebp - 0x10], esi
push esi
call sub.user32.dll_DestroyIcon
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [eax]
call dword [eax + 0x14]
call fcn.00404498
jmp 0x4a06e4
cmp byte [ebx + 0x38c], 0
je 0x4a060a
mov eax, dword [0x4afae0]
mov eax, dword [eax]
mov esi, dword [eax + 0xa0]
cmp word [ebx + 0x342], 0
je 0x4a05e6
push esi
lea ecx, [ebp - 0x15]
mov edx, ebx
mov eax, dword [ebx + 0x344]
call dword [ebx + 0x340]
cmp byte [ebp - 0x15], 0
jne 0x4a0686
mov eax, dword [ebx + 0x328]
mov edx, esi
call fcn.0045d024
mov edx, eax
mov dword [ebp - 0x174], edx
mov dword [ebp - 0x10], edx
jmp 0x4a0686
push 0x4011
push 0x160
lea eax, [ebp - 0x178]
push eax
push 0x80
push 0x4a0758
call sub.shell32.dll_SHGetFileInfoA
cmp word [ebx + 0x352], 0
je 0x4a064e
mov eax, dword [ebp - 0x178]
push eax
mov ecx, 0x4a0768
mov edx, ebx
mov eax, dword [ebx + 0x354]
call dword [ebx + 0x350]
mov eax, dword [ebp - 0x174]
mov dword [ebp - 0x10], eax
jmp 0x4a0686
push 0x4011
push 0x160
lea eax, [ebp - 0x178]
push eax
push 0x80
mov eax, dword [ebp - 8]
call fcn.00404e34
push eax
call sub.shell32.dll_SHGetFileInfoA
mov eax, dword [ebp - 0x174]
mov dword [ebp - 0x10], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a06e4
xor eax, eax
push ebp
push 0x4a06c8
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp - 0x10], 0xffffffff
je 0x4a06b5
mov eax, dword [ebp - 0x174]
push eax
call sub.user32.dll_DestroyIcon
jmp 0x4a06ba
xor eax, eax
mov dword [ebp - 0x10], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a06cf
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a072f
lea eax, [ebp - 0x184]
call fcn.00405184
lea eax, [ebp - 0x180]
call fcn.004049a4
lea eax, [ebp - 0x17c]
call fcn.00405184
lea eax, [ebp - 0xc]
call fcn.004067d4
lea eax, [ebp - 8]
mov edx, 2
call fcn.004049c8
ret