Function at 0x43abf1
Capabilities:
Get disk information via ioctl

Disassembly:
push ebp
lea ebp, [esp - 0x70]
sub esp, 0x24c
push ebx
push esi
push edi
push 0x4975e4
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov esi, dword [ebp + 0x7c]
mov edi, dword [ebp + 0x7c]
mov eax, dword [ebp + 0x78]
mov eax, dword [eax]
and byte [ebp + 0x7e], 0xfc
xor ebx, ebx
and esi, 0x10000
and edi, 0x20000
mov word [eax], bx
push 0x100000
lea ecx, [ebp + 0x5c]
mov dword [ebp + 0x48], esi
mov dword [ebp + 0x4c], edi
mov dword [ebp + 0x64], ebx
mov dword [ebp + 0x3c], ebx
mov dword [ebp + 0x60], ebx
call fcn.0042c29e
push 0x800
lea ecx, [ebp + 0x54]
call fcn.0042c415
mov eax, dword [ebp + 0x54]
lea ecx, [eax + 0x800]
mov word [eax], 0x20
add eax, 2
mov word [eax], bx
mov dword [ebp + 0x38], ecx
mov word [ecx], 0x20
add ecx, 2
mov dword [ebp + 0x44], eax
mov dword [ebp + 0x58], ecx
mov word [ecx], bx
mov dword [ebp + 0x68], ebx
mov eax, dword [ebp + 0x7c]
cmp eax, ebx
jl 0x43ac88
mov dword [ebp + 0x68], eax
push dword [ebp + 0x68]
lea eax, [ebp - 0x1dc]
push str..PhysicalDrive_d
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
cmp esi, ebx
je 0x43acbd
cmp dword [ebp + 0x7c], ebx
jl 0x43acbd
push 0x13
push dword [ebp + 0x44]
lea eax, [ebp - 0x1dc]
push eax
call fcn.0042fe3f
add esp, 0xc
cmp edi, ebx
mov dword [ebp + 0x6c], ebx
je 0x43acd0
cmp dword [ebp + 0x7c], ebx
mov dword [ebp + 0x50], 1
jge 0x43acd3
mov dword [ebp + 0x50], 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.00403c6d
cmp dword [ebp + 0x50], ebx
je 0x43ad08
push dword [ebp + 0x58]
push dword [ebp + 0x68]
push dword [ebp + 0x6c]
call fcn.00429a83
add esp, 0xc
cmp dword [ebp + 0x7c], ebx
jge 0x43ad6b
cmp dword [ebp + 0x6c], ebx
je 0x43ad41
push dword [ebp + 0x68]
lea eax, [ebp - 0x1dc]
push 0x482e8c
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.0042c465
inc dword [ebp + 0x64]
jmp 0x43ad4e
inc dword [ebp + 0x60]
cmp dword [ebp + 0x60], 0x20
jge 0x43aef8
lea ecx, [ebp + 0x6c]
call fcn.0040296e
inc dword [ebp + 0x68]
cmp dword [ebp + 0x68], 0x3e80
jl 0x43ac7e
jmp 0x43af00
cmp dword [ebp + 0x6c], ebx
je 0x43aef8
push ebx
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov esi, dword [ebp + 0x5c]
push 0xc0
push ebx
push esi
call fcn.0046c4e0
add esp, 0xc
push ebx
lea eax, [ebp + 0x3c]
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 + 0x64], 0x486bac
jne 0x43adbc
mov dword [ebp + 0x64], 0x486ba4
cmp edx, 1
jne 0x43adc8
mov dword [ebp + 0x64], 0x486b9c
mov esi, 0x486b94
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 0x43ae06
mov eax, dword [ebp + 0x5c]
push dword [eax + 8]
lea eax, [ebp - 0x114]
push str._08lX
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
jmp 0x43ae20
cmp edx, 1
jne 0x43ae20
mov eax, dword [ebp + 0x5c]
add eax, 8
push eax
lea eax, [ebp - 0x114]
push eax
call fcn.00429962
pop ecx
pop ecx
push 9
pop ecx
push dword [ebp + 0x6c]
xor eax, eax
mov dword [ebp + 0x10], ebx
lea edi, [ebp + 0x14]
lea esi, [ebp + 0x10]
rep stosd dword es:[edi], eax
call fcn.004298e2
push dword [ebp + 0x6c]
mov edi, eax
push ebx
mov dword [ebp + 0x44], edx
call fcn.0042dd61
mov esi, dword [ebp + 0x78]
add esp, 0xc
push 0xc8
mov ecx, esi
mov dword [ebp + 0x58], eax
call fcn.0042c43e
push 1
push ebx
push dword [ebp + 0x6c]
call fcn.004305f0
add esp, 0xc
cmp eax, 0xc
mov byte [ebp + 0x7f], 0x3f
jne 0x43ae78
mov byte [ebp + 0x7f], 0x46
jmp 0x43ae81
cmp eax, 0xb
jne 0x43ae81
mov byte [ebp + 0x7f], 0x52
push dword [ebp + 0x44]
lea eax, [ebp - 0x30]
push edi
push eax
call fcn.00435e84
push dword [ebp + 0x14]
lea eax, [ebp - 0x70]
push dword [ebp + 0x10]
push eax
call fcn.00435e84
movsx ecx, byte [ebp + 0x7f]
push ecx
push dword [ebp + 0x64]
mov eax, dword [esi]
push dword [ebp + 0x58]
lea ecx, [ebp - 0x114]
push ecx
push dword [ebp + 0x18]
lea ecx, [ebp - 0x70]
push dword [ebp + 0x24]
push dword [ebp + 0x20]
push dword [ebp + 0x1c]
push ecx
lea ecx, [ebp - 0x30]
push ecx
push dword [ebp + 0x68]
push str._2d__14s__14s__6lu__4lu__4lu__4lu__s__2d__s__c
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x4c
cmp dword [ebp + 0x48], ebx
mov dword [ebp + 0x64], eax
je 0x43aee9
push dword [ebp + 0x54]
mov ecx, esi
call fcn.0042c465
cmp dword [ebp + 0x4c], ebx
je 0x43aef8
push dword [ebp + 0x38]
mov ecx, esi
call fcn.0042c465
lea ecx, [ebp + 0x6c]
call fcn.0040296e
mov eax, dword [ebp + 0x78]
push dword [eax]
call fcn.0040b1aa
pop ecx
lea ecx, [ebp + 0x54]
call fcn.0042704a
lea ecx, [ebp + 0x5c]
call fcn.0042704a
push 0x4975e4
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [ebp + 0x64]
pop edi
pop esi
pop ebx
add ebp, 0x70
leave
ret