Function at 0x140002d70
Capabilities:
Create process on windows
Delete file
Query environment variable

Disassembly:
mov dword [rsp + 8], ecx
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
mov eax, 0x3630
call fcn.1400035e0
sub rsp, rax
mov qword [rsp + 0xc0], 0xfffffffffffffffe
mov rdi, rdx
lea rcx, [rsp + 0x1450]
call fcn.140001000
nop
mov dword [rsp + 0x3680], 1
lea rax, str.publishpdf.exe
mov qword [rsp + 0x58], rax
xor esi, esi
mov ebx, esi
cmp dword [0x1401ccf64], ebx
jne 0x140002e62
lea rcx, str.CDS_NO_SPBCDSINIT
call qword [sym.imp.MSVCR110.dll_getenv]
test rax, rax
jne 0x140002e62
mov r8d, Ordinal_265
lea rdx, [rsp + 0xd0]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
or r14, 0xffffffffffffffff
test eax, eax
je 0x140002e55
lea rcx, [rsp + 0xd0]
mov rax, r14
nop
lea rax, [rax + 1]
cmp byte [rcx + rax], bl
jne 0x140002e10
lea edx, [rax - 1]
movsxd rax, edx
test edx, edx
js 0x140002e48
movzx ecx, byte [rsp + rax + 0xd0]
cmp cl, 0x5c
je 0x140002e3e
cmp cl, 0x2f
je 0x140002e3e
dec edx
dec rax
jns 0x140002e23
jmp 0x140002e48
movsxd rax, edx
mov byte [rsp + rax + 0xd0], bl
lea rcx, [rsp + 0xd0]
call fcn.140002ac0
mov ebx, 1
mov dword [0x1401ccf64], ebx
jmp 0x140002e66
or r14, 0xffffffffffffffff
lea rdx, [rsp + 0x58]
lea rcx, [rsp + 0x3680]
call qword [sym.imp.cdsCommon64.dll_cdsInit]
cmp ebx, 1
jne 0x140002e83
call fcn.1400029c0
xor r8d, r8d
mov rdx, rdi
lea rcx, [rsp + 0x3670]
call fcn.140003e10
movsd xmm1, qword [str.3333331_]
lea rcx, str.Allegro_Design_Publisher
call fcn.140005050
test eax, eax
je 0x140002eed
call qword [sym.imp.MSVCR110.dll___iob_func]
lea rdx, str.Allegro_Design_Publisher_license_is_not_present.Exiting._n
lea rcx, [rax + 0x60]
call qword [sym.imp.MSVCR110.dll_fprintf]
call qword [sym.imp.MSVCR110.dll___iob_func]
lea rcx, [rax + 0x60]
call qword [sym.imp.MSVCR110.dll_fflush]
nop
lea rcx, [rsp + 0x35f0]
call sub.mfc110.dll_Ordinal_1417
mov eax, 1
jmp 0x14000353a
lea rcx, str.tools_bin_concepthdl.exe
call qword [sym.imp.cdsCommon64.dll_cdsGetInstPath]
mov rbx, rax
test rax, rax
jne 0x140002f11
call qword [sym.imp.MSVCR110.dll___iob_func]
lea rdx, str._nEnvironment_variable_CONCEPT_INST_DIR_not_set._n
jmp 0x140002ebb
mov edx, dword [rsp + 0x3670]
cmp edx, 2
jge 0x140002f27
call fcn.140002530
jmp 0x14000352b
mov r8, rdi
lea rcx, [rsp + 0x1450]
call fcn.1400010b0
test al, al
je 0x140002ed6
lea rcx, [rsp + 0x1450]
call fcn.140001090
lea rdx, str._help
mov rcx, qword [rax]
call qword [sym.imp.MSVCR110.dll__stricmp]
test eax, eax
je 0x140002f1d
lea rcx, [rsp + 0x1450]
call fcn.140001090
lea rdx, str._version
mov rcx, qword [rax]
call qword [sym.imp.MSVCR110.dll__stricmp]
test eax, eax
jne 0x140002f87
call fcn.140002470
jmp 0x14000352b
lea rcx, [rsp + 0x1050]
sub rcx, rbx
movzx eax, byte [rbx]
mov byte [rcx + rbx], al
lea rbx, [rbx + 1]
test al, al
jne 0x140002f92
mov byte [rsp + Ordinal_1111], sil
lea rdx, [rsp + 0x58]
lea rcx, [rsp + 0x3680]
call fcn.140002c90
lea rcx, [rsp + 0x3688]
call qword [sym.imp.mfc110.dll_Ordinal_316]
nop
mov r12d, esi
lea rcx, [rsp + 0x1450]
call fcn.140001060
mov r15, rax
mov byte [rsp + 0x850], r12b
mov rax, rsi
nop word [rax + rax]
movzx ecx, byte [rsp + rax + 0x1050]
mov byte [rsp + rax + 0x850], cl
lea rax, [rax + 1]
test cl, cl
jne 0x140002ff0
lea rax, [rsp + 0x850]
nop
inc r14
cmp byte [rax + r14], r12b
jne 0x140003010
lea rcx, [rsp + 0x1450]
call fcn.140001050
test eax, eax
jle 0x14000321d
nop
lea rdx, str._proj
mov rcx, qword [r15]
call qword [sym.imp.MSVCR110.dll__stricmp]
test eax, eax
jne 0x140003174
mov rbx, qword [r15 + 8]
lea rcx, [rsp + 0x70]
call sub.mfc110.dll_Ordinal_487
nop
xorps xmm0, xmm0
movdqa xmmword [rsp + 0xd0], xmm0
mov qword [rsp + 0xe0], rsi
xor r8d, r8d
lea rdx, [rsp + 0xd0]
mov rcx, rbx
call sub.mfc110.dll_Ordinal_6543
test eax, eax
je 0x1400031e4
lea r8, [rsp + 0x3688]
lea rdx, [rsp + 0x450]
mov rcx, rbx
call fcn.1400018a0
xor r9d, r9d
lea r8, [rsp + 0x340]
mov edx, 0x104
lea rcx, [rsp + 0x450]
call qword [sym.imp.KERNEL32.dll_GetFullPathNameA]
lea rcx, [rsp + 0x1450]
call fcn.140001070
movzx esi, ax
lea rcx, [rsp + 0x1450]
call fcn.1400010a0
mov rdi, rax
lea rcx, [rsp + 0x1450]
call fcn.140001090
mov rbx, rax
lea rcx, [rsp + 0x1450]
call fcn.140001080
mov edx, eax
mov word [rsp + 0x20], si
mov r9, rdi
mov r8, rbx
lea rcx, [rsp + 0x340]
call fcn.140001cb0
test al, al
je 0x1400031b3
mov r8, qword [r15]
movsxd rax, r14d
lea rcx, [rsp + 0x850]
add rcx, rax
lea rdx, [0x1401862b8]
call qword [sym.imp.MSVCR110.dll_sprintf]
add r14d, eax
mov r8, qword [r15 + 8]
add r12d, 2
add r15, 0x10
movsxd rax, r14d
lea rcx, [rsp + 0x850]
add rcx, rax
lea rdx, str.___s_
call qword [sym.imp.MSVCR110.dll_sprintf]
add r14d, eax
lea rcx, [rsp + 0x70]
call sub.mfc110.dll_Ordinal_1111
xor esi, esi
jmp 0x14000319c
mov r8, qword [r15]
inc r12d
add r15, 8
movsxd rax, r14d
lea rcx, [rsp + 0x850]
add rcx, rax
lea rdx, [0x1401862b8]
call qword [sym.imp.MSVCR110.dll_sprintf]
add r14d, eax
lea rcx, [rsp + 0x1450]
call fcn.140001050
cmp r12d, eax
jge 0x14000321d
jmp 0x140003030
call qword [sym.imp.MSVCR110.dll___iob_func]
lea rcx, [rax + 0x60]
lea r8, [rsp + 0x340]
lea rdx, str.Failed_to_create_concept_script__s_nCheck_if_the_path_has_write_permissions._n
call qword [sym.imp.MSVCR110.dll_fprintf]
call qword [sym.imp.MSVCR110.dll___iob_func]
lea rcx, [rax + 0x60]
call qword [sym.imp.MSVCR110.dll_fflush]
jmp 0x1400031ff
call qword [sym.imp.MSVCR110.dll___iob_func]
lea rcx, [rax + 0x60]
mov r8, rbx
lea rdx, str._nFailed_to_open_project_file___s_._n
call qword [sym.imp.MSVCR110.dll_fprintf]
nop
lea rcx, [rsp + 0x70]
call sub.mfc110.dll_Ordinal_1111
nop
lea rcx, [rsp + 0x3688]
call qword [sym.imp.mfc110.dll_Ordinal_1026]
jmp 0x140002ed6
movsxd rax, r14d
lea rcx, [rsp + 0x850]
add rcx, rax
lea r8, [rsp + 0x340]
lea rdx, str.__scr___s_
call qword [sym.imp.MSVCR110.dll_sprintf]
lea rcx, str.CDS_PDF_LOGTRUE
call qword [sym.imp.MSVCR110.dll__putenv]
xor edx, edx
lea r8d, [rdx + 0x68]
lea rcx, [rsp + 0x2d0]
call sub.MSVCR110.dll_memset
mov rax, qword [rsp + 0x3688]
cmp dword [rax - 0x10], 0
je 0x140003305
lea rcx, [rsp + 0x50]
call qword [sym.imp.mfc110.dll_Ordinal_316]
nop
mov qword [rsp + 0x60], rsi
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0x3688]
call qword [sym.imp.KERNEL32.dll_GetFullPathNameA]
mov ebx, eax
mov rdi, qword [rsp + 0x3688]
mov edx, eax
lea rcx, [rsp + 0x50]
call qword [sym.imp.mfc110.dll_Ordinal_4826]
mov r8, rax
lea r9, [rsp + 0x60]
mov edx, ebx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetFullPathNameA]
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x3688]
call qword [sym.imp.mfc110.dll_Ordinal_1495]
xor edx, edx
mov rcx, qword [rsp + 0x3688]
call qword [sym.imp.MSVCR110.dll__access]
cmp eax, 0xffffffff
je 0x1400032fa
mov rcx, qword [rsp + 0x3688]
call qword [sym.imp.MSVCR110.dll__unlink]
nop
lea rcx, [rsp + 0x50]
call qword [sym.imp.mfc110.dll_Ordinal_1026]
lea rcx, str.CDS_NCONCEPTTRUE
call qword [sym.imp.MSVCR110.dll__putenv]
cmp dword [rsp + 0x1450], 1
jne 0x140003329
lea rcx, str.CDS_CONCEPT_DIALOGSOFF
call qword [sym.imp.MSVCR110.dll__putenv]
lea rax, [rsp + 0xa0]
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x2d0]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x30], rsi
mov dword [rsp + 0x28], esi
mov dword [rsp + 0x20], esi
xor r9d, r9d
xor r8d, r8d
lea rdx, [rsp + 0x850]
lea rcx, [rsp + 0x1050]
call qword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x14000320a
call qword [sym.imp.MSVCR110.dll___iob_func]
lea rcx, [rax + 0x30]
lea rdx, str.Please_wait_while_the_PDF_is_generated..__n
call qword [sym.imp.MSVCR110.dll_fprintf]
call qword [sym.imp.MSVCR110.dll___iob_func]
lea rcx, [rax + 0x30]
call qword [sym.imp.MSVCR110.dll_fflush]
cmp dword [rsp + 0x1450], 0
jne 0x1400033d1
call qword [sym.imp.MSVCR110.dll___iob_func]
lea rcx, [rax + 0x30]
lea rdx, [0x140186d54]
call qword [sym.imp.MSVCR110.dll_fprintf]
call qword [sym.imp.MSVCR110.dll___iob_func]
lea rcx, [rax + 0x30]
call qword [sym.imp.MSVCR110.dll_fflush]
mov edx, 0x1f4
mov rcx, qword [rsp + 0xa0]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x1400033a0
cmp byte [rsp + 0x450], al
je 0x1400033ff
lea rcx, [rsp + 0x450]
call qword [sym.imp.MSVCR110.dll_remove]
mov rcx, qword [rsp + 0xa0]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0xa8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x3688]
cmp dword [rcx - 0x10], 0
je 0x1400034f4
xor edx, edx
call qword [sym.imp.MSVCR110.dll__access]
cmp eax, 0xffffffff
je 0x1400034f4
mov qword [rsp + 0x50], rsi
lea rcx, [rsp + 0x60]
call sub.mfc110.dll_Ordinal_319
nop
mov r8d, 0x4000
mov rdx, qword [rsp + 0x3688]
lea rcx, [rsp + 0x70]
call sub.mfc110.dll_Ordinal_953
nop
lea rcx, [rsp + 0x70]
call sub.mfc110.dll_Ordinal_5535
lea rcx, [rax + 1]
call sub.mfc110.dll_Ordinal_265
mov rbx, rax
mov qword [rsp + 0x50], rax
lea rcx, [rsp + 0x70]
call sub.mfc110.dll_Ordinal_5535
mov r8d, eax
mov rdx, rbx
lea rcx, [rsp + 0x70]
call sub.mfc110.dll_Ordinal_11831
cdqe
mov byte [rax + rbx], 0
lea rcx, [rsp + 0x70]
call sub.mfc110.dll_Ordinal_2756
call qword [sym.imp.MSVCR110.dll___iob_func]
lea rcx, [rax + 0x60]
mov r8, rbx
lea rdx, str._n_s_n
call qword [sym.imp.MSVCR110.dll_fprintf]
call qword [sym.imp.MSVCR110.dll___iob_func]
lea rcx, [rax + 0x60]
call qword [sym.imp.MSVCR110.dll_fflush]
mov rcx, rbx
call sub.mfc110.dll_Ordinal_266
nop
lea rcx, [rsp + 0x70]
call sub.mfc110.dll_Ordinal_1415
nop
call sub.mfc110.dll_Ordinal_2301
jmp 0x14000320a
call qword [sym.imp.MSVCR110.dll___iob_func]
lea rcx, [rax + 0x30]
lea rdx, str._nPDF_generated_successfully_n
call qword [sym.imp.MSVCR110.dll_fprintf]
call qword [sym.imp.MSVCR110.dll___iob_func]
lea rcx, [rax + 0x30]
call qword [sym.imp.MSVCR110.dll_fflush]
nop
lea rcx, [rsp + 0x3688]
call qword [sym.imp.mfc110.dll_Ordinal_1026]
nop
lea rcx, [rsp + 0x35f0]
call sub.mfc110.dll_Ordinal_1417
xor eax, eax
add rsp, 0x3630
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
ret