Function at 0x140025ea0
Capabilities:
Delete file
Query environment variable

Disassembly:
jmp 0x140025ea0
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 [0x140122ec0]
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 0x1400260c4
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 0x140025f00
mov rdx, rax
lea rcx, [rbp + 0x17]
call fcn.1400011ea
nop
mov rcx, qword [rbp + 0x27]
mov rdx, qword [rbp + 0x2f]
mov rax, rdx
sub rax, rcx
cmp rax, 0x36
jb 0x140025f61
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 0x140025f81
mov qword [rsp + 0x20], Ordinal_60
lea r9, str.AppDataLocalFiveMFiveM.apppluginsExternal_V3.exe
xor r8d, r8d
lea edx, [r8 + 0x36]
lea rcx, [rbp + 0x17]
call fcn.140001b04
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 0x140025fec
inc rdx
mov rcx, qword [rbp + 0x17]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140025fe7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140025fe7
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000280b
movdqa xmm0, xmmword [0x1400f7260]
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 0x140026044
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.1400012df
lea rdx, [rbp - 9]
cmp qword [rbp + 0xf], 0xf
cmova rdx, qword [rbp - 9]
mov r8, qword [rbp + 7]
mov rcx, rax
call fcn.1400021c6
jmp 0x140026073
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 rbx, rax
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.1400012df
mov rcx, rax
mov rdx, rbx
call fcn.1400012df
lea rdx, [0x14000111d]
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 0x1400260e7
inc rdx
mov rcx, qword [rbp - 9]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400260bd
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400260bd
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000280b
jmp 0x1400260e7
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.1400012df
mov rcx, rax
lea rdx, [0x14000111d]
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.14000112c
mov rsi, rax
mov qword [rbp - 9], rax
mov qword [rbp + 7], Ordinal_32
mov qword [rbp + 0xf], Ordinal_32
movups xmm0, xmmword [str._t_t_t_t_t_tSuccessfully_Cleared__n_n]
movups xmmword [rax], xmm0
movsd xmm0, qword [0x1400f7c20]
movsd qword [rax + 0x10], xmm0
mov ecx, dword [0x1400f7c28]
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 0x1400261d2
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.1400025e5
mov rcx, rax
lea rdx, [0x140002022]
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.1400022ac
mov rax, qword [rbp - 0x11]
cmp rax, r15
jge 0x1400261bd
add rax, 0x4c4b400
mov qword [rbp - 0x19], rax
jmp 0x1400261c1
mov qword [rbp - 0x19], r14
lea rcx, [rbp - 0x19]
call fcn.140001e38
inc rbx
cmp rbx, rdi
jne 0x140026180
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.14000280b
mov ecx, 0x7d0
call qword [sym.imp.KERNEL32.dll_Sleep]
mov rcx, qword [rbp + 0x37]
xor rcx, rsp
call fcn.140001e2e
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