Function at 0x419720
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 [0x4ffec0]
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.004bba30
lea eax, [esp + 0x18]
push eax
call dword [sym.imp.MSVCRT.dll_wcslen]
add esp, 4
test eax, eax
je 0x4197c2
lea ecx, [esp + 0x18]
push 0x4eca80
push ecx
call dword [sym.imp.MSVCRT.dll_wcscmp]
add esp, 8
test eax, eax
je 0x4197c2
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 0x4199ae
dec eax
je 0x41999e
dec eax
je 0x41998e
mov eax, dword [esi + 0x2ed4]
test eax, eax
jne 0x4198e0
mov dx, word [0x4ffec0]
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 [0x6dcf84]
push 0x104
stosw word es:[edi], ax
lea eax, [esp + 0x638]
push eax
push ecx
call fcn.004a7ac0
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.004a7ab0
add esp, 8
test eax, eax
je 0x4198e0
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 0x4198e0
mov eax, dword [esp + 0x83c]
cmp eax, 0xffffffff
mov dword [esp + 0x10], eax
jne 0x41992b
lea edx, [esi + 0x229c]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFindExtensionW]
test eax, eax
je 0x4199c3
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 0x4199c3
mov eax, dword [esp + 0x83c]
cmp eax, 0xffffffff
je 0x4199c7
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.004bb9f0
pop edi
pop esi
mov eax, ebx
pop ebp
pop ebx
add esp, 0xadc
ret 4
mov edx, dword [esi + 0x2ef0]
push 0x4eca7c
push 0
push edx
jmp 0x4199bc
mov eax, dword [esi + 0x2ef0]
push 0x4ebec0
push 0
push eax
jmp 0x4199bc
mov ecx, dword [esi + 0x2ef0]
push 0x4ebebc
push 0
push ecx
mov ecx, ebp
call fcn.004bb9f0
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xadc
ret 4