Function at 0x140002120
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r14
lea rbp, [rsp - 0x1e0]
sub rsp, 0x2e0
mov rax, qword [0x140088048]
xor rax, rsp
mov qword [rbp + 0x1d0], rax
mov rdi, rcx
xor r14d, r14d
mov dword [rsp + 0x30], r14d
cmp qword [rcx + 0x88], 0x12
jb 0x14000218c
mov rbx, qword [rcx + 0x70]
mov qword [rcx + 0x80], SafeArrayGetElement
lea r8d, [r14 + 0x24]
lea rdx, [0x140072ee0]
mov rcx, rbx
call fcn.140042e50
mov word [rbx + 0x24], r14w
jmp 0x1400021a2
lea r9, [0x140072ee0]
mov edx, 0x12
add rcx, 0x70
call fcn.140004cb0
nop
lea rax, [rbp - 0x40]
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 + 0x78], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x78], xmm1
lea rax, [rbp - 0x40]
mov rbx, 0xffffffffffffffff
mov r8, rbx
nop dword [rax + rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x1400021e0
lea rdx, [rbp - 0x40]
lea rcx, [rsp + 0x78]
call fcn.140004730
mov dword [rsp + 0x30], 1
mov r8d, SafeArrayDestroy
lea rdx, [0x140078ce0]
lea rcx, [rsp + 0x78]
call fcn.140005370
mov r8d, 1
lea rdx, [0x140072f08]
lea rcx, [rsp + 0x78]
call fcn.140005370
xorps xmm0, xmm0
movups xmmword [rsp + 0x38], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x48], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x38], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x48], xmm1
mov qword [rax + 0x10], r14
mov qword [rax + 0x18], 7
mov word [rax], r14w
mov dword [rsp + 0x30], 3
lea rdx, [rdi + 0x70]
cmp qword [rdi + 0x88], 8
jb 0x14000227b
mov rdx, qword [rdi + 0x70]
mov r8, qword [rdi + 0x80]
lea rcx, [rsp + 0x38]
call fcn.140005370
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x68], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x58], xmm1
mov qword [rax + 0x10], r14
mov qword [rax + 0x18], 7
mov word [rax], r14w
lea rsi, [rdi + 0x50]
lea rdx, [rbp - 0x68]
mov rcx, rsi
call fcn.1400040b0
mov rdx, qword [rbp - 0x50]
cmp rdx, 8
jb 0x1400022fc
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400022f6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400025d1
call fcn.140040920
nop
mov rdx, qword [rsp + 0x50]
cmp rdx, 8
jb 0x14000233e
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002339
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400025d7
call fcn.140040920
movdqa xmm0, xmmword [0x14007d940]
movdqu xmmword [rsp + 0x48], xmm0
mov word [rsp + 0x38], r14w
mov dword [rsp + 0x30], 6
mov rdx, qword [rbp - 0x70]
cmp rdx, 8
jb 0x14000239b
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002396
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400025dd
call fcn.140040920
cmp qword [rsi + 0x18], 8
jb 0x1400023a5
mov rsi, qword [rsi]
mov r8, rsi
mov ecx, 0x93
call fcn.140019890
nop
lea rax, [rbp - 0x40]
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 + 0x38], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x48], xmm1
lea rax, [rbp - 0x40]
inc rbx
cmp word [rax + rbx*2], 0
jne 0x1400023e3
mov r8, rbx
lea rdx, [rbp - 0x40]
lea rcx, [rsp + 0x38]
call fcn.140004730
mov dword [rsp + 0x30], SafeArrayDestroy
mov r8d, SafeArrayDestroy
lea rdx, [0x140078ce0]
lea rcx, [rsp + 0x38]
call fcn.140005370
mov r8d, SafeArrayGetElement
lea rdx, str.TrDotNetIPCServer.dll
lea rcx, [rsp + 0x38]
call fcn.140005370
xorps xmm0, xmm0
movups xmmword [rsp + 0x58], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x68], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x58], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x68], xmm1
mov qword [rax + 0x10], r14
mov qword [rax + 0x18], 7
mov word [rax], r14w
mov rdx, qword [rsp + 0x50]
cmp rdx, 8
jb 0x1400024a8
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400024a3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400025e3
call fcn.140040920
movdqa xmm0, xmmword [0x14007d940]
movdqu xmmword [rsp + 0x48], xmm0
mov word [rsp + 0x38], r14w
lea r8, [rsp + 0x58]
cmp qword [rsp + 0x70], 8
cmovae r8, qword [rsp + 0x58]
mov ecx, 0x94
call fcn.140019890
mov qword [rdi + 0x10], r14
mov qword [rdi + 0x28], r14
mov qword [rdi + 0x18], r14
lea rcx, [rdi + 0x30]
cmp qword [rdi + 0x48], 8
jb 0x1400024f2
mov rcx, qword [rdi + 0x30]
mov qword [rdi + 0x40], r14
mov word [rcx], r14w
mov qword [rdi + 0x20], r14
mov byte [rdi - 8], 0
mov rbx, qword [rdi + 0xa0]
mov rsi, qword [rdi + 0xa8]
cmp rbx, rsi
je 0x140002534
mov rcx, rbx
call fcn.140002d70
add rbx, 0x48
cmp rbx, rsi
jne 0x140002515
mov rax, qword [rdi + 0xa0]
mov qword [rdi + 0xa8], rax
mov rbx, qword [rdi + 0xb8]
mov rsi, qword [rdi + 0xc0]
cmp rbx, rsi
je 0x140002566
mov rcx, rbx
call fcn.140003ad0
add rbx, 8
cmp rbx, rsi
jne 0x140002547
mov rax, qword [rdi + 0xb8]
mov qword [rdi + 0xc0], rax
mov rdx, qword [rsp + 0x70]
cmp rdx, 8
jb 0x1400025a4
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000259f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400025cb
call fcn.140040920
mov rcx, qword [rbp + 0x1d0]
xor rcx, rsp
call fcn.140040900
lea r11, [rsp + 0x2e0]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
call fcn.14004727c
nop
call fcn.14004727c
nop
call fcn.14004727c
nop
call fcn.14004727c
nop
call fcn.14004727c
int3