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

Disassembly:
push ebp
lea ebp, [esp - 0x754]
sub esp, 0x754
push 0xffffffffffffffff
push 0x4fdc85
mov eax, dword fs:[0]
push eax
sub esp, 0x18
mov eax, dword [0x54e434]
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 0x529d30
lea ecx, [ebp - 0x24]
call fcn.0040a780
mov dword [ebp - 4], 0
lea eax, [ebp - 0x24]
push eax
call fcn.00424d90
mov ecx, eax
call fcn.00424e50
mov esi, eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x24]
call fcn.0040a6f0
test esi, esi
je 0x424877
push str.SHGetFileInfoW
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
test esi, esi
je 0x424877
lea ecx, [ebp + 0x2b4]
call fcn.0040a7c0
mov dword [ebp - 4], 1
lea ecx, [ebp + 0x2cc]
call fcn.0040a7c0
mov byte [ebp - 4], 2
lea ecx, [ebp + 0x2e4]
call fcn.0040a7c0
mov dword [ebp - 4], 4
lea eax, [ebp]
push 0x2b4
push 0
push eax
call fcn.004d4490
add esp, 0xc
lea eax, [ebp]
mov ecx, edi
push 0x610
push 0x2b4
push eax
push 0
call fcn.0040a590
push eax
call esi
test eax, eax
jne 0x42487e
mov dword [ebp - 4], 6
lea ecx, [ebp + 0x2e4]
call fcn.0040a6f0
mov byte [ebp - 4], 5
lea ecx, [ebp + 0x2cc]
call fcn.0040a6f0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x2b4]
call fcn.0040a6f0
xor al, al
jmp 0x424b12
lea eax, [ebp + 0xc]
push eax
call fcn.0040af90
add esp, 4
lea ecx, [ebp + 0x2b4]
push eax
lea eax, [ebp + 0xc]
push eax
call fcn.0040ae30
lea eax, [ebp + 0x214]
push eax
call fcn.0040af90
add esp, 4
lea ecx, [ebp + 0x2cc]
push eax
lea eax, [ebp + 0x214]
push eax
call fcn.0040ae30
push 0x20a
lea eax, [ebp + 0x338]
push 0
push eax
call fcn.004d4490
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.004d4490
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.0040a590
push eax
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
test eax, eax
je 0x424a23
xor eax, eax
mov word [ebp + 0x74c], ax
lea eax, [ebp + 0x544]
push eax
call fcn.0040af90
add esp, 4
lea ecx, [ebp + 0x2e4]
push eax
lea eax, [ebp + 0x544]
push eax
call fcn.0040ae30
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.0040a590
push eax
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceW]
test eax, eax
je 0x424a47
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.004d24a0
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.004d24a0
mov dword [ebp + 0x30c], eax
mov dword [ebp + 0x310], edx
jmp 0x424a47
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.0040ac10
cmp ebx, eax
je 0x424a70
call fcn.0040ac10
mov ecx, eax
cmp dword [eax + 0x14], 8
jb 0x424a65
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
mov ecx, ebx
call fcn.0040ae30
lea ecx, [ebp + 0x2cc]
lea esi, [ebx + 0x18]
call fcn.0040ac10
cmp esi, eax
je 0x424a9c
call fcn.0040ac10
mov edx, eax
cmp dword [eax + 0x14], 8
jb 0x424a91
mov edx, dword [eax]
push dword [eax + 0x10]
mov ecx, esi
push edx
call fcn.0040ae30
lea ecx, [ebp + 0x2e4]
lea esi, [ebx + 0x30]
call fcn.0040ac10
cmp esi, eax
je 0x424ac8
call fcn.0040ac10
mov edx, eax
cmp dword [eax + 0x14], 8
jb 0x424abd
mov edx, dword [eax]
push dword [eax + 0x10]
mov ecx, esi
push edx
call fcn.0040ae30
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.00424b40
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.004d12c9
lea esp, [ebp + 0x754]
pop ebp
ret