Function at 0x1400458f0
Capabilities:
Get common file path
Set current directory

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], r14
push rbp
lea rbp, [rsp - 0x830]
sub rsp, 0x930
mov rax, qword [0x1401c6780]
xor rax, rsp
mov qword [rbp + 0x820], rax
xor edi, edi
mov dword [rsp + 0x30], edi
xorps xmm0, xmm0
movups xmmword [rsp + 0x38], xmm0
movdqa xmm1, xmmword [0x14019b860]
movdqu xmmword [rsp + 0x48], xmm1
mov word [rsp + 0x38], di
mov dword [rsp + 0x30], 8
xor r8d, r8d
xor edx, edx
lea rcx, [rbp - 0x68]
call fcn.140025840
nop
lea rcx, [rsp + 0x38]
cmp rcx, rax
je 0x140045983
mov r8, qword [rax + 0x10]
cmp qword [rax + 0x18], 7
jbe 0x140045975
mov rax, qword [rax]
mov rdx, rax
lea rcx, [rsp + 0x38]
call fcn.14000a690
nop
lea rcx, [rbp - 0x68]
call fcn.140009810
lea rdx, [rbp - 0x28]
lea rcx, [rsp + 0x38]
call fcn.1400248f0
nop
lea rcx, [rsp + 0x38]
call fcn.140009810
mov word [rbp], di
lea rdx, [rbp]
mov ecx, 0x410
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
xorps xmm0, xmm0
movups xmmword [rbp - 0x48], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x38], xmm1
lea rax, [rbp]
mov r8, 0xffffffffffffffff
inc r8
cmp word [rax + r8*2], 0
jne 0x1400459d2
lea rdx, [rbp]
lea rcx, [rbp - 0x48]
call fcn.14000c0c0
mov ebx, 0x20
mov sil, 1
lea rdx, [rbp - 0x48]
lea rcx, [rbp - 0x28]
call fcn.140022710
test eax, eax
je 0x140045be5
lea rcx, [rbp - 0x68]
call fcn.140025970
nop
xor ecx, ecx
call fcn.140027930
test rax, rax
je 0x140045a40
mov dword [rsp + 0x20], 1
lea r9, str.Logger
xor r8d, r8d
lea rdx, [0x14001ccd0]
mov rcx, rax
call fcn.140027c40
jmp 0x140045a43
mov rax, rdi
cmp dword [rax + 0x40], 5
jl 0x140045ae4
xor ecx, ecx
call fcn.140027930
test rax, rax
je 0x140045a7f
mov dword [rsp + 0x20], 1
lea r9, str.Logger
xor r8d, r8d
lea rdx, [0x14001ccd0]
mov rcx, rax
call fcn.140027c40
mov r14, rax
jmp 0x140045a82
mov r14, rdi
lea rdx, [rsp + 0x58]
lea rcx, [rbp - 0x68]
call fcn.1400220b0
mov rsi, rax
mov dword [rsp + 0x30], 0x21
cmp qword [rax + 0x18], 0xf
jbe 0x140045aa5
mov rsi, qword [rax]
lea rdx, [rsp + 0x78]
lea rcx, [rbp - 0x48]
call fcn.1400220b0
nop
mov ebx, 0x23
mov dword [rsp + 0x30], ebx
cmp qword [rax + 0x18], 0xf
jbe 0x140045ac7
mov rax, qword [rax]
mov qword [rsp + 0x20], rsi
mov r9, rax
lea r8, str.EnsureWorkingDirectory:_Trying_to_change_working_director_from__s_to__s
mov edx, 5
mov rcx, r14
call fcn.14001ef20
nop
test bl, 2
je 0x140045af7
and ebx, 0xfffffffd
lea rcx, [rsp + 0x78]
call fcn.140009880
nop
test bl, 1
je 0x140045b09
and ebx, 0xfffffffe
lea rcx, [rsp + 0x58]
call fcn.140009880
lea rcx, [rbp - 0x68]
cmp qword [rbp - 0x50], 7
cmova rcx, qword [rbp - 0x68]
call qword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
test eax, eax
setne sil
test eax, eax
jne 0x140045bdb
xor ecx, ecx
call fcn.140027930
test rax, rax
je 0x140045b5a
mov dword [rsp + 0x20], 1
lea r9, str.Logger
xor r8d, r8d
lea rdx, [0x14001ccd0]
mov rcx, rax
call fcn.140027c40
jmp 0x140045b5d
mov rax, rdi
cmp dword [rax + 0x40], 3
jl 0x140045bcb
xor ecx, ecx
call fcn.140027930
test rax, rax
je 0x140045b93
mov dword [rsp + 0x20], 1
lea r9, str.Logger
xor r8d, r8d
lea rdx, [0x14001ccd0]
mov rcx, rax
call fcn.140027c40
mov rdi, rax
lea rdx, [rsp + 0x58]
lea rcx, [rbp - 0x68]
call fcn.1400220b0
nop
or ebx, 4
mov dword [rsp + 0x30], ebx
cmp qword [rax + 0x18], 0xf
jbe 0x140045bb3
mov rax, qword [rax]
mov r9, rax
lea r8, str.EnsureWorkingDirecotry:_Failed_to_change_the_working_directory_to__s
mov edx, 3
mov rcx, rdi
call fcn.14001ef20
nop
test bl, 4
je 0x140045bdb
lea rcx, [rsp + 0x58]
call fcn.140009880
nop
lea rcx, [rbp - 0x68]
call fcn.140009810
nop
lea rcx, [rbp - 0x48]
call fcn.140009810
nop
lea rcx, [rbp - 0x28]
call fcn.140009810
movzx eax, sil
mov rcx, qword [rbp + 0x820]
xor rcx, rsp
call fcn.1401219d0
lea r11, [rsp + 0x930]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret