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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4f2fe8
mov eax, dword fs:[0]
push eax
sub esp, 0x464
mov eax, dword [0x52e028]
xor eax, esp
mov dword [esp + 0x45c], eax
push esi
push edi
mov eax, dword [0x52e028]
xor eax, esp
push eax
lea eax, [esp + 0x470]
mov dword fs:[0], eax
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov ecx, dword [0x506770]
mov dword [esp + 0x1c], eax
mov eax, dword [0x50676c]
push 0x208
mov dword [esp + 0x40], eax
xor esi, esi
lea eax, [esp + 0x25a]
xor edx, edx
push esi
push eax
mov dword [esp + 0x4c], ecx
mov word [esp + 0x260], dx
call fcn.004f0a6a
push 0x208
lea edx, [esp + 0x56]
xor ecx, ecx
push esi
push edx
mov word [esp + 0x5c], cx
call fcn.004f0a6a
add esp, 0x18
lea ecx, [esp + 0x10]
call dword [0x4fff58]
mov dword [esp + 0x478], esi
lea ecx, [esp + 0x18]
call dword [0x4fff58]
mov byte [esp + 0x478], 1
mov dword [esp + 0x14], esi
mov ecx, esi
mov eax, 1
shl eax, cl
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x20], eax
test ecx, eax
je 0x43fd40
push 0x105
lea eax, [esp + 0x258]
push eax
push 0
push 0
push 0
lea edx, [esi + 0x41]
push 0x105
lea ecx, [esp + 0x5c]
mov word [esp + 0x54], dx
push ecx
lea edx, [esp + 0x58]
push edx
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
test eax, eax
je 0x43fd40
movzx eax, word [esp + 0x3c]
push eax
lea ecx, [esp + 0x48]
push ecx
lea edx, [esp + 0x18]
push str._s__c:_
push edx
call dword [0x4ffacc]
mov eax, dword [ebx + 0xa8]
mov edi, dword [esp + 0x20]
add esp, 0x10
push 0
push 0
push 0x1004
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 0
push 0
push 0
push edi
push eax
lea esi, [ebx + 0x88]
push 1
mov ecx, esi
call fcn.004ef5d0
mov edi, eax
cmp edi, 0xffffffff
je 0x43fd3c
lea ecx, [esp + 0x254]
push ecx
push 1
push edi
mov ecx, esi
call fcn.004ef762
lea edx, [esp + 0x34]
push edx
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x2c]
push ecx
lea edx, [esp + 0x48]
push edx
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
push 0x104
push 0x104
lea ecx, [esp + 0x18]
call dword [0x4fff30]
mov ecx, dword [esp + 0x30]
push eax
mov eax, dword [esp + 0x38]
push eax
push ecx
call dword [sym.imp.SHLWAPI.dll_StrFormatByteSizeW]
push 0xffffffffffffffff
lea ecx, [esp + 0x14]
call dword [0x4ffef8]
mov edx, dword [esp + 0x10]
push edx
push 2
push edi
mov ecx, esi
call fcn.004ef762
push 0x104
push 0x104
lea ecx, [esp + 0x18]
call dword [0x4fff30]
mov ecx, dword [esp + 0x34]
push eax
mov eax, dword [esp + 0x34]
sub eax, dword [esp + 0x3c]
sbb ecx, dword [esp + 0x40]
push ecx
push eax
call dword [sym.imp.SHLWAPI.dll_StrFormatByteSizeW]
push 0xffffffffffffffff
lea ecx, [esp + 0x14]
call dword [0x4ffef8]
mov edx, dword [esp + 0x10]
push edx
push 3
push edi
mov ecx, esi
call fcn.004ef762
mov eax, dword [esp + 0x20]
test dword [ebx + 0xdc], eax
je 0x43fd23
push 1
push edi
mov ecx, esi
call fcn.004efa0e
mov ecx, dword [esp + 0x14]
push ecx
push 0
push 0
push 0
push 0
push 4
push 0
push edi
mov ecx, esi
call fcn.004efa14
mov esi, dword [esp + 0x14]
inc esi
cmp esi, 0x1a
mov dword [esp + 0x14], esi
jl 0x43fbac
mov byte [esp + 0x478], 0
lea ecx, [esp + 0x18]
call dword [0x4fff34]
mov dword [esp + 0x478], 0xffffffff
lea ecx, [esp + 0x10]
call dword [0x4fff34]
mov ecx, dword [esp + 0x470]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x45c]
xor ecx, esp
call fcn.004efe2a
mov esp, ebp
pop ebp
ret