Function at 0x14000246e
Capabilities:
Delete file
Query environment variable

Disassembly:
jmp 0x14003c140
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r14
push r15
lea rbp, [rsp - 0x47]
sub rsp, 0x90
mov rax, qword [0x140144f00]
xor rax, rsp
mov qword [rbp + 0x37], rax
xor edi, edi
lea rcx, str.USERPROFILE
call qword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll_getenv]
test rax, rax
je 0x14003c364
xorps xmm0, xmm0
movups xmmword [rbp + 0x17], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x27], xmm1
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp byte [rax + r8], dil
jne 0x14003c1a0
mov rdx, rax
lea rcx, [rbp + 0x17]
call fcn.14000126c
nop
mov rcx, qword [rbp + 0x27]
mov rdx, qword [rbp + 0x2f]
mov rax, rdx
sub rax, rcx
cmp rax, 0x36
jb 0x14003c201
lea rax, [rcx + 0x36]
mov qword [rbp + 0x27], rax
lea rbx, [rbp + 0x17]
cmp rdx, 0xf
cmova rbx, qword [rbp + 0x17]
add rbx, rcx
mov r8d, gethostname
lea rdx, str.AppDataLocalFiveMFiveM.apppluginsExternal_V3.exe
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
mov byte [rbx + 0x36], 0
lea rax, [rbp + 0x17]
jmp 0x14003c221
mov qword [rsp + 0x20], gethostname
lea r9, str.AppDataLocalFiveMFiveM.apppluginsExternal_V3.exe
xor r8d, r8d
lea edx, [r8 + 0x36]
lea rcx, [rbp + 0x17]
call fcn.140001cdf
xorps xmm0, xmm0
movups xmmword [rbp - 9], xmm0
mov qword [rbp + 7], rdi
mov qword [rbp + 0xf], rdi
movups xmm0, xmmword [rax]
movups xmmword [rbp - 9], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 7], xmm1
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
mov rdx, qword [rbp + 0x2f]
cmp rdx, 0xf
jbe 0x14003c28c
inc rdx
mov rcx, qword [rbp + 0x17]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003c287
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14003c287
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140002b85
movdqa xmm0, xmmword [0x140113280]
movdqu xmmword [rbp + 0x27], xmm0
mov byte [rbp + 0x17], 0
lea rcx, [rbp - 9]
cmp qword [rbp + 0xf], 0xf
cmova rcx, qword [rbp - 9]
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll_remove]
test eax, eax
jne 0x14003c2e4
lea rdx, str.1__
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140001384
lea rdx, [rbp - 9]
cmp qword [rbp + 0xf], 0xf
cmova rdx, qword [rbp - 9]
mov r8, qword [rbp + 7]
mov rcx, rax
call fcn.140002487
jmp 0x14003c313
lea rdx, str.ERROR_0_
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.140001384
mov rbx, rax
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
mov ecx, dword [rax]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_strerror]
mov rdx, rax
mov rcx, rbx
call fcn.140001384
lea rdx, [0x140001154]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
nop
mov rdx, qword [rbp + 0xf]
cmp rdx, 0xf
jbe 0x14003c387
inc rdx
mov rcx, qword [rbp - 9]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003c35d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14003c35d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140002b85
jmp 0x14003c387
lea rdx, str.ERROR_11
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.140001384
lea rdx, [0x140001154]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
xorps xmm0, xmm0
movups xmmword [rbp - 9], xmm0
mov ecx, reloc.WLDAP32.dll_Ordinal_32
call fcn.14000116d
mov rsi, rax
mov qword [rbp - 9], rax
mov qword [rbp + 7], Ordinal_33
mov qword [rbp + 0xf], Ordinal_33
movups xmm0, xmmword [str._t_t_t_t_t_tSuccessfully_Cleared__n_n]
movups xmmword [rax], xmm0
movsd xmm0, qword [0x140114a60]
movsd qword [rax + 0x10], xmm0
mov ecx, dword [0x140114a68]
mov dword [rax + 0x18], ecx
movzx ecx, byte [reloc.WS2_32.dll_ioctlsocket]
mov byte [rax + 0x1c], cl
lea rdi, [rax + 0x1d]
mov byte [rdi], 0
mov ebx, 6
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov rcx, rax
movzx edx, bx
call qword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
mov rbx, rsi
cmp rsi, rdi
je 0x14003c472
movabs r15, 0x7ffffffffb3b4bff
movabs r14, 0x7fffffffffffffff
nop dword [rax + rax]
movzx edx, byte [rbx]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140002919
lea rdx, [0x1400022cf]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
lea rcx, [rbp - 0x11]
call fcn.140002590
mov rax, qword [rbp - 0x11]
cmp rax, r15
jge 0x14003c45d
add rax, 0x4c4b400
mov qword [rbp - 0x19], rax
jmp 0x14003c461
mov qword [rbp - 0x19], r14
lea rcx, [rbp - 0x19]
call fcn.140002081
inc rbx
cmp rbx, rdi
jne 0x14003c420
mov ebx, 7
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov rcx, rax
movzx edx, bx
call qword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
nop
lea edx, [rbx + 0x19]
mov rcx, rsi
call fcn.140002b85
mov ecx, 0x7d0
call qword [sym.imp.KERNEL32.dll_Sleep]
mov rcx, qword [rbp + 0x37]
xor rcx, rsp
call fcn.140002077
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop r14
pop rbp
ret