Function at 0x10009e00
Capabilities:
Get disk information

Disassembly:
push 0xffffffffffffffff
push 0x1011eb27
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x22c
push ebx
push ebp
mov ebp, dword [esp + 0x244]
xor ebx, ebx
push esi
cmp ebp, ebx
push edi
mov dword [esp + 0x20], ecx
je 0x1000a0f4
mov ecx, dword [esp + 0x250]
push ebp
call fcn.1002d330
push ebp
call fcn.10062422
add esp, 4
cmp eax, 1
jl 0x1000a0f4
mov ax, word [ebp]
cmp ax, 0x61
jb 0x10009e63
cmp ax, 0x7a
jbe 0x10009e77
cmp ax, 0x41
jb 0x1000a0f4
cmp ax, 0x5a
ja 0x1000a0f4
cmp word [ebp + 2], 0x3a
jne 0x1000a0f4
mov ecx, dword [0x101267d4]
mov dword [esp + 0x14], ecx
and eax, 0xffff
lea edx, [esp + 0x14]
push eax
push 0x10143c84
push edx
mov dword [esp + 0x250], ebx
call fcn.10030030
mov eax, dword [0x101267d4]
add esp, 0xc
mov dword [esp + 0x10], eax
mov esi, dword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
mov byte [esp + 0x244], 1
mov edx, dword [esp + 0x14]
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x36]
mov word [esp + 0x34], bx
push 0x103
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x38]
push ecx
push edx
stosw word es:[edi], ax
call esi
lea eax, [esp + 0x34]
push eax
call fcn.10062422
add esp, 4
cmp eax, ebx
jbe 0x10009f16
lea ecx, [esp + 0x34]
push ecx
lea ecx, [esp + 0x18]
call fcn.1002d330
lea edx, [esp + 0x34]
lea ecx, [esp + 0x10]
push edx
call fcn.1002d330
jmp 0x10009ec2
lea ecx, [esp + 0x24]
call fcn.1000a3f0
mov eax, dword [esp + 0x10]
mov byte [esp + 0x244], 2
cmp dword [eax - 8], ebx
jne 0x10009fd1
lea ecx, [esp + 0x14]
push 0x5c
lea edx, [esp + 0x20]
push ecx
push edx
call fcn.1002e700
mov eax, dword [esp + 0x1c]
lea ecx, [esp + 0x24]
push eax
mov byte [esp + 0x248], 3
call fcn.1000a440
lea ecx, [esp + 0x24]
call fcn.1000a540
test eax, eax
je 0x1000a0ae
mov edx, dword [esp + 0x14]
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x36]
mov word [esp + 0x34], bx
push 0x103
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x38]
push ecx
push edx
stosw word es:[edi], ax
call esi
lea eax, [esp + 0x34]
push eax
call fcn.10062422
add esp, 4
cmp eax, ebx
jbe 0x10009fc0
lea ecx, [esp + 0x34]
push ecx
lea ecx, [esp + 0x18]
call fcn.1002d330
lea edx, [esp + 0x34]
lea ecx, [esp + 0x10]
push edx
call fcn.1002d330
jmp 0x10009f6c
lea ecx, [esp + 0x1c]
mov byte [esp + 0x244], 2
call fcn.1002d0b0
lea eax, [esp + 0x10]
lea ecx, [esp + 0x18]
push eax
call fcn.1002c6b0
mov edx, dword [esp + 0x18]
mov esi, dword [esp + 0x20]
lea ecx, [esp + 0x10]
mov byte [esp + 0x244], 4
push ecx
push edx
mov ecx, esi
call fcn.1000a120
test eax, eax
je 0x1000a03c
lea ecx, [esp + 0x18]
mov byte [esp + 0x244], 2
call fcn.1002d0b0
lea eax, [esp + 0x10]
lea ecx, [esp + 0x18]
push eax
call fcn.1002c6b0
mov edx, dword [esp + 0x18]
lea ecx, [esp + 0x10]
push ecx
push edx
mov ecx, esi
mov byte [esp + 0x24c], 4
call fcn.1000a120
test eax, eax
jne 0x1000a000
lea ecx, [esp + 0x18]
mov byte [esp + 0x244], 2
call fcn.1002d0b0
mov eax, dword [esp + 0x10]
cmp dword [eax - 8], ebx
je 0x1000a0bf
add ebp, 4
push ebp
push eax
mov eax, dword [esp + 0x258]
push 0x10143c78
push eax
call fcn.10030030
add esp, 0x10
lea ecx, [esp + 0x24]
mov esi, 1
mov byte [esp + 0x244], 1
call fcn.1000a430
lea ecx, [esp + 0x10]
mov byte [esp + 0x244], bl
call fcn.1002d0b0
lea ecx, [esp + 0x14]
mov dword [esp + 0x244], 0xffffffff
call fcn.1002d0b0
mov eax, esi
jmp 0x1000a0f6
lea ecx, [esp + 0x1c]
mov byte [esp + 0x244], 2
call fcn.1002d0b0
lea ecx, [esp + 0x24]
mov byte [esp + 0x244], 1
call fcn.1000a430
lea ecx, [esp + 0x10]
mov byte [esp + 0x244], bl
call fcn.1002d0b0
lea ecx, [esp + 0x14]
mov dword [esp + 0x244], 0xffffffff
call fcn.1002d0b0
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