Function at 0x45ba50
Capabilities:
Get disk information

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x52b936
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x480
mov eax, dword [0x566090]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
movups xmm0, xmmword [str.DeviceMup_]
mov eax, dword [0x547b6c]
lea ecx, [ebp - 0x38]
mov edi, dword [ebx + 8]
lea edx, [ecx + 2]
mov esi, dword [ebx + 0xc]
movups xmmword [ebp - 0x38], xmm0
mov dword [ebp - 0x1c], eax
movq xmm0, qword [0x547b84]
movzx eax, word [0x547b70]
movq qword [ebp - 0x28], xmm0
movups xmm0, xmmword [str.DeviceLanmanRedirector_]
mov word [ebp - 0x18], ax
movzx eax, word [0x547b8c]
movups xmmword [ebp - 0x6c], xmm0
mov word [ebp - 0x20], ax
movups xmm0, xmmword [0x547ba0]
mov eax, dword [0x547bc0]
mov dword [ebp - 0x48c], edi
movups xmmword [ebp - 0x5c], xmm0
mov dword [ebp - 0x48c], esi
movups xmm0, xmmword [0x547bb0]
mov dword [ebp - 0x3c], eax
movups xmmword [ebp - 0x4c], xmm0
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x45bb10
sub ecx, edx
lea eax, [ebp - 0x38]
sar ecx, 1
push ecx
push eax
push esi
call fcn.00505a57
add esp, 0xc
test eax, eax
jne 0x45bbe3
mov dword [ebp - 0x488], eax
push 2
push 0x547acc
lea ecx, [ebp - 0x488]
mov dword [ebp - 0x478], eax
mov dword [ebp - 0x474], 7
mov word [ebp - 0x488], ax
mov dword [ebp - 4], 0xffffffff
call fcn.00445880
lea ecx, [ebp - 0x38]
mov dword [ebp - 4], 1
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x45bb80
sub ecx, edx
sar ecx, 1
lea edx, [esi + ecx*2]
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x45bb97
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x488]
call fcn.00445020
movups xmm0, xmmword [ebp - 0x488]
mov dword [edi], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
movups xmmword [edi], xmm0
movq xmm0, qword [ebp - 0x478]
movq qword [edi + 0x10], xmm0
jmp 0x45bd2d
lea ecx, [ebp - 0x6c]
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x45bbf0
sub ecx, edx
lea eax, [ebp - 0x6c]
sar ecx, 1
push ecx
push eax
push esi
call fcn.00505a57
add esp, 0xc
test eax, eax
jne 0x45bc9c
push 0x547acc
lea ecx, [ebp - 0x488]
call fcn.00445990
lea ecx, [ebp - 0x6c]
mov dword [ebp - 4], 4
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x45bc32
sub ecx, edx
sar ecx, 1
lea edx, [esi + ecx*2]
mov ecx, edx
lea esi, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x45bc50
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x488]
call fcn.00445020
movups xmm0, xmmword [ebp - 0x488]
mov dword [edi], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
movups xmmword [edi], xmm0
movq xmm0, qword [ebp - 0x478]
movq qword [edi + 0x10], xmm0
jmp 0x45bd2d
mov esi, 0x41
push 0x200
lea eax, [ebp - 0x470]
mov word [ebp - 0x1c], si
push eax
lea eax, [ebp - 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
test eax, eax
je 0x45bcf9
lea eax, [ebp - 0x470]
lea edx, [eax + 2]
nop dword [eax + eax]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x45bcd0
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0x470]
push eax
push dword [ebp - 0x48c]
call fcn.00505a57
add esp, 0xc
test eax, eax
je 0x45bd4f
inc esi
cmp si, 0x5a
jbe 0x45bca1
mov dword [edi], 0
xor eax, eax
mov dword [edi + 0x10], 0
push eax
mov dword [edi + 0x14], 7
mov ecx, edi
push 0x546f88
mov word [edi], ax
mov dword [ebp - 4], 0xffffffff
call fcn.00445880
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004fc7af
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 8
mov dword [ebp - 0x488], 0
xor eax, eax
mov dword [ebp - 0x478], 0
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x474], 7
mov word [ebp - 0x488], ax
lea edx, [ecx + 2]
mov dword [ebp - 4], 0xffffffff
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x45bd83
sub ecx, edx
lea eax, [ebp - 0x1c]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x488]
call fcn.00445880
lea ecx, [ebp - 0x470]
mov dword [ebp - 4], 8
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x45bdb2
mov eax, dword [ebp - 0x48c]
sub ecx, edx
sar ecx, 1
lea edx, [eax + ecx*2]
mov ecx, edx
lea esi, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x45bdd0
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x488]
call fcn.00445020
movups xmm0, xmmword [ebp - 0x488]
mov dword [edi], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
movups xmmword [edi], xmm0
movq xmm0, qword [ebp - 0x478]
movq qword [edi + 0x10], xmm0
jmp 0x45bd2d