Function at 0x1400c10c0
Capabilities:
Get common file path

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x1c8
mov rax, qword [0x140cf0080]
xor rax, rsp
mov qword [rsp + 0x1b0], rax
mov rsi, r9
mov r14, r8
mov rdi, rdx
mov rbx, rcx
mov qword [rsp + 0x48], rcx
xor ebp, ebp
mov byte [rcx], bpl
lea r13, [rcx + 8]
xorps xmm0, xmm0
movups xmmword [r13], xmm0
mov qword [r13 + 0x10], rbp
mov qword [r13 + 0x18], rbp
xor r8d, r8d
lea rdx, [0x140ccdc7a]
mov rcx, r13
call fcn.14002f420
nop
lea rcx, [rbx + 0x28]
xorps xmm0, xmm0
movups xmmword [rcx], xmm0
mov qword [rcx + 0x10], rbp
mov qword [rcx + 0x18], rbp
xor r8d, r8d
lea rdx, [0x140ccdc7a]
call fcn.14002f420
nop
lea rcx, [rbx + 0x48]
xorps xmm0, xmm0
movups xmmword [rcx], xmm0
mov qword [rcx + 0x10], rbp
mov qword [rcx + 0x18], rbp
xor r8d, r8d
lea rdx, [0x140ccdc7a]
call fcn.14002f420
nop
mov qword [rbx + 0x68], rbp
mov qword [rbx + 0x70], rbp
mov dword [rbx + 0x78], ebp
mov qword [rbx + 0x80], rbp
cmp r13, rdi
je 0x1400c1197
mov rdx, rdi
cmp qword [rdi + 0x18], 0xf
jbe 0x1400c118b
mov rdx, qword [rdi]
mov r8, qword [rdi + 0x10]
mov rcx, r13
call fcn.140030300
mov r8, qword [rdi + 0x10]
mov r12, rdi
cmp qword [rdi + 0x18], 0xf
jbe 0x1400c11a8
mov r12, qword [rdi]
test r8, r8
je 0x1400c11cc
mov edx, Ordinal_60
mov rcx, r12
call sub.VCRUNTIME140.dll_memchr
test rax, rax
je 0x1400c11cc
sub rax, r12
cmp rax, 0xffffffffffffffff
jne 0x1400c12b6
lea rdx, [rsp + 0xa0]
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
xor eax, eax
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], rax
lea rax, [rsp + 0xa0]
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], 0
jne 0x1400c1202
lea rdx, [rsp + 0xa0]
lea rcx, [rsp + 0x50]
call fcn.14002f420
nop
mov r8d, 1
lea rdx, [0x140cd0e7c]
lea rcx, [rsp + 0x50]
call fcn.14002f2c0
mov rcx, qword [rdi + 0x10]
movabs rax, 0x7fffffffffffffff
mov rdx, qword [rsp + 0x60]
sub rax, rdx
cmp rax, rcx
jb 0x1400c1365
lea r9, [rsp + 0x50]
cmp qword [rsp + 0x68], 0xf
cmova r9, qword [rsp + 0x50]
cmp qword [rdi + 0x18], 0xf
jbe 0x1400c1270
mov rdi, qword [rdi]
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], rdx
lea r8, [rsp + 0x50]
movzx edx, byte [rsp + 0x40]
lea rcx, [rsp + 0x70]
call fcn.14007da00
lea rcx, [rbx + 8]
lea rdx, [rsp + 0x70]
call fcn.140036f40
lea rcx, [rsp + 0x70]
call fcn.14002f260
nop
lea rcx, [rsp + 0x50]
call fcn.14002f260
lea rcx, [rbx + 0x28]
cmp rcx, r14
je 0x1400c12d5
mov r8, qword [r14 + 0x10]
cmp qword [r14 + 0x18], 0xf
jbe 0x1400c12cd
mov r14, qword [r14]
mov rdx, r14
call fcn.140030300
lea rcx, [rbx + 0x48]
cmp rcx, rsi
je 0x1400c12f4
mov r8, qword [rsi + 0x10]
cmp qword [rsi + 0x18], 0xf
jbe 0x1400c12ec
mov rsi, qword [rsi]
mov rdx, rsi
call fcn.140030300
lea rax, [0x140bdd380]
mov qword [rbx + 0x68], rax
mov qword [rbx + 0x70], 0x2f70
lea rcx, [rbx + 8]
cmp qword [rcx + 0x18], 0xf
jbe 0x1400c1315
mov rcx, qword [rcx]
lea rdx, [rsp + 0x70]
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll__stat64i32]
test eax, eax
je 0x1400c1335
lea r9, [rbx + 8]
mov r8d, dword [rbx + 0x70]
mov rdx, qword [rbx + 0x68]
call fcn.1400c1000
mov rcx, rbx
call fcn.1400c1540
nop
mov rax, rbx
mov rcx, qword [rsp + 0x1b0]
xor rcx, rsp
call fcn.14013f230
add rsp, 0x1c8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
call fcn.14000fb60
nop
int3