Function at 0x14000bd30
Capabilities:
Delete file
Execute command

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
lea rbp, [rax - 0xd8]
sub rsp, 0x1d0
movaps xmmword [rax - 0x18], xmm6
mov rax, qword [0x14003d180]
xor rax, rsp
mov qword [rbp + 0xb8], rax
xor edi, edi
xorps xmm0, xmm0
movups xmmword [rbp + 0x50], xmm0
mov qword [rbp + 0x60], rdi
mov qword [rbp + 0x68], rdi
lea r8d, [rdi + 0x14]
lea rdx, str.Sodium_v1_20_1_0.5.8
lea rcx, [rbp + 0x50]
call fcn.140011660
nop
xorps xmm0, xmm0
movups xmmword [rbp + 0x30], xmm0
mov qword [rbp + 0x40], rdi
mov qword [rbp + 0x48], rdi
lea r8d, [rdi + 0x14]
lea rdx, str.Sodium_v1_20_4_0.5.8
lea rcx, [rbp + 0x30]
call fcn.140011660
nop
lea r8, str.USERPROFILE
lea rdx, [rbp + 0xb0]
lea rcx, [rbp - 0x78]
call qword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll__dupenv_s]
test eax, eax
jne 0x14000c44a
mov rdx, qword [rbp - 0x78]
test rdx, rdx
je 0x14000c44a
xorps xmm0, xmm0
movups xmmword [rbp - 0x50], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x40], xmm1
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rdx + r8], 0
jne 0x14000bdf0
lea rcx, [rbp - 0x50]
call fcn.140011660
nop
mov r8d, 0x29
lea rdx, str..lunarclientofflinemultiveroverrides_
lea rcx, [rbp - 0x50]
call fcn.14000ef20
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x30], xmm0
movups xmm6, xmmword [rax + 0x10]
movups xmmword [rbp - 0x20], xmm6
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], recv
mov byte [rax], 0
mov rdx, qword [rbp - 0x38]
cmp rdx, 0xf
jbe 0x14000be76
inc rdx
mov rcx, qword [rbp - 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000be71
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000be71
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400294ec
movdqa xmm0, xmmword [0x140032bf0]
movdqu xmmword [rbp - 0x40], xmm0
mov byte [rbp - 0x50], 0
movabs rbx, 0x7fffffffffffffff
mov rax, rbx
mov rcx, qword [rbp + 0x60]
sub rax, rcx
cmp rax, 4
jb 0x14000c51e
lea r9, [rbp + 0x50]
cmp qword [rbp + 0x68], 0xf
cmova r9, qword [rbp + 0x50]
mov qword [rsp + 0x30], 4
lea rsi, str..jar
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], rcx
lea r8, [rbp + 0x50]
movzx edx, byte [rsp + 0x40]
lea rcx, [rbp + 0x90]
call fcn.1400121f0
nop
mov rax, rbx
movq rcx, xmm6
sub rax, rcx
mov rdx, qword [rbp + 0xa0]
cmp rax, rdx
jb 0x14000c524
lea r9, [rbp - 0x30]
cmp qword [rbp - 0x18], 0xf
cmova r9, qword [rbp - 0x30]
lea rax, [rbp + 0x90]
cmp qword [rbp + 0xa8], 0xf
cmova rax, qword [rbp + 0x90]
mov qword [rsp + 0x30], rdx
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rcx
lea r8, [rbp - 0x30]
movzx edx, byte [rsp + 0x40]
lea rcx, [rbp - 0x70]
call fcn.1400121f0
nop
mov rax, rbx
mov rcx, qword [rbp + 0x40]
sub rax, rcx
cmp rax, 4
jb 0x14000c52a
lea r9, [rbp + 0x30]
cmp qword [rbp + 0x48], 0xf
cmova r9, qword [rbp + 0x30]
mov qword [rsp + 0x30], 4
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], rcx
lea r8, [rbp + 0x30]
movzx edx, byte [rsp + 0x40]
lea rcx, [rbp - 0x50]
call fcn.1400121f0
nop
mov rax, rbx
mov rcx, qword [rbp - 0x20]
sub rax, rcx
mov rdx, qword [rbp - 0x40]
cmp rax, rdx
jb 0x14000c530
lea r9, [rbp - 0x30]
cmp qword [rbp - 0x18], 0xf
cmova r9, qword [rbp - 0x30]
lea rax, [rbp - 0x50]
cmp qword [rbp - 0x38], 0xf
cmova rax, qword [rbp - 0x50]
mov qword [rsp + 0x30], rdx
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rcx
lea r8, [rbp - 0x30]
movzx edx, byte [rsp + 0x40]
lea rcx, [rbp + 0x70]
call fcn.1400121f0
nop
mov rax, rbx
mov rcx, qword [rbp - 0x60]
sub rax, rcx
cmp rax, 0xe
jb 0x14000c536
lea rax, [rbp - 0x70]
cmp qword [rbp - 0x58], 0xf
cmova rax, qword [rbp - 0x70]
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], recv
lea r9, str.attrib__h__s__
lea r8, [rbp - 0x70]
movzx edx, byte [rsp + 0x40]
lea rcx, [rsp + 0x48]
call fcn.1400121f0
nop
mov r8d, 1
lea rdx, [0x140032050]
lea rcx, [rsp + 0x48]
call fcn.14000ef20
xorps xmm0, xmm0
movups xmmword [rbp + 0x10], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x20], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x10], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x20], xmm1
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], recv
mov byte [rax], 0
mov rdx, qword [rsp + 0x60]
cmp rdx, 0xf
jbe 0x14000c0b6
inc rdx
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000c0b1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000c0b1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400294ec
movdqa xmm0, xmmword [0x140032bf0]
movdqu xmmword [rsp + 0x58], xmm0
mov byte [rsp + 0x48], 0
lea rcx, [rbp + 0x10]
cmp qword [rbp + 0x28], 0xf
cmova rcx, qword [rbp + 0x10]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
mov rcx, qword [rbp - 0x60]
sub rbx, rcx
cmp rbx, 0xe
jb 0x14000c518
lea rax, [rbp - 0x70]
cmp qword [rbp - 0x58], 0xf
cmova rax, qword [rbp - 0x70]
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], recv
lea r9, str.attrib__h__s__
lea r8, [rbp - 0x70]
movzx edx, byte [rsp + 0x40]
lea rcx, [rsp + 0x68]
call fcn.1400121f0
nop
mov r8d, 1
lea rdx, [0x140032050]
lea rcx, [rsp + 0x68]
call fcn.14000ef20
xorps xmm0, xmm0
movups xmmword [rbp - 0x10], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x10], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp], xmm1
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], recv
mov byte [rax], 0
mov rdx, qword [rbp - 0x80]
cmp rdx, 0xf
jbe 0x14000c1ad
inc rdx
mov rcx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000c1a8
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000c1a8
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400294ec
movdqa xmm0, xmmword [0x140032bf0]
movdqu xmmword [rsp + 0x78], xmm0
mov byte [rsp + 0x68], 0
lea rcx, [rbp - 0x10]
cmp qword [rbp + 8], 0xf
cmova rcx, qword [rbp - 0x10]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
lea rcx, [rbp - 0x70]
cmp qword [rbp - 0x58], 0xf
cmova rcx, qword [rbp - 0x70]
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll_remove]
test eax, eax
jne 0x14000c217
lea rcx, [rbp + 0x70]
cmp qword [rbp + 0x88], 0xf
cmova rcx, qword [rbp + 0x70]
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll_remove]
test eax, eax
jne 0x14000c217
lea rdx, str.____Old_client_files_deleted_
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
jmp 0x14000c225
lea rdx, str.____Failed_to_delete_old_client_files_
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.140010fb0
lea rdx, [0x140011180]
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]
mov rcx, qword [rbp - 0x78]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
nop
mov rdx, qword [rbp + 8]
cmp rdx, 0xf
jbe 0x14000c283
inc rdx
mov rcx, qword [rbp - 0x10]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000c27e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000c27e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400294ec
movdqa xmm0, xmmword [0x140032bf0]
movdqu xmmword [rbp], xmm0
mov byte [rbp - 0x10], 0
mov rdx, qword [rbp + 0x28]
cmp rdx, 0xf
jbe 0x14000c2d2
inc rdx
mov rcx, qword [rbp + 0x10]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000c2cd
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000c2cd
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400294ec
movdqa xmm0, xmmword [0x140032bf0]
movdqu xmmword [rbp + 0x20], xmm0
mov byte [rbp + 0x10], 0
mov rdx, qword [rbp + 0x88]
cmp rdx, 0xf
jbe 0x14000c324
inc rdx
mov rcx, qword [rbp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000c31f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000c31f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400294ec
movdqa xmm0, xmmword [0x140032bf0]
movdqu xmmword [rbp + 0x80], xmm0
mov byte [rbp + 0x70], 0
mov rdx, qword [rbp - 0x38]
cmp rdx, 0xf
jbe 0x14000c377
inc rdx
mov rcx, qword [rbp - 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000c371
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000c371
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400294ec
nop
mov rdx, qword [rbp - 0x58]
cmp rdx, 0xf
jbe 0x14000c3b5
inc rdx
mov rcx, qword [rbp - 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000c3b0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000c3b0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400294ec
mov qword [rbp - 0x60], rdi
mov qword [rbp - 0x58], recv
mov byte [rbp - 0x70], 0
mov rdx, qword [rbp + 0xa8]
cmp rdx, 0xf
jbe 0x14000c40a
inc rdx
mov rcx, qword [rbp + 0x90]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000c404
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000c404
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400294ec
nop
mov rdx, qword [rbp - 0x18]
cmp rdx, 0xf
jbe 0x14000c46e
inc rdx
mov rcx, qword [rbp - 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000c443
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000c443
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400294ec
jmp 0x14000c46e
lea rdx, str.____Failed_to_retrieve_the_USERPROFILE_environment_variable.
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.140010fb0
lea rdx, [0x140011180]
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 + 0x48]
cmp rdx, 0xf
jbe 0x14000c4ad
inc rdx
mov rcx, qword [rbp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000c4a7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000c4a7
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400294ec
nop
mov rdx, qword [rbp + 0x68]
cmp rdx, 0xf
jbe 0x14000c4eb
inc rdx
mov rcx, qword [rbp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000c4e6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000c4e6
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400294ec
mov rcx, qword [rbp + 0xb8]
xor rcx, rsp
call fcn.140029490
lea r11, [rsp + 0x1d0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
movaps xmm6, xmmword [r11 - 0x10]
mov rsp, r11
pop rbp
ret
call fcn.1400014c0
nop
call fcn.1400014c0
nop
call fcn.1400014c0
nop
call fcn.1400014c0
nop
call fcn.1400014c0
nop
call fcn.1400014c0
int3