Function at 0x1001aa20
Capabilities:
Get disk information

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10023f21
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x90
push esi
push edi
mov eax, dword [0x1002b0c0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x418
mov dword [ebp - 0x20], 0
call fcn.10022c20
mov esi, eax
add esp, 4
mov ecx, esi
mov dword [ebp - 0x18], esi
mov dword [esi], 0
call fcn.100214b0
mov ecx, 0x11dd9b70
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1001aa90
sub ecx, edx
push ecx
push 0x11dd9b70
mov ecx, 0x10043a9c
call fcn.10020750
push 0x100275b4
lea ecx, [ebp - 0x50]
call fcn.100041e0
lea eax, [ebp - 0x50]
mov dword [ebp - 4], 0
push eax
lea ecx, [ebp - 0x38]
call fcn.10019a10
add esp, 4
mov ecx, 0x10043b14
push eax
call fcn.10020450
mov ecx, dword [ebp - 0x24]
cmp ecx, 0xf
jbe 0x1001ab07
mov edx, dword [ebp - 0x38]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1001aafd
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1001ab46
push ecx
push edx
call fcn.10022f6f
add esp, 8
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x3c]
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0xf
mov byte [ebp - 0x38], 0
cmp ecx, 0xf
jbe 0x1001ab56
mov edx, dword [ebp - 0x50]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1001ab4c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1001ab4c
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.10022f6f
add esp, 8
mov ecx, 0x11dd9370
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1001ab60
sub ecx, edx
push ecx
push 0x11dd9370
mov ecx, 0x10043ab4
call fcn.10020750
mov ecx, 0x11dd8f70
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1001ab81
sub ecx, edx
push ecx
push 0x11dd8f70
mov ecx, 0x10043b8c
call fcn.10020750
mov eax, dword [esi + 4]
test al, al
jns 0x1001aba8
mov edx, str.Removable
jmp 0x1001abb7
test al, 0x40
mov edx, str.Fixed
mov eax, str.Unknown
cmove edx, eax
mov ecx, edx
lea esi, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1001abc0
sub ecx, esi
push ecx
push edx
mov ecx, 0x10043a54
call fcn.10020750
cmp dword [0x10043b28], 0xf
mov eax, 0x10043b14
cmova eax, dword [0x10043b14]
sub esp, 0x18
mov ecx, esp
push eax
call fcn.100041e0
lea ecx, [ebp - 0x50]
call fcn.10022340
add esp, 0x18
mov ecx, 0x10043a84
push eax
call fcn.10020450
mov ecx, dword [ebp - 0x3c]
cmp ecx, 0xf
jbe 0x1001ac3f
mov edx, dword [ebp - 0x50]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1001ac35
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1001ac35
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.10022f6f
add esp, 8
cmp dword [0x10043ba0], 0xf
lea ecx, [ebp - 0x50]
mov eax, 0x10043b8c
cmova eax, dword [0x10043b8c]
push eax
call fcn.100041e0
mov edi, eax
push 0x64
mov dword [ebp - 4], 1
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
add esp, 4
mov esi, eax
push 0xff
push 0x10044528
push 0x10044470
push 0x10044298
push 0x100443cc
push 0xff
push 0x100440b0
push 0x10027510
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
mov ecx, dword [0x100443cc]
mov eax, ecx
shl eax, 5
add eax, ecx
push eax
imul eax, ecx, 0x19
push eax
push str._2x_2x
push esi
call fcn.10001e10
sub esp, 8
mov edx, esi
mov ecx, esp
push edi
call fcn.100208b0
add esp, 4
lea ecx, [ebp - 0x38]
call fcn.10022340
add esp, 0x18
mov ecx, 0x10043afc
push eax
call fcn.10020450
mov ecx, dword [ebp - 0x24]
cmp ecx, 0xf
jbe 0x1001ad12
mov edx, dword [ebp - 0x38]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1001ad08
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1001ad51
push ecx
push edx
call fcn.10022f6f
add esp, 8
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x3c]
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0xf
mov byte [ebp - 0x38], 0
cmp ecx, 0xf
jbe 0x1001ad61
mov edx, dword [ebp - 0x50]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1001ad57
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1001ad57
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.10022f6f
add esp, 8
cmp dword [0x10043b28], 0xf
mov ecx, 0x10043b14
mov esi, dword [0x10043b14]
mov eax, 0x100263a6
seta dh
cmova ecx, esi
nop
mov dl, byte [ecx]
cmp dl, byte [eax]
jne 0x1001ada0
test dl, dl
je 0x1001ad9c
mov dl, byte [ecx + 1]
cmp dl, byte [eax + 1]
jne 0x1001ada0
add ecx, 2
add eax, 2
test dl, dl
jne 0x1001ad80
xor eax, eax
jmp 0x1001ada5
sbb eax, eax
or eax, 1
test eax, eax
je 0x1001ae11
test dh, dh
mov eax, 0x10043b14
mov ecx, str.2143
cmovne eax, esi
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x1001add8
test dl, dl
je 0x1001add4
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x1001add8
add eax, 2
add ecx, 2
test dl, dl
jne 0x1001adb8
xor eax, eax
jmp 0x1001addd
sbb eax, eax
or eax, 1
test eax, eax
je 0x1001ae11
test dh, dh
mov eax, 0x10043b14
cmovne eax, esi
sub esp, 0x18
mov ecx, esp
push eax
call fcn.100041e0
lea ecx, [ebp - 0x50]
call fcn.10022340
add esp, 0x18
mov ecx, eax
mov dword [ebp - 4], 2
mov eax, 1
jmp 0x1001ae34
cmp dword [0x10043b10], 0xf
lea ecx, [ebp - 0x38]
mov eax, 0x10043afc
cmova eax, dword [0x10043afc]
push eax
call fcn.100041e0
mov ecx, eax
mov eax, 2
push ecx
mov ecx, 0x10043b44
mov dword [ebp - 0x14], eax
call fcn.10020450
mov eax, dword [ebp - 0x14]
test al, 2
je 0x1001ae94
mov ecx, dword [ebp - 0x24]
and eax, 0xfffffffd
mov dword [ebp - 0x14], eax
cmp ecx, 0xf
jbe 0x1001ae82
mov edx, dword [ebp - 0x38]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1001ae75
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1001aec5
push ecx
push edx
call fcn.10022f6f
mov eax, dword [ebp - 0x14]
add esp, 8
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0xf
mov byte [ebp - 0x38], 0
mov dword [ebp - 4], 0xffffffff
test al, 1
je 0x1001aed5
mov ecx, dword [ebp - 0x3c]
cmp ecx, 0xf
jbe 0x1001aed5
mov edx, dword [ebp - 0x50]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1001aecb
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1001aecb
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.10022f6f
add esp, 8
mov ecx, 0xeb
xor edx, edx
nop dword [eax]
mov al, byte [edx + 0x100275c0]
xor al, cl
inc ecx
mov byte [ebp + edx - 0x9c], al
and ecx, 0x800000ff
jns 0x1001af00
dec ecx
or ecx, 0xffffff00
inc ecx
inc edx
cmp edx, 0x30
jl 0x1001aee0
mov byte [ebp - 0x6c], 0
lea esi, [ebp - 0x9c]
mov dword [ebp - 4], 3
lea ecx, [esi + 1]
nop word [eax + eax]
mov al, byte [esi]
inc esi
test al, al
jne 0x1001af20
sub esi, ecx
mov eax, 0x7fffffff
mov ecx, dword [0x10043b54]
sub eax, ecx
mov dword [ebp - 0x18], ecx
cmp eax, esi
jb 0x1001b0f3
cmp dword [0x10043b58], 0xf
lea edx, [esi + ecx]
mov eax, 0x10043b44
mov dword [ebp - 0x1c], edx
cmova eax, dword [0x10043b44]
lea edi, [ebp - 0x68]
mov dword [ebp - 0x20], eax
xorps xmm0, xmm0
mov eax, 0xf
movups xmmword [ebp - 0x68], xmm0
cmp edx, eax
jbe 0x1001afee
mov eax, edx
or eax, 0xf
cmp eax, 0x7fffffff
jbe 0x1001afad
mov eax, 0x80000000
mov dword [ebp - 0x14], 0x7fffffff
add eax, 0x23
push eax
call fcn.10022c20
add esp, 4
test eax, eax
je 0x1001b052
mov edx, dword [ebp - 0x1c]
lea edi, [eax + 0x23]
and edi, 0xffffffe0
mov dword [edi - 4], eax
mov eax, dword [ebp - 0x14]
jmp 0x1001afeb
mov ecx, 0x16
cmp eax, ecx
cmovb eax, ecx
mov dword [ebp - 0x14], eax
lea ecx, [eax + 1]
cmp ecx, 0x1000
jb 0x1001afd2
lea eax, [ecx + 0x23]
cmp eax, ecx
jbe 0x1001b0f8
jmp 0x1001af8b
test ecx, ecx
je 0x1001afe9
push ecx
call fcn.10022c20
mov edx, dword [ebp - 0x1c]
mov edi, eax
mov eax, dword [ebp - 0x14]
add esp, 4
jmp 0x1001afeb
xor edi, edi
mov dword [ebp - 0x68], edi
mov dword [ebp - 0x54], eax
lea eax, [ebp - 0x9c]
push esi
push eax
push edi
mov dword [ebp - 0x58], edx
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
lea eax, [edi + esi]
push dword [ebp - 0x18]
push dword [ebp - 0x20]
push eax
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [ebp - 0x1c]
add esp, 0xc
mov ecx, 0x10043b2c
mov byte [edi + eax], 0
lea eax, [ebp - 0x68]
push eax
call fcn.10020450
mov ecx, dword [ebp - 0x54]
cmp ecx, 0xf
jbe 0x1001b062
mov edx, dword [ebp - 0x68]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1001b058
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1001b058
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.10022f6f
add esp, 8
mov ecx, 0x7f
xor edx, edx
nop dword [eax]
mov al, byte [edx + 0x10027550]
xor al, cl
inc ecx
mov byte [ebp + edx - 0x60], al
and ecx, 0x800000ff
jns 0x1001b08d
dec ecx
or ecx, 0xffffff00
inc ecx
inc edx
cmp edx, 0xf
jl 0x1001b070
mov byte [ebp - 0x51], 0
sub esp, 0xc
mov dword [ebp - 4], 4
lea ecx, [ebp - 0x60]
call fcn.10019800
mov dword [ebp - 4], 0xffffffff
xorps xmm0, xmm0
cmp dword [0x10043b40], 0xf
mov edx, 0x10043b2c
push ecx
cmova edx, dword [0x10043b2c]
mov ecx, eax
mov dword [0x10044304], eax
movups xmmword [ebp - 0x60], xmm0
call fcn.10019900
add esp, 0x10
mov dword [0x10044310], eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.10001f90
call fcn.10001ef0
int3