Function at 0x1400026a0
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 [0x14008a040]
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 0x1400026e6
mov al, 1
jmp 0x1400029a2
call fcn.14003ebc0
test al, al
je 0x1400029a0
xor edx, edx
mov r8d, 0x800
mov rcx, qword [rbx + 8]
call fcn.14003ccf0
mov rdi, rax
test rax, rax
je 0x1400029a0
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 0x140002750
lea rdx, [rbp - 0x80]
lea rcx, [rsp + 0x58]
call fcn.140004a40
mov dword [rsp + 0x30], 1
mov r8d, SafeArrayDestroy
lea rdx, [0x140079d20]
lea rcx, [rsp + 0x58]
call fcn.1400052f0
mov r8d, SafeArrayGetElement
lea rdx, str.TrDotNetIPCServer.dll
lea rcx, [rsp + 0x58]
call fcn.1400052f0
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, 7
jbe 0x140002813
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000280e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400029d0
call fcn.1400411f0
movdqa xmm0, xmmword [0x14007ea70]
movdqu xmmword [rsp + 0x68], xmm0
mov word [rsp + 0x58], si
lea r8, [rsp + 0x38]
cmp qword [rsp + 0x50], 7
cmova 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 0x140002935
mov edx, 1
mov rcx, qword [rbx + 0x10]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x140002935
mov rdx, qword [rbx + 0x18]
sub rdx, qword [rbx + 0x10]
add rdx, rax
mov qword [rbx + 0x90], rdx
mov rax, qword [rbx + 8]
mov r8, rdi
mov rcx, qword [rax + 0x70]
call fcn.14003e5c0
test al, al
je 0x140002935
mov rax, qword [rbx + 8]
mov rcx, qword [rax + 0x70]
test rcx, rcx
je 0x1400028d1
mov r9d, 0x8000
xor r8d, r8d
mov rdx, rdi
mov rcx, qword [rcx + 0x80]
call qword [0x14008d298]
mov edx, 2
mov rcx, qword [rbx + 0x10]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x14000295b
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.1400013d0
test al, al
je 0x14000295b
mov dword [rsp + 0x30], edi
lea rcx, [rbx - 0x20]
lea rdx, [rsp + 0x30]
call fcn.140003ed0
mov rcx, qword [rax + 8]
mov qword [rbx - 0x10], rcx
mov bl, 1
jmp 0x14000295d
mov rax, qword [rbx + 8]
mov rcx, qword [rax + 0x70]
test rcx, rcx
je 0x14000295b
mov r9d, 0x8000
xor r8d, r8d
mov rdx, rdi
mov rcx, qword [rcx + 0x80]
call qword [0x14008d298]
xor bl, bl
mov rdx, qword [rsp + 0x50]
cmp rdx, 7
jbe 0x14000299b
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002996
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400029ca
call fcn.1400411f0
movzx eax, bl
jmp 0x1400029a2
xor al, al
mov rcx, qword [rbp + 0x190]
xor rcx, rsp
call fcn.1400411d0
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.140047ff4
nop
call fcn.140047ff4
nop
int3