Function at 0x1010b92
Capabilities:
Get disk size

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xa4c
mov eax, dword [0x102164c]
push ebx
push esi
push edi
mov dword [ebp - 4], eax
lea eax, [ebp - 0x9a4]
xor edi, edi
push eax
mov esi, 0x10215f0
push edi
mov ecx, esi
mov dword [ebp - 0x808], edi
call fcn.010136ac
cmp eax, edi
jl 0x1010c00
mov ecx, dword [ebp - 0x99c]
cmp ecx, dword [ebp + 8]
jne 0x1010bde
mov ecx, dword [ebp - 0x998]
cmp ecx, dword [ebp + 0xc]
je 0x1010bfc
inc dword [ebp - 0x808]
lea eax, [ebp - 0x9a4]
push eax
push dword [ebp - 0x808]
mov ecx, esi
call fcn.010136ac
cmp eax, edi
jge 0x1010bc8
cmp eax, edi
jge 0x1010c08
mov dword [ebp - 0x810], edi
jmp 0x1010c25
cmp dword [ebp - 0x96c], edi
je 0x1010c00
xor eax, eax
inc eax
cmp dword [ebp - 0x96c], eax
jne 0x10111a1
mov dword [ebp - 0x810], eax
lea eax, [ebp - 0x81c]
push eax
mov ecx, esi
call fcn.01013479
cmp dword [ebp - 0x81c], edi
jne 0x101119d
or ebx, 0xffffffff
cmp eax, ebx
je 0x101119d
lea ecx, [ebp - 0x808]
push ecx
push eax
push edi
mov ecx, esi
call fcn.010142fe
test eax, eax
je 0x101119d
lea eax, [ebp - 0xa4c]
push eax
push dword [ebp - 0x808]
mov ecx, esi
call fcn.010142c8
test eax, eax
je 0x101119d
push ebx
push edi
lea eax, [ebp - 0x95c]
push eax
mov ecx, esi
mov dword [ebp - 0x808], edi
call fcn.01014b5e
cmp eax, edi
jl 0x101119d
mov ecx, dword [ebp + 8]
cmp ecx, dword [ebp - 0x95c]
jne 0x1010cb2
mov ecx, dword [ebp + 0xc]
cmp ecx, dword [ebp - 0x958]
je 0x1010cd1
inc dword [ebp - 0x808]
push ebx
push dword [ebp - 0x808]
lea eax, [ebp - 0x95c]
push eax
mov ecx, esi
call fcn.01014b5e
cmp eax, edi
jge 0x1010c9c
cmp eax, edi
jl 0x101119d
test dword [ebp - 0x8e4], 0x12846
jne 0x101119d
cmp dword [ebp + 0x18], edi
mov eax, dword [ebp - 0x8e0]
mov dword [ebp - 0x814], eax
jne 0x1010f2e
cmp dword [ebp - 0x9bc], edi
je 0x101119d
push 0x10
push 0x10016b8
push dword [ebp - 0x9bc]
call fcn.01016223
add esp, 0xc
test eax, eax
jne 0x101119d
mov eax, dword [ebp - 0x9bc]
add eax, 0x20
push eax
lea eax, [ebp - 0x804]
push 0x1002088
push eax
call fcn.0101556c
add esp, 0xc
mov dword [ebp - 0x808], edi
push edi
push 0x80
push 3
push edi
push 5
push 0xc0000000
lea eax, [ebp - 0x804]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp eax, ebx
mov dword [ebp - 0x80c], eax
jne 0x1010da5
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
inc dword [ebp - 0x808]
cmp dword [ebp - 0x808], 3
jb 0x1010d4b
push 0x73
call fcn.0100f796
mov eax, dword [ebp + 0x1c]
neg eax
sbb eax, eax
and eax, 0xfffffffc
add eax, 4
jmp 0x10111b5
push ebx
push edi
lea eax, [ebp - 0x8b4]
push eax
mov ecx, esi
mov dword [ebp - 0x808], edi
call fcn.01014b5e
cmp eax, edi
jl 0x1011070
mov ecx, dword [ebp - 0x8b4]
cmp ecx, dword [ebp - 0x95c]
jne 0x1010ddf
mov ecx, dword [ebp - 0x8b0]
cmp ecx, dword [ebp - 0x958]
je 0x1010dfe
inc dword [ebp - 0x808]
push ebx
push dword [ebp - 0x808]
lea eax, [ebp - 0x8b4]
push eax
mov ecx, esi
call fcn.01014b5e
cmp eax, edi
jge 0x1010dc3
cmp eax, edi
jl 0x1011070
inc dword [ebp - 0x808]
push ebx
push dword [ebp - 0x808]
lea eax, [ebp - 0x8b4]
push eax
mov ecx, esi
call fcn.01014b5e
test eax, eax
jl 0x1011070
cmp dword [ebp - 0x92c], 3
jne 0x1010e3f
cmp dword [ebp - 0x884], 1
jne 0x1011070
mov ecx, dword [ebp + 0x10]
mov eax, dword [ebp + 0x14]
mov edx, ecx
or edx, eax
jne 0x1011049
cmp dword [ebp - 0x92c], 4
mov eax, dword [ebp - 0x88c]
mov dword [ebp + 0x10], eax
mov eax, dword [ebp - 0x888]
mov dword [ebp + 0x14], eax
je 0x1011025
push edi
push dword [ebp - 0xa30]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
call fcn.010156e0
mov ecx, eax
or ecx, edx
je 0x1010e8c
sub dword [ebp + 0x10], eax
sbb dword [ebp + 0x14], edx
mov eax, dword [ebp - 0x8e0]
mov dword [ebp - 0x82c], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x824], eax
mov eax, dword [ebp + 0x14]
push edi
mov dword [ebp - 0x820], eax
lea eax, [ebp - 0x818]
push eax
push edi
push edi
push 0x10
lea eax, [ebp - 0x82c]
push eax
push 0x7c0d0
push dword [ebp - 0x80c]
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
push dword [ebp - 0x80c]
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp ebx, edi
je 0x1010d8c
push edi
push edi
mov ecx, esi
call fcn.01013479
push eax
call fcn.0100f0ef
mov ecx, esi
call fcn.010131e0
mov ecx, esi
call fcn.01013292
mov ecx, esi
call fcn.01013326
mov ecx, esi
call fcn.01013348
mov ecx, esi
call fcn.0101336a
mov ecx, esi
call fcn.0101338c
mov ecx, esi
call fcn.01013417
mov ecx, esi
call fcn.01014506
or ebx, 0xffffffff
lea eax, [ebp - 0x81c]
push eax
mov ecx, esi
call fcn.01013479
cmp dword [ebp - 0x81c], edi
jne 0x101119d
cmp eax, ebx
je 0x101119d
lea ecx, [ebp - 0x808]
push ecx
push eax
push edi
mov ecx, esi
call fcn.010142fe
test eax, eax
je 0x101119d
lea eax, [ebp - 0xa4c]
push eax
push dword [ebp - 0x808]
mov ecx, esi
call fcn.010142c8
test eax, eax
je 0x101119d
cmp dword [ebp - 0x810], edi
je 0x101113f
push dword [ebp - 0x814]
lea eax, [ebp - 0x804]
push dword [ebp - 0x9bc]
push 0x100204c
push eax
call fcn.0101556c
add esp, 0x10
mov dword [ebp - 0x808], edi
push edi
push 0x80
push 3
push edi
push 5
push 0xc0000000
lea eax, [ebp - 0x804]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x1011081
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
inc dword [ebp - 0x808]
cmp dword [ebp - 0x808], 3
jb 0x1010fb6
jmp 0x1011126
cmp dword [ebp - 0x884], 1
je 0x1011013
cmp dword [ebp - 0x884], 2
jne 0x1010e6e
mov eax, dword [ebp - 0x88c]
add dword [ebp + 0x10], eax
mov eax, dword [ebp - 0x888]
adc dword [ebp + 0x14], eax
inc dword [ebp - 0x808]
push ebx
push dword [ebp - 0x808]
lea eax, [ebp - 0x8b4]
mov ecx, esi
push eax
call fcn.01014b5e
test eax, eax
jge 0x1010ffd
jmp 0x1010e6e
cmp dword [ebp - 0x92c], 3
jne 0x1010e6e
cmp eax, dword [ebp - 0x888]
jl 0x1010e6e
jg 0x1011070
cmp ecx, dword [ebp - 0x88c]
jbe 0x1010e6e
push dword [ebp - 0x80c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x1010d8c
push edi
lea eax, [ebp - 0x818]
push eax
push 8
lea eax, [ebp + 0x10]
push eax
push edi
push edi
push 0x7405c
push ebx
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
jne 0x10110db
push edi
lea eax, [ebp - 0x818]
push eax
push 0x20
lea eax, [ebp - 0x8d4]
push eax
push edi
push edi
push 0x74004
push ebx
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
jne 0x10110cd
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x1011126
mov ecx, dword [ebp - 0x8cc]
mov eax, dword [ebp - 0x8c8]
jmp 0x10110e1
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x10]
push edi
push dword [ebp - 0xa2c]
push eax
push ecx
call fcn.01015630
push edi
mov dword [ebp + 0x10], eax
lea eax, [ebp - 0x818]
push eax
push edi
push edi
push 8
lea eax, [ebp + 0x10]
push eax
push 0x900f0
push ebx
mov dword [ebp + 0x14], edx
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
push ebx
mov dword [ebp - 0x814], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x814], edi
jne 0x101113f
cmp dword [ebp + 0x18], edi
je 0x1011135
push 0x12c
jmp 0x1010d8e
push 0x12b
jmp 0x1010d8e
push edi
push edi
mov ecx, esi
call fcn.01013479
push eax
call fcn.0100f0ef
mov ecx, esi
call fcn.010131e0
mov ecx, esi
call fcn.01013292
mov ecx, esi
call fcn.01013326
mov ecx, esi
call fcn.01013348
mov ecx, esi
call fcn.0101336a
mov ecx, esi
call fcn.0101338c
mov ecx, esi
call fcn.01013417
mov ecx, esi
call fcn.01014506
cmp dword [ebp + 0x18], edi
je 0x1011192
push 0x12d
jmp 0x1011194
push 0x78
call fcn.0100f796
xor eax, eax
jmp 0x10111b5
push 0x73
jmp 0x10111a3
push 0x6b
call fcn.0100f796
mov eax, dword [ebp + 0x1c]
neg eax
sbb eax, eax
and eax, 0xfffffffb
add eax, 5
mov ecx, dword [ebp - 4]
pop edi
pop esi
pop ebx
call fcn.0101522e
leave
ret 0x18