Function at 0x102465a0
Capabilities:
Get disk information

Disassembly:
push ebp
lea ebp, [esp - 0x2c]
sub esp, 0x2c
push 0xffffffffffffffff
push 0x102546cf
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x68
push ebx
mov dword [ebp - 4], 0
mov dword [ebp], 0
mov dword [ebp + 4], 0
mov dword [ebp + 8], 0
lea eax, [ebp]
mov byte [ebp - 4], 1
push eax
call sym.WMCommon.dll_public:_static_bool___cdecl_WM::GMDiskUtils::GetLogicalDriveList_class_std::vector_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t____class_std::allocator_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t______
add esp, 4
test al, al
jne 0x102465f8
xor bl, bl
jmp 0x102467a5
xor eax, eax
mov dword [ebp - 0x64], 0
xorps xmm0, xmm0
mov dword [ebp - 0x60], 7
mov word [ebp - 0x74], ax
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x48], 7
mov word [ebp - 0x5c], ax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], 7
mov word [ebp - 0x44], ax
mov dword [ebp - 0x2c], eax
movlpd qword [ebp - 0x24], xmm0
movlpd qword [ebp - 0x1c], xmm0
mov byte [ebp - 0x14], al
mov byte [ebp - 4], 2
mov ecx, dword [ebp + 4]
mov ebx, dword [ebp]
sub ecx, ebx
mov byte [ebp + 0x2b], al
mov eax, 0x2aaaaaab
imul ecx
movlpd qword [ebp + 0xc], xmm0
sar edx, 2
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov dword [ebp + 0x14], ecx
je 0x1024678a
mov eax, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 0x10]
push edi
mov dword [ebp + 0x24], esi
mov dword [ebp + 0x18], eax
cmp dword [ebx + 0x14], 8
mov eax, ebx
jb 0x10246681
mov eax, dword [ebx]
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 3
jne 0x1024677b
mov ecx, dword [ebp + 0x3c]
mov eax, 0x2aaaaaab
mov edi, dword [ebp + 0x38]
sub ecx, edi
imul ecx
mov dword [ebp + 0x1c], 0
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [ebp + 0x10], eax
je 0x10246708
cmp dword [edi + 0x14], 8
mov edx, edi
mov ecx, dword [edi + 0x10]
jb 0x102466c3
mov edx, dword [edi]
cmp dword [ebx + 0x14], 8
mov esi, dword [ebx + 0x10]
mov dword [ebp + 0x20], ebx
jb 0x102466d4
mov eax, dword [ebx]
mov dword [ebp + 0x20], eax
cmp ecx, esi
mov eax, esi
cmovb eax, ecx
mov ecx, dword [ebp + 0x20]
push eax
call fcn.1001b210
add esp, 4
test eax, eax
jne 0x102466f6
cmp esi, dword [edi + 0x10]
jb 0x102466f6
jbe 0x10246778
mov esi, dword [ebp + 0x1c]
add edi, 0x18
inc esi
mov dword [ebp + 0x1c], esi
cmp esi, dword [ebp + 0x10]
jb 0x102466b6
mov esi, dword [ebp + 0x24]
lea eax, [ebp - 0x74]
push eax
push ebx
call sym.WMCommon.dll_public:_static_bool___cdecl_WM::GMDiskUtils::GetLogicalDriveInfo_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const___struct_WM::GMDiskUtils::GMDiskInfo__
add esp, 8
test al, al
je 0x1024677b
cmp byte [ebp - 0x14], 0
je 0x1024677b
lea eax, [ebp - 0x44]
push eax
call sym.WMCommon.dll_public:_static_bool___cdecl_WM::GMDiskUtils::IsSystemSupport_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const__
add esp, 4
test al, al
je 0x1024677b
mov ecx, dword [ebp - 0x18]
cmp esi, ecx
ja 0x1024677b
mov eax, dword [ebp - 0x1c]
jb 0x10246740
cmp dword [ebp + 0x18], eax
jae 0x1024677b
cmp dword [ebx + 0x14], 8
mov esi, ecx
mov dword [ebp + 0x18], eax
mov eax, ebx
mov dword [ebp + 0x24], esi
jb 0x10246752
mov eax, dword [ebx]
mov edx, dword [ebp + 0x34]
movzx ecx, word [eax]
mov eax, edx
cmp dword [edx + 0x14], 8
mov dword [edx + 0x10], 1
jb 0x10246769
mov eax, dword [edx]
mov word [eax], cx
xor ecx, ecx
mov word [eax + 2], cx
mov byte [ebp + 0x2b], 1
jmp 0x1024677b
mov esi, dword [ebp + 0x24]
add ebx, 0x18
sub dword [ebp + 0x14], 1
jne 0x10246677
pop edi
pop esi
lea ecx, [ebp - 0x44]
call fcn.1001a5a0
lea ecx, [ebp - 0x5c]
call fcn.1001a5a0
lea ecx, [ebp - 0x74]
call fcn.1001a5a0
mov bl, byte [ebp + 0x2b]
lea ecx, [ebp]
call fcn.1001d100
lea ecx, [ebp + 0x38]
call fcn.1001d100
mov ecx, dword [ebp - 0xc]
mov al, bl
pop ebx
mov dword fs:[0], ecx
lea esp, [ebp + 0x2c]
pop ebp
ret