Function at 0x100092ff
Capabilities:
Get disk information

Disassembly:
push ebp
lea ebp, [esp - 0x1ec]
sub esp, 0x26c
mov eax, dword [0x10274398]
xor eax, ebp
mov dword [ebp + 0x1e8], eax
mov eax, dword [ebp + 0x1f8]
push ebx
push esi
push edi
mov ebx, dword [ebp + 0x1f4]
mov esi, 0x101f2580
lea edi, [ebp + 0x1e0]
movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
mov esi, str.__X:
lea edi, [ebp + 0x1d0]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x3c], eax
movsd dword es:[edi], dword [esi]
mov eax, 0x208
mov word [ebp - 0x7a], ax
lea eax, [ebp - 0x38]
push str.ntdll
mov dword [ebp - 0x44], ebx
movsw word es:[edi], word [esi]
mov dword [ebp - 0x78], eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov edi, eax
test edi, edi
je 0x1000946e
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.RtlInitUnicodeString
push edi
call esi
push str.NtOpenSymbolicLinkObject
push edi
mov dword [ebp - 0x4c], eax
call esi
push str.NtQuerySymbolicLinkObject
push edi
mov dword [ebp - 0x48], eax
call esi
cmp dword [ebp - 0x4c], 0
mov dword [ebp - 0x6c], eax
je 0x1000946e
cmp dword [ebp - 0x48], 0
je 0x1000946e
test eax, eax
je 0x1000946e
push 0x41
pop edi
push 0x40
pop ebx
mov esi, closesocket
mov word [ebp + 0x1e0], di
mov word [ebp + 0x1d8], di
lea eax, [ebp + 0x1d0]
jmp 0x10009429
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp - 0x7c]
push eax
push dword [ebp - 0x50]
call dword [ebp - 0x6c]
push dword [ebp - 0x50]
mov dword [ebp - 0x40], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x40], 0
jne 0x10009426
lea eax, [ebp - 0x38]
push eax
call fcn.101d3aeb
push eax
mov dword [ebp - 0x40], eax
lea eax, [ebp - 0x38]
push eax
push dword [ebp - 0x44]
call fcn.101d3a45
add esp, 0x10
test eax, eax
jne 0x10009426
mov eax, dword [ebp - 0x44]
mov ecx, dword [ebp - 0x40]
cmp word [eax + ecx*2], 0x5c
je 0x100094e9
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x74]
push eax
call dword [ebp - 0x4c]
xor eax, eax
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x54], eax
lea eax, [ebp - 0x68]
push eax
push esi
lea eax, [ebp - 0x50]
lea ecx, [ebp - 0x74]
push eax
mov dword [ebp - 0x68], 0x18
mov dword [ebp - 0x5c], ebx
mov dword [ebp - 0x60], ecx
call dword [ebp - 0x48]
test eax, eax
je 0x100093d5
inc edi
cmp di, 0x5a
jbe 0x100093bf
mov ebx, dword [ebp - 0x44]
push 0x41
pop edi
push 0x104
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp + 0x1e0]
push eax
mov word [ebp + 0x1e0], di
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
test eax, eax
je 0x100094b6
lea eax, [ebp - 0x38]
push eax
call fcn.101d3aeb
mov esi, eax
push esi
lea eax, [ebp - 0x38]
push eax
push ebx
call fcn.101d3a45
add esp, 0x10
test eax, eax
jne 0x100094b6
cmp word [ebx + esi*2], 0x5c
je 0x1000951e
inc edi
cmp di, 0x5a
jbe 0x10009471
push ebx
push dword [ebp + 0x1fc]
push dword [ebp - 0x3c]
call fcn.10016ac1
add esp, 0xc
xor eax, eax
mov ecx, dword [ebp + 0x1e8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.101d14d7
add ebp, 0x1ec
leave
ret
lea eax, [ebp + 0x1e0]
push eax
push dword [ebp + 0x1fc]
push dword [ebp - 0x3c]
call fcn.10016ac1
mov eax, dword [ebp - 0x44]
mov ecx, dword [ebp - 0x40]
lea eax, [eax + ecx*2]
add esp, 0xc
push eax
push dword [ebp + 0x1fc]
push dword [ebp - 0x3c]
call fcn.1000812d
xor eax, eax
inc eax
jmp 0x100094d1
lea eax, [ebp + 0x1e0]
push eax
push dword [ebp + 0x1fc]
push dword [ebp - 0x3c]
call fcn.10016ac1
lea eax, [ebx + esi*2]
jmp 0x10009507