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

Disassembly:
push 0xffffffffffffffff
push 0x51eb04
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x180
push ebp
push esi
push edi
mov ebp, ecx
mov esi, dword [esp + 0x1a0]
mov eax, dword [ebp + 0x20]
push esi
push 4
push 0x110a
push eax
mov dword [esp + 0x1a4], 0
call dword [sym.imp.USER32.dll_SendMessageA]
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString_3
mov ecx, dword [esp + 0x19c]
push 0x56182c
push ecx
mov byte [esp + 0x19c], 1
call dword [sym.imp.SHLWAPI.dll_StrStrIA]
test eax, eax
je 0x41b879
cmp esi, 0xffff0000
jne 0x41b879
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x2d]
mov byte [esp + 0x2c], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea edx, [esp + 0x2c]
push 0x104
push edx
stosb byte es:[edi], al
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
lea eax, [esp + 0x2c]
lea ecx, [esp + 0x10]
push eax
call sub.MFC42.DLL_CString::operator_3
jmp 0x41b88a
lea ecx, [esp + 0x19c]
push ecx
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::operator_2
mov eax, dword [esp + 0x1a4]
test eax, eax
je 0x41b9e6
push str.foo.reg
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString_2
mov edi, dword [ebp + 0x90]
lea esi, [ebp + 0x8c]
lea edx, [esp + 0xc]
mov ecx, esi
push edx
mov byte [esp + 0x198], 2
call fcn.0041dde0
mov ecx, dword [esi + 4]
mov dword [esp + 0x1c], eax
cmp eax, ecx
je 0x41b8ee
mov eax, dword [eax + 0xc]
push eax
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.MSVCRT.dll__mbscmp]
add esp, 8
test eax, eax
jl 0x41b8ee
lea eax, [esp + 0x1c]
jmp 0x41b8f9
mov eax, dword [esi + 4]
mov dword [esp + 0x14], eax
lea eax, [esp + 0x14]
cmp dword [eax], edi
jne 0x41b985
mov edx, dword [esp + 0xc]
mov ecx, 0x58
xor eax, eax
lea edi, [esp + 0x2c]
rep stosd dword es:[edi], eax
push 0x4011
lea ecx, [esp + 0x30]
push 0x160
push ecx
push eax
push edx
call dword [sym.imp.SHELL32.dll_SHGetFileInfoA]
mov edi, dword [esp + 0x30]
lea eax, [esp + 0xc]
push eax
lea ecx, [esp + 0x18]
call fcn.004c73e6
mov dword [esp + 0x18], 0
lea ecx, [esp + 0x14]
lea edx, [esp + 0x1c]
push ecx
push edx
mov ecx, esi
mov byte [esp + 0x19c], 3
call fcn.0041d900
mov esi, dword [esp + 0x1c]
lea ecx, [esp + 0x14]
mov byte [esp + 0x194], 2
call sub.MFC42.DLL_CString::CString
mov eax, dword [esp + 0x30]
mov dword [esi + 0x10], eax
mov ecx, dword [esp + 0x2c]
push ecx
call dword [sym.imp.USER32.dll_DestroyIcon]
jmp 0x41b9cc
lea edx, [esp + 0xc]
lea ecx, [esp + 0x1c]
push edx
call fcn.004c73e6
mov dword [esp + 0x20], 0
lea eax, [esp + 0x1c]
lea ecx, [esp + 0x24]
push eax
push ecx
mov ecx, esi
mov byte [esp + 0x19c], 4
call fcn.0041d900
mov esi, dword [esp + 0x24]
lea ecx, [esp + 0x1c]
mov byte [esp + 0x194], 2
call sub.MFC42.DLL_CString::CString
mov edi, dword [esi + 0x10]
lea ecx, [esp + 0xc]
mov byte [esp + 0x194], 1
call sub.MFC42.DLL_CString::CString
mov esi, dword [esp + 0x1a0]
jmp 0x41ba00
push ecx
lea edx, [esp + 0x14]
mov ecx, esp
mov dword [esp + 0x18], esp
push edx
call fcn.004c73e6
mov ecx, ebp
call fcn.0041b780
mov edi, eax
cmp esi, 0xffff0000
push 0xffff0002
jne 0x41ba25
push 0xffff0000
push edi
push edi
push ecx
lea eax, [esp + 0x1b0]
mov ecx, esp
mov dword [esp + 0x28], esp
push eax
jmp 0x41ba37
push esi
push edi
push edi
push ecx
lea edx, [esp + 0x1b0]
mov ecx, esp
mov dword [esp + 0x28], esp
push edx
call fcn.004c73e6
mov ecx, ebp
call fcn.0041c390
mov ecx, ebp
mov esi, eax
call fcn.0041aad0
test eax, eax
jne 0x41ba75
mov eax, dword [ebp + 0x20]
push eax
call dword [sym.imp.USER32.dll_GetParent]
push eax
call sub.MFC42.DLL_CWnd::FromHandle
mov ecx, dword [ebp + 0x58]
mov edx, dword [eax + 0x20]
push ecx
push 0
push 0x7e8
push edx
call dword [sym.imp.USER32.dll_PostMessageA]
lea ecx, [esp + 0x10]
mov byte [esp + 0x194], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x19c]
mov dword [esp + 0x194], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x18c]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
pop ebp
add esp, 0x18c
ret 0xc