Function at 0x11dbdbc0
Capabilities:
Get disk information

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x11fb4feb
push eax
mov dword fs:[0], esp
sub esp, 0x21c
push ebx
mov ebx, dword [esp + 0x230]
push ebp
push esi
push edi
xor edi, edi
test ebx, ebx
je 0x11dbde9e
mov esi, dword [esp + 0x240]
test esi, esi
je 0x11dbde9e
push ebx
call fcn.11e67d05
add esp, 4
cmp eax, 2
jb 0x11dbde9e
cmp word [ebx], 0x5c
je 0x11dbde9e
push ebx
call fcn.11e67d05
mov ecx, eax
mov eax, dword [esp + 0x248]
add esp, 4
inc ecx
cmp eax, ecx
jb 0x11dbde9e
lea ebp, [eax + eax]
xor eax, eax
mov ecx, ebp
mov edi, esi
mov edx, ecx
push ebx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
call fcn.11e67d05
push eax
push ebx
push esi
call fcn.11e674bf
mov eax, dword [0x12048890]
mov cx, word [0x12048894]
mov dword [esp + 0x20], eax
mov ax, word [esi]
add esp, 0x10
xor ebx, ebx
cmp ax, 0x41
mov word [esp + 0x14], cx
mov word [esp + 0x16], bx
jb 0x11dbdc8e
cmp ax, 0x5a
ja 0x11dbdc8e
add eax, 0xffffffbf
jmp 0x11dbdc9d
cmp ax, 0x61
jb 0x11dbdca2
cmp ax, 0x7a
ja 0x11dbdca2
add eax, 0xffffff9f
add word [esp + 0x10], ax
mov ecx, 0x7f
xor eax, eax
lea edi, [esp + 0x2e]
mov word [esp + 0x2c], bx
rep stosd dword es:[edi], eax
push 0x12119948
lea ecx, [esp + 0x1c]
stosw word es:[edi], ax
mov dword [esp + 0x20], 0x100
call fcn.11e7eae0
lea edx, [esp + 0x18]
lea eax, [esp + 0x10]
push edx
push eax
mov ecx, 0x1212b5c0
mov dword [esp + 0x23c], ebx
call fcn.11d838e0
cmp eax, ebx
je 0x11dbdd28
mov ecx, dword [esp + 0x18]
push 0xff
lea edx, [esp + 0x30]
push ecx
push edx
call fcn.11e674bf
mov eax, dword [0x12133f80]
add esp, 0xc
cmp eax, ebx
je 0x11dbddfd
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0x10]
push eax
push ecx
push 0x91f
push str._GetNetPathReal__Line:_d__DriverName__s__RemotePath__s_
jmp 0x11dbddee
mov edx, dword [0x12048890]
mov ax, word [0x12048894]
mov dword [esp + 0x20], edx
mov edx, dword [esp + 0x10]
xor ecx, ecx
and edx, 0xffff
mov dword [esp + 0x26], ecx
push edx
mov word [esp + 0x28], ax
mov word [esp + 0x2e], cx
call fcn.11e68888
add esp, 4
mov word [esp + 0x20], ax
lea eax, [esp + 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 4
jne 0x11dbdd88
lea ecx, [esp + 0x1c]
lea edx, [esp + 0x2c]
push ecx
lea eax, [esp + 0x14]
push edx
push eax
call sub.MPR.dll_WNetGetConnectionW
test eax, eax
je 0x11dbddd2
mov ecx, dword [esp + 0x1c]
lea edx, [esp + 0x2c]
push ecx
lea eax, [esp + 0x14]
push edx
push eax
call fcn.11dbd7f0
add esp, 0xc
test eax, eax
je 0x11dbde86
cmp dword [0x12133f80], ebx
je 0x11dbddfd
lea ecx, [esp + 0x2c]
lea edx, [esp + 0x10]
push ecx
push edx
push 0x938
push str._GetNetPathReal__Line:_d__QueryDosDevice_DriverName__s__Target__s_
push str.SafeDisk
push 4
call fcn.11ca5810
add esp, 0x18
cmp dword [0x12133f80], ebx
je 0x11dbddfd
lea eax, [esp + 0x2c]
lea ecx, [esp + 0x10]
push eax
push ecx
push 0x93c
push str._GetNetPathReal__Line:_d__GetCon_DriverName__s__Target__s_
push str.SafeDisk
push 4
call fcn.11ca5810
add esp, 0x18
push esi
call fcn.11e67d05
lea edx, [esp + 0x30]
mov edi, eax
push edx
call fcn.11e67d05
mov ebx, dword [esp + 0x24c]
lea eax, [edi + eax + 1]
add esp, 8
cmp ebx, eax
jb 0x11dbde86
push ebp
call fcn.11e679bc
mov edi, eax
add esp, 4
test edi, edi
je 0x11dbde69
dec ebx
lea ecx, [esp + 0x2c]
push ebx
push ecx
push edi
call fcn.11e674bf
push esi
call fcn.11e67d05
add esp, 0x10
cmp eax, 3
jbe 0x11dbde58
lea edx, [esi + 4]
push edx
push edi
call fcn.11e67470
add esp, 8
push ebx
push edi
push esi
call fcn.11e674bf
push edi
call fcn.11e679b1
add esp, 0x10
lea ecx, [esp + 0x18]
mov esi, 1
mov dword [esp + 0x234], 0xffffffff
call fcn.11e7f280
mov eax, esi
jmp 0x11dbdea0
lea ecx, [esp + 0x18]
mov dword [esp + 0x234], 0xffffffff
call fcn.11e7f280
xor eax, eax
jmp 0x11dbdea0
mov eax, edi
mov ecx, dword [esp + 0x22c]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x228
ret