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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x706986
mov eax, dword fs:[0]
push eax
sub esp, 0x454
mov eax, dword [0x82d084]
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 esi, ecx
mov dword [ebp - 0x444], esi
push 0x400
lea eax, [ebp - 0x410]
push 0
push eax
call fcn.0068e800
add esp, 0xc
lea eax, [ebp - 0x410]
push eax
push 0x1ff
call dword [sym.imp.KERNEL32.DLL_GetLogicalDriveStringsW]
test eax, eax
jne 0x63a70f
test ebx, ebx
je 0x63a689
mov esi, dword [ebx]
call dword [sym.imp.KERNEL32.DLL_GetLastError]
push eax
push str.In_MemoryUtils::GetFreeSpaceOnHD._Got_error___d__in_GetLogicalDriveStrings_API
push str.HardwareUtils
push 0x75b10c
push 0x32
push ebx
jmp 0x63a6f8
cmp dword [0x853a78], 0
je 0x63a6ce
call dword [sym.imp.KERNEL32.DLL_GetLastError]
mov esi, dword [0x853a78]
mov ecx, esi
push eax
push str.In_MemoryUtils::GetFreeSpaceOnHD._Got_error___d__in_GetLogicalDriveStrings_API
push 0x75b10c
push 0x75b10c
push str.HardwareUtils
push str.OOBEUtils
push 0x32
call dword [0x747368]
call esi
add esp, 0x1c
xor al, al
jmp 0x63a79f
mov esi, dword [0x853a7c]
test esi, esi
je 0x63a708
mov esi, dword [esi]
call dword [sym.imp.KERNEL32.DLL_GetLastError]
push eax
push str.In_MemoryUtils::GetFreeSpaceOnHD._Got_error___d__in_GetLogicalDriveStrings_API
push str.HardwareUtils
push 0x75b10c
push 0x32
push dword [0x853a7c]
mov esi, dword [esi + 0x34]
mov ecx, esi
call dword [0x747368]
call esi
add esp, 0x18
xor al, al
jmp 0x63a79f
cmp word [ebp - 0x410], 0
lea edi, [ebp - 0x410]
je 0x63a79d
nop
push edi
call dword [sym.imp.KERNEL32.DLL_GetDriveTypeW]
cmp eax, 3
je 0x63a7de
test ebx, ebx
je 0x63a75b
mov esi, dword [ebx]
push edi
push str.Skipping_drive__s_as_it_is_not_a_fixed_drive
push str.HardwareUtils
push 0x75b10c
push 0x14
push ebx
mov esi, dword [esi + 0x34]
mov ecx, esi
call dword [0x747368]
call esi
add esp, 0x18
jmp 0x63a78e
mov esi, dword [0x853a78]
test esi, esi
je 0x63a7bb
push edi
push str.Skipping_drive__s_as_it_is_not_a_fixed_drive
push 0x75b10c
push 0x75b10c
push str.HardwareUtils
push str.OOBEUtils
push 0x14
mov ecx, esi
call dword [0x747368]
call esi
add esp, 0x1c
mov esi, dword [ebp - 0x444]
add edi, 8
cmp word [edi], 0
jne 0x63a720
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.0067ba01
mov esp, ebp
pop ebp
ret
mov eax, dword [0x853a7c]
test eax, eax
je 0x63a78e
mov esi, dword [eax]
push edi
push str.Skipping_drive__s_as_it_is_not_a_fixed_drive
push str.HardwareUtils
push 0x75b10c
push 0x14
push eax
jmp 0x63a749
lea eax, [ebp - 0x418]
xorps xmm0, xmm0
push eax
lea eax, [ebp - 0x438]
movq qword [ebp - 0x440], xmm0
push eax
lea eax, [ebp - 0x440]
movq qword [ebp - 0x438], xmm0
push eax
push edi
movq qword [ebp - 0x418], xmm0
call dword [sym.imp.KERNEL32.DLL_GetDiskFreeSpaceExW]
test eax, eax
jne 0x63a8a9
test ebx, ebx
je 0x63a840
mov esi, dword [ebx]
call dword [sym.imp.KERNEL32.DLL_GetLastError]
push eax
push str.In_MemoryUtils::GetFreeSpaceOnHD._Got_error___d__in_GetDiskFreeSpaceEx_API
push str.HardwareUtils
push 0x75b10c
push 0x32
jmp 0x63a748
cmp dword [0x853a78], 0
je 0x63a876
call dword [sym.imp.KERNEL32.DLL_GetLastError]
mov esi, dword [0x853a78]
push eax
push str.In_MemoryUtils::GetFreeSpaceOnHD._Got_error___d__in_GetDiskFreeSpaceEx_API
push 0x75b10c
push 0x75b10c
push str.HardwareUtils
push str.OOBEUtils
push 0x32
jmp 0x63a781
mov esi, dword [0x853a7c]
test esi, esi
je 0x63a78e
mov esi, dword [esi]
call dword [sym.imp.KERNEL32.DLL_GetLastError]
push eax
push str.In_MemoryUtils::GetFreeSpaceOnHD._Got_error___d__in_GetDiskFreeSpaceEx_API
push str.HardwareUtils
push 0x75b10c
push 0x32
push dword [0x853a7c]
jmp 0x63a749
mov ecx, dword [ebp - 0x418]
xor edx, edx
mov eax, dword [ebp - 0x414]
shrd ecx, eax, 0x1e
mov dword [ebp - 0x420], 0
shr eax, 0x1e
mov dword [ebp - 0x41c], 7
mov word [ebp - 0x430], dx
push eax
push ecx
lea ecx, [ebp - 0x430]
mov dword [ebp - 4], edx
call fcn.006111a0
add esp, 8
mov dword [ebp - 0x44c], 0
xor eax, eax
mov dword [ebp - 0x448], 7
mov word [ebp - 0x45c], ax
mov eax, edi
lea edx, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x63a910
sub eax, edx
lea ecx, [ebp - 0x45c]
sar eax, 1
push eax
push edi
call fcn.0042fe00
lea eax, [ebp - 0x45c]
mov byte [ebp - 4], 1
push eax
mov ecx, esi
call fcn.00440a30
lea ecx, [ebp - 0x430]
cmp eax, ecx
je 0x63a964
cmp dword [ebp - 0x41c], 8
push dword [ebp - 0x420]
cmovae ecx, dword [ebp - 0x430]
push ecx
mov ecx, eax
call fcn.0042fe00
lea ecx, [ebp - 0x45c]
call fcn.0042fd70
lea ecx, [ebp - 0x430]
mov dword [ebp - 4], 0xffffffff
call fcn.0042fd70
jmp 0x63a794