Function at 0x140076e60
Capabilities:
Get common file path

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x1b8
mov rax, qword [0x14012f080]
xor rax, rsp
mov qword [rsp + 0x1a0], rax
mov rsi, r9
mov r14, r8
mov rbx, rdx
mov r15, rcx
mov qword [rsp + 0x68], rcx
xor ebp, ebp
mov byte [rcx], bpl
lea rdi, [rcx + 8]
xorps xmm0, xmm0
movups xmmword [rdi], xmm0
mov qword [rdi + 0x10], rbp
mov qword [rdi + 0x18], rbp
xor r8d, r8d
lea rdx, [0x1400f05e8]
mov rcx, rdi
call fcn.140007d00
nop
lea r13, [r15 + 0x28]
xorps xmm0, xmm0
movups xmmword [r13], xmm0
mov qword [r13 + 0x10], rbp
mov qword [r13 + 0x18], rbp
xor r8d, r8d
lea rdx, [0x1400f05e8]
mov rcx, r13
call fcn.140007d00
nop
xorps xmm0, xmm0
movups xmmword [r15 + 0x48], xmm0
mov qword [r15 + 0x58], rbp
mov qword [r15 + 0x60], rbp
xor r8d, r8d
lea rdx, [0x1400f05e8]
lea rcx, [r15 + 0x48]
call fcn.140007d00
nop
mov qword [r15 + 0x68], rbp
mov qword [r15 + 0x70], rbp
mov dword [r15 + 0x78], ebp
mov qword [r15 + 0x80], rbp
cmp rdi, rbx
je 0x140076f3d
mov rdx, rbx
cmp qword [rbx + 0x18], 0x10
jb 0x140076f31
mov rdx, qword [rbx]
mov r8, qword [rbx + 0x10]
mov rcx, rdi
call fcn.14000b660
mov r8, qword [rbx + 0x10]
mov r12, rbx
cmp qword [rbx + 0x18], 0x10
jb 0x140076f4e
mov r12, qword [rbx]
test r8, r8
je 0x140076f72
mov edx, Ordinal_60
mov rcx, r12
call sub.VCRUNTIME140.dll_memchr
test rax, rax
je 0x140076f72
sub rax, r12
cmp rax, 0xffffffffffffffff
jne 0x140077121
lea rdx, [rsp + 0x90]
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
xorps xmm0, xmm0
movups xmmword [rsp + 0x70], xmm0
xor r12d, r12d
mov qword [rsp + 0x80], r12
mov qword [rsp + 0x88], r12
lea rax, [rsp + 0x90]
mov r8, 0xffffffffffffffff
nop
inc r8
cmp byte [rax + r8], r12b
jne 0x140076fb0
lea rdx, [rsp + 0x90]
lea rcx, [rsp + 0x70]
call fcn.140007d00
nop
mov r8d, 1
lea rdx, [0x14011c144]
lea rcx, [rsp + 0x70]
call fcn.14000b7c0
mov rcx, qword [rbx + 0x10]
movabs rax, 0x7fffffffffffffff
mov rdx, qword [rsp + 0x80]
sub rax, rdx
cmp rax, rcx
jb 0x1400771a1
lea r9, [rsp + 0x70]
cmp qword [rsp + 0x88], 0x10
cmovae r9, qword [rsp + 0x70]
cmp qword [rbx + 0x18], 0x10
jb 0x140077023
mov rbx, qword [rbx]
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], rdx
lea rcx, [rsp + 0x48]
call fcn.140033240
lea rax, [rsp + 0x48]
cmp rdi, rax
je 0x14007709c
mov rdx, qword [rdi + 0x18]
cmp rdx, 0x10
jb 0x14007707c
mov rcx, qword [rdi]
inc rdx
cmp rdx, 0x1000
jb 0x140077077
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1400770d1
mov rcx, r8
call fcn.1400dcfd0
mov eax, 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
mov byte [rsp + 0x48], 0
jmp 0x1400770a1
mov rax, qword [rsp + 0x60]
cmp rax, 0x10
jb 0x1400770de
lea rdx, [rax + 1]
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400770d8
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400770d8
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400dcfd0
nop
mov rdx, qword [rsp + 0x88]
cmp rdx, 0x10
jb 0x140077121
inc rdx
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14007711c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14007711c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400dcfd0
cmp r13, r14
je 0x14007713f
mov r8, qword [r14 + 0x10]
cmp qword [r14 + 0x18], 0x10
jb 0x140077134
mov r14, qword [r14]
mov rdx, r14
mov rcx, r13
call fcn.14000b660
lea rcx, [r15 + 0x48]
cmp rcx, rsi
je 0x14007715e
mov r8, qword [rsi + 0x10]
cmp qword [rsi + 0x18], 0x10
jb 0x140077156
mov rsi, qword [rsi]
mov rdx, rsi
call fcn.14000b660
lea rax, [0x1400f7300]
mov qword [r15 + 0x68], rax
mov qword [r15 + 0x70], 0x2f70
mov rcx, r15
call fcn.140077390
nop
mov rax, r15
mov rcx, qword [rsp + 0x1a0]
xor rcx, rsp
call fcn.1400dcfb0
add rsp, 0x1b8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
call fcn.1400038d0
nop
int3