Function at 0x100211f0
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1016e046
mov eax, dword fs:[0]
push eax
sub esp, 0x27c
mov eax, dword [0x101c6270]
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
cmp dword [esi + 0x14], 8
mov dword [ebp - 0x284], 0
jb 0x10021234
mov eax, dword [esi]
jmp 0x10021236
mov eax, esi
push 0
push 0
push 0
push eax
call dword [sym.imp.KERNEL32.dll_GetFullPathNameW]
mov edi, eax
test edi, edi
je 0x1002128b
xor ecx, ecx
lea eax, [edi + 1]
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.1010fc7d
add esp, 4
mov ebx, eax
cmp dword [esi + 0x14], 8
jb 0x10021271
mov eax, dword [esi]
jmp 0x10021273
mov eax, esi
push 0
push ebx
push edi
push eax
call dword [sym.imp.KERNEL32.dll_GetFullPathNameW]
test eax, eax
jne 0x10021296
push ebx
call fcn.1010fc86
add esp, 4
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x100215bd
mov ecx, ebx
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100212a0
sub ecx, edx
sar ecx, 1
push ecx
push ebx
mov ecx, esi
call fcn.10004470
cmp dword [esi + 0x10], 6
jb 0x1002132f
cmp dword [esi + 0x14], 8
jb 0x100212c8
mov eax, dword [esi]
jmp 0x100212ca
mov eax, esi
push 4
push str.__
push eax
call fcn.1013e29d
add esp, 0xc
test eax, eax
jne 0x100212f1
cmp dword [esi + 0x14], 8
jb 0x100212e8
mov eax, dword [esi]
jmp 0x100212ea
mov eax, esi
cmp word [eax + 0xa], 0x3a
je 0x10021324
cmp dword [esi + 0x14], 8
jb 0x100212fb
mov eax, dword [esi]
jmp 0x100212fd
mov eax, esi
push 4
push str.._
push eax
call fcn.1013e29d
add esp, 0xc
test eax, eax
jne 0x1002132f
cmp dword [esi + 0x14], 8
jb 0x1002131b
mov eax, dword [esi]
jmp 0x1002131d
mov eax, esi
cmp word [eax + 0xa], 0x3a
jne 0x1002132f
push 4
push 0
mov ecx, esi
call fcn.100040f0
cmp dword [esi + 0x10], 0xa
jb 0x100213bf
cmp dword [esi + 0x14], 8
jb 0x10021343
mov eax, dword [esi]
jmp 0x10021345
mov eax, esi
push 8
push str._UNC_
push eax
call fcn.1013e29d
add esp, 0xc
test eax, eax
jne 0x100213bf
mov eax, dword [esi + 0x14]
cmp eax, 8
jb 0x10021365
mov ecx, dword [esi]
jmp 0x10021367
mov ecx, esi
cmp word [ecx + 0x12], 0x3a
jne 0x1002138d
cmp eax, 8
jb 0x10021377
mov eax, dword [esi]
jmp 0x10021379
mov eax, esi
cmp word [eax + 0x14], 0x5c
jne 0x1002138d
push 8
push 0
mov ecx, esi
call fcn.100040f0
jmp 0x100213bf
push 7
push 0
mov ecx, esi
call fcn.100040f0
push esi
mov edx, 0x101a3b4c
lea ecx, [ebp - 0x250]
call fcn.1000a9d0
add esp, 4
mov ecx, esi
push eax
call fcn.10003b90
lea ecx, [ebp - 0x250]
call fcn.10004690
mov eax, dword [esi + 0x14]
cmp eax, 8
jb 0x100213cb
mov ecx, dword [esi]
jmp 0x100213cd
mov ecx, esi
cmp word [ecx], 0x5c
jne 0x1002141c
cmp eax, 8
jb 0x100213dc
mov ecx, dword [esi]
jmp 0x100213de
mov ecx, esi
cmp word [ecx + 2], 0x5c
jne 0x1002141c
cmp eax, 8
jb 0x100213ee
mov ecx, dword [esi]
jmp 0x100213f0
mov ecx, esi
cmp word [ecx + 4], 0x3f
je 0x10021409
cmp eax, 8
jb 0x100213fe
mov esi, dword [esi]
cmp word [esi + 4], 0x2e
jne 0x100215a5
push ebx
call fcn.1010fc86
add esp, 4
mov eax, 0xa1
jmp 0x100215bd
cmp eax, 8
jb 0x10021425
mov ecx, dword [esi]
jmp 0x10021427
mov ecx, esi
cmp word [ecx], 0x41
jb 0x1002143e
cmp eax, 8
jb 0x10021436
mov ecx, dword [esi]
jmp 0x10021438
mov ecx, esi
cmp word [ecx], 0x5a
jbe 0x10021468
cmp eax, 8
jb 0x10021447
mov ecx, dword [esi]
jmp 0x10021449
mov ecx, esi
cmp word [ecx], 0x61
jb 0x1002159b
cmp eax, 8
jb 0x1002145c
mov ecx, dword [esi]
jmp 0x1002145e
mov ecx, esi
cmp word [ecx], 0x7a
ja 0x1002159b
cmp eax, 8
jb 0x10021471
mov eax, dword [esi]
jmp 0x10021473
mov eax, esi
cmp word [eax + 2], 0x3a
jne 0x1002159b
push 0
mov ecx, esi
call fcn.1000d180
movzx eax, word [eax]
push eax
call fcn.10139774
mov edi, dword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
mov word [ebp - 0x18], ax
add esp, 4
mov eax, 0x3a
mov word [ebp - 0x16], ax
xor eax, eax
mov word [ebp - 0x14], ax
push 0x208
push eax
lea eax, [ebp - 0x220]
push eax
call fcn.1012bf20
add esp, 0xc
lea eax, [ebp - 0x220]
push 0x104
push eax
lea eax, [ebp - 0x18]
push eax
call edi
test eax, eax
je 0x100215a5
push 4
lea eax, [ebp - 0x220]
push str.___
push eax
call fcn.1013e29d
add esp, 0xc
test eax, eax
jne 0x100215a5
push 0xffffffffffffffff
push 2
push esi
lea ecx, [ebp - 0x238]
mov dword [ebp - 0x228], eax
mov dword [ebp - 0x224], 7
mov word [ebp - 0x238], ax
call fcn.100041a0
lea eax, [ebp - 0x218]
mov dword [ebp - 4], 0
push eax
lea ecx, [ebp - 0x280]
call fcn.10003bf0
lea ecx, [ebp - 0x238]
mov byte [ebp - 4], 1
push ecx
push eax
lea eax, [ebp - 0x268]
push eax
call fcn.10025d90
add esp, 0xc
mov ecx, esi
push eax
call fcn.10003b90
lea ecx, [ebp - 0x268]
call fcn.10004690
lea ecx, [ebp - 0x280]
call fcn.10004690
lea ecx, [ebp - 0x238]
mov dword [ebp - 4], 0xffffffff
call fcn.10004690
push 0
mov ecx, esi
call fcn.1000d180
movzx eax, word [eax]
push eax
call fcn.10139774
jmp 0x10021496
mov dword [ebp - 0x284], 0xa1
push ebx
call fcn.1010fc86
mov esi, dword [ebp - 0x284]
add esp, 4
push esi
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, esi
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.1010f54f
mov esp, ebp
pop ebp
ret