Function at 0x4048e0
Capabilities:
Get file attributes
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x40749b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x74
push ebx
push ebp
push esi
mov esi, ecx
push edi
lea ecx, [esp + 0x4c]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_2]
push str.ICCProFile
lea ecx, [esp + 0x6c]
mov dword [esp + 0x90], 0
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_3]
push eax
lea eax, [esi + 0xe0]
push eax
lea ecx, [esp + 0x74]
push ecx
mov byte [esp + 0x98], 1
call fcn.004017c0
add esp, 0xc
push eax
lea ecx, [esp + 0x50]
mov byte [esp + 0x90], 2
call dword [sym.imp.MFC71.DLL_ATL::CStringT::operator_1]
lea ecx, [esp + 0x6c]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
lea ecx, [esp + 0x68]
mov byte [esp + 0x8c], 0
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
mov ecx, esi
call fcn.00403280
mov ecx, dword [esi + 0x168]
push 3
push 3
push 0xff
push 0x10
push 0x10
call sub.MFC71.DLL_CImageList::Create
push 0x96
push 0xe
push 0x96
call sub.MFC71.DLL_AfxFindResourceHandle
mov edi, dword [sym.imp.USER32.dll_LoadIconA]
push eax
call edi
push 0x97
push 0xe
push 0x97
mov ebx, eax
call sub.MFC71.DLL_AfxFindResourceHandle
push eax
call edi
push 0x98
push 0xe
push 0x98
mov ebp, eax
call sub.MFC71.DLL_AfxFindResourceHandle
push eax
call edi
mov ecx, dword [esi + 0x168]
mov edx, dword [ecx + 4]
mov edi, dword [sym.imp.COMCTL32.dll_ImageList_ReplaceIcon]
push eax
push 0xffffffffffffffff
push edx
call edi
mov eax, dword [esi + 0x168]
mov eax, dword [eax + 4]
push ebx
push 0xffffffffffffffff
push eax
call edi
mov eax, dword [esi + 0x168]
mov ecx, dword [eax + 4]
push ebp
push 0xffffffffffffffff
push ecx
call edi
mov eax, dword [esi + 0x168]
xor edi, edi
cmp eax, edi
jne 0x404a16
xor eax, eax
jmp 0x404a19
mov eax, dword [eax + 4]
mov edx, dword [esi + 0x98]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push eax
push edi
push 0x1109
push edx
call ebp
push eax
call sub.MFC71.DLL_CImageList::FromHandle
lea ecx, [esp + 0x48]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_2]
push 0x81
lea ecx, [esp + 0x4c]
mov byte [esp + 0x90], 3
call dword [sym.imp.MFC71.DLL_ATL::CStringT::LoadStringA]
lea ecx, [esp + 0x48]
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::operator_char_const_]
push 0xffff0002
push 0xffff0000
push edi
push edi
push edi
push edi
push edi
push eax
lea ebx, [esi + 0x78]
push 1
mov ecx, ebx
call sub.MFC71.DLL_CTreeCtrl::InsertItem
lea ecx, [esp + 0x1c]
mov dword [esp + 0x44], eax
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_2]
lea ecx, [esp + 0x18]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_2]
cmp dword [esi + 0xe8], edi
mov byte [esp + 0x8c], 5
mov dword [esp + 0x6c], edi
jle 0x405055
mov dword [esp + 0x14], edi
mov eax, dword [esi + 0xf4]
lea ecx, [edi + eax + 0x200]
push ecx
lea ecx, [esp + 0x6c]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_3]
mov edx, dword [esi + 0xf4]
lea eax, [edi + edx + 0x300]
push eax
lea ecx, [esp + 0x68]
mov byte [esp + 0x90], 6
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_3]
mov ecx, dword [esi + 0xf4]
lea edx, [edi + ecx + 0x400]
push edx
lea ecx, [esp + 0x14]
mov byte [esp + 0x90], 7
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_3]
push 0
push str..xml
lea ecx, [esp + 0x18]
mov byte [esp + 0x94], 8
call dword [sym.imp.MFC71.DLL_ATL::CStringT::Find]
dec eax
push eax
lea eax, [esp + 0x74]
push eax
lea ecx, [esp + 0x18]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::Left]
lea ecx, [esp + 0x70]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
lea ecx, [esp + 0x10]
push ecx
lea ecx, [esp + 0x64]
call dword [0x4081c0]
lea ecx, [esp + 0x40]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_2]
lea ecx, [esp + 0x3c]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_2]
lea ecx, [esp + 0x38]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_2]
lea ecx, [esp + 0x34]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_2]
lea edx, [esp + 0x40]
push edx
lea ecx, [esp + 0x6c]
mov byte [esp + 0x90], 0xd
mov dword [esp + 0x78], 0
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::operator_char_const_]
push eax
lea ecx, [esi + 0xf8]
call sub.MFC71.DLL_CMapStringToString::Lookup
test eax, eax
je 0x404bbc
lea ecx, [esp + 0x40]
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::operator_char_const_]
push eax
call dword [sym.imp.MSVCR71.dll_atoi]
add esp, 4
mov dword [esp + 0x58], eax
jmp 0x404bc4
mov dword [esp + 0x58], 0
lea eax, [esp + 0x3c]
push eax
lea ecx, [esp + 0x68]
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::operator_char_const_]
push eax
lea ecx, [esi + 0x114]
call sub.MFC71.DLL_CMapStringToString::Lookup
test eax, eax
je 0x404bfd
lea ecx, [esp + 0x3c]
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::operator_char_const_]
push eax
call dword [sym.imp.MSVCR71.dll_atoi]
add esp, 4
mov dword [esp + 0x54], eax
jmp 0x404c05
mov dword [esp + 0x54], 0
lea ecx, [esp + 0x38]
push ecx
lea ecx, [esp + 0x14]
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::operator_char_const_]
push eax
lea ecx, [esi + 0x130]
call sub.MFC71.DLL_CMapStringToString::Lookup
test eax, eax
je 0x404c3e
lea ecx, [esp + 0x38]
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::operator_char_const_]
push eax
call dword [sym.imp.MSVCR71.dll_atoi]
add esp, 4
mov dword [esp + 0x50], eax
jmp 0x404c46
mov dword [esp + 0x50], 0
lea edx, [esp + 0x34]
push edx
lea ecx, [esp + 0x64]
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::operator_char_const_]
push eax
lea ecx, [esi + 0x14c]
call sub.MFC71.DLL_CMapStringToString::Lookup
test eax, eax
je 0x404c7f
lea ecx, [esp + 0x34]
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::operator_char_const_]
push eax
call dword [sym.imp.MSVCR71.dll_atoi]
mov ecx, dword [esp + 0x54]
add esp, 4
jmp 0x404c85
mov eax, dword [esp + 0x74]
xor ecx, ecx
mov edx, dword [esp + 0x58]
add eax, ecx
add eax, dword [esp + 0x54]
add eax, edx
test eax, eax
jle 0x404fdc
mov eax, dword [esi + 0xf4]
add eax, edi
push eax
lea ecx, [esp + 0x20]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::operator]
mov ecx, dword [esi + 0xf4]
lea edx, [edi + ecx + 0x100]
push edx
lea ecx, [esp + 0x1c]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::operator]
mov eax, dword [esi + 0x98]
push 0
push 0
push 0x110a
push eax
call ebp
mov edi, eax
push edi
mov ecx, ebx
call sub.MFC71.DLL_CTreeCtrl::ItemHasChildren
test eax, eax
je 0x404df5
mov ecx, dword [esi + 0x98]
push edi
push 4
push 0x110a
push ecx
call ebp
mov edi, eax
test edi, edi
je 0x404d4b
nop
push edi
lea edx, [esp + 0x2c]
push edx
mov ecx, ebx
call sub.MFC71.DLL_CTreeCtrl::GetItemText
lea ecx, [esp + 0x1c]
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::operator_char_const_]
push eax
lea ecx, [esp + 0x2c]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CompareNoCase]
test eax, eax
je 0x404ddd
mov eax, dword [esi + 0x98]
push edi
push 1
push 0x110a
push eax
call ebp
lea ecx, [esp + 0x28]
mov edi, eax
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
test edi, edi
jne 0x404d00
lea ecx, [esp + 0x1c]
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::operator_char_const_]
mov ecx, dword [esp + 0x44]
push 0xffff0002
push ecx
push 0
push 0
push 0
push 0
push 0
push eax
push 1
mov ecx, ebx
call sub.MFC71.DLL_CTreeCtrl::InsertItem
mov edi, eax
mov edx, dword [esi + 0x98]
push edi
push 4
push 0x110a
push edx
call ebp
mov ebp, eax
test ebp, ebp
je 0x404e1f
push ebp
lea eax, [esp + 0x30]
push eax
mov ecx, ebx
call sub.MFC71.DLL_CTreeCtrl::GetItemText
lea ecx, [esp + 0x18]
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::operator_char_const_]
push eax
lea ecx, [esp + 0x30]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CompareNoCase]
test eax, eax
je 0x404de9
mov ecx, dword [esi + 0x98]
push ebp
push 1
push 0x110a
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
lea ecx, [esp + 0x2c]
mov ebp, eax
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
test ebp, ebp
jne 0x404d90
jmp 0x404e1f
lea ecx, [esp + 0x28]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
jmp 0x404d75
lea ecx, [esp + 0x2c]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
jmp 0x404e66
lea ecx, [esp + 0x1c]
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::operator_char_const_]
mov edx, dword [esp + 0x44]
push 0xffff0002
push edx
push 0
push 0
push 0
push 0
push 0
push eax
push 1
mov ecx, ebx
call sub.MFC71.DLL_CTreeCtrl::InsertItem
mov edi, eax
lea ecx, [esp + 0x18]
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::operator_char_const_]
push 0xffff0002
push edi
push 0
push 0
push 0
push 0
push 0
push eax
mov ecx, ebx
push 1
call sub.MFC71.DLL_CTreeCtrl::InsertItem
mov edx, dword [esp + 0x14]
mov ebp, eax
mov eax, dword [esi + 0xf4]
add eax, edx
push eax
push 0
push 0
push 0
push 0
push 0
push 4
mov ecx, ebx
push ebp
call sub.MFC71.DLL_CTreeCtrl::SetItem
mov eax, dword [esi + 0x98]
push edi
push 2
push 0x1102
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
lea ecx, [esp + 0x30]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_2]
lea ecx, [esp + 0x5c]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_2]
push 0x4089a8
lea ecx, [esp + 0x84]
mov byte [esp + 0x90], 0xf
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_3]
push eax
lea ecx, [esp + 0x50]
push ecx
lea edx, [esp + 0x84]
push edx
mov byte [esp + 0x98], 0x10
call fcn.004017c0
mov ecx, dword [esi + 0xf4]
mov edx, dword [esp + 0x20]
lea ecx, [edx + ecx + 0x200]
push ecx
push eax
lea edx, [esp + 0x8c]
push edx
mov byte [esp + 0xa4], 0x11
call fcn.00401860
add esp, 0x18
push eax
lea ecx, [esp + 0x34]
mov byte [esp + 0x90], 0x12
call dword [sym.imp.MFC71.DLL_ATL::CStringT::operator_1]
lea ecx, [esp + 0x78]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
lea ecx, [esp + 0x7c]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
lea ecx, [esp + 0x80]
mov byte [esp + 0x8c], 0xf
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x24]
call dword [0x4081c0]
lea ecx, [esp + 0x20]
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::operator_char_const_]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0x80000
lea ecx, [esp + 0x20]
ja 0x404f5a
test al, 0x10
jne 0x404f97
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
lea ecx, [esp + 0x5c]
push ecx
lea ecx, [esp + 0x28]
call dword [0x4081c0]
lea ecx, [esp + 0x24]
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::operator_char_const_]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0x80000
lea ecx, [esp + 0x24]
ja 0x4050a4
test al, 0x10
je 0x4050a4
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
push 0
push 0
push 0
push 0
push 0x2000
push 0
push 0x22
mov ecx, ebx
push ebp
call sub.MFC71.DLL_CTreeCtrl::SetItem
push edi
mov ecx, esi
call fcn.00402190
lea ecx, [esp + 0x5c]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
lea ecx, [esp + 0x30]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
mov edi, dword [esp + 0x14]
lea ecx, [esp + 0x34]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
lea ecx, [esp + 0x38]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
lea ecx, [esp + 0x3c]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
lea ecx, [esp + 0x40]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
lea ecx, [esp + 0x60]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
lea ecx, [esp + 0x10]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
lea ecx, [esp + 0x64]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
lea ecx, [esp + 0x68]
mov byte [esp + 0x8c], 5
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
mov eax, dword [esp + 0x6c]
mov ecx, dword [esi + 0xe8]
inc eax
add edi, 0x600
cmp eax, ecx
mov dword [esp + 0x6c], eax
mov dword [esp + 0x14], edi
jl 0x404ab0
mov edx, dword [esp + 0x44]
push edx
push ebx
call fcn.00401b30
add esp, 8
lea ecx, [esp + 0x18]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
lea ecx, [esp + 0x1c]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
lea ecx, [esp + 0x48]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
lea ecx, [esp + 0x4c]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
mov ecx, dword [esp + 0x84]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x80
ret
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
push 0
push 0
push 0
push 0
push 0
jmp 0x404faa