Function at 0x180012d00
Capabilities:
Get common file path

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r15
lea rbp, [rsp - 0x6c0]
sub rsp, 0x7c0
mov qword [rbp - 0x30], 0xfffffffffffffffe
mov rax, qword [0x180126050]
xor rax, rsp
mov qword [rbp + 0x6b0], rax
mov r12d, r9d
mov r13, r8
mov r15, rdx
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x10], xmm0
movdqa xmm1, xmmword [0x1800e68a0]
movdqu xmmword [rbp + 0x10], xmm1
xor esi, esi
mov word [rbp], si
lea rcx, [rbp]
call fcn.1800034c0
nop
xor eax, eax
mov qword [rbp + 0x20], rax
mov qword [rbp + 0x28], rax
xorps xmm0, xmm0
movdqa xmmword [rsp + 0x60], xmm0
movdqa xmm1, xmmword [0x1800e68a0]
movdqa xmmword [rsp + 0x60], xmm1
mov word [rsp + 0x50], si
lea rdx, str..jpeg
lea rcx, [rsp + 0x50]
call fcn.1800034c0
nop
xorps xmm0, xmm0
movdqa xmmword [rbp - 0x80], xmm0
movdqa xmm1, xmmword [0x1800e68a0]
movdqa xmmword [rbp - 0x80], xmm1
mov word [rsp + 0x70], si
lea rdx, str..jpg
lea rcx, [rsp + 0x70]
call fcn.1800034c0
nop
xorps xmm0, xmm0
movdqa xmmword [rbp - 0x60], xmm0
movdqa xmm1, xmmword [0x1800e68a0]
movdqa xmmword [rbp - 0x60], xmm1
mov word [rbp - 0x70], si
lea rdx, str..jfif
lea rcx, [rbp - 0x70]
call fcn.1800034c0
nop
xorps xmm0, xmm0
movdqa xmmword [rbp - 0x40], xmm0
movdqa xmm1, xmmword [0x1800e68a0]
movdqa xmmword [rbp - 0x40], xmm1
mov word [rbp - 0x50], si
lea rdx, str..jpe
lea rcx, [rbp - 0x50]
call fcn.1800034c0
nop
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x20], xmm0
call fcn.180011700
mov qword [rbp + 0x20], rax
lea rdi, [rsp + 0x50]
nop
mov rbx, qword [rbp + 0x20]
mov rdx, rdi
lea rcx, [rbp + 0x20]
call fcn.1800119e0
lea r9, [rax + 0x20]
mov qword [rsp + 0x20], rax
mov r8, rbx
lea rdx, [rbp - 8]
lea rcx, [rbp + 0x20]
call fcn.180011a30
add rdi, 0x20
lea rax, [rbp - 0x30]
cmp rdi, rax
jne 0x180012e30
lea r9, [fcn.1800033d0]
mov edx, 0x20
lea r8d, [rdx - 0x1c]
lea rcx, [rsp + 0x50]
call fcn.1800bdcf4
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x48], xmm0
movdqa xmm1, xmmword [0x1800e68a0]
movdqu xmmword [rbp + 0x48], xmm1
mov word [rbp + 0x38], si
mov rdx, r15
lea rcx, [rbp + 0x38]
call fcn.1800034c0
nop
lea rdx, [rbp + 0x38]
lea rcx, [rbp + 0x58]
call fcn.18001c510
nop
lea rcx, [rbp + 0x38]
call fcn.180003440
mov rdi, qword [rbp + 0x68]
mov rbx, rsi
test rdi, rdi
je 0x180012f02
nop dword [rax]
lea rax, [rbp + 0x58]
cmp qword [rbp + 0x70], 8
cmovae rax, qword [rbp + 0x58]
movzx ecx, word [rax + rbx*2]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_towlower]
lea rcx, [rbp + 0x58]
cmp qword [rbp + 0x70], 8
cmovae rcx, qword [rbp + 0x58]
mov word [rcx + rbx*2], ax
inc rbx
cmp rbx, rdi
jb 0x180012ed0
mov rsi, qword [rbp + 0x20]
mov rbx, qword [rsi + 8]
cmp byte [rbx + 0x19], 0
jne 0x180012f50
mov rdi, rsi
lea rcx, [rbx + 0x20]
lea rdx, [rbp + 0x58]
call fcn.1800117b0
test eax, eax
jns 0x180012f2a
mov rbx, qword [rbx + 0x10]
jmp 0x180012f30
mov rdi, rbx
mov rbx, qword [rbx]
cmp byte [rbx + 0x19], 0
je 0x180012f13
cmp rdi, rsi
je 0x180012f50
lea rdx, [rdi + 0x20]
lea rcx, [rbp + 0x58]
call fcn.1800117b0
test eax, eax
jns 0x1800131f6
cmp qword [0x180129388], 0
je 0x180013200
xor edi, edi
mov qword [rbp - 8], rdi
lea rax, [0x180128f58]
mov qword [rbp - 8], rax
mov rcx, qword [0x180128f58]
test rcx, rcx
je 0x180012f82
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
nop
mov r8, qword [0x1801260a8]
test r8, r8
je 0x180012fb3
lea rdx, [0x180126098]
cmp qword [0x1801260b0], 8
cmovae rdx, qword [0x180126098]
lea rcx, [rbp]
call fcn.180003540
jmp 0x180013055
xor edx, edx
mov r8d, 0x20c
lea rcx, [rbp + 0x80]
call sub.VCRUNTIME140.dll_memset
lea rdx, [rbp + 0x80]
mov ecx, 0x105
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
dec eax
cmp eax, 0x103
ja 0x180013055
mov word [rbp + 0x28a], di
xor edx, edx
mov r8d, 0x412
lea rcx, [rbp + 0x290]
call sub.VCRUNTIME140.dll_memset
mov r8d, 0x208
lea rdx, [rbp + 0x290]
lea rcx, [rbp + 0x80]
call qword [sym.imp.KERNEL32.dll_GetLongPathNameW]
lea ecx, [rax - 1]
cmp ecx, 0x207
ja 0x180013044
mov eax, eax
add rax, rax
cmp rax, 0x412
jae 0x18001335a
mov word [rbp + rax + 0x290], di
lea rdx, [rbp + 0x290]
jmp 0x18001304b
lea rdx, [rbp + 0x80]
lea rcx, [rbp]
call fcn.1800034c0
nop
mov rcx, qword [0x180128f58]
test rcx, rcx
je 0x180013067
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov qword [rbp - 8], rdi
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x40], xmm0
movdqa xmm1, xmmword [0x1800e68a0]
movdqu xmmword [rsp + 0x40], xmm1
mov word [rsp + 0x30], di
lea rdx, str.KeanPdfConverter
lea rcx, [rsp + 0x30]
call fcn.1800034c0
nop
lea r8, [rsp + 0x30]
lea rdx, [rbp]
lea rcx, [rbp - 0x28]
call fcn.18001dd60
mov rbx, rax
lea rax, [rbp]
cmp rax, rbx
je 0x1800130de
lea rcx, [rbp]
call fcn.180003440
movups xmm0, xmmword [rbx]
movups xmmword [rbp], xmm0
movups xmm1, xmmword [rbx + 0x10]
movups xmmword [rbp + 0x10], xmm1
mov qword [rbx + 0x10], rdi
mov qword [rbx + 0x18], 7
mov word [rbx], di
lea rcx, [rbp - 0x28]
call fcn.180003440
nop
lea rcx, [rsp + 0x30]
call fcn.180003440
lea rcx, [rbp]
call fcn.18001c0b0
test al, al
jne 0x180013108
lea rcx, [rbp]
call fcn.18001c280
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x40], xmm0
movdqa xmm1, xmmword [0x1800e68a0]
movdqu xmmword [rsp + 0x40], xmm1
mov word [rsp + 0x30], di
lea rdx, str.image_3B226648_8EAC_463F_AF1C_3A1F3DC7A5DD.jpg
lea rcx, [rsp + 0x30]
call fcn.1800034c0
nop
lea r8, [rsp + 0x30]
lea rdx, [rbp]
lea rcx, [rbp - 0x28]
call fcn.18001dd60
mov rbx, rax
lea rax, [rbp]
cmp rax, rbx
je 0x18001317b
lea rcx, [rbp]
call fcn.180003440
movups xmm0, xmmword [rbx]
movups xmmword [rbp], xmm0
movups xmm1, xmmword [rbx + 0x10]
movups xmmword [rbp + 0x10], xmm1
mov qword [rbx + 0x10], rdi
mov qword [rbx + 0x18], 7
mov word [rbx], di
lea rcx, [rbp - 0x28]
call fcn.180003440
nop
lea rcx, [rsp + 0x30]
call fcn.180003440
lea rcx, [rbp]
call fcn.18001bfb0
test al, al
je 0x1800131a5
lea rcx, [rbp]
call fcn.180023540
lea rcx, [rbp + 0x38]
call fcn.1800bc970
nop
lea rdx, [rbp]
cmp qword [rbp + 0x18], 8
cmovae rdx, qword [rbp]
mov dword [rsp + 0x20], 2
mov r9d, dword [rbp + 0x720]
mov r8d, r12d
mov rcx, r15
call qword [0x180129388]
nop
lea rcx, [rbp + 0x38]
cmp eax, 1
jne 0x1800131f1
call fcn.1800bc9b0
mov ebx, 1
jmp 0x18001330b
call fcn.1800bc9b0
cmp qword [0x180129390], 0
jne 0x18001320a
mov ebx, 1
jmp 0x18001330b
lea rcx, [rbp + 0x38]
call fcn.1800bc970
nop
lea rcx, [rbp]
cmp qword [rbp + 0x18], 8
cmovae rcx, qword [rbp]
mov eax, dword [rbp + 0x730]
mov dword [rsp + 0x28], eax
mov eax, dword [rbp + 0x728]
mov dword [rsp + 0x20], eax
mov r9d, dword [rbp + 0x720]
mov r8d, r12d
mov rdx, r13
call qword [0x180129390]
mov ebx, eax
lea rcx, [rbp + 0x38]
call fcn.1800bc9b0
test ebx, ebx
jne 0x1800132c1
mov rcx, qword [0x1801293e0]
test rcx, rcx
je 0x180013280
mov dword [rbp + 0x30], 0x64
mov dword [rbp - 8], 0x64
mov rax, qword [rcx]
lea r8, [rbp + 0x30]
lea rdx, [rbp - 8]
call qword [rax + 0x10]
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x40], xmm0
movdqa xmm1, xmmword [0x1800e68b0]
movdqu xmmword [rsp + 0x40], xmm1
mov byte [rsp + 0x30], 0
mov r8d, 6
lea rdx, str.pzh176
lea rcx, [rsp + 0x30]
call fcn.18000b600
nop
lea rcx, [rsp + 0x30]
call fcn.18000e370
nop
jmp 0x180013300
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x40], xmm0
movdqa xmm1, xmmword [0x1800e68b0]
movdqu xmmword [rsp + 0x40], xmm1
mov byte [rsp + 0x30], 0
mov r8d, 6
lea rdx, str.pzh177
lea rcx, [rsp + 0x30]
call fcn.18000b600
nop
lea rcx, [rsp + 0x30]
call fcn.18000e370
nop
lea rcx, [rsp + 0x30]
call fcn.180005490
nop
lea rcx, [rbp + 0x58]
call fcn.180003440
nop
lea rcx, [rbp + 0x20]
call fcn.1800115f0
nop
mov edx, 0x40
mov rcx, qword [rbp + 0x20]
call fcn.1800bd2d0
nop
lea rcx, [rbp]
call fcn.180003440
mov eax, ebx
mov rcx, qword [rbp + 0x6b0]
xor rcx, rsp
call fcn.1800bd270
add rsp, 0x7c0
pop r15
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
call fcn.1800bd40c
nop