Function at 0x14001ef70
Capabilities:
Encode data using xor

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1f]
sub rsp, 0xc8
mov qword [rbp - 0x21], 0xfffffffffffffffe
mov rax, qword [0x1400b0700]
xor rax, rsp
mov qword [rbp + 0xf], rax
mov rbx, r9
mov rdi, r8
mov rsi, rdx
mov r12, rcx
mov qword [rsp + 0x20], rcx
mov qword [rbp - 9], rdx
mov qword [rbp - 1], r8
mov qword [rbp + 7], rbx
mov r15d, 1
mov ecx, r15d
call qword [0x140089698]
mov qword [rbp - 0x19], rax
xor r13d, r13d
mov qword [rbp - 0x11], r13
call fcn.140029f60
mov r14, rax
test rax, rax
je 0x14001f244
mov r8, rdi
cmp qword [rdi + 0x18], 0x10
jb 0x14001eff4
mov r8, qword [rdi]
mov edx, 0x2734
mov rcx, r14
call fcn.14002e440
mov r8, rsi
cmp qword [rsi + 0x18], 0x10
jb 0x14001f00e
mov r8, qword [rsi]
mov edx, 0x2712
mov rcx, r14
call fcn.14002e440
mov r8d, r15d
mov edx, 0x34
mov rcx, r14
call fcn.14002e440
mov cl, reloc.WS2_32.dll_sendto
mov dword [rsp + 0x20], 0x60607c14
mov word [rsp + 0x24], 0x6764
xor eax, eax
mov byte [rsp + 0x26], al
xor byte [rsp + rax + 0x21], cl
add rax, r15
cmp rax, 5
jae 0x14001f055
mov cl, byte [rsp + 0x20]
jmp 0x14001f042
mov byte [rsp + 0x26], r13b
lea r8, [rsp + 0x21]
mov edx, 0x27fe
mov rcx, r14
call fcn.14002e440
mov r8, rbx
cmp qword [rbx + 0x18], 0x10
jb 0x14001f079
mov r8, qword [rbx]
mov edx, 0x271f
mov rcx, r14
call fcn.14002e440
lea r8, [0x14001eee8]
mov edx, 0x4e2b
mov rcx, r14
call fcn.14002e440
lea r8, [rbp - 0x19]
mov edx, 0x2711
mov rcx, r14
call fcn.14002e440
movdqa xmm0, xmmword [0x1400a1bf0]
movdqu xmmword [rsp + 0x28], xmm0
movdqa xmm1, xmmword [0x1400a1c00]
movdqu xmmword [rbp - 0x71], xmm1
mov word [rbp - 0x61], 0x1c1d
xor eax, eax
mov byte [rbp - 0x5f], al
mov rcx, r13
mov al, byte [rsp + 0x28]
xor byte [rbp + rcx - 0x80], al
add rcx, r15
cmp rcx, 0x21
jb 0x14001f0d4
mov byte [rbp - 0x5f], r13b
lea rdx, [rbp - 0x80]
xor ecx, ecx
call fcn.14002a2c0
mov r8, rax
movdqa xmm0, xmmword [0x1400a1bc0]
movdqu xmmword [rbp - 0x59], xmm0
movdqa xmm1, xmmword [0x1400a1c40]
movdqu xmmword [rbp - 0x49], xmm1
movdqa xmm0, xmmword [0x1400a1bd0]
movdqu xmmword [rbp - 0x39], xmm0
xor eax, eax
mov byte [rbp - 0x29], al
mov rcx, r13
mov al, byte [rbp - 0x59]
xor byte [rbp + rcx - 0x58], al
add rcx, r15
cmp rcx, 0x2f
jb 0x14001f126
mov byte [rbp - 0x29], r13b
lea rdx, [rbp - 0x58]
mov rcx, r8
call fcn.14002a2c0
mov r8, rax
mov edx, 0x2727
mov rcx, r14
call fcn.14002e440
mov rcx, r14
call fcn.140029fd0
mov rdx, qword [rbp - 0x19]
mov rcx, r12
call fcn.140022fec
nop
mov rdx, qword [rsi + 0x18]
mov r15d, 0x1000
cmp rdx, 0x10
jb 0x14001f1a7
mov rcx, qword [rsi]
inc rdx
cmp rdx, r15
jb 0x14001f1a2
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14001f22f
mov rcx, r8
call fcn.14008579c
mov qword [rsi + 0x10], r13
mov r14d, reloc.WS2_32.dll_ntohs
mov qword [rsi + 0x18], r14
mov byte [rsi], r13b
mov rdx, qword [rdi + 0x18]
cmp rdx, 0x10
jb 0x14001f1ea
mov rcx, qword [rdi]
inc rdx
cmp rdx, r15
jb 0x14001f1e5
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14001f236
mov rcx, r8
call fcn.14008579c
mov qword [rdi + 0x10], r13
mov qword [rdi + 0x18], r14
mov byte [rdi], r13b
mov rdx, qword [rbx + 0x18]
cmp rdx, 0x10
jb 0x14001f227
inc rdx
mov rcx, qword [rbx]
cmp rdx, r15
jb 0x14001f222
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14001f23d
mov rcx, r8
call fcn.14008579c
mov rax, r12
jmp 0x14001f308
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
xor ecx, ecx
call fcn.140029f30
nop
mov rdx, qword [rsi + 0x18]
mov r15d, 0x1000
cmp rdx, 0x10
jb 0x14001f288
mov rcx, qword [rsi]
inc rdx
cmp rdx, r15
jb 0x14001f283
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14001f333
mov rcx, r8
call fcn.14008579c
mov qword [rsi + 0x10], r13
mov r14d, reloc.WS2_32.dll_ntohs
mov qword [rsi + 0x18], r14
mov byte [rsi], r13b
mov rdx, qword [rdi + 0x18]
cmp rdx, 0x10
jb 0x14001f2cb
mov rcx, qword [rdi]
inc rdx
cmp rdx, r15
jb 0x14001f2c6
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14001f33a
mov rcx, r8
call fcn.14008579c
mov qword [rdi + 0x10], r13
mov qword [rdi + 0x18], r14
mov byte [rdi], r13b
mov rdx, qword [rbx + 0x18]
cmp rdx, 0x10
jb 0x14001f308
inc rdx
mov rcx, qword [rbx]
cmp rdx, r15
jb 0x14001f303
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14001f341
mov rcx, r8
call fcn.14008579c
mov qword [rbx + 0x10], r13
mov qword [rbx + 0x18], r14
mov byte [rbx], r13b
mov rcx, qword [rbp + 0xf]
xor rcx, rsp
call fcn.140085070
add rsp, 0xc8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3