Function at 0x14010adc0
Capabilities:
Get common file path

Disassembly:
sub rsp, 0x178
mov dword [rsp + 0x48], 0x8cb5496a
mov eax, 0x117d
mov word [rsp + 0x60], ax
mov byte [rsp + 0x30], 0x79
mov eax, dword [rsp + 0x48]
sub eax, 0xe4e18b1b
mov dword [rsp + 0x48], eax
mov eax, dword [rsp + 0x48]
mov dword [rsp + 0xb4], eax
cmp dword [rsp + 0xb4], 0xa7d3be4f
je 0x14010ae05
jmp 0x14010ae68
movzx eax, byte [rsp + 0x30]
mov byte [rsp + 0xb8], al
cmp byte [rsp + 0xb8], 0x79
je 0x14010ae1d
jmp 0x14010ae54
movabs rax, 0x7474ece7f62f4991
mov qword [rsp + 0x70], rax
mov eax, 0x828
mov word [rsp + 0x34], ax
mov eax, 0x26d1
mov word [rsp + 0x3c], ax
mov eax, dword [rsp + 0x48]
mov dword [rsp + 0x4c], eax
lea rax, [rsp + 0x34]
mov qword [rsp + 0x68], rax
jmp 0x14010ae66
movzx eax, word [rsp + 0x34]
add eax, 0x793
mov rcx, qword [rsp + 0x68]
mov word [rcx], ax
jmp 0x14010ae9d
lea r9, [rsp + 0x70]
mov r8d, 0xd0
mov rdx, qword [rsp + 0xc0]
mov rcx, qword [rsp + 0xd8]
call sub.WINSPOOL.DRV_SetPortW
mov dword [rsp + 0x84], eax
mov edx, dword [rsp + 0x4c]
mov ecx, dword [rsp + 0x48]
call fcn.14010b570
nop
movsx eax, word [rsp + 0x3c]
cmp eax, 0x2a15
jg 0x14010b490
lea rax, [rsp + 0x30]
mov qword [rsp + 0x58], rax
mov dword [rsp + 0x40], 0x618437f9
lea rax, [rsp + 0x40]
mov qword [rsp + 0x50], rax
movabs rax, 0x9effe6f1e8326cd3
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0x50]
mov eax, dword [rax]
mov dword [rsp + 0x90], eax
cmp dword [rsp + 0x90], 0x618437f9
je 0x14010aef8
jmp 0x14010b293
lea rax, [rsp + 0x34]
mov qword [rsp + 0xa8], rax
mov byte [rsp + 0x44], 0x3f
mov rax, qword [rsp + 0x58]
movsx eax, byte [rax]
sar eax, 0x49
movsx ecx, byte [rsp + 0x30]
cmp eax, ecx
jg 0x14010b188
mov rax, qword [rsp + 0x58]
movsx eax, byte [rax]
sub eax, 5
movsx ecx, byte [rsp + 0x30]
cmp eax, ecx
jne 0x14010afa3
mov rax, qword [rsp + 0x50]
mov eax, dword [rax]
add eax, dword [rsp + 0x40]
mov rcx, qword [rsp + 0x50]
mov dword [rcx], eax
movabs rax, 0x53ee7142385c0751
mov rcx, qword [rsp + 0x78]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x78], rax
lea r8, [rsp + 0x100]
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0xc0]
call qword [sym.imp.ole32.dll_CoFileTimeToDosDateTime]
mov dword [rsp + 0x84], eax
mov rax, qword [rsp + 0xa8]
movzx eax, word [rax]
movzx ecx, word [rsp + 0x34]
sub eax, ecx
mov rcx, qword [rsp + 0x68]
mov word [rcx], ax
jmp 0x14010b0f3
movzx eax, byte [rsp + 0x44]
mov byte [rsp + 0x38], al
mov rax, qword [rsp + 0xa8]
movzx eax, word [rax]
mov rcx, qword [rsp + 0x68]
movzx ecx, word [rcx]
add eax, ecx
movzx ecx, word [rsp + 0x34]
cmp eax, ecx
jne 0x14010b0e6
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0xc8], rax
movabs rax, 0x5cd9ac04733ae7dc
cmp qword [rsp + 0xc8], rax
je 0x14010b00c
movabs rax, 0xc4f95dd9d603927f
cmp qword [rsp + 0xc8], rax
je 0x14010b0bf
jmp 0x14010b0e6
mov eax, dword [rsp + 0x40]
cdq
mov ecx, 0x7175588c
idiv ecx
mov rcx, qword [rsp + 0x50]
cmp eax, dword [rcx]
jne 0x14010b03f
mov rax, qword [rsp + 0x58]
movsx eax, byte [rax]
shl eax, 7
mov byte [rsp + 0x30], al
movsx eax, byte [rsp + 0x30]
or eax, 0x31
mov rcx, qword [rsp + 0x58]
mov byte [rcx], al
mov rax, qword [rsp + 0x50]
mov eax, dword [rax]
sar eax, 9
mov dword [rsp + 0x40], eax
lea r9, [rsp + 0x3c]
lea r8, [rsp + 0x34]
lea rdx, str.Blacked_disfigured
lea rcx, [rsp + 0x70]
call qword [sym.imp.ole32.dll_MkParseDisplayName]
mov dword [rsp + 0x94], eax
movzx eax, word [rsp + 0x34]
mov rcx, qword [rsp + 0xa8]
movzx ecx, word [rcx]
xor eax, ecx
mov rcx, qword [rsp + 0x68]
mov word [rcx], ax
mov rax, qword [rsp + 0x50]
mov edx, dword [rax]
movzx ecx, byte [rsp + 0x38]
call fcn.14010a6a0
mov eax, dword [rsp + 0x64]
mov ecx, dword [rsp + 0x48]
and ecx, eax
mov eax, ecx
mov dword [rsp + 0x4c], eax
mov rax, qword [rsp + 0x50]
mov eax, dword [rax]
add eax, dword [rsp + 0x40]
mov rcx, qword [rsp + 0x50]
mov dword [rcx], eax
jmp 0x14010b0e6
movzx r8d, byte [rsp + 0x38]
mov rdx, qword [rsp + 0x70]
movzx ecx, byte [rsp + 0x44]
call fcn.14010bf30
lea rcx, [rsp + 0x40]
call qword [sym.imp.ole32.dll_CoGetContextToken]
mov dword [rsp + 0x94], eax
lea rax, [rsp + 0x38]
mov qword [rsp + 0x110], rax
movsx eax, word [rsp + 0x3c]
sub eax, 0x61c4
mov word [rsp + 0x60], ax
movsx eax, word [rsp + 0x3c]
mov dword [rsp + 0x98], eax
cmp dword [rsp + 0x98], 0x26d1
je 0x14010b11d
jmp 0x14010b153
lea rax, [rsp + 0x30]
mov qword [rsp + 0x118], rax
lea rax, [rsp + 0x34]
mov qword [rsp + 0x120], rax
movzx eax, word [rsp + 0x60]
mov word [rsp + 0xb0], ax
lea rax, [rsp + 0x48]
mov qword [rsp + 0x128], rax
jmp 0x14010b188
mov rax, qword [rsp + 0x50]
mov edx, dword [rax]
movzx ecx, byte [rsp + 0x38]
call fcn.14010a6a0
lea r9, [rsp + 0x40]
lea r8, [rsp + 0x34]
mov edx, 0xdf
mov rcx, qword [rsp + 0x130]
call qword [sym.imp.ole32.dll_IsAccelerator]
mov dword [rsp + 0x84], eax
mov eax, dword [rsp + 0x48]
movzx ecx, al
mov eax, dword [rsp + 0x4c]
shl eax, cl
cmp eax, dword [rsp + 0x64]
jae 0x14010b1e8
mov rax, qword [rsp + 0x58]
movsx eax, byte [rax]
movsx ecx, byte [rsp + 0x30]
and eax, ecx
mov rcx, qword [rsp + 0x58]
mov byte [rcx], al
xor r8d, r8d
mov edx, 1
lea rcx, [rsp + 0xc0]
call qword [sym.imp.ole32.dll_CoLockObjectExternal]
mov dword [rsp + 0xf0], eax
mov r9, qword [rsp + 0x70]
mov r8, qword [rsp + 0x70]
movzx edx, word [rsp + 0x3c]
movzx ecx, word [rsp + 0x3c]
call fcn.14010c380
nop
movzx eax, byte [rsp + 0x30]
mov byte [rsp + 0x9c], al
cmp byte [rsp + 0x9c], 0x6f
je 0x14010b200
jmp 0x14010b257
mov eax, dword [rsp + 0x40]
add eax, 0x2b1d50d6
mov rcx, qword [rsp + 0x50]
mov dword [rcx], eax
lea r8, [rsp + 0x50]
lea rdx, [rsp + 0x150]
lea rcx, [rsp + 0x3c]
call qword [sym.imp.ole32.dll_CoUnmarshalInterface]
mov dword [rsp + 0xe8], eax
mov rax, qword [rsp + 0x50]
mov eax, dword [rax]
sub eax, 0x5291eb67
mov dword [rsp + 0x40], eax
mov rax, qword [rsp + 0x58]
movsx eax, byte [rax]
movsx ecx, byte [rsp + 0x30]
add eax, ecx
mov rcx, qword [rsp + 0x58]
mov byte [rcx], al
jmp 0x14010b28e
lea rax, [rsp + 0x100]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x160]
lea r8, [rsp + 0xa0]
mov edx, 0xbb
lea rcx, [rsp + 0x100]
call qword [sym.imp.ole32.dll_CoGetClassObject]
mov dword [rsp + 0xec], eax
jmp 0x14010b38a
movabs rax, 0xc80b591e5b424135
cmp qword [rsp + 0x78], rax
ja 0x14010b35a
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0xd0], rax
movabs rax, 0x39f59546d27b2b87
cmp qword [rsp + 0xd0], rax
je 0x14010b2df
movabs rax, 0x75e452ba715eeec8
cmp qword [rsp + 0xd0], rax
je 0x14010b333
jmp 0x14010b358
mov eax, dword [rsp + 0x40]
sub eax, 0x3ffd0320
mov rcx, qword [rsp + 0x50]
mov dword [rcx], eax
mov byte [rsp + 0x20], 1
mov r9, qword [rsp + 0x70]
mov r8, qword [rsp + 0x78]
mov rdx, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x70]
call fcn.14010ba60
mov eax, dword [rsp + 0x64]
mov ecx, dword [rsp + 0x4c]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x48], eax
mov rax, qword [rsp + 0x50]
mov ecx, dword [rsp + 0x40]
mov eax, dword [rax]
or eax, ecx
mov rcx, qword [rsp + 0x50]
mov dword [rcx], eax
jmp 0x14010b358
lea r8, [rsp + 0xc0]
mov rdx, qword [rsp + 0xd8]
mov rcx, qword [rsp + 0xf8]
call qword [sym.imp.USERENV.dll_GetUserProfileDirectoryW]
mov dword [rsp + 0x80], eax
jmp 0x14010b38a
movzx eax, word [rsp + 0x34]
sub eax, 0x2cb
mov rcx, qword [rsp + 0x68]
movzx ecx, word [rcx]
cmp eax, ecx
je 0x14010b38a
movabs rax, 0x6bd6d09d3d122879
mov rcx, qword [rsp + 0x78]
xor rcx, rax
mov rax, rcx
mov qword [rsp + 0x78], rax
mov eax, dword [rsp + 0x40]
xor eax, 0x228eec8a
mov rcx, qword [rsp + 0x50]
mov dword [rcx], eax
mov eax, dword [rsp + 0x4c]
mov dword [rsp + 0x88], eax
cmp dword [rsp + 0x88], 0x8aa1e6de
je 0x14010b46e
cmp dword [rsp + 0x88], 0xeda4899e
je 0x14010b3c8
jmp 0x14010b490
movzx eax, word [rsp + 0x34]
sar eax, 0x47
mov rcx, qword [rsp + 0x68]
movzx ecx, word [rcx]
cmp eax, ecx
jge 0x14010b46c
mov eax, dword [rsp + 0x48]
mov ecx, dword [rsp + 0x64]
sub ecx, eax
mov eax, ecx
mov dword [rsp + 0x4c], eax
lea rax, [rsp + 0xd8]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x32
lea r9, [rsp + 0x58]
mov r8d, 0x4c
mov edx, 0x7e
mov rcx, qword [rsp + 0xf8]
call sub.WINSPOOL.DRV_GetJobW
mov dword [rsp + 0xa0], eax
movsx eax, byte [rsp + 0x30]
add eax, 0x31
mov rcx, qword [rsp + 0x58]
mov byte [rcx], al
mov rax, qword [rsp + 0x68]
movzx eax, word [rax]
and eax, 0x771
mov word [rsp + 0x34], ax
mov edx, dword [rsp + 0x40]
mov cl, 0x87
call fcn.14010a6a0
movsx eax, byte [rsp + 0x30]
add eax, 0x4e
mov rcx, qword [rsp + 0x58]
mov byte [rcx], al
mov eax, dword [rsp + 0x4c]
mov dword [rsp + 0x64], eax
jmp 0x14010b490
lea r8, [rsp + 0x58]
mov rdx, qword [rsp + 0x138]
mov rcx, qword [rsp + 0xe0]
call qword [sym.imp.USERENV.dll_GetUserProfileDirectoryW]
mov dword [rsp + 0x80], eax
movzx eax, byte [rsp + 0x30]
mov byte [rsp + 0x8c], al
cmp byte [rsp + 0x8c], 0x2f
je 0x14010b4b5
cmp byte [rsp + 0x8c], 0x43
je 0x14010b52d
jmp 0x14010b554
mov rax, qword [rsp + 0x68]
movzx eax, word [rax]
movzx ecx, word [rsp + 0x34]
and eax, ecx
mov rcx, qword [rsp + 0x68]
mov word [rcx], ax
lea rax, [rsp + 0x34]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0xe0]
mov qword [rsp + 0x20], rax
mov r9d, 0x61
lea r8, [rsp + 0x4c]
mov rdx, qword [rsp + 0x140]
mov rcx, qword [rsp + 0xe0]
call sub.WINSPOOL.DRV_EnumPrinterDataExW
mov dword [rsp + 0x64], eax
movsx eax, word [rsp + 0x3c]
shl eax, 5
mov word [rsp + 0x3c], ax
call fcn.14010adc0
movzx eax, word [rsp + 0x34]
or eax, 0xccd
mov rcx, qword [rsp + 0x68]
mov word [rcx], ax
jmp 0x14010b554
mov r9d, 0xd5
lea r8, [rsp + 0x80]
mov edx, 0xb0
mov rcx, qword [rsp + 0x148]
call sub.WINSPOOL.DRV_SetPrinterW
mov dword [rsp + 0x80], eax
mov eax, 0x66
add rsp, 0x178
ret