Function at 0x41a390
Capabilities:
Get file system object information

Disassembly:
sub esp, 0xadc
or eax, 0xffffffff
push ebx
mov dword [esp + 4], eax
mov dword [esp + 8], eax
mov ax, word [0x500df0]
push ebp
push esi
mov ebx, ecx
push edi
mov word [esp + 0x18], ax
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x1a]
mov esi, dword [esp + 0xaf0]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov edx, dword [esi + 0x2ef0]
mov ecx, 0xad
xor eax, eax
lea edi, [esp + 0x838]
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x18]
push 0x103
lea ebp, [ebx + 0x6d8]
push ecx
push eax
push edx
mov ecx, ebp
call fcn.004bce50
lea eax, [esp + 0x18]
push eax
call dword [sym.imp.MSVCRT.dll_wcslen]
add esp, 4
test eax, eax
je 0x41a432
lea ecx, [esp + 0x18]
push 0x4ee694
push ecx
call dword [sym.imp.MSVCRT.dll_wcscmp]
add esp, 8
test eax, eax
je 0x41a432
lea edx, [esp + 0x18]
push edx
call dword [sym.imp.MSVCRT.dll__wtoi]
add esp, 4
mov dword [esp + 0x14], eax
mov eax, dword [esi]
sub eax, 2
je 0x41a61e
dec eax
je 0x41a60e
dec eax
je 0x41a5fe
mov eax, dword [esi + 0x2ed4]
test eax, eax
jne 0x41a550
mov dx, word [0x500df0]
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x632]
mov word [esp + 0x630], dx
mov word [esp + 0x428], dx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x42a]
mov word [esp + 0x220], dx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x222]
push 0
rep stosd dword es:[edi], eax
mov ecx, dword [0x73ff2c]
push 0x104
stosw word es:[edi], ax
lea eax, [esp + 0x638]
push eax
push ecx
call fcn.004a8e10
mov edi, dword [sym.imp.SHLWAPI.dll_PathCombineW]
add esp, 0x10
lea edx, [esi + 0x2094]
lea eax, [esp + 0x630]
push edx
lea ecx, [esp + 0x42c]
push eax
push ecx
call edi
lea edx, [esi + 0x229c]
lea eax, [esp + 0x428]
push edx
lea ecx, [esp + 0x224]
push eax
push ecx
call edi
lea edx, [esp + 0x220]
push 0
push edx
call fcn.004a8e00
add esp, 8
test eax, eax
je 0x41a550
push 0x4000
lea eax, [esp + 0x83c]
push 0x2b4
push eax
lea ecx, [esp + 0x22c]
push 0
push ecx
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
test eax, eax
je 0x41a550
mov eax, dword [esp + 0x83c]
cmp eax, 0xffffffff
mov dword [esp + 0x10], eax
jne 0x41a59b
lea edx, [esi + 0x229c]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFindExtensionW]
test eax, eax
je 0x41a633
push 0x4010
lea ecx, [esp + 0x83c]
push 0x2b4
push ecx
push 0x80
push eax
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
test eax, eax
je 0x41a633
mov eax, dword [esp + 0x83c]
cmp eax, 0xffffffff
je 0x41a637
mov edx, dword [ebx + 0x884]
push 0
push eax
push edx
call dword [sym.imp.COMCTL32.dll_ImageList_GetIcon]
mov ecx, dword [ebx + 0x880]
mov edi, eax
mov eax, dword [esp + 0x14]
push edi
push eax
push ecx
call dword [sym.imp.COMCTL32.dll_ImageList_ReplaceIcon]
push edi
mov ebx, eax
call dword [sym.imp.USER32.dll_DestroyIcon]
lea edx, [esp + 0x18]
push 0xa
push edx
push ebx
call dword [sym.imp.MSVCRT.dll__itow]
mov ecx, dword [esi + 0x2ef0]
add esp, 0xc
lea eax, [esp + 0x18]
push eax
push 0
push ecx
mov ecx, ebp
call fcn.004bce10
pop edi
pop esi
mov eax, ebx
pop ebp
pop ebx
add esp, 0xadc
ret 4
mov edx, dword [esi + 0x2ef0]
push 0x4ee690
push 0
push edx
jmp 0x41a62c
mov eax, dword [esi + 0x2ef0]
push 0x4edb54
push 0
push eax
jmp 0x41a62c
mov ecx, dword [esi + 0x2ef0]
push 0x4edb50
push 0
push ecx
mov ecx, ebp
call fcn.004bce10
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xadc
ret 4