Function at 0x140001a40
Capabilities:
Get common file path

Disassembly:
push rbp
push rbx
push r14
lea rbp, [rsp - 0xb0]
sub rsp, 0x1b0
mov rax, qword [section..data]
xor rax, rsp
mov qword [rbp + 0x90], rax
lea rdx, [rbp - 0x80]
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
xor ebx, ebx
lea rax, [rbp - 0x80]
xorps xmm0, xmm0
mov qword [rsp + 0x70], rbx
movups xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0x78], rbx
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], bl
jne 0x140001a93
lea rdx, [rbp - 0x80]
lea rcx, [rsp + 0x60]
call fcn.140001940
mov r14, qword [rsp + 0x70]
movabs rcx, 0x7fffffffffffffff
mov rax, rcx
sub rax, r14
cmp rax, 0x14
jb 0x140001e81
mov qword [rsp + 0x1d0], rsi
xorps xmm0, xmm0
mov rsi, qword [rsp + 0x60]
movabs rax, 0x8000000000000000
mov qword [rsp + 0x1d8], rdi
lea rdi, [rsp + 0x40]
mov qword [rsp + 0x1e0], r12
lea r12, [rsp + 0x60]
mov qword [rsp + 0x1a8], r13
mov r13, qword [rsp + 0x78]
cmp r13, 0xf
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x58], rbx
mov ebx, 0xf
mov qword [rsp + 0x1a0], r15
cmova r12, rsi
lea r15, [r14 + 0x14]
movups xmmword [rsp + 0x40], xmm0
lea edx, [rbx + 7]
cmp r15, rbx
jbe 0x140001ba5
mov rbx, r15
or rbx, 0xf
cmp rbx, rcx
jbe 0x140001b4f
mov rbx, rcx
add rax, 0x27
jmp 0x140001b70
cmp rbx, rdx
cmovb rbx, rdx
lea rcx, [rbx + 1]
cmp rcx, 0x1000
jb 0x140001b8f
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x140001e87
mov rcx, rax
call fcn.140002080
test rax, rax
je 0x140001e2d
lea rdi, [rax + 0x27]
and rdi, 0xffffffffffffffe0
mov qword [rdi - 8], rax
jmp 0x140001ba0
test rcx, rcx
je 0x140001b9e
call fcn.140002080
mov rdi, rax
jmp 0x140001ba0
xor edi, edi
mov qword [rsp + 0x40], rdi
mov r8, r14
mov qword [rsp + 0x50], r15
mov rdx, r12
mov qword [rsp + 0x58], rbx
mov rcx, rdi
call sub.VCRUNTIME140.dll_memcpy
movups xmm0, xmmword [str.LosslessScaling.exe]
cmp r13, 0xf
lea r12, [rsp + 0x60]
mov ebx, 0xf
movups xmmword [r14 + rdi], xmm0
mov eax, dword [0x140003540]
cmova r12, rsi
mov dword [r14 + rdi + 0x10], eax
xorps xmm0, xmm0
mov byte [rdi + r15], 0
xor eax, eax
lea r15, [r14 + 0xa]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x38], rax
lea rdi, [rsp + 0x20]
movups xmmword [rsp + 0x20], xmm0
cmp r15, rbx
jbe 0x140001c92
mov rbx, r15
movabs rcx, 0x7fffffffffffffff
or rbx, 0xf
cmp rbx, rcx
jbe 0x140001c57
movabs rax, 0x8000000000000000
mov rbx, rcx
add rax, 0x27
mov rcx, rax
call fcn.140002080
test rax, rax
je 0x140001e2d
lea rdi, [rax + 0x27]
and rdi, 0xffffffffffffffe0
mov qword [rdi - 8], rax
jmp 0x140001c8d
cmp rbx, 0x16
mov ecx, 0x16
cmovb rbx, rcx
lea rcx, [rbx + 1]
cmp rcx, 0x1000
jb 0x140001c80
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x140001e87
jmp 0x140001c38
test rcx, rcx
je 0x140001c8a
call fcn.140002080
mov rdi, rax
mov qword [rsp + 0x20], rdi
mov r8, r14
mov qword [rsp + 0x30], r15
mov rdx, r12
mov qword [rsp + 0x38], rbx
mov rcx, rdi
call sub.VCRUNTIME140.dll_memcpy
movsd xmm0, qword [str.Hooks.dll]
lea rdx, str.Lossless_Exe:
movsd qword [r14 + rdi], xmm0
movzx eax, word [0x140003550]
mov word [r14 + rdi + 8], ax
mov byte [rdi + r15], 0
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140001770
cmp qword [rsp + 0x58], 0xf
lea rdx, [rsp + 0x40]
mov r8, qword [rsp + 0x50]
mov rcx, rax
cmova rdx, qword [rsp + 0x40]
call fcn.140001e90
lea rdx, str._nHooks_dll:
mov rcx, rax
call fcn.140001770
cmp qword [rsp + 0x38], 0xf
lea rdx, [rsp + 0x20]
mov r8, qword [rsp + 0x30]
mov rcx, rax
cmova rdx, qword [rsp + 0x20]
call fcn.140001e90
mov rcx, rax
lea rdx, [0x14000345c]
call fcn.140001770
cmp qword [rsp + 0x38], 0xf
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x40]
cmova rdx, qword [rsp + 0x20]
cmp qword [rsp + 0x58], 0xf
cmova rcx, qword [rsp + 0x40]
call fcn.1400011c0
mov rdx, qword [rsp + 0x38]
cmp rdx, 0xf
jbe 0x140001d9b
mov rcx, qword [rsp + 0x20]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001d96
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140001e2d
call fcn.1400020bc
mov rdx, qword [rsp + 0x58]
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x38], 0xf
mov byte [rsp + 0x20], 0
cmp rdx, 0xf
jbe 0x140001deb
mov rcx, qword [rsp + 0x40]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001de6
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140001e2d
call fcn.1400020bc
mov qword [rsp + 0x50], 0
mov qword [rsp + 0x58], 0xf
mov byte [rsp + 0x40], 0
cmp r13, 0xf
jbe 0x140001e3c
lea rdx, [r13 + 1]
mov rax, rsi
cmp rdx, 0x1000
jb 0x140001e34
mov rsi, qword [rsi - 8]
add rdx, 0x27
sub rax, rsi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140001e34
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rsi
call fcn.1400020bc
mov r13, qword [rsp + 0x1a8]
xor eax, eax
mov r12, qword [rsp + 0x1e0]
mov rdi, qword [rsp + 0x1d8]
mov rsi, qword [rsp + 0x1d0]
mov r15, qword [rsp + 0x1a0]
mov rcx, qword [rbp + 0x90]
xor rcx, rsp
call fcn.140002060
add rsp, 0x1b0
pop r14
pop rbx
pop rbp
ret
call fcn.1400011a0
int3
call fcn.140001100
int3