Function at 0x100abe20
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1014b493
mov eax, dword fs:[0]
push eax
sub esp, 0x1b8
mov eax, dword [0x1019a128]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push 0x5c
push esi
call fcn.1011792b
add esp, 8
test eax, eax
jne 0x100abeb3
push str.SaveInstallSource
lea edx, [eax + 8]
lea ecx, [ebp - 0x11c]
call fcn.1000aed0
add esp, 4
mov edi, eax
mov dword [ebp - 4], 0
mov al, byte [edi + 0x48]
test al, al
je 0x100abea1
mov edx, str.invalid_path:
mov ecx, edi
call fcn.10020800
mov al, byte [edi + 0x48]
test al, al
je 0x100abea1
mov edx, esi
mov ecx, edi
call fcn.100205a0
lea ecx, [ebp - 0x11c]
call fcn.1000ad70
xor al, al
jmp 0x100ac054
add eax, 2
mov dword [ebp - 0x40], 0
xor edx, edx
mov dword [ebp - 0x30], 0
mov word [ebp - 0x40], dx
mov ecx, 7
mov dword [ebp - 0x2c], ecx
cmp esi, eax
je 0x100abee7
sub eax, esi
lea ecx, [ebp - 0x40]
sar eax, 1
push eax
push esi
call fcn.10002060
mov ecx, dword [ebp - 0x2c]
cmp ecx, 8
mov dword [ebp - 4], 1
lea eax, [ebp - 0x40]
cmovae eax, dword [ebp - 0x40]
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 2
je 0x100abf31
cmp eax, 5
je 0x100abf31
cmp eax, 6
je 0x100abf31
mov edx, esi
lea ecx, [ebp - 0x28]
call fcn.100ab550
xor ebx, ebx
lea ecx, [ebp - 0x28]
cmp dword [ebp - 0x18], ebx
sete bl
lea ebx, [ebx*2 + 1]
call fcn.10002400
jmp 0x100abf33
xor ebx, ebx
lea edx, [ebp - 0x74]
mov dword [ebp - 0x74], ebx
lea ecx, [ebp - 0x64]
call fcn.100a97c0
mov byte [ebp - 4], 2
mov al, byte [ebp - 0x44]
test al, al
je 0x100ac03f
push str.SaveInstallSource
mov edx, 4
lea ecx, [ebp - 0x1c4]
call fcn.1000aed0
add esp, 4
mov esi, eax
mov byte [ebp - 4], 3
cmp byte [esi + 0x48], 0
je 0x100abf80
mov edx, str.storage::install_source_storage::write_error:
mov ecx, esi
call fcn.10020800
cmp byte [ebp - 0x44], 0
je 0x100ac070
mov al, byte [esi + 0x48]
test al, al
je 0x100abfae
push dword [ebp - 0x64]
mov ecx, esi
call fcn.10026c90
mov al, byte [esi + 0x48]
test al, al
je 0x100abfae
mov edx, 0x10166bd0
mov ecx, esi
call fcn.100205a0
cmp byte [ebp - 0x44], 0
je 0x100ac070
mov ecx, dword [ebp - 0x60]
lea edx, [ebp - 0x28]
push dword [ebp - 0x64]
push edx
mov eax, dword [ecx]
call dword [eax + 8]
mov byte [ebp - 4], 4
lea eax, [ebp - 0x28]
mov edx, dword [ebp - 0x14]
cmp edx, 0x10
mov ecx, dword [ebp - 0x28]
cmovae eax, ecx
cmp byte [esi + 0x48], 0
je 0x100abfef
mov edx, eax
mov ecx, esi
call fcn.10020800
mov edx, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x28]
cmp edx, 0x10
jb 0x100ac01d
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100ac013
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100ac094
push edx
push ecx
call fcn.101157ed
add esp, 8
lea ecx, [ebp - 0x1c4]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
call fcn.1000ad70
mov al, byte [ebp - 0x44]
test al, al
lea ecx, [ebp - 0x64]
sete bl
call fcn.10010e20
lea ecx, [ebp - 0x40]
call fcn.10002400
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.101157bc
mov esp, ebp
pop ebp
ret
xorps xmm0, xmm0
mov dword [ebp - 0x68], 0
lea ecx, [ebp - 0x70]
movq qword [ebp - 0x70], xmm0
call fcn.10012090
push 0x10197aa0
mov eax, ecx
push eax
call fcn.101179f2
call fcn.1011a6bf
int3