Function at 0x1000dd00
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101a6b0e
mov eax, dword fs:[0]
push eax
sub esp, 0x27c
mov eax, dword [0x10221008]
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 dword [ebp - 0x284], edx
push ecx
lea ecx, [ebp - 0x24c]
call fcn.100050f0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x24c]
call fcn.1009f300
cmp dword [ebp - 0x238], 8
lea edx, [ebp - 0x24c]
push ecx
cmovae edx, dword [ebp - 0x24c]
mov ecx, str._:
call fcn.1009f830
add esp, 4
test al, al
je 0x1000e051
mov eax, dword [0x10227ff0]
test al, 1
jne 0x1000ddcf
or eax, 1
mov dword [0x10227ff0], eax
mov byte [ebp - 4], 1
xorps xmm0, xmm0
movlpd qword [0x10227fdc], xmm0
mov dword [0x10227fdc], 0
mov dword [0x10227fe0], 0
call fcn.1000ef00
mov dword [0x10227fdc], eax
mov byte [ebp - 4], 1
push 0x101c27a0
call fcn.1018bb3a
add esp, 4
mov byte [ebp - 4], 0
cmp dword [0x10227fe0], 0
jne 0x1000df54
mov ebx, dword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
mov esi, 0x61
lea edi, [esi - 0x48]
nop word [eax + eax]
xor eax, eax
mov dword [ebp - 0x254], 0
mov dword [ebp - 0x250], 0
mov dword [ebp - 0x254], 0
mov dword [ebp - 0x250], 7
mov word [ebp - 0x264], ax
mov byte [ebp - 4], 4
lea eax, [ebp - 0x264]
push esi
push 0x101e1fec
push eax
call fcn.1009f680
push 0x20a
lea eax, [ebp - 0x21c]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0x18
lea ecx, [ebp - 0x21c]
cmp dword [ebp - 0x250], 8
lea eax, [ebp - 0x264]
cmovae eax, dword [ebp - 0x264]
push 0x104
push ecx
push eax
call ebx
test eax, eax
je 0x1000df2f
lea eax, [ebp - 0x21c]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x1000de81
sub eax, edx
sar eax, 1
je 0x1000df2f
xor ecx, ecx
mov dword [ebp - 0x224], 0
push eax
lea eax, [ebp - 0x21c]
mov word [ebp - 0x234], cx
mov dword [ebp - 0x220], 0
lea ecx, [ebp - 0x234]
push eax
mov dword [ebp - 0x224], 0
mov dword [ebp - 0x220], 7
call fcn.10004a60
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x234]
call fcn.1009f300
lea eax, [ebp - 0x264]
mov ecx, 0x10227fdc
push eax
call fcn.1000ed30
lea ecx, [ebp - 0x234]
cmp eax, ecx
je 0x1000df20
cmp dword [ebp - 0x220], 8
push dword [ebp - 0x224]
cmovae ecx, dword [ebp - 0x234]
push ecx
mov ecx, eax
call fcn.10004a60
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x234]
call fcn.100049f0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x264]
call fcn.100049f0
inc esi
sub edi, 1
jne 0x1000ddf0
cmp dword [0x10227fe0], edi
je 0x1000e051
push 2
lea edx, [ebp - 0x24c]
lea ecx, [ebp - 0x27c]
call fcn.1009f350
add esp, 4
mov byte [ebp - 4], 6
lea eax, [ebp - 0x27c]
push eax
lea eax, [ebp - 0x280]
mov dword [ebp - 0x280], 0
push eax
mov ecx, 0x10227fdc
call fcn.1000eea0
mov esi, dword [ebp - 0x280]
cmp esi, dword [0x10227fdc]
je 0x1000e03f
cmp dword [esi + 0x24], 8
lea edx, [esi + 0x10]
jb 0x1000dfae
mov edx, dword [esi + 0x10]
mov edi, dword [ebp - 0x268]
lea ecx, [ebp - 0x27c]
push dword [esi + 0x20]
mov ebx, dword [ebp - 0x27c]
cmp edi, 8
push edx
mov edx, dword [ebp - 0x26c]
cmovae ecx, ebx
call fcn.1000f470
add esp, 8
test eax, eax
js 0x1000e03f
add esi, 0x28
cmp dword [esi + 0x14], 8
jb 0x1000dfe7
mov esi, dword [esi]
cmp edi, 8
lea edx, [ebp - 0x27c]
push esi
cmovae edx, ebx
lea ecx, [ebp - 0x24c]
call fcn.1009f010
mov ecx, dword [ebp - 0x284]
lea eax, [ebp - 0x24c]
add esp, 4
cmp ecx, eax
je 0x1000e02c
cmp dword [ebp - 0x238], 8
push dword [ebp - 0x23c]
cmovae eax, dword [ebp - 0x24c]
push eax
call fcn.10004a60
mov bl, 1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x27c]
call fcn.100049f0
jmp 0x1000e053
xor bl, bl
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x27c]
call fcn.100049f0
jmp 0x1000e053
xor bl, bl
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x24c]
call fcn.100049f0
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.1018b774
mov esp, ebp
pop ebp
ret