Function at 0x14004c9b0
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, [0x1400d08e7]
mov rcx, rdi
call fcn.140059490
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, [0x1400d08e7]
mov rcx, r13
call fcn.140059490
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, [0x1400d08e7]
lea rcx, [r14 + 0x48]
call fcn.140059490
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 0x14004caa1
mov rdx, rbx
cmp qword [rbx + 0x18], 0x10
jb 0x14004ca95
mov rdx, qword [rbx]
mov r8, qword [rbx + 0x10]
mov rcx, rdi
call fcn.140059490
mov r8, qword [rbx + 0x10]
mov r12, rbx
cmp qword [rbx + 0x18], 0x10
jb 0x14004cab2
mov r12, qword [rbx]
test r8, r8
je 0x14004cad6
mov edx, Ordinal_60
mov rcx, r12
call sub.VCRUNTIME140.dll_memchr
test rax, rax
je 0x14004cad6
sub rax, r12
cmp rax, 0xffffffffffffffff
jne 0x14004cc78
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 0x14004cb10
lea rdx, [rbp - 0x70]
lea rcx, [rsp + 0x70]
call fcn.140059490
nop
mov r8d, 1
lea rdx, [0x140141584]
lea rcx, [rsp + 0x70]
call fcn.140058960
mov rcx, qword [rbx + 0x10]
movabs rax, 0x7fffffffffffffff
mov rdx, qword [rbp - 0x80]
sub rax, rdx
cmp rax, rcx
jb 0x14004ccf7
lea r9, [rsp + 0x70]
cmp qword [rbp - 0x78], 0x10
cmovae r9, qword [rsp + 0x70]
cmp qword [rbx + 0x18], 0x10
jb 0x14004cb77
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.14005aed0
lea rax, [rsp + 0x48]
cmp rdi, rax
je 0x14004cbf8
mov rdx, qword [rdi + 0x18]
cmp rdx, 0x10
jb 0x14004cbda
mov rcx, qword [rdi]
inc rdx
cmp rdx, 0x1000
jb 0x14004cbd5
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14004cc2c
mov rcx, r8
call fcn.1400bd5b8
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 0x14004cc39
mov rdx, qword [rsp + 0x60]
cmp rdx, 0x10
jb 0x14004cc39
inc rdx
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004cc33
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14004cc33
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400bd5b8
nop
mov rdx, qword [rbp - 0x78]
cmp rdx, 0x10
jb 0x14004cc78
inc rdx
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004cc73
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14004cc73
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400bd5b8
cmp r13, r15
je 0x14004cc96
mov r8, qword [r15 + 0x10]
cmp qword [r15 + 0x18], 0x10
jb 0x14004cc8b
mov r15, qword [r15]
mov rdx, r15
mov rcx, r13
call fcn.140059490
lea rcx, [r14 + 0x48]
cmp rcx, rsi
je 0x14004ccb5
mov r8, qword [rsi + 0x10]
cmp qword [rsi + 0x18], 0x10
jb 0x14004ccad
mov rsi, qword [rsi]
mov rdx, rsi
call fcn.140059490
lea rax, [0x1400f2ee0]
mov qword [r14 + 0x68], rax
mov qword [r14 + 0x70], 0x5000
mov rcx, r14
call fcn.14004ced0
nop
mov rax, r14
mov rcx, qword [rbp + 0xa0]
xor rcx, rsp
call fcn.1400bd060
add rsp, 0x1b8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
call fcn.14004a540
nop
int3