Function at 0x4cc138
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
push 8
call fcn.00530347
add esp, 4
mov dword [ebp - 0x18], eax
mov edi, eax
mov esi, 0x54e350
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x20], 0
cmp dword [ebp + 8], 0
je 0x4cc8a4
push 0x80000301
push 0
push 0x800
push 1
mov ebx, 0x1bc
call fcn.005339f0
add esp, 0x10
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x4cc1cc
push ebx
call fcn.00530341
add esp, 4
pop eax
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push eax
call fcn.00402971
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], esp
lea eax, [ebp - 8]
push eax
push 0x800
push dword [ebp - 0x24]
push 0x2b
push dword [ebp + 8]
xor eax, eax
call dword [0x634d23]
nop
nop
cmp dword [ebp - 0x28], esp
je 0x4cc219
push 0xbb
push 0x4033f5d
push 6
call fcn.0053034d
add esp, 0xc
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
jne 0x4cc2da
push 0x80000301
push 0
push 0x7d0
push 0x80000301
push 0
push 9
push VariantCopy
push 0
mov eax, dword [ebp - 4]
test eax, eax
jne 0x4cc251
mov eax, 0x54e350
push eax
push 3
mov ebx, 0x1a8
call fcn.00535240
add esp, 0x28
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], 0
push 0
push dword [ebp - 0x28]
lea eax, [ebp - 0x24]
push eax
call fcn.00414047
mov dword [ebp - 0x2c], eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x4cc28f
push ebx
call fcn.00530341
add esp, 4
mov eax, dword [ebp - 0x2c]
push eax
mov ebx, dword [ebp + 0x10]
mov ebx, dword [ebx]
test ebx, ebx
je 0x4cc2a5
push ebx
call fcn.00530341
add esp, 4
pop eax
mov ebx, dword [ebp + 0x10]
mov dword [ebx], eax
mov dword [ebp - 0x24], 0
push 0
push dword [ebp - 0x24]
push dword [ebp + 0x10]
call fcn.004cc954
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
push eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x4cc2d6
push ebx
call fcn.00530341
add esp, 4
pop eax
mov dword [ebp - 0xc], eax
push 0x80000004
push 0
mov ebx, dword [ebp + 0x10]
mov eax, dword [ebx]
test eax, eax
jne 0x4cc2ef
mov eax, 0x54e310
push eax
push 1
mov ebx, 0x24c
call fcn.00533ec0
add esp, 0x10
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
jne 0x4cc883
lea eax, [ebp - 4]
push eax
call fcn.00402971
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], esp
lea eax, [ebp - 8]
push eax
push 0x800
push dword [ebp - 0x24]
push 0x1b
push dword [ebp + 8]
xor eax, eax
call dword [0x634d23]
nop
nop
cmp dword [ebp - 0x28], esp
je 0x4cc358
push 0x209
push 0x4033f5d
push 6
call fcn.0053034d
add esp, 0xc
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
jne 0x4cc883
push 0x80000301
push 0
push 0x7d0
push 0x80000301
push 0
push 9
push VariantCopy
push 0
mov eax, dword [ebp - 4]
test eax, eax
jne 0x4cc390
mov eax, 0x54e350
push eax
push 3
mov ebx, 0x1a8
call fcn.00535240
add esp, 0x28
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], 0
push 0
push dword [ebp - 0x28]
lea eax, [ebp - 0x24]
push eax
call fcn.00414047
mov dword [ebp - 0x2c], eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x4cc3ce
push ebx
call fcn.00530341
add esp, 4
mov eax, dword [ebp - 0x2c]
push eax
mov ebx, dword [ebp + 0x10]
mov ebx, dword [ebx]
test ebx, ebx
je 0x4cc3e4
push ebx
call fcn.00530341
add esp, 4
pop eax
mov ebx, dword [ebp + 0x10]
mov dword [ebx], eax
push 0x80000301
push 0
push 0x100
push 1
mov ebx, 0x1bc
call fcn.005339f0
add esp, 0x10
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
push eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x4cc41f
push ebx
call fcn.00530341
add esp, 4
pop eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x24], esp
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x4cc430
add eax, 8
push eax
push 0x100
xor eax, eax
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsA]
nop
nop
cmp dword [ebp - 0x24], esp
je 0x4cc45c
push 0x2de
push 0x4033f5d
push 6
call fcn.0053034d
add esp, 0xc
mov dword [ebp - 0x14], eax
push 0x80000301
push 0
push dword [ebp - 0x14]
push VariantCopy
push 0
mov eax, dword [ebp - 0x10]
test eax, eax
jne 0x4cc47c
mov eax, 0x54e350
push eax
push 2
mov ebx, 0x1a0
call fcn.00533a90
add esp, 0x1c
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
push eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x4cc4a6
push ebx
call fcn.00530341
add esp, 4
pop eax
mov dword [ebp - 0x10], eax
push 0
push 0
push 0
push VariantCopy
push 0
push 0x5fa634
push VariantCopy
push 0
mov eax, dword [ebp - 0x10]
test eax, eax
jne 0x4cc4cf
mov eax, 0x54e350
push eax
push 3
mov ebx, 0x1c4
call fcn.00534f30
add esp, 0x28
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
push eax
mov ebx, dword [ebp - 0x18]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x4cc507
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x4cc503
imul eax, dword [ebx]
jmp 0x4cc4f8
mov ecx, eax
test ecx, ecx
je 0x4cc526
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x4cc51f
push ebx
push eax
call fcn.00530341
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x4cc50d
call fcn.00530341
add esp, 4
pop eax
mov dword [ebp - 0x18], eax
mov ebx, dword [ebp - 0x18]
call fcn.00402a6c
xor ecx, ecx
push eax
lea eax, [ebp - 0x1c]
mov ebx, eax
pop eax
inc ecx
push ecx
push ebx
mov dword [ebx], ecx
push eax
cmp ecx, eax
jg 0x4cc851
push 0x80000301
push 0
push 0x80
push 1
mov ebx, 0x184
call fcn.00534210
add esp, 0x10
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
push eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x4cc586
push ebx
call fcn.00530341
add esp, 4
pop eax
mov dword [ebp - 0x20], eax
mov ebx, dword [ebp - 0x18]
call fcn.00401a84
push ebx
push ecx
mov eax, dword [ebp - 0x1c]
dec eax
jns 0x4cc5b1
push 0x3f0
push 0x4033f5d
push 4
call fcn.0053034d
add esp, 0xc
pop ecx
pop ebx
cmp eax, ecx
jl 0x4cc5ce
push 0x3f0
push 0x4033f5d
push 1
call fcn.0053034d
add esp, 0xc
shl eax, 2
add ebx, eax
mov dword [ebp - 0x24], ebx
mov ebx, dword [ebp - 0x18]
call fcn.00401a84
push ebx
push ecx
mov eax, dword [ebp - 0x1c]
dec eax
jns 0x4cc5fd
push 0x410
push 0x4033f5d
push 4
call fcn.0053034d
add esp, 0xc
pop ecx
pop ebx
cmp eax, ecx
jl 0x4cc61a
push 0x410
push 0x4033f5d
push 1
call fcn.0053034d
add esp, 0xc
shl eax, 2
add ebx, eax
mov dword [ebp - 0x28], ebx
push 0x54e324
mov ebx, dword [ebp - 0x28]
push dword [ebx]
mov ecx, 2
call fcn.0040104b
add esp, 8
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
push eax
mov ebx, dword [ebp - 0x24]
mov ebx, dword [ebx]
test ebx, ebx
je 0x4cc652
push ebx
call fcn.00530341
add esp, 4
pop eax
mov ebx, dword [ebp - 0x24]
mov dword [ebx], eax
mov ebx, dword [ebp - 0x18]
call fcn.00401a84
push ebx
push ecx
mov eax, dword [ebp - 0x1c]
dec eax
jns 0x4cc67f
push 0x446
push 0x4033f5d
push 4
call fcn.0053034d
add esp, 0xc
pop ecx
pop ebx
cmp eax, ecx
jl 0x4cc69c
push 0x446
push 0x4033f5d
push 1
call fcn.0053034d
add esp, 0xc
shl eax, 2
add ebx, eax
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x28], esp
push 0x80
push dword [ebp - 0x20]
mov ebx, dword [ebp - 0x24]
mov eax, dword [ebx]
test eax, eax
je 0x4cc6bb
add eax, 8
push eax
xor eax, eax
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceA]
nop
nop
cmp dword [ebp - 0x28], esp
je 0x4cc6e2
push 0x446
push 0x4033f5d
push 6
call fcn.0053034d
add esp, 0xc
push reloc.OLEAUT32.dll_SysReAllocString
push 0
push 0
push 0
push 0
push 0
push 0x80000004
push 0
mov eax, dword [ebp - 0x20]
test eax, eax
jne 0x4cc707
mov eax, 0x54e310
push eax
push 0x80000004
push 0
mov ebx, dword [ebp + 0x10]
mov eax, dword [ebx]
test eax, eax
jne 0x4cc71d
mov eax, 0x54e310
push eax
push 4
mov ebx, 0x148
call fcn.00534b60
add esp, 0x34
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0xffffffff
je 0x4cc849
mov ebx, dword [ebp - 0x18]
call fcn.00401a84
push ebx
push ecx
mov eax, dword [ebp - 0x1c]
dec eax
jns 0x4cc764
push 0x504
push 0x4033f5d
push 4
call fcn.0053034d
add esp, 0xc
pop ecx
pop ebx
cmp eax, ecx
jl 0x4cc781
push 0x504
push 0x4033f5d
push 1
call fcn.0053034d
add esp, 0xc
shl eax, 2
add ebx, eax
mov dword [ebp - 0x24], ebx
push VariantCopy
push 0
mov ebx, dword [ebp - 0x24]
mov eax, dword [ebx]
test eax, eax
jne 0x4cc79e
mov eax, 0x54e350
push eax
push 1
mov ebx, 0x168
call fcn.00533b80
add esp, 0x10
mov dword [ebp - 0x28], eax
push reloc.OLEAUT32.dll_SysReAllocString
push 0
push 1
mov ebx, 6
call fcn.00403478
push 0x80000004
push 0
mov eax, dword [ebp - 0x28]
test eax, eax
jne 0x4cc7dd
mov eax, 0x54e310
push eax
push 0x80000004
push 0
mov eax, dword [ebp - 0x20]
test eax, eax
jne 0x4cc7f1
mov eax, 0x54e310
push eax
push 0x80000004
push 0
mov ebx, dword [ebp + 0x10]
mov eax, dword [ebx]
test eax, eax
jne 0x4cc807
mov eax, 0x54e310
push eax
push 6
mov ebx, 0x180
call fcn.00537de0
add esp, 0x4c
mov dword [ebp - 0x2c], eax
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x4cc82d
push ebx
call fcn.00530341
add esp, 4
mov eax, dword [ebp - 0x2c]
push eax
mov ebx, dword [ebp + 0x10]
mov ebx, dword [ebx]
test ebx, ebx
je 0x4cc843
push ebx
call fcn.00530341
add esp, 4
pop eax
mov ebx, dword [ebp + 0x10]
mov dword [ebx], eax
pop eax
pop ebx
pop ecx
jmp 0x4cc543
add esp, 0xc
mov dword [ebp - 0x24], 0
push 0
push dword [ebp - 0x24]
push dword [ebp + 0x10]
call fcn.004cc954
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
push eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x4cc87f
push ebx
call fcn.00530341
add esp, 4
pop eax
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
test eax, eax
je 0x4cc89f
push eax
mov ebx, eax
call fcn.0040203c
inc eax
push eax
call fcn.00530347
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
jmp 0x4cc8c5
mov eax, dword [ebp - 0xc]
test eax, eax
je 0x4cc8c0
push eax
mov ebx, eax
call fcn.0040203c
inc eax
push eax
call fcn.00530347
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
jmp 0x4cc8c5
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x4cc8d6
push ebx
call fcn.00530341
add esp, 4
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x4cc8e6
push ebx
call fcn.00530341
add esp, 4
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x4cc8f6
push ebx
call fcn.00530341
add esp, 4
mov ebx, dword [ebp - 0x18]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x4cc914
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x4cc910
imul eax, dword [ebx]
jmp 0x4cc905
mov ecx, eax
test ecx, ecx
je 0x4cc933
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x4cc92c
push ebx
push eax
call fcn.00530341
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x4cc91a
call fcn.00530341
add esp, 4
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x4cc94b
push ebx
call fcn.00530341
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 0x10