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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43242b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2b8
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x28], 0
push 0x200
push 0
lea eax, [ebp - 0x2c4]
push eax
call fcn.0041fdd0
add esp, 0xc
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x60], 0
lea ecx, [ebp - 0x2c4]
push ecx
push 0x100
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
mov dword [ebp - 0x5c], eax
cmp dword [ebp - 0x5c], 0x104
jae 0x40418c
lea edx, [ebp - 0x2c4]
mov dword [ebp - 0x14], edx
xor eax, eax
mov dword [ebp - 0xac], eax
mov dword [ebp - 0xa8], eax
mov dword [ebp - 0xa4], eax
mov dword [ebp - 0xa0], eax
mov dword [ebp - 0x9c], eax
mov dword [ebp - 0x98], eax
mov dword [ebp - 0x94], eax
mov dword [ebp - 0x90], eax
mov ecx, dword [ebp - 0x14]
movzx edx, word [ecx]
test edx, edx
je 0x404077
mov eax, dword [ebp - 0x28]
xor ecx, ecx
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x4c], ecx
mov edx, dword [ebp - 0x28]
xor eax, eax
mov dword [ebp - 0x58], edx
mov dword [ebp - 0x54], eax
mov ecx, dword [ebp - 0x28]
xor edx, edx
mov dword [ebp - 0x88], ecx
mov dword [ebp - 0x84], edx
xor eax, eax
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x3c], eax
mov word [ebp - 0x38], ax
mov ecx, dword [ebp - 0x14]
mov dl, byte [ecx]
mov byte [ebp - 0x48], dl
mov eax, dword [ebp - 0x14]
movzx ecx, byte [eax]
push ecx
call fcn.00403db0
add esp, 4
mov byte [ebp - 0x47], al
lea edx, [ebp - 0x88]
push edx
lea eax, [ebp - 0x58]
push eax
lea ecx, [ebp - 0x50]
push ecx
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x3e], eax
mov ecx, dword [ebp - 0x4c]
mov dword [ebp - 0x3a], ecx
mov edx, dword [ebp - 0x58]
mov dword [ebp - 0x46], edx
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x42], eax
push 0x12
lea ecx, [ebp - 0x48]
push ecx
lea edx, [ebp - 0x60]
push edx
lea eax, [ebp - 0x34]
push eax
mov ecx, dword [ebp - 0x1c]
push ecx
call fcn.0040a300
add esp, 0x14
mov dword [ebp - 0x1c], eax
mov edx, dword [ebp - 0x20]
add edx, 1
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x64], 0
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x18]
add ecx, 2
mov dword [ebp - 0x68], ecx
mov edx, dword [ebp - 0x18]
mov ax, word [edx]
mov word [ebp - 0x22], ax
add dword [ebp - 0x18], 2
cmp word [ebp - 0x22], 0
jne 0x404045
mov ecx, dword [ebp - 0x18]
sub ecx, dword [ebp - 0x68]
sar ecx, 1
mov dword [ebp - 0x6c], ecx
mov edx, dword [ebp - 0x6c]
mov eax, dword [ebp - 0x14]
lea ecx, [eax + edx*2 + 2]
mov dword [ebp - 0x14], ecx
jmp 0x403f77
lea edx, [ebp - 0x2c]
push edx
mov eax, dword [ebp - 0x34]
push eax
mov ecx, dword [ebp - 0x1c]
push ecx
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x8c], esp
push 0x4339b8
call fcn.00401560
call fcn.00404610
add esp, 0x24
mov dword [ebp - 0x70], eax
mov edx, dword [ebp - 0x70]
mov dword [ebp - 0x10], edx
cmp dword [ebp - 0x10], 0
je 0x4040e9
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x20]
mov dword [eax], ecx
mov edx, dword [ebp - 0x10]
mov dword [edx + 8], 0
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp + 8]
mov dword [eax + 0xc], ecx
mov edx, dword [ebp - 0x10]
mov dword [edx + 4], 0
push 0
mov eax, dword [ebp - 0x2c]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
call fcn.00404ff0
add esp, 0xc
mov dword [ebp - 0x30], eax
mov edx, dword [ebp - 0x1c]
mov dword [ebp - 0x74], edx
mov eax, dword [ebp - 0x74]
push eax
call fcn.0041ddb4
add esp, 4
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x78], 0
lea ecx, [ebp - 0x78]
push ecx
push 0
push 0
push 0x4339bc
lea ecx, [ebp - 0xc4]
call fcn.00401560
mov dword [ebp - 0x7c], eax
mov edx, dword [ebp - 0x7c]
mov dword [ebp - 0x80], edx
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x80]
push eax
call fcn.00404c10
add esp, 0x10
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xc4]
call fcn.004016c0
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x20]
mov dword [ecx], edx
mov eax, dword [ebp - 0x10]
mov dword [eax + 8], 1
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp + 8]
mov dword [ecx + 0xc], edx
mov eax, dword [ebp - 0x10]
mov dword [eax + 4], 0
push 0
mov ecx, dword [ebp - 0x2c]
push ecx
mov edx, dword [ebp - 0x10]
push edx
call fcn.00404ff0
add esp, 0xc
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret