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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x539088
mov eax, dword fs:[0]
push eax
sub esp, 0x77c
mov eax, dword [0x58a088]
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.00402a40
mov dword [ebp - 4], 0
lea eax, [ebp - 0x788]
push eax
call fcn.004a7a40
mov ecx, eax
call fcn.004a7b00
mov esi, eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x788]
call fcn.00402a30
test esi, esi
je 0x49274b
push str.SHGetFileInfoW
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
test esi, esi
je 0x49274b
lea ecx, [ebp - 0x4b8]
call fcn.00402a90
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x4a0]
call fcn.00402a90
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x488]
call fcn.00402a90
mov dword [ebp - 4], 4
lea eax, [ebp - 0x770]
push 0x2b4
push 0
push eax
call fcn.004e48c0
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 0x492752
mov dword [ebp - 4], 6
lea ecx, [ebp - 0x488]
call fcn.00402a30
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x4a0]
call fcn.00402a30
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x4b8]
call fcn.00402a30
xor al, al
jmp 0x492a07
lea eax, [ebp - 0x764]
push eax
call fcn.00402d30
add esp, 4
lea ecx, [ebp - 0x4b8]
push eax
lea eax, [ebp - 0x764]
push eax
call fcn.00402b20
lea eax, [ebp - 0x55c]
push eax
call fcn.00402d30
add esp, 4
lea ecx, [ebp - 0x4a0]
push eax
lea eax, [ebp - 0x55c]
push eax
call fcn.00402b20
push 0x20a
lea eax, [ebp - 0x430]
push 0
push eax
call fcn.004e48c0
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.004e48c0
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 0x4928fa
xor eax, eax
mov word [ebp - 0x18], ax
lea eax, [ebp - 0x220]
push eax
call fcn.00402d30
add esp, 4
lea ecx, [ebp - 0x488]
push eax
lea eax, [ebp - 0x220]
push eax
call fcn.00402b20
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 0x49291e
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.004e29b0
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.004e29b0
mov dword [ebp - 0x460], eax
mov dword [ebp - 0x45c], edx
jmp 0x49291e
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.00402d80
add esp, 4
cmp ebx, eax
je 0x492951
lea ecx, [ebp - 0x4b8]
call fcn.00402ab0
mov ecx, eax
cmp dword [eax + 0x14], 8
jb 0x492946
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
mov ecx, ebx
call fcn.00402b20
lea eax, [ebp - 0x4a0]
push eax
lea esi, [ebx + 0x18]
call fcn.00402d80
add esp, 4
cmp esi, eax
je 0x492987
lea ecx, [ebp - 0x4a0]
call fcn.00402ab0
mov edx, eax
cmp dword [eax + 0x14], 8
jb 0x49297c
mov edx, dword [eax]
push dword [eax + 0x10]
mov ecx, esi
push edx
call fcn.00402b20
lea eax, [ebp - 0x488]
push eax
lea esi, [ebx + 0x30]
call fcn.00402d80
add esp, 4
cmp esi, eax
je 0x4929bd
lea ecx, [ebp - 0x488]
call fcn.00402ab0
mov edx, eax
cmp dword [eax + 0x14], 8
jb 0x4929b2
mov edx, dword [eax]
push dword [eax + 0x10]
mov ecx, esi
push edx
call fcn.00402b20
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.00416060
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.004e1ff4
mov esp, ebp
pop ebp
ret