Function at 0x10177390
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x60
call sub.KERNEL32.dll_GetLogicalDrives
test eax, eax
mov dword [esp + 0x30], eax
je 0x101773f8
lea eax, [esp + 0x30]
mov dword [esp + 0xc], 8
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], 0x20
push 0
call fcn.10088750
add esp, 4
test eax, eax
je 0x10177632
mov eax, dword [eax]
test eax, eax
je 0x10177405
add eax, 0x8c
jmp 0x1017740a
xorps xmm0, xmm0
mov edi, 8
jmp 0x101775e5
call fcn.10087320
mov eax, dword [eax]
lea esi, [esp + 0x1c]
mov edx, 0x20
lea ecx, [esp + 0x34]
push esi
push 0x20
push 0
push 1
push dword [eax + 0xf8]
push 0
call fcn.1016dbb0
add esp, 0x18
mov ecx, dword [esp + 0x3c]
test ecx, ecx
je 0x10177470
mov edx, dword [esp + 0x34]
test edx, edx
je 0x10177470
xor eax, eax
nop word cs:[eax + eax]
nop dword [eax]
add eax, dword [edx + 8]
dec ecx
je 0x1017745d
mov edx, dword [edx + 0xc]
test edx, edx
jne 0x10177450
test eax, eax
je 0x10177470
xor edx, edx
lea ecx, [esp + 0xc]
push eax
call fcn.1016d870
add esp, 4
movsd xmm0, qword [esp + 0x34]
mov eax, dword [esp + 0x3c]
movsd qword [esp], xmm0
mov dword [esp + 8], eax
mov eax, dword [esp]
test eax, eax
je 0x101775db
mov ebx, dword [esp + 8]
mov esi, dword [0x1035648c]
dec ebx
jmp 0x101774b1
mov ebx, dword [esp + 0x28]
mov eax, dword [esp + 0x2c]
dec ebx
test eax, eax
je 0x10177575
mov edi, dword [eax + 0xc]
lea edx, [esp + 4]
lea ecx, [edi + 0x10]
test edi, edi
mov dword [esp], edi
cmove ecx, edx
mov dword [ecx], 0
mov dword [esp + 8], ebx
mov ecx, dword [eax]
mov dword [esp + 0x40], ecx
mov ecx, dword [eax + 4]
mov dword [esp + 0x18], ecx
mov ecx, esi
mov esi, dword [eax + 8]
push eax
push 0
push dword [ecx]
call sub.KERNEL32.dll_HeapFree
mov eax, dword [esp + 0x40]
test eax, eax
je 0x10177575
mov dword [esp + 0x2c], edi
mov ecx, dword [esp + 0x10]
mov edi, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x28], ebx
mov dword [esp + 0x24], esi
sub ecx, edi
mov dword [esp + 0x20], edx
cmp ecx, esi
jae 0x1017752e
mov edx, edi
lea ecx, [esp + 0xc]
push esi
call fcn.1016d870
add esp, 4
mov edi, dword [esp + 0x14]
lea eax, [edi + edi*4]
mov ecx, esi
shl eax, 4
shl ecx, 4
add eax, dword [esp + 0xc]
lea ecx, [ecx + ecx*4]
push ecx
mov ebx, dword [esp + 0x44]
push ebx
push eax
call sub.msvcrt.dll_memcpy
add esp, 0xc
add edi, esi
cmp dword [esp + 0x18], 0
mov esi, dword [0x1035648c]
mov dword [esp + 0x14], edi
je 0x101774a0
push ebx
push 0
push dword [esi]
call sub.KERNEL32.dll_HeapFree
jmp 0x101774a0
mov edi, dword [esp]
test edi, edi
je 0x101775db
mov ebx, dword [0x1035648c]
jmp 0x101775a1
push edi
push 0
push dword [ebx]
call sub.KERNEL32.dll_HeapFree
mov edi, dword [esp]
test edi, edi
je 0x101775db
mov eax, dword [edi + 0xc]
lea edx, [esp + 4]
lea ecx, [eax + 0x10]
test eax, eax
mov dword [esp], eax
cmove ecx, edx
mov dword [ecx], 0
dec dword [esp + 8]
mov esi, dword [edi]
mov edx, dword [edi + 8]
mov ecx, esi
call fcn.1016b770
cmp dword [edi + 4], 0
je 0x10177590
push esi
push 0
push dword [ebx]
call sub.KERNEL32.dll_HeapFree
jmp 0x10177590
mov edi, dword [esp + 0xc]
movsd xmm0, qword [esp + 0x10]
movaps xmmword [esp + 0x40], xmm0
mov ebx, dword [ebp + 8]
mov esi, dword [ebx + 0xec]
mov edx, dword [ebx + 0xf4]
mov ecx, esi
call fcn.1016b770
cmp dword [ebx + 0xf0], 0
je 0x10177618
mov eax, dword [0x1035648c]
push esi
push 0
push dword [eax]
call sub.KERNEL32.dll_HeapFree
movaps xmm0, xmmword [esp + 0x40]
mov dword [ebx + 0xec], edi
movlps qword [ebx + 0xf0], xmm0
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, esp
push 0x102476d4
push 0x1024745c
push eax
push 0x46
push 0x1024763c
call fcn.10026bb0
add esp, 0x14
ud2