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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x537b38
mov eax, dword fs:[0]
push eax
sub esp, 0x77c
mov eax, dword [0x588088]
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 ebx, edx
mov edi, ecx
push str.Shell32.dll
lea ecx, [ebp - 0x788]
call fcn.00402a70
mov dword [ebp - 4], 0
lea eax, [ebp - 0x788]
push eax
call fcn.004a1560
mov ecx, eax
call fcn.004a1620
mov esi, eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x788]
call fcn.00402a60
test esi, esi
je 0x48d86b
push str.SHGetFileInfoW
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
test esi, esi
je 0x48d86b
lea ecx, [ebp - 0x4b8]
call fcn.00402ac0
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x4a0]
call fcn.00402ac0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x488]
call fcn.00402ac0
mov dword [ebp - 4], 4
lea eax, [ebp - 0x770]
push 0x2b4
push 0
push eax
call fcn.004e42f0
add esp, 0xc
lea eax, [ebp - 0x770]
mov ecx, edi
push 0x610
push 0x2b4
push eax
push 0
call fcn.00403390
push eax
call esi
test eax, eax
jne 0x48d872
mov dword [ebp - 4], 6
lea ecx, [ebp - 0x488]
call fcn.00402a60
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x4a0]
call fcn.00402a60
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x4b8]
call fcn.00402a60
xor al, al
jmp 0x48db27
lea eax, [ebp - 0x764]
push eax
call fcn.00402d60
add esp, 4
lea ecx, [ebp - 0x4b8]
push eax
lea eax, [ebp - 0x764]
push eax
call fcn.00402b50
lea eax, [ebp - 0x55c]
push eax
call fcn.00402d60
add esp, 4
lea ecx, [ebp - 0x4a0]
push eax
lea eax, [ebp - 0x55c]
push eax
call fcn.00402b50
push 0x20a
lea eax, [ebp - 0x430]
push 0
push eax
call fcn.004e42f0
push 0x20a
lea eax, [ebp - 0x220]
mov dword [ebp - 0x44c], 0
push 0
push eax
mov dword [ebp - 0x448], 0
mov dword [ebp - 0x444], 0
call fcn.004e42f0
add esp, 0x18
lea eax, [ebp - 0x220]
mov ecx, edi
push 0x104
push eax
lea eax, [ebp - 0x444]
push eax
lea eax, [ebp - 0x448]
push eax
lea eax, [ebp - 0x44c]
push eax
push 0x104
lea eax, [ebp - 0x430]
push eax
call fcn.00403390
push eax
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
test eax, eax
je 0x48da1a
xor eax, eax
mov word [ebp - 0x18], ax
lea eax, [ebp - 0x220]
push eax
call fcn.00402d60
add esp, 4
lea ecx, [ebp - 0x488]
push eax
lea eax, [ebp - 0x220]
push eax
call fcn.00402b50
lea eax, [ebp - 0x43c]
mov byte [ebp - 0x458], 1
push eax
lea eax, [ebp - 0x440]
mov dword [ebp - 0x438], 0
push eax
lea eax, [ebp - 0x434]
mov dword [ebp - 0x434], 0
push eax
lea eax, [ebp - 0x438]
mov dword [ebp - 0x440], 0
push eax
mov ecx, edi
mov dword [ebp - 0x43c], 0
call fcn.00403390
push eax
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceW]
test eax, eax
je 0x48da3e
mov esi, dword [ebp - 0x434]
mov eax, esi
mov edi, dword [ebp - 0x438]
imul eax, edi
push 0
push edi
mov dword [ebp - 0x470], eax
mov eax, dword [ebp - 0x43c]
mul esi
push edx
push eax
call fcn.004e23e0
mov dword [ebp - 0x468], eax
mov eax, dword [ebp - 0x440]
mov dword [ebp - 0x464], edx
mul esi
push 0
push edi
push edx
push eax
call fcn.004e23e0
mov dword [ebp - 0x460], eax
mov dword [ebp - 0x45c], edx
jmp 0x48da3e
xorps xmm0, xmm0
mov dword [ebp - 0x470], 0
movlpd qword [ebp - 0x468], xmm0
movlpd qword [ebp - 0x460], xmm0
mov byte [ebp - 0x458], 0
lea eax, [ebp - 0x4b8]
push eax
call fcn.00402db0
add esp, 4
cmp ebx, eax
je 0x48da71
lea ecx, [ebp - 0x4b8]
call fcn.00402ae0
mov ecx, eax
cmp dword [eax + 0x14], 8
jb 0x48da66
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
mov ecx, ebx
call fcn.00402b50
lea eax, [ebp - 0x4a0]
push eax
lea esi, [ebx + 0x18]
call fcn.00402db0
add esp, 4
cmp esi, eax
je 0x48daa7
lea ecx, [ebp - 0x4a0]
call fcn.00402ae0
mov edx, eax
cmp dword [eax + 0x14], 8
jb 0x48da9c
mov edx, dword [eax]
push dword [eax + 0x10]
mov ecx, esi
push edx
call fcn.00402b50
lea eax, [ebp - 0x488]
push eax
lea esi, [ebx + 0x30]
call fcn.00402db0
add esp, 4
cmp esi, eax
je 0x48dadd
lea ecx, [ebp - 0x488]
call fcn.00402ae0
mov edx, eax
cmp dword [eax + 0x14], 8
jb 0x48dad2
mov edx, dword [eax]
push dword [eax + 0x10]
mov ecx, esi
push edx
call fcn.00402b50
mov eax, dword [ebp - 0x470]
mov dword [ebx + 0x48], eax
mov eax, dword [ebp - 0x468]
mov dword [ebx + 0x50], eax
mov eax, dword [ebp - 0x464]
mov dword [ebx + 0x54], eax
mov eax, dword [ebp - 0x460]
mov dword [ebx + 0x58], eax
mov eax, dword [ebp - 0x45c]
mov dword [ebx + 0x5c], eax
mov al, byte [ebp - 0x458]
mov byte [ebx + 0x60], al
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x4b8]
call fcn.00415f40
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 - 0x10]
xor ecx, ebp
call fcn.004e1a24
mov esp, ebp
pop ebp
ret