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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x434
mov eax, dword [0x111127c]
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 [0x111124c]
cmp esi, 0x111124c
je 0x10eb621
test byte [esi + 0x1c], 1
je 0x10eb621
cmp byte [esi + 0x19], 4
jb 0x10eb621
push 0x1011cac
push 0x37
push dword [esi + 0x14]
push dword [esi + 0x10]
call fcn.010189d0
mov esi, dword [0x111124c]
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, 0x111124c
je 0x10eb6a5
test byte [esi + 0x1c], 1
je 0x10eb6a5
cmp byte [esi + 0x19], 4
jb 0x10eb6a5
push dword [ebp - 0x424]
mov edi, 0x1011cac
push dword [ebp - 0x418]
push edi
push 0x38
push dword [esi + 0x14]
push dword [esi + 0x10]
call fcn.010196ed
mov esi, dword [0x111124c]
jmp 0x10eb6aa
mov edi, 0x1011cac
mov eax, dword [ebp - 0x424]
cmp eax, ebx
je 0x10eb951
cmp dword [ebp - 0x418], ebx
je 0x10eb951
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 0x10eb73d
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, ebx
jle 0x10eb6fd
and eax, 0xffff
or eax, 0x80070000
mov dword [ebp - 0x418], eax
mov esi, dword [0x111124c]
cmp esi, 0x111124c
je 0x10eb998
test byte [esi + 0x1c], 1
je 0x10eb976
cmp byte [esi + 0x19], 2
jb 0x10eb976
push eax
push edi
push 0x39
push dword [esi + 0x14]
push dword [esi + 0x10]
call fcn.010189f6
jmp 0x10eb970
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 0x10eb7a9
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, ebx
jle 0x10eb774
and eax, 0xffff
or eax, 0x80070000
mov dword [ebp - 0x418], eax
mov esi, dword [0x111124c]
cmp esi, 0x111124c
je 0x10eb95b
test byte [esi + 0x1c], 1
je 0x10eb95b
cmp byte [esi + 0x19], 2
jb 0x10eb95b
push eax
push edi
push 0x3a
jmp 0x10eb835
mov eax, dword [0x111124c]
cmp eax, 0x111124c
je 0x10eb7e1
test byte [eax + 0x1c], 1
je 0x10eb7e1
cmp byte [eax + 0x19], 4
jb 0x10eb7e1
push dword [ebp - 0x430]
push dword [ebp - 0x428]
push dword [ebp - 0x42c]
push edi
push 0x3b
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.0109bb0b
push dword [ebp - 0x42c]
lea eax, [ebp - 0x414]
push dword [0x1111d34]
push 0x104
push eax
call fcn.01025c69
add esp, 0x10
cmp eax, ebx
mov dword [ebp - 0x418], eax
jge 0x10eb845
mov esi, dword [0x111124c]
cmp esi, 0x111124c
je 0x10eb95b
test byte [esi + 0x1c], 1
je 0x10eb95b
cmp byte [esi + 0x19], 2
jb 0x10eb95b
push eax
push edi
push 0x3c
push dword [esi + 0x14]
push dword [esi + 0x10]
call fcn.010189f6
jmp 0x10eb949
cmp dword [0x1111d30], ebx
jbe 0x10eb8f2
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 0x10eb930
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, ebx
jle 0x10eb886
and eax, 0xffff
or eax, 0x80070000
mov dword [ebp - 0x418], eax
mov eax, dword [0x111124c]
cmp eax, 0x111124c
je 0x10eb8be
test byte [eax + 0x1c], 1
je 0x10eb8be
cmp byte [eax + 0x19], 4
jb 0x10eb8be
push dword [ebp - 0x418]
push dword [ebp - 0x41c]
push edi
push 0x3d
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.0109ba57
mov eax, dword [0x1111d30]
push 0x1e
pop ecx
xor edx, edx
div ecx
push eax
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, dword [0x1111d30]
push 0x1e
xor edx, edx
mov eax, ecx
pop esi
div esi
add dword [ebp - 0x41c], eax
cmp dword [ebp - 0x41c], ecx
jb 0x10eb851
cmp dword [ebp - 0x418], ebx
jge 0x10eb930
mov esi, dword [0x111124c]
cmp esi, 0x111124c
je 0x10eb95b
test byte [esi + 0x1c], 1
je 0x10eb95b
cmp byte [esi + 0x19], 2
jb 0x10eb95b
push dword [ebp - 0x418]
push dword [ebp - 0x41c]
push edi
push 0x3e
push dword [esi + 0x14]
push dword [esi + 0x10]
call fcn.0109ba57
jmp 0x10eb949
push ebx
push dword [ebp - 0x424]
lea eax, [ebp - 0x20c]
push eax
call fcn.0107c871
mov dword [ebp - 0x418], eax
mov esi, dword [0x111124c]
jmp 0x10eb95b
mov dword [ebp - 0x418], 0x80070057
cmp dword [ebp - 0x420], 0xffffffff
je 0x10eb976
push dword [ebp - 0x420]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, dword [0x111124c]
cmp esi, 0x111124c
je 0x10eb998
test byte [esi + 0x1c], 1
je 0x10eb998
cmp byte [esi + 0x19], 4
jb 0x10eb998
push edi
push 0x3f
push dword [esi + 0x14]
push dword [esi + 0x10]
call fcn.010189d0
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x418]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0106f5f8
leave
ret 8