Function at 0x101c6bb0
Capabilities:
Get storage device properties

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x84
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x44], 0x10441708
mov dword [ebp - 0x40], 1
mov dword [ebp - 0x34], 0
lea esi, [eax + 0x18]
lea eax, [ebp - 0x20]
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x1c], 0x1002e030
mov dword [ebp - 0x38], 1
lea edi, [ebp - 0x44]
lea ebx, [ebp - 0x54]
push edi
push ebx
call fcn.1001b0a0
add esp, 8
movsd xmm0, qword [ebp - 0x54]
mov edx, dword [ebp - 0x4c]
movsd qword [ebp - 0x2c], xmm0
mov dword [ebp - 0x24], edx
mov ecx, dword [ebp - 0x2c]
call fcn.101d5730
test al, al
je 0x101c6dac
mov edi, dword [ebp - 0x24]
mov eax, dword [esi]
mov ecx, dword [ebp - 0x2c]
mov esi, 1
mov ebx, 1
test edi, edi
mov dword [ebp - 0x10], eax
je 0x101c6c79
js 0x101c70e7
mov eax, dword [0x1044f00c]
mov ebx, dword [0x1044eff8]
movzx eax, byte [eax]
mov eax, dword [ebx]
mov dword [ebp - 0x14], ecx
test eax, eax
jne 0x101c6c63
call sub.KERNEL32.dll_GetProcessHeap
test eax, eax
je 0x101c70cd
mov dword [ebx], eax
push edi
push 0
push eax
call sub.KERNEL32.dll_HeapAlloc
mov ecx, dword [ebp - 0x14]
mov ebx, eax
test eax, eax
je 0x101c70cd
push edi
push ecx
push ebx
call sub.msvcrt.dll_memcpy
add esp, 0xc
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x68], ebx
mov dword [ebp - 0x64], edi
mov dword [ebp - 0x60], edi
mov edi, dword [eax + 8]
mov ebx, dword [eax]
test edi, edi
je 0x101c6cd5
js 0x101c70ee
mov eax, dword [0x1044f00c]
mov esi, dword [0x1044eff8]
movzx eax, byte [eax]
mov eax, dword [esi]
test eax, eax
jne 0x101c6cc2
call sub.KERNEL32.dll_GetProcessHeap
test eax, eax
je 0x101c70da
mov dword [esi], eax
push edi
push 0
push eax
call sub.KERNEL32.dll_HeapAlloc
mov esi, eax
test eax, eax
je 0x101c70da
push edi
push ebx
push esi
call sub.msvcrt.dll_memcpy
add esp, 0xc
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x74], esi
mov dword [ebp - 0x70], edi
mov dword [ebp - 0x6c], edi
mov edx, dword [eax + 0xc]
lea ecx, [ebp - 0x84]
push dword [eax + 0x14]
call fcn.101a8e40
add esp, 4
mov edx, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x2c]
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x58], eax
call fcn.101d5580
lea edi, [ebp - 0x44]
mov ebx, eax
mov esi, edx
push 0
push 0
push 3
push 0
push 3
push 0xc0000000
push eax
call sub.KERNEL32.dll_CreateFileW
cmp eax, 0xffffffff
je 0x101c6eed
mov dword [ebp - 0x90], 7
mov dword [ebp - 0x8c], 0
mov byte [ebp - 0x88], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x5c], 0
lea edx, [ebp - 0x90]
lea ecx, [ebp - 0x5c]
push 0
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 0xc
push edx
push 0x2d1400
push eax
call sub.KERNEL32.dll_DeviceIoControl
test eax, eax
je 0x101c6f49
cmp dword [ebp - 0x5c], 0xc
jne 0x101c6f49
cmp byte [ebp - 0x18], 0
setne byte [ebp - 0x14]
jmp 0x101c6f9a
lea eax, [ebp - 0x2c]
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x44], 0x10441750
mov dword [ebp - 0x40], 1
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x1c], 0x101ab600
mov dword [ebp - 0x38], 1
push edi
push ebx
call fcn.1001b0a0
add esp, 8
movsd xmm0, qword [ebp - 0x54]
mov eax, dword [ebp - 0x4c]
mov edi, dword [0x1044f00c]
mov ebx, dword [0x1044eff8]
movsd qword [ebp - 0x20], xmm0
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x3c], eax
movsd qword [ebp - 0x44], xmm0
movzx eax, byte [edi]
mov eax, dword [ebx]
test eax, eax
jne 0x101c6e21
call sub.KERNEL32.dll_GetProcessHeap
test eax, eax
je 0x101c70b1
mov dword [ebx], eax
push 0xc
push 0
push eax
call sub.KERNEL32.dll_HeapAlloc
test eax, eax
je 0x101c70b1
mov esi, eax
mov eax, dword [ebp - 0x18]
mov dword [esi + 8], eax
movsd xmm0, qword [ebp - 0x20]
movsd qword [esi], xmm0
movzx eax, byte [edi]
mov eax, dword [ebx]
test eax, eax
jne 0x101c6e5c
call sub.KERNEL32.dll_GetProcessHeap
test eax, eax
je 0x101c70bf
mov dword [ebx], eax
push 0xc
push 0
push eax
call sub.KERNEL32.dll_HeapAlloc
test eax, eax
je 0x101c70bf
mov dword [eax], esi
mov dword [eax + 4], 0x1043ef0c
mov byte [eax + 8], 0x27
mov ecx, dword [ebp + 8]
cmp dword [ebp - 0x28], 0
mov dword [ecx + 4], eax
mov dword [ecx], 3
mov byte [ecx + 0x35], 2
je 0x101c6e9d
push dword [ebp - 0x2c]
push 0
push dword [ebx]
call sub.KERNEL32.dll_HeapFree
mov esi, dword [ebp + 0xc]
cmp dword [esi + 4], 0
je 0x101c6eb1
push dword [esi]
push 0
push dword [ebx]
call sub.KERNEL32.dll_HeapFree
mov edi, dword [esi + 0x14]
mov eax, dword [esi + 0xc]
test edi, edi
mov dword [ebp - 0x10], eax
je 0x101c7089
mov eax, dword [ebp - 0x10]
lea esi, [eax + 4]
jmp 0x101c6eda
add esi, 0xc
dec edi
je 0x101c7089
cmp dword [esi], 0
je 0x101c6ed0
push dword [esi - 4]
push 0
push dword [ebx]
call sub.KERNEL32.dll_HeapFree
jmp 0x101c6ed0
call sub.KERNEL32.dll_GetLastError
lea ecx, [ebp - 0x58]
lea edx, [ebp - 0x20]
mov dword [ebp - 0x44], 0x10441884
mov dword [ebp - 0x40], 2
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x54], ecx
lea ecx, [ebp - 0x54]
mov dword [ebp - 0x50], 0x101a29a0
mov dword [ebp - 0x4c], edx
mov dword [ebp - 0x48], 0x1002e030
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x38], 2
push edi
call fcn.100748a0
add esp, 4
mov word [ebx], 0
mov byte [ebp - 0x14], 4
test esi, esi
jne 0x101c6fa3
jmp 0x101c6fb2
call sub.KERNEL32.dll_GetLastError
lea ecx, [ebp - 0x58]
lea edx, [ebp - 0x78]
mov dword [ebp - 0x44], 0x10441830
mov dword [ebp - 0x40], 2
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x54], ecx
lea ecx, [ebp - 0x54]
mov dword [ebp - 0x50], 0x101a29a0
mov dword [ebp - 0x4c], edx
mov dword [ebp - 0x48], 0x1002e030
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x38], 2
push edi
call fcn.100748a0
add esp, 4
mov byte [ebp - 0x14], 4
mov word [ebx], 0
test esi, esi
je 0x101c6fb2
mov eax, dword [0x1044eff8]
push ebx
push 0
push dword [eax]
call sub.KERNEL32.dll_HeapFree
push edi
call fcn.101d0850
add esp, 4
mov eax, dword [ebp - 0x44]
mov ecx, 1
test eax, eax
je 0x101c6fd1
mov ecx, eax
mov eax, dword [ebp - 0x40]
mov edx, dword [ebp - 0x3c]
jmp 0x101c6fd3
mov edx, eax
mov esi, dword [ebp - 0x60]
mov edi, dword [ebp + 8]
movsd xmm0, qword [ebp - 0x68]
mov ebx, dword [ebp - 0x10]
cmp dword [ebp - 0x28], 0
mov dword [edi + 0xc], esi
movsd qword [edi + 4], xmm0
mov esi, dword [ebp - 0x6c]
movsd xmm0, qword [ebp - 0x74]
mov dword [edi + 0x18], esi
movsd qword [edi + 0x10], xmm0
mov esi, dword [ebp - 0x7c]
movsd xmm0, qword [ebp - 0x84]
mov dword [edi + 0x24], esi
movsd qword [edi + 0x1c], xmm0
mov dword [edi], ebx
mov dword [edi + 0x28], ecx
movzx ecx, byte [ebp - 0x14]
mov dword [edi + 0x2c], eax
mov dword [edi + 0x30], edx
mov byte [edi + 0x34], cl
mov byte [edi + 0x35], 0
je 0x101c7039
mov eax, dword [0x1044eff8]
push dword [ebp - 0x2c]
push 0
push dword [eax]
call sub.KERNEL32.dll_HeapFree
mov esi, dword [ebp + 0xc]
cmp dword [esi + 4], 0
je 0x101c7052
mov eax, dword [0x1044eff8]
push dword [esi]
push 0
push dword [eax]
call sub.KERNEL32.dll_HeapFree
mov edi, dword [esi + 0x14]
mov eax, dword [esi + 0xc]
test edi, edi
mov dword [ebp - 0x10], eax
je 0x101c7089
mov eax, dword [ebp - 0x10]
mov esi, dword [0x1044eff8]
lea ebx, [eax + 4]
jmp 0x101c7076
add ebx, 0xc
dec edi
je 0x101c7089
cmp dword [ebx], 0
je 0x101c7070
push dword [ebx - 4]
push 0
push dword [esi]
call sub.KERNEL32.dll_HeapFree
jmp 0x101c7070
mov eax, dword [ebp + 0xc]
cmp dword [eax + 0x10], 0
je 0x101c70a3
mov eax, dword [0x1044eff8]
push dword [ebp - 0x10]
push 0
push dword [eax]
call sub.KERNEL32.dll_HeapFree
mov eax, dword [ebp + 8]
add esp, 0x84
pop esi
pop edi
pop ebx
pop ebp
ret
push 0xc
push 4
call fcn.1001ac80
add esp, 8
jmp 0x101c70f3
push 0xc
push 4
call fcn.1001ac80
add esp, 8
jmp 0x101c70f3
push edi
push 1
call fcn.1001ac80
add esp, 8
jmp 0x101c70f3
push edi
push 1
call fcn.1001ac80
add esp, 8
jmp 0x101c70f3
call fcn.1001ac40
jmp 0x101c70f3
call fcn.1001ac40
ud2