Function at 0x1400027d0
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 0x140002816
mov al, 1
jmp 0x140002ad5
call fcn.14003c1c0
test al, al
je 0x140002ad3
xor edx, edx
mov r8d, 0x800
mov rcx, qword [rbx + 8]
call fcn.14003a3c0
mov rdi, rax
test rax, rax
je 0x140002ad3
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 0x140002880
lea rdx, [rbp - 0x80]
lea rcx, [rsp + 0x58]
call fcn.140004b70
mov dword [rsp + 0x30], 1
mov r8d, SafeArrayDestroy
lea rdx, [0x140079b10]
lea rcx, [rsp + 0x58]
call fcn.140005430
mov r8d, SafeArrayGetElement
lea rdx, str.TrDotNetIPCServer.dll
lea rcx, [rsp + 0x58]
call fcn.140005430
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 0x140002943
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000293e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140002b03
call fcn.14003e800
movdqa xmm0, xmmword [0x14007e880]
movdqu xmmword [rsp + 0x68], xmm0
mov word [rsp + 0x58], si
mov rax, qword [rsp + 0x48]
lea r9, [rax*2 + 2]
lea r8, [rsp + 0x38]
cmp qword [rsp + 0x50], 7
cmova r8, qword [rsp + 0x38]
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 0x140002a68
mov edx, 1
mov rcx, qword [rbx + 0x10]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rdx, rax
test rax, rax
je 0x140002a68
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.14003bbb0
test al, al
je 0x140002a68
mov rax, qword [rbx + 8]
mov rcx, qword [rax + 0x70]
test rcx, rcx
je 0x140002a01
mov r9d, 0x8000
xor r8d, r8d
mov rdx, rdi
mov rcx, qword [rcx + 0x80]
call qword [0x14008d288]
mov edx, 2
mov rcx, qword [rbx + 0x10]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x140002a8e
mov rcx, qword [rbx + 0x18]
sub rcx, qword [rbx + 0x10]
add rcx, rax
mov qword [rbx + 0x98], rcx
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov esi, 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 0x140002a8e
mov dword [rsp + 0x30], esi
lea rcx, [rbx - 0x20]
lea rdx, [rsp + 0x30]
call fcn.140003fe0
mov rcx, qword [rax + 8]
mov qword [rbx - 0x10], rcx
mov bl, 1
jmp 0x140002a90
mov rax, qword [rbx + 8]
mov rcx, qword [rax + 0x70]
test rcx, rcx
je 0x140002a8e
mov r9d, 0x8000
xor r8d, r8d
mov rdx, rdi
mov rcx, qword [rcx + 0x80]
call qword [0x14008d288]
xor bl, bl
mov rdx, qword [rsp + 0x50]
cmp rdx, 7
jbe 0x140002ace
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002ac9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140002afd
call fcn.14003e800
movzx eax, bl
jmp 0x140002ad5
xor al, al
mov rcx, qword [rbp + 0x190]
xor rcx, rsp
call fcn.14003e7e0
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.1400457dc
nop
call fcn.1400457dc
nop
int3