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

Disassembly:
push ebp
lea ebp, [esp - 0x754]
sub esp, 0x754
push 0xffffffffffffffff
push 0x101d3436
mov eax, dword fs:[0]
push eax
sub esp, 0x18
mov eax, dword [0x102632d4]
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 esi, dword [ebp + 0x75c]
lea ecx, [ebp - 0x24]
mov ebx, dword [ebp + 0x760]
xor eax, eax
push 0xb
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0
push str.Shell32.dll
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 7
mov word [ebp - 0x24], ax
call fcn.10008910
mov dword [ebp - 4], 0
lea eax, [ebp - 0x24]
push eax
call fcn.1001c670
mov ecx, eax
call fcn.1001c730
mov edi, eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x24]
call fcn.100088b0
test edi, edi
je 0x1001328b
push str.SHGetFileInfoW
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edi, eax
test edi, edi
je 0x1001328b
xor eax, eax
mov dword [ebp + 0x2d0], 0
mov dword [ebp + 0x2d4], 0
mov dword [ebp + 0x2d0], 0
mov dword [ebp + 0x2d4], 7
mov word [ebp + 0x2c0], ax
mov dword [ebp - 4], 1
mov dword [ebp + 0x2e8], eax
mov dword [ebp + 0x2ec], eax
mov dword [ebp + 0x2e8], eax
mov dword [ebp + 0x2ec], 7
mov word [ebp + 0x2d8], ax
mov byte [ebp - 4], 2
mov dword [ebp + 0x300], eax
mov dword [ebp + 0x304], eax
mov dword [ebp + 0x300], eax
mov dword [ebp + 0x304], 7
mov word [ebp + 0x2f0], ax
mov dword [ebp - 4], 4
push 0x2b4
push eax
lea eax, [ebp]
push eax
call fcn.101a9880
add esp, 0xc
mov eax, esi
cmp dword [esi + 0x14], 8
jb 0x10013241
mov eax, dword [esi]
push 0x610
push 0x2b4
lea ecx, [ebp]
push ecx
push 0
push eax
call edi
test eax, eax
jne 0x10013292
mov dword [ebp - 4], 6
lea ecx, [ebp + 0x2f0]
call fcn.100088b0
mov byte [ebp - 4], 5
lea ecx, [ebp + 0x2d8]
call fcn.100088b0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x2c0]
call fcn.100088b0
xor al, al
jmp 0x10013569
lea ecx, [ebp + 0xc]
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100132a0
sub ecx, edx
lea eax, [ebp + 0xc]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp + 0x2c0]
call fcn.10008910
lea ecx, [ebp + 0x214]
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100132d0
sub ecx, edx
lea eax, [ebp + 0x214]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp + 0x2d8]
call fcn.10008910
push 0x20a
lea eax, [ebp + 0x338]
push 0
push eax
call fcn.101a9880
push 0x20a
lea eax, [ebp + 0x544]
mov dword [ebp + 0x2b4], 0
push 0
push eax
mov dword [ebp + 0x2b8], 0
mov dword [ebp + 0x2bc], 0
call fcn.101a9880
add esp, 0x18
mov eax, esi
cmp dword [esi + 0x14], 8
jb 0x10013343
mov eax, dword [esi]
push 0x104
lea ecx, [ebp + 0x544]
push ecx
lea ecx, [ebp + 0x2bc]
push ecx
lea ecx, [ebp + 0x2b8]
push ecx
lea ecx, [ebp + 0x2b4]
push ecx
push 0x104
lea ecx, [ebp + 0x338]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
test eax, eax
je 0x10013466
xor eax, eax
lea ecx, [ebp + 0x544]
mov word [ebp + 0x74c], ax
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10013391
sub ecx, edx
lea eax, [ebp + 0x544]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp + 0x2f0]
call fcn.10008910
cmp dword [esi + 0x14], 8
mov byte [ebp + 0x320], 1
mov dword [ebp + 0x330], 0
mov dword [ebp + 0x334], 0
mov dword [ebp + 0x328], 0
mov dword [ebp + 0x32c], 0
jb 0x100133ea
mov esi, dword [esi]
lea eax, [ebp + 0x32c]
push eax
lea eax, [ebp + 0x328]
push eax
lea eax, [ebp + 0x334]
push eax
lea eax, [ebp + 0x330]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceW]
test eax, eax
je 0x1001348a
mov esi, dword [ebp + 0x334]
mov eax, esi
mov edi, dword [ebp + 0x330]
imul eax, edi
push 0
push edi
mov dword [ebp + 0x308], eax
mov eax, dword [ebp + 0x32c]
mul esi
push edx
push eax
call fcn.101917c0
mov dword [ebp + 0x310], eax
mov eax, dword [ebp + 0x328]
mov dword [ebp + 0x314], edx
mul esi
push 0
push edi
push edx
push eax
call fcn.101917c0
mov dword [ebp + 0x318], eax
mov dword [ebp + 0x31c], edx
jmp 0x1001348a
xorps xmm0, xmm0
mov dword [ebp + 0x308], 0
movlpd qword [ebp + 0x310], xmm0
movlpd qword [ebp + 0x318], xmm0
mov byte [ebp + 0x320], 0
lea eax, [ebp + 0x2c0]
cmp ebx, eax
je 0x100134b0
cmp dword [ebp + 0x2d4], 8
mov ecx, ebx
push dword [ebp + 0x2d0]
cmovae eax, dword [ebp + 0x2c0]
push eax
call fcn.10008910
lea ecx, [ebx + 0x18]
lea eax, [ebp + 0x2d8]
cmp ecx, eax
je 0x100134d7
cmp dword [ebp + 0x2ec], 8
push dword [ebp + 0x2e8]
cmovae eax, dword [ebp + 0x2d8]
push eax
call fcn.10008910
lea ecx, [ebx + 0x30]
lea eax, [ebp + 0x2f0]
cmp ecx, eax
je 0x100134fe
cmp dword [ebp + 0x304], 8
push dword [ebp + 0x300]
cmovae eax, dword [ebp + 0x2f0]
push eax
call fcn.10008910
mov eax, dword [ebp + 0x308]
mov dword [ebx + 0x48], eax
mov eax, dword [ebp + 0x310]
mov dword [ebx + 0x50], eax
mov eax, dword [ebp + 0x314]
mov dword [ebx + 0x54], eax
mov eax, dword [ebp + 0x318]
mov dword [ebx + 0x58], eax
mov eax, dword [ebp + 0x31c]
mov dword [ebx + 0x5c], eax
mov al, byte [ebp + 0x320]
mov byte [ebx + 0x60], al
mov dword [ebp - 4], 9
lea ecx, [ebp + 0x2f0]
call fcn.100088b0
mov byte [ebp - 4], 8
lea ecx, [ebp + 0x2d8]
call fcn.100088b0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x2c0]
call fcn.100088b0
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.101912fd
lea esp, [ebp + 0x754]
pop ebp
ret