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

Disassembly:
sub esp, 0x270
push ebx
push ebp
push esi
push edi
push dword [0x4a0e80]
call fcn.0046154d
xor ebx, ebx
mov ebp, eax
cmp dword [0x49faa8], ebx
jne 0x44835a
push ebx
call dword [sym.imp.OLE32.DLL_CoInitialize]
call fcn.0044b9ad
push 1
call fcn.0044b635
mov dword [0x49faac], eax
test eax, eax
je 0x4484c1
push str.My_Documents
push 0x49fb58
call sub.MSVCRT.dll_strcpy
push str.My_Computer
push 0x49fd60
call sub.MSVCRT.dll_strcpy
add esp, 0x10
mov byte [esp + 0x17c], bl
lea eax, [esp + 0x17c]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
mov esi, dword [sym.imp.SHELL32.DLL_SHGetFileInfoA]
lea eax, [esp + 0x1c]
push 0x4001
push 0x160
push eax
push ebx
lea eax, [esp + 0x18c]
push eax
call esi
test eax, eax
je 0x4480e6
mov eax, dword [esp + 0x20]
mov dword [0x49fe70], eax
lea eax, [esp + 0x10]
push eax
push 5
push ebx
mov ebx, dword [sym.imp.SHELL32.DLL_SHGetSpecialFolderLocation]
call ebx
mov edi, dword [sym.imp.OLE32.DLL_CoTaskMemFree]
test eax, eax
jne 0x4481fa
push 0x49fc5c
push dword [esp + 0x14]
call dword [sym.imp.SHELL32.DLL_SHGetPathFromIDListA]
mov dword [0x49b080], eax
test eax, eax
je 0x4481f2
push 0x4009
push 0x160
lea eax, [esp + 0x24]
push eax
push 0
push dword [esp + 0x20]
call esi
test eax, eax
jne 0x448173
push 0x4001
push 0x160
lea eax, [esp + 0x24]
push eax
push 0
push str.::450d8fba_ad25_11d0_98a8_0800361b1103
call esi
test eax, eax
jne 0x448173
push 0x4001
push 0x160
lea eax, [esp + 0x24]
push eax
push 0
push 0x49fc5c
call esi
test eax, eax
je 0x44817e
mov eax, dword [esp + 0x20]
mov dword [0x49fe64], eax
jmp 0x448185
and dword [0x49b080], 0
push 0x208
push 0x160
lea eax, [esp + 0x24]
push eax
push 0
push dword [esp + 0x20]
call esi
test eax, eax
jne 0x4481d8
push 0x200
push 0x160
lea eax, [esp + 0x24]
push eax
push 0
push str.::450d8fba_ad25_11d0_98a8_0800361b1103
call esi
test eax, eax
jne 0x4481d8
push 0x200
push 0x160
lea eax, [esp + 0x24]
push eax
push 0
push 0x49fc5c
call esi
test eax, eax
je 0x4481eb
lea eax, [esp + 0x28]
push eax
push 0x49fb58
call sub.MSVCRT.dll_strcpy
pop ecx
pop ecx
jmp 0x4481f2
and dword [0x49b080], 0
push dword [esp + 0x10]
call edi
jmp 0x448201
and dword [0x49b080], 0
push 0x49fc5c
call sub.MSVCRT.dll_strlen
pop ecx
cmp byte [eax + 0x49fc5b], 0x5c
je 0x448226
push 0x489094
push 0x49fc5c
call sub.MSVCRT.dll_strcat
pop ecx
pop ecx
lea eax, [esp + 0x14]
push eax
push 0x11
push 0
call ebx
xor ebx, ebx
test eax, eax
lea eax, [esp + 0x1c]
jne 0x44828d
push 0x4009
push 0x160
push eax
push ebx
push dword [esp + 0x24]
call esi
test eax, eax
je 0x44825a
mov eax, dword [esp + 0x20]
mov dword [0x49fe68], eax
push 0x208
push 0x160
lea eax, [esp + 0x24]
push eax
push ebx
push dword [esp + 0x24]
call esi
test eax, eax
je 0x448285
lea eax, [esp + 0x28]
push eax
push 0x49fd60
call sub.MSVCRT.dll_strcpy
pop ecx
pop ecx
push dword [esp + 0x14]
call edi
jmp 0x4482d6
push 0x4001
mov edi, 0x160
push edi
push eax
push ebx
push str.::20D04FE0_3AEA_1069_A2D8_08002B30309D
call esi
test eax, eax
je 0x4482ae
mov eax, dword [esp + 0x20]
mov dword [0x49fe68], eax
push 0x200
push edi
lea eax, [esp + 0x24]
push eax
push ebx
push str.::20D04FE0_3AEA_1069_A2D8_08002B30309D
call esi
test eax, eax
je 0x4482d6
lea eax, [esp + 0x28]
push eax
push 0x49fd60
call sub.MSVCRT.dll_strcpy
pop ecx
pop ecx
mov esi, 0xa4
push esi
push ebx
push 0x49fab0
call sub.MSVCRT.dll_memset
add esp, 0xc
mov dword [0x49fab0], 0x18
mov dword [0x49fab4], esi
mov dword [0x49fab8], 0x4469f8
mov dword [0x49fabc], 0x44705f
push str.shell32.dll
mov dword [0x49facc], 0x447893
mov dword [0x49fac8], 0x44717b
mov dword [0x49fac0], 0x44711b
mov dword [0x49fb2c], 0x4470b6
mov dword [0x49fb28], 0x447818
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov dword [0x49fe78], eax
mov dword [0x49faa8], 1
cmp dword [0x49fb54], 0
jne 0x44839a
mov eax, dword [ebp]
mov esi, dword [sym.imp.USER32.DLL_GetParent]
jmp 0x448376
push dword [0x49fb54]
call esi
push eax
mov dword [0x49fb54], eax
call esi
test eax, eax
jne 0x44836e
push 0x4471cd
push 0xfffffffffffffffc
push dword [0x49fb54]
call dword [sym.imp.USER32.DLL_SetWindowLongA]
mov dword [0x49fe74], eax
mov ebx, dword [esp + 0x29c]
mov eax, 0x50010000
test ebx, 0x1000000
je 0x4483b1
add eax, 0x20
test ebx, 0x4000000
jne 0x4483bc
or eax, 2
test ebx, 0x8000000
jne 0x4483c7
or eax, 1
xor esi, esi
mov ecx, esi
test ebx, 0x100000
jne 0x4483d8
mov ecx, 0x200
push esi
push dword [0x49d75c]
push 0xffffffffffffffff
push dword [ebp]
push dword [esp + 0x2a4]
push dword [esp + 0x2a4]
push dword [esp + 0x2a4]
push dword [esp + 0x2a4]
push eax
push esi
push str.SysTreeView32
push ecx
call dword [sym.imp.USER32.DLL_CreateWindowExA]
push 0x120
push 8
push dword [0x49d758]
mov edi, eax
mov dword [esp + 0x24], edi
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov ebp, eax
test edi, edi
je 0x4484c1
test ebp, ebp
je 0x4484c1
push dword [0x49faac]
push esi
mov esi, dword [sym.imp.USER32.DLL_SendMessageA]
push 0x1109
push edi
call esi
push 4
push 4
push 0x112c
push edi
call esi
mov esi, dword [esp + 0x284]
push esi
push dword [0x4a0fd8]
call fcn.004616fd
mov edi, eax
lea ecx, [ebp + 0xc]
mov eax, dword [esp + 0x18]
push 0x489090
push ecx
or dword [edi + 0x14], 0xffffffff
mov dword [edi + 0x10], ebp
mov dword [ebp], eax
mov dword [ebp + 8], ebx
mov dword [ebp + 4], esi
call sub.MSVCRT.dll_strcpy
pop ecx
pop ecx
push 0x49fab0
push dword [esp + 0x1c]
push edi
push esi
call fcn.0044a1fc
push 0x489028
push edi
mov esi, eax
call fcn.00447893
push dword [esp + 0x298]
push edi
call fcn.00447893
mov eax, esi
jmp 0x4484c3
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x270
ret 0x1c