Function at 0x140188e68
Capabilities:
Encode data using xor

Disassembly:
test edx, edx
je 0x1401892b8
push rbp
push r14
lea rbp, [rsp - 0x4f]
mov eax, Ordinal_217
call fcn.140215a20
sub rsp, rax
movaps xmmword [rsp + 0xa0], xmm6
mov rax, qword [0x140320c20]
xor rax, rsp
mov qword [rbp + 7], rax
cmp dword [0x14032cba4], 0
movaps xmm6, xmm2
mov qword [rsp + 0x100], rbx
mov qword [rsp + 0xd0], rsi
movsxd r14, edx
mov qword [rsp + 0xc8], rdi
mov qword [rsp + 0xb8], r13
mov dword [rbp - 0x65], r14d
mov qword [rbp - 0x59], rcx
je 0x140188f28
lea rcx, [rbp - 0x21]
call fcn.14014bc40
mov edx, reloc.WS2_32.dll_send
lea r8, [0x1402f1ed0]
mov r9d, 0xdf
lea ecx, [rdx - 0xe]
call fcn.14014ba50
lea rdx, [rbp - 0x21]
lea rcx, [0x14032cfe0]
call fcn.14014bca0
xor ebx, ebx
lea r8, [0x1402f1ee8]
test eax, eax
mov edi, ebx
mov r9d, 0xe1
sete dil
lea edx, [rbx + 0x13]
mov dword [rbp - 0x69], edi
lea ecx, [rbx + 6]
call fcn.14014ba50
test edi, edi
jne 0x140188f49
jmp 0x140188f2f
xor ebx, ebx
mov edi, ebx
mov dword [rbp - 0x69], ebx
mov edx, reloc.WS2_32.dll_select
lea r8, [0x1402f1f00]
mov r9d, 0xe6
lea ecx, [rdx - 9]
call fcn.14014ba50
mov rcx, qword [0x14032cb88]
mov rax, qword [0x14032cb90]
movups xmm0, xmmword [0x14032cfc8]
movsxd rsi, ecx
add rcx, r14
mov qword [rbp - 0x61], rax
mov eax, dword [0x14032cfd8]
mov dword [rbp - 1], eax
mov qword [0x14032cb88], rcx
movups xmmword [rbp - 0x11], xmm0
cmp rcx, 0x3ff
jb 0x140188fc0
movabs rax, 0x40100401004011
mov qword [0x14032cb80], 0x3ff
mul rcx
mov rax, rcx
sub rax, rdx
shr rax, 1
add rax, rdx
shr rax, 9
imul rax, rax, 0x3ff
sub rcx, rax
mov qword [0x14032cb88], rcx
jmp 0x140188fdd
mov rax, qword [0x14032cb80]
cmp rax, 0x3ff
jae 0x140188fdd
cmp rcx, rax
cmova rax, rcx
mov qword [0x14032cb80], rax
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, ebx
test ecx, ecx
setg al
add eax, edx
add dword [0x14032cb94], eax
test edi, edi
jne 0x140189025
mov r9d, 0x106
lea r8, [0x1402f1f18]
lea edx, [rdi + 0x12]
lea ecx, [rdi + 0xa]
call fcn.14014ba50
mov qword [rsp + 0xc0], r12
lea rcx, [rbp - 0x51]
mov qword [rsp + 0xb0], r15
call fcn.140127cc0
mov r13d, ebx
test r14d, r14d
jle 0x1401891b8
mov rdi, rsi
mov r12d, r14d
mov r15d, reloc.WS2_32.dll_sendto
nop word [rax + rax]
cmp r12d, 0x14
mov r14d, r12d
cmovg r14d, r15d
call fcn.140127e50
mov rdx, rax
lea rcx, [rbp - 0x51]
xor r8d, r8d
call fcn.140127700
test eax, eax
je 0x140189261
mov r8, r15
lea rdx, [rbp - 0x11]
lea rcx, [rbp - 0x51]
call fcn.140127960
test eax, eax
je 0x140189261
lea r15d, [rsi - 0x3ff]
movsxd rdx, esi
add r15d, r14d
lea rcx, [rbp - 0x51]
test r15d, r15d
jle 0x1401890e5
mov eax, r14d
sub eax, r15d
movsxd r8, eax
lea rax, [0x14032cbb0]
add rdx, rax
call fcn.140127960
test eax, eax
je 0x140189261
movsxd r8, r15d
lea rdx, [0x14032cbb0]
lea rcx, [rbp - 0x51]
jmp 0x1401890f2
lea rax, [0x14032cbb0]
movsxd r8, r14d
add rdx, rax
call fcn.140127960
test eax, eax
je 0x140189261
mov r15, qword [rbp - 0x59]
lea rcx, [rbp - 0x51]
movsxd r14, r14d
mov rdx, r15
mov r8, r14
call fcn.140127960
test eax, eax
je 0x140189261
mov r8d, 8
lea rdx, [rbp - 0x61]
lea rcx, [rbp - 0x51]
call fcn.140127960
test eax, eax
je 0x140189261
xor r8d, r8d
lea rdx, [rbp - 0x11]
lea rcx, [rbp - 0x51]
call fcn.140127620
test eax, eax
je 0x140189261
inc dword [rbp - 0x5d]
add r15, r14
mov qword [rbp - 0x59], r15
mov rcx, rbx
test r14, r14
jle 0x14018919d
lea r15, [0x14032cbb0]
nop dword [rax]
movzx eax, byte [rbp + rcx - 0x11]
inc rcx
xor byte [rdi + r15], al
inc rdi
cmp rdi, 0x3ff
lea eax, [rsi + 1]
mov esi, ebx
cmovl esi, eax
mov rax, rbx
cmovl rax, rdi
mov rdi, rax
cmp rcx, r14
jl 0x140189170
add r13d, 0x14
sub r12d, 0x14
mov r15d, reloc.WS2_32.dll_sendto
cmp r13d, dword [rbp - 0x65]
jl 0x140189060
mov edi, dword [rbp - 0x69]
test edi, edi
jne 0x1401891e0
mov r9d, 0x13b
lea r8, [0x1402f1f30]
lea edx, [rdi + 0x12]
lea ecx, [rdi + 9]
call fcn.14014ba50
nop dword [rax]
nop dword [rax + rax]
movdqu xmm1, xmmword [0x14032cfc8]
mov ecx, 4
lea rdx, [0x14032cfc8]
movdqu xmm0, xmmword [rbp - 0x11]
pxor xmm1, xmm0
movdqu xmmword [0x14032cfc8], xmm1
nop word [rax + rax]
movzx eax, byte [rbp + rbx - 1]
xor byte [rbx + rdx + 0x10], al
lea rbx, [rbx + 1]
sub rcx, 1
jne 0x140189210
movsd xmm0, qword [0x14026d6e0]
movsd xmm1, qword [0x14032cb98]
comisd xmm0, xmm1
jbe 0x140189245
addsd xmm1, xmm6
movsd qword [0x14032cb98], xmm1
test edi, edi
jne 0x140189261
mov r9d, 0x148
lea r8, [0x1402f1f48]
lea edx, [rdi + 0x12]
lea ecx, [rdi + 0xa]
call fcn.14014ba50
lea rcx, [rbp - 0x51]
call fcn.140127980
mov r15, qword [rsp + 0xb0]
mov r13, qword [rsp + 0xb8]
mov r12, qword [rsp + 0xc0]
mov rdi, qword [rsp + 0xc8]
mov rsi, qword [rsp + 0xd0]
mov rbx, qword [rsp + 0x100]
mov rcx, qword [rbp + 7]
xor rcx, rsp
call fcn.140215090
movaps xmm6, xmmword [rsp + 0xa0]
add rsp, 0xd8
pop r14
pop rbp
ret