Function at 0x14004cd10
Capabilities:
Get common file path

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0xb8]
sub rsp, 0x1b8
mov rax, qword [0x140159080]
xor rax, rsp
mov qword [rbp + 0xa0], rax
mov rsi, r9
mov r15, r8
mov rbx, rdx
mov r14, rcx
mov qword [rsp + 0x68], rcx
mov byte [rcx], 0
lea rdi, [rcx + 8]
xor r12d, r12d
mov qword [rdi], r12
mov qword [rdi + 0x10], r12
mov qword [rdi + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rdi], r12b
xor r8d, r8d
lea rdx, [0x1400d0937]
mov rcx, rdi
call fcn.140058ff0
nop
lea r13, [r14 + 0x28]
mov qword [r13], r12
mov qword [r13 + 0x10], r12
mov qword [r13 + 0x18], reloc.WS2_32.dll_ntohs
mov byte [r13], r12b
xor r8d, r8d
lea rdx, [0x1400d0937]
mov rcx, r13
call fcn.140058ff0
nop
mov qword [r14 + 0x48], r12
mov qword [r14 + 0x58], r12
mov qword [r14 + 0x60], reloc.WS2_32.dll_ntohs
mov byte [r14 + 0x48], r12b
xor r8d, r8d
lea rdx, [0x1400d0937]
lea rcx, [r14 + 0x48]
call fcn.140058ff0
nop
mov qword [r14 + 0x68], r12
mov qword [r14 + 0x70], r12
mov dword [r14 + 0x78], r12d
mov qword [r14 + 0x80], r12
cmp rdi, rbx
je 0x14004ce01
mov rdx, rbx
cmp qword [rbx + 0x18], 0x10
jb 0x14004cdf5
mov rdx, qword [rbx]
mov r8, qword [rbx + 0x10]
mov rcx, rdi
call fcn.140058ff0
mov r8, qword [rbx + 0x10]
mov r12, rbx
cmp qword [rbx + 0x18], 0x10
jb 0x14004ce12
mov r12, qword [rbx]
test r8, r8
je 0x14004ce36
mov edx, Ordinal_60
mov rcx, r12
call sub.VCRUNTIME140.dll_memchr
test rax, rax
je 0x14004ce36
sub rax, r12
cmp rax, 0xffffffffffffffff
jne 0x14004cfd8
lea rdx, [rbp - 0x70]
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
xor r12d, r12d
mov qword [rsp + 0x70], r12
mov qword [rbp - 0x80], r12
mov qword [rbp - 0x78], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x70], r12b
lea rax, [rbp - 0x70]
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp byte [rax + r8], r12b
jne 0x14004ce70
lea rdx, [rbp - 0x70]
lea rcx, [rsp + 0x70]
call fcn.140058ff0
nop
mov r8d, 1
lea rdx, [0x1401415ec]
lea rcx, [rsp + 0x70]
call fcn.1400584b0
mov rcx, qword [rbx + 0x10]
movabs rax, 0x7fffffffffffffff
mov rdx, qword [rbp - 0x80]
sub rax, rdx
cmp rax, rcx
jb 0x14004d057
lea r9, [rsp + 0x70]
cmp qword [rbp - 0x78], 0x10
cmovae r9, qword [rsp + 0x70]
cmp qword [rbx + 0x18], 0x10
jb 0x14004ced7
mov rbx, qword [rbx]
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], rdx
lea r8, [rsp + 0x70]
movzx edx, byte [rsp + 0x40]
lea rcx, [rsp + 0x48]
call fcn.14005aa20
lea rax, [rsp + 0x48]
cmp rdi, rax
je 0x14004cf58
mov rdx, qword [rdi + 0x18]
cmp rdx, 0x10
jb 0x14004cf3a
mov rcx, qword [rdi]
inc rdx
cmp rdx, 0x1000
jb 0x14004cf35
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14004cf8c
mov rcx, r8
call fcn.1400bd0c8
mov qword [rdi + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rdi], 0
movups xmm0, xmmword [rsp + 0x48]
movups xmmword [rdi], xmm0
movups xmm1, xmmword [rsp + 0x58]
movups xmmword [rdi + 0x10], xmm1
jmp 0x14004cf99
mov rdx, qword [rsp + 0x60]
cmp rdx, 0x10
jb 0x14004cf99
inc rdx
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004cf93
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14004cf93
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400bd0c8
nop
mov rdx, qword [rbp - 0x78]
cmp rdx, 0x10
jb 0x14004cfd8
inc rdx
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004cfd3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14004cfd3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400bd0c8
cmp r13, r15
je 0x14004cff6
mov r8, qword [r15 + 0x10]
cmp qword [r15 + 0x18], 0x10
jb 0x14004cfeb
mov r15, qword [r15]
mov rdx, r15
mov rcx, r13
call fcn.140058ff0
lea rcx, [r14 + 0x48]
cmp rcx, rsi
je 0x14004d015
mov r8, qword [rsi + 0x10]
cmp qword [rsi + 0x18], 0x10
jb 0x14004d00d
mov rsi, qword [rsi]
mov rdx, rsi
call fcn.140058ff0
lea rax, [0x1400f2f30]
mov qword [r14 + 0x68], rax
mov qword [r14 + 0x70], 0x5000
mov rcx, r14
call fcn.14004d230
nop
mov rax, r14
mov rcx, qword [rbp + 0xa0]
xor rcx, rsp
call fcn.1400bcb70
add rsp, 0x1b8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
call fcn.14004a9e0
nop
int3