Function at 0x10010250
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10058fe3
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0x64
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
movzx eax, byte [ebp + 0x20]
test eax, eax
je 0x1001032c
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x3c], eax
lea eax, [ebp + 0x28]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x30]
movzx eax, byte [eax]
test eax, eax
je 0x10010318
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x28]
movzx eax, byte [eax]
test eax, eax
je 0x100102ef
mov ecx, dword [ebp - 0x24]
call fcn.10014265
movzx eax, al
test eax, eax
jne 0x10010316
push dword [ebp - 0x24]
push 1
push 1
push dword [ebp - 0x54]
push dword [ebp - 0x58]
push 0x4c51
push 0x6b7f
push 1
call fcn.10010144
add esp, 0x20
mov eax, dword [ebp - 0x28]
mov byte [eax], 1
jmp 0x10010327
push 0x11cb
push 0
push 0
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
jmp 0x1001044e
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp + 0x2c]
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x2c], 0x736a
mov dword [ebp - 0x5c], str.fodveaq_cfcxendr_pqt_hgyf_arzilcz_nbyfzc_iefziyfbc_vfhpir_xmjbxg_iwqrzmioj_ubpwmcd_rrnfz_ndgojmf_ehx
cmp dword [ebp - 0x2c], 0x744d
jle 0x100103f2
push 0xb76
call dword [sym.imp.USER32.dll_GetKeyboardType]
and dword [ebp - 0x14], 0
jmp 0x10010371
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0x1df6
jge 0x100103e8
and dword [ebp - 0x18], 0
jmp 0x10010387
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0x7e4f
jge 0x100103e6
and dword [ebp - 0x1c], 0
jmp 0x1001039d
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0x1706
jge 0x100103e4
and dword [ebp - 0x20], 0
jmp 0x100103b3
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0x34c8
jge 0x100103e2
mov eax, dword [ebp - 0x14]
imul eax, dword [ebp - 0x18]
and eax, dword [ebp - 0x1c]
xor eax, dword [ebp - 0x20]
cdq
mov dword [ebp - 0x74], eax
mov dword [ebp - 0x70], edx
push dword [ebp - 0x70]
push dword [ebp - 0x74]
mov ecx, 0x10072098
call fcn.10013ec4
jmp 0x100103ac
jmp 0x10010396
jmp 0x10010380
jmp 0x1001036a
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetCommState]
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x6c], eax
and dword [ebp - 4], 0
cmp dword [ebp - 0x2c], 0x7312
jge 0x10010412
mov edx, dword [ebp - 0x5c]
mov ecx, 0x10072098
call fcn.1001684d
jmp 0x1001042e
or dword [ebp - 4], 0xffffffff
jmp 0x10010438
push dword [ebp - 0x60]
push dword [ebp - 0x64]
push dword [ebp - 0x68]
push dword [ebp - 0x6c]
push 1
call fcn.1000335a
add esp, 0x14
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret