Function at 0x443a94
Capabilities:
Get disk information via ioctl

Disassembly:
push ebp
lea ebp, [esp - 0x70]
sub esp, 0x2cc
push ebx
push esi
push edi
mov eax, 0x4a7658
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [ebp + 0x7c]
and eax, 0x10000
mov dword [ebp + 0x50], eax
mov eax, dword [ebp + 0x7c]
and eax, 0x20000
mov dword [ebp + 0x4c], eax
mov eax, dword [ebp + 0x7c]
and word [ebp + 0x7e], 0xc000
and eax, 0x200000
mov dword [ebp + 0x38], eax
mov eax, dword [ebp + 0x78]
mov eax, dword [eax]
xor ebx, ebx
mov word [eax], bx
push 0x100000
lea ecx, [ebp + 0x58]
mov dword [ebp + 0x68], ebx
mov dword [ebp + 0x48], ebx
mov dword [ebp + 0x60], ebx
call fcn.00433b18
push 0x800
lea ecx, [ebp + 0x54]
call fcn.00433c42
mov edi, dword [ebp + 0x54]
mov eax, dword [ebp + 0x7c]
cmp eax, ebx
lea esi, [edi + 0x800]
mov word [edi], 0x20
mov word [edi + 2], bx
mov dword [ebp + 0x44], esi
mov word [esi], 0x20
mov word [esi + 2], bx
jl 0x443b2c
mov dword [ebp + 0x64], eax
jmp 0x443b3c
mov dword [ebp + 0x64], ebx
cmp dword [ebp + 0x64], 0x3e80
jge 0x443dee
push dword [ebp + 0x64]
lea eax, [ebp - 0x1dc]
push str..PhysicalDrive_d
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
cmp dword [ebp + 0x50], ebx
je 0x443b78
cmp dword [ebp + 0x7c], ebx
jl 0x443b78
push 0x490718
push 0x13
lea eax, [edi + 2]
push eax
lea eax, [ebp - 0x1dc]
push eax
call fcn.00437e5e
add esp, 0x10
cmp dword [ebp + 0x4c], ebx
mov dword [ebp + 0x6c], ebx
je 0x443b8c
cmp dword [ebp + 0x7c], ebx
mov dword [ebp + 0x5c], 1
jge 0x443b8f
mov dword [ebp + 0x5c], ebx
push ebx
push 0x20000000
push 3
push ebx
push 3
push 0x80000000
lea eax, [ebp - 0x1dc]
push eax
lea ecx, [ebp + 0x6c]
call fcn.004041e7
cmp dword [ebp + 0x5c], ebx
je 0x443bc5
lea eax, [esi + 2]
push eax
push dword [ebp + 0x64]
push dword [ebp + 0x6c]
call fcn.00431c75
add esp, 0xc
cmp dword [ebp + 0x7c], ebx
jge 0x443c1b
cmp dword [ebp + 0x6c], ebx
je 0x443bfe
push dword [ebp + 0x64]
lea eax, [ebp - 0x1dc]
push 0x4919cc
push eax
mov dword [ebp + 0x60], ebx
call dword [sym.imp.USER32.dll_wsprintfW]
mov ecx, dword [ebp + 0x78]
add esp, 0xc
lea eax, [ebp - 0x1dc]
push eax
call fcn.00433c92
inc dword [ebp + 0x68]
jmp 0x443c0b
inc dword [ebp + 0x60]
cmp dword [ebp + 0x60], 0x20
jge 0x443de6
lea ecx, [ebp + 0x6c]
call fcn.00402ac9
inc dword [ebp + 0x64]
jmp 0x443b2f
cmp dword [ebp + 0x6c], ebx
je 0x443de6
push ebx
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov esi, dword [ebp + 0x58]
push 0xc0
push ebx
push esi
call fcn.0047b210
add esp, 0xc
push ebx
lea eax, [ebp + 0x48]
push eax
push 0x100000
push esi
push ebx
push ebx
push 0x70050
push dword [ebp + 0x6c]
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
mov edx, dword [esi]
cmp edx, ebx
mov dword [ebp + 0x68], 0x49659c
jne 0x443c6c
mov dword [ebp + 0x68], 0x496594
cmp edx, 1
jne 0x443c78
mov dword [ebp + 0x68], 0x49658c
mov esi, 0x496584
lea edi, [ebp - 0x114]
movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
push 0x27
xor eax, eax
cmp edx, ebx
pop ecx
lea edi, [ebp - 0x10e]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
jne 0x443cb3
mov eax, dword [ebp + 0x58]
push dword [eax + 8]
lea eax, [ebp - 0x114]
push str._08lX
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
jmp 0x443ccc
cmp edx, 1
jne 0x443ccf
mov eax, dword [ebp + 0x58]
add eax, 8
push ebx
push eax
lea eax, [ebp - 0x114]
push eax
call fcn.00431b36
add esp, 0xc
push 9
pop ecx
xor eax, eax
mov dword [ebp + 0x10], ebx
lea edi, [ebp + 0x14]
rep stosd dword es:[edi], eax
mov edi, dword [ebp + 0x6c]
push edi
lea esi, [ebp + 0x10]
call fcn.00431ab6
push edi
push ebx
mov dword [ebp + 0x3c], eax
mov dword [ebp + 0x40], edx
call fcn.004356fc
mov esi, dword [ebp + 0x78]
add esp, 0xc
push 0xc8
mov ecx, esi
mov dword [ebp + 0x60], eax
call fcn.00433c6b
push 0x800
push 1
push ebx
push edi
call fcn.004384dd
add esp, 0x10
cmp eax, 0xc
mov byte [ebp + 0x7f], 0x3f
jne 0x443d2a
mov byte [ebp + 0x7f], 0x46
jmp 0x443d33
cmp eax, 0xb
jne 0x443d33
mov byte [ebp + 0x7f], 0x52
cmp dword [ebp + 0x38], ebx
mov word [ebp - 0x25c], bx
je 0x443d66
lea eax, [ebp + 0x5c]
push eax
push edi
mov dword [ebp + 0x5c], ebx
call fcn.00438a54
push dword [ebp + 0x5c]
push edx
push eax
lea eax, [ebp - 0x25c]
push str.__I64d__u
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x1c
push dword [ebp + 0x40]
lea eax, [ebp - 0x70]
push dword [ebp + 0x3c]
push eax
call fcn.00470db5
push dword [ebp + 0x14]
lea eax, [ebp - 0x30]
push dword [ebp + 0x10]
push eax
call fcn.00470db5
lea ecx, [ebp - 0x25c]
push ecx
movsx ecx, byte [ebp + 0x7f]
push ecx
push dword [ebp + 0x68]
mov eax, dword [esi]
push dword [ebp + 0x60]
lea ecx, [ebp - 0x114]
push ecx
push dword [ebp + 0x18]
lea ecx, [ebp - 0x30]
push dword [ebp + 0x24]
push dword [ebp + 0x20]
push dword [ebp + 0x1c]
push ecx
lea ecx, [ebp - 0x70]
push ecx
push dword [ebp + 0x64]
push str._2d__14s__14s__6lu__4lu__4lu__4lu__s__2d__s__c_s
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x50
cmp dword [ebp + 0x50], ebx
mov dword [ebp + 0x68], eax
je 0x443dd7
push dword [ebp + 0x54]
mov ecx, esi
call fcn.00433c92
cmp dword [ebp + 0x4c], ebx
je 0x443de6
push dword [ebp + 0x44]
mov ecx, esi
call fcn.00433c92
lea ecx, [ebp + 0x6c]
call fcn.00402ac9
mov eax, dword [ebp + 0x78]
push dword [eax]
call fcn.0040c744
pop ecx
lea ecx, [ebp + 0x54]
call fcn.0042eb98
lea ecx, [ebp + 0x58]
call fcn.0042eb98
mov eax, 0x4a7658
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [ebp + 0x68]
pop edi
pop esi
pop ebx
add ebp, 0x70
leave
ret