Function at 0x479700
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x650a8c
mov eax, dword fs:[0]
push eax
sub esp, 0x334
mov eax, dword [0x6dc0b8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
call fcn.004794d0
mov esi, dword [edi + 0x34]
add esi, 0x24
push esi
mov dword [ebp - 0x2d8], esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea ecx, [esi + 0x18]
mov dword [ebp - 4], 0
lea edx, [edi + 0xc4]
call fcn.0045a780
cmp dword [esi + 0x1c], 0x64
jbe 0x47976c
push ecx
lea ecx, [esi + 0x18]
call fcn.0045a810
push esi
mov dword [ebp - 4], 0xffffffff
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
cmp byte [edi + 0xb3], 0
jne 0x479792
push dword [edi + 0xc4]
push dword [edi + 0x48]
call dword [sym.imp.USER32.dll_SetWindowTextW]
cmp byte [edi + 0xc0], 0
mov eax, dword [sym.imp.USER32.dll_SendMessageW]
je 0x4797bf
cmp byte [edi + 0xb3], 0
push dword [edi + 0xc4]
je 0x4797b3
push 1
jmp 0x4797b5
push 0
push 0xbd0
push dword [edi + 4]
call eax
mov esi, dword [edi + 0xc8]
xor ecx, ecx
mov edx, 2
mov dword [ebp - 0x2fc], 0
lea eax, [esi + 1]
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00545b74
mov ecx, dword [edi + 0xc8]
add esp, 4
mov ebx, eax
mov dword [ebp - 0x2d0], esi
mov dword [ebp - 0x2d4], ebx
mov dword [ebp - 0x2cc], esi
lea ecx, [ecx*2 + 2]
push ecx
push dword [edi + 0xc4]
push ebx
call fcn.005e0850
add esp, 0xc
mov dword [ebp - 4], 1
cmp esi, 3
jbe 0x47983f
cmp word [ebx + esi*2 - 2], 0x5c
jne 0x47983f
lea eax, [esi - 1]
xor ecx, ecx
mov dword [ebp - 0x2d0], eax
mov word [ebx + eax*2], cx
movzx ecx, word [0x6ad760]
mov esi, ebx
mov edx, 0x6ad762
test cx, cx
je 0x479868
movzx eax, word [esi]
lea esi, [esi + 2]
cmp ax, cx
jne 0x4798b6
movzx ecx, word [edx]
add edx, 2
test cx, cx
jne 0x479852
push 0x6adef0
lea ecx, [ebp - 0x2d4]
call fcn.0049f520
mov ebx, dword [ebp - 0x2d4]
mov esi, 0x10
mov ecx, 0x6acfb0
mov eax, ebx
nop word [eax + eax]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x4798f3
test dx, dx
je 0x4798b2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x4798f3
add eax, 4
add ecx, 4
test dx, dx
jne 0x479890
xor eax, eax
jmp 0x4798f8
lea ecx, [ebp - 0x340]
call fcn.00415d50
push ebx
lea ecx, [ebp - 0x340]
mov byte [ebp - 4], 2
call fcn.004a4300
test al, al
mov esi, 0x10
cmovne esi, dword [ebp - 0x320]
mov byte [ebp - 4], 1
push dword [ebp - 0x318]
call fcn.00545b61
add esp, 4
jmp 0x479883
sbb eax, eax
or eax, 1
test eax, eax
jne 0x479947
lea edx, [ebp - 0x2ec]
lea ecx, [ebp - 0x308]
call fcn.00493aa0
push eax
lea ecx, [ebp - 0x2d4]
mov byte [ebp - 4], 3
call fcn.0049f5a0
mov byte [ebp - 4], 1
push dword [ebp - 0x308]
call fcn.00545b61
mov ebx, dword [ebp - 0x2d4]
add esp, 4
push ebx
push dword [edi + 0x48]
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov ecx, dword [ebp - 0x2ec]
jmp 0x479978
push 0x4010
push 0x2b4
lea eax, [ebp - 0x2c8]
or esi, 0x80
push eax
push esi
push ebx
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
or ecx, 0xffffffff
test eax, eax
cmovne ecx, dword [ebp - 0x2c4]
mov dword [ebp - 0x2ec], ecx
test ecx, ecx
js 0x479989
or dword [ebp - 0x2fc], 6
mov dword [ebp - 0x2e8], ecx
lea eax, [ebp - 0x2fc]
mov dword [ebp - 0x2f8], 0xffffffff
push eax
push 0
push 0x40c
push dword [edi + 0x48]
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [edi + 0x3c]
push 0
mov eax, dword [ecx]
call dword [eax + 0x24]
push ebx
call fcn.00545b61
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00545b50
mov esp, ebp
pop ebp
ret