Function at 0x4e92f0
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2b0
mov eax, dword [0x6670f4]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
movups xmm0, xmmword [0x606044]
mov dword [ebp - 0x2a8], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x2ac], eax
mov eax, dword [ebp + 0x10]
push ebx
mov dword [ebp - 0x2b0], eax
mov eax, dword [0x606064]
movups xmmword [ebp - 0x34], xmm0
push esi
movups xmm0, xmmword [0x606054]
mov dword [ebp - 0x14], eax
mov ax, word [0x606068]
push edi
mov byte [ebp - 0x299], 0
mov dword [ebp - 0xc], 0x3a0020
mov dword [ebp - 8], 0x5c
movups xmmword [ebp - 0x24], xmm0
mov word [ebp - 0x10], ax
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
xor ebx, ebx
mov esi, eax
mov dword [ebp - 0x2a4], esi
xor edi, edi
mov dl, bl
test dl, dl
jne 0x4e9596
mov eax, 1
mov ecx, ebx
shl eax, cl
test esi, eax
je 0x4e958c
lea eax, [ebx + 0x41]
mov word [ebp - 0xc], ax
lea eax, [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 3
je 0x4e93aa
cmp eax, 6
jne 0x4e9586
push 0
push 0
push 3
push 0
lea eax, [edi + 0x30]
inc edi
push 3
mov word [ebp - 0x12], ax
lea eax, [ebp - 0x34]
push 0xc0000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x4e9580
push 0
lea eax, [ebp - 0x2a0]
mov dword [ebp - 0x2a0], 0
push eax
push 0x18
lea eax, [ebp - 0x298]
xorps xmm0, xmm0
push eax
push 0
push 0
push 0x74080
push esi
movups xmmword [ebp - 0x298], xmm0
movq qword [ebp - 0x288], xmm0
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
mov al, byte [ebp - 0x295]
mov byte [ebp - 0x29a], al
test al, al
je 0x4e9579
push 0x210
xorps xmm0, xmm0
mov byte [ebp - 0x248], 0
lea eax, [ebp - 0x244]
push 0
push eax
movups xmmword [ebp - 0x268], xmm0
movups xmmword [ebp - 0x258], xmm0
call fcn.0058c8f0
mov al, bl
mov byte [ebp - 0x263], 1
and al, 1
mov word [ebp - 0x261], 0
or al, 0xfa
mov byte [ebp - 0x25c], bl
shl al, 4
add esp, 0xc
mov byte [ebp - 0x25f], al
mov cl, bl
mov al, byte [ebp - 0x29a]
shr al, cl
and al, 0x10
mov dword [ebp - 0x268], 0x200
neg al
push 0
sbb al, al
and al, 0xb5
add al, 0xec
mov byte [ebp - 0x25e], al
lea eax, [ebp - 0x2a0]
push eax
push 0x210
lea eax, [ebp - 0x244]
push eax
push 0x20
lea eax, [ebp - 0x268]
push eax
push 0x7c088
push esi
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
cmp eax, 1
jne 0x4e9579
cmp dword [ebp - 0x244], 0x2e
jbe 0x4e9579
push 0x13
push 0xa
lea eax, [ebp - 0x234]
push eax
lea eax, [ebp - 0x280]
push eax
call fcn.004e8060
mov ecx, dword [ebp - 0x2a8]
add esp, 0x10
push eax
call fcn.004b85a0
lea ecx, [ebp - 0x280]
call fcn.004b3140
push 0x2e
push 0x1b
lea eax, [ebp - 0x234]
push eax
lea eax, [ebp - 0x280]
push eax
call fcn.004e8060
mov ecx, dword [ebp - 0x2ac]
add esp, 0x10
push eax
call fcn.004b85a0
lea ecx, [ebp - 0x280]
call fcn.004b3140
push 0x1a
push 0x17
lea eax, [ebp - 0x234]
push eax
lea eax, [ebp - 0x280]
push eax
call fcn.004e8060
mov ecx, dword [ebp - 0x2b0]
add esp, 0x10
push eax
call fcn.004b85a0
lea ecx, [ebp - 0x280]
call fcn.004b3140
mov byte [ebp - 0x299], 1
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, dword [ebp - 0x2a4]
mov dl, byte [ebp - 0x299]
inc ebx
cmp ebx, 0x20
jl 0x4e9372
mov ecx, dword [ebp - 4]
mov al, dl
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0050ed5c
mov esp, ebp
pop ebp
ret