Function at 0x100067a0
Capabilities:
Check if file exists
Get file system object information

Disassembly:
push 0xffffffffffffffff
push 0x1005ab86
mov eax, dword fs:[0]
push eax
sub esp, 0x2e8
mov eax, dword [0x1006e020]
xor eax, esp
mov dword [esp + 0x2e0], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x1006e020]
xor eax, esp
push eax
lea eax, [esp + 0x2fc]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x30c]
mov esi, ecx
test esi, esi
mov dword [esp + 0x2c], esi
je 0x10006999
lea ecx, [esp + 0x28]
mov eax, esi
call fcn.10001650
mov edi, dword [eax]
mov eax, dword [esp + 0x28]
lea ecx, [eax - 0xc]
cmp ecx, 0x1006eb34
mov dword [esp + 0x24], edi
je 0x1000682e
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x1000682e
mov eax, dword [esp + 0x28]
add eax, 0xfffffff4
push eax
call sub.MSVCR80.dll_void___cdecl_operator_delete___void__
add esp, 4
mov ecx, esi
call fcn.10001f40
test al, al
je 0x10006841
mov edi, dword [ebp + 0x60]
jmp 0x1000697e
mov edx, dword [esi + 8]
cmp dword [edx - 8], 0
jne 0x10006852
mov edi, dword [ebp + 0x64]
jmp 0x1000697e
push edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x10006865
mov edi, dword [ebp + 0x58]
jmp 0x1000697e
push edi
call dword [sym.imp.SHLWAPI.dll_PathFindExtensionW]
mov ebx, eax
lea esi, [esp + 0x18]
call fcn.10015b70
mov edi, esi
mov dword [esp + 0x304], 0
call fcn.10011c20
mov eax, dword [esp + 0x18]
push eax
call dword [sym.imp.USER32.dll_CharLowerW]
lea ecx, [esp + 0x1c]
lea ebx, [ebp + 0x6c]
push ecx
call fcn.1003f280
mov esi, dword [esp + 0x1c]
test esi, esi
mov edi, dword [ebx + 4]
je 0x100068b0
cmp esi, ebx
je 0x100068b6
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
cmp dword [esp + 0x20], edi
je 0x100068e1
test esi, esi
jne 0x100068c6
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov edx, dword [esp + 0x20]
cmp edx, dword [esi + 4]
jne 0x100068d5
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov eax, dword [esp + 0x20]
mov edi, dword [eax + 0x10]
jmp 0x10006971
mov edx, dword [esp + 0x24]
push 0x105
push 0x2b4
lea ecx, [esp + 0x44]
push ecx
push 0
push edx
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
mov eax, dword [esp + 0x3c]
mov ecx, dword [ebp + 0x50]
push eax
push 0xffffffffffffffff
push ecx
call dword [sym.imp.COMCTL32.dll_ImageList_ReplaceIcon]
mov edx, dword [esp + 0x3c]
mov edi, eax
push edx
mov dword [esp + 0x28], edi
call dword [sym.imp.USER32.dll_DestroyIcon]
test edi, edi
jl 0x1000696e
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x1c]
lea eax, [esp + 0x20]
call fcn.1000aff0
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x34]
push edx
push ebx
mov byte [esp + 0x310], 1
call fcn.10008ba0
cmp byte [eax + 8], 0
lea esi, [esp + 0x1c]
jne 0x10006967
call fcn.10015b40
lea esi, [esp + 0x18]
call fcn.10015b40
jmp 0x10006999
call fcn.10015b40
jmp 0x10006971
mov edi, dword [ebp + 0x54]
lea esi, [esp + 0x18]
call fcn.10015b40
mov esi, dword [esp + 0x2c]
test edi, edi
jl 0x10006999
mov ecx, dword [esi + 0xc]
mov esi, dword [esi + 0x10]
push 0
push edi
push edi
push 0
push esi
mov edx, 0x22
call fcn.10009dc0
mov ecx, dword [esp + 0x2fc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x2e0]
xor ecx, esp
call fcn.10056d50
add esp, 0x2f4
ret 4