Function at 0x180012d40
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 [0x180122010]
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 [0x1800e3630]
movdqu xmmword [rbp + 0x10], xmm1
xor esi, esi
mov word [rbp], si
lea rcx, [rbp]
call fcn.1800034f0
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 [0x1800e3630]
movdqa xmmword [rsp + 0x60], xmm1
mov word [rsp + 0x50], si
lea rdx, str..jpeg
lea rcx, [rsp + 0x50]
call fcn.1800034f0
nop
xorps xmm0, xmm0
movdqa xmmword [rbp - 0x80], xmm0
movdqa xmm1, xmmword [0x1800e3630]
movdqa xmmword [rbp - 0x80], xmm1
mov word [rsp + 0x70], si
lea rdx, str..jpg
lea rcx, [rsp + 0x70]
call fcn.1800034f0
nop
xorps xmm0, xmm0
movdqa xmmword [rbp - 0x60], xmm0
movdqa xmm1, xmmword [0x1800e3630]
movdqa xmmword [rbp - 0x60], xmm1
mov word [rbp - 0x70], si
lea rdx, str..jfif
lea rcx, [rbp - 0x70]
call fcn.1800034f0
nop
xorps xmm0, xmm0
movdqa xmmword [rbp - 0x40], xmm0
movdqa xmm1, xmmword [0x1800e3630]
movdqa xmmword [rbp - 0x40], xmm1
mov word [rbp - 0x50], si
lea rdx, str..jpe
lea rcx, [rbp - 0x50]
call fcn.1800034f0
nop
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x20], xmm0
call fcn.180011740
mov qword [rbp + 0x20], rax
lea rdi, [rsp + 0x50]
nop
mov rbx, qword [rbp + 0x20]
mov rdx, rdi
lea rcx, [rbp + 0x20]
call fcn.180011a20
lea r9, [rax + 0x20]
mov qword [rsp + 0x20], rax
mov r8, rbx
lea rdx, [rbp - 8]
lea rcx, [rbp + 0x20]
call fcn.180011a70
add rdi, 0x20
lea rax, [rbp - 0x30]
cmp rdi, rax
jne 0x180012e70
lea r9, [fcn.180003400]
mov edx, 0x20
lea r8d, [rdx - 0x1c]
lea rcx, [rsp + 0x50]
call fcn.1800bb464
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x48], xmm0
movdqa xmm1, xmmword [0x1800e3630]
movdqu xmmword [rbp + 0x48], xmm1
mov word [rbp + 0x38], si
mov rdx, r15
lea rcx, [rbp + 0x38]
call fcn.1800034f0
nop
lea rdx, [rbp + 0x38]
lea rcx, [rbp + 0x58]
call fcn.18001c4f0
nop
lea rcx, [rbp + 0x38]
call fcn.180003470
mov rdi, qword [rbp + 0x68]
mov rbx, rsi
test rdi, rdi
je 0x180012f42
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 0x180012f10
mov rsi, qword [rbp + 0x20]
mov rbx, qword [rsi + 8]
cmp byte [rbx + 0x19], 0
jne 0x180012f90
mov rdi, rsi
lea rcx, [rbx + 0x20]
lea rdx, [rbp + 0x58]
call fcn.1800117f0
test eax, eax
jns 0x180012f6a
mov rbx, qword [rbx + 0x10]
jmp 0x180012f70
mov rdi, rbx
mov rbx, qword [rbx]
cmp byte [rbx + 0x19], 0
je 0x180012f53
cmp rdi, rsi
je 0x180012f90
lea rdx, [rdi + 0x20]
lea rcx, [rbp + 0x58]
call fcn.1800117f0
test eax, eax
jns 0x180013236
cmp qword [0x180125358], 0
je 0x180013240
xor edi, edi
mov qword [rbp - 8], rdi
lea rax, [0x180124f18]
mov qword [rbp - 8], rax
mov rcx, qword [0x180124f18]
test rcx, rcx
je 0x180012fc2
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
nop
mov r8, qword [0x180122068]
test r8, r8
je 0x180012ff3
lea rdx, [0x180122058]
cmp qword [0x180122070], 8
cmovae rdx, qword [0x180122058]
lea rcx, [rbp]
call fcn.180003570
jmp 0x180013095
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 0x180013095
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 0x180013084
mov eax, eax
add rax, rax
cmp rax, 0x412
jae 0x18001339a
mov word [rbp + rax + 0x290], di
lea rdx, [rbp + 0x290]
jmp 0x18001308b
lea rdx, [rbp + 0x80]
lea rcx, [rbp]
call fcn.1800034f0
nop
mov rcx, qword [0x180124f18]
test rcx, rcx
je 0x1800130a7
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov qword [rbp - 8], rdi
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x40], xmm0
movdqa xmm1, xmmword [0x1800e3630]
movdqu xmmword [rsp + 0x40], xmm1
mov word [rsp + 0x30], di
lea rdx, str.2345PdfConverter
lea rcx, [rsp + 0x30]
call fcn.1800034f0
nop
lea r8, [rsp + 0x30]
lea rdx, [rbp]
lea rcx, [rbp - 0x28]
call fcn.18001dd10
mov rbx, rax
lea rax, [rbp]
cmp rax, rbx
je 0x18001311e
lea rcx, [rbp]
call fcn.180003470
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.180003470
nop
lea rcx, [rsp + 0x30]
call fcn.180003470
lea rcx, [rbp]
call fcn.18001c090
test al, al
jne 0x180013148
lea rcx, [rbp]
call fcn.18001c260
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x40], xmm0
movdqa xmm1, xmmword [0x1800e3630]
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.1800034f0
nop
lea r8, [rsp + 0x30]
lea rdx, [rbp]
lea rcx, [rbp - 0x28]
call fcn.18001dd10
mov rbx, rax
lea rax, [rbp]
cmp rax, rbx
je 0x1800131bb
lea rcx, [rbp]
call fcn.180003470
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.180003470
nop
lea rcx, [rsp + 0x30]
call fcn.180003470
lea rcx, [rbp]
call fcn.18001bf90
test al, al
je 0x1800131e5
lea rcx, [rbp]
call fcn.180023500
lea rcx, [rbp + 0x38]
call fcn.1800ba860
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 [0x180125358]
nop
lea rcx, [rbp + 0x38]
cmp eax, 1
jne 0x180013231
call fcn.1800ba8a0
mov ebx, 1
jmp 0x18001334b
call fcn.1800ba8a0
cmp qword [0x180125360], 0
jne 0x18001324a
mov ebx, 1
jmp 0x18001334b
lea rcx, [rbp + 0x38]
call fcn.1800ba860
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 [0x180125360]
mov ebx, eax
lea rcx, [rbp + 0x38]
call fcn.1800ba8a0
test ebx, ebx
jne 0x180013301
mov rcx, qword [0x1801253b0]
test rcx, rcx
je 0x1800132c0
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 [0x1800e3640]
movdqu xmmword [rsp + 0x40], xmm1
mov byte [rsp + 0x30], 0
mov r8d, 6
lea rdx, str.pzh176
lea rcx, [rsp + 0x30]
call fcn.18000b650
nop
lea rcx, [rsp + 0x30]
call fcn.18000e3c0
nop
jmp 0x180013340
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x40], xmm0
movdqa xmm1, xmmword [0x1800e3640]
movdqu xmmword [rsp + 0x40], xmm1
mov byte [rsp + 0x30], 0
mov r8d, 6
lea rdx, str.pzh177
lea rcx, [rsp + 0x30]
call fcn.18000b650
nop
lea rcx, [rsp + 0x30]
call fcn.18000e3c0
nop
lea rcx, [rsp + 0x30]
call fcn.1800054e0
nop
lea rcx, [rbp + 0x58]
call fcn.180003470
nop
lea rcx, [rbp + 0x20]
call fcn.180011630
nop
mov edx, 0x40
mov rcx, qword [rbp + 0x20]
call fcn.1800baa40
nop
lea rcx, [rbp]
call fcn.180003470
mov eax, ebx
mov rcx, qword [rbp + 0x6b0]
xor rcx, rsp
call fcn.1800ba9e0
add rsp, 0x7c0
pop r15
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
call fcn.1800bab7c
nop