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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xdf4
mov eax, dword [0x53f4a0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
push edi
xor edi, edi
mov dword [esi + 4], edi
mov dword [esi + 0x14], edi
lea ecx, [esi + 0x24]
mov dword [esi + 0x18], edi
mov dword [esi + 0x1c], edi
call fcn.0049b7b0
mov eax, dword [sym.imp.USER32.dll_DefWindowProcW]
mov dword [esi + 0x20], vtable.WTL::CMessageFilter.0
mov dword [esi], vtable.CCleanTreePage.1.0
mov dword [esi + 0x20], vtable.CCleanTreePage.0
mov dword [esi + 0x40], edi
mov dword [esi + 0x50], edi
mov dword [esi + 0x54], edi
mov dword [esi + 0x58], edi
mov dword [esi + 0x5c], eax
mov dword [esi + 0x3c], vtable.CTreeCtrl.0
mov dword [esi + 0x8c], edi
mov dword [esi + 0x90], edi
push 4
mov dword [esi + 0x94], edi
lea ebx, [esi + 0xd0]
call fcn.004eb0f9
add esp, 4
cmp eax, edi
je 0x494457
mov dword [eax], ebx
jmp 0x494459
xor eax, eax
mov dword [ebx], eax
mov dword [ebx + 0xc], edi
mov dword [ebx + 0x10], edi
mov dword [ebx + 0x14], edi
push 0x1f8
mov dword [esi + 0xec], edi
mov dword [esi + 0xe8], edi
mov dword [esi + 0xf0], edi
mov dword [esi + 0xfc], edi
mov dword [esi + 0xf8], edi
mov dword [esi + 0xa0], edi
mov dword [esi + 0x9c], edi
mov dword [esi + 0x98], edi
mov dword [esi + 0xcc], edi
mov dword [0x542514], esi
call fcn.004eb0f9
add esp, 4
cmp eax, edi
je 0x4944ba
mov ecx, eax
call fcn.004907b0
jmp 0x4944bc
xor eax, eax
mov ecx, eax
mov dword [esi + 0xfc], eax
call fcn.0048d270
mov ecx, dword [esi + 4]
push ecx
mov ecx, dword [esi + 0xfc]
call fcn.0048d320
mov ebx, dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
push 0x4001
push 0x2b4
lea edx, [ebp - 0x6c8]
push edx
push edi
push 0x51220c
call ebx
mov dword [esi + 0x90], eax
lea eax, [ebp - 0x414]
push eax
push 0x208
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
push 0x2b4
lea ecx, [ebp - 0x6c8]
push edi
push ecx
call fcn.004eb2d0
add esp, 0xc
push 0x101
push 0x2b4
lea edx, [ebp - 0x6c8]
push edx
push edi
lea eax, [ebp - 0x414]
push eax
call ebx
test eax, eax
je 0x49454f
mov ecx, dword [ebp - 0x6c4]
mov dword [esi + 0xa0], ecx
lea edx, [ebp - 0xdf0]
push edx
push edi
push edi
push 0xa
push edi
mov dword [ebp - 0xdf0], edi
call dword [sym.imp.SHELL32.dll_SHGetFolderLocation]
test eax, eax
jl 0x4945ab
push 0x2b4
lea eax, [ebp - 0x6c8]
push edi
push eax
call fcn.004eb2d0
mov edx, dword [ebp - 0xdf0]
add esp, 0xc
push 0x109
push 0x2b4
lea ecx, [ebp - 0x6c8]
push ecx
push edi
push edx
call ebx
test eax, eax
je 0x4945ab
mov eax, dword [ebp - 0x6c4]
mov dword [esi + 0x9c], eax
mov ecx, dword [ebp - 0xdf0]
push ecx
call dword [sym.imp.SHELL32.dll_ILFree]
lea ecx, [ebp - 0xdec]
call fcn.004bd990
push ecx
mov ecx, esp
push 0x52a4dc
call fcn.00470300
push ecx
mov ecx, esp
push str.SoftwareMicrosoftWindowsCurrentVersionApp_PathsIEXPLORE.EXE
call fcn.00470300
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [ebp - 0xdec]
call fcn.004bdb50
test al, al
je 0x49465f
lea edx, [ebp - 0xde4]
push edx
lea ecx, [ebp - 0xdf4]
call fcn.00470300
push 0x2b4
lea eax, [ebp - 0x6c8]
push edi
push eax
call fcn.004eb2d0
add esp, 0xc
push 0x101
push 0x2b4
lea ecx, [ebp - 0x6c8]
push ecx
push edi
mov edi, dword [ebp - 0xdf4]
push edi
call ebx
test eax, eax
je 0x494643
mov edx, dword [ebp - 0x6c4]
mov dword [esi + 0x98], edx
lea eax, [edi - 0x10]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x49465f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea edi, [esi + 0xa4]
mov ebx, 0xa
lea ebx, [ebx]
push 0x200
call fcn.004e9cc4
mov dword [edi], eax
add esp, 4
add edi, 4
sub ebx, 1
jne 0x494670
lea ecx, [ebp - 0xdec]
call fcn.004bd9b0
mov ecx, dword [ebp - 4]
pop edi
mov eax, esi
pop esi
xor ecx, ebp
pop ebx
call fcn.004ea5a8
mov esp, ebp
pop ebp
ret