Function at 0x100103e0
Capabilities:
Get disk information via ioctl

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x478
mov eax, dword [0x10067bf0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push str.Floppy
mov eax, dword [ebp + 0x10]
push eax
call fcn.100070a0
add esp, 8
neg eax
sbb eax, eax
neg eax
mov byte [ebp - 0x411], al
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x478], ecx
cmp dword [ebp - 0x478], 2
je 0x10010436
cmp dword [ebp - 0x478], 3
je 0x10010453
cmp dword [ebp - 0x478], 5
je 0x1001045c
jmp 0x10010465
movzx edx, byte [ebp - 0x411]
test edx, edx
je 0x1001044a
mov dword [ebp - 8], 0x100613b0
jmp 0x10010451
mov dword [ebp - 8], 0x10061390
jmp 0x1001046c
mov dword [ebp - 8], 0x10061390
jmp 0x1001046c
mov dword [ebp - 8], 0x100613a0
jmp 0x1001046c
xor eax, eax
jmp 0x100106a7
push 0x12
push 0
push 0
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.SETUPAPI.dll_SetupDiGetClassDevsA]
mov dword [ebp - 0x454], eax
cmp dword [ebp - 0x454], 0xffffffff
jne 0x10010492
xor eax, eax
jmp 0x100106a7
mov dword [ebp - 0x458], 0
mov byte [ebp - 0x410], 0
push 0x3ff
push 0
lea ecx, [ebp - 0x40f]
push ecx
call fcn.1003e4c0
add esp, 0xc
lea edx, [ebp - 0x410]
mov dword [ebp - 0x450], edx
mov dword [ebp - 0x45c], 0
jmp 0x100104e0
mov eax, dword [ebp - 0x45c]
add eax, 1
mov dword [ebp - 0x45c], eax
cmp dword [ebp - 0x45c], 0x1f4
jge 0x10010698
push 0x1c
push 0
lea ecx, [ebp - 0x430]
push ecx
call fcn.1003e4c0
add esp, 0xc
mov dword [ebp - 0x430], 0x1c
lea edx, [ebp - 0x430]
push edx
mov eax, dword [ebp - 0x458]
push eax
mov ecx, dword [ebp - 8]
push ecx
push 0
mov edx, dword [ebp - 0x454]
push edx
call dword [sym.imp.SETUPAPI.dll_SetupDiEnumDeviceInterfaces]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x1001053c
jmp 0x10010698
mov dword [ebp - 0xc], 0
push 0
lea eax, [ebp - 0xc]
push eax
push 0
push 0
lea ecx, [ebp - 0x430]
push ecx
mov edx, dword [ebp - 0x454]
push edx
call dword [sym.imp.SETUPAPI.dll_SetupDiGetDeviceInterfaceDetailA]
cmp dword [ebp - 0xc], 0
je 0x10010684
cmp dword [ebp - 0xc], 0x400
ja 0x10010684
mov eax, dword [ebp - 0x450]
mov dword [eax], 5
push 0x1c
push 0
lea ecx, [ebp - 0x44c]
push ecx
call fcn.1003e4c0
add esp, 0xc
mov dword [ebp - 0x44c], 0x1c
lea edx, [ebp - 0x44c]
push edx
lea eax, [ebp - 0xc]
push eax
mov ecx, dword [ebp - 0xc]
push ecx
mov edx, dword [ebp - 0x450]
push edx
lea eax, [ebp - 0x430]
push eax
mov ecx, dword [ebp - 0x454]
push ecx
call dword [sym.imp.SETUPAPI.dll_SetupDiGetDeviceInterfaceDetailA]
mov dword [ebp - 0x460], eax
cmp dword [ebp - 0x460], 0
je 0x10010684
push 0
push 0
push 3
push 0
push 3
push 0
mov edx, dword [ebp - 0x450]
add edx, 4
push edx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 0x464], eax
cmp dword [ebp - 0x464], 0xffffffff
je 0x10010684
mov dword [ebp - 0x474], 0
push 0
lea eax, [ebp - 0x474]
push eax
push 0xc
lea ecx, [ebp - 0x470]
push ecx
push 0
push 0
push 0x2d1080
mov edx, dword [ebp - 0x464]
push edx
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
mov dword [ebp - 0x460], eax
cmp dword [ebp - 0x460], 0
je 0x10010677
mov eax, dword [ebp + 8]
cmp eax, dword [ebp - 0x46c]
jne 0x10010677
mov ecx, dword [ebp - 0x464]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp - 0x454]
push edx
call dword [sym.imp.SETUPAPI.dll_SetupDiDestroyDeviceInfoList]
mov eax, dword [ebp - 0x438]
jmp 0x100106a7
mov eax, dword [ebp - 0x464]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0x458]
add ecx, 1
mov dword [ebp - 0x458], ecx
jmp 0x100104d1
mov edx, dword [ebp - 0x454]
push edx
call dword [sym.imp.SETUPAPI.dll_SetupDiDestroyDeviceInfoList]
xor eax, eax
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1003e4ab
mov esp, ebp
pop ebp
ret