Function at 0x49ccb0
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50111d
mov eax, dword fs:[0]
push eax
sub esp, 0x2ec
mov eax, dword [0x550070]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea ecx, [ebp - 0x29c]
call fcn.00406c20
mov dword [ebp - 4], 0
push 0x8000
call dword [sym.imp.KERNEL32.dll_SetErrorMode]
mov dword [ebp - 0x2f0], eax
mov eax, dword [ebp + 8]
push eax
call fcn.0049cc40
add esp, 4
push 0x200
lea ecx, [ebp - 0x29c]
call fcn.00473960
lea ecx, [ebp - 0x29c]
call fcn.004038a0
push eax
push 0x200
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
lea ecx, [ebp - 0x29c]
call fcn.004038a0
mov dword [ebp - 0x2a0], eax
mov ecx, dword [ebp - 0x2a0]
mov dword [ebp - 0x2a4], ecx
mov edx, dword [ebp - 0x2a4]
add edx, 2
mov dword [ebp - 0x2c8], edx
mov eax, dword [ebp - 0x2a4]
mov cx, word [eax]
mov word [ebp - 0x2b2], cx
add dword [ebp - 0x2a4], 2
cmp word [ebp - 0x2b2], 0
jne 0x49cd5d
mov edx, dword [ebp - 0x2a4]
sub edx, dword [ebp - 0x2c8]
sar edx, 1
mov dword [ebp - 0x2cc], edx
je 0x49cfcb
mov eax, dword [ebp - 0x2a0]
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
mov dword [ebp - 0x2c0], eax
cmp dword [ebp - 0x2c0], 0
je 0x49cdbd
cmp dword [ebp - 0x2c0], 1
jne 0x49ce28
mov ecx, dword [ebp - 0x2a0]
mov dword [ebp - 0x2a8], ecx
mov edx, dword [ebp - 0x2a8]
add edx, 2
mov dword [ebp - 0x2d0], edx
mov eax, dword [ebp - 0x2a8]
mov cx, word [eax]
mov word [ebp - 0x2b4], cx
add dword [ebp - 0x2a8], 2
cmp word [ebp - 0x2b4], 0
jne 0x49cdd8
mov edx, dword [ebp - 0x2a8]
sub edx, dword [ebp - 0x2d0]
sar edx, 1
mov dword [ebp - 0x2d4], edx
mov eax, dword [ebp - 0x2d4]
mov ecx, dword [ebp - 0x2a0]
lea edx, [ecx + eax*2 + 2]
mov dword [ebp - 0x2a0], edx
jmp 0x49cd42
mov eax, 2
imul ecx, eax, 0
mov edx, dword [ebp - 0x2a0]
movzx eax, word [edx + ecx]
sub eax, 0x41
push eax
call fcn.0049cba0
add esp, 4
test eax, eax
je 0x49ceb5
mov ecx, dword [ebp - 0x2a0]
mov dword [ebp - 0x2ac], ecx
mov edx, dword [ebp - 0x2ac]
add edx, 2
mov dword [ebp - 0x2d8], edx
mov eax, dword [ebp - 0x2ac]
mov cx, word [eax]
mov word [ebp - 0x2b6], cx
add dword [ebp - 0x2ac], 2
cmp word [ebp - 0x2b6], 0
jne 0x49ce65
mov edx, dword [ebp - 0x2ac]
sub edx, dword [ebp - 0x2d8]
sar edx, 1
mov dword [ebp - 0x2dc], edx
mov eax, dword [ebp - 0x2dc]
mov ecx, dword [ebp - 0x2a0]
lea edx, [ecx + eax*2 + 2]
mov dword [ebp - 0x2a0], edx
jmp 0x49cd42
push 0x208
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x2f8]
push ecx
push 0
push 0
push 0
push 0
mov edx, dword [ebp - 0x2a0]
push edx
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
test eax, eax
je 0x49cf60
push 0x40
call fcn.004d1f00
add esp, 4
mov dword [ebp - 0x2e0], eax
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x2e0]
call fcn.004945f0
mov dword [ebp - 0x2c4], eax
jmp 0x49cf12
mov eax, dword [ebp - 0x2c4]
mov dword [ebp - 0x2e4], eax
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x2e4]
mov dword [ebp - 0x2bc], ecx
mov edx, dword [ebp - 0x2bc]
mov dword [edx + 0x1c], 2
mov eax, dword [ebp - 0x2bc]
push eax
mov ecx, dword [ebp - 0x2a0]
push ecx
call fcn.0049d840
add esp, 8
lea edx, [ebp - 0x2bc]
push edx
mov ecx, dword [ebp + 8]
call fcn.00450a20
mov eax, dword [ebp - 0x2a0]
mov dword [ebp - 0x2b0], eax
mov ecx, dword [ebp - 0x2b0]
add ecx, 2
mov dword [ebp - 0x2e8], ecx
mov edx, dword [ebp - 0x2b0]
mov ax, word [edx]
mov word [ebp - 0x2b8], ax
add dword [ebp - 0x2b0], 2
cmp word [ebp - 0x2b8], 0
jne 0x49cf7b
mov ecx, dword [ebp - 0x2b0]
sub ecx, dword [ebp - 0x2e8]
sar ecx, 1
mov dword [ebp - 0x2ec], ecx
mov edx, dword [ebp - 0x2ec]
mov eax, dword [ebp - 0x2a0]
lea ecx, [eax + edx*2 + 2]
mov dword [ebp - 0x2a0], ecx
jmp 0x49cd42
mov edx, dword [ebp - 0x2f0]
push edx
call dword [sym.imp.KERNEL32.dll_SetErrorMode]
mov ecx, dword [ebp + 8]
call fcn.00450970
mov dword [ebp - 0x2f4], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x29c]
call fcn.004739d0
mov eax, dword [ebp - 0x2f4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004d181f
mov esp, ebp
pop ebp
ret