Function at 0x100245f0
Capabilities:
Get disk information

Disassembly:
push 0xffffffffffffffff
push 0x101e2037
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x22c
push ebx
push ebp
push esi
mov esi, dword [esp + 0x248]
xor ebx, ebx
push edi
cmp esi, ebx
mov dword [esp + 0x20], ecx
je 0x100248e6
mov ecx, dword [esp + 0x250]
push esi
call fcn.100785e0
mov ebp, dword [sym.imp.MSVCRT.dll_wcslen]
push esi
call ebp
add esp, 4
cmp eax, 1
jl 0x100248e6
mov ax, word [esi]
cmp ax, 0x61
jb 0x10024655
cmp ax, 0x7a
jbe 0x10024669
cmp ax, 0x41
jb 0x100248e6
cmp ax, 0x5a
ja 0x100248e6
cmp word [esi + 2], 0x3a
jne 0x100248e6
lea ecx, [esp + 0x14]
call fcn.10077860
xor eax, eax
lea ecx, [esp + 0x14]
mov ax, word [esi]
mov dword [esp + 0x244], ebx
push eax
push 0x10244a28
push ecx
call fcn.1007b320
add esp, 0xc
lea ecx, [esp + 0x10]
call fcn.10077860
mov esi, dword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
mov byte [esp + 0x244], 1
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x36]
mov word [esp + 0x34], bx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x34]
push 0x103
push edx
push eax
call esi
lea ecx, [esp + 0x34]
push ecx
call ebp
add esp, 4
cmp eax, ebx
jbe 0x10024704
lea edx, [esp + 0x34]
lea ecx, [esp + 0x14]
push edx
call fcn.100785e0
lea eax, [esp + 0x34]
lea ecx, [esp + 0x10]
push eax
call fcn.100785e0
jmp 0x100246b3
lea ecx, [esp + 0x24]
call fcn.10024be0
mov ecx, dword [esp + 0x10]
mov byte [esp + 0x244], 2
cmp dword [ecx - 8], ebx
jne 0x100247bc
lea edx, [esp + 0x14]
push 0x5c
lea eax, [esp + 0x20]
push edx
push eax
call fcn.10079a30
mov ecx, dword [esp + 0x1c]
mov byte [esp + 0x244], 3
push ecx
lea ecx, [esp + 0x28]
call fcn.10024c30
lea ecx, [esp + 0x24]
call fcn.10024d40
test eax, eax
je 0x100248a0
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x36]
mov word [esp + 0x34], bx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x34]
push 0x103
push edx
push eax
call esi
lea ecx, [esp + 0x34]
push ecx
call ebp
add esp, 4
cmp eax, ebx
jbe 0x100247ab
lea edx, [esp + 0x34]
lea ecx, [esp + 0x14]
push edx
call fcn.100785e0
lea eax, [esp + 0x34]
lea ecx, [esp + 0x10]
push eax
call fcn.100785e0
jmp 0x1002475a
lea ecx, [esp + 0x1c]
mov byte [esp + 0x244], 2
call fcn.10078300
lea ecx, [esp + 0x10]
push ecx
lea ecx, [esp + 0x1c]
call fcn.10077870
mov eax, dword [esp + 0x18]
mov esi, dword [esp + 0x20]
lea edx, [esp + 0x10]
mov ecx, esi
push edx
push eax
mov byte [esp + 0x24c], 4
call fcn.10024910
test eax, eax
je 0x10024827
lea ecx, [esp + 0x18]
mov byte [esp + 0x244], 2
call fcn.10078300
lea ecx, [esp + 0x10]
push ecx
lea ecx, [esp + 0x1c]
call fcn.10077870
mov eax, dword [esp + 0x18]
lea edx, [esp + 0x10]
push edx
push eax
mov ecx, esi
mov byte [esp + 0x24c], 4
call fcn.10024910
test eax, eax
jne 0x100247eb
lea ecx, [esp + 0x18]
mov byte [esp + 0x244], 2
call fcn.10078300
mov eax, dword [esp + 0x10]
cmp dword [eax - 8], ebx
je 0x100248b1
mov ecx, dword [esp + 0x24c]
mov edx, dword [esp + 0x250]
add ecx, 4
push ecx
push eax
push 0x1023ddec
push edx
call fcn.1007b320
add esp, 0x10
lea ecx, [esp + 0x24]
mov esi, 1
mov byte [esp + 0x244], 1
call fcn.10024c20
lea ecx, [esp + 0x10]
mov byte [esp + 0x244], bl
call fcn.10078300
lea ecx, [esp + 0x14]
mov dword [esp + 0x244], 0xffffffff
call fcn.10078300
mov eax, esi
jmp 0x100248e8
lea ecx, [esp + 0x1c]
mov byte [esp + 0x244], 2
call fcn.10078300
lea ecx, [esp + 0x24]
mov byte [esp + 0x244], 1
call fcn.10024c20
lea ecx, [esp + 0x10]
mov byte [esp + 0x244], bl
call fcn.10078300
lea ecx, [esp + 0x14]
mov dword [esp + 0x244], 0xffffffff
call fcn.10078300
mov eax, ebx
mov ecx, dword [esp + 0x23c]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x238
ret 8