Function at 0x1400e6030
Capabilities:
Get common file path

Disassembly:
mov dword [rsp + 0x10], edx
mov byte [rsp + 8], cl
sub rsp, 0x308
mov dword [rsp + 0x30], 0xc748d78f
movabs rax, 0x775eef14cb17a8bf
mov qword [rsp + 0x38], rax
mov eax, dword [rsp + 0x318]
mov dword [rsp + 0x7c], eax
cmp dword [rsp + 0x7c], 0x5731cd79
je 0x1400e606d
jmp 0x1400e60ad
movabs rax, 0x44cad70f780e45a
mov rcx, qword [rsp + 0x38]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x38], rax
mov r9d, 0x5f
movzx r8d, byte [rsp + 0x310]
mov dx, 0xc5
movzx ecx, byte [rsp + 0x310]
call fcn.1400e5360
nop
jmp 0x1400e65c0
mov eax, dword [rsp + 0x318]
mov dword [rsp + 0x5c], eax
cmp dword [rsp + 0x5c], 0x36cbaa16
je 0x1400e60d1
cmp dword [rsp + 0x5c], 0x415916f2
je 0x1400e6111
jmp 0x1400e61a1
lea r9, [rsp + 0x50]
mov r8d, 0x31
lea rdx, [rsp + 0x38]
mov rcx, qword [rsp + 0xe8]
call sub.WINSPOOL.DRV_ReadPrinter
mov dword [rsp + 0x50], eax
movabs rax, 0x6ca8e50875b74bc7
mov rcx, qword [rsp + 0x38]
and rcx, rax
mov rax, rcx
mov qword [rsp + 0x38], rax
jmp 0x1400e61a1
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0xa0], rax
movabs rax, 0x31435f02bbaf1e48
cmp qword [rsp + 0xa0], rax
je 0x1400e6148
movabs rax, 0x7d9f0185ce3fa521
cmp qword [rsp + 0xa0], rax
je 0x1400e6172
jmp 0x1400e61a1
lea rdx, [rsp + 0x50]
mov rcx, qword [rsp + 0xf0]
call qword [sym.imp.GDI32.dll_GetBitmapDimensionEx]
mov dword [rsp + 0xb0], eax
mov dx, 0xf2
mov cx, 0x39
call fcn.1400e4fa0
nop
jmp 0x1400e61a1
mov dword [rsp + 0x20], 0x6f
mov r9d, 0xf4
lea r8, [fcn.1400e5ba0]
lea rdx, [rsp + 0x110]
mov rcx, qword [rsp + 0xd8]
call qword [sym.imp.GDI32.dll_EnumFontFamiliesExW]
mov dword [rsp + 0x4c], eax
mov eax, dword [rsp + 0x30]
shl eax, 0x1b
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0x4c]
mov dword [rsp + 0x64], eax
mov eax, dword [rsp + 0x4c]
mov ecx, dword [rsp + 0x64]
xor ecx, eax
mov eax, ecx
cmp eax, dword [rsp + 0x318]
jl 0x1400e659e
mov eax, 0x5ed9
mov word [rsp + 0x48], ax
movabs rax, 0x100b7b2b7b50b533
mov qword [rsp + 0x90], rax
movzx eax, byte [rsp + 0x310]
mov byte [rsp + 0x60], al
cmp byte [rsp + 0x60], 0
je 0x1400e6208
cmp byte [rsp + 0x60], 0xa
je 0x1400e625a
jmp 0x1400e62f6
lea rax, [rsp + 0x30]
mov qword [rsp + 0x40], rax
movzx eax, byte [rsp + 0x310]
mov byte [rsp + 0x80], al
cmp byte [rsp + 0x80], 0x66
je 0x1400e622d
jmp 0x1400e6240
mov rcx, qword [rsp + 0xe0]
call sub.WINSPOOL.DRV_FindClosePrinterChangeNotification
mov dword [rsp + 0x50], eax
jmp 0x1400e6255
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x70], rax
mov eax, dword [rsp + 0x318]
mov dword [rsp + 0x54], eax
jmp 0x1400e62f6
mov eax, dword [rsp + 0x4c]
movzx ecx, al
mov eax, dword [rsp + 0x54]
sar eax, cl
mov ecx, dword [rsp + 0x318]
mov edx, dword [rsp + 0x64]
or edx, ecx
mov ecx, edx
cmp eax, ecx
jge 0x1400e62b4
mov eax, dword [rsp + 0x30]
add eax, 0xd79501a4
mov rcx, qword [rsp + 0x40]
mov dword [rcx], eax
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x20], rax
mov r9d, dword [rsp + 0x30]
mov r8, qword [rsp + 0x70]
movzx edx, byte [rsp + 0x310]
movzx ecx, byte [rsp + 0x310]
call fcn.1400e6be0
nop
movabs rax, 0x4aa3b0b1d2ce5ad6
mov rcx, qword [rsp + 0x90]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x90], rax
lea r8, [rsp + 0x170]
mov edx, 0x38
mov rcx, qword [rsp + 0xf8]
call qword [sym.imp.GDI32.dll_GetTextFaceW]
mov dword [rsp + 0x84], eax
movzx eax, word [rsp + 0x48]
mov word [rsp + 0x78], ax
movsx eax, byte [rsp + 0x310]
cmp eax, 0x51
jne 0x1400e63bd
movsx eax, byte [rsp + 0x310]
and eax, 0xa
cmp eax, 0x79
jl 0x1400e633c
mov eax, dword [rsp + 0x30]
add eax, 0x8449e414
mov rcx, qword [rsp + 0x40]
mov dword [rcx], eax
mov eax, dword [rsp + 0x4c]
mov dword [rsp + 0x318], eax
mov rax, qword [rsp + 0x40]
mov ecx, dword [rsp + 0x30]
mov eax, dword [rax]
sub eax, ecx
mov rcx, qword [rsp + 0x40]
mov dword [rcx], eax
mov eax, dword [rsp + 0x30]
mov dword [rsp + 0x68], eax
cmp dword [rsp + 0x68], 0x1cf15e79
je 0x1400e636e
cmp dword [rsp + 0x68], 0xbfad1229
je 0x1400e63ad
jmp 0x1400e63bd
mov eax, dword [rsp + 0x54]
mov dword [rsp + 0x318], eax
lea r8, [rsp + 0x84]
mov rdx, qword [rsp + 0x100]
mov rcx, qword [rsp + 0x98]
call qword [sym.imp.USERENV.dll_GetUserProfileDirectoryW]
mov dword [rsp + 0x58], eax
mov eax, dword [rsp + 0x30]
sub eax, 0xa0ece458
mov rcx, qword [rsp + 0x40]
mov dword [rcx], eax
jmp 0x1400e63bd
mov rax, qword [rsp + 0x40]
mov eax, dword [rax]
add eax, 0x74e21470
mov dword [rsp + 0x30], eax
mov rax, qword [rsp + 0x40]
mov eax, dword [rax]
mov dword [rsp + 0x6c], eax
cmp dword [rsp + 0x6c], 0x4a3dca6e
je 0x1400e64c0
cmp dword [rsp + 0x6c], 0x78000000
je 0x1400e63e5
jmp 0x1400e64f5
lea rax, [rsp + 0x38]
mov qword [rsp + 0xd0], rax
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0xb8], rax
movabs rax, 0x77d82c17e575ec21
cmp qword [rsp + 0xb8], rax
je 0x1400e6418
jmp 0x1400e64be
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0xc0], rax
movabs rax, 0x454b45a8d8e818a1
cmp qword [rsp + 0xc0], rax
je 0x1400e643b
jmp 0x1400e6497
mov eax, dword [rsp + 0x30]
mov rcx, qword [rsp + 0x40]
mov qword [rsp + 0xc8], rcx
movzx ecx, al
mov rax, qword [rsp + 0xc8]
mov eax, dword [rax]
shr eax, cl
mov rcx, qword [rsp + 0x40]
mov dword [rcx], eax
mov rax, qword [rsp + 0xd0]
mov rax, qword [rax]
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x40]
mov r9d, dword [rax]
mov r8, qword [rsp + 0x38]
movzx edx, byte [rsp + 0x310]
movzx ecx, byte [rsp + 0x310]
call fcn.1400e6be0
nop
jmp 0x1400e64be
lea r9, [rsp + 0x48]
mov r8d, 0x1c
lea rdx, [rsp + 0xd8]
mov rcx, qword [rsp + 0x98]
call sub.WINSPOOL.DRV_WritePrinter
mov dword [rsp + 0x88], eax
jmp 0x1400e64f5
mov eax, dword [rsp + 0x30]
mov ecx, dword [rsp + 0x8c]
or ecx, eax
mov eax, ecx
mov rcx, qword [rsp + 0x40]
mov dword [rcx], eax
mov rcx, qword [rsp + 0x98]
call sub.WINSPOOL.DRV_FindClosePrinterChangeNotification
mov dword [rsp + 0x88], eax
mov eax, dword [rsp + 0x54]
mov dword [rsp + 0x318], eax
mov eax, dword [rsp + 0x30]
shl eax, 0x1b
mov rcx, qword [rsp + 0x40]
mov dword [rcx], eax
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0xa8], rax
movabs rax, 0x27cacf1ffc6e1f81
cmp qword [rsp + 0xa8], rax
je 0x1400e6571
movabs rax, 0x69a80aade11b6d8b
cmp qword [rsp + 0xa8], rax
je 0x1400e653d
jmp 0x1400e6589
mov edx, dword [rsp + 0x4c]
movzx ecx, byte [rsp + 0x310]
call fcn.1400e6030
lea r9, [rsp + 0x50]
mov r8d, 0x8b
lea rdx, [rsp + 0x50]
mov rcx, qword [rsp + 0xe0]
call sub.WINSPOOL.DRV_WritePrinter
mov dword [rsp + 0x58], eax
jmp 0x1400e6589
mov byte [rsp + 0x310], 0x24
mov eax, dword [rsp + 0x30]
xor eax, 0x90989a96
mov rcx, qword [rsp + 0x40]
mov dword [rcx], eax
mov rcx, qword [rsp + 0x108]
call qword [sym.imp.GDI32.dll_GetTextAlign]
mov dword [rsp + 0x8c], eax
mov byte [rsp + 0x310], 3
mov r9w, 0xd8
mov r8b, 0x5c
mov edx, dword [rsp + 0x30]
movzx ecx, byte [rsp + 0x310]
call fcn.1400e5ba0
nop
movabs rax, 0x53d661a174f8283a
mov rcx, qword [rsp + 0x38]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x38], rax
mov edx, dword [rsp + 0x318]
movzx ecx, byte [rsp + 0x310]
call fcn.1400e6030
mov byte [rsp + 0x310], 0x7b
lea r9, [rsp + 0x58]
mov r8d, 0x73
lea rdx, [rsp + 0x38]
mov rcx, qword [rsp + 0x98]
call sub.WINSPOOL.DRV_ReadPrinter
mov dword [rsp + 0x58], eax
mov r9, qword [rsp + 0x38]
mov r8w, 0x38
mov edx, dword [rsp + 0x318]
mov ecx, dword [rsp + 0x318]
call fcn.1400e6650
mov eax, 0x61
add rsp, 0x308
ret