Function at 0x410b90
Capabilities:
Get disk information
Get disk size
Get storage device properties
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4c6948
mov eax, dword fs:[0]
push eax
sub esp, 0x90
mov eax, dword [0x519b14]
xor eax, esp
mov dword [esp + 0x88], eax
push ebx
push esi
push edi
mov eax, dword [0x519b14]
xor eax, esp
push eax
lea eax, [esp + 0xa0]
mov dword fs:[0], eax
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
xor ebx, ebx
cmp eax, ebx
mov dword [esp + 0x24], eax
jne 0x410be8
xor ax, ax
jmp 0x410e00
mov ecx, dword [0x4e6db0]
mov edx, dword [0x4e6db4]
xor edi, edi
xor esi, esi
mov dword [esp + 0x14], edi
mov dword [esp + 0x18], esi
mov dword [esp + 0x68], ecx
mov dword [esp + 0x6c], edx
mov dword [esp + 0x10], ebx
jmp 0x410c1c
mov esi, dword [esp + 0x18]
mov edi, dword [esp + 0x14]
mov eax, dword [esp + 0x24]
mov ecx, ebx
shr eax, cl
test eax, eax
je 0x410dfb
test al, 1
je 0x410def
lea ecx, [esp + 0x68]
lea eax, [ebx + 0x41]
push ecx
mov word [esp + 0x6c], ax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 3
jne 0x410def
lea edx, [esp + 0x1c]
push edx
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x3c]
push ecx
lea edx, [esp + 0x74]
push edx
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
test eax, eax
je 0x410def
xor eax, eax
lea ecx, [esp + 0x70]
mov dword [esp + 0x72], eax
mov word [esp + 0x76], ax
mov ax, word [esp + 0x68]
push ecx
lea ecx, [esp + 0x50]
mov word [esp + 0x74], ax
call fcn.00405260
mov dword [esp + 0xa8], 0
lea edx, [esp + 0x4c]
push edx
call fcn.004109e0
add esp, 4
test al, al
jne 0x410ddb
test edi, edi
jne 0x410cbd
test esi, esi
je 0x410dc2
cmp esi, dword [esp + 0x20]
ja 0x410ddb
jb 0x410cd3
cmp edi, dword [esp + 0x1c]
jae 0x410ddb
mov eax, dword [str.__a:]
mov edx, dword [0x4e6dc0]
mov ecx, dword [0x4e6dbc]
mov dword [esp + 0x78], eax
mov ax, word [0x4e6dc4]
mov word [esp + 0x84], ax
xor eax, eax
push eax
push eax
push 3
push eax
push 3
mov dword [esp + 0x94], edx
mov dword [esp + 0x90], ecx
mov cx, word [esp + 0x7c]
push 0x80000000
lea edx, [esp + 0x90]
push edx
mov dword [esp + 0xa2], eax
mov dword [esp + 0xa6], eax
mov dword [esp + 0xaa], eax
mov dword [esp + 0xae], eax
mov word [esp + 0xb2], ax
mov word [esp + 0x9c], cx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x410dc2
push 0x227
call fcn.0048b3df
add esp, 4
mov esi, eax
xor eax, eax
push eax
mov dword [esi + 4], 0x227
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], eax
mov ecx, dword [esi + 4]
lea eax, [esp + 0x2c]
push eax
push ecx
push esi
push 0xc
lea edx, [esp + 0x54]
push edx
push 0x2d1400
push edi
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x410db2
cmp dword [esi + 0x1c], 7
jne 0x410db2
push esi
call fcn.0048c64a
add esp, 4
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x410ddb
push esi
call fcn.0048c64a
add esp, 4
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
movzx edx, word [esp + 0x68]
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x10], edx
mov dword [esp + 0x18], ecx
mov dword [esp + 0x14], eax
mov dword [esp + 0xa8], 0xffffffff
lea ecx, [esp + 0x4c]
call fcn.004052d0
add ebx, 1
cmp ebx, 0x1a
jl 0x410c10
mov ax, word [esp + 0x10]
mov ecx, dword [esp + 0xa0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x88]
xor ecx, esp
call fcn.0048cb7d
mov esp, ebp
pop ebp
ret