Function at 0x10764b0
Capabilities:
Get disk information

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x38
push esi
push edi
push 0x1014bbc
mov edi, ecx
xor esi, esi
call fcn.010746c8
test al, al
je 0x10767f7
mov eax, dword [edi + 0x28]
xor ecx, ecx
cmp eax, esi
je 0x10764df
cmp word [eax], si
setne cl
test cl, cl
je 0x10767f7
push ebx
push eax
call fcn.0107b99a
mov ebx, eax
test ebx, ebx
je 0x1076642
push 0x1014f30
push ebx
call fcn.01079fee
test al, al
jne 0x107651a
push 0x1014f28
push ebx
call fcn.01079fee
test al, al
je 0x1076642
lea ecx, [ebp - 0x14]
call fcn.0107a032
mov eax, dword [edi + 0x28]
movzx ebx, word [eax]
cmp bx, 0x5c
jne 0x1076531
push 0x42
pop ebx
lea eax, [ebp - 0x14]
push eax
mov ecx, edi
call fcn.0107448d
mov esi, eax
test esi, esi
jl 0x107663a
push 0x1001e8c
mov ecx, edi
call fcn.01075e55
mov esi, eax
test esi, esi
jl 0x107663a
lea ecx, [ebp - 0x2c]
call fcn.0107a032
lea eax, [ebp - 0x2c]
push eax
push 0
mov ecx, edi
call fcn.01075d9e
mov esi, eax
test esi, esi
jl 0x1076632
push 4
push 0x1014f1c
lea ecx, [ebp - 0x14]
or esi, 0xffffffff
call fcn.0107a2b0
test eax, eax
jne 0x10765d2
mov eax, dword [ebp - 0x14]
movzx eax, word [eax + 8]
push eax
call dword [sym.imp.msvcrt.dll_iswdigit]
test eax, eax
pop ecx
je 0x10765d2
lea ecx, [ebp - 0x38]
call fcn.0107a032
mov eax, dword [ebp - 0x14]
add eax, 8
push esi
push eax
lea ecx, [ebp - 0x38]
call fcn.0107a7d6
test eax, eax
jl 0x10765ca
lea ecx, [ebp - 0x38]
call fcn.0107a379
mov esi, eax
lea ecx, [ebp - 0x38]
call fcn.0107a784
lea ecx, [ebp - 0x20]
call fcn.0107a032
cmp esi, 0xffffffff
push dword [ebp - 0x2c]
movzx eax, bx
je 0x10765ff
push esi
push eax
push 0x1014c10
lea eax, [ebp - 0x20]
push 0x1014ee8
push eax
call fcn.0107ab50
add esp, 0x18
jmp 0x1076616
push eax
push 0x1014c10
lea eax, [ebp - 0x20]
push 0x1014ebc
push eax
call fcn.0107ab50
add esp, 0x14
mov esi, eax
test esi, esi
jl 0x107662a
push dword [ebp - 0x20]
mov ecx, edi
push 1
call fcn.010763d9
mov esi, eax
lea ecx, [ebp - 0x20]
call fcn.0107a784
lea ecx, [ebp - 0x2c]
call fcn.0107a784
lea ecx, [ebp - 0x14]
jmp 0x10767f1
mov ecx, edi
call fcn.01075221
cmp eax, 4
jne 0x107677c
push dword [edi + 0x28]
call fcn.0107af81
test al, al
je 0x107677c
lea ecx, [ebp - 0x20]
call fcn.0107a032
lea ecx, [ebp - 0x14]
call fcn.0107a032
mov eax, dword [edi + 0x28]
push 2
push eax
lea ecx, [ebp - 0x20]
call fcn.0107a7d6
mov esi, eax
test esi, esi
jl 0x107676f
mov ebx, 0x104
push ebx
lea ecx, [ebp - 0x14]
mov dword [ebp - 4], ebx
call fcn.0107a78e
mov esi, eax
test esi, esi
jl 0x107676f
lea eax, [ebp - 4]
push eax
push dword [ebp - 0x14]
push dword [ebp - 0x20]
call sub.MPR.dll_WNetGetConnectionW
cmp eax, 0xea
jne 0x10766e1
push dword [ebp - 4]
lea ecx, [ebp - 0x14]
call fcn.0107a78e
mov esi, eax
test esi, esi
jl 0x107676f
lea eax, [ebp - 4]
push eax
push dword [ebp - 0x14]
push dword [ebp - 0x20]
call sub.MPR.dll_WNetGetConnectionW
jmp 0x1076706
test eax, eax
je 0x1076748
push ebx
push dword [ebp - 0x14]
mov dword [ebp - 4], ebx
push dword [ebp - 0x20]
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
test eax, eax
jne 0x1076716
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x1076708
push 0x57
pop eax
test eax, eax
jle 0x107673f
and eax, 0xffff
or eax, 0x80070000
jmp 0x107673f
push 0x1014eac
lea ecx, [ebp - 0x14]
call fcn.0107a192
test eax, eax
jne 0x1076743
mov eax, dword [ebp - 0x14]
add eax, 0xe
push eax
lea eax, [ebp - 0x14]
push 0x100ebf8
push eax
call fcn.0107ab50
add esp, 0xc
mov esi, eax
jmp 0x1076748
mov esi, 0xc00d1327
test esi, esi
jl 0x107676f
mov eax, dword [edi + 0x28]
add eax, 4
push 0xffffffffffffffff
push eax
lea ecx, [ebp - 0x14]
call fcn.0107a9a4
mov esi, eax
test esi, esi
jl 0x107676f
push dword [ebp - 0x14]
mov ecx, edi
call fcn.01075342
mov esi, eax
lea ecx, [ebp - 0x14]
call fcn.0107a784
lea ecx, [ebp - 0x20]
jmp 0x10767f1
test ebx, ebx
je 0x10767f6
push 0x1014ea4
push ebx
call fcn.01079fee
test al, al
je 0x10767f6
mov eax, dword [edi + 0x28]
lea ecx, [ebp - 4]
push ecx
lea ecx, [ebp - 8]
push ecx
push eax
mov ecx, edi
call fcn.01074028
mov esi, eax
test esi, esi
jl 0x10767f6
push 0xffffffffffffffff
push 0x1014be8
lea ecx, [edi + 0x1c]
call fcn.0107a7d6
mov esi, eax
test esi, esi
jl 0x10767f6
lea ecx, [ebp - 0x38]
call fcn.0107a032
push dword [ebp - 4]
lea eax, [ebp - 0x38]
push dword [ebp - 8]
push 0x1014e98
push eax
call fcn.0107ab50
mov esi, eax
add esp, 0x10
test esi, esi
jl 0x10767ee
push dword [ebp - 0x38]
mov ecx, edi
call fcn.01075342
mov esi, eax
lea ecx, [ebp - 0x38]
call fcn.0107a784
pop ebx
pop edi
mov eax, esi
pop esi
leave
ret