Function at 0x422c23
Capabilities:
Get disk information

Disassembly:
mov eax, 0x430cd1
call fcn.004083b8
sub esp, 0x3e4
push ebx
push esi
push edi
mov edi, ecx
call sym.HPZwis01.exe_public:_unsigned_int___thiscall_CPrinter::HasCard_void_const
test eax, eax
jne 0x422c4b
mov eax, 0x490
jmp 0x422e47
lea ecx, [ebp - 0xa0]
call fcn.00421610
mov dword [ebp - 0xa0], 0x433be0
lea eax, [ebp - 0xa0]
xor esi, esi
push eax
lea ecx, [edi + 0x11c]
mov dword [ebp - 4], esi
call sym.HPZwis01.exe_public:_long_int___thiscall_CPort::GetDevice_class_CPortDeviceObject__const
cmp eax, esi
je 0x422c82
mov esi, eax
jmp 0x422e36
lea ecx, [ebp - 0xc4]
call fcn.00421610
lea eax, [ebp - 0xc4]
mov ecx, edi
push eax
lea eax, [ebp - 0xa0]
push eax
mov byte [ebp - 4], 1
call sym.HPZwis01.exe_public:_char_const____thiscall_CPrinter::GetModelName_void_const
push eax
call fcn.00422ed7
add esp, 0xc
cmp eax, esi
je 0x422cba
mov esi, eax
jmp 0x422e27
mov al, byte [ebp + 0xb]
push esi
lea ecx, [ebp - 0x34]
mov byte [ebp - 0x34], al
call fcn.00403360
lea eax, [ebp - 0x34]
lea ecx, [ebp - 0xc4]
push eax
mov byte [ebp - 4], 2
call fcn.0042194f
cmp eax, esi
je 0x422ce7
mov esi, eax
jmp 0x422e19
mov eax, dword [0x442e20]
mov dword [ebp - 0x10], eax
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
cmp eax, esi
mov dword [ebp - 0x14], eax
je 0x422e14
test byte [ebp - 0x14], 1
je 0x422e05
lea eax, [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
cmp eax, 2
jne 0x422e05
lea ecx, [ebp - 0x58]
call fcn.00421610
mov dword [ebp - 0x58], 0x433bdc
mov al, byte [ebp - 0x10]
lea ecx, [ebp - 0xe0]
mov byte [ebp - 4], 3
mov byte [ebp - 0x1e8], al
call fcn.00421ac8
and byte [ebp - 0x3f0], 0
and byte [ebp - 0x2ec], 0
and byte [ebp - 0x1e7], 0
lea eax, [ebp - 0x58]
lea ecx, [ebp - 0x3f0]
push eax
mov byte [ebp - 4], 4
call fcn.004245ba
test eax, eax
lea ecx, [ebp - 0xe0]
mov byte [ebp - 4], 3
setne bl
call fcn.00421b05
test bl, bl
jne 0x422df9
lea ecx, [ebp - 0x7c]
call fcn.00421610
lea eax, [ebp - 0x7c]
mov ecx, edi
push eax
lea eax, [ebp - 0x58]
push eax
mov byte [ebp - 4], 5
call sym.HPZwis01.exe_public:_char_const____thiscall_CPrinter::GetModelName_void_const
push eax
call fcn.00422ed7
add esp, 0xc
test eax, eax
jne 0x422ded
mov al, byte [ebp + 0xb]
push esi
lea ecx, [ebp - 0x24]
mov byte [ebp - 0x24], al
call fcn.00403360
lea eax, [ebp - 0x24]
lea ecx, [ebp - 0x7c]
push eax
mov byte [ebp - 4], 6
call fcn.0042194f
test eax, eax
jne 0x422ddf
lea eax, [ebp - 0x24]
lea ecx, [ebp - 0x34]
push eax
call fcn.00416196
test eax, eax
je 0x422e58
push 1
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 5
call fcn.00403360
lea ecx, [ebp - 0x7c]
mov byte [ebp - 4], 3
call fcn.00421631
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 2
call fcn.00421631
shr dword [ebp - 0x14], 1
inc byte [ebp - 0x10]
cmp dword [ebp - 0x14], esi
jne 0x422d00
mov esi, 0x490
push 1
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 1
call fcn.00403360
and byte [ebp - 4], 0
lea ecx, [ebp - 0xc4]
call fcn.00421631
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xa0]
call fcn.00421631
mov eax, esi
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 4
mov eax, dword [ebp + 8]
mov cl, byte [ebp - 0x10]
push 1
mov byte [ebp - 4], 5
mov byte [eax], cl
lea ecx, [ebp - 0x24]
call fcn.00403360
lea ecx, [ebp - 0x7c]
mov byte [ebp - 4], 3
call fcn.00421631
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 2
call fcn.00421631
push 1
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 1
call fcn.00403360
and byte [ebp - 4], 0
lea ecx, [ebp - 0xc4]
call fcn.00421631
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xa0]
call fcn.00421631
xor eax, eax
jmp 0x422e47