Function at 0x4ccbf0
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x689381
mov eax, dword fs:[0]
push eax
sub esp, 0x270
mov eax, dword [0x740184]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x274], eax
xor eax, eax
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x21c], 7
mov word [ebp - 0x230], ax
mov dword [ebp - 4], eax
mov ecx, 0x104
lea eax, [ebp - 0x218]
mov byte [eax], 0
lea eax, [eax + 1]
sub ecx, 1
jne 0x4ccc52
mov esi, 0x61
mov dword [ebp - 0x268], esi
nop dword [eax + eax]
push 0
push 0x726798
lea ecx, [ebp - 0x230]
call fcn.0044eb60
mov ebx, dword [ebp - 0x220]
mov ecx, dword [ebp - 0x21c]
mov dword [ebp - 0x26c], ebx
mov dword [ebp - 0x264], ecx
cmp ebx, ecx
jae 0x4ccccd
lea eax, [ebx + 1]
cmp ecx, 8
mov dword [ebp - 0x220], eax
lea eax, [ebp - 0x230]
cmovae eax, dword [ebp - 0x230]
xor ecx, ecx
mov word [eax + ebx*2], si
mov word [eax + ebx*2 + 2], cx
mov edi, dword [ebp - 0x230]
jmp 0x4ccdc5
mov eax, 0x7ffffffe
sub eax, ebx
cmp eax, 1
jb 0x4cd106
lea esi, [ebx + 1]
or esi, 7
cmp esi, 0x7ffffffe
jbe 0x4cccf2
mov esi, 0x7ffffffe
jmp 0x4ccd10
mov edx, ecx
mov eax, 0x7ffffffe
shr edx, 1
sub eax, edx
cmp ecx, eax
jbe 0x4ccd08
mov esi, 0x7ffffffe
jmp 0x4ccd10
lea eax, [ecx + edx]
cmp esi, eax
cmovb esi, eax
lea eax, [esi + 1]
push eax
lea ecx, [ebp - 0x230]
call fcn.0044ee30
cmp dword [ebp - 0x264], 8
mov edi, eax
lea eax, [ebx + 1]
mov dword [ebp - 0x21c], esi
mov dword [ebp - 0x220], eax
jb 0x4ccd9a
mov esi, dword [ebp - 0x26c]
mov ebx, dword [ebp - 0x230]
add esi, esi
push esi
push ebx
push edi
call fcn.004a1db0
mov eax, dword [ebp - 0x268]
add esp, 0xc
mov word [esi + edi], ax
xor eax, eax
mov word [esi + edi + 2], ax
mov eax, dword [ebp - 0x264]
lea ecx, [eax*2 + 2]
cmp ecx, 0x1000
jb 0x4ccd8e
mov edx, dword [ebx - 4]
add ecx, 0x23
sub ebx, edx
lea eax, [ebx - 4]
cmp eax, 0x1f
ja 0x4cd10b
mov ebx, edx
push ecx
push ebx
call fcn.0048af59
add esp, 8
jmp 0x4ccdbf
lea esi, [ebx + ebx]
push esi
lea eax, [ebp - 0x230]
push eax
push edi
call fcn.004a1db0
mov eax, dword [ebp - 0x268]
add esp, 0xc
mov word [esi + edi], ax
xor eax, eax
mov word [esi + edi + 2], ax
mov dword [ebp - 0x230], edi
mov ecx, dword [ebp - 0x220]
mov ebx, dword [ebp - 0x21c]
mov dword [ebp - 0x264], ecx
mov dword [ebp - 0x270], ebx
cmp ecx, ebx
jae 0x4cce08
lea eax, [ecx + 1]
cmp ebx, 8
mov dword [ebp - 0x220], eax
lea eax, [ebp - 0x230]
cmovae eax, edi
mov dword [eax + ecx*2], 0x3a
mov edi, dword [ebp - 0x230]
jmp 0x4cceef
mov eax, 0x7ffffffe
sub eax, ecx
cmp eax, 1
jb 0x4cd106
lea eax, [ecx + 1]
mov esi, eax
mov dword [ebp - 0x26c], eax
or esi, 7
cmp esi, 0x7ffffffe
jbe 0x4cce35
mov esi, 0x7ffffffe
jmp 0x4cce53
mov ecx, ebx
mov eax, 0x7ffffffe
shr ecx, 1
sub eax, ecx
cmp ebx, eax
jbe 0x4cce4b
mov esi, 0x7ffffffe
jmp 0x4cce53
lea eax, [ecx + ebx]
cmp esi, eax
cmovb esi, eax
lea eax, [esi + 1]
push eax
lea ecx, [ebp - 0x230]
call fcn.0044ee30
mov dword [ebp - 0x21c], esi
mov edi, eax
mov esi, dword [ebp - 0x264]
mov eax, dword [ebp - 0x26c]
add esi, esi
mov dword [ebp - 0x220], eax
push esi
cmp ebx, 8
jb 0x4cced2
mov ebx, dword [ebp - 0x230]
push ebx
push edi
call fcn.004a1db0
mov eax, dword [ebp - 0x270]
add esp, 0xc
mov dword [esi + edi], 0x3a
lea ecx, [eax*2 + 2]
cmp ecx, 0x1000
jb 0x4ccec6
mov edx, dword [ebx - 4]
add ecx, 0x23
sub ebx, edx
lea eax, [ebx - 4]
cmp eax, 0x1f
ja 0x4cd10b
mov ebx, edx
push ecx
push ebx
call fcn.0048af59
add esp, 8
jmp 0x4ccee9
lea eax, [ebp - 0x230]
push eax
push edi
call fcn.004a1db0
add esp, 0xc
mov dword [esi + edi], 0x3a
mov dword [ebp - 0x230], edi
cmp dword [ebp - 0x21c], 8
lea ecx, [ebp - 0x218]
push 0x104
lea eax, [ebp - 0x230]
cmovae eax, edi
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
test eax, eax
je 0x4cd097
cmp dword [ebp - 0x21c], 8
lea ecx, [ebp - 0x230]
mov edx, dword [ebp - 0x230]
lea esi, [ebp - 0x230]
mov eax, dword [ebp - 0x220]
lea ebx, [ebp - 0x230]
cmovae ecx, edx
cmovae esi, edx
cmovae ebx, edx
xor edi, edi
xor edx, edx
lea eax, [ecx + eax*2]
mov ecx, eax
sub ecx, esi
inc ecx
shr ecx, 1
cmp esi, eax
cmova ecx, edx
mov dword [ebp - 0x270], ecx
test ecx, ecx
je 0x4ccf83
sub ebx, esi
movzx eax, word [esi]
push eax
call fcn.004b4ef8
inc edi
mov word [ebx + esi], ax
add esp, 4
lea esi, [esi + 2]
cmp edi, dword [ebp - 0x270]
jne 0x4ccf67
xor eax, eax
mov dword [ebp - 0x250], 0
lea ecx, [ebp - 0x218]
mov dword [ebp - 0x24c], 7
mov word [ebp - 0x260], ax
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4ccfb0
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x260]
call fcn.0044eb60
lea eax, [ebp - 0x230]
mov byte [ebp - 4], 1
push eax
lea ecx, [ebp - 0x248]
call fcn.0044d8b0
mov ecx, dword [ebp - 0x274]
lea eax, [ebp - 0x260]
push eax
mov byte [ebp - 4], 2
call fcn.0045c530
mov ecx, dword [ebp - 0x274]
push eax
add eax, 0x10
push eax
push 0
lea eax, [ebp - 0x27c]
push eax
call fcn.0045c5a0
mov edx, dword [ebp - 0x234]
mov byte [ebp - 4], 0
cmp edx, 8
jb 0x4cd05b
mov ecx, dword [ebp - 0x248]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4cd051
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4cd10b
push edx
push ecx
call fcn.0048af59
add esp, 8
mov edx, dword [ebp - 0x24c]
cmp edx, 8
jb 0x4cd097
mov ecx, dword [ebp - 0x260]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4cd08d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4cd10b
push edx
push ecx
call fcn.0048af59
add esp, 8
mov esi, dword [ebp - 0x268]
inc esi
mov dword [ebp - 0x268], esi
cmp si, 0x7a
jbe 0x4ccc70
mov edx, dword [ebp - 0x21c]
cmp edx, 8
jb 0x4cd0ea
mov ecx, dword [ebp - 0x230]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4cd0e0
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4cd10b
push edx
push ecx
call fcn.0048af59
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0048b49a
mov esp, ebp
pop ebp
ret
call fcn.0044fe70
call fcn.004aae7a
int3