Function at 0x1400025f0
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 - 0x1a0]
sub rsp, 0x2a0
mov rax, qword [0x140088048]
xor rax, rsp
mov qword [rbp + 0x190], rax
mov rbx, rcx
xor esi, esi
mov dword [rsp + 0x30], esi
cmp byte [rcx - 8], sil
je 0x140002636
mov al, 1
jmp 0x1400028f2
call fcn.14003e1d0
test al, al
je 0x1400028f0
xor edx, edx
mov r8d, 0x800
mov rcx, qword [rbx + 8]
call fcn.14003c360
mov rdi, rax
test rax, rax
je 0x1400028f0
lea rax, [rbp - 0x80]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 0x1c]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
xorps xmm0, xmm0
movups xmmword [rsp + 0x58], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x68], xmm1
lea rax, [rbp - 0x80]
mov r8, 0xffffffffffffffff
nop word [rax + rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x1400026a0
lea rdx, [rbp - 0x80]
lea rcx, [rsp + 0x58]
call fcn.140004730
mov dword [rsp + 0x30], 1
mov r8d, SafeArrayDestroy
lea rdx, [0x140078ce0]
lea rcx, [rsp + 0x58]
call fcn.140005370
mov r8d, SafeArrayGetElement
lea rdx, str.TrDotNetIPCServer.dll
lea rcx, [rsp + 0x58]
call fcn.140005370
xorps xmm0, xmm0
movups xmmword [rsp + 0x38], xmm0
mov qword [rsp + 0x48], rsi
mov qword [rsp + 0x50], rsi
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x38], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x48], xmm1
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], 7
mov word [rax], si
mov rdx, qword [rsp + 0x70]
cmp rdx, 8
jb 0x140002763
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000275e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140002920
call fcn.140040920
movdqa xmm0, xmmword [0x14007d940]
movdqu xmmword [rsp + 0x68], xmm0
mov word [rsp + 0x58], si
lea r8, [rsp + 0x38]
cmp qword [rsp + 0x50], 8
cmovae r8, qword [rsp + 0x38]
mov r9, qword [rsp + 0x48]
lea r9, [r9*2 + 2]
mov rax, qword [rbx + 8]
mov rcx, qword [rax + 0x70]
mov qword [rsp + 0x20], rsi
mov rdx, rdi
mov rcx, qword [rcx + 0x80]
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
je 0x140002885
mov edx, 1
mov rcx, qword [rbx + 0x10]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rdx, rax
test rax, rax
je 0x140002885
sub rdx, qword [rbx + 0x10]
add rdx, qword [rbx + 0x18]
mov qword [rbx + 0x90], rdx
mov rax, qword [rbx + 8]
mov r8, rdi
mov rcx, qword [rax + 0x70]
call fcn.14003dbe0
test al, al
je 0x140002885
mov rax, qword [rbx + 8]
mov rcx, qword [rax + 0x70]
test rcx, rcx
je 0x140002821
mov r9d, 0x8000
xor r8d, r8d
mov rdx, rdi
mov rcx, qword [rcx + 0x80]
call qword [0x14008b308]
mov edx, 2
mov rcx, qword [rbx + 0x10]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x1400028ab
sub rax, qword [rbx + 0x10]
add rax, qword [rbx + 0x18]
mov qword [rbx + 0x98], rax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov edi, eax
mov rcx, qword [rbx + 8]
mov rdx, qword [rcx + 0x70]
mov r8d, eax
mov edx, dword [rdx + 0x40]
lea rcx, [rbx - 0x28]
call fcn.140001390
test al, al
je 0x1400028ab
mov dword [rsp + 0x30], edi
lea rcx, [rbx - 0x20]
lea rdx, [rsp + 0x30]
call fcn.140003e30
mov rcx, qword [rax + 8]
mov qword [rbx - 0x10], rcx
mov bl, 1
jmp 0x1400028ad
mov rax, qword [rbx + 8]
mov rcx, qword [rax + 0x70]
test rcx, rcx
je 0x1400028ab
mov r9d, 0x8000
xor r8d, r8d
mov rdx, rdi
mov rcx, qword [rcx + 0x80]
call qword [0x14008b308]
xor bl, bl
mov rdx, qword [rsp + 0x50]
cmp rdx, 8
jb 0x1400028eb
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400028e6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000291a
call fcn.140040920
movzx eax, bl
jmp 0x1400028f2
xor al, al
mov rcx, qword [rbp + 0x190]
xor rcx, rsp
call fcn.140040900
lea r11, [rsp + 0x2a0]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
call fcn.14004727c
nop
call fcn.14004727c
nop
int3