Function at 0x14000b5f0
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 - 0x98]
sub rsp, 0x190
movaps xmmword [rax - 0x18], xmm6
mov rax, qword [0x14003d180]
xor rax, rsp
mov qword [rbp + 0x78], rax
xor edi, edi
xorps xmm0, xmm0
movups xmmword [rbp - 0x30], xmm0
mov qword [rbp - 0x20], rdi
mov qword [rbp - 0x18], recv
mov byte [rbp - 0x30], dil
movups xmmword [rsp + 0x70], xmm0
mov qword [rbp - 0x80], rdi
mov qword [rbp - 0x78], recv
mov byte [rsp + 0x70], dil
test ecx, ecx
je 0x14000b6b2
cmp ecx, 1
jne 0x14000b719
lea r9, str.Iris_v1_20_4_1.6.17
lea edx, [rdi + 0x13]
lea rcx, [rbp - 0x30]
call fcn.140002180
mov rax, qword [rbp - 0x78]
cmp rax, 0x14
jb 0x14000b6a9
lea rbx, [rsp + 0x70]
cmp rax, 0xf
cmova rbx, qword [rsp + 0x70]
mov qword [rbp - 0x80], socket
lea r8d, [rdi + 0x14]
lea rdx, str.Sodium_v1_20_4_0.5.8
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
mov byte [rbx + 0x14], dil
jmp 0x14000b719
lea r9, str.Sodium_v1_20_4_0.5.8
jmp 0x14000b70a
lea r9, str.Iris_v1_20_1_1.6.17
mov edx, reloc.WS2_32.dll_send
lea rcx, [rbp - 0x30]
call fcn.140002180
mov rax, qword [rbp - 0x78]
cmp rax, 0x14
jb 0x14000b703
lea rbx, [rsp + 0x70]
cmp rax, 0xf
cmova rbx, qword [rsp + 0x70]
mov qword [rbp - 0x80], socket
mov r8d, socket
lea rdx, str.Sodium_v1_20_1_0.5.8
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
mov byte [rbx + 0x14], 0
jmp 0x14000b719
lea r9, str.Sodium_v1_20_1_0.5.8
mov edx, socket
lea rcx, [rsp + 0x70]
call fcn.140002180
lea r8, str.USERPROFILE
lea rdx, [rbp + 0x30]
lea rcx, [rsp + 0x68]
call qword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll__dupenv_s]
test eax, eax
jne 0x14000bc35
mov rdx, qword [rsp + 0x68]
test rdx, rdx
je 0x14000bc35
xorps xmm0, xmm0
movups xmmword [rsp + 0x48], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x58], xmm1
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp byte [rdx + r8], 0
jne 0x14000b760
lea rcx, [rsp + 0x48]
call fcn.140011660
nop
mov r8d, 0x29
lea rdx, str..lunarclientofflinemultiveroverrides_
lea rcx, [rsp + 0x48]
call fcn.14000ef20
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x50], xmm0
movups xmm6, xmmword [rax + 0x10]
movups xmmword [rbp - 0x40], xmm6
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], recv
mov byte [rax], 0
mov rdx, qword [rsp + 0x60]
cmp rdx, 0xf
jbe 0x14000b7ea
inc rdx
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000b7e5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000b7e5
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
movabs rbx, 0x7fffffffffffffff
mov rax, rbx
mov rcx, qword [rbp - 0x20]
sub rax, rcx
cmp rax, 4
jb 0x14000bd17
lea r9, [rbp - 0x30]
cmp qword [rbp - 0x18], 0xf
cmova r9, qword [rbp - 0x30]
mov qword [rsp + 0x30], 4
lea rsi, str..jar
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], rcx
lea r8, [rbp - 0x30]
movzx edx, byte [rsp + 0x40]
lea rcx, [rbp + 0x10]
call fcn.1400121f0
nop
mov rax, rbx
movq rcx, xmm6
sub rax, rcx
mov rdx, qword [rbp + 0x20]
cmp rax, rdx
jb 0x14000bd1d
lea r9, [rbp - 0x50]
cmp qword [rbp - 0x38], 0xf
cmova r9, qword [rbp - 0x50]
lea rax, [rbp + 0x10]
cmp qword [rbp + 0x28], 0xf
cmova rax, qword [rbp + 0x10]
mov qword [rsp + 0x30], rdx
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rcx
lea r8, [rbp - 0x50]
movzx edx, byte [rsp + 0x40]
lea rcx, [rbp - 0x70]
call fcn.1400121f0
nop
mov rax, rbx
mov rcx, qword [rbp - 0x80]
sub rax, rcx
cmp rax, 4
jb 0x14000bd23
lea r9, [rsp + 0x70]
cmp qword [rbp - 0x78], 0xf
cmova r9, qword [rsp + 0x70]
mov qword [rsp + 0x30], 4
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], rcx
lea r8, [rsp + 0x70]
movzx edx, byte [rsp + 0x40]
lea rcx, [rbp + 0x58]
call fcn.1400121f0
nop
mov rax, rbx
mov rcx, qword [rbp - 0x40]
sub rax, rcx
mov rdx, qword [rbp + 0x20]
cmp rax, rdx
jb 0x14000bd29
lea r9, [rbp - 0x50]
cmp qword [rbp - 0x38], 0xf
cmova r9, qword [rbp - 0x50]
lea rax, [rbp + 0x10]
cmp qword [rbp + 0x28], 0xf
cmova rax, qword [rbp + 0x10]
mov qword [rsp + 0x30], rdx
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rcx
lea r8, [rbp - 0x50]
movzx edx, byte [rsp + 0x40]
lea rcx, [rbp + 0x38]
call fcn.1400121f0
nop
mov rcx, qword [rbp - 0x60]
sub rbx, rcx
cmp rbx, 0xe
jb 0x14000bd11
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], 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 [rsp + 0x60]
cmp rdx, 0xf
jbe 0x14000ba1d
inc rdx
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000ba18
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000ba18
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 + 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 0x14000ba6c
lea rdx, str.____Client_deleted_
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
jmp 0x14000ba7a
lea rdx, str.____Failed_to_delete_client_
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 [rsp + 0x68]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
nop
mov rdx, qword [rbp + 8]
cmp rdx, 0xf
jbe 0x14000bad9
inc rdx
mov rcx, qword [rbp - 0x10]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000bad4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000bad4
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 + 0x50]
cmp rdx, 0xf
jbe 0x14000bb29
inc rdx
mov rcx, qword [rbp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000bb23
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000bb23
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 + 0x70]
cmp rdx, 0xf
jbe 0x14000bb68
inc rdx
mov rcx, qword [rbp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000bb62
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000bb62
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 0x14000bba6
inc rdx
mov rcx, qword [rbp - 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000bba1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000bba1
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 + 0x28]
cmp rdx, 0xf
jbe 0x14000bbf5
inc rdx
mov rcx, qword [rbp + 0x10]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000bbef
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000bbef
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 - 0x38]
cmp rdx, 0xf
jbe 0x14000bc59
inc rdx
mov rcx, qword [rbp - 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000bc2e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000bc2e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400294ec
jmp 0x14000bc59
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 - 0x78]
cmp rdx, 0xf
jbe 0x14000bc98
inc rdx
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000bc93
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000bc93
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400294ec
mov qword [rbp - 0x80], rdi
mov qword [rbp - 0x78], recv
mov byte [rsp + 0x70], 0
mov rdx, qword [rbp - 0x18]
cmp rdx, 0xf
jbe 0x14000bce7
inc rdx
mov rcx, qword [rbp - 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000bce2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000bce2
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 + 0x78]
xor rcx, rsp
call fcn.140029490
lea r11, [rsp + 0x190]
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
int3