Function at 0x4983e0
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x55e53e
mov eax, dword fs:[0]
push eax
sub esp, 0x300
mov eax, dword [0x5c7cec]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 0xc]
xor eax, eax
mov esi, dword [ebp + 8]
mov ecx, edi
mov dword [ebp - 0x228], 0
mov dword [ebp - 0x224], 7
mov word [ebp - 0x238], ax
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x498435
sub ecx, edx
sar ecx, 1
push ecx
push edi
lea ecx, [ebp - 0x238]
call fcn.00408740
xor eax, eax
mov dword [ebp - 4], 0
mov dword [ebp - 0x240], 0
mov dword [ebp - 0x23c], 7
mov word [ebp - 0x250], ax
lea eax, [ebp - 0x250]
mov byte [ebp - 4], 2
push eax
push esi
call fcn.0043eae0
add esp, 8
test al, al
jne 0x4984ac
lea eax, [ebp - 0x250]
push eax
push esi
call fcn.004958b0
add esp, 8
test al, al
jne 0x4984ac
mov byte [ebp - 0x2f1], al
jmp 0x498cbe
mov ecx, dword [ebp - 0x240]
test ecx, ecx
je 0x49853e
cmp dword [ebp - 0x23c], 8
lea eax, [ebp - 0x250]
cmovae eax, dword [ebp - 0x250]
cmp word [eax + ecx*2 - 2], 0x5c
jne 0x49853e
lea eax, [ecx - 1]
push eax
push 0
lea eax, [ebp - 0x290]
push eax
lea ecx, [ebp - 0x250]
call fcn.00408d90
mov esi, eax
lea eax, [ebp - 0x250]
mov byte [ebp - 4], 3
cmp eax, esi
je 0x49852f
mov ecx, eax
call fcn.00408df0
movups xmm0, xmmword [esi]
xor eax, eax
movups xmmword [ebp - 0x250], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [ebp - 0x240], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
lea ecx, [ebp - 0x290]
mov byte [ebp - 4], 2
call fcn.00408e50
mov esi, dword [ebp - 0x224]
lea eax, [ebp - 0x238]
mov edx, dword [ebp - 0x228]
cmp esi, 8
cmovae eax, dword [ebp - 0x238]
cmp word [eax + edx*2 - 2], 0x5c
jne 0x498601
xor eax, eax
mov dword [ebp - 0x268], 0
lea ecx, [edx - 1]
mov word [ebp - 0x278], ax
cmp edx, ecx
mov dword [ebp - 0x264], 7
lea eax, [ebp - 0x238]
cmovb ecx, edx
cmp esi, 8
push ecx
cmovae eax, dword [ebp - 0x238]
lea ecx, [ebp - 0x278]
push eax
call fcn.00408740
lea ecx, [ebp - 0x238]
mov byte [ebp - 4], 4
call fcn.00408df0
movups xmm0, xmmword [ebp - 0x278]
xor eax, eax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x278]
mov word [ebp - 0x278], ax
movups xmmword [ebp - 0x238], xmm0
movq xmm0, qword [ebp - 0x268]
movq qword [ebp - 0x228], xmm0
mov dword [ebp - 0x268], 0
mov dword [ebp - 0x264], 7
call fcn.00408e50
push edi
lea ecx, [ebp - 0x250]
call fcn.00451eca
test eax, eax
jne 0x49861d
mov byte [ebp - 0x2f1], 1
jmp 0x498cbe
push 8
xor eax, eax
mov dword [ebp - 0x268], 0
push 0x573734
lea ecx, [ebp - 0x278]
mov dword [ebp - 0x264], 7
mov word [ebp - 0x278], ax
call fcn.00408740
cmp dword [ebp - 0x264], 8
lea ecx, [ebp - 0x278]
mov esi, dword [ebp - 0x268]
lea eax, [ebp - 0x250]
cmovae ecx, dword [ebp - 0x278]
cmp dword [ebp - 0x23c], 8
push esi
cmovae eax, dword [ebp - 0x250]
push ecx
push 0
push dword [ebp - 0x240]
mov byte [ebp - 4], 5
push eax
call fcn.0040f0b0
add esp, 0x14
test eax, eax
jne 0x498cac
push esi
push 0x5c
lea ecx, [ebp - 0x250]
call fcn.004278a0
mov edi, eax
cmp edi, 0xffffffff
je 0x498cac
mov eax, dword [ebp - 0x240]
lea ecx, [edi + 1]
cmp ecx, eax
je 0x498cac
cmp dword [ebp - 0x23c], 8
lea ecx, [ebp - 0x250]
lea edx, [ebp - 0x2f1]
cmovae ecx, dword [ebp - 0x250]
push edx
lea eax, [ecx + eax*2]
lea ecx, [ebp - 0x250]
cmovae ecx, dword [ebp - 0x250]
push eax
lea eax, [ecx + 2]
lea eax, [eax + edi*2]
push eax
lea ecx, [ebp - 0x2c0]
call fcn.00492790
cmp dword [0x5cceb4], 0
mov byte [ebp - 4], 6
jne 0x498732
push 0x5735c8
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x4987d4
push str.RtlCompareUnicodeString
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x5cceb4], eax
cmp dword [ebp - 0x2ac], 8
lea ecx, [ebp - 0x260]
push ecx
push dword [ebp - 0x2b0]
lea eax, [ebp - 0x2c0]
cmovae eax, dword [ebp - 0x2c0]
push eax
call fcn.00452800
add esp, 0xc
test al, al
je 0x4987d4
cmp dword [ebp - 0x224], 8
lea ecx, [ebp - 0x258]
push ecx
push dword [ebp - 0x228]
lea eax, [ebp - 0x238]
cmovae eax, dword [ebp - 0x238]
push eax
call fcn.00452800
add esp, 0xc
test al, al
je 0x4987d4
mov esi, dword [0x5cceb4]
lea eax, [ebp - 0x258]
push 1
push eax
lea eax, [ebp - 0x260]
mov ecx, esi
push eax
call dword [0x5677a4]
call esi
test eax, eax
sete al
test al, al
je 0x4987ce
lea ecx, [ebp - 0x2c0]
mov byte [ebp - 0x2f1], 1
call fcn.00408e50
jmp 0x498cb3
mov esi, dword [ebp - 0x268]
push str.CdmRedirector
lea ecx, [ebp - 0x290]
call fcn.0040d7b0
sub edi, esi
mov byte [ebp - 4], 7
push edi
push esi
lea eax, [ebp - 0x30c]
push eax
lea ecx, [ebp - 0x250]
call fcn.00408d90
mov esi, eax
cmp dword [0x5cceb4], 0
mov byte [ebp - 4], 8
jne 0x498831
push 0x5735c8
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x4988aa
push str.RtlCompareUnicodeString
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x5cceb4], eax
cmp dword [esi + 0x14], 8
mov eax, dword [esi + 0x10]
jb 0x49883c
mov esi, dword [esi]
lea ecx, [ebp - 0x258]
push ecx
push eax
push esi
call fcn.00452800
add esp, 0xc
test al, al
je 0x4988aa
cmp dword [ebp - 0x27c], 8
lea ecx, [ebp - 0x260]
push ecx
push dword [ebp - 0x280]
lea eax, [ebp - 0x290]
cmovae eax, dword [ebp - 0x290]
push eax
call fcn.00452800
add esp, 0xc
test al, al
je 0x4988aa
mov esi, dword [0x5cceb4]
lea eax, [ebp - 0x260]
push 1
push eax
lea eax, [ebp - 0x258]
mov ecx, esi
push eax
call dword [0x5677a4]
call esi
test eax, eax
setne byte [ebp - 0x2f1]
jmp 0x4988b1
mov byte [ebp - 0x2f1], 1
lea ecx, [ebp - 0x30c]
call fcn.00408e50
lea ecx, [ebp - 0x290]
mov byte [ebp - 4], 6
call fcn.00408e50
cmp byte [ebp - 0x2f1], 0
jne 0x4988f1
push 0
push 0x5c
lea ecx, [ebp - 0x2c0]
call fcn.004278a0
cmp eax, 0xffffffff
je 0x4988f1
inc eax
cmp eax, dword [ebp - 0x2b0]
jne 0x498908
lea ecx, [ebp - 0x2c0]
mov byte [ebp - 0x2f1], 0
call fcn.00408e50
jmp 0x498cb3
push 0xffffffffffffffff
push eax
lea eax, [ebp - 0x2a8]
push eax
lea ecx, [ebp - 0x2c0]
call fcn.00408d90
push 0x57352c
push 4
push 0
lea ecx, [ebp - 0x238]
mov byte [ebp - 4], 9
call fcn.00429d50
test eax, eax
jne 0x498966
push 0xffffffffffffffff
push 4
lea eax, [ebp - 0x30c]
push eax
lea ecx, [ebp - 0x238]
call fcn.00408d90
push eax
lea ecx, [ebp - 0x238]
call fcn.0042a225
lea ecx, [ebp - 0x30c]
call fcn.00408e50
cmp dword [0x5cceb4], 0
jne 0x498993
push 0x5735c8
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x498a24
push str.RtlCompareUnicodeString
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x5cceb4], eax
cmp dword [ebp - 0x294], 8
lea ecx, [ebp - 0x258]
push ecx
push dword [ebp - 0x298]
lea eax, [ebp - 0x2a8]
cmovae eax, dword [ebp - 0x2a8]
push eax
call fcn.00452800
add esp, 0xc
test al, al
je 0x498a24
cmp dword [ebp - 0x224], 8
lea ecx, [ebp - 0x260]
push ecx
push dword [ebp - 0x228]
lea eax, [ebp - 0x238]
cmovae eax, dword [ebp - 0x238]
push eax
call fcn.00452800
add esp, 0xc
test al, al
je 0x498a24
mov esi, dword [0x5cceb4]
lea eax, [ebp - 0x260]
push 1
push eax
lea eax, [ebp - 0x258]
mov ecx, esi
push eax
call dword [0x5677a4]
call esi
test eax, eax
sete al
test al, al
je 0x498a24
mov byte [ebp - 0x2f1], 1
jmp 0x498c94
push 0
push 0x3a
lea ecx, [ebp - 0x238]
call fcn.004278a0
mov esi, eax
test esi, esi
je 0x498c8d
cmp esi, 0xffffffff
je 0x498c8d
mov ecx, dword [ebp - 0x224]
mov edx, dword [ebp - 0x238]
cmp esi, 1
jbe 0x498a6f
cmp ecx, 8
lea eax, [ebp - 0x238]
cmovae eax, edx
cmp word [eax + esi*2 - 4], 0x5c
jne 0x498c8d
cmp ecx, 8
lea eax, [ebp - 0x238]
push 4
cmovae eax, edx
xorps xmm0, xmm0
movq qword [ebp - 0x18], xmm0
lea eax, [eax + esi*2]
add eax, 0xfffffffe
push eax
lea eax, [ebp - 0x18]
push 8
push eax
call fcn.0042a5a0
add esp, 0x10
test eax, eax
jne 0x498c8d
push 0x104
lea eax, [ebp - 0x220]
push eax
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
cmp eax, 2
jb 0x498c8d
cmp eax, 0x104
je 0x498c8d
lea eax, [ebp - 0x220]
push eax
lea ecx, [ebp - 0x2f0]
call fcn.0040d7b0
push 0xffffffffffffffff
push 0x5c
lea ecx, [ebp - 0x2f0]
mov byte [ebp - 4], 0xa
call fcn.0048f510
cmp eax, 0xffffffff
je 0x498c79
inc eax
cmp dword [ebp - 0x2e0], eax
jbe 0x498c79
push 0xffffffffffffffff
push eax
lea eax, [ebp - 0x290]
push eax
lea ecx, [ebp - 0x2f0]
call fcn.00408d90
cmp dword [ebp - 0x280], 2
mov byte [ebp - 4], 0xb
jae 0x498b4b
lea ecx, [ebp - 0x290]
mov byte [ebp - 0x2f1], 0
call fcn.00408e50
lea ecx, [ebp - 0x2f0]
call fcn.00408e50
jmp 0x498c94
lea eax, [ebp - 0x290]
push eax
lea ecx, [ebp - 0x2d8]
call fcn.00409a20
lea eax, [esi + 1]
mov byte [ebp - 4], 0xc
cmp dword [ebp - 0x228], eax
jbe 0x498c4f
cmp dword [ebp - 0x224], 8
lea eax, [ebp - 0x238]
lea ecx, [ebp - 0x2d8]
cmovae eax, dword [ebp - 0x238]
lea eax, [eax + esi*2]
add eax, 2
push eax
call fcn.00465450
cmp dword [0x5cceb4], 0
jne 0x498bc3
push 0x5735c8
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x498c4f
push str.RtlCompareUnicodeString
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x5cceb4], eax
cmp dword [ebp - 0x294], 8
lea ecx, [ebp - 0x258]
push ecx
push dword [ebp - 0x298]
lea eax, [ebp - 0x2a8]
cmovae eax, dword [ebp - 0x2a8]
push eax
call fcn.00452800
add esp, 0xc
test al, al
je 0x498c4f
cmp dword [ebp - 0x2c4], 8
lea ecx, [ebp - 0x260]
push ecx
push dword [ebp - 0x2c8]
lea eax, [ebp - 0x2d8]
cmovae eax, dword [ebp - 0x2d8]
push eax
call fcn.00452800
add esp, 0xc
test al, al
je 0x498c4f
mov esi, dword [0x5cceb4]
lea eax, [ebp - 0x260]
push 1
push eax
lea eax, [ebp - 0x258]
mov ecx, esi
push eax
call dword [0x5677a4]
call esi
test eax, eax
mov byte [ebp - 0x2f1], 1
sete al
test al, al
jne 0x498c56
mov byte [ebp - 0x2f1], 0
lea ecx, [ebp - 0x2d8]
call fcn.00408e50
lea ecx, [ebp - 0x290]
call fcn.00408e50
lea ecx, [ebp - 0x2f0]
call fcn.00408e50
jmp 0x498c94
lea ecx, [ebp - 0x2f0]
mov byte [ebp - 0x2f1], 0
call fcn.00408e50
jmp 0x498c94
mov byte [ebp - 0x2f1], 0
lea ecx, [ebp - 0x2a8]
call fcn.00408e50
lea ecx, [ebp - 0x2c0]
call fcn.00408e50
jmp 0x498cb3
mov byte [ebp - 0x2f1], 0
lea ecx, [ebp - 0x278]
call fcn.00408e50
lea ecx, [ebp - 0x250]
call fcn.00408e50
lea ecx, [ebp - 0x238]
call fcn.00408e50
mov al, byte [ebp - 0x2f1]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0040154f
mov esp, ebp
pop ebp
ret