Function at 0x1800121d0
Capabilities:
Get common file path
Set current directory

Disassembly:
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x4f0]
sub rsp, 0x5f0
mov qword [rbp - 0x60], 0xfffffffffffffffe
mov qword [rsp + 0x620], rbx
mov rax, qword [0x180122010]
xor rax, rsp
mov qword [rbp + 0x4e0], rax
mov r14, r8
mov rbx, rdx
mov edi, 1
lea rcx, [rbp + 0x288]
call fcn.1800b9750
nop
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x50], xmm0
movdqa xmm1, xmmword [0x1800e3630]
movdqu xmmword [rsp + 0x50], xmm1
xor r15d, r15d
mov word [rsp + 0x40], r15w
lea rdx, str.caj2pdf.exe
lea rcx, [rsp + 0x40]
call fcn.1800034f0
nop
lea r8, [rsp + 0x40]
lea rdx, [rbp + 0x288]
lea rcx, [rbp + 0x268]
call fcn.18001dd10
nop
lea rcx, [rsp + 0x40]
call fcn.180003470
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x70], xmm0
movdqa xmm1, xmmword [0x1800e3630]
movdqu xmmword [rsp + 0x70], xmm1
mov word [rsp + 0x60], r15w
lea rdx, str.mutool.exe
lea rcx, [rsp + 0x60]
call fcn.1800034f0
nop
lea r8, [rsp + 0x60]
lea rdx, [rbp + 0x288]
lea rcx, [rbp + 0x2a8]
call fcn.18001dd10
nop
lea rcx, [rsp + 0x60]
call fcn.180003470
lea rcx, [rbp + 0x268]
call fcn.18001bf90
test al, al
je 0x1800125d6
lea rcx, [rbp + 0x2a8]
call fcn.18001bf90
test al, al
je 0x1800125d6
xor edx, edx
mov r8d, 0x20a
lea rcx, [rbp + 0x2d0]
call sub.VCRUNTIME140.dll_memset
lea rdx, [rbp + 0x2d0]
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
xor eax, eax
mov qword [rbp + 0x238], rax
mov qword [rbp + 0x240], rax
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x238], xmm0
lea rdx, [rbp + 0x20]
lea rax, [rbp + 0x2d0]
lea ecx, [rdi + 3]
nop
movups xmm0, xmmword [rax]
movups xmmword [rdx], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rdx + 0x10], xmm1
movups xmm0, xmmword [rax + 0x20]
movups xmmword [rdx + 0x20], xmm0
movups xmm1, xmmword [rax + 0x30]
movups xmmword [rdx + 0x30], xmm1
movups xmm0, xmmword [rax + 0x40]
movups xmmword [rdx + 0x40], xmm0
movups xmm1, xmmword [rax + 0x50]
movups xmmword [rdx + 0x50], xmm1
movups xmm0, xmmword [rax + 0x60]
movups xmmword [rdx + 0x60], xmm0
lea rdx, [rdx + 0x80]
movups xmm1, xmmword [rax + 0x70]
movups xmmword [rdx - 0x10], xmm1
lea rax, [rax + 0x80]
sub rcx, 1
jne 0x180012340
mov rcx, qword [rax]
mov qword [rdx], rcx
movzx ecx, word [rax + 8]
mov word [rdx + 8], cx
lea r8, [rbp + 0x20]
lea rcx, [rbp + 0x238]
call fcn.180012630
nop
lea rcx, [rbp - 0x48]
call fcn.1800b9550
nop
cmp qword [rax + 0x18], 8
jb 0x1800123c5
mov rax, qword [rax]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
nop
lea rcx, [rbp - 0x48]
call fcn.180003470
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x258], xmm0
movdqa xmm1, xmmword [0x1800e3630]
movdqu xmmword [rbp + 0x258], xmm1
mov word [rbp + 0x248], r15w
lea rdx, [0x1800d8b74]
lea rcx, [rbp + 0x248]
call fcn.1800034f0
nop
mov r8d, 9
lea rdx, str._convert
lea rcx, [rbp + 0x248]
call fcn.1800036c0
mov r8d, 4
lea rdx, [0x1800d9648]
lea rcx, [rbp + 0x248]
call fcn.1800036c0
mov r8, rdi
lea rdx, [0x1800d9654]
mov rcx, rax
call fcn.1800036c0
mov rsi, 0xffffffffffffffff
mov r8, rsi
nop dword [rax]
inc r8
cmp word [r14 + r8*2], 0
jne 0x180012460
mov rdx, r14
mov rcx, rax
call fcn.1800036c0
mov r8, rdi
lea rdx, [0x1800d9654]
mov rcx, rax
call fcn.1800036c0
mov r8d, 2
lea rdx, [0x1800d9658]
lea rcx, [rbp + 0x248]
call fcn.1800036c0
mov r8, rsi
inc r8
cmp word [rbx + r8*2], 0
jne 0x1800124a4
mov rdx, rbx
mov rcx, rax
call fcn.1800036c0
mov r8, rdi
lea rdx, [0x1800d9654]
mov rcx, rax
call fcn.1800036c0
mov dword [rbp + 0x234], r15d
mov dword [rbp + 0x230], r15d
lea rax, [rbp - 0x28]
mov qword [rbp - 0x58], rax
lea rax, [rbp - 8]
mov qword [rbp - 0x50], rax
lea rdx, [rbp + 0x248]
lea rcx, [rbp - 0x28]
call fcn.180005300
mov rbx, rax
lea rdx, [rbp + 0x268]
lea rcx, [rbp - 8]
call fcn.180005300
nop
lea rcx, [rbp + 0x230]
mov qword [rsp + 0x30], rcx
lea rcx, [rbp + 0x234]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], 0x8000000
xor r9d, r9d
mov r8b, 1
mov rdx, rbx
mov rcx, rax
call fcn.1800b8ed0
cmp dword [rbp + 0x230], 0
jne 0x18001258a
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x70], xmm0
movdqa xmm1, xmmword [0x1800e3630]
movdqu xmmword [rbp - 0x70], xmm1
mov word [rbp - 0x80], r15w
mov rdx, r14
lea rcx, [rbp - 0x80]
call fcn.1800034f0
nop
lea rcx, [rbp - 0x80]
call fcn.18001bf90
movzx ebx, al
lea rcx, [rbp - 0x80]
call fcn.180003470
test bl, bl
cmovne edi, r15d
lea rcx, [rbp + 0x248]
call fcn.180003470
nop
mov rcx, qword [rbp + 0x240]
test rcx, rcx
je 0x1800125d6
mov eax, esi
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x1800125d6
mov rbx, qword [rbp + 0x240]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
lock xadd dword [rbx + 0xc], esi
cmp esi, 1
jne 0x1800125d6
mov rcx, qword [rbp + 0x240]
mov rax, qword [rcx]
call qword [rax + 8]
nop
lea rcx, [rbp + 0x2a8]
call fcn.180003470
nop
lea rcx, [rbp + 0x268]
call fcn.180003470
nop
lea rcx, [rbp + 0x288]
call fcn.180003470
mov eax, edi
mov rcx, qword [rbp + 0x4e0]
xor rcx, rsp
call fcn.1800ba9e0
mov rbx, qword [rsp + 0x620]
add rsp, 0x5f0
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret