Function at 0x1800c57f0
Capabilities:
Get common file path
Read file on windows
Terminate process

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r14
lea rbp, [rsp - 0x47]
sub rsp, 0xe0
mov rax, qword [0x180230100]
xor rax, rsp
mov qword [rbp + 0x3f], rax
mov r12, rcx
xor edi, edi
mov qword [rbp - 0x51], rdi
lea r9, [rbp - 0x51]
xor r8d, r8d
xor edx, edx
lea rcx, [0x1801e6c40]
call sub.SHELL32.dll_SHGetKnownFolderPath
xorps xmm0, xmm0
movups xmmword [rbp - 0x21], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x11], xmm1
mov rdx, qword [rbp - 0x51]
mov r8, 0xffffffffffffffff
inc r8
cmp word [rdx + r8*2], di
jne 0x1800c5856
lea rcx, [rbp - 0x21]
call fcn.18001bbd0
nop
mov rcx, qword [rbp - 0x51]
call qword [sym.imp.ole32.dll_CoTaskMemFree]
lea r8, str.CitizenFX_
lea rdx, [rbp - 0x21]
lea rcx, [rbp + 0x1f]
call fcn.180098940
nop
lea r8, [rbp - 0x21]
cmp qword [rbp - 9], 7
cmova r8, qword [rbp - 0x21]
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x28], edi
mov qword [rsp + 0x20], rdi
xor edx, edx
mov ecx, 0xfde9
lea r9d, [rdx - 1]
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
movsxd rbx, eax
mov rdx, rbx
xor r8d, r8d
lea rcx, [rbp - 1]
call fcn.18000a0c0
nop
lea rdx, [rbp - 1]
cmp qword [rbp + 0x17], 0xf
cmova rdx, qword [rbp - 1]
lea r8, [rbp - 0x21]
cmp qword [rbp - 9], 7
cmova r8, qword [rbp - 0x21]
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x28], ebx
mov qword [rsp + 0x20], rdx
xor edx, edx
mov ecx, 0xfde9
lea r9d, [rdx - 1]
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
lea rdx, [rbp - 1]
lea rcx, [rbp - 0x41]
call fcn.18000a2f0
nop
lea rsi, [rbp - 0x41]
cmp qword [rbp - 0x29], 0xf
cmova rsi, qword [rbp - 0x41]
mov r14, qword [rbp - 0x31]
cmp r14, 8
jb 0x1800c599a
lea rdi, [r14 + rsi]
lea r8, [rdi - 7]
sub r8, rsi
mov edx, 0x75
mov rcx, rsi
call sub.VCRUNTIME140.dll_memchr
mov rbx, rax
test rax, rax
je 0x1800c5998
nop dword [rax]
nop dword [rax + rax]
mov r8d, 8
lea rdx, str.username
mov rcx, rbx
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x1800c59db
inc rbx
lea r8, [rdi - 7]
sub r8, rbx
mov edx, 0x75
mov rcx, rbx
call sub.VCRUNTIME140.dll_memchr
mov rbx, rax
test rax, rax
jne 0x1800c5960
xor edi, edi
mov rax, qword [rbp - 0x29]
sub rax, r14
cmp rax, 0xa
jb 0x1800c5a06
lea rax, [r14 + 0xa]
mov qword [rbp - 0x31], rax
lea rbx, [rbp - 0x41]
cmp qword [rbp - 0x29], 0xf
cmova rbx, qword [rbp - 0x41]
add rbx, r14
mov r8d, 0xa
lea rdx, str.ros_id.dat
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
mov byte [rbx + 0xa], 0
jmp 0x1800c5a29
sub rbx, rsi
cmp rbx, 0xffffffffffffffff
je 0x1800c5998
xor r9d, r9d
lea r8, str.C___
lea rdx, str.Set_your_path
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
mov qword [rsp + 0x20], 0xa
lea r9, str.ros_id.dat
movzx r8d, byte [rbp - 0x59]
mov edx, 0xa
lea rcx, [rbp - 0x41]
call fcn.18000d5d0
lea rdx, [rbp - 0x41]
cmp qword [rbp - 0x29], 0xf
cmova rdx, qword [rbp - 0x41]
lea r8, [0x1801e025c]
lea rcx, [rbp - 0x49]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fopen_s]
xor r8d, r8d
xor edx, edx
mov rcx, qword [rbp - 0x49]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
mov r9, qword [rbp - 0x49]
mov edx, 1
lea r8d, [rdx + 3]
lea rcx, [0x180234a9c]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
mov rcx, qword [rbp - 0x49]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov eax, dword [0x180234a9c]
mov dword [r12], eax
mov rdx, qword [rbp - 0x29]
cmp dword [0x180234a9c], 0
je 0x1800c5bb1
cmp rdx, 0xf
jbe 0x1800c5acd
inc rdx
mov rcx, qword [rbp - 0x41]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800c5ac8
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800c5bdf
call fcn.1800d084c
mov qword [rbp - 0x31], rdi
mov qword [rbp - 0x29], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x41], 0
mov rdx, qword [rbp + 0x17]
cmp rdx, 0xf
jbe 0x1800c5b18
inc rdx
mov rcx, qword [rbp - 1]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800c5b13
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800c5c2d
call fcn.1800d084c
movdqa xmm0, xmmword [0x180212870]
movdqu xmmword [rbp + 0xf], xmm0
mov byte [rbp - 1], 0
mov rdx, qword [rbp + 0x37]
cmp rdx, 7
jbe 0x1800c5b6a
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x1f]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800c5b64
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800c5c81
call fcn.1800d084c
nop
mov rdx, qword [rbp - 9]
cmp rdx, 7
jbe 0x1800c5baa
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x21]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800c5ba5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800c5cc5
call fcn.1800d084c
mov al, 1
jmp 0x1800c5cd3
cmp rdx, 0xf
jbe 0x1800c5beb
inc rdx
mov rcx, qword [rbp - 0x41]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800c5be6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800c5be6
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800d084c
mov qword [rbp - 0x31], rdi
mov qword [rbp - 0x29], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x41], 0
mov rdx, qword [rbp + 0x17]
cmp rdx, 0xf
jbe 0x1800c5c39
inc rdx
mov rcx, qword [rbp - 1]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800c5c34
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800c5c34
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800d084c
movdqa xmm0, xmmword [0x180212870]
movdqu xmmword [rbp + 0xf], xmm0
mov byte [rbp - 1], 0
mov rdx, qword [rbp + 0x37]
cmp rdx, 7
jbe 0x1800c5c8e
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x1f]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800c5c88
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800c5c88
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800d084c
nop
mov rdx, qword [rbp - 9]
cmp rdx, 7
jbe 0x1800c5cd1
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x21]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800c5ccc
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800c5ccc
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800d084c
xor al, al
mov rcx, qword [rbp + 0x3f]
xor rcx, rsp
call fcn.1800d08e0
lea r11, [rsp + 0xe0]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop r12
pop rbp
ret