Function at 0x10003cd6
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
push 8
call fcn.10008bed
add esp, 4
mov dword [ebp - 0xc], eax
mov edi, eax
mov esi, 0x100223da
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
mov dword [ebp - 0x10], 0
push 8
call fcn.10008bed
add esp, 4
mov dword [ebp - 0x14], eax
mov edi, eax
mov esi, 0x100223da
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
push 8
call fcn.10008bed
add esp, 4
mov dword [ebp - 0x18], eax
mov edi, eax
mov esi, 0x100223da
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x28], esp
mov eax, 0x100223da
test eax, eax
je 0x10003d69
add eax, 8
push eax
push 0
call dword [0x10022c00]
nop
nop
nop
nop
cmp dword [ebp - 0x28], esp
je 0x10003d8b
push 6
call fcn.10008bf3
add esp, 4
mov dword [ebp - 4], eax
push 0x80000301
push 0
push dword [ebp - 4]
push 1
mov ebx, 0x1bc
call fcn.10009bf0
add esp, 0x10
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x10003dc1
push ebx
call fcn.10008c05
add esp, 4
pop eax
mov dword [ebp - 8], eax
mov dword [ebp - 0x28], esp
mov eax, dword [ebp - 8]
test eax, eax
je 0x10003dd2
add eax, 8
push eax
push dword [ebp - 4]
call dword [0x10022c00]
nop
nop
nop
nop
cmp dword [ebp - 0x28], esp
je 0x10003df2
push 6
call fcn.10008bf3
add esp, 4
push 0
push 0
push 0
push 0x80000005
push 0
push 0x10022496
push 0x80000005
push 0
mov eax, dword [ebp - 8]
test eax, eax
jne 0x10003e17
mov eax, 0x100223da
push eax
push 3
mov ebx, 0x1c4
call fcn.10009c20
add esp, 0x28
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
push eax
mov ebx, dword [ebp - 0xc]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x10003e4f
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x10003e4b
imul eax, dword [ebx]
jmp 0x10003e40
mov ecx, eax
test ecx, ecx
je 0x10003e6e
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x10003e67
push ebx
push eax
call fcn.10008c05
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x10003e55
call fcn.10008c05
add esp, 4
pop eax
mov dword [ebp - 0xc], eax
mov ebx, dword [ebp - 0xc]
call fcn.10001e44
mov dword [ebp - 0x30], eax
fild dword [ebp - 0x30]
fstp qword [ebp - 0x30]
fld qword [ebp - 0x30]
fsub qword [0x10022486]
fstp qword [ebp - 0x38]
fld qword [ebp - 0x38]
call fcn.1000123c
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jle 0x100044cd
mov dword [ebp - 0x2c], 1
mov eax, dword [ebp - 0x10]
cmp eax, 0
jge 0x10003ec8
push 0xa
call fcn.10008bf3
add esp, 4
mov dword [ebp - 0x28], eax
lea ebx, [ebp - 0x2c]
call fcn.10001e5d
push ecx
shl ecx, 2
add ecx, 8
push ecx
call fcn.10008bed
add esp, 4
mov edi, eax
mov dword [edi], 1
add edi, 4
pop ecx
push eax
push ecx
lea esi, [ebp - 0x28]
lodsd eax, dword [esi]
stosd dword es:[edi], eax
mov ebx, dword [ebp - 0x14]
call fcn.10001e5d
pop edx
test ecx, ecx
je 0x10003f24
push edi
push edx
push ecx
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x10003f1a
push ebx
call fcn.10008c05
add esp, 4
pop ebx
pop ecx
add ebx, 4
dec ecx
jne 0x10003f09
pop edx
pop edi
test edx, edx
je 0x10003f32
mov ecx, edx
xor eax, eax
rep stosd dword es:[edi], eax
push dword [ebp - 0x14]
call fcn.10008c05
add esp, 4
pop eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x2c], 1
mov eax, dword [ebp - 0x10]
cmp eax, 0
jge 0x10003f5d
push 0xa
call fcn.10008bf3
add esp, 4
mov dword [ebp - 0x28], eax
lea ebx, [ebp - 0x2c]
call fcn.10001e5d
push ecx
shl ecx, 2
add ecx, 8
push ecx
call fcn.10008bed
add esp, 4
mov edi, eax
mov dword [edi], 1
add edi, 4
pop ecx
push eax
push ecx
lea esi, [ebp - 0x28]
lodsd eax, dword [esi]
stosd dword es:[edi], eax
mov ebx, dword [ebp - 0x18]
call fcn.10001e5d
pop edx
test ecx, ecx
je 0x10003fb9
push edi
push edx
push ecx
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x10003faf
push ebx
call fcn.10008c05
add esp, 4
pop ebx
pop ecx
add ebx, 4
dec ecx
jne 0x10003f9e
pop edx
pop edi
test edx, edx
je 0x10003fc7
mov ecx, edx
xor eax, eax
rep stosd dword es:[edi], eax
push dword [ebp - 0x18]
call fcn.10008c05
add esp, 4
pop eax
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x10]
xor ecx, ecx
push eax
lea eax, [ebp - 0x1c]
mov ebx, eax
pop eax
inc ecx
push ecx
push ebx
mov dword [ebx], ecx
push eax
cmp ecx, eax
jg 0x10004246
mov ebx, dword [ebp - 0xc]
call fcn.10001e5d
push ebx
push ecx
mov eax, dword [ebp - 0x1c]
dec eax
jns 0x1000400d
push 4
call fcn.10008bf3
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x10004020
push 1
call fcn.10008bf3
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x28], ebx
mov ebx, dword [ebp - 0x28]
mov eax, dword [ebx]
test eax, eax
je 0x10004044
push eax
mov eax, dword [eax + 4]
add eax, 8
push eax
call fcn.10008bed
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x10004055
push ebx
call fcn.10008c05
add esp, 4
pop eax
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 8]
call fcn.10001e5d
push ebx
push ecx
push 0x80000005
push 0
mov eax, dword [ebp - 8]
test eax, eax
jne 0x10004076
mov eax, 0x100223da
push eax
push 1
mov ebx, 0x194
call fcn.10009de0
add esp, 0x10
dec eax
jns 0x10004099
push 4
call fcn.10008bf3
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x100040ac
push 1
call fcn.10008bf3
add esp, 4
add ebx, eax
mov dword [ebp - 0x2c], ebx
mov ebx, dword [ebp - 0x2c]
mov byte [ebx], 0
mov ebx, dword [ebp - 0x14]
call fcn.10001e5d
push ebx
push ecx
mov eax, dword [ebp - 0x1c]
dec eax
jns 0x100040d4
push 4
call fcn.10008bf3
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x100040e7
push 1
call fcn.10008bf3
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x28], ebx
push 0x80000005
push 0
mov eax, dword [ebp - 8]
test eax, eax
jne 0x10004102
mov eax, 0x100223da
push eax
push 1
mov ebx, 0x168
call fcn.100095b0
add esp, 0x10
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
push eax
mov ebx, dword [ebp - 0x28]
mov ebx, dword [ebx]
test ebx, ebx
je 0x1000412e
push ebx
call fcn.10008c05
add esp, 4
pop eax
mov ebx, dword [ebp - 0x28]
mov dword [ebx], eax
push 0x80000301
push 0
push 0x104
push 1
mov ebx, 0x184
call fcn.10009480
add esp, 0x10
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
push eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x10004169
push ebx
call fcn.10008c05
add esp, 4
pop eax
mov dword [ebp - 0x20], eax
mov ebx, dword [ebp - 0x14]
call fcn.10001e5d
push ebx
push ecx
mov eax, dword [ebp - 0x1c]
dec eax
jns 0x1000418a
push 4
call fcn.10008bf3
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x1000419d
push 1
call fcn.10008bf3
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x2c], esp
push 0x104
push dword [ebp - 0x20]
mov ebx, dword [ebp - 0x28]
push dword [ebx]
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceA]
nop
nop
nop
nop
cmp dword [ebp - 0x2c], esp
je 0x100041d1
push 6
call fcn.10008bf3
add esp, 4
mov ebx, dword [ebp - 0x18]
call fcn.10001e5d
push ebx
push ecx
mov eax, dword [ebp - 0x1c]
dec eax
jns 0x100041ee
push 4
call fcn.10008bf3
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x10004201
push 1
call fcn.10008bf3
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x28], ebx
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x10004225
push eax
mov ebx, eax
call fcn.10001378
inc eax
push eax
call fcn.10008bed
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
push eax
mov ebx, dword [ebp - 0x28]
mov ebx, dword [ebx]
test ebx, ebx
je 0x10004238
push ebx
call fcn.10008c05
add esp, 4
pop eax
mov ebx, dword [ebp - 0x28]
mov dword [ebx], eax
pop eax
pop ebx
pop ecx
jmp 0x10003fe2
add esp, 0xc
mov dword [ebp - 0x1c], 0
mov eax, dword [ebp - 0x10]
xor ecx, ecx
push eax
lea eax, [ebp - 0x1c]
mov ebx, eax
pop eax
inc ecx
push ecx
push ebx
mov dword [ebx], ecx
push eax
cmp ecx, eax
jg 0x100044ca
mov dword [ebp - 0x28], 0
push 0
push dword [ebp - 0x28]
mov dword [ebp - 0x2c], 0
push 0
push dword [ebp - 0x2c]
mov eax, str.Device_
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x30]
push eax
push dword [ebp + 8]
call fcn.100045f7
mov dword [ebp - 0x34], eax
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x100042a9
push ebx
call fcn.10008c05
add esp, 4
mov eax, dword [ebp - 0x34]
push eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x100042bd
push ebx
call fcn.10008c05
add esp, 4
pop eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], 0
push 0
push dword [ebp - 0x28]
mov dword [ebp - 0x2c], 0
push 0
push dword [ebp - 0x2c]
mov eax, 0x100224a8
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.10004801
mov dword [ebp - 0x34], eax
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x10004301
push ebx
call fcn.10008c05
add esp, 4
push dword [ebp - 0x34]
push str.Device_
mov ecx, 2
call fcn.10001de8
add esp, 8
mov dword [ebp - 0x38], eax
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x10004329
push ebx
call fcn.10008c05
add esp, 4
mov eax, dword [ebp - 0x38]
push eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x1000433d
push ebx
call fcn.10008c05
add esp, 4
pop eax
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0x18]
call fcn.10001e5d
push ebx
push ecx
mov eax, dword [ebp - 0x1c]
dec eax
jns 0x1000435e
push 4
call fcn.10008bf3
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x10004371
push 1
call fcn.10008bf3
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x28], ebx
mov ebx, dword [ebp - 0x28]
mov eax, dword [ebx]
push eax
push dword [ebp - 0x24]
call fcn.10001d4b
add esp, 8
cmp eax, 0
jne 0x100044c2
mov ebx, dword [ebp - 0x18]
call fcn.10001e5d
push ebx
push ecx
mov eax, dword [ebp - 0x1c]
dec eax
jns 0x100043b0
push 4
call fcn.10008bf3
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x100043c3
push 1
call fcn.10008bf3
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x28], ebx
mov ebx, dword [ebp - 0x14]
call fcn.10001e5d
push ebx
push ecx
mov eax, dword [ebp - 0x1c]
dec eax
jns 0x100043e8
push 4
call fcn.10008bf3
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x100043fb
push 1
call fcn.10008bf3
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x2c], ebx
push 0x80000002
push 0
push 0
push 0x80000301
push 0
push 1
push 0x80000301
push 0
push 0
push 0x80000004
push 0
mov ebx, dword [ebp - 0x2c]
mov eax, dword [ebx]
test eax, eax
jne 0x1000443c
mov eax, 0x100222a8
push eax
push 0x80000004
push 0
mov ebx, dword [ebp - 0x28]
mov eax, dword [ebx]
test eax, eax
jne 0x10004452
mov eax, 0x100222a8
push eax
push 0x80000004
push 0
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
test eax, eax
jne 0x10004468
mov eax, 0x100222a8
push eax
push 6
mov ebx, 0x180
call fcn.10009980
add esp, 0x4c
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
push eax
mov ebx, dword [ebp + 8]
mov ebx, dword [ebx]
test ebx, ebx
je 0x10004494
push ebx
call fcn.10008c05
add esp, 4
pop eax
mov ebx, dword [ebp + 8]
mov dword [ebx], eax
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
test eax, eax
je 0x100044b8
push eax
mov ebx, eax
call fcn.10001378
inc eax
push eax
call fcn.10008bed
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
jmp 0x100044f0
pop eax
pop ebx
pop ecx
jmp 0x1000425c
add esp, 0xc
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
test eax, eax
je 0x100044eb
push eax
mov ebx, eax
call fcn.10001378
inc eax
push eax
call fcn.10008bed
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
jmp 0x100044f0
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x10004501
push ebx
call fcn.10008c05
add esp, 4
mov ebx, dword [ebp - 0xc]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x1000451f
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x1000451b
imul eax, dword [ebx]
jmp 0x10004510
mov ecx, eax
test ecx, ecx
je 0x1000453e
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x10004537
push ebx
push eax
call fcn.10008c05
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x10004525
call fcn.10008c05
add esp, 4
mov ebx, dword [ebp - 0x14]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x10004564
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x10004560
imul eax, dword [ebx]
jmp 0x10004555
mov ecx, eax
test ecx, ecx
je 0x10004583
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x1000457c
push ebx
push eax
call fcn.10008c05
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x1000456a
call fcn.10008c05
add esp, 4
mov ebx, dword [ebp - 0x18]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x100045a9
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x100045a5
imul eax, dword [ebx]
jmp 0x1000459a
mov ecx, eax
test ecx, ecx
je 0x100045c8
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x100045c1
push ebx
push eax
call fcn.10008c05
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x100045af
call fcn.10008c05
add esp, 4
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x100045e0
push ebx
call fcn.10008c05
add esp, 4
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x100045f0
push ebx
call fcn.10008c05
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 4