Function at 0x1800012c4
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r14
lea rbp, [rsp - 0x1a0]
sub rsp, 0x2a0
mov rax, qword [section..data]
xor rax, rsp
mov qword [rbp + 0x190], rax
movss xmm0, dword [0x180018140]
movss xmm1, dword [0x180018144]
xor r14d, r14d
mov rdi, rcx
mov rsi, rdx
lea rcx, [rbp - 0x7e]
xor edx, edx
mov r8d, 0x206
mov qword [rsp + 0x58], r14
movss dword [rsp + 0x70], xmm0
movss dword [rsp + 0x74], xmm1
mov qword [rsp + 0x50], r14
mov qword [rsp + 0x60], r14
mov qword [rsp + 0x48], r14
mov qword [rsp + 0x68], r14
mov qword [rsp + 0x40], r14
mov qword [rsp + 0x38], r14
mov qword [rsp + 0x30], r14
mov qword [rsp + 0x78], r14
mov word [rbp - 0x80], r14w
call fcn.180004800
mov rax, qword [rdi]
lea rdx, [rsp + 0x58]
mov rcx, rdi
call qword [rax + 0x18]
mov ebx, eax
test eax, eax
js 0x1800015c6
mov rax, qword [rdi]
lea r8, [rsp + 0x30]
lea rdx, str._FixedDocumentSequence.fdseq
mov rcx, rdi
call qword [rax + 0x130]
mov ebx, eax
test eax, eax
js 0x1800015c6
mov rax, qword [rdi]
mov rdx, qword [rsp + 0x30]
lea r8, [rsp + 0x50]
mov rcx, rdi
call qword [rax + 0x60]
mov rcx, qword [rsp + 0x30]
mov ebx, eax
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [rsp + 0x30], r14
test ebx, ebx
js 0x1800015c6
mov rax, qword [rdi]
lea r8, [rsp + 0x30]
lea rdx, str._Documents_1_FixedDocument.fdoc
mov rcx, rdi
call qword [rax + 0x130]
mov ebx, eax
test eax, eax
js 0x1800015c6
mov rax, qword [rdi]
mov rdx, qword [rsp + 0x30]
lea r8, [rsp + 0x48]
mov rcx, rdi
call qword [rax + 0x68]
mov rcx, qword [rsp + 0x30]
mov ebx, eax
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [rsp + 0x30], r14
test ebx, ebx
js 0x1800015c6
mov rax, qword [rdi]
lea r8, [rsp + 0x40]
lea rdx, [rsp + 0x70]
mov rcx, rdi
call qword [rax + 0x70]
mov ebx, eax
test eax, eax
js 0x1800015c6
mov rax, qword [rdi]
lea r8, [rsp + 0x30]
lea rdx, str._Documents_1_Pages_1.fpage
mov rcx, rdi
call qword [rax + 0x130]
mov ebx, eax
test eax, eax
js 0x1800015c6
mov rax, qword [rdi]
mov r9, qword [rsp + 0x30]
lea rcx, [rsp + 0x38]
mov qword [rsp + 0x20], rcx
lea rdx, [rsp + 0x70]
xor r8d, r8d
mov rcx, rdi
call qword [rax + 0x78]
mov rcx, qword [rsp + 0x30]
mov ebx, eax
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [rsp + 0x30], r14
test ebx, ebx
js 0x1800015c6
mov rcx, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x50]
mov rax, qword [rcx]
call qword [rax + 0x20]
mov ebx, eax
test eax, eax
js 0x1800015c6
mov rcx, qword [rsp + 0x50]
lea rdx, [rsp + 0x60]
mov rax, qword [rcx]
call qword [rax + 0x30]
mov ebx, eax
test eax, eax
js 0x1800015c6
mov rcx, qword [rsp + 0x60]
mov rdx, qword [rsp + 0x48]
mov rax, qword [rcx]
call qword [rax + 0x40]
mov ebx, eax
test eax, eax
js 0x1800015c6
mov rcx, qword [rsp + 0x48]
lea rdx, [rsp + 0x68]
mov rax, qword [rcx]
call qword [rax + 0x30]
mov ebx, eax
test eax, eax
js 0x1800015c6
mov rcx, qword [rsp + 0x68]
mov rdx, qword [rsp + 0x40]
mov rax, qword [rcx]
call qword [rax + 0x40]
mov ebx, eax
test eax, eax
js 0x1800015c6
mov rcx, qword [rsp + 0x40]
mov rdx, qword [rsp + 0x38]
mov rax, qword [rcx]
call qword [rax + 0x28]
mov ebx, eax
test eax, eax
js 0x1800015c6
mov rcx, qword [rsp + 0x38]
lea rdx, str.en_US
mov rax, qword [rcx]
call qword [rax + 0x70]
mov ebx, eax
test eax, eax
js 0x1800015c6
mov rcx, qword [rsp + 0x38]
lea rdx, [rsp + 0x78]
mov rax, qword [rcx]
call qword [rax + 0x30]
mov ebx, eax
test eax, eax
js 0x1800015c6
mov rcx, qword [rsp + 0x78]
mov rdx, rsi
mov rax, qword [rcx]
call qword [rax + 0x40]
mov ebx, eax
test eax, eax
js 0x1800015c6
lea rax, [rbp - 0x80]
lea edx, [r14 + 0x10]
xor r9d, r9d
xor r8d, r8d
xor ecx, ecx
mov qword [rsp + 0x20], rax
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
mov ebx, eax
test eax, eax
js 0x1800015c6
lea r8, str.SDKSample_FlowText_Output.xps
lea rcx, [rbp - 0x80]
mov edx, 0x104
call section..text
mov ebx, eax
test eax, eax
js 0x1800015c6
mov rcx, qword [rsp + 0x58]
lea rdx, [rbp - 0x80]
mov r9d, 0x80
mov rax, qword [rcx]
xor r8d, r8d
mov dword [rsp + 0x20], r14d
call qword [rax + 0x58]
mov ebx, eax
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x1800015db
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [rsp + 0x58], r14
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x1800015f0
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [rsp + 0x50], r14
mov rcx, qword [rsp + 0x60]
test rcx, rcx
je 0x180001605
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [rsp + 0x60], r14
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x18000161a
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [rsp + 0x48], r14
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x18000162f
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [rsp + 0x68], r14
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x180001644
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [rsp + 0x40], r14
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x180001659
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [rsp + 0x38], r14
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x18000166e
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [rsp + 0x30], r14
mov rcx, qword [rsp + 0x78]
test rcx, rcx
je 0x18000167e
mov rax, qword [rcx]
call qword [rax + 0x10]
mov eax, ebx
mov rcx, qword [rbp + 0x190]
xor rcx, rsp
call fcn.1800047a0
lea r11, [rsp + 0x2a0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret