Function at 0x1800f9570
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 r13
push r14
push r15
lea rbp, [rsp - 0x37]
sub rsp, 0xe0
mov rax, qword [0x1802242b8]
xor rax, rsp
mov qword [rbp + 0x2f], rax
mov r13, rcx
xor r12d, r12d
mov qword [rbp - 0x61], r12
lea r9, [rbp - 0x61]
xor r8d, r8d
xor edx, edx
lea rcx, [0x1801bcca8]
call sub.SHELL32.dll_SHGetKnownFolderPath
xorps xmm0, xmm0
movups xmmword [rbp - 0x11], xmm0
mov qword [rbp - 1], r12
mov qword [rbp + 7], r12
mov rdx, qword [rbp - 0x61]
mov r8, 0xffffffffffffffff
nop dword [rax + rax]
inc r8
cmp word [rdx + r8*2], r12w
jne 0x1800f95e0
lea rcx, [rbp - 0x11]
call fcn.180020760
nop
mov rcx, qword [rbp - 0x61]
call qword [sym.imp.ole32.dll_CoTaskMemFree]
mov r14, qword [rbp - 1]
movabs rcx, 0x7ffffffffffffffe
mov rax, rcx
sub rax, r14
cmp rax, 0xb
jb 0x1800f9bc1
lea r15, [rbp - 0x11]
cmp qword [rbp + 7], 8
cmovae r15, qword [rbp - 0x11]
xorps xmm0, xmm0
movups xmmword [rbp + 0xf], xmm0
lea rsi, [r14 + 0xb]
mov ebx, 7
lea rdi, [rbp + 0xf]
lea eax, [rbx + 3]
cmp rsi, rbx
jbe 0x1800f9672
mov rbx, rsi
or rbx, 7
cmp rbx, rcx
jbe 0x1800f9657
mov rbx, rcx
jmp 0x1800f965e
cmp rbx, rax
cmovb rbx, rax
lea rdx, [rbx + 1]
lea rcx, [rbp + 0xf]
call fcn.18000f110
mov rdi, rax
mov qword [rbp + 0xf], rax
mov qword [rbp + 0x1f], rsi
mov qword [rbp + 0x27], rbx
lea rbx, [r14 + r14]
mov r8, rbx
mov rdx, r15
mov rcx, rdi
call sub.VCRUNTIME140.dll_memcpy
movups xmm0, xmmword [str.CitizenFX_]
movups xmmword [rbx + rdi], xmm0
mov eax, dword [0x1801bab00]
mov dword [rbx + rdi + 0x10], eax
movzx eax, word [0x1801bab04]
mov word [rbx + rdi + 0x14], ax
mov word [rdi + rsi*2], r12w
lea r8, [rbp - 0x11]
cmp qword [rbp + 7], 8
cmovae r8, qword [rbp - 0x11]
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x28], r12d
mov qword [rsp + 0x20], r12
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 - 0x31]
call fcn.1800da5b0
nop
lea rdx, [rbp - 0x31]
cmp qword [rbp - 0x19], 0x10
cmovae rdx, qword [rbp - 0x31]
lea r8, [rbp - 0x11]
cmp qword [rbp + 7], 8
cmovae r8, qword [rbp - 0x11]
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x30], r12
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]
xorps xmm0, xmm0
movups xmmword [rbp - 0x51], xmm0
mov qword [rbp - 0x41], r12
mov qword [rbp - 0x39], r12
mov rdi, qword [rbp - 0x21]
lea rsi, [rbp - 0x31]
cmp qword [rbp - 0x19], 0x10
cmovae rsi, qword [rbp - 0x31]
movabs rbx, 0x7fffffffffffffff
cmp rdi, rbx
ja 0x1800f9bbb
cmp rdi, 0x10
jae 0x1800f9789
mov qword [rbp - 0x41], rdi
mov r14d, reloc.WS2_32.dll_ntohs
mov qword [rbp - 0x39], r14
movups xmm0, xmmword [rsi]
movups xmmword [rbp - 0x51], xmm0
jmp 0x1800f97dc
mov qword [rbp - 0x39], reloc.WS2_32.dll_ntohs
mov rax, rdi
or rax, 0xf
cmp rax, rbx
ja 0x1800f97ac
mov rbx, rax
mov ecx, reloc.WLDAP32.dll_Ordinal_22
cmp rax, rcx
cmovb rbx, rcx
lea rdx, [rbx + 1]
lea rcx, [rbp - 0x51]
call fcn.18000eec0
mov qword [rbp - 0x51], rax
mov qword [rbp - 0x41], rdi
mov qword [rbp - 0x39], rbx
lea r8, [rdi + 1]
mov rdx, rsi
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
mov r14, qword [rbp - 0x39]
mov rdi, qword [rbp - 0x41]
lea rsi, [rbp - 0x51]
mov r12, qword [rbp - 0x51]
cmp r14, 0x10
cmovae rsi, r12
cmp rdi, 8
jb 0x1800f9858
lea r15, [rdi + rsi]
lea r8, [r15 - 7]
sub r8, rsi
mov edx, 0x75
mov rcx, rsi
call sub.VCRUNTIME140.dll_memchr
mov rbx, rax
test rax, rax
je 0x1800f9858
nop dword [rax]
nop word [rax + rax]
mov r8d, 8
lea rdx, str.username
mov rcx, rbx
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x1800f9896
inc rbx
lea r8, [r15 - 7]
sub r8, rbx
mov edx, 0x75
mov rcx, rbx
call sub.VCRUNTIME140.dll_memchr
mov rbx, rax
test rax, rax
jne 0x1800f9820
mov rax, r14
sub rax, rdi
cmp rax, 0xa
jb 0x1800f98c1
lea rax, [rdi + 0xa]
mov qword [rbp - 0x41], rax
lea rbx, [rbp - 0x51]
cmp r14, 0x10
cmovae rbx, r12
add rbx, rdi
mov r8d, 0xa
lea rdx, str.ros_id.dat
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
mov byte [rbx + 0xa], 0
jmp 0x1800f98e4
sub rbx, rsi
cmp rbx, 0xffffffffffffffff
je 0x1800f9858
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 - 0x69]
mov edx, 0xa
lea rcx, [rbp - 0x51]
call fcn.180026760
lea rdx, [rbp - 0x51]
cmp qword [rbp - 0x39], 0x10
cmovae rdx, qword [rbp - 0x51]
lea r8, [0x1801bab14]
lea rcx, [rbp - 0x59]
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 - 0x59]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
mov r9, qword [rbp - 0x59]
mov edx, 1
lea r8d, [rdx + 3]
lea rcx, [0x18022bcdc]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
mov rcx, qword [rbp - 0x59]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov eax, dword [0x18022bcdc]
mov dword [r13], eax
mov rdx, qword [rbp - 0x39]
cmp dword [0x18022bcdc], 0
je 0x1800f9a6c
cmp rdx, 0x10
jb 0x1800f9988
inc rdx
mov rcx, qword [rbp - 0x51]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800f9983
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800f9a9a
call fcn.180153a5c
xor ebx, ebx
mov qword [rbp - 0x41], rbx
mov qword [rbp - 0x39], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x51], bl
mov rdx, qword [rbp - 0x19]
cmp rdx, 0x10
jb 0x1800f99d4
inc rdx
mov rcx, qword [rbp - 0x31]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800f99cf
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800f9ae9
call fcn.180153a5c
mov qword [rbp - 0x21], rbx
mov qword [rbp - 0x19], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x31], 0
mov rdx, qword [rbp + 0x27]
cmp rdx, 8
jb 0x1800f9a25
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0xf]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800f9a1f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800f9b3c
call fcn.180153a5c
nop
mov rdx, qword [rbp + 7]
cmp rdx, 8
jb 0x1800f9a65
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x11]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800f9a60
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800f9b80
call fcn.180153a5c
mov al, 1
jmp 0x1800f9b8e
cmp rdx, 0x10
jb 0x1800f9aa6
inc rdx
mov rcx, qword [rbp - 0x51]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800f9aa1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800f9aa1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180153a5c
xor ebx, ebx
mov qword [rbp - 0x41], rbx
mov qword [rbp - 0x39], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x51], bl
mov rdx, qword [rbp - 0x19]
cmp rdx, 0x10
jb 0x1800f9af5
inc rdx
mov rcx, qword [rbp - 0x31]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800f9af0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800f9af0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180153a5c
mov qword [rbp - 0x21], rbx
mov qword [rbp - 0x19], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x31], 0
mov rdx, qword [rbp + 0x27]
cmp rdx, 8
jb 0x1800f9b49
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0xf]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800f9b43
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800f9b43
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180153a5c
nop
mov rdx, qword [rbp + 7]
cmp rdx, 8
jb 0x1800f9b8c
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x11]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800f9b87
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800f9b87
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180153a5c
xor al, al
mov rcx, qword [rbp + 0x2f]
xor rcx, rsp
call fcn.180153af0
lea r11, [rsp + 0xe0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call fcn.180007a10
nop
call fcn.180007a10
int3