Function at 0x1400fec48
Capabilities:
Encode data using xor

Disassembly:
test edx, edx
je 0x1400ff181
mov r11, rsp
push rbp
push r14
lea rbp, [r11 - 0x5f]
sub rsp, 0xd8
movaps xmmword [r11 - 0x48], xmm6
mov rax, qword [0x1402581e0]
xor rax, rsp
mov qword [rbp + 0xf], rax
cmp dword [0x1402ddd1c], 0
mov qword [r11 + 0x18], rbx
mov qword [r11 - 0x18], rsi
movaps xmm6, xmm2
mov qword [r11 - 0x20], rdi
mov r14d, edx
mov dword [rbp - 0x19], edx
mov qword [r11 - 0x28], r12
mov qword [rbp - 0x11], rcx
je 0x1400fed45
mov rax, qword [0x1402ddcc0]
test rax, rax
je 0x1400fecaa
lea rcx, [rbp - 0x29]
call rax
jmp 0x1400feccd
mov rax, qword [0x1402ddcb8]
test rax, rax
je 0x1400fecba
call rax
jmp 0x1400fecc0
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
xor ecx, ecx
mov qword [rbp - 0x21], rcx
mov dword [rbp - 0x21], eax
mov qword [rbp - 0x29], rcx
mov r10, qword [0x1402ddce8]
test r10, r10
je 0x1400fecf8
mov edx, reloc.WS2_32.dll_send
lea r8, [0x140275d68]
mov r9d, 0xdf
lea ecx, [rdx - 0xe]
call r10
mov r10, qword [0x1402ddce8]
mov rax, qword [0x1402dffc8]
sub rax, qword [rbp - 0x29]
jne 0x1400fed10
mov rax, qword [0x1402dffd0]
sub rax, qword [rbp - 0x21]
xor edi, edi
test rax, rax
mov ebx, edi
sete bl
mov dword [rbp - 0x39], ebx
test r10, r10
je 0x1400fed3f
lea r8, [0x140275d98]
lea edx, [rdi + 0x13]
lea ecx, [rdi + 6]
mov r9d, 0xe1
call r10
mov r10, qword [0x1402ddce8]
test ebx, ebx
jne 0x1400fed77
jmp 0x1400fed53
mov r10, qword [0x1402ddce8]
xor edi, edi
mov ebx, edi
mov dword [rbp - 0x39], ebx
test r10, r10
je 0x1400fed77
mov edx, reloc.WS2_32.dll_select
lea r8, [0x140275dc8]
mov r9d, 0xe6
lea ecx, [rdx - 9]
call r10
mov r10, qword [0x1402ddce8]
movsxd rcx, dword [0x1402ddd28]
mov eax, dword [0x1402ddd08]
mov r8d, dword [0x1402ddd0c]
movaps xmm0, xmmword [0x1402dfb90]
mov dword [rbp - 0x31], eax
mov eax, dword [0x1402dfba0]
mov rsi, rcx
movups xmmword [rbp - 9], xmm0
add ecx, r14d
mov dword [rbp - 0x2d], r8d
mov dword [rbp + 7], eax
mov dword [0x1402ddd28], ecx
cmp ecx, 0x3ff
jl 0x1400fede7
mov eax, 0x7fdff7fd
mov dword [0x1402ddd10], 0x3ff
imul ecx
sub edx, ecx
sar edx, 9
mov eax, edx
shr eax, 0x1f
add edx, eax
imul eax, edx, 0x3ff
add ecx, eax
mov dword [0x1402ddd28], ecx
jmp 0x1400fedff
mov eax, dword [0x1402ddd10]
cmp eax, 0x3ff
jge 0x1400fedff
cmp ecx, eax
cmovg eax, ecx
mov dword [0x1402ddd10], eax
mov eax, 0x66666667
mov ecx, r14d
imul r14d
sar edx, 3
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [rdx + rdx*4]
shl eax, 2
sub ecx, eax
mov eax, edi
test ecx, ecx
setg al
add eax, edx
add r8d, eax
mov dword [0x1402ddd0c], r8d
test ebx, ebx
jne 0x1400fee55
test r10, r10
je 0x1400fee55
lea r8, [0x140275df8]
lea edx, [rbx + 0x12]
lea ecx, [rbx + 0xa]
mov r9d, 0x106
call r10
mov r10, qword [0x1402ddce8]
xor eax, eax
mov qword [rsp + 0xb8], r13
mov r12d, edi
mov qword [rsp + 0xb0], r15
mov qword [rbp - 0x69], rax
mov qword [rbp - 0x61], rax
mov qword [rbp - 0x59], rax
mov ecx, eax
mov qword [rbp - 0x51], rax
mov qword [rbp - 0x49], rax
mov qword [rbp - 0x41], rax
test r14d, r14d
jle 0x1400fefee
mov rbx, rsi
mov r13d, r14d
mov r15d, setsockopt
nop dword [rax]
mov r14d, r13d
cmp r13d, 0x14
lea rdx, [0x140228860]
cmovg r14d, r15d
lea rcx, [rbp - 0x69]
xor r8d, r8d
call fcn.1400fb400
lea rdx, [rbp - 9]
lea rcx, [rbp - 0x69]
mov r8, r15
call qword [rbp - 0x41]
lea r15d, [rsi - 0x3ff]
movsxd rdx, esi
add r15d, r14d
lea rcx, [rbp - 0x69]
test r15d, r15d
jle 0x1400fef08
mov eax, r14d
sub eax, r15d
movsxd r8, eax
lea rax, [0x1402dfbb0]
add rdx, rax
call qword [rbp - 0x41]
movsxd r8, r15d
lea rdx, [0x1402dfbb0]
lea rcx, [rbp - 0x69]
jmp 0x1400fef15
lea rax, [0x1402dfbb0]
movsxd r8, r14d
add rdx, rax
call qword [rbp - 0x41]
mov r15, qword [rbp - 0x11]
movsxd r14, r14d
lea rcx, [rbp - 0x69]
mov r8, r14
mov rdx, r15
call qword [rbp - 0x41]
lea rdx, [rbp - 0x31]
lea rcx, [rbp - 0x69]
mov r8d, 8
call qword [rbp - 0x41]
mov rax, qword [rbp - 0x69]
cmp dword [rax + 8], 0x40
jg 0x1400ff182
lea rdx, [rbp - 9]
lea rcx, [rbp - 0x69]
call qword [rax + 0x20]
mov rax, qword [rbp - 0x69]
mov rdx, qword [rax + 0x30]
test rdx, rdx
je 0x1400fef71
lea rcx, [rbp - 0x69]
call rdx
or dword [rbp - 0x59], 2
mov rax, qword [rbp - 0x69]
movsxd r8, dword [rax + 0x60]
mov rcx, qword [rbp - 0x51]
xor edx, edx
call sub.MSVCR120.dll_memset
inc dword [rbp - 0x2d]
add r15, r14
mov qword [rbp - 0x11], r15
mov rcx, rdi
test r14, r14
jle 0x1400fefc4
lea rdx, [0x1402dfbb0]
nop dword [rax]
movzx eax, byte [rbp + rcx - 9]
inc rbx
inc esi
xor byte [rbx + rdx - 1], al
cmp rbx, 0x3ff
jl 0x1400fefbc
mov esi, edi
mov rbx, rdi
inc rcx
cmp rcx, r14
jl 0x1400fefa0
add r12d, 0x14
sub r13d, 0x14
mov r15d, setsockopt
cmp r12d, dword [rbp - 0x19]
jl 0x1400feea0
mov rcx, qword [rbp - 0x51]
mov rax, qword [rbp - 0x69]
mov r10, qword [0x1402ddce8]
mov ebx, dword [rbp - 0x39]
test rax, rax
je 0x1400ff044
mov rdx, qword [rax + 0x30]
test rdx, rdx
je 0x1400ff017
test byte [rbp - 0x59], 2
jne 0x1400ff017
lea rcx, [rbp - 0x69]
call rdx
mov rcx, qword [rbp - 0x51]
mov rax, qword [rbp - 0x69]
mov r10, qword [0x1402ddce8]
test rax, rax
je 0x1400ff044
movsxd rdx, dword [rax + 0x60]
test edx, edx
je 0x1400ff044
test rcx, rcx
je 0x1400ff044
test byte [rbp - 0x59], 4
jne 0x1400ff044
call fcn.140011ba0
mov rcx, qword [rbp - 0x51]
call fcn.1400ed110
mov r10, qword [0x1402ddce8]
mov rcx, qword [rbp - 0x49]
test rcx, rcx
je 0x1400ff059
call fcn.140105260
mov r10, qword [0x1402ddce8]
mov rcx, qword [rbp - 0x61]
test rcx, rcx
je 0x1400ff06e
call fcn.1400f5ea0
mov r10, qword [0x1402ddce8]
xor eax, eax
mov qword [rbp - 0x69], rax
mov qword [rbp - 0x61], rax
mov qword [rbp - 0x59], rax
mov qword [rbp - 0x51], rax
mov qword [rbp - 0x49], rax
mov qword [rbp - 0x41], rax
test ebx, ebx
jne 0x1400ff0ae
test r10, r10
je 0x1400ff0ae
lea r8, [0x140275e28]
lea edx, [rax + 0x12]
lea ecx, [rax + 9]
mov r9d, 0x139
call r10
mov r10, qword [0x1402ddce8]
movdqa xmm1, xmmword [0x1402dfb90]
movdqu xmm0, xmmword [rbp - 9]
mov ecx, 4
lea rdx, [0x1402dfb90]
pxor xmm1, xmm0
movdqu xmmword [0x1402dfb90], xmm1
nop dword [rax]
nop word [rax + rax]
movzx eax, byte [rbp + rdi + 7]
lea rdi, [rdi + 1]
xor byte [rdi + rdx + 0xf], al
dec rcx
jne 0x1400ff0e0
movsd xmm0, qword [0x140240eb0]
movsd xmm1, qword [0x1402ddd20]
comisd xmm0, xmm1
jbe 0x1400ff114
addsd xmm1, xmm6
movsd qword [0x1402ddd20], xmm1
test ebx, ebx
jne 0x1400ff133
test r10, r10
je 0x1400ff133
lea r8, [0x140275e58]
lea edx, [rbx + 0x12]
lea ecx, [rbx + 0xa]
mov r9d, 0x144
call r10
mov r13, qword [rsp + 0xb8]
mov r15, qword [rsp + 0xb0]
mov rdi, qword [rsp + 0xc8]
mov rsi, qword [rsp + 0xd0]
mov rbx, qword [rsp + 0x100]
mov r12, qword [rsp + 0xc0]
mov rcx, qword [rbp + 0xf]
xor rcx, rsp
call fcn.1401bddc0
movaps xmm6, xmmword [rsp + 0xa0]
add rsp, 0xd8
pop r14
pop rbp
ret
lea r9, str.ctx__digest__md_size___EVP_MAX_MD_SIZE
lea rdx, [0x140274498]
lea rcx, str._s__d_:_OpenSSL_internal_error__assertion_failed:__s_n
mov r8d, 0x10f
call fcn.1400f6440
mov ecx, reloc.WS2_32.dll_shutdown
call qword [sym.imp.MSVCR120.dll_raise]
mov ecx, 3
call qword [sym.imp.MSVCR120.dll__exit]
int3