Function at 0x1400182f0
Capabilities:
Check if file exists
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 - 0xa0]
sub rsp, 0x1a0
mov rax, qword [0x140087048]
xor rax, rsp
mov qword [rbp + 0x90], rax
mov rdi, rcx
mov qword [rbp + 0x60], rcx
mov dword [rsp + 0x20], 1
xorps xmm0, xmm0
movups xmmword [rcx], xmm0
xor esi, esi
mov qword [rcx], rsi
mov qword [rcx + 8], rsi
mov qword [rcx + 0x10], rsi
mov dword [rsp + 0x20], 1
lea r9, [rbp + 0x68]
xor r8d, r8d
xor edx, edx
lea rcx, [0x14006bac0]
call qword [sym.imp.SHELL32.dll_SHGetKnownFolderPath]
test eax, eax
jns 0x140018373
mov rcx, qword [rbp + 0x68]
call qword [sym.imp.ole32.dll_CoTaskMemFree]
jmp 0x1400187d4
lea r9, [rbp + 0x70]
xor r8d, r8d
xor edx, edx
lea rcx, [0x14006bad0]
call qword [sym.imp.SHELL32.dll_SHGetKnownFolderPath]
test eax, eax
jns 0x14001839c
mov rcx, qword [rbp + 0x70]
call qword [sym.imp.ole32.dll_CoTaskMemFree]
jmp 0x1400187d4
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp + 0x78], xmm0
mov qword [rbp + 0x88], rax
movups xmmword [rsp + 0x68], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x78], xmm1
mov rdx, qword [rbp + 0x68]
mov rbx, 0xffffffffffffffff
mov r8, rbx
nop dword [rax + rax]
inc r8
cmp word [rdx + r8*2], ax
jne 0x1400183d0
lea rcx, [rsp + 0x68]
call fcn.1400048a0
nop
lea rdx, [rsp + 0x68]
lea rcx, [rbp - 0x20]
call fcn.14002ce30
nop
mov r8d, 8
lea rdx, str.Discord
mov rcx, rax
call fcn.140006e40
xorps xmm0, xmm0
movups xmmword [rbp], xmm0
xorps xmm1, xmm1
movdqa xmmword [rbp + 0x10], xmm1
movups xmm0, xmmword [rax]
movaps xmmword [rbp], xmm0
movups xmm1, xmmword [rax + 0x10]
movaps xmmword [rbp + 0x10], xmm1
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
mov dword [rsp + 0x20], 3
xorps xmm0, xmm0
movups xmmword [rsp + 0x48], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x58], xmm1
mov rdx, qword [rbp + 0x68]
mov r8, rbx
nop word [rax + rax]
inc r8
cmp word [rdx + r8*2], 0
jne 0x140018460
lea rcx, [rsp + 0x48]
call fcn.1400048a0
nop
lea rdx, [rsp + 0x48]
lea rcx, [rbp - 0x40]
call fcn.14002ce30
nop
mov r8d, 0xe
lea rdx, str.discordcanary
mov rcx, rax
call fcn.140006e40
xorps xmm0, xmm0
movups xmmword [rbp + 0x20], xmm0
xorps xmm1, xmm1
movdqa xmmword [rbp + 0x30], xmm1
movups xmm0, xmmword [rax]
movaps xmmword [rbp + 0x20], xmm0
movups xmm1, xmmword [rax + 0x10]
movaps xmmword [rbp + 0x30], xmm1
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
mov dword [rsp + 0x20], 7
xorps xmm0, xmm0
movups xmmword [rsp + 0x28], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x38], xmm1
mov rdx, qword [rbp + 0x68]
inc rbx
cmp word [rdx + rbx*2], 0
jne 0x1400184e4
mov r8, rbx
lea rcx, [rsp + 0x28]
call fcn.1400048a0
nop
lea rdx, [rsp + 0x28]
lea rcx, [rbp - 0x60]
call fcn.14002ce30
nop
mov r8d, 0xb
lea rdx, str.discordptb
mov rcx, rax
call fcn.140006e40
xorps xmm0, xmm0
movups xmmword [rbp + 0x40], xmm0
xorps xmm1, xmm1
movdqa xmmword [rbp + 0x50], xmm1
movups xmm0, xmmword [rax]
movaps xmmword [rbp + 0x40], xmm0
movups xmm1, xmmword [rax + 0x10]
movaps xmmword [rbp + 0x50], xmm1
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
mov dword [rsp + 0x20], 0xf
lea rax, [rbp]
mov qword [rbp - 0x70], rax
lea rax, [rbp + 0x60]
mov qword [rbp - 0x68], rax
lea rdx, [rbp - 0x70]
lea rcx, [rbp + 0x78]
call fcn.14000d530
nop
lea r9, [fcn.140006890]
mov edx, 0x20
lea r8d, [rdx - 0x1d]
lea rcx, [rbp]
call fcn.14003dde0
nop
mov rdx, qword [rbp - 0x48]
cmp rdx, 0x10
jb 0x1400185c8
inc rdx
mov rcx, qword [rbp - 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400185c3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140018805
call fcn.14003dd70
movdqa xmm0, xmmword [0x14007a5f0]
movdqu xmmword [rbp - 0x50], xmm0
mov byte [rbp - 0x60], 0
mov rdx, qword [rsp + 0x40]
cmp rdx, 8
jb 0x14001861b
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140018616
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001880b
call fcn.14003dd70
movdqa xmm0, xmmword [0x14007a5e0]
movdqu xmmword [rsp + 0x38], xmm0
mov word [rsp + 0x28], si
mov rdx, qword [rbp - 0x28]
cmp rdx, 0x10
jb 0x140018669
inc rdx
mov rcx, qword [rbp - 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140018664
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140018811
call fcn.14003dd70
movdqa xmm0, xmmword [0x14007a5f0]
movdqu xmmword [rbp - 0x30], xmm0
mov byte [rbp - 0x40], 0
mov rdx, qword [rsp + 0x60]
cmp rdx, 8
jb 0x1400186bc
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400186b7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140018817
call fcn.14003dd70
movdqa xmm0, xmmword [0x14007a5e0]
movdqu xmmword [rsp + 0x58], xmm0
mov word [rsp + 0x48], si
mov rdx, qword [rbp - 8]
cmp rdx, 0x10
jb 0x14001870a
inc rdx
mov rcx, qword [rbp - 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140018705
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001881d
call fcn.14003dd70
movdqa xmm0, xmmword [0x14007a5f0]
movdqu xmmword [rbp - 0x10], xmm0
mov byte [rbp - 0x20], 0
mov rdx, qword [rbp - 0x80]
cmp rdx, 8
jb 0x14001875c
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140018757
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400187ff
call fcn.14003dd70
movdqa xmm0, xmmword [0x14007a5e0]
movdqu xmmword [rsp + 0x78], xmm0
mov word [rsp + 0x68], si
mov rsi, qword [rbp + 0x80]
mov rbx, qword [rbp + 0x78]
cmp rbx, rsi
je 0x1400187ca
nop
mov rcx, rbx
cmp qword [rbx + 0x18], 0x10
jb 0x14001878d
mov rcx, qword [rbx]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x1400187c1
mov rax, qword [rdi + 8]
cmp rax, qword [rdi + 0x10]
je 0x1400187b3
mov rdx, rbx
mov rcx, rax
call fcn.140006930
add qword [rdi + 8], 0x20
jmp 0x1400187c1
mov r8, rbx
mov rdx, rax
mov rcx, rdi
call fcn.1400086c0
add rbx, 0x20
cmp rbx, rsi
jne 0x140018780
lea rcx, [rbp + 0x78]
call fcn.140006d00
nop
mov rax, rdi
mov rcx, qword [rbp + 0x90]
xor rcx, rsp
call fcn.14003dd50
lea r11, [rsp + 0x1a0]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
call fcn.1400447b4
nop
call fcn.1400447b4
nop
call fcn.1400447b4
nop
call fcn.1400447b4
nop
call fcn.1400447b4
nop
call fcn.1400447b4
int3