Function at 0x140070c10
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 [0x1400b1040]
xor rax, rsp
mov qword [rsp + 0x180], rax
mov rsi, r9
mov r14, r8
mov rbx, rdx
mov rdi, rcx
mov qword [rsp + 0x20], rcx
mov byte [rcx], 0
lea r15, [rcx + 8]
xorps xmm0, xmm0
movups xmmword [r15], xmm0
lea r12, [r15 + 0x10]
xor r13d, r13d
mov qword [r12], r13
mov qword [r15 + 0x18], r13
xor r8d, r8d
lea rdx, [0x14007aac0]
mov rcx, r15
call fcn.140007480
nop
lea rcx, [rdi + 0x28]
xorps xmm0, xmm0
movups xmmword [rcx], xmm0
mov qword [rcx + 0x10], r13
mov qword [rcx + 0x18], r13
xor r8d, r8d
lea rdx, [0x14007aac0]
call fcn.140007480
nop
lea rcx, [rdi + 0x48]
xorps xmm0, xmm0
movups xmmword [rcx], xmm0
mov qword [rcx + 0x10], r13
mov qword [rcx + 0x18], r13
xor r8d, r8d
lea rdx, [0x14007aac0]
call fcn.140007480
nop
mov qword [rdi + 0x68], r13
mov qword [rdi + 0x70], r13
mov dword [rdi + 0x78], r13d
mov qword [rdi + 0x80], r13
cmp r15, rbx
je 0x140070d1a
mov rbp, qword [rbx + 0x10]
mov r9, rbx
cmp qword [rbx + 0x18], 0xf
jbe 0x140070ce4
mov r9, qword [rbx]
mov rax, qword [r15 + 0x18]
cmp rbp, rax
ja 0x140070d0f
cmp rax, 0xf
jbe 0x140070cf6
mov r15, qword [r15]
mov qword [r12], rbp
mov r8, rbp
mov rdx, r9
mov rcx, r15
call sub.VCRUNTIME140.dll_memmove
mov byte [r15 + rbp], 0
jmp 0x140070d1a
mov rdx, rbp
mov rcx, r15
call fcn.14000bbf0
mov r8, qword [rbx + 0x10]
mov rbp, rbx
cmp qword [rbx + 0x18], 0xf
jbe 0x140070d2b
mov rbp, qword [rbx]
test r8, r8
je 0x140070d4f
mov edx, 0x3a
mov rcx, rbp
call sub.VCRUNTIME140.dll_memchr
test rax, rax
je 0x140070d4f
sub rax, rbp
cmp rax, 0xffffffffffffffff
jne 0x140070eb5
lea rdx, [rsp + 0x70]
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
xorps xmm0, xmm0
movups xmmword [rsp + 0x48], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x58], xmm1
lea rax, [rsp + 0x70]
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp byte [rax + r8], 0
jne 0x140070d80
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x48]
call fcn.140007480
nop
mov r8d, 1
lea rdx, [0x1400a55ac]
lea rcx, [rsp + 0x48]
call fcn.14000b030
mov r8, rbx
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0x28]
call fcn.140073e70
mov r15, rax
lea rbx, [rdi + 8]
cmp rbx, rax
je 0x140070e34
mov rdx, qword [rbx + 0x18]
cmp rdx, 0xf
jbe 0x140070e05
mov rcx, qword [rbx]
inc rdx
cmp rdx, 0x1000
jb 0x140070e00
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140070e68
mov rcx, r8
call fcn.140076a30
mov qword [rbx + 0x10], r13
mov qword [rbx + 0x18], 0xf
mov byte [rbx], 0
movups xmm0, xmmword [r15]
movups xmmword [rbx], xmm0
movups xmm1, xmmword [r15 + 0x10]
movups xmmword [rbx + 0x10], xmm1
mov qword [r15 + 0x10], r13
mov qword [r15 + 0x18], 0xf
mov byte [r15], 0
mov rdx, qword [rsp + 0x40]
cmp rdx, 0xf
jbe 0x140070e75
inc rdx
mov rcx, qword [rsp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140070e6f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140070e6f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140076a30
nop
mov rdx, qword [rsp + 0x60]
cmp rdx, 0xf
jbe 0x140070eb5
inc rdx
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140070eb0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140070eb0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140076a30
lea rcx, [rdi + 0x28]
cmp rcx, r14
je 0x140070f05
mov rbx, qword [r14 + 0x10]
cmp qword [r14 + 0x18], 0xf
jbe 0x140070ecc
mov r14, qword [r14]
mov rax, qword [rcx + 0x18]
cmp rbx, rax
ja 0x140070efa
mov r15, rcx
cmp rax, 0xf
jbe 0x140070ee1
mov r15, qword [rcx]
mov qword [rcx + 0x10], rbx
mov r8, rbx
mov rdx, r14
mov rcx, r15
call sub.VCRUNTIME140.dll_memmove
mov byte [r15 + rbx], 0
jmp 0x140070f05
mov r9, r14
mov rdx, rbx
call fcn.14000bbf0
lea rcx, [rdi + 0x48]
cmp rcx, rsi
je 0x140070f54
mov rbx, qword [rsi + 0x10]
cmp qword [rsi + 0x18], 0xf
jbe 0x140070f1c
mov rsi, qword [rsi]
mov rax, qword [rcx + 0x18]
cmp rbx, rax
ja 0x140070f49
mov rbp, rcx
cmp rax, 0xf
jbe 0x140070f31
mov rbp, qword [rcx]
mov qword [rcx + 0x10], rbx
mov r8, rbx
mov rdx, rsi
mov rcx, rbp
call sub.VCRUNTIME140.dll_memmove
mov byte [rbx + rbp], 0
jmp 0x140070f54
mov r9, rsi
mov rdx, rbx
call fcn.14000bbf0
lea rax, [0x1400809f0]
mov qword [rdi + 0x68], rax
mov qword [rdi + 0x70], 0x2f70
mov rcx, rdi
call fcn.140071170
nop
mov rax, rdi
mov rcx, qword [rsp + 0x180]
xor rcx, rsp
call fcn.140076a10
add rsp, 0x198
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret