Function at 0x180001750
Capabilities:
Get common file path

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x198
mov rax, qword [0x180141080]
xor rax, rsp
mov qword [rsp + 0x180], rax
mov r15, r9
mov rbp, r8
mov r12, rdx
mov rdi, rcx
mov qword [rsp + 0x20], rcx
mov byte [rcx], 0
lea r13, [rcx + 8]
lea rdx, [0x1800b0ea0]
mov rcx, r13
call fcn.18000a5a0
nop
lea rcx, [rdi + 0x28]
lea rdx, [0x1800b0ea0]
call fcn.18000a5a0
nop
lea rcx, [rdi + 0x48]
lea rdx, [0x1800b0ea0]
call fcn.18000a5a0
nop
xor r14d, r14d
mov qword [rdi + 0x68], r14
mov qword [rdi + 0x70], r14
mov qword [rdi + 0x78], r14
cmp r13, r12
je 0x1800017f0
mov rdx, r12
cmp qword [r12 + 0x18], 0xf
jbe 0x1800017e3
mov rdx, qword [r12]
mov r8, qword [r12 + 0x10]
mov rcx, r13
call fcn.18000a820
mov r8, qword [r12 + 0x10]
mov rbx, r12
cmp qword [r12 + 0x18], 0xf
jbe 0x180001804
mov rbx, qword [r12]
test r8, r8
je 0x180001828
mov edx, Ordinal_60
mov rcx, rbx
call sub.VCRUNTIME140.dll_memchr
test rax, rax
je 0x180001828
sub rax, rbx
cmp rax, 0xffffffffffffffff
jne 0x1800019ec
lea rdx, [rsp + 0x70]
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
xorps xmm0, xmm0
movups xmmword [rsp + 0x48], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x58], xmm1
lea rax, [rsp + 0x70]
mov rbx, 0xffffffffffffffff
inc rbx
cmp byte [rax + rbx], r14b
jne 0x180001855
movabs rsi, 0x7fffffffffffffff
cmp rbx, rsi
ja 0x180001a6d
cmp rbx, 0xf
ja 0x1800018a1
mov qword [rsp + 0x58], rbx
mov qword [rsp + 0x60], reloc.WS2_32.dll_ntohs
mov r8, rbx
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x48]
call sub.VCRUNTIME140.dll_memcpy
mov byte [rsp + rbx + 0x48], r14b
jmp 0x180001936
mov rax, rbx
or rax, 0xf
cmp rax, rsi
jbe 0x1800018da
movabs rax, 0x8000000000000000
add rax, 0x27
mov rcx, rax
call fcn.1800a1898
test rax, rax
je 0x1800019e0
lea r14, [rax + 0x27]
and r14, 0xffffffffffffffe0
mov qword [r14 - 8], rax
jmp 0x180001912
mov rsi, rax
mov ecx, reloc.WLDAP32.dll_Ordinal_22
cmp rax, rcx
cmovb rsi, rcx
lea rcx, [rsi + 1]
test rcx, rcx
je 0x180001912
cmp rcx, 0x1000
jb 0x18000190a
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x180001a73
jmp 0x1800018bb
call fcn.1800a1898
mov r14, rax
mov qword [rsp + 0x48], r14
mov qword [rsp + 0x58], rbx
mov qword [rsp + 0x60], rsi
mov r8, rbx
lea rdx, [rsp + 0x70]
mov rcx, r14
call sub.VCRUNTIME140.dll_memcpy
mov byte [r14 + rbx], 0
mov r8d, 1
lea rdx, [0x1800b0ea4]
lea rcx, [rsp + 0x48]
call fcn.18000a980
mov r8, r12
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0x28]
call fcn.18000aad0
lea rcx, [rdi + 8]
mov rdx, rax
call fcn.18000a510
mov rdx, qword [rsp + 0x40]
cmp rdx, 0xf
jbe 0x1800019ac
inc rdx
mov rcx, qword [rsp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800019a6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800019a6
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800a1770
nop
mov rdx, qword [rsp + 0x60]
cmp rdx, 0xf
jbe 0x1800019ec
inc rdx
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800019e7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800019e7
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800a1770
lea rcx, [rdi + 0x28]
cmp rcx, rbp
je 0x180001a0c
mov r8, qword [rbp + 0x10]
cmp qword [rbp + 0x18], 0xf
jbe 0x180001a04
mov rbp, qword [rbp]
mov rdx, rbp
call fcn.18000a820
lea rcx, [rdi + 0x48]
cmp rcx, r15
je 0x180001a2b
mov r8, qword [r15 + 0x10]
cmp qword [r15 + 0x18], 0xf
jbe 0x180001a23
mov r15, qword [r15]
mov rdx, r15
call fcn.18000a820
lea rax, [0x1800b13d0]
mov qword [rdi + 0x68], rax
mov dword [rdi + 0x70], 0x9c98
mov rcx, rdi
call fcn.180001c20
nop
mov rax, rdi
mov rcx, qword [rsp + 0x180]
xor rcx, rsp
call fcn.1800a1750
add rsp, 0x198
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
call fcn.180001360
nop
call fcn.1800012c0
int3