Function at 0x140058c50
Capabilities:
Encode data using xor
Terminate process

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x58]
sub rsp, 0x130
movaps xmmword [rax - 0x38], xmm6
movaps xmmword [rax - 0x48], xmm7
mov rax, qword [0x1400f1080]
xor rax, rsp
mov qword [rbp], rax
xor r14d, r14d
lea rcx, [rbp - 0x60]
call fcn.140058850
mov rsi, rax
movdqa xmm0, xmmword [0x1400dfe70]
movdqa xmmword [rsp + 0x60], xmm0
movdqa xmm1, xmmword [0x1400e0360]
movdqa xmmword [rsp + 0x70], xmm1
movdqa xmm0, xmmword [0x1400e0380]
movdqa xmmword [rbp - 0x80], xmm0
movdqa xmm1, xmmword [0x1400dfd40]
movdqa xmmword [rbp - 0x70], xmm1
mov ecx, r14d
movzx eax, byte [rsp + 0x60]
xor byte [rsp + rcx + 0x61], al
movzx eax, byte [rsp + 0x60]
xor byte [rsp + rcx + 0x62], al
add rcx, 2
cmp rcx, 0x3e
jb 0x140058cd1
mov byte [rbp - 0x61], 0
lea rax, [rsp + 0x61]
mov rdi, 0xffffffffffffffff
mov rbx, rdi
inc rbx
cmp byte [rax + rbx], 0
jne 0x140058d00
mov r8, qword [rsi + 0x10]
mov rcx, qword [rsi + 0x18]
mov rax, rcx
sub rax, r8
cmp rbx, rax
ja 0x140058daa
lea rax, [r8 + rbx]
mov qword [rsi + 0x10], rax
mov r15, rsi
cmp rcx, 0xf
jbe 0x140058d34
mov r15, qword [rsi]
lea rax, [rsp + 0x61]
add rax, rbx
cmp rax, r15
jbe 0x140058d6b
lea rax, [r15 + r8]
lea rcx, [rsp + 0x61]
cmp rcx, rax
ja 0x140058d6b
lea rax, [rsp + 0x61]
cmp r15, rax
ja 0x140058d5e
mov r12, r14
jmp 0x140058d6e
lea rax, [rsp + 0x61]
mov r12, r15
sub r12, rax
jmp 0x140058d6e
mov r12, rbx
inc r8
lea rcx, [r15 + rbx]
mov rdx, r15
call sub.VCRUNTIME140.dll_memmove
mov r8, r12
lea rdx, [rsp + 0x61]
mov rcx, r15
call sub.VCRUNTIME140.dll_memcpy
mov r8, rbx
sub r8, r12
lea rax, [r12 + rbx]
lea rdx, [rsp + 0x61]
add rdx, rax
lea rcx, [r15 + r12]
call sub.VCRUNTIME140.dll_memcpy
jmp 0x140058dc7
mov qword [rsp + 0x28], rbx
lea rax, [rsp + 0x61]
mov qword [rsp + 0x20], rax
mov rdx, rbx
mov rcx, rsi
call fcn.140067670
mov rsi, rax
movups xmm7, xmmword [rsi]
movups xmmword [rbp - 0x20], xmm7
movups xmm6, xmmword [rsi + 0x10]
movups xmmword [rbp - 0x10], xmm6
mov qword [rsi + 0x10], r14
mov qword [rsi + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rsi], 0
mov rdx, qword [rbp - 0x48]
cmp rdx, 0xf
jbe 0x140058e23
inc rdx
mov rcx, qword [rbp - 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140058e1e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140058e1e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400c1c74
movdqa xmm0, xmmword [0x1400dfbc0]
movdqu xmmword [rbp - 0x50], xmm0
mov byte [rbp - 0x60], 0
xorps xmm0, xmm0
movups xmmword [rsp + 0x38], xmm0
mov qword [rsp + 0x48], r14
mov qword [rsp + 0x50], r14
lea r12, [rbp - 0x20]
movq r15, xmm7
movdqa xmm0, xmm6
psrldq xmm0, 8
movq r13, xmm0
cmp r13, 0xf
cmova r12, r15
movabs rbx, 0x7fffffffffffffff
movq rsi, xmm6
cmp rsi, rbx
ja 0x14005907c
cmp rsi, 0xf
ja 0x140058ea0
mov qword [rsp + 0x48], rsi
mov qword [rsp + 0x50], reloc.WS2_32.dll_ntohs
movups xmm0, xmmword [r12]
movups xmmword [rsp + 0x38], xmm0
jmp 0x140058f32
mov rax, rsi
or rax, 0xf
cmp rax, rbx
jbe 0x140058ed5
movabs rax, 0x8000000000000000
add rax, 0x27
mov rcx, rax
call fcn.1400c1c30
test rax, rax
je 0x140058f05
lea r14, [rax + 0x27]
and r14, 0xffffffffffffffe0
mov qword [r14 - 8], rax
jmp 0x140058f14
mov rbx, rax
mov ecx, reloc.WLDAP32.dll_Ordinal_22
cmp rax, rcx
cmovb rbx, rcx
lea rcx, [rbx + 1]
test rcx, rcx
je 0x140058f14
cmp rcx, 0x1000
jb 0x140058f0c
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x140059082
jmp 0x140058eba
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400c1c30
mov r14, rax
mov qword [rsp + 0x38], r14
mov qword [rsp + 0x48], rsi
mov qword [rsp + 0x50], rbx
lea r8, [rsi + 1]
mov rdx, r12
mov rcx, r14
call sub.VCRUNTIME140.dll_memcpy
lea rdx, [rsp + 0x38]
lea rcx, [rbp - 0x40]
call fcn.140058660
mov byte [rsp + 0x30], reloc.WS2_32.dll_socket
mov al, 0x51
mov cl, 0x76
mov dl, 0x7e
mov r8b, 0x7b
mov r9b, WSACleanup
mov r10b, reloc.WS2_32.dll_WSAStartup
xor r11d, r11d
xor al, 0x17
mov byte [rsp + 0x31], al
xor cl, 0x17
mov byte [rsp + 0x32], cl
xor dl, 0x17
mov byte [rsp + 0x33], dl
xor r8b, 0x17
mov byte [rsp + 0x34], r8b
xor r9b, 0x17
mov byte [rsp + 0x35], r9b
xor r10b, 0x17
mov byte [rsp + 0x36], r10b
mov byte [rsp + 0x37], r11b
lea rax, [rsp + 0x31]
inc rdi
cmp byte [rax + rdi], r11b
jne 0x140058f90
lea rcx, [rbp - 0x40]
mov rbx, qword [rbp - 0x40]
mov rsi, qword [rbp - 0x28]
cmp rsi, 0xf
cmova rcx, rbx
mov r8, qword [rbp - 0x30]
cmp r8, rdi
jne 0x140058fd0
lea rdx, [rsp + 0x31]
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x140058fd0
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
cmp rsi, 0xf
jbe 0x14005900b
lea rdx, [rsi + 1]
mov rax, rbx
cmp rdx, 0x1000
jb 0x140059002
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140059002
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rbx
call fcn.1400c1c74
nop
cmp r13, 0xf
jbe 0x140059045
lea rdx, [r13 + 1]
mov rax, r15
cmp rdx, 0x1000
jb 0x14005903d
add rdx, 0x27
mov r15, qword [r15 - 8]
sub rax, r15
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14005903d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, r15
call fcn.1400c1c74
mov rcx, qword [rbp]
xor rcx, rsp
call fcn.1400c1970
lea r11, [rsp + 0x130]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call fcn.1400014e0
nop
call fcn.140001440
int3