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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x87ef12
mov eax, dword fs:[0]
push eax
sub esp, 0x368
mov eax, dword [0xa5e224]
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.0x7cc4dc
jmp dword [eax*4 + 0x7ccae0]
mov dword [ebp - 0x368], edi
jmp 0x7cc53e
mov edi, 3
mov dword [ebp - 0x368], esi
mov dword [ebp - 0x364], edi
jmp 0x7cc53e
mov edi, 7
mov dword [ebp - 0x368], 2
mov dword [ebp - 0x364], edi
jmp 0x7cc53e
mov edi, 9
mov dword [ebp - 0x368], 4
mov dword [ebp - 0x364], edi
jmp 0x7cc53e
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 0x7cc8d3
xor al, al
test al, al
jne 0x7cc5cf
lea eax, [ebp - 0x30]
push 0x8a7570
push eax
call fcn.007373c0
add esp, 8
mov edi, eax
or esi, 1
mov dword [ebp - 4], 0
cmp dword [0xea5818], 0
mov dword [ebp - 0x370], esi
mov dword [ebp - 0x36c], esi
je 0x7cc5b1
call sub.KERNEL32.dll_GetCurrentThreadId
cmp eax, dword [0xea5818]
je 0x7cc5b1
call fcn.007423b0
jmp 0x7cc5b6
mov al, byte [0xa5d794]
test al, al
je 0x7cc5cf
push edi
call fcn.00741e40
add esp, 4
mov byte [ebp - 0x35d], 1
cmp eax, 6
jae 0x7cc5d6
mov byte [ebp - 0x35d], 0
mov eax, dword [ebp - 0x370]
mov dword [ebp - 4], 0xffffffff
test al, 1
je 0x7cc635
push dword [ebp - 0x18]
and eax, 0xfffffffe
mov dword [ebp - 0x370], eax
call fcn.00805aaa
mov edx, dword [ebp - 0x1c]
add esp, 4
cmp edx, 8
jb 0x7cc635
mov ecx, dword [ebp - 0x30]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x7cc62b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x7ccad4
push edx
push ecx
call fcn.00800125
add esp, 8
cmp byte [ebp - 0x35d], 0
je 0x7cc903
call fcn.00737c40
mov dword [ebp - 0x24], eax
mov dword [ebp - 4], 1
call fcn.00737c40
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.004d2bd0
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.007434e0
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], 0x8a7570
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.004d0600
push dword [ebp - 0x60]
mov byte [ebp - 4], 3
call fcn.00805aaa
mov edx, dword [ebp - 0x64]
add esp, 4
cmp edx, 8
jb 0x7cc78a
mov ecx, dword [ebp - 0x78]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x7cc780
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x7ccad4
push edx
push ecx
call fcn.00800125
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 0x7cc7f4
push 0x4cc690
push dword [esi + 0x10]
mov byte [ebp - 4], 7
push dword [esi + 0x14]
call fcn.007610f0
push dword [esi + 0x10]
mov dword [esi + 0x18], 0
call fcn.00805aaa
push 0x4cc670
push dword [esi]
mov byte [ebp - 4], 8
push dword [esi + 4]
call fcn.007610f0
push dword [esi]
mov dword [esi + 8], 0
call fcn.00805aaa
push 0x20
push esi
call fcn.00800125
add esp, 0x28
mov dword [ebp - 4], 9
call fcn.00737c40
mov ecx, dword [ebp - 0x1c]
mov edi, 0xffff
cmp ecx, eax
je 0x7cc83c
add word [ecx + 8], di
jne 0x7cc834
mov esi, dword [ebp - 0x1c]
test esi, esi
je 0x7cc834
cmp byte [esi + 0xa], 0
je 0x7cc829
push dword [esi]
call fcn.00805aaa
add esp, 4
push 0xc
push esi
call fcn.00800125
add esp, 8
call fcn.00737c40
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], 0xa
call fcn.00737c40
mov ecx, dword [ebp - 0x20]
cmp ecx, eax
je 0x7cc87f
add word [ecx + 8], di
jne 0x7cc877
mov esi, dword [ebp - 0x20]
test esi, esi
je 0x7cc877
cmp byte [esi + 0xa], 0
je 0x7cc86c
push dword [esi]
call fcn.00805aaa
add esp, 4
push 0xc
push esi
call fcn.00800125
add esp, 8
call fcn.00737c40
mov dword [ebp - 0x20], eax
mov dword [ebp - 4], 0xb
call fcn.00737c40
mov ecx, dword [ebp - 0x24]
cmp ecx, eax
je 0x7cc8bf
add word [ecx + 8], di
jne 0x7cc8ba
mov esi, dword [ebp - 0x24]
test esi, esi
je 0x7cc8ba
cmp byte [esi + 0xa], 0
je 0x7cc8af
push dword [esi]
call fcn.00805aaa
add esp, 4
push 0xc
push esi
call fcn.00800125
add esp, 8
call fcn.00737c40
mov esi, dword [ebp - 0x370]
mov al, 1
mov dword [ebp - 4], 0xffffffff
jmp 0x7cc567
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 0x7cc903
or eax, 2
mov dword [ebp - 0x364], eax
mov eax, dword [ebp - 0x374]
mov edx, 0x88c2f0
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 0x7cc933
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x30]
call fcn.00437780
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 4], 0xc
call fcn.007ccb00
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 0x7cc9aa
movups xmm0, xmmword [eax]
mov edi, 7
movups xmmword [ebp - 0x58], xmm0
jmp 0x7cc9e5
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.00437720
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.008020c0
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.007ccbf0
push dword [ebp - 0x40]
lea edi, [eax + 0x24]
call fcn.00805aaa
mov edx, dword [ebp - 0x44]
add esp, 4
cmp edx, 8
jb 0x7cca65
mov ecx, dword [ebp - 0x58]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x7cca5b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x7ccad4
push edx
push ecx
call fcn.00800125
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.00805aaa
mov eax, dword [ebp - 0x1c]
add esp, 4
cmp eax, 8
jb 0x7ccab3
lea ecx, [eax*2 + 2]
mov eax, esi
cmp ecx, 0x1000
jb 0x7ccaa9
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x7ccad9
push ecx
push esi
call fcn.00800125
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.00800392
mov esp, ebp
pop ebp
ret
call fcn.00805a59
call fcn.00805a59
nop
sub al, 0xc5
jl 8178404
jmp 0x7ccaaa