Function at 0x14027a040
Capabilities:
Get common file path

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1f]
sub rsp, 0xe8
mov rax, qword [0x1403e5188]
xor rax, rsp
mov qword [rbp + 0xf], rax
mov rbx, r9
mov r12, r8
mov rsi, rdx
mov rdi, rcx
mov qword [rbp - 0x29], rcx
xor r13d, r13d
test r9, r9
je 0x14027a095
xorps xmm0, xmm0
mov qword [rbp - 0x19], r13
movups xmmword [r9], xmm0
movsd xmm0, qword [rbp - 0x19]
movsd qword [r9 + 0x10], xmm0
mov rcx, rsi
call fcn.14027dda0
test al, al
je 0x14027a0b1
mov rdx, rsi
mov rcx, rdi
call fcn.140030ce0
jmp 0x14027a7f2
mov rdx, r12
lea rcx, [rbp - 0x69]
call fcn.140030ce0
nop
mov rcx, r12
call fcn.14027dda0
test al, al
jne 0x14027a32e
test rbx, rbx
je 0x14027a1c2
mov rdx, rbx
lea rcx, [rbp - 0x49]
call fcn.14027d4e0
nop
mov rax, qword [rbx + 0x10]
test al, 1
je 0x14027a10c
cmp rax, 1
jne 0x14027a0f7
cmp dword [rbx], 0
je 0x14027a10c
mov qword [rsp + 0x20], r13
mov qword [rsp + 0x30], r13
mov qword [rsp + 0x38], 7
jmp 0x14027a121
mov r9, rbx
lea r8, [rbp - 0x49]
mov rdx, r12
lea rcx, [rsp + 0x20]
call fcn.14027a040
nop
lea rcx, [rbp - 0x49]
call fcn.1400376b0
lea rcx, [rbp - 0x69]
call fcn.1400376b0
movups xmm0, xmmword [rsp + 0x20]
movups xmmword [rbp - 0x69], xmm0
movups xmm1, xmmword [rsp + 0x30]
movups xmmword [rbp - 0x59], xmm1
mov rax, qword [rbx + 0x10]
test al, 1
je 0x14027a32e
cmp rax, 1
jne 0x14027a160
cmp dword [rbx], 0
je 0x14027a32e
mov qword [rdi], r13
mov qword [rdi + 0x10], r13
mov qword [rdi + 0x18], 7
mov word [rdi], r13w
mov rdx, qword [rsp + 0x38]
cmp rdx, 8
jb 0x14027a7f2
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14027a1b7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14027a1b7
call qword [0x1402da078]
int3
call fcn.14026f798
nop
jmp 0x14027a7f2
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
mov ebx, eax
mov eax, 1
test ebx, ebx
cmove ebx, eax
mov edx, ebx
mov eax, 2
mul rdx
mov r14, 0xffffffffffffffff
cmovo rax, r14
mov rcx, rax
call fcn.14026fe6c
mov r15, rax
mov qword [rbp - 0x29], rax
mov rdx, rax
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
test eax, eax
jne 0x14027a225
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x14027a225
lea r8, str.boost::filesystem::current_path
xor edx, edx
mov ecx, eax
call fcn.140282b90
mov qword [rsp + 0x20], r13
mov qword [rsp + 0x30], r13
mov qword [rsp + 0x38], 7
mov word [rsp + 0x20], r13w
nop
inc r14
cmp word [r15 + r14*2], 0
jne 0x14027a240
mov r8, r14
mov rdx, r15
lea rcx, [rsp + 0x20]
call fcn.14003fb20
nop
mov rcx, r15
call fcn.14026fe74
nop
xor r9d, r9d
lea r8, [rsp + 0x20]
mov rdx, r12
lea rcx, [rbp - 0x49]
call fcn.14027a040
mov rdx, qword [rbp - 0x51]
cmp rdx, 8
jb 0x14027a2bd
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x69]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14027a2b7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14027a2b7
call qword [0x1402da078]
int3
call fcn.14026f798
nop
movups xmm0, xmmword [rbp - 0x49]
movups xmmword [rbp - 0x69], xmm0
movups xmm1, xmmword [rbp - 0x39]
movups xmmword [rbp - 0x59], xmm1
mov qword [rbp - 0x39], r13
mov qword [rbp - 0x31], 7
mov word [rbp - 0x49], r13w
lea rcx, [rbp - 0x49]
call fcn.1400376b0
nop
mov rdx, qword [rsp + 0x38]
cmp rdx, 8
jb 0x14027a32e
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14027a328
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14027a328
call qword [0x1402da078]
int3
call fcn.14026f798
nop
cmp qword [rsi + 0x10], 0
jne 0x14027a349
movups xmm0, xmmword [rbp - 0x69]
movups xmmword [rdi], xmm0
movups xmm1, xmmword [rbp - 0x59]
movups xmmword [rdi + 0x10], xmm1
jmp 0x14027a7f2
mov qword [rsp + 0x40], r13
mov qword [rbp - 0x79], r13
mov qword [rbp - 0x71], 7
mov word [rsp + 0x40], r13w
mov rcx, rsi
call fcn.1402739a0
test rax, rax
je 0x14027a407
cmp qword [rsi + 0x18], 8
jb 0x14027a380
mov r14, qword [rsi]
mov rbx, r14
jmp 0x14027a386
mov rbx, rsi
mov r14, rsi
mov rcx, rsi
call fcn.1402739a0
lea r8, [r14 + rax*2]
mov qword [rbp - 0x49], r13
mov qword [rbp - 0x39], r13
mov qword [rbp - 0x31], 7
cmp rbx, r8
je 0x14027a3b9
sub r8, rbx
sar r8, 1
mov rdx, rbx
lea rcx, [rbp - 0x49]
call fcn.14003fb20
mov rdx, qword [rbp - 0x71]
cmp rdx, 8
jb 0x14027a498
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14027a3fc
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14027a3fc
call qword [0x1402da078]
int3
call fcn.14026f798
nop
jmp 0x14027a498
lea r14, [rbp - 0x69]
cmp qword [rbp - 0x51], 8
jb 0x14027a41b
mov rbx, qword [rbp - 0x69]
mov r14, rbx
jmp 0x14027a41f
lea rbx, [rbp - 0x69]
lea rcx, [rbp - 0x69]
call fcn.1402739a0
lea r8, [r14 + rax*2]
mov qword [rbp - 0x49], r13
mov qword [rbp - 0x39], r13
mov qword [rbp - 0x31], 7
cmp rbx, r8
je 0x14027a453
sub r8, rbx
sar r8, 1
mov rdx, rbx
lea rcx, [rbp - 0x49]
call fcn.14003fb20
mov rdx, qword [rbp - 0x71]
cmp rdx, 8
jb 0x14027a498
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14027a492
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14027a492
call qword [0x1402da078]
int3
call fcn.14026f798
nop
movups xmm1, xmmword [rbp - 0x39]
movups xmm0, xmmword [rbp - 0x49]
movups xmmword [rbp - 0x79], xmm1
movups xmmword [rsp + 0x40], xmm0
lea rdx, [rbp - 0x29]
mov rcx, rsi
call fcn.140273750
cmp qword [rax + 8], 0
jbe 0x14027a4f3
lea rdx, [rbp - 0x49]
mov rcx, rsi
call fcn.14027f8c0
nop
mov rdx, rax
cmp qword [rax + 0x18], 8
jb 0x14027a4d6
mov rdx, qword [rax]
mov r8, qword [rax + 0x10]
lea rcx, [rsp + 0x40]
call fcn.140042df0
nop
lea rcx, [rbp - 0x49]
call fcn.1400376b0
jmp 0x14027a670
lea rdx, [rbp - 0x29]
lea rcx, [rbp - 0x69]
call fcn.140273750
lea rcx, [rbp - 0x69]
cmp qword [rbp - 0x51], 8
cmovae rcx, qword [rbp - 0x69]
mov rax, qword [rbp - 0x29]
lea rdx, [rcx + rax*2]
mov rax, qword [rbp - 0x21]
lea r8, [rax + rax]
lea rax, [rdx + r8]
mov qword [rsp + 0x20], r13
mov rcx, r13
mov qword [rsp + 0x30], rcx
mov r9d, 7
mov qword [rsp + 0x38], r9
mov word [rsp + 0x20], r13w
cmp rdx, rax
je 0x14027a55c
sar r8, 1
lea rcx, [rsp + 0x20]
call fcn.14003fb20
mov r9, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x30]
lea rdx, [rsp + 0x20]
cmp r9, 8
cmovae rdx, qword [rsp + 0x20]
mov r8, rcx
lea rcx, [rsp + 0x40]
call fcn.140042df0
nop
mov rdx, qword [rsp + 0x38]
cmp rdx, 8
jb 0x14027a5bf
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14027a5b9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14027a5b9
call qword [0x1402da078]
int3
call fcn.14026f798
nop
lea rdx, [rbp - 0x29]
lea rcx, [rbp - 0x69]
call fcn.1402736b0
lea rcx, [rbp - 0x69]
cmp qword [rbp - 0x51], 8
cmovae rcx, qword [rbp - 0x69]
mov rax, qword [rbp - 0x29]
lea rdx, [rcx + rax*2]
mov rax, qword [rbp - 0x21]
lea r8, [rax + rax]
lea rax, [r8 + rdx]
mov qword [rsp + 0x20], r13
mov qword [rsp + 0x30], r13
mov qword [rsp + 0x38], 7
mov word [rsp + 0x20], r13w
cmp rdx, rax
je 0x14027a61a
sar r8, 1
lea rcx, [rsp + 0x20]
call fcn.14003fb20
nop
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x40]
call fcn.140271990
nop
mov rdx, qword [rsp + 0x38]
cmp rdx, 8
jb 0x14027a670
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14027a66a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14027a66a
call qword [0x1402da078]
int3
call fcn.14026f798
nop
lea rdx, [rbp - 0x29]
mov rcx, rsi
call fcn.1402736b0
cmp qword [rsi + 0x18], 8
jb 0x14027a686
mov rsi, qword [rsi]
mov rax, qword [rbp - 0x29]
lea rdx, [rsi + rax*2]
mov rax, qword [rbp - 0x21]
lea r8, [rax + rax]
lea rax, [r8 + rdx]
mov qword [rbp - 0x11], r13
mov r9, r13
mov qword [rbp - 1], r13
mov ecx, 7
mov qword [rbp + 7], rcx
mov word [rbp - 0x11], r13w
cmp rdx, rax
je 0x14027a6cc
sar r8, 1
lea rcx, [rbp - 0x11]
call fcn.14003fb20
mov rcx, qword [rbp + 7]
mov r9, qword [rbp - 1]
test r9, r9
je 0x14027a6e3
lea rdx, [rbp - 0x11]
lea rcx, [rsp + 0x40]
call fcn.140271990
mov rcx, qword [rbp + 7]
movups xmm0, xmmword [rsp + 0x40]
movups xmmword [rdi], xmm0
movups xmm1, xmmword [rbp - 0x79]
movups xmmword [rdi + 0x10], xmm1
mov qword [rbp - 0x79], r13
mov eax, 7
mov qword [rbp - 0x71], rax
mov word [rsp + 0x40], r13w
cmp rcx, 8
jb 0x14027a74a
lea rdx, [rcx*2 + 2]
mov rcx, qword [rbp - 0x11]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14027a740
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14027a740
call qword [0x1402da078]
int3
call fcn.14026f798
nop
mov rax, qword [rbp - 0x71]
mov qword [rbp - 1], r13
mov qword [rbp + 7], 7
mov word [rbp - 0x11], r13w
cmp rax, 8
jb 0x14027a79c
lea rdx, [rax*2 + 2]
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14027a796
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14027a796
call qword [0x1402da078]
int3
call fcn.14026f798
nop
mov qword [rbp - 0x79], r13
mov qword [rbp - 0x71], 7
mov word [rsp + 0x40], r13w
mov rdx, qword [rbp - 0x51]
cmp rdx, 8
jb 0x14027a7f2
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x69]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14027a7ec
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14027a7ec
call qword [0x1402da078]
int3
call fcn.14026f798
nop
mov rax, rdi
mov rcx, qword [rbp + 0xf]
xor rcx, rsp
call fcn.14026fc70
add rsp, 0xe8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret