Function at 0x44c1a0
Capabilities:
Get disk information via ioctl

Disassembly:
push 0xffffffffffffffff
push 0x4e5c5c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x24c
push ebx
push ebp
push esi
push edi
push 0x5194ec
mov dword [esp + 0x70], 0x5194ec
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov edi, dword [esp + 0x270]
mov ebp, dword [esp + 0x26c]
mov eax, edi
and eax, 0x20000
xor esi, esi
mov ebx, edi
mov dword [esp + 0x30], eax
mov eax, dword [ebp]
and ebx, 0x10000
and edi, 0xfffcffff
mov word [eax], si
push 0x100001
mov dword [esp + 0x268], esi
mov dword [esp + 0x38], ebx
mov dword [esp + 0x274], edi
mov dword [esp + 0x20], esi
mov dword [esp + 0x3c], esi
mov dword [esp + 0x1c], esi
call fcn.00445f00
add esp, 4
cmp eax, esi
mov dword [esp + 0x28], eax
je 0x44c237
mov byte [eax], 0
push 0x1002
call fcn.00445f00
mov esi, eax
xor ecx, ecx
add esp, 4
cmp esi, ecx
mov dword [esp + 0x24], esi
je 0x44c253
mov word [esi], cx
lea eax, [esi + 0x802]
mov word [esi], 0x20
mov word [esi + 2], cx
mov byte [esp + 0x264], 2
mov word [esi + 0x800], 0x20
mov dword [esp + 0x2c], eax
mov word [eax], cx
mov dword [esp + 0x14], ecx
jmp 0x44c288
mov esi, dword [esp + 0x24]
mov ebx, dword [esp + 0x34]
test edi, edi
jl 0x44c290
mov dword [esp + 0x14], edi
mov ecx, dword [esp + 0x14]
push ecx
lea edx, [esp + 0x198]
push str..PhysicalDrive_d
push edx
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
test ebx, ebx
je 0x44c2c9
test edi, edi
jl 0x44c2c9
push 0x13
add esi, 2
lea eax, [esp + 0x198]
push esi
push eax
call fcn.0044b540
add esp, 0xc
mov dword [esp + 0x20], 0
mov eax, dword [esp + 0x30]
test eax, eax
mov byte [esp + 0x264], 3
je 0x44c2ec
test edi, edi
jl 0x44c2ec
mov esi, 1
jmp 0x44c2ee
xor esi, esi
push 0
push 0x20000000
push 3
push 0
push 3
push SysReAllocStringLen
lea ecx, [esp + 0x1ac]
push ecx
lea ecx, [esp + 0x3c]
call fcn.004167bc
test esi, esi
mov ebx, dword [esp + 0x20]
je 0x44c32c
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x14]
push edx
push eax
push ebx
call fcn.00442a60
add esp, 0xc
test edi, edi
jge 0x44c404
test ebx, ebx
je 0x44c3e8
mov ecx, dword [esp + 0x14]
push ecx
lea edx, [esp + 0x198]
push 0x4f16bc
push edx
mov dword [esp + 0x24], 0
call dword [sym.imp.USER32.dll_wsprintfW]
mov eax, dword [ebp]
add esp, 0xc
xor edi, edi
test eax, eax
je 0x44c371
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov edi, eax
lea eax, [esp + 0x194]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ecx, dword [ebp]
mov esi, eax
inc esi
lea eax, [esi + edi]
shl eax, 1
push ecx
call fcn.00445f60
lea edx, [esi + esi]
push edx
lea ecx, [esp + 0x19c]
push ecx
lea edx, [eax + edi*2]
push edx
mov dword [ebp], eax
call fcn.004aee50
mov ecx, dword [esp + 0x2c]
add esp, 0x10
inc ecx
cmp ebx, 0xffffffff
mov dword [esp + 0x1c], ecx
mov byte [esp + 0x264], 2
je 0x44c3c8
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edi, dword [esp + 0x270]
mov eax, dword [esp + 0x14]
inc eax
cmp eax, 0x3e80
mov dword [esp + 0x14], eax
jl 0x44c280
jmp 0x44c6bf
mov eax, dword [esp + 0x18]
inc eax
cmp eax, 0x20
mov dword [esp + 0x18], eax
mov byte [esp + 0x264], 2
jge 0x44c6bf
jmp 0x44c3cf
test ebx, ebx
jne 0x44c415
mov byte [esp + 0x264], 2
jmp 0x44c6bf
push 0
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov edi, dword [esp + 0x28]
mov esi, dword [esp + 0x28]
xor eax, eax
push eax
mov ecx, 0x30
rep stosd dword es:[edi], eax
lea eax, [esp + 0x3c]
push eax
push 0x100000
push esi
push 0
push 0
push 0x70050
push ebx
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
mov edx, dword [esi]
test edx, edx
mov dword [esp + 0x18], 0x4f4cc4
jne 0x44c460
mov dword [esp + 0x18], 0x4f4cbc
cmp edx, 1
jne 0x44c46d
mov dword [esp + 0x18], 0x4f4cb4
mov ecx, dword [0x4f4cac]
mov ax, word [0x4f4cb0]
mov dword [esp + 0xf0], ecx
mov word [esp + 0xf4], ax
xor eax, eax
test edx, edx
mov ecx, 0x27
lea edi, [esp + 0xf6]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
jne 0x44c4ba
mov ecx, dword [esi + 8]
push ecx
lea edx, [esp + 0xf4]
push str._08lX
push edx
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
jmp 0x44c4d3
cmp edx, 1
jne 0x44c4d3
add esi, 8
lea eax, [esp + 0xf0]
push esi
push eax
call fcn.00442980
add esp, 8
xor ecx, ecx
mov dword [esp + 0x40], ecx
mov dword [esp + 0x44], ecx
mov dword [esp + 0x48], ecx
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x50], ecx
mov dword [esp + 0x54], ecx
mov dword [esp + 0x58], ecx
mov dword [esp + 0x5c], ecx
lea esi, [esp + 0x3c]
mov dword [esp + 0x3c], 0
mov dword [esp + 0x60], ecx
call fcn.004428f0
push ebx
push 0
mov edi, eax
mov dword [esp + 0x70], edx
call fcn.00448290
mov edx, dword [ebp]
mov dword [esp + 0x24], eax
push edx
mov eax, 0x192
call fcn.00445f60
add esp, 0xc
test eax, eax
mov dword [ebp], eax
je 0x44c53d
mov word [eax + 0x190], 0
push 0
mov eax, 0x19
call fcn.00445f60
mov esi, eax
add esp, 4
test esi, esi
je 0x44c556
mov byte [esi + 0x18], 0
mov dword [esp + 0x2c], 0
xor eax, eax
mov ecx, esi
mov dword [ecx], eax
mov dword [ecx + 4], eax
mov dword [ecx + 8], eax
mov dword [ecx + 0xc], eax
mov dword [ecx + 0x10], eax
push eax
lea edx, [esp + 0x30]
push edx
push 0x18
push esi
push eax
push eax
push 0x70000
push ebx
mov dword [ecx + 0x14], eax
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x44c597
mov eax, dword [esi + 8]
mov dword [esp + 0x20], eax
jmp 0x44c59f
mov dword [esp + 0x20], 0xffffffff
test esi, esi
je 0x44c5b6
mov ecx, dword [0x51927c]
add esi, 0xfffffff8
push esi
push 0
push ecx
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov eax, dword [esp + 0x20]
cmp eax, 0xc
mov byte [esp + 0x13], 0x3f
jne 0x44c5cb
mov byte [esp + 0x13], 0x46
jmp 0x44c5d5
cmp eax, 0xb
jne 0x44c5d5
mov byte [esp + 0x13], 0x52
mov edx, dword [esp + 0x68]
push edx
push edi
push 0x4f49a8
lea eax, [esp + 0xbc]
push 0x28
push eax
call fcn.004c1f3f
mov esi, dword [sym.imp.KERNEL32.dll_lstrlenW]
add esp, 0x14
lea ecx, [esp + 0xb0]
push ecx
call esi
mov edx, dword [esp + 0x40]
mov eax, dword [esp + 0x3c]
push edx
push eax
push 0x4f49a8
lea ecx, [esp + 0x7c]
push 0x28
push ecx
call fcn.004c1f3f
add esp, 0x14
lea edx, [esp + 0x70]
push edx
call esi
movsx ecx, byte [esp + 0x13]
mov edx, dword [esp + 0x18]
push ecx
mov ecx, dword [esp + 0x20]
push edx
mov eax, dword [ebp]
push ecx
mov ecx, dword [esp + 0x50]
lea edx, [esp + 0xfc]
push edx
mov edx, dword [esp + 0x60]
push ecx
mov ecx, dword [esp + 0x60]
push edx
mov edx, dword [esp + 0x60]
push ecx
push edx
lea ecx, [esp + 0x90]
push ecx
mov ecx, dword [esp + 0x38]
lea edx, [esp + 0xd4]
push edx
push ecx
push str._2d__14s__14s__6lu__4lu__4lu__4lu__s__2d__s__c
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x68]
add esp, 0x34
test eax, eax
je 0x44c692
mov edx, dword [esp + 0x24]
push edx
mov ecx, ebp
call fcn.004462e0
mov eax, dword [esp + 0x30]
test eax, eax
je 0x44c6ab
mov eax, dword [esp + 0x24]
add eax, 0x800
push eax
mov ecx, ebp
call fcn.004462e0
cmp ebx, 0xffffffff
mov byte [esp + 0x264], 2
je 0x44c6bf
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp]
push eax
call fcn.0041e7c0
mov ecx, dword [esp + 0x28]
mov edx, dword [0x51927c]
mov esi, dword [sym.imp.KERNEL32.dll_HeapFree]
add esp, 4
add ecx, 0xfffffff8
push ecx
push 0
push edx
call esi
mov eax, dword [esp + 0x28]
test eax, eax
je 0x44c6fa
add eax, 0xfffffff8
push eax
mov eax, dword [0x51927c]
push 0
push eax
call esi
push 0x5194ec
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [esp + 0x25c]
mov eax, dword [esp + 0x1c]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x258
ret