Function at 0x513e43
Capabilities:
Get file system object information

Disassembly:
sub esp, 0xc
push ebx
mov ebx, dword [esp + 0x14]
push ebp
push esi
push edi
push ebx
call sub.MSVCRT.dll_wcslen
pop ecx
lea esi, [ebx + eax*2]
jmp 0x513e63
cmp word [esi], 0x2e
je 0x513e67
sub esi, 2
cmp esi, ebx
jae 0x513e5a
add esi, 2
push esi
call sub.MSVCRT.dll_wcslen
pop ecx
push 4
pop edi
cmp eax, edi
ja 0x5140b3
lea eax, [esp + 0x10]
push esi
push eax
call sub.MSVCRT.dll_wcscpy
pop ecx
pop ecx
lea eax, [esp + 0x10]
movzx ecx, word [eax]
cmp ecx, 0x61
jb 0x513e98
sub ecx, 0x20
mov word [eax], cx
add eax, 2
dec edi
jne 0x513e8d
lea eax, [esp + 0x10]
push 0x5de3c4
push eax
call sub.MSVCRT.dll_wcscmp
pop ecx
pop ecx
test eax, eax
je 0x5140b3
lea eax, [esp + 0x10]
push 0x5de3cc
push eax
call sub.MSVCRT.dll_wcscmp
pop ecx
pop ecx
test eax, eax
je 0x5140b3
lea eax, [esp + 0x10]
push 0x5de3d4
push eax
call sub.MSVCRT.dll_wcscmp
pop ecx
pop ecx
test eax, eax
je 0x5140b3
lea eax, [esp + 0x10]
push 0x5de3dc
push eax
call sub.MSVCRT.dll_wcscmp
pop ecx
pop ecx
test eax, eax
je 0x5140b3
mov ecx, dword [0x6c6e10]
xor esi, esi
mov edi, esi
test ecx, ecx
jle 0x513f3b
mov ebp, esi
mov eax, dword [0x6c6e1c]
add eax, ebp
push eax
lea eax, [esp + 0x14]
push eax
call sub.MSVCRT.dll_wcscmp
pop ecx
pop ecx
test eax, eax
je 0x513f79
mov ecx, dword [0x6c6e10]
inc edi
add ebp, 0x10
cmp edi, ecx
jl 0x513f15
mov edx, dword [0x6c6e0c]
lea eax, [ecx + 1]
shl eax, 4
cmp eax, edx
jbe 0x513f9c
add edx, 0x640
push edx
push dword [0x6c6e1c]
mov dword [0x6c6e0c], edx
push 8
push dword [0x6c2520]
call dword [sym.imp.KERNEL32.dll_HeapReAlloc]
mov ecx, dword [0x6c6e10]
mov dword [0x6c6e1c], eax
jmp 0x513fa1
mov edx, dword [0x6c6e1c]
add edi, edi
mov eax, dword [0x6c6e18]
mov ecx, dword [edx + edi*8 + 8]
lea ecx, [eax + ecx*2]
mov eax, dword [esp + 0x24]
mov dword [eax], ecx
mov eax, dword [edx + edi*8 + 0xc]
jmp 0x5140f6
mov eax, dword [0x6c6e1c]
push 8
lea edx, [esp + 0x14]
shl ecx, 4
push edx
add ecx, eax
push ecx
call sub.MSVCRT.dll_memcpy
mov edi, 0x2b4
mov ebp, 0x6c6b58
push edi
push esi
push ebp
call sub.MSVCRT.dll_memset
add esp, 0x18
push 0x4401
push edi
push ebp
push esi
push ebx
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
mov edx, dword [0x6c6e10]
mov edi, 0x6c6d6c
mov eax, dword [0x6c6e1c]
add edx, edx
mov ecx, dword [0x6c6b5c]
push edi
mov dword [eax + edx*8 + 0xc], ecx
call sub.MSVCRT.dll_wcslen
pop ecx
test eax, eax
jne 0x514016
mov edx, dword [0x6c6e10]
mov ecx, edx
mov eax, dword [0x6c6e1c]
add ecx, ecx
mov dword [eax + ecx*8 + 8], esi
jmp 0x5140a4
push edi
call sub.MSVCRT.dll_wcslen
mov edx, dword [0x6c694c]
mov esi, dword [0x6c6e14]
add eax, esi
pop ecx
lea ecx, [edx - 1]
cmp eax, ecx
jbe 0x514066
add edx, 0x1f4
mov dword [0x6c694c], edx
lea eax, [edx + edx]
push eax
push dword [0x6c6e18]
push 8
push dword [0x6c2520]
call dword [sym.imp.KERNEL32.dll_HeapReAlloc]
mov esi, dword [0x6c6e14]
mov edx, eax
mov dword [0x6c6e18], edx
jmp 0x51406c
mov edx, dword [0x6c6e18]
mov ecx, dword [0x6c6e10]
mov eax, dword [0x6c6e1c]
add ecx, ecx
push edi
mov dword [eax + ecx*8 + 8], esi
lea eax, [edx + esi*2]
push eax
call sub.MSVCRT.dll_wcscpy
push edi
call sub.MSVCRT.dll_wcslen
mov ecx, dword [0x6c6e14]
add esp, 0xc
mov edx, dword [0x6c6e10]
inc ecx
add eax, ecx
mov dword [0x6c6e14], eax
mov eax, dword [esp + 0x24]
inc edx
mov dword [0x6c6e10], edx
mov dword [eax], edi
jmp 0x5140f1
mov edi, 0x2b4
xor esi, esi
push edi
push esi
mov ebp, 0x6c6b58
push ebp
call sub.MSVCRT.dll_memset
add esp, 0xc
push 0x4401
push edi
push ebp
push esi
push ebx
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
push 0x6c6d6c
mov esi, 0x6c6950
push esi
call sub.MSVCRT.dll_wcscpy
mov eax, dword [esp + 0x2c]
pop ecx
pop ecx
mov dword [eax], esi
mov eax, dword [0x6c6b5c]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 8