Function at 0x100249c0
Capabilities:
Get disk information

Disassembly:
push 0xffffffffffffffff
push 0x100504bb
mov eax, dword fs:[0]
push eax
sub esp, 0x63c
mov eax, dword [0x10063790]
xor eax, esp
mov dword [esp + 0x638], eax
push ebx
push ebp
push edi
mov eax, dword [0x10063790]
xor eax, esp
push eax
lea eax, [esp + 0x64c]
mov dword fs:[0], eax
mov edi, ecx
mov ebp, dword [esp + 0x65c]
xor ebx, ebx
push 0x206
lea eax, [esp + 0x446]
push ebx
push eax
mov word [esp + 0x44c], bx
call fcn.1003d360
push 0x206
lea ecx, [esp + 0x42]
push ebx
push ecx
mov word [esp + 0x48], bx
call fcn.1003d360
push 0x206
lea edx, [esp + 0x256]
push ebx
push edx
mov word [esp + 0x25c], bx
call fcn.1003d360
add esp, 0x24
push ebx
push 0x10057090
lea ecx, [esp + 0x1c]
mov dword [esp + 0x34], 7
mov dword [esp + 0x30], ebx
mov word [esp + 0x20], bx
call fcn.10001bf0
mov dword [esp + 0x654], ebx
push edi
push ebp
mov dword [esi + 0x3c], edi
mov dword [esi + 0x40], ebp
mov dword [esi + 0x44], ebx
mov dword [esi + 0x48], ebx
call fcn.10024e30
movzx eax, ax
cmp ax, 0x2e
je 0x10024bcb
movzx edi, ax
push edi
push str._c:_
lea eax, [esp + 0x38]
push 0x104
push eax
call fcn.1003cd26
lea eax, [esp + 0x40]
add esp, 0x10
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x10024ac0
sub eax, edx
sar eax, 1
push eax
lea ecx, [esp + 0x34]
lea ebp, [esi + 4]
push ecx
mov ecx, ebp
call fcn.10001bf0
push 0x104
lea edx, [esp + 0x23c]
push edx
lea eax, [esp + 0x38]
push eax
call dword [sym.imp.KERNEL32.dll_GetVolumeNameForVolumeMountPointW]
cmp eax, ebx
je 0x10024b3d
lea eax, [esp + 0x238]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x10024b05
sub eax, edx
sar eax, 1
push eax
lea ecx, [esp + 0x23c]
lea edi, [esi + 0x20]
push ecx
mov ecx, edi
call fcn.10001bf0
mov ebx, 8
cmp dword [edi + 0x18], ebx
jb 0x10024d11
mov eax, dword [edi + 4]
jmp 0x10024d14
push edi
push 0x10058458
lea edx, [esp + 0x38]
push 0x104
push edx
call fcn.1003cd26
add esp, 0x10
push 0x104
lea eax, [esp + 0x23c]
push eax
lea ecx, [esp + 0x38]
push ecx
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
cmp eax, ebx
je 0x10024cd7
push 0xe
lea edi, [esi + 0x20]
push str._GLOBALROOT
mov ecx, edi
call fcn.10001bf0
lea eax, [esp + 0x238]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x10024b90
sub eax, edx
sar eax, 1
push eax
lea edx, [esp + 0x23c]
push edx
mov ecx, edi
call fcn.100019e0
cmp dword [esp + 0x2c], 8
mov dword [esi + 0x48], 1
jb 0x10024dfe
mov eax, dword [esp + 0x18]
push eax
jmp 0x10024df6
push edi
push ebp
call fcn.10024f60
movzx eax, ax
cmp ax, 0x2e
je 0x10024dc1
movzx ecx, ax
push ecx
push str._c:_
lea edx, [esp + 0x38]
push 0x104
push edx
call fcn.1003cd26
lea eax, [esp + 0x40]
add esp, 0x10
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x10024c01
sub eax, edx
sar eax, 1
push eax
lea eax, [esp + 0x34]
lea ebp, [esi + 4]
push eax
mov ecx, ebp
call fcn.10001bf0
push 0x104
lea ecx, [esp + 0x23c]
push ecx
lea edx, [esp + 0x38]
push edx
call dword [sym.imp.KERNEL32.dll_GetVolumeNameForVolumeMountPointW]
cmp eax, ebx
mov dword [esp + 0x10], eax
jne 0x10024c48
push ebx
push 0x10057090
jmp 0x10024c6a
lea eax, [esp + 0x238]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x10024c52
sub eax, edx
sar eax, 1
push eax
lea eax, [esp + 0x23c]
push eax
lea edi, [esi + 0x20]
mov ecx, edi
call fcn.10001bf0
cmp dword [ebp + 0x14], ebx
ja 0x10024c7e
call fcn.1003bd8d
cmp dword [ebp + 0x18], 8
jb 0x10024c89
mov eax, dword [ebp + 4]
jmp 0x10024c8c
lea eax, [ebp + 4]
movzx ecx, word [eax]
push ecx
push 0x10058458
lea edx, [esp + 0x448]
push 0x104
push edx
call fcn.1003cd26
add esp, 0x10
push ebx
lea eax, [esp + 0x444]
push eax
push 3
call dword [sym.imp.KERNEL32.dll_DefineDosDeviceW]
push ebx
push 0x10057090
mov ecx, ebp
call fcn.10001bf0
cmp dword [esp + 0x10], ebx
jne 0x10024b27
jmp 0x10024de4
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
call edi
push eax
call edi
push eax
push str.Cannot_retrieve_Volume_Name____u___8.8X_
call fcn.10030090
push eax
call fcn.1002fa60
add esp, 0x10
push ebx
push 0x10057090
lea ecx, [esi + 0x20]
call fcn.10001bf0
mov edi, 1
lea ebx, [edi + 7]
jmp 0x10024da3
lea eax, [edi + 4]
push eax
push str.Volume_Name:__s
call fcn.10030090
push eax
call fcn.1002f970
add esp, 0xc
cmp dword [edi + 0x18], ebx
jb 0x10024d32
mov ecx, dword [edi + 4]
jmp 0x10024d35
lea ecx, [edi + 4]
lea ebx, [esp + 0x14]
call fcn.10025180
mov edi, eax
test edi, edi
mov ebx, 8
je 0x10024daa
cmp dword [esp + 0x2c], ebx
mov ecx, dword [esp + 0x18]
jae 0x10024d57
lea ecx, [esp + 0x18]
cmp dword [ebp + 0x18], ebx
jb 0x10024d61
mov eax, dword [ebp + 4]
jmp 0x10024d64
lea eax, [ebp + 4]
push ecx
push eax
call fcn.1003c8ff
add esp, 8
test eax, eax
je 0x10024d82
push 0xffffffffffffffff
push 0
lea edx, [esp + 0x1c]
push edx
mov ecx, ebp
call fcn.10001cd0
cmp dword [ebp + 0x18], ebx
jb 0x10024d8c
mov ebp, dword [ebp + 4]
jmp 0x10024d8f
add ebp, 4
push ebp
push str.Real_Volume_Mount_Point:__s
call fcn.10030090
push eax
call fcn.1002f970
add esp, 0xc
mov dword [esi + 0x48], 1
cmp dword [esp + 0x2c], ebx
jb 0x10024dbd
mov eax, dword [esp + 0x18]
push eax
call fcn.1003c1aa
add esp, 4
mov eax, edi
jmp 0x10024e03
push ebx
push 0x10057090
lea ecx, [esi + 4]
mov dword [esi + 0x44], 1
call fcn.10001bf0
push ebx
push 0x10057090
lea ecx, [esi + 0x20]
call fcn.10001bf0
cmp dword [esp + 0x2c], 8
mov dword [esi + 0x50], ebx
mov dword [esi + 0x48], ebx
jb 0x10024dfe
mov ecx, dword [esp + 0x18]
push ecx
call fcn.1003c1aa
add esp, 4
mov eax, 1
mov ecx, dword [esp + 0x64c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebp
pop ebx
mov ecx, dword [esp + 0x638]
xor ecx, esp
call fcn.1003c13d
add esp, 0x648
ret 4