Function at 0x10a091b
Capabilities:
Get disk information

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x220
mov eax, dword [0x111127c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
push ebx
push esi
mov esi, dword [ebp + 0x14]
push edi
mov edi, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 0x218], edi
mov dword [ebp - 0x214], eax
mov dword [ebp - 0x21c], ebx
mov eax, dword [0x111124c]
cmp eax, 0x111124c
je 0x10a097a
test byte [eax + 0x1c], 4
je 0x10a097a
cmp byte [eax + 0x19], 4
jb 0x10a097a
push 0x100ab40
push 0x1c
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.010189d0
mov dword [esi], ebx
mov dword [ebp - 0x210], ebx
cmp edi, ebx
jne 0x10a099a
push 0x100adf8
push 0x1d6
push 0x100abf0
call fcn.0107b4be
push 0x208
lea eax, [ebp - 0x20c]
push ebx
push eax
call sub.msvcrt.dll_memset
mov eax, edi
add esp, 0xc
lea edx, [eax + 2]
mov cx, word [eax]
inc eax
inc eax
cmp cx, bx
jne 0x10a09b4
sub eax, edx
sar eax, 1
jne 0x10a09d9
mov dword [esi], 0x57
mov dword [ebp - 0x210], 0x16
jmp 0x10a0bbf
mov eax, edi
lea edx, [eax + 2]
mov cx, word [eax]
inc eax
inc eax
cmp cx, bx
jne 0x10a09de
sub eax, edx
sar eax, 1
cmp word [edi + eax*2 - 2], 0x5c
push edi
lea eax, [ebp - 0x20c]
je 0x10a0a02
push 0x100adec
jmp 0x10a0a07
push 0x100ade4
push 0x104
push eax
call fcn.010a08bd
add esp, 0x10
cmp eax, ebx
jl 0x10a09c4
push dword [ebp + 0xc]
lea eax, [ebp - 0x20c]
push dword [ebp - 0x214]
push ebx
push ebx
push ebx
push ebx
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
test eax, eax
jne 0x10a0b8e
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
lea eax, [ebp - 0x21c]
push eax
push dword [ebp - 0x218]
call fcn.0109c1ab
cmp eax, ebx
je 0x10a0a9e
mov ecx, dword [0x111124c]
cmp ecx, 0x111124c
je 0x10a0a8d
test byte [ecx + 0x1c], 4
je 0x10a0a8d
cmp byte [ecx + 0x19], 2
jb 0x10a0a8d
push eax
push dword [ebp - 0x218]
push 0x100ab40
push 0x1d
push dword [ecx + 0x14]
push dword [ecx + 0x10]
call fcn.010196ed
mov dword [ebp - 0x210], 0x16
mov dword [esi], edi
jmp 0x10a0bbf
mov eax, dword [ebp - 0x21c]
shr eax, 0xb
test al, 1
je 0x10a0ae6
mov eax, dword [0x111124c]
cmp eax, 0x111124c
je 0x10a0adc
test byte [eax + 0x1c], 4
je 0x10a0adc
cmp byte [eax + 0x19], 4
jb 0x10a0adc
lea ecx, [ebp - 0x20c]
push ecx
push 0x100ab40
push 0x1e
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01019680
push 0x1002b60
jmp 0x10a0b76
cmp edi, 0x3ed
je 0x10a0b40
cmp edi, 1
je 0x10a0b40
cmp edi, 0x57
je 0x10a0b40
mov dword [esi], edi
mov eax, dword [0x111124c]
cmp eax, 0x111124c
je 0x10a0b31
test byte [eax + 0x1c], 4
je 0x10a0b31
cmp byte [eax + 0x19], 2
jb 0x10a0b31
push edi
lea ecx, [ebp - 0x20c]
push ecx
push 0x100ab40
push 0x20
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.010196ed
mov eax, dword [0x111124c]
mov dword [ebp - 0x210], 0x16
jmp 0x10a0bc4
mov eax, dword [0x111124c]
cmp eax, 0x111124c
je 0x10a0b71
test byte [eax + 0x1c], 4
je 0x10a0b71
cmp byte [eax + 0x19], 4
jb 0x10a0b71
lea ecx, [ebp - 0x20c]
push ecx
push 0x100ab40
push 0x1f
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01019680
push 0x10027a8
push dword [ebp + 0xc]
push dword [ebp - 0x214]
call fcn.010a07da
test eax, eax
jl 0x10a0bbf
mov edi, dword [ebp - 0x218]
mov eax, dword [0x111124c]
cmp eax, 0x111124c
je 0x10a0be9
test byte [eax + 0x1c], 4
je 0x10a0bc4
cmp byte [eax + 0x19], 4
jb 0x10a0bc4
push dword [ebp - 0x214]
push edi
push 0x100ab40
push 0x21
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01019979
mov eax, dword [0x111124c]
cmp eax, 0x111124c
je 0x10a0be9
test byte [eax + 0x1c], 4
je 0x10a0be9
cmp byte [eax + 0x19], 4
jb 0x10a0be9
push 0x100ab40
push 0x22
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.010189d0
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x210]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0106f5f8
leave
ret 0x10