Function at 0x1400ffc28
Capabilities:
Encode data using xor

Disassembly:
test edx, edx
je 0x140100161
mov r11, rsp
push rbp
push r14
lea rbp, [r11 - 0x5f]
sub rsp, 0xd8
movaps xmmword [r11 - 0x48], xmm6
mov rax, qword [0x140264330]
xor rax, rsp
mov qword [rbp + 0xf], rax
cmp dword [0x1402eaf1c], 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 0x1400ffd25
mov rax, qword [0x1402eaec0]
test rax, rax
je 0x1400ffc8a
lea rcx, [rbp - 0x29]
call rax
jmp 0x1400ffcad
mov rax, qword [0x1402eaeb8]
test rax, rax
je 0x1400ffc9a
call rax
jmp 0x1400ffca0
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 [0x1402eaee8]
test r10, r10
je 0x1400ffcd8
mov edx, reloc.WS2_32.dll_send
lea r8, [0x140281ec8]
mov r9d, 0xdf
lea ecx, [rdx - 0xe]
call r10
mov r10, qword [0x1402eaee8]
mov rax, qword [0x1402ed1c8]
sub rax, qword [rbp - 0x29]
jne 0x1400ffcf0
mov rax, qword [0x1402ed1d0]
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 0x1400ffd1f
lea r8, [0x140281ef8]
lea edx, [rdi + 0x13]
lea ecx, [rdi + 6]
mov r9d, 0xe1
call r10
mov r10, qword [0x1402eaee8]
test ebx, ebx
jne 0x1400ffd57
jmp 0x1400ffd33
mov r10, qword [0x1402eaee8]
xor edi, edi
mov ebx, edi
mov dword [rbp - 0x39], ebx
test r10, r10
je 0x1400ffd57
mov edx, reloc.WS2_32.dll_select
lea r8, [0x140281f28]
mov r9d, 0xe6
lea ecx, [rdx - 9]
call r10
mov r10, qword [0x1402eaee8]
movsxd rcx, dword [0x1402eaf28]
mov eax, dword [0x1402eaf08]
mov r8d, dword [0x1402eaf0c]
movaps xmm0, xmmword [0x1402ecd90]
mov dword [rbp - 0x31], eax
mov eax, dword [0x1402ecda0]
mov rsi, rcx
movups xmmword [rbp - 9], xmm0
add ecx, r14d
mov dword [rbp - 0x2d], r8d
mov dword [rbp + 7], eax
mov dword [0x1402eaf28], ecx
cmp ecx, 0x3ff
jl 0x1400ffdc7
mov eax, 0x7fdff7fd
mov dword [0x1402eaf10], 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 [0x1402eaf28], ecx
jmp 0x1400ffddf
mov eax, dword [0x1402eaf10]
cmp eax, 0x3ff
jge 0x1400ffddf
cmp ecx, eax
cmovg eax, ecx
mov dword [0x1402eaf10], 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 [0x1402eaf0c], r8d
test ebx, ebx
jne 0x1400ffe35
test r10, r10
je 0x1400ffe35
lea r8, [0x140281f58]
lea edx, [rbx + 0x12]
lea ecx, [rbx + 0xa]
mov r9d, 0x106
call r10
mov r10, qword [0x1402eaee8]
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 0x1400fffce
mov rbx, rsi
mov r13d, r14d
mov r15d, setsockopt
nop dword [rax]
mov r14d, r13d
cmp r13d, 0x14
lea rdx, [0x1402339a0]
cmovg r14d, r15d
lea rcx, [rbp - 0x69]
xor r8d, r8d
call fcn.1400fc3e0
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 0x1400ffee8
mov eax, r14d
sub eax, r15d
movsxd r8, eax
lea rax, [0x1402ecdb0]
add rdx, rax
call qword [rbp - 0x41]
movsxd r8, r15d
lea rdx, [0x1402ecdb0]
lea rcx, [rbp - 0x69]
jmp 0x1400ffef5
lea rax, [0x1402ecdb0]
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 0x140100162
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 0x1400fff51
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 0x1400fffa4
lea rdx, [0x1402ecdb0]
nop dword [rax]
movzx eax, byte [rbp + rcx - 9]
inc rbx
inc esi
xor byte [rbx + rdx - 1], al
cmp rbx, 0x3ff
jl 0x1400fff9c
mov esi, edi
mov rbx, rdi
inc rcx
cmp rcx, r14
jl 0x1400fff80
add r12d, 0x14
sub r13d, 0x14
mov r15d, setsockopt
cmp r12d, dword [rbp - 0x19]
jl 0x1400ffe80
mov rcx, qword [rbp - 0x51]
mov rax, qword [rbp - 0x69]
mov r10, qword [0x1402eaee8]
mov ebx, dword [rbp - 0x39]
test rax, rax
je 0x140100024
mov rdx, qword [rax + 0x30]
test rdx, rdx
je 0x1400ffff7
test byte [rbp - 0x59], 2
jne 0x1400ffff7
lea rcx, [rbp - 0x69]
call rdx
mov rcx, qword [rbp - 0x51]
mov rax, qword [rbp - 0x69]
mov r10, qword [0x1402eaee8]
test rax, rax
je 0x140100024
movsxd rdx, dword [rax + 0x60]
test edx, edx
je 0x140100024
test rcx, rcx
je 0x140100024
test byte [rbp - 0x59], 4
jne 0x140100024
call fcn.140012ba0
mov rcx, qword [rbp - 0x51]
call fcn.1400ee0e0
mov r10, qword [0x1402eaee8]
mov rcx, qword [rbp - 0x49]
test rcx, rcx
je 0x140100039
call fcn.140106240
mov r10, qword [0x1402eaee8]
mov rcx, qword [rbp - 0x61]
test rcx, rcx
je 0x14010004e
call fcn.1400f6e80
mov r10, qword [0x1402eaee8]
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 0x14010008e
test r10, r10
je 0x14010008e
lea r8, [0x140281f88]
lea edx, [rax + 0x12]
lea ecx, [rax + 9]
mov r9d, 0x139
call r10
mov r10, qword [0x1402eaee8]
movdqa xmm1, xmmword [0x1402ecd90]
movdqu xmm0, xmmword [rbp - 9]
mov ecx, 4
lea rdx, [0x1402ecd90]
pxor xmm1, xmm0
movdqu xmmword [0x1402ecd90], 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 0x1401000c0
movsd xmm0, qword [0x14024c010]
movsd xmm1, qword [0x1402eaf20]
comisd xmm0, xmm1
jbe 0x1401000f4
addsd xmm1, xmm6
movsd qword [0x1402eaf20], xmm1
test ebx, ebx
jne 0x140100113
test r10, r10
je 0x140100113
lea r8, [0x140281fb8]
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.1401bb2c0
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, [0x1402805f8]
lea rcx, str._s__d_:_OpenSSL_internal_error__assertion_failed:__s_n
mov r8d, 0x10f
call fcn.1400f7420
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