Function at 0x449ea0
Capabilities:
Get disk information
Get disk size
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x45bfe1
mov eax, dword fs:[0]
push eax
sub esp, 0x48
push ebx
push ebp
push esi
push edi
mov eax, dword [0x47b5b0]
xor eax, esp
push eax
lea eax, [esp + 0x5c]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x6c]
xor ebx, ebx
mov dword [esp + 0x64], ebx
mov dword [esp + 0x30], ebx
xor edi, edi
push 0x4663c4
mov dword [esp + 0x3c], edi
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [esp + 0x24], eax
cmp eax, ebx
je 0x44a048
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov ecx, 2
mov dword [esp + 0x28], eax
mov dword [esp + 0x14], ecx
mov eax, 1
shl eax, cl
mov ecx, dword [esp + 0x28]
test ecx, eax
je 0x44a02b
call fcn.00414a0e
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
je 0x44a058
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x18], eax
mov cl, byte [esp + 0x14]
add cl, 0x41
movsx edx, cl
push edx
lea eax, [esp + 0x1c]
push str._c:_
push eax
mov dword [esp + 0x70], 1
call fcn.00401e30
mov esi, dword [esp + 0x24]
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 1
je 0x44a00b
cmp eax, 3
jne 0x44a00b
mov ecx, dword [esp + 0x24]
push 0x466d04
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, ebx
jne 0x449fe1
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x24]
push ecx
lea edx, [esp + 0x2c]
push edx
push esi
mov dword [esp + 0x34], ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x2c], ebx
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceW]
cmp eax, ebx
je 0x449fd7
mov eax, dword [esp + 0x18]
imul eax, dword [esp + 0x1c]
imul eax, dword [esp + 0x20]
add edi, eax
adc dword [esp + 0x38], ebx
jmp 0x44a00b
xor eax, eax
add edi, eax
adc dword [esp + 0x38], ebx
jmp 0x44a00b
lea ecx, [esp + 0x44]
push ecx
lea edx, [esp + 0x40]
push edx
lea ecx, [esp + 0x54]
push ecx
push esi
call eax
cmp eax, ebx
je 0x44a001
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x40]
jmp 0x44a005
xor eax, eax
xor ecx, ecx
add edi, eax
adc dword [esp + 0x38], ecx
lea eax, [esi - 0x10]
mov byte [esp + 0x64], bl
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x44a02b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x14]
inc ecx
cmp ecx, 0x1a
mov dword [esp + 0x14], ecx
jl 0x449f05
mov ecx, dword [esp + 0x24]
push ecx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
call fcn.00414a0e
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x44a062
push 0x80004005
call fcn.00402190
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp], eax
mov dword [esp + 0x64], ebx
mov ecx, 1
mov dword [esp + 0x30], ecx
sub ecx, dword [eax - 4]
mov eax, dword [eax - 8]
mov esi, 0x64
sub eax, esi
or eax, ecx
jge 0x44a097
push esi
mov ecx, ebp
call fcn.00401f10
mov eax, dword [ebp]
cmp dword [eax - 8], esi
jge 0x44a0a9
push 0x80070057
call fcn.00402190
push esi
mov dword [eax - 0xc], esi
mov ecx, dword [ebp]
push eax
mov eax, dword [esp + 0x40]
push eax
xor edx, edx
push edi
mov word [ecx + 0xc8], dx
call dword [sym.imp.SHLWAPI.dll_StrFormatByteSizeW]
mov eax, dword [ebp]
mov ecx, dword [eax - 8]
cmp eax, ebx
jne 0x44a0d4
xor eax, eax
jmp 0x44a0e2
push ecx
push eax
call fcn.00432b05
add esp, 8
cmp eax, ebx
jl 0x44a09f
mov ecx, dword [ebp]
cmp eax, dword [ecx - 8]
jg 0x44a09f
mov dword [ecx - 0xc], eax
mov ecx, dword [ebp]
xor edx, edx
mov word [ecx + eax*2], dx
mov eax, ebp
mov ecx, dword [esp + 0x5c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x54
ret 4