Function at 0x1001da95
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
push 8
call fcn.10026462
add esp, 4
mov dword [ebp - 0x10], eax
mov edi, eax
mov esi, 0x1003f2d7
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
cmp dword [ebp + 8], 0
je 0x1001e163
push 0x80000301
push 0
push 0x800
push 1
mov ebx, 0x1bc
call fcn.10027710
add esp, 0x10
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x1001db1b
push ebx
call fcn.1002645c
add esp, 4
pop eax
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push eax
call fcn.10007380
mov dword [ebp - 0x1c], eax
mov eax, 0
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x20]
push eax
push 0x800
push dword [ebp - 0x1c]
push 0x2b
push dword [ebp + 8]
call fcn.10003be6
test eax, eax
je 0x1001dc15
push 0x80000301
push 0
push 0x7d0
push 0x80000301
push 0
push 9
push htons
push 0
mov eax, dword [ebp - 4]
test eax, eax
jne 0x1001db7f
mov eax, 0x1003f2d7
push eax
push 3
mov ebx, 0x1a8
call fcn.10027a90
add esp, 0x28
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x1c]
push eax
call fcn.1000f0df
mov dword [ebp - 0x20], eax
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x1001dbb1
push ebx
call fcn.1002645c
add esp, 4
mov eax, dword [ebp - 0x20]
push eax
mov ebx, dword [ebp + 0xc]
mov ebx, dword [ebx]
test ebx, ebx
je 0x1001dbc7
push ebx
call fcn.1002645c
add esp, 4
pop eax
mov ebx, dword [ebp + 0xc]
mov dword [ebx], eax
mov dword [ebp - 0x1c], esp
mov ebx, dword [ebp + 0xc]
push dword [ebx]
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameA]
nop
nop
nop
nop
cmp dword [ebp - 0x1c], esp
je 0x1001dbf1
push 6
call fcn.10026468
add esp, 4
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x1001dc10
push eax
mov ebx, eax
call fcn.10001b8d
inc eax
push eax
call fcn.10026462
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
jmp 0x1001e18b
lea eax, [ebp - 4]
push eax
call fcn.10007380
mov dword [ebp - 0x1c], eax
mov eax, 0
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x20]
push eax
push 0x800
push dword [ebp - 0x1c]
push 0x1b
push dword [ebp + 8]
call fcn.10003be6
test eax, eax
je 0x1001e163
push 0x80000301
push 0
push 0x7d0
push 0x80000301
push 0
push 9
push htons
push 0
mov eax, dword [ebp - 4]
test eax, eax
jne 0x1001dc75
mov eax, 0x1003f2d7
push eax
push 3
mov ebx, 0x1a8
call fcn.10027a90
add esp, 0x28
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x1c]
push eax
call fcn.1001e208
mov dword [ebp - 0x20], eax
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x1001dca7
push ebx
call fcn.1002645c
add esp, 4
mov eax, dword [ebp - 0x20]
push eax
mov ebx, dword [ebp + 0xc]
mov ebx, dword [ebx]
test ebx, ebx
je 0x1001dcbd
push ebx
call fcn.1002645c
add esp, 4
pop eax
mov ebx, dword [ebp + 0xc]
mov dword [ebx], eax
cmp dword [ebp + 0x10], 0
jne 0x1001dd15
mov dword [ebp - 0x1c], esp
mov ebx, dword [ebp + 0xc]
push dword [ebx]
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameA]
nop
nop
nop
nop
cmp dword [ebp - 0x1c], esp
je 0x1001dcf1
push 6
call fcn.10026468
add esp, 4
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x1001dd10
push eax
mov ebx, eax
call fcn.10001b8d
inc eax
push eax
call fcn.10026462
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
jmp 0x1001e18b
push 0x80000301
push 0
push 0x100
push 1
mov ebx, 0x1bc
call fcn.10027710
add esp, 0x10
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x1001dd4a
push ebx
call fcn.1002645c
add esp, 4
pop eax
mov dword [ebp - 8], eax
mov dword [ebp - 0x1c], esp
mov eax, dword [ebp - 8]
test eax, eax
je 0x1001dd5b
add eax, 8
push eax
push 0x100
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsA]
nop
nop
nop
nop
cmp dword [ebp - 0x1c], esp
je 0x1001dd7d
push 6
call fcn.10026468
add esp, 4
mov dword [ebp - 0xc], eax
push 0x80000301
push 0
push dword [ebp - 0xc]
push htons
push 0
mov eax, dword [ebp - 8]
test eax, eax
jne 0x1001dd9d
mov eax, 0x1003f2d7
push eax
push 2
mov ebx, 0x1a0
call fcn.10027f60
add esp, 0x1c
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x1001ddc7
push ebx
call fcn.1002645c
add esp, 4
pop eax
mov dword [ebp - 8], eax
push 0
push 0
push 0
push htons
push 0
push 0x100416e5
push htons
push 0
mov eax, dword [ebp - 8]
test eax, eax
jne 0x1001ddf0
mov eax, 0x1003f2d7
push eax
push 3
mov ebx, 0x1c4
call fcn.100281b0
add esp, 0x28
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
push eax
mov ebx, dword [ebp - 0x10]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x1001de28
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x1001de24
imul eax, dword [ebx]
jmp 0x1001de19
mov ecx, eax
test ecx, ecx
je 0x1001de47
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x1001de40
push ebx
push eax
call fcn.1002645c
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x1001de2e
call fcn.1002645c
add esp, 4
pop eax
mov dword [ebp - 0x10], eax
mov ebx, dword [ebp - 0x10]
call fcn.10001b74
xor ecx, ecx
push eax
lea eax, [ebp - 0x14]
mov ebx, eax
pop eax
inc ecx
push ecx
push ebx
mov dword [ebx], ecx
push eax
cmp ecx, eax
jg 0x1001e160
push 0x80000301
push 0
push 0x80
push 1
mov ebx, 0x184
call fcn.10026ff0
add esp, 0x10
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
push eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x1001dea7
push ebx
call fcn.1002645c
add esp, 4
pop eax
mov dword [ebp - 0x18], eax
mov ebx, dword [ebp - 0x10]
call fcn.10001254
push ebx
push ecx
mov eax, dword [ebp - 0x14]
dec eax
jns 0x1001dec8
push 4
call fcn.10026468
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x1001dedb
push 1
call fcn.10026468
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x1c], ebx
mov ebx, dword [ebp - 0x10]
call fcn.10001254
push ebx
push ecx
mov eax, dword [ebp - 0x14]
dec eax
jns 0x1001df00
push 4
call fcn.10026468
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x1001df13
push 1
call fcn.10026468
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x20], ebx
push 0x100416ef
mov ebx, dword [ebp - 0x20]
push dword [ebx]
mov ecx, 2
call fcn.100094ac
add esp, 8
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
push eax
mov ebx, dword [ebp - 0x1c]
mov ebx, dword [ebx]
test ebx, ebx
je 0x1001df4b
push ebx
call fcn.1002645c
add esp, 4
pop eax
mov ebx, dword [ebp - 0x1c]
mov dword [ebx], eax
mov ebx, dword [ebp - 0x10]
call fcn.10001254
push ebx
push ecx
mov eax, dword [ebp - 0x14]
dec eax
jns 0x1001df6e
push 4
call fcn.10026468
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x1001df81
push 1
call fcn.10026468
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x20], esp
push 0x80
push dword [ebp - 0x18]
mov ebx, dword [ebp - 0x1c]
mov eax, dword [ebx]
test eax, eax
je 0x1001dfa0
add eax, 8
push eax
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceA]
nop
nop
nop
nop
cmp dword [ebp - 0x20], esp
je 0x1001dfbd
push 6
call fcn.10026468
add esp, 4
push reloc.OLEAUT32.dll_SysReAllocString
push 0
push 0
push 0
push 0
push 0
push 0x80000004
push 0
mov eax, dword [ebp - 0x18]
test eax, eax
jne 0x1001dfe2
mov eax, 0x1003f2df
push eax
push 0x80000004
push 0
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebx]
test eax, eax
jne 0x1001dff8
mov eax, 0x1003f2df
push eax
push 4
mov ebx, 0x148
call fcn.10027030
add esp, 0x34
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0xffffffff
je 0x1001e158
mov ebx, dword [ebp - 0x10]
call fcn.10001254
push ebx
push ecx
mov eax, dword [ebp - 0x14]
dec eax
jns 0x1001e035
push 4
call fcn.10026468
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x1001e048
push 1
call fcn.10026468
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x1c], ebx
push htons
push 0
mov ebx, dword [ebp - 0x1c]
mov eax, dword [ebx]
test eax, eax
jne 0x1001e065
mov eax, 0x1003f2d7
push eax
push 1
mov ebx, 0x168
call fcn.10026a70
add esp, 0x10
mov dword [ebp - 0x20], eax
push reloc.OLEAUT32.dll_SysReAllocString
push 0
push 1
mov ebx, 6
call fcn.10010272
push 0x80000004
push 0
mov eax, dword [ebp - 0x20]
test eax, eax
jne 0x1001e0a4
mov eax, 0x1003f2df
push eax
push 0x80000004
push 0
mov eax, dword [ebp - 0x18]
test eax, eax
jne 0x1001e0b8
mov eax, 0x1003f2df
push eax
push 0x80000004
push 0
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebx]
test eax, eax
jne 0x1001e0ce
mov eax, 0x1003f2df
push eax
push 6
mov ebx, 0x180
call fcn.10028350
add esp, 0x4c
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x1001e0f4
push ebx
call fcn.1002645c
add esp, 4
mov eax, dword [ebp - 0x24]
push eax
mov ebx, dword [ebp + 0xc]
mov ebx, dword [ebx]
test ebx, ebx
je 0x1001e10a
push ebx
call fcn.1002645c
add esp, 4
pop eax
mov ebx, dword [ebp + 0xc]
mov dword [ebx], eax
mov dword [ebp - 0x1c], esp
mov ebx, dword [ebp + 0xc]
push dword [ebx]
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameA]
nop
nop
nop
nop
cmp dword [ebp - 0x1c], esp
je 0x1001e134
push 6
call fcn.10026468
add esp, 4
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x1001e153
push eax
mov ebx, eax
call fcn.10001b8d
inc eax
push eax
call fcn.10026462
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
jmp 0x1001e18b
pop eax
pop ebx
pop ecx
jmp 0x1001de64
add esp, 0xc
mov eax, 0x1003f2df
push eax
mov ebx, dword [ebp + 0xc]
mov ebx, dword [ebx]
test ebx, ebx
je 0x1001e17b
push ebx
call fcn.1002645c
add esp, 4
pop eax
mov ebx, dword [ebp + 0xc]
mov dword [ebx], eax
mov eax, 0x1003f2df
jmp 0x1001e18b
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x1001e19c
push ebx
call fcn.1002645c
add esp, 4
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x1001e1ac
push ebx
call fcn.1002645c
add esp, 4
mov ebx, dword [ebp - 0x10]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x1001e1ca
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x1001e1c6
imul eax, dword [ebx]
jmp 0x1001e1bb
mov ecx, eax
test ecx, ecx
je 0x1001e1e9
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x1001e1e2
push ebx
push eax
call fcn.1002645c
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x1001e1d0
call fcn.1002645c
add esp, 4
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x1001e201
push ebx
call fcn.1002645c
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 0xc