Function at 0x423000
Capabilities:
Get disk information via ioctl

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47db2d
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x4b4200]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
xorps xmm0, xmm0
mov dword [ebp - 0x14], 0
xor esi, esi
movq qword [ebp - 0x1c], xmm0
test ebx, ebx
je 0x42304f
cmp word [ebx], si
je 0x42304f
inc esi
cmp word [ebx + esi*2], 0
jne 0x423047
mov ecx, 2
mov dword [ebp - 0x18], esi
lea eax, [esi + 1]
mul ecx
mov ecx, 0xffffffff
cmovb eax, ecx
push eax
call fcn.0046a3df
add esp, 4
mov edi, eax
mov dword [ebp - 0x1c], edi
test esi, esi
jle 0x423090
mov ecx, edi
sub ebx, edi
mov edx, esi
nop dword [eax]
mov ax, word [ebx + ecx]
lea ecx, [ecx + 2]
mov word [ecx - 2], ax
sub edx, 1
jne 0x423080
xor eax, eax
mov byte [ebp - 0x14], 1
mov word [edi + esi*2], ax
mov dword [ebp - 4], eax
test esi, esi
jne 0x4230b1
cmp word [edi], si
je 0x4230ae
inc esi
cmp word [edi + esi*2], 0
jne 0x4230a6
mov dword [ebp - 0x18], esi
cmp esi, 2
jl 0x423258
push 2
push 1
push 1
push 1
push 0x49ed80
lea ecx, [ebp - 0x1c]
call fcn.00406350
test eax, eax
jne 0x42319e
mov ebx, dword [ebp - 0x1c]
mov byte [ebp - 0x14], al
mov eax, dword [ebp - 0x18]
test eax, eax
jne 0x4230fb
xor eax, eax
test ebx, ebx
je 0x4230f8
cmp word [ebx], ax
je 0x4230f8
nop
inc eax
cmp word [ebx + eax*2], 0
jne 0x4230f0
mov dword [ebp - 0x18], eax
xor ecx, ecx
nop dword [eax]
lea ecx, [ecx + 1]
cmp word [ecx*2 + str.._], 0
jne 0x423100
lea esi, [eax + ecx]
mov ecx, 2
lea eax, [esi + 1]
mov dword [ebp - 0x30], esi
mul ecx
mov ecx, 0xffffffff
cmovb eax, ecx
push eax
call fcn.0046a3df
mov edi, eax
mov esi, str.._
add esp, 4
mov edx, ebx
mov ecx, edi
mov ebx, 0x5c
sub esi, edi
mov word [ecx], bx
add ecx, 2
movzx eax, word [esi + ecx]
mov ebx, eax
test ax, ax
jne 0x423141
mov ebx, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x30]
test ebx, ebx
je 0x423184
movzx eax, word [ebx]
mov esi, eax
mov dword [ebp - 0x34], esi
mov esi, dword [ebp - 0x30]
test ax, ax
je 0x423184
movzx eax, ax
nop
movzx eax, ax
lea edx, [edx + 2]
mov word [ecx], ax
add ecx, 2
movzx eax, word [edx]
test ax, ax
jne 0x423170
xor eax, eax
mov word [ecx], ax
test ebx, ebx
je 0x423196
push ebx
call fcn.00469dd3
add esp, 4
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x18], esi
jmp 0x4231a4
mov esi, dword [ebp - 0x18]
mov edi, dword [ebp - 0x1c]
mov eax, 6
test esi, esi
jne 0x4231c1
test edi, edi
je 0x4231be
cmp word [edi], si
je 0x4231be
inc esi
cmp word [edi + esi*2], 0
jne 0x4231b6
mov dword [ebp - 0x18], esi
cmp esi, eax
setge byte [ebp - 0x14]
jl 0x4231d5
cmovl eax, esi
xor ecx, ecx
mov dword [ebp - 0x18], eax
mov word [edi + eax*2], cx
test edi, edi
jne 0x4231ea
push 2
call fcn.0046a3df
mov edi, eax
add esp, 4
xor eax, eax
mov word [edi], ax
push 0
push 0x2000004
push 3
push 0
push 3
push 0xc0000000
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
mov dword [ebp - 0x20], 0
test esi, esi
je 0x423258
or ebx, 0xffffffff
cmp esi, 0xffffffff
je 0x423258
push 0
lea eax, [ebp - 0x20]
mov dword [ebp - 0x2c], 0
push eax
push 0xc
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x28], 0xffffffff
push eax
push 0
push 0
push 0x2d1080
push esi
mov dword [ebp - 0x24], 0xffffffff
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
push esi
cmovne ebx, dword [ebp - 0x28]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x42325b
or ebx, 0xffffffff
test edi, edi
je 0x423268
push edi
call fcn.00469dd3
add esp, 4
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00469dc5
mov esp, ebp
pop ebp
ret