Function at 0x14023ada0
Capabilities:
Get disk information
Manipulate console buffer

Disassembly:
mov qword [rsp + 0x20], r9
mov byte [rsp + 0x18], r8b
mov dword [rsp + 0x10], edx
mov word [rsp + 8], cx
sub rsp, 0xf8
mov dword [rsp + 0x38], 0xf098b451
movabs rax, 0x7d8203f829152235
mov qword [rsp + 0x50], rax
mov eax, dword [rsp + 0x108]
sub eax, 0x921b2f13
mov dword [rsp + 0x38], eax
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x90], rax
movabs rax, 0x27696ca91bfc40
cmp qword [rsp + 0x90], rax
je 0x14023ae3c
movabs rax, 0x7d8203f829152235
cmp qword [rsp + 0x90], rax
je 0x14023ae18
jmp 0x14023ae5a
movzx eax, word [rsp + 0x100]
mov word [rsp + 0x30], ax
mov rax, qword [rsp + 0x118]
mov qword [rsp + 0x70], rax
mov eax, dword [rsp + 0x38]
mov dword [rsp + 0x3c], eax
jmp 0x14023ae5a
mov rcx, qword [rsp + 0xd0]
call sub.WINSPOOL.DRV_AbortPrinter
mov dword [rsp + 0xa0], eax
mov ecx, dword [rsp + 0x3c]
call fcn.14023a980
nop
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0xb0], rax
movabs rax, 0x241f723160758e0c
cmp qword [rsp + 0xb0], rax
je 0x14023ae7d
jmp 0x14023aec3
movabs rax, 0x3ed6db5953dcec0f
cmp qword [rsp + 0x50], rax
je 0x14023ae99
mov eax, dword [rsp + 0x38]
mov dword [rsp + 0x108], eax
movzx r9d, byte [0x140288008]
movzx r8d, byte [0x140288008]
movzx edx, byte [rsp + 0x110]
movzx ecx, byte [0x140288008]
call fcn.140239e10
nop
jmp 0x14023b224
movzx eax, word [rsp + 0x100]
mov dword [rsp + 0x60], eax
cmp dword [rsp + 0x60], 0
je 0x14023aee2
cmp dword [rsp + 0x60], 0x2ff
je 0x14023af03
jmp 0x14023af4d
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0xb8], rax
mov dword [rsp + 0x34], 0x3c400241
movzx eax, word [rsp + 0x30]
mov word [rsp + 0x48], ax
jmp 0x14023af4d
call qword [sym.imp.KERNEL32.dll_GetConsoleCP]
mov dword [rsp + 0x5c], eax
mov eax, dword [rsp + 0x3c]
mov dword [rsp + 0x5c], eax
mov eax, dword [rsp + 0x108]
mov dword [rsp + 0x78], eax
cmp dword [rsp + 0x78], 0x4b4704cb
je 0x14023af2c
jmp 0x14023af3c
movzx eax, byte [0x140288008]
mov byte [rsp + 0x110], al
jmp 0x14023af4d
lea rdx, [rsp + 0x30]
mov cl, 0xfd
call qword [sym.imp.KERNEL32.dll_GetNumaAvailableMemoryNode]
mov dword [rsp + 0x58], eax
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0xc0], rax
lea rax, [rsp + 0x38]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x40]
mov eax, dword [rax]
mov dword [rsp + 0x7c], eax
cmp dword [rsp + 0x7c], 0x6de4d0ed
je 0x14023af7e
jmp 0x14023b030
movzx eax, word [rsp + 0x48]
movzx ecx, word [rsp + 0x100]
sar eax, cl
movzx ecx, word [rsp + 0x30]
cmp eax, ecx
jne 0x14023b02e
cmp dword [rsp + 0x34], 0x4306deae
jl 0x14023afd6
movabs rax, 0x9a796e48696bf581
mov rcx, qword [rsp + 0x118]
xor rcx, rax
mov rax, rcx
mov qword [rsp + 0x70], rax
mov eax, dword [rsp + 0x38]
mov ecx, dword [rsp + 0x5c]
or ecx, eax
mov eax, ecx
mov rcx, qword [rsp + 0x40]
mov dword [rcx], eax
jmp 0x14023b02e
movzx eax, byte [0x140288008]
mov byte [rsp + 0x80], al
cmp byte [rsp + 0x80], 0x5f
je 0x14023aff0
jmp 0x14023b02e
mov rax, qword [rsp + 0xb8]
mov rcx, qword [rsp + 0xc0]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x40]
mov eax, dword [rax]
add eax, dword [rsp + 0x38]
mov rcx, qword [rsp + 0x40]
mov dword [rcx], eax
lea rcx, str.indifferentCachesCopperplateUnderdog
call qword [sym.imp.KERNEL32.dll_GetDriveTypeW]
mov dword [rsp + 0x3c], eax
jmp 0x14023b062
mov r9, qword [rsp + 0x70]
movzx r8d, byte [0x140288008]
mov rax, qword [rsp + 0x40]
mov edx, dword [rax]
movzx ecx, word [rsp + 0x30]
call fcn.14023ada0
movzx eax, word [rsp + 0x48]
movzx ecx, word [rsp + 0x100]
and eax, ecx
mov word [rsp + 0x30], ax
movzx eax, byte [0x140288008]
mov byte [rsp + 0x64], al
cmp byte [rsp + 0x64], 0xe3
je 0x14023b084
cmp byte [rsp + 0x64], 0x46
je 0x14023b112
jmp 0x14023b18d
mov rax, qword [rsp + 0x40]
mov eax, dword [rax]
mov dword [rsp + 0x84], eax
cmp dword [rsp + 0x84], 0xcbe2554
je 0x14023b0a1
jmp 0x14023b0ba
mov byte [rsp + 0x20], 0x2d
mov r9b, 0xf2
mov r8d, dword [rsp + 0x34]
mov dl, 0x15
mov ecx, dword [rsp + 0x34]
call fcn.14023bc60
nop
call qword [sym.imp.KERNEL32.dll_ConvertFiberToThread]
mov dword [rsp + 0x58], eax
mov eax, dword [rsp + 0x34]
sar eax, 0xf
mov dword [rsp + 0x34], eax
mov eax, dword [rsp + 0x38]
mov dword [rsp + 0x68], eax
cmp dword [rsp + 0x68], 0xa8ab0e0e
je 0x14023b0ed
cmp dword [rsp + 0x68], 0xe34c4033
je 0x14023b103
jmp 0x14023b110
mov rax, qword [rsp + 0x40]
mov ecx, dword [rsp + 0x38]
mov eax, dword [rax]
and eax, ecx
mov rcx, qword [rsp + 0x40]
mov dword [rcx], eax
jmp 0x14023b110
mov eax, dword [rsp + 0x34]
sub eax, 0x7879f31d
mov dword [rsp + 0x34], eax
jmp 0x14023b18d
movsx eax, byte [0x140288008]
add eax, 0x75
movsx ecx, byte [rsp + 0x110]
cmp eax, ecx
jg 0x14023b187
mov rax, qword [rsp + 0x40]
mov ecx, dword [rsp + 0x3c]
mov eax, dword [rax]
or eax, ecx
mov rcx, qword [rsp + 0x40]
mov dword [rcx], eax
lea rdx, [rsp + 0x58]
mov rcx, qword [rsp + 0x98]
call qword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov dword [rsp + 0x58], eax
mov eax, dword [rsp + 0x34]
xor eax, 0x5dd79e64
mov dword [rsp + 0x34], eax
mov eax, dword [rsp + 0x3c]
mov rcx, qword [rsp + 0x40]
mov qword [rsp + 0xc8], rcx
movzx ecx, al
mov rax, qword [rsp + 0xc8]
mov eax, dword [rax]
shl eax, cl
mov rcx, qword [rsp + 0x40]
mov dword [rcx], eax
call fcn.14023a860
nop
movabs rax, 0x1b2244b3b41e5755
mov rcx, qword [rsp + 0x70]
sub rcx, rax
mov rax, rcx
cmp rax, qword [rsp + 0x118]
jb 0x14023b1c9
movabs rax, 0x52dfa624de2c8266
mov rcx, qword [rsp + 0x118]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x70], rax
mov dword [rsp + 0x20], 0x7d
mov r9d, 0x6f
mov r8d, 0xe0
mov edx, 0x2a
mov rcx, qword [rsp + 0x98]
call qword [sym.imp.KERNEL32.dll_LockFile]
mov dword [rsp + 0x88], eax
mov eax, dword [rsp + 0x38]
mov ecx, dword [rsp + 0x3c]
sub ecx, eax
mov eax, ecx
mov rcx, qword [rsp + 0x40]
mov dword [rcx], eax
movzx eax, word [rsp + 0x30]
mov word [rsp + 0x100], ax
call qword [sym.imp.KERNEL32.dll_GetOEMCP]
mov dword [rsp + 0xa4], eax
movabs rax, 0x3ee70d6e4e8435cb
mov rcx, qword [rsp + 0x50]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x50], rax
mov r9d, 0x60
lea r8, [rsp + 0x50]
mov edx, 0x3a
mov rcx, qword [rsp + 0xd8]
call qword [sym.imp.KERNEL32.dll_SetFilePointer]
mov dword [rsp + 0x5c], eax
movzx eax, byte [0x140288008]
mov byte [rsp + 0x6c], al
cmp byte [rsp + 0x6c], 0x24
je 0x14023b27b
cmp byte [rsp + 0x6c], 0x7d
je 0x14023b2d9
jmp 0x14023b2f0
movzx eax, word [rsp + 0x30]
mov word [rsp + 0x100], ax
lea rax, [rsp + 0x30]
mov qword [rsp + 0x20], rax
mov r9d, dword [rsp + 0xa8]
mov r8d, 0x53
mov rdx, qword [rsp + 0xe0]
mov rcx, qword [rsp + 0x98]
call qword [sym.imp.KERNEL32.dll_WriteConsoleOutputCharacterW]
mov dword [rsp + 0x88], eax
movabs rax, 0x7fa17cda9a9b4e62
mov rcx, qword [rsp + 0x50]
and rcx, rax
mov rax, rcx
mov qword [rsp + 0x50], rax
jmp 0x14023b2f0
mov edx, 0x52
mov ecx, 0xbf
call qword [sym.imp.KERNEL32.dll_GenerateConsoleCtrlEvent]
mov dword [rsp + 0xac], eax
movsx eax, byte [0x140288008]
add rsp, 0xf8
ret