Function at 0x140005670
Capabilities:
Query environment variable
Resume thread

Disassembly:
mov qword [rsp + 0x10], rdx
mov dword [rsp + 8], ecx
sub rsp, 0x4a8
lea rcx, [rsp + 0xc0]
call qword [sym.imp.COMDLG32.dll_ChooseFontW]
mov dword [rsp + 0x50], eax
lea rcx, [rsp + 0x400]
call qword [sym.imp.COMDLG32.dll_GetSaveFileNameW]
mov dword [rsp + 0x68], eax
lea rcx, [rsp + 0x2f0]
call qword [sym.imp.COMDLG32.dll_PrintDlgW]
mov dword [rsp + 0x34], eax
lea rcx, [rsp + 0x130]
call qword [sym.imp.COMDLG32.dll_FindTextW]
mov qword [rsp + 0xa0], rax
mov dword [rsp + 0x4b0], 0x1f22d5e2
lea rcx, [rsp + 0x180]
call qword [sym.imp.COMDLG32.dll_PrintDlgW]
mov dword [rsp + 0x34], eax
lea rcx, [rsp + 0x200]
call qword [sym.imp.COMDLG32.dll_PageSetupDlgW]
mov dword [rsp + 0x3c], eax
mov dword [rsp + 0x4b0], 0x12d21519
mov r8w, 0x66
mov rdx, qword [rsp + 0x90]
mov rcx, qword [rsp + 0x88]
call qword [sym.imp.COMDLG32.dll_GetFileTitleW]
mov word [rsp + 0x30], ax
mov r9d, 0x40
mov r8d, 0xe9
mov edx, 0x31
mov ecx, 0x4e
call fcn.140005990
lea rcx, [rsp + 0x280]
call sub.MAGNIFICATION.dll_MagGetFullscreenColorEffect
mov dword [rsp + 0x34], eax
mov rdx, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_AssignProcessToJobObject]
mov dword [rsp + 0x3c], eax
mov rcx, qword [rsp + 0xa8]
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov dword [rsp + 0x38], eax
lea r9, [rsp + 0x180]
lea r8, [rsp + 0x200]
lea rdx, [rsp + 0xc0]
mov rcx, qword [rsp + 0x80]
call sub.WINSPOOL.DRV_FindNextPrinterChangeNotification
mov dword [rsp + 0x3c], eax
mov dword [rsp + 0x38], 0x77e1
mov dword [rsp + 0x38], 0xc794
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov dword [rsp + 0x44], eax
mov eax, 0xa1
mov word [rsp + 0x30], ax
lea rcx, [rsp + 0x370]
call qword [sym.imp.COMDLG32.dll_PrintDlgExW]
mov dword [rsp + 0x6c], eax
mov ecx, 0xb4
call qword [sym.imp.KERNEL32.dll_SetConsoleOutputCP]
mov dword [rsp + 0x3c], eax
mov rcx, qword [rsp + 0x58]
call sub.WINSPOOL.DRV_AbortPrinter
mov dword [rsp + 0x34], eax
mov ecx, 0xa2
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov qword [rsp + 0x58], rax
mov r8d, 3
mov rdx, qword [rsp + 0xb0]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
mov dword [rsp + 0x40], eax
mov eax, dword [rsp + 0x40]
mov dword [rsp + 0x4c], eax
cmp dword [rsp + 0x4c], 0x2e44
je 0x140005842
cmp dword [rsp + 0x4c], 0x578f
je 0x14000585a
jmp 0x14000590b
mov dword [rsp + 0x4b0], 0x65f3fe06
mov eax, dword [rsp + 0x38]
mov dword [rsp + 0x44], eax
jmp 0x14000590b
mov eax, dword [rsp + 0x44]
mov dword [rsp + 0x40], eax
lea r8, [rsp + 0xc0]
mov edx, 1
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.KERNEL32.dll_SetConsoleWindowInfo]
mov dword [rsp + 0x34], eax
lea rdx, [rsp + 0x130]
mov rcx, qword [rsp + 0x80]
call qword [sym.imp.KERNEL32.dll_SetConsoleCursorInfo]
mov dword [rsp + 0x50], eax
mov eax, dword [rsp + 0x40]
mov dword [rsp + 0x38], eax
movabs rax, 0x74d0229002d263
mov qword [rsp + 0x4b8], rax
mov rdx, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x88]
call qword [sym.imp.KERNEL32.dll_SetVolumeMountPointW]
mov dword [rsp + 0x70], eax
mov dword [rsp + 0x28], 0xe0
mov rax, qword [rsp + 0x98]
mov qword [rsp + 0x20], rax
mov r9d, 0x20
mov r8, qword [rsp + 0x90]
mov edx, 0xd5
mov ecx, 0x1d
call qword [sym.imp.KERNEL32.dll_CompareStringW]
mov dword [rsp + 0x48], eax
mov eax, dword [rsp + 0x48]
mov dword [rsp + 0x4b0], eax
mov eax, 0x273
mov word [rsp + 0x30], ax
mov rdx, qword [rsp + 0x4b8]
mov ecx, dword [rsp + 0x48]
call fcn.140005670
mov r9, qword [rsp + 0xb8]
mov r8, qword [rsp + 0x98]
mov edx, 0x1c
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_GetFullPathNameW]
mov dword [rsp + 0x44], eax
mov eax, dword [rsp + 0x4b0]
mov dword [rsp + 0x48], eax
mov r9d, 6
mov r8d, 0x30
mov edx, 0xac
mov ecx, 0xa4
call fcn.140005990
mov eax, 0x82
add rsp, 0x4a8
ret