Function at 0x1006d5f0
Capabilities:
Get disk information
Get disk size

Disassembly:
push ebp
lea ebp, [esp - 0x754]
sub esp, 0x754
push 0xffffffffffffffff
push 0x10140033
mov eax, dword fs:[0]
push eax
sub esp, 0x18
mov eax, dword [0x10199008]
xor eax, ebp
mov dword [ebp + 0x750], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, edx
mov edi, ecx
push str.Shell32.dll
lea ecx, [ebp - 0x24]
call fcn.10005790
mov dword [ebp - 4], 0
lea eax, [ebp - 0x24]
push eax
call fcn.1006d990
mov ecx, eax
call fcn.1006da50
mov esi, eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x24]
call fcn.10005700
test esi, esi
je 0x1006d6cd
push str.SHGetFileInfoW
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
test esi, esi
je 0x1006d6cd
lea ecx, [ebp + 0x2b4]
call fcn.1000f300
mov dword [ebp - 4], 1
lea eax, [ebp]
push 0x2b4
push 0
push eax
call fcn.1010cca0
add esp, 0xc
lea eax, [ebp]
mov ecx, edi
push 0x610
push 0x2b4
push eax
push 0
call fcn.10005690
push eax
call esi
test eax, eax
jne 0x1006d6d4
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x2b4]
call fcn.1000f330
xor al, al
jmp 0x1006d968
lea eax, [ebp + 0xc]
push eax
call fcn.10005aa0
add esp, 4
lea ecx, [ebp + 0x2b4]
push eax
lea eax, [ebp + 0xc]
push eax
call fcn.100058a0
lea eax, [ebp + 0x214]
push eax
call fcn.10005aa0
add esp, 4
lea ecx, [ebp + 0x2cc]
push eax
lea eax, [ebp + 0x214]
push eax
call fcn.100058a0
push 0x20a
lea eax, [ebp + 0x338]
push 0
push eax
call fcn.1010cca0
push 0x20a
lea eax, [ebp + 0x544]
mov dword [ebp + 0x31c], 0
push 0
push eax
mov dword [ebp + 0x320], 0
mov dword [ebp + 0x324], 0
call fcn.1010cca0
add esp, 0x18
lea eax, [ebp + 0x544]
mov ecx, edi
push 0x104
push eax
lea eax, [ebp + 0x324]
push eax
lea eax, [ebp + 0x320]
push eax
lea eax, [ebp + 0x31c]
push eax
push 0x104
lea eax, [ebp + 0x338]
push eax
call fcn.10005690
push eax
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
test eax, eax
je 0x1006d879
xor eax, eax
mov word [ebp + 0x74c], ax
lea eax, [ebp + 0x544]
push eax
call fcn.10005aa0
add esp, 4
lea ecx, [ebp + 0x2e4]
push eax
lea eax, [ebp + 0x544]
push eax
call fcn.100058a0
lea eax, [ebp + 0x32c]
mov byte [ebp + 0x314], 1
push eax
lea eax, [ebp + 0x328]
mov dword [ebp + 0x330], 0
push eax
lea eax, [ebp + 0x334]
mov dword [ebp + 0x334], 0
push eax
lea eax, [ebp + 0x330]
mov dword [ebp + 0x328], 0
push eax
mov ecx, edi
mov dword [ebp + 0x32c], 0
call fcn.10005690
push eax
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceW]
test eax, eax
je 0x1006d89d
mov esi, dword [ebp + 0x334]
mov eax, esi
mov edi, dword [ebp + 0x330]
imul eax, edi
push 0
push edi
mov dword [ebp + 0x2fc], eax
mov eax, dword [ebp + 0x32c]
mul esi
push edx
push eax
call fcn.1012e750
mov dword [ebp + 0x304], eax
mov eax, dword [ebp + 0x328]
mov dword [ebp + 0x308], edx
mul esi
push 0
push edi
push edx
push eax
call fcn.1012e750
mov dword [ebp + 0x30c], eax
mov dword [ebp + 0x310], edx
jmp 0x1006d89d
xorps xmm0, xmm0
mov dword [ebp + 0x2fc], 0
movlpd qword [ebp + 0x304], xmm0
movlpd qword [ebp + 0x30c], xmm0
mov byte [ebp + 0x314], 0
lea ecx, [ebp + 0x2b4]
call fcn.10005800
cmp ebx, eax
je 0x1006d8c6
call fcn.10005800
mov ecx, eax
cmp dword [eax + 0x14], 8
jb 0x1006d8bb
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
mov ecx, ebx
call fcn.100058a0
lea ecx, [ebp + 0x2cc]
lea esi, [ebx + 0x18]
call fcn.10005800
cmp esi, eax
je 0x1006d8f2
call fcn.10005800
mov edx, eax
cmp dword [eax + 0x14], 8
jb 0x1006d8e7
mov edx, dword [eax]
push dword [eax + 0x10]
mov ecx, esi
push edx
call fcn.100058a0
lea ecx, [ebp + 0x2e4]
lea esi, [ebx + 0x30]
call fcn.10005800
cmp esi, eax
je 0x1006d91e
call fcn.10005800
mov edx, eax
cmp dword [eax + 0x14], 8
jb 0x1006d913
mov edx, dword [eax]
push dword [eax + 0x10]
mov ecx, esi
push edx
call fcn.100058a0
mov eax, dword [ebp + 0x2fc]
mov dword [ebx + 0x48], eax
mov eax, dword [ebp + 0x304]
mov dword [ebx + 0x50], eax
mov eax, dword [ebp + 0x308]
mov dword [ebx + 0x54], eax
mov eax, dword [ebp + 0x30c]
mov dword [ebx + 0x58], eax
mov eax, dword [ebp + 0x310]
mov dword [ebx + 0x5c], eax
mov al, byte [ebp + 0x314]
mov byte [ebx + 0x60], al
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x2b4]
call fcn.1000f330
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x750]
xor ecx, ebp
call fcn.1010a4b0
lea esp, [ebp + 0x754]
pop ebp
ret