Function at 0x7cc2e0
Capabilities:
Get disk information
Get file system object information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x87ecf2
mov eax, dword fs:[0]
push eax
sub esp, 0x368
mov eax, dword [0xa5d1d4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
xor esi, esi
mov edi, 1
mov dword [ebp - 0x374], eax
push eax
mov dword [ebp - 0x370], esi
mov dword [ebp - 0x36c], esi
mov dword [ebp - 0x364], edi
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
dec eax
cmp eax, 4
ja case.default.0x7cc33c
jmp dword [eax*4 + 0x7cc940]
mov dword [ebp - 0x368], edi
jmp 0x7cc39e
mov edi, 3
mov dword [ebp - 0x368], esi
mov dword [ebp - 0x364], edi
jmp 0x7cc39e
mov edi, 7
mov dword [ebp - 0x368], 2
mov dword [ebp - 0x364], edi
jmp 0x7cc39e
mov edi, 9
mov dword [ebp - 0x368], 4
mov dword [ebp - 0x364], edi
jmp 0x7cc39e
xor edi, edi
mov dword [ebp - 0x364], edi
mov dword [ebp - 0x368], 5
push 0x800
push 0x2b4
lea eax, [ebp - 0x35c]
push eax
push 0
push dword [ebp - 0x374]
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
test eax, eax
jne 0x7cc733
xor al, al
test al, al
jne 0x7cc42f
lea eax, [ebp - 0x30]
push 0x8a64f0
push eax
call fcn.00737280
add esp, 8
mov edi, eax
or esi, 1
mov dword [ebp - 4], 0
cmp dword [0xea47c8], 0
mov dword [ebp - 0x370], esi
mov dword [ebp - 0x36c], esi
je 0x7cc411
call sub.KERNEL32.dll_GetCurrentThreadId
cmp eax, dword [0xea47c8]
je 0x7cc411
call fcn.00742270
jmp 0x7cc416
mov al, byte [0xa5c73c]
test al, al
je 0x7cc42f
push edi
call fcn.00741d00
add esp, 4
mov byte [ebp - 0x35d], 1
cmp eax, 6
jae 0x7cc436
mov byte [ebp - 0x35d], 0
mov eax, dword [ebp - 0x370]
mov dword [ebp - 4], 0xffffffff
test al, 1
je 0x7cc495
push dword [ebp - 0x18]
and eax, 0xfffffffe
mov dword [ebp - 0x370], eax
call fcn.008058ea
mov edx, dword [ebp - 0x1c]
add esp, 4
cmp edx, 8
jb 0x7cc495
mov ecx, dword [ebp - 0x30]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x7cc48b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x7cc934
push edx
push ecx
call fcn.007fff65
add esp, 8
cmp byte [ebp - 0x35d], 0
je 0x7cc763
call fcn.00737b00
mov dword [ebp - 0x24], eax
mov dword [ebp - 4], 1
call fcn.00737b00
mov dword [ebp - 0x20], eax
push 0xffffffffffffffff
lea eax, [ebp - 0x1c]
mov byte [ebp - 4], 2
push str._s__d_:__s_failed_with_error_0x_08lx___s_.
push eax
call fcn.004d2a90
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
sub esp, 0x14
mov dword [ebp - 4], 3
mov esi, esp
mov dword [ebp - 0x36c], esp
call sub.KERNEL32.dll_GetLastError
push eax
push esi
call fcn.007433a0
add esp, 8
xorps xmm0, xmm0
mov byte [ebp - 4], 4
mov dword [ebp - 0xa8], 6
mov dword [ebp - 0xa0], str.C:_vcpkg_buildtreeswxwidgets_src_v3.2.3_90b1eb06ca.clean_srcmsw_volume.cpp
mov dword [ebp - 0x98], str.GetBasicFlags
mov dword [ebp - 0x9c], 0xac
mov dword [ebp - 0x94], 0x8a64f0
movlpd qword [ebp - 0x90], xmm0
movlpd qword [ebp - 0x88], xmm0
call sub.KERNEL32.dll_GetCurrentThreadId
mov dword [ebp - 0x80], eax
xor eax, eax
mov dword [ebp - 0x78], 0
mov dword [ebp - 0x7c], 0
mov dword [ebp - 0x68], 0
mov dword [ebp - 0x64], 7
mov word [ebp - 0x78], ax
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x5c], eax
mov byte [ebp - 4], 5
call sub.KERNEL32.dll_GetLastError
push eax
push str.SHGetFileInfo
push 0xac
push str.C:_vcpkg_buildtreeswxwidgets_src_v3.2.3_90b1eb06ca.clean_srcmsw_volume.cpp
lea eax, [ebp - 0x24]
mov byte [ebp - 4], 6
push eax
lea ecx, [ebp - 0xa8]
call fcn.004d04c0
push dword [ebp - 0x60]
mov byte [ebp - 4], 3
call fcn.008058ea
mov edx, dword [ebp - 0x64]
add esp, 4
cmp edx, 8
jb 0x7cc5ea
mov ecx, dword [ebp - 0x78]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x7cc5e0
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x7cc934
push edx
push ecx
call fcn.007fff65
add esp, 8
mov esi, dword [ebp - 0x7c]
xor eax, eax
mov dword [ebp - 0x68], 0
mov dword [ebp - 0x64], 7
mov word [ebp - 0x78], ax
test esi, esi
je 0x7cc654
push 0x4cc550
push dword [esi + 0x10]
mov byte [ebp - 4], 7
push dword [esi + 0x14]
call fcn.00760fc0
push dword [esi + 0x10]
mov dword [esi + 0x18], 0
call fcn.008058ea
push 0x4cc530
push dword [esi]
mov byte [ebp - 4], 8
push dword [esi + 4]
call fcn.00760fc0
push dword [esi]
mov dword [esi + 8], 0
call fcn.008058ea
push 0x20
push esi
call fcn.007fff65
add esp, 0x28
mov dword [ebp - 4], 9
call fcn.00737b00
mov ecx, dword [ebp - 0x1c]
mov edi, 0xffff
cmp ecx, eax
je 0x7cc69c
add word [ecx + 8], di
jne 0x7cc694
mov esi, dword [ebp - 0x1c]
test esi, esi
je 0x7cc694
cmp byte [esi + 0xa], 0
je 0x7cc689
push dword [esi]
call fcn.008058ea
add esp, 4
push 0xc
push esi
call fcn.007fff65
add esp, 8
call fcn.00737b00
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], 0xa
call fcn.00737b00
mov ecx, dword [ebp - 0x20]
cmp ecx, eax
je 0x7cc6df
add word [ecx + 8], di
jne 0x7cc6d7
mov esi, dword [ebp - 0x20]
test esi, esi
je 0x7cc6d7
cmp byte [esi + 0xa], 0
je 0x7cc6cc
push dword [esi]
call fcn.008058ea
add esp, 4
push 0xc
push esi
call fcn.007fff65
add esp, 8
call fcn.00737b00
mov dword [ebp - 0x20], eax
mov dword [ebp - 4], 0xb
call fcn.00737b00
mov ecx, dword [ebp - 0x24]
cmp ecx, eax
je 0x7cc71f
add word [ecx + 8], di
jne 0x7cc71a
mov esi, dword [ebp - 0x24]
test esi, esi
je 0x7cc71a
cmp byte [esi + 0xa], 0
je 0x7cc70f
push dword [esi]
call fcn.008058ea
add esp, 4
push 0xc
push esi
call fcn.007fff65
add esp, 8
call fcn.00737b00
mov esi, dword [ebp - 0x370]
mov al, 1
mov dword [ebp - 4], 0xffffffff
jmp 0x7cc3c7
mov eax, dword [ebp - 0x354]
mov ecx, edi
or ecx, 4
and eax, 0x40000
cmove ecx, edi
test dword [ebp - 0x354], 0x2000000
mov eax, ecx
mov dword [ebp - 0x364], eax
je 0x7cc763
or eax, 2
mov dword [ebp - 0x364], eax
mov eax, dword [ebp - 0x374]
mov edx, 0x88b2f0
test eax, eax
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x20], 0
cmovne edx, eax
mov dword [ebp - 0x1c], 7
mov ecx, edx
xor eax, eax
mov word [ebp - 0x30], ax
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x7cc793
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x30]
call fcn.00437690
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 4], 0xc
call fcn.007cc960
cmp dword [ebp - 0x1c], 8
mov esi, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x20]
mov dword [ebp - 0x374], eax
lea eax, [ebp - 0x30]
cmovae eax, esi
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x36c], eax
cmp ecx, 8
jae 0x7cc80a
movups xmm0, xmmword [eax]
mov edi, 7
movups xmmword [ebp - 0x58], xmm0
jmp 0x7cc845
mov edi, ecx
mov eax, SysReAllocString
or edi, 7
lea ecx, [ebp - 0x58]
cmp edi, eax
cmova edi, eax
lea eax, [edi + 1]
push eax
call fcn.00437630
mov ecx, dword [ebp - 0x20]
mov dword [ebp - 0x58], eax
lea ecx, [ecx*2 + 2]
push ecx
push dword [ebp - 0x36c]
push eax
call fcn.00801f00
mov ecx, dword [ebp - 0x20]
add esp, 0xc
mov dword [ebp - 0x48], ecx
mov dword [ebp - 0x44], edi
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 5
mov ecx, dword [ebp - 0x374]
lea eax, [ebp - 0x35d]
push eax
lea eax, [ebp - 0x58]
mov byte [ebp - 4], 0xd
push eax
call fcn.007cca50
push dword [ebp - 0x40]
lea edi, [eax + 0x24]
call fcn.008058ea
mov edx, dword [ebp - 0x44]
add esp, 4
cmp edx, 8
jb 0x7cc8c5
mov ecx, dword [ebp - 0x58]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x7cc8bb
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x7cc934
push edx
push ecx
call fcn.007fff65
add esp, 8
mov eax, dword [ebp - 0x364]
mov dword [edi], eax
mov eax, dword [ebp - 0x368]
push 0
mov dword [edi + 4], eax
call fcn.008058ea
mov eax, dword [ebp - 0x1c]
add esp, 4
cmp eax, 8
jb 0x7cc913
lea ecx, [eax*2 + 2]
mov eax, esi
cmp ecx, 0x1000
jb 0x7cc909
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x7cc939
push ecx
push esi
call fcn.007fff65
add esp, 8
mov eax, dword [ebp - 0x364]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.008001d2
mov esp, ebp
pop ebp
ret
call fcn.00805899
call fcn.00805899
nop
mov ebx, es
jl 8177988
dec ebx
ret