Function at 0x1402d1230
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 - 0x68]
sub rsp, 0x168
mov rax, qword [0x1404e6228]
xor rax, rsp
mov qword [rbp + 0x58], rax
mov rdi, r9
mov r12, r8
mov r15, rdx
mov r14, rcx
mov qword [rsp + 0x28], rcx
xor r13d, r13d
mov ebx, r13d
mov dword [rsp + 0x20], ebx
test r9, r9
je 0x1402d1289
mov dword [r9], r13d
mov byte [r9 + 4], bl
lea rax, [0x14031ad80]
mov qword [r9 + 8], rax
mov rdx, r12
lea rcx, [rsp + 0x38]
call fcn.1402ce0d0
nop
mov rcx, r12
call fcn.1402d2570
test al, al
jne 0x1402d14fd
test rdi, rdi
je 0x1402d1388
mov rdx, rdi
lea rcx, [rsp + 0x78]
call fcn.1402d2480
nop
cmp byte [rdi + 4], 0
je 0x1402d12d9
mov qword [rsp + 0x58], r13
mov qword [rsp + 0x68], r13
mov qword [rsp + 0x70], 7
jmp 0x1402d12ee
mov r9, rdi
lea r8, [rsp + 0x78]
mov rdx, r12
lea rcx, [rsp + 0x58]
call fcn.1402d1230
mov ebx, 6
mov dword [rsp + 0x20], ebx
lea rcx, [rsp + 0x78]
call fcn.1400e1140
lea rcx, [rsp + 0x38]
call fcn.1400e1140
movups xmm0, xmmword [rsp + 0x58]
movups xmmword [rsp + 0x38], xmm0
movups xmm1, xmmword [rsp + 0x68]
movups xmmword [rsp + 0x48], xmm1
cmp byte [rdi + 4], 0
je 0x1402d14fd
mov qword [r14], r13
mov qword [r14 + 0x10], r13
mov qword [r14 + 0x18], 7
mov word [r14], r13w
mov rdx, qword [rsp + 0x70]
cmp rdx, 8
jb 0x1402d18da
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1402d137d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1402d1903
call fcn.1401a66fc
nop
jmp 0x1402d18da
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 ecx, ebx
mov eax, 2
mul rcx
mov rdi, 0xffffffffffffffff
cmovo rax, rdi
mov rcx, rax
call fcn.1401a6a04
mov rsi, rax
mov qword [rsp + 0x30], rax
mov rdx, rax
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
test eax, eax
jne 0x1402d13ec
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x1402d13ec
lea r8, str.boost::filesystem::current_path
xor edx, edx
mov ecx, eax
call fcn.1402d3cb0
mov qword [rsp + 0x58], r13
mov qword [rsp + 0x68], r13
mov qword [rsp + 0x70], 7
mov word [rsp + 0x58], r13w
inc rdi
cmp word [rsi + rdi*2], 0
jne 0x1402d1405
mov r8, rdi
mov rdx, rsi
lea rcx, [rsp + 0x58]
call fcn.1402ce6c0
nop
mov rcx, rsi
call fcn.1401a66fc
nop
xor r9d, r9d
lea r8, [rsp + 0x58]
mov rdx, r12
lea rcx, [rsp + 0x78]
call fcn.1402d1230
mov ebx, 0x38
mov dword [rsp + 0x20], ebx
mov rdx, qword [rsp + 0x50]
cmp rdx, 8
jb 0x1402d148a
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1402d1484
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1402d1909
call fcn.1401a66fc
nop
movups xmm0, xmmword [rsp + 0x78]
movups xmmword [rsp + 0x38], xmm0
movups xmm1, xmmword [rbp - 0x78]
movups xmmword [rsp + 0x48], xmm1
mov qword [rbp - 0x78], r13
mov qword [rbp - 0x70], 7
mov word [rsp + 0x78], r13w
lea rcx, [rsp + 0x78]
call fcn.1400e1140
nop
mov rdx, qword [rsp + 0x70]
cmp rdx, 8
jb 0x1402d14fd
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1402d14f7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1402d190f
call fcn.1401a66fc
nop
lea rdx, [rbp - 0x48]
mov rcx, r15
call fcn.1402d0ed0
nop
lea rdx, [rbp - 0x28]
lea rcx, [rsp + 0x38]
call fcn.1402d0ed0
nop
lea rdx, [rbp - 0x68]
mov rcx, r15
call fcn.1402d0ba0
nop
cmp qword [r15 + 0x10], 0
jne 0x1402d15c2
movups xmm0, xmmword [rsp + 0x38]
movups xmmword [r14], xmm0
movups xmm1, xmmword [rsp + 0x48]
movups xmmword [r14 + 0x10], xmm1
mov qword [rsp + 0x48], r13
mov qword [rsp + 0x50], 7
mov word [rsp + 0x38], r13w
lea rcx, [rbp - 0x68]
call fcn.1400e1140
nop
lea rcx, [rbp - 0x28]
call fcn.1400e1140
nop
lea rcx, [rbp - 0x48]
call fcn.1400e1140
nop
mov rdx, qword [rsp + 0x50]
cmp rdx, 8
jb 0x1402d18da
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1402d15b7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1402d1915
call fcn.1401a66fc
nop
jmp 0x1402d18da
cmp qword [rbp - 0x38], 0
je 0x1402d17c7
cmp qword [rbp - 0x58], 0
jne 0x1402d1751
lea rdx, [rbp + 0x38]
mov rcx, r15
call fcn.1402d0a00
mov rsi, rax
lea rdx, [rbp + 0x18]
lea rcx, [rsp + 0x38]
call fcn.1402d0a00
mov rbx, rax
lea rdx, [rbp - 8]
lea rcx, [rsp + 0x38]
call fcn.1402d0ba0
nop
mov r8, rax
lea rdx, [rbp - 0x48]
lea rcx, [rsp + 0x78]
call fcn.1402d11e0
mov rdi, rax
mov rdx, rbx
mov rcx, rax
call fcn.1402ce350
mov qword [rsp + 0x58], r13
mov qword [rsp + 0x68], r13
mov qword [rsp + 0x70], r13
movups xmm0, xmmword [rdi]
movups xmmword [rsp + 0x58], xmm0
movups xmm1, xmmword [rdi + 0x10]
movups xmmword [rsp + 0x68], xmm1
mov qword [rdi + 0x10], r13
mov qword [rdi + 0x18], 7
mov word [rdi], r13w
mov r8, rsi
lea rdx, [rsp + 0x58]
mov rcx, r14
call fcn.1402d1180
nop
mov rdx, qword [rsp + 0x70]
cmp rdx, 8
jb 0x1402d16aa
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1402d16a4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1402d191b
call fcn.1401a66fc
nop
mov qword [rsp + 0x68], r13
mov qword [rsp + 0x70], 7
mov word [rsp + 0x58], r13w
lea rcx, [rsp + 0x78]
call fcn.1400e1140
nop
lea rcx, [rbp - 8]
call fcn.1400e1140
nop
lea rcx, [rbp + 0x18]
call fcn.1400e1140
nop
lea rcx, [rbp + 0x38]
call fcn.1400e1140
nop
lea rcx, [rbp - 0x68]
call fcn.1400e1140
nop
lea rcx, [rbp - 0x28]
call fcn.1400e1140
nop
lea rcx, [rbp - 0x48]
call fcn.1400e1140
nop
mov rdx, qword [rsp + 0x50]
cmp rdx, 8
jb 0x1402d18da
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1402d1746
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1402d1921
call fcn.1401a66fc
nop
jmp 0x1402d18da
mov rdx, r15
mov rcx, r14
call fcn.1402ce0d0
nop
lea rcx, [rbp - 0x68]
call fcn.1400e1140
nop
lea rcx, [rbp - 0x28]
call fcn.1400e1140
nop
lea rcx, [rbp - 0x48]
call fcn.1400e1140
nop
mov rdx, qword [rsp + 0x50]
cmp rdx, 8
jb 0x1402d18da
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1402d17bc
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1402d1927
call fcn.1401a66fc
nop
jmp 0x1402d18da
cmp qword [rbp - 0x58], 0
je 0x1402d185c
lea rdx, [rbp - 0x28]
mov rcx, r14
call fcn.1402ce0d0
bts ebx, 8
mov dword [rsp + 0x20], ebx
mov rdx, r15
mov rcx, r14
call fcn.1402ce350
nop
lea rcx, [rbp - 0x68]
call fcn.1400e1140
nop
lea rcx, [rbp - 0x28]
call fcn.1400e1140
nop
lea rcx, [rbp - 0x48]
call fcn.1400e1140
nop
mov rdx, qword [rsp + 0x50]
cmp rdx, 8
jb 0x1402d18da
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1402d1851
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1402d192d
call fcn.1401a66fc
nop
jmp 0x1402d18da
lea rdx, [rsp + 0x38]
mov rcx, r14
call fcn.1402ce0d0
bts ebx, 9
mov dword [rsp + 0x20], ebx
mov rdx, r15
mov rcx, r14
call fcn.1402ce350
nop
lea rcx, [rbp - 0x68]
call fcn.1400e1140
nop
lea rcx, [rbp - 0x28]
call fcn.1400e1140
nop
lea rcx, [rbp - 0x48]
call fcn.1400e1140
nop
mov rdx, qword [rsp + 0x50]
cmp rdx, 8
jb 0x1402d18da
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1402d18d4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1402d18fd
call fcn.1401a66fc
nop
mov rax, r14
mov rcx, qword [rbp + 0x58]
xor rcx, rsp
call fcn.1401a6870
add rsp, 0x168
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
call sub.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn
nop
call sub.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn
nop
call sub.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn
nop
call sub.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn
nop
call sub.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn
nop
call sub.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn
nop
call sub.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn
nop
call sub.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn
nop
call sub.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn
int3