Function at 0x140078ff0
Capabilities:
Get common file path

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x198
mov rax, qword [0x140138010]
xor rax, rsp
mov qword [rsp + 0x180], rax
mov rbp, r9
mov r12, r8
mov r15, rdx
mov r13, rcx
mov qword [rsp + 0x20], rcx
mov byte [rcx], 0
lea r14, [rcx + 8]
xorps xmm0, xmm0
movups xmmword [r14], xmm0
xor eax, eax
mov qword [r14 + 0x10], rax
mov qword [r14 + 0x18], 0xf
mov byte [r14], al
lea rsi, [rcx + 0x28]
movups xmmword [rsi], xmm0
mov qword [rsi + 0x10], rax
mov qword [rsi + 0x18], 0xf
mov byte [rsi], al
lea rdi, [rcx + 0x48]
movups xmmword [rdi], xmm0
mov qword [rdi + 0x10], rax
mov qword [rdi + 0x18], 0xf
mov byte [rdi], al
mov qword [rcx + 0x68], rax
mov qword [rcx + 0x70], rax
mov dword [rcx + 0x78], eax
mov qword [rcx + 0x80], rax
cmp r14, rdx
je 0x14007909d
cmp qword [rdx + 0x18], 0x10
jb 0x140079091
mov rdx, qword [rdx]
mov r8, qword [r15 + 0x10]
mov rcx, r14
call fcn.140009ae0
mov r8, qword [r15 + 0x10]
mov rbx, r15
cmp qword [r15 + 0x18], 0x10
jb 0x1400790ae
mov rbx, qword [r15]
test r8, r8
je 0x1400790d2
mov edx, 0x3a
mov rcx, rbx
call sub.VCRUNTIME140.dll_memchr
test rax, rax
je 0x1400790d2
sub rax, rbx
cmp rax, 0xffffffffffffffff
jne 0x140079305
lea rdx, [rsp + 0x70]
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
xorps xmm0, xmm0
movups xmmword [rsp + 0x48], xmm0
xor edx, edx
mov qword [rsp + 0x58], rdx
mov qword [rsp + 0x60], rdx
lea rax, [rsp + 0x70]
mov rbx, 0xffffffffffffffff
inc rbx
cmp byte [rax + rbx], dl
jne 0x140079102
movabs rdi, 0x7fffffffffffffff
cmp rbx, rdi
ja 0x140079388
mov qword [rsp + 0x60], 0xf
cmp rbx, 0x10
jae 0x14007914d
mov qword [rsp + 0x58], rbx
mov r8, rbx
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x48]
call sub.VCRUNTIME140.dll_memcpy
mov byte [rsp + rbx + 0x48], 0
jmp 0x1400791ea
mov rax, rbx
or rax, 0xf
cmp rax, rdi
jbe 0x140079186
movabs rax, 0x8000000000000000
add rax, 0x27
mov rcx, rax
call fcn.140080008
test rax, rax
je 0x1400792f5
lea rsi, [rax + 0x27]
and rsi, 0xffffffffffffffe0
mov qword [rsi - 8], rax
jmp 0x1400791c3
mov rdi, rax
mov ecx, 0x16
cmp rax, rcx
cmovb rdi, rcx
lea rcx, [rdi + 1]
cmp rcx, 0x1000
jb 0x1400791b1
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x14007938e
jmp 0x140079167
test rcx, rcx
je 0x1400791c0
call fcn.140080008
mov rsi, rax
jmp 0x1400791c3
mov rsi, rdx
mov qword [rsp + 0x48], rsi
mov qword [rsp + 0x58], rbx
mov qword [rsp + 0x60], rdi
mov r8, rbx
lea rdx, [rsp + 0x70]
mov rcx, rsi
call sub.VCRUNTIME140.dll_memcpy
mov byte [rsi + rbx], 0
lea rsi, [r13 + 0x28]
mov r8d, 1
lea rdx, [0x14012bf64]
lea rcx, [rsp + 0x48]
call fcn.140009c40
mov r8, r15
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0x28]
call fcn.14007caa0
mov rbx, rax
cmp r14, rax
je 0x140079280
mov rdx, qword [r14 + 0x18]
cmp rdx, 0x10
jb 0x140079251
mov rcx, qword [r14]
inc rdx
cmp rdx, 0x1000
jb 0x14007924c
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1400792b4
mov rcx, r8
call fcn.140080000
xor eax, eax
mov qword [r14 + 0x10], rax
mov qword [r14 + 0x18], 0xf
mov byte [r14], al
movups xmm0, xmmword [rbx]
movups xmmword [r14], xmm0
movups xmm1, xmmword [rbx + 0x10]
movups xmmword [r14 + 0x10], xmm1
mov qword [rbx + 0x10], rax
mov qword [rbx + 0x18], 0xf
mov byte [rbx], al
mov rdx, qword [rsp + 0x40]
cmp rdx, 0x10
jb 0x1400792c1
inc rdx
mov rcx, qword [rsp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400792bb
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400792bb
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140080000
nop
mov rdx, qword [rsp + 0x60]
cmp rdx, 0x10
jb 0x140079301
inc rdx
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400792fc
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400792fc
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140080000
lea rdi, [r13 + 0x48]
cmp rsi, r12
je 0x140079326
mov r8, qword [r12 + 0x10]
cmp qword [r12 + 0x18], 0x10
jb 0x14007931b
mov r12, qword [r12]
mov rdx, r12
mov rcx, rsi
call fcn.140009ae0
cmp rdi, rbp
je 0x140079345
mov r8, qword [rbp + 0x10]
cmp qword [rbp + 0x18], 0x10
jb 0x14007933a
mov rbp, qword [rbp]
mov rdx, rbp
mov rcx, rdi
call fcn.140009ae0
lea rax, [0x1400d47d0]
mov qword [r13 + 0x68], rax
mov qword [r13 + 0x70], 0x2f70
mov rcx, r13
call fcn.1400793a0
nop
mov rax, r13
mov rcx, qword [rsp + 0x180]
xor rcx, rsp
call fcn.14007ffe0
add rsp, 0x198
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
call fcn.140002de0
nop
call fcn.140002d40
int3