Function at 0x14001cc80
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
lea rbp, [rsp - 0x1d0]
sub rsp, 0x2d0
mov rax, qword [0x140177090]
xor rax, rsp
mov qword [rbp + 0x1c0], rax
mov rdi, rcx
mov qword [rsp + 0x60], rcx
xor esi, esi
mov qword [rcx + 0x18], rsi
mov qword [rcx + 0x20], reloc.WS2_32.dll_ntohs
mov byte [rcx + 8], sil
mov dword [rcx + 0x28], esi
lea rax, vtable.Logger.0
mov qword [rcx], rax
lea rbx, [rcx + 0x30]
mov qword [rsp + 0x68], rbx
mov qword [rbx], rsi
mov qword [rbx + 8], rsi
lea ecx, [rsi + 0x48]
call fcn.1400e9d8c
mov qword [rax], rax
mov qword [rax + 8], rax
mov qword [rax + 0x10], rax
mov word [rax + 0x18], 0x101
mov qword [rbx], rax
mov rbx, 0xffffffffffffffff
mov ecx, ebx
call fcn.14001ca60
mov dword [rdi + 0x40], eax
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp - 0x50]
call fcn.1400ec680
lea rdx, [rbp - 0x50]
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x38], 7
mov word [rsp + 0x20], si
lea rax, [rbp - 0x50]
mov r8, rbx
nop
inc r8
cmp word [rax + r8*2], 0
jne 0x14001cd50
lea rdx, [rbp - 0x50]
lea rcx, [rsp + 0x20]
call fcn.1400088b0
nop
mov qword [rsp + 0x50], rsi
mov qword [rsp + 0x58], 7
mov word [rsp + 0x40], si
mov qword [rbp - 0x60], rsi
mov qword [rbp - 0x58], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x70], 0
mov r8d, 0xa
lea rdx, str.adpverbose
lea rcx, [rbp - 0x70]
call fcn.140008ab0
nop
lea rdx, [rsp + 0x40]
lea rcx, [rbp - 0x70]
call fcn.14001a690
nop
lea rcx, [rbp - 0x70]
call fcn.140008a50
nop
lea r8, [rsp + 0x40]
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x20]
call fcn.140025150
cmp qword [rax + 0x18], 8
jb 0x14001cddb
mov rax, qword [rax]
mov rcx, rax
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmp eax, 1
sete al
mov byte [rdi + 0x44], al
lea rcx, [rsp + 0x70]
call fcn.140008840
nop
lea rcx, [rsp + 0x40]
call fcn.140008840
nop
lea rcx, [rsp + 0x20]
call fcn.140008840
mov qword [rdi + 0x58], rsi
mov qword [rdi + 0x60], reloc.WS2_32.dll_ntohs
mov byte [rdi + 0x48], 0
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x70]
call fcn.140025ca0
nop
cmp qword [rax + 0x18], 8
jb 0x14001ce37
mov rax, qword [rax]
mov rcx, rax
call qword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
lea rdx, [0x14014ce5c]
test rax, rax
cmovne rdx, rax
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x38], 7
mov word [rsp + 0x20], si
inc rbx
cmp word [rdx + rbx*2], 0
jne 0x14001ce61
mov r8, rbx
lea rcx, [rsp + 0x20]
call fcn.1400088b0
nop
xor r8d, r8d
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x20]
call fcn.140025500
nop
lea rcx, [rsp + 0x20]
call fcn.140008840
nop
lea rdx, [rdi + 0x68]
lea rcx, [rsp + 0x40]
call fcn.140022660
nop
lea rcx, [rsp + 0x40]
call fcn.140008840
nop
lea rcx, [rsp + 0x70]
call fcn.140008840
mov qword [rdi + 0x98], rsi
mov qword [rdi + 0xa0], rsi
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateMutexW]
mov qword [rdi + 0x98], rax
mov qword [rdi + 0xa8], rsi
xor eax, eax
mov qword [rdi + 0x88], rax
mov dword [rdi + 0x90], eax
mov rax, rdi
mov rcx, qword [rbp + 0x1c0]
xor rcx, rsp
call fcn.1400e9d60
lea r11, [rsp + 0x2d0]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret