Function at 0x10eb4f4
Capabilities:
Get disk information
Get disk information via ioctl

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x434
mov eax, dword [0x111027c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x418], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x424], eax
mov esi, dword [0x111024c]
cmp esi, 0x111024c
je 0x10eb550
test byte [esi + 0x1c], 1
je 0x10eb550
cmp byte [esi + 0x19], 4
jb 0x10eb550
push 0x1011da4
push 0x36
push dword [esi + 0x14]
push dword [esi + 0x10]
call fcn.0101894a
mov esi, dword [0x111024c]
or dword [ebp - 0x420], 0xffffffff
xor ebx, ebx
xor eax, eax
mov dword [ebp - 0x430], ebx
lea edi, [ebp - 0x42c]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov edi, 0x208
push edi
lea eax, [ebp - 0x20c]
push ebx
push eax
mov dword [ebp - 0x434], ebx
mov dword [ebp - 0x41c], ebx
call sub.msvcrt.dll_memset
push edi
lea eax, [ebp - 0x414]
push ebx
push eax
call sub.msvcrt.dll_memset
add esp, 0x18
cmp esi, 0x111024c
je 0x10eb5d4
test byte [esi + 0x1c], 1
je 0x10eb5d4
cmp byte [esi + 0x19], 4
jb 0x10eb5d4
push dword [ebp - 0x424]
mov edi, 0x1011da4
push dword [ebp - 0x418]
push edi
push 0x37
push dword [esi + 0x14]
push dword [esi + 0x10]
call fcn.01048c37
mov esi, dword [0x111024c]
jmp 0x10eb5d9
mov edi, 0x1011da4
mov eax, dword [ebp - 0x424]
cmp eax, ebx
je 0x10eb862
cmp dword [ebp - 0x418], ebx
je 0x10eb862
push ebx
push 0x2000080
push 3
push ebx
push 3
push ebx
push dword [ebp - 0x418]
mov dword [eax], ebx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x420], eax
cmp eax, 0xffffffff
jne 0x10eb66c
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, ebx
jle 0x10eb62c
and eax, 0xffff
or eax, 0x80070000
mov dword [ebp - 0x418], eax
mov esi, dword [0x111024c]
cmp esi, 0x111024c
je 0x10eb8a9
test byte [esi + 0x1c], 1
je 0x10eb887
cmp byte [esi + 0x19], 2
jb 0x10eb887
push eax
push edi
push 0x38
push dword [esi + 0x14]
push dword [esi + 0x10]
call fcn.01019fa8
jmp 0x10eb881
push ebx
lea ecx, [ebp - 0x434]
push ecx
push 0xc
lea ecx, [ebp - 0x430]
push ecx
push ebx
push ebx
push 0x2d1080
push eax
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
jne 0x10eb6d8
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, ebx
jle 0x10eb6a3
and eax, 0xffff
or eax, 0x80070000
mov dword [ebp - 0x418], eax
mov esi, dword [0x111024c]
cmp esi, 0x111024c
je 0x10eb86c
test byte [esi + 0x1c], 1
je 0x10eb86c
cmp byte [esi + 0x19], 2
jb 0x10eb86c
push eax
push edi
push 0x39
jmp 0x10eb764
mov eax, dword [0x111024c]
cmp eax, 0x111024c
je 0x10eb710
test byte [eax + 0x1c], 1
je 0x10eb710
cmp byte [eax + 0x19], 4
jb 0x10eb710
push dword [ebp - 0x430]
push dword [ebp - 0x428]
push dword [ebp - 0x42c]
push edi
push 0x3a
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01065870
push dword [ebp - 0x42c]
lea eax, [ebp - 0x414]
push dword [0x1110d30]
push 0x104
push eax
call fcn.01025c20
add esp, 0x10
cmp eax, ebx
mov dword [ebp - 0x418], eax
jge 0x10eb774
mov esi, dword [0x111024c]
cmp esi, 0x111024c
je 0x10eb86c
test byte [esi + 0x1c], 1
je 0x10eb86c
cmp byte [esi + 0x19], 2
jb 0x10eb86c
push eax
push edi
push 0x3b
push dword [esi + 0x14]
push dword [esi + 0x10]
call fcn.01019fa8
jmp 0x10eb85a
mov esi, 0x7d0
push 0x104
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.KERNEL32.dll_GetVolumeNameForVolumeMountPointW]
test eax, eax
jne 0x10eb841
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, ebx
jle 0x10eb7ae
and eax, 0xffff
or eax, 0x80070000
mov dword [ebp - 0x418], eax
mov eax, dword [0x111024c]
cmp eax, 0x111024c
je 0x10eb7e6
test byte [eax + 0x1c], 1
je 0x10eb7e6
cmp byte [eax + 0x19], 4
jb 0x10eb7e6
push dword [ebp - 0x418]
push dword [ebp - 0x41c]
push edi
push 0x3c
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01083f04
push esi
call dword [sym.imp.KERNEL32.dll_Sleep]
add dword [ebp - 0x41c], esi
cmp dword [ebp - 0x41c], 0xea60
jb 0x10eb779
cmp dword [ebp - 0x418], ebx
jge 0x10eb841
mov esi, dword [0x111024c]
cmp esi, 0x111024c
je 0x10eb86c
test byte [esi + 0x1c], 1
je 0x10eb86c
cmp byte [esi + 0x19], 2
jb 0x10eb86c
push dword [ebp - 0x418]
push dword [ebp - 0x41c]
push edi
push 0x3d
push dword [esi + 0x14]
push dword [esi + 0x10]
call fcn.01083f04
jmp 0x10eb85a
push ebx
push dword [ebp - 0x424]
lea eax, [ebp - 0x20c]
push eax
call fcn.0107c9fc
mov dword [ebp - 0x418], eax
mov esi, dword [0x111024c]
jmp 0x10eb86c
mov dword [ebp - 0x418], 0x80070057
cmp dword [ebp - 0x420], 0xffffffff
je 0x10eb887
push dword [ebp - 0x420]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, dword [0x111024c]
cmp esi, 0x111024c
je 0x10eb8a9
test byte [esi + 0x1c], 1
je 0x10eb8a9
cmp byte [esi + 0x19], 4
jb 0x10eb8a9
push edi
push 0x3e
push dword [esi + 0x14]
push dword [esi + 0x10]
call fcn.0101894a
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x418]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0106f798
leave
ret 8