Function at 0x4cbf50
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x504c65
mov eax, dword fs:[0]
push eax
sub esp, 0x7c
mov eax, dword [0x53d058]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x60], ecx
mov eax, dword [0x50b16c]
xor edi, edi
mov dword [ebp - 0x18], eax
xorps xmm0, xmm0
mov ax, word [0x50b170]
xor ecx, ecx
movq qword [ebp - 0x28], xmm0
mov dword [ebp - 0x20], 0
mov word [ebp - 0x14], ax
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x20], ecx
mov eax, 0x41
mov dword [ebp - 4], ecx
mov dword [ebp - 0x1c], eax
nop word [eax + eax]
cmp edi, ecx
je 0x4cbfcf
mov word [edi], ax
add edi, 2
mov dword [ebp - 0x24], edi
jmp 0x4cbfe5
lea eax, [ebp - 0x1c]
push eax
push edi
lea ecx, [ebp - 0x28]
call fcn.004cba00
mov ecx, dword [ebp - 0x20]
mov edi, dword [ebp - 0x24]
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp ax, 0x5a
jbe 0x4cbfc0
mov eax, 0x61
mov dword [ebp - 0x1c], eax
cmp edi, ecx
je 0x4cc006
mov word [edi], ax
add edi, 2
mov dword [ebp - 0x24], edi
jmp 0x4cc01c
lea eax, [ebp - 0x1c]
push eax
push edi
lea ecx, [ebp - 0x28]
call fcn.004cba00
mov ecx, dword [ebp - 0x20]
mov edi, dword [ebp - 0x24]
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp ax, 0x7a
jbe 0x4cbff7
push 0x208
mov dword [ebp - 0x4c], ecx
call fcn.004987ea
mov esi, eax
add esp, 4
mov dword [ebp - 0x44], esi
mov eax, dword [ebp - 0x28]
mov byte [ebp - 4], 1
mov dword [ebp - 0x58], eax
cmp eax, edi
je 0x4cc2b6
nop dword [eax]
movzx eax, word [eax]
push 0x104
mov dword [ebp - 0x64], eax
mov word [ebp - 0x18], ax
lea eax, [ebp - 0x18]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
test eax, eax
je 0x4cc2a5
mov ecx, esi
mov dword [ebp - 0x40], 0
xor eax, eax
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4cc092
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x40]
call fcn.004034d0
mov ecx, dword [ebp - 0x2c]
lea eax, [ebp - 0x40]
mov edx, dword [ebp - 0x30]
cmp ecx, 8
mov byte [ebp - 4], 2
cmovae eax, dword [ebp - 0x40]
mov dword [ebp - 0x50], ecx
mov dword [ebp - 0x5c], edx
cmp word [eax + edx*2 - 2], 0x5c
je 0x4cc1e6
cmp edx, ecx
jae 0x4cc0f1
lea eax, [edx + 1]
cmp ecx, 8
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x40]
cmovae eax, dword [ebp - 0x40]
mov dword [eax + edx*2], 0x5c
jmp 0x4cc1e6
mov eax, SysReAllocString
sub eax, edx
cmp eax, 1
jb 0x4cc318
lea eax, [edx + 1]
mov edx, eax
mov dword [ebp - 0x48], eax
or edx, 7
cmp edx, 0x7ffffffe
jbe 0x4cc11b
mov edx, SysReAllocString
jmp 0x4cc13f
mov eax, ecx
shr eax, 1
mov dword [ebp - 0x1c], eax
mov eax, SysReAllocString
sub eax, dword [ebp - 0x1c]
cmp ecx, eax
jbe 0x4cc135
mov edx, SysReAllocString
jmp 0x4cc13f
mov eax, dword [ebp - 0x1c]
add eax, ecx
cmp edx, eax
cmovb edx, eax
xor ecx, ecx
mov dword [ebp - 0x1c], edx
add edx, 1
setb cl
neg ecx
or ecx, edx
push ecx
lea ecx, [ebp - 0x40]
call fcn.00403460
mov ecx, dword [ebp - 0x1c]
mov edx, eax
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x2c], ecx
mov ecx, dword [ebp - 0x5c]
add ecx, ecx
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x50], 8
mov dword [ebp - 0x54], edx
push ecx
lea eax, [edx + ecx]
mov dword [ebp - 0x48], eax
jb 0x4cc1ca
mov eax, dword [ebp - 0x40]
push eax
push edx
mov dword [ebp - 0x1c], eax
call fcn.004cd990
mov eax, dword [ebp - 0x48]
add esp, 0xc
mov dword [eax], 0x5c
mov eax, dword [ebp - 0x50]
lea ecx, [eax*2 + 2]
mov eax, dword [ebp - 0x1c]
cmp ecx, 0x1000
jb 0x4cc1be
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4cc313
mov eax, edx
push ecx
push eax
call fcn.0049855b
add esp, 8
jmp 0x4cc1e0
lea eax, [ebp - 0x40]
push eax
push edx
call fcn.004cd990
mov eax, dword [ebp - 0x48]
add esp, 0xc
mov dword [eax], 0x5c
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x40], eax
movups xmm0, xmmword [ebp - 0x40]
mov ecx, dword [ebp - 0x60]
xor eax, eax
mov word [ebp - 0x40], ax
mov eax, dword [ebp - 0x64]
movups xmmword [ebp - 0x80], xmm0
lea ecx, [ecx + 0x30]
mov word [ebp - 0x68], ax
movq xmm0, qword [ebp - 0x30]
movq qword [ebp - 0x70], xmm0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
lea eax, [ebp - 0x80]
mov byte [ebp - 4], 3
push eax
lea eax, [ebp - 0x88]
push eax
call fcn.004cb850
mov edx, dword [ebp - 0x6c]
mov byte [ebp - 4], 2
cmp edx, 8
jb 0x4cc26b
mov ecx, dword [ebp - 0x80]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4cc261
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4cc313
push edx
push ecx
call fcn.0049855b
add esp, 8
mov edx, dword [ebp - 0x2c]
mov byte [ebp - 4], 1
cmp edx, 8
jb 0x4cc2a5
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4cc29b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4cc313
push edx
push ecx
call fcn.0049855b
add esp, 8
mov eax, dword [ebp - 0x58]
add eax, 2
mov dword [ebp - 0x58], eax
cmp eax, edi
jne 0x4cc050
test esi, esi
je 0x4cc2c5
push 2
push esi
call fcn.0049855b
add esp, 8
mov edx, dword [ebp - 0x28]
test edx, edx
je 0x4cc2f8
mov ecx, dword [ebp - 0x4c]
mov eax, edx
sub ecx, edx
and ecx, 0xfffffffe
cmp ecx, 0x1000
jb 0x4cc2ee
mov edx, dword [edx - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4cc313
push ecx
push edx
call fcn.0049855b
add esp, 8
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.0049852a
mov esp, ebp
pop ebp
ret
call fcn.004d076f
call fcn.00402fe0
int3