Function at 0x1400036b0
Capabilities:
Get common file path

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x1a0
mov rax, qword [0x140018040]
xor rax, rsp
mov qword [rsp + 0x190], rax
mov r14, r9
mov r15, r8
mov rdi, rdx
mov rbx, rcx
mov qword [rsp + 0x30], rcx
mov byte [rcx], 0
lea rbp, [rcx + 8]
xorps xmm0, xmm0
movups xmmword [rbp], xmm0
xor r12d, r12d
mov qword [rbp + 0x10], r12
mov qword [rbp + 0x18], r12
xor r8d, r8d
lea rdx, [0x140007638]
mov rcx, rbp
call fcn.1400029e0
nop
lea rcx, [rbx + 0x28]
xorps xmm0, xmm0
movups xmmword [rcx], xmm0
mov qword [rcx + 0x10], r12
mov qword [rcx + 0x18], r12
xor r8d, r8d
lea rdx, [0x140007638]
call fcn.1400029e0
nop
lea rcx, [rbx + 0x48]
xorps xmm0, xmm0
movups xmmword [rcx], xmm0
mov qword [rcx + 0x10], r12
mov qword [rcx + 0x18], r12
xor r8d, r8d
lea rdx, [0x140007638]
call fcn.1400029e0
nop
mov qword [rbx + 0x68], r12
mov qword [rbx + 0x70], r12
mov dword [rbx + 0x78], r12d
mov qword [rbx + 0x80], r12
cmp rbp, rdi
je 0x140003786
mov rdx, rdi
cmp qword [rdi + 0x18], 0xf
jbe 0x14000377a
mov rdx, qword [rdi]
mov r8, qword [rdi + 0x10]
mov rcx, rbp
call fcn.1400026a0
mov rbp, rdi
cmp qword [rdi + 0x18], 0xf
jbe 0x140003793
mov rbp, qword [rdi]
mov r8, qword [rdi + 0x10]
test r8, r8
je 0x1400037bb
mov edx, 0x3a
mov rcx, rbp
call sub.VCRUNTIME140.dll_memchr
test rax, rax
je 0x1400037bb
sub rax, rbp
cmp rax, 0xffffffffffffffff
jne 0x140003963
lea rdx, [rsp + 0x80]
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
xorps xmm0, xmm0
movups xmmword [rsp + 0x58], xmm0
mov qword [rsp + 0x68], r12
mov qword [rsp + 0x70], r12
lea rax, [rsp + 0x80]
mov r8, 0xffffffffffffffff
nop
inc r8
cmp byte [rax + r8], 0
jne 0x1400037f0
lea rdx, [rsp + 0x80]
lea rcx, [rsp + 0x58]
call fcn.1400029e0
nop
mov rcx, qword [rsp + 0x68]
mov rdx, qword [rsp + 0x70]
mov rax, rdx
sub rax, rcx
cmp rax, 1
jb 0x140003843
lea rax, [rcx + 1]
mov qword [rsp + 0x68], rax
lea rax, [rsp + 0x58]
cmp rdx, 0xf
cmova rax, qword [rsp + 0x58]
mov word [rax + rcx], 0x5c
jmp 0x140003862
mov qword [rsp + 0x20], 1
lea r9, [0x1400155f4]
mov edx, 1
lea rcx, [rsp + 0x58]
call fcn.140002ae0
mov r8, rdi
lea rdx, [rsp + 0x58]
lea rcx, [rsp + 0x38]
call fcn.1400047a0
mov rsi, rax
lea rdi, [rbx + 8]
cmp rdi, rax
je 0x1400038e2
mov rdx, qword [rdi + 0x18]
cmp rdx, 0xf
jbe 0x1400038b6
mov rcx, qword [rdi]
inc rdx
cmp rdx, 0x1000
jb 0x1400038b1
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140003916
mov rcx, r8
call fcn.140005448
mov qword [rdi + 0x10], r12
mov qword [rdi + 0x18], 0xf
mov byte [rdi], 0
movups xmm0, xmmword [rsi]
movups xmmword [rdi], xmm0
movups xmm1, xmmword [rsi + 0x10]
movups xmmword [rdi + 0x10], xmm1
mov qword [rsi + 0x10], r12
mov qword [rsi + 0x18], 0xf
mov byte [rsi], 0
mov rdx, qword [rsp + 0x50]
cmp rdx, 0xf
jbe 0x140003923
inc rdx
mov rcx, qword [rsp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000391d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000391d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140005448
nop
mov rdx, qword [rsp + 0x70]
cmp rdx, 0xf
jbe 0x140003963
inc rdx
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000395e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000395e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140005448
lea rcx, [rbx + 0x28]
cmp rcx, r15
je 0x140003982
mov rdx, r15
cmp qword [r15 + 0x18], 0xf
jbe 0x140003979
mov rdx, qword [r15]
mov r8, qword [r15 + 0x10]
call fcn.1400026a0
lea rcx, [rbx + 0x48]
cmp rcx, r14
je 0x1400039a1
mov rdx, r14
cmp qword [r14 + 0x18], 0xf
jbe 0x140003998
mov rdx, qword [r14]
mov r8, qword [r14 + 0x10]
call fcn.1400026a0
lea rax, [0x14000b740]
mov qword [rbx + 0x68], rax
mov qword [rbx + 0x70], 0x9c98
mov rcx, rbx
call fcn.140003c60
nop
mov rax, rbx
mov rcx, qword [rsp + 0x190]
xor rcx, rsp
call fcn.1400051a0
add rsp, 0x1a0
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret