Function at 0x1401c5db0
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 - 0x2b8]
mov eax, 0x3b8
call fcn.1402bb5d0
sub rsp, rax
mov rax, qword [0x14049f3c0]
xor rax, rsp
mov qword [rbp + 0x290], rax
mov rax, qword [rbp + 0x320]
mov r14d, 0x28
mov rbx, qword [rbp + 0x330]
mov r12d, 8
mov qword [rbp - 0x80], rax
mov rsi, r8
mov rax, qword [rbp + 0x338]
mov edi, 0x40
mov qword [rbp - 0x68], rax
mov qword [rsp + 0x58], r9
mov qword [rbp - 0x30], r8
mov qword [rbp - 0x38], rdx
mov qword [rbp - 0x40], rcx
mov qword [rbp - 0x70], r14
mov qword [rsp + 0x30], r12
mov byte [rsp + 0x20], 1
cmp rbx, 0x100000
jae 0x1401c66cc
call fcn.1401e92e0
mov rcx, rax
call fcn.140187f70
mov ecx, eax
cmp eax, 0x2a1
jg 0x1401c5f53
je 0x1401c5f10
cmp eax, 4
je 0x1401c5ed2
cmp eax, edi
je 0x1401c5ea3
cmp eax, 0x2a0
jne 0x1401c5f60
lea rcx, [rbp - 0x20]
call fcn.1401ca4a0
test eax, eax
jle 0x1401c66cc
mov r15d, 0x20
lea rcx, [0x1401c6950]
mov qword [rsp + 0x48], r15
lea rax, [0x1401ca500]
jmp 0x1401c5fd7
lea rcx, [rbp - 0x20]
call fcn.1401c8620
test eax, eax
jle 0x1401c66cc
mov r15d, reloc.WS2_32.dll_sendto
lea rcx, [0x1401c68c0]
mov qword [rsp + 0x48], r15
lea rax, [0x1401c8670]
jmp 0x1401c5fd7
lea rcx, [rbp - 0x20]
call fcn.1401c7860
test eax, eax
jle 0x1401c66cc
mov r15d, reloc.WS2_32.dll_recv
mov byte [rsp + 0x20], 0
mov r14d, 0x30
mov qword [rsp + 0x48], r15
mov qword [rbp - 0x70], r14
lea rcx, [0x1401c6840]
lea rax, [0x1401c78a0]
jmp 0x1401c5fd7
lea rcx, [rbp - 0x20]
call fcn.1401cb7a0
test eax, eax
jle 0x1401c66cc
mov r15d, 0x30
lea rax, [0x1401c6a30]
mov r12d, reloc.WS2_32.dll_recv
mov qword [rsp + 0x40], rax
lea rax, [0x1401cc260]
mov qword [rsp + 0x48], r15
mov qword [rsp + 0x30], r12
lea edi, [r15 + 0x50]
jmp 0x1401c5fdc
sub ecx, 0x2a2
je 0x1401c5fa0
cmp ecx, 1
je 0x1401c5f74
test rsi, rsi
je 0x1401c66cc
xor r13d, r13d
mov qword [rsi], r13
jmp 0x1401c66cc
lea rcx, [rbp - 0x20]
call fcn.1401ca0f0
test eax, eax
jle 0x1401c66cc
mov r15d, 0x1c
lea rcx, [0x1401c6950]
mov qword [rsp + 0x48], r15
lea rax, [0x1401ca500]
jmp 0x1401c5fd7
lea rcx, [rbp - 0x20]
call fcn.1401cc1d0
test eax, eax
jle 0x1401c66cc
mov r12d, reloc.WS2_32.dll_recv
mov qword [rsp + 0x48], rdi
mov r15, rdi
mov qword [rsp + 0x30], r12
lea rcx, [0x1401c6a30]
mov edi, 0x80
lea rax, [0x1401cc260]
mov qword [rsp + 0x40], rcx
movzx r11d, byte [rbp + 0x348]
mov esi, reloc.WS2_32.dll_listen
mov qword [rsp + 0x28], rax
test r11b, r11b
je 0x1401c6009
mov rsi, qword [rbp + 0x340]
mov r9d, 2
add rsi, 0xb
add rsi, r14
jmp 0x1401c601c
lea rax, [rdi + 0xff]
xor edx, edx
add rax, r15
div rdi
lea r9, [rax + 1]
mov r14, qword [rbp + 0x328]
xor edx, edx
dec rbx
mov qword [rsp + 0x68], r9
mov r8, rsi
xor r13d, r13d
sub r8, r15
mov ecx, r13d
add r14, r8
lea rax, [r8 + r12]
add rax, rdi
add rax, rbx
mov ebx, r13d
div rdi
xor edx, edx
mov r10, rax
mov rax, r14
div rdi
mov qword [rsp + 0x60], rdx
xor edx, edx
mov qword [rbp - 0x60], rax
lea rax, [r14 + r12]
div rdi
test r11b, r11b
mov qword [rbp - 0x58], rax
setne cl
lea rdx, [rcx + r9]
mov rcx, r10
sub rcx, r9
cmp r10, rdx
jbe 0x1401c608c
mov rbx, rcx
imul rbx, rdi
cmp r10, rdx
cmovbe rcx, r13
lea r14, [r14*8]
mov qword [rbp - 0x78], rcx
test r11b, r11b
jne 0x1401c6160
mov r8, rdi
lea rcx, [rbp + 0x110]
xor edx, edx
lea r14, [r14 + rdi*8]
call fcn.14030b3a0
mov rax, qword [rbp + 0x340]
cmp rax, 0x80
ja 0x1401c66cc
mov rdx, qword [rbp - 0x68]
lea rcx, [rbp + 0x110]
mov r8, rax
call fcn.14030ac20
movdqa xmm2, xmmword [str.6666666666666666_security.dll]
mov rax, r13
nop dword [rax + rax]
movdqu xmm0, xmmword [rbp + rax + 0x110]
xorps xmm0, xmm2
movdqu xmmword [rbp + rax + 0x110], xmm0
movdqu xmm1, xmmword [rbp + rax + 0x120]
xorps xmm1, xmm2
movdqu xmmword [rbp + rax + 0x120], xmm1
movdqu xmm0, xmmword [rbp + rax + 0x130]
movdqa xmm1, xmm2
xorps xmm1, xmm0
movdqu xmmword [rbp + rax + 0x130], xmm1
movdqu xmm0, xmmword [rbp + rax + 0x140]
xorps xmm0, xmm2
movdqu xmmword [rbp + rax + 0x140], xmm0
add rax, 0x40
cmp rax, rdi
jb 0x1401c60f0
lea rdx, [rbp + 0x110]
lea rcx, [rbp - 0x20]
call qword [rsp + 0x28]
mov rax, r14
lea rcx, [rbp + 0xc0]
shr rax, 0x18
xor edx, edx
mov qword [rsp + 0x38], rax
mov rax, r14
shr rax, 0x10
mov qword [rsp + 0x70], rax
mov rax, r14
shr rax, 8
mov qword [rsp + 0x50], rax
cmp byte [rsp + 0x20], r13b
je 0x1401c61cf
lea r8, [r12 - 4]
call fcn.14030b3a0
mov rax, qword [rsp + 0x38]
mov byte [rbp + r12 + 0xbc], al
mov rax, qword [rsp + 0x70]
mov byte [rbp + r12 + 0xbd], al
mov rax, qword [rsp + 0x50]
mov byte [rbp + r12 + 0xbe], al
mov byte [rbp + r12 + 0xbf], r14b
jmp 0x1401c6206
mov r8, r12
call fcn.14030b3a0
mov rax, qword [rsp + 0x38]
mov byte [rbp + r12 + 0xbb], al
mov rax, qword [rsp + 0x70]
mov byte [rbp + r12 + 0xba], al
mov rax, qword [rsp + 0x50]
mov byte [rbp + r12 + 0xb9], al
mov byte [rbp + r12 + 0xb8], r14b
test rbx, rbx
je 0x1401c633d
cmp byte [rbp + 0x348], r13b
je 0x1401c62ba
cmp rsi, rdi
jbe 0x1401c66cc
mov rdx, qword [rsp + 0x58]
lea rcx, [rbp - 0x20]
mov r14, rsi
sub r14, rdi
mov qword [rsp + 0x50], r14
call qword [rsp + 0x28]
mov rdx, qword [rsp + 0x58]
lea rcx, [rbp + 0x190]
add rdx, rdi
mov r8, r14
call fcn.14030ac20
mov r8, rdi
lea rcx, [rbp + 0x190]
sub r8, r14
add rcx, r14
mov r14, qword [rbp - 0x80]
mov rdx, r14
call fcn.14030ac20
lea rdx, [rbp + 0x190]
lea rcx, [rbp - 0x20]
call qword [rsp + 0x28]
xor edx, edx
mov rax, rbx
div rdi
dec rax
cmp rax, 1
jbe 0x1401c633d
sub r14, qword [rsp + 0x50]
lea r12, [rax - 1]
mov r13, qword [rsp + 0x28]
add r14, rdi
mov rdx, r14
lea rcx, [rbp - 0x20]
call r13
add r14, rdi
sub r12, 1
jne 0x1401c62a5
jmp 0x1401c6335
mov rcx, qword [rsp + 0x58]
lea r8, [rdi - 0xd]
mov r14, qword [rbp - 0x80]
mov rdx, r14
mov eax, dword [rcx + 8]
movsd xmm0, qword [rcx]
mov dword [rbp + 0x198], eax
movzx eax, byte [rcx + 0xc]
lea rcx, [rbp + 0x19d]
mov byte [rbp + 0x19c], al
movsd qword [rbp + 0x190], xmm0
call fcn.14030ac20
lea rdx, [rbp + 0x190]
lea rcx, [rbp - 0x20]
call qword [rsp + 0x28]
xor edx, edx
mov rax, rbx
div rdi
cmp rax, 1
jbe 0x1401c633d
mov r13, qword [rsp + 0x28]
lea r12, [rax - 1]
add r14, 0xfffffffffffffff3
add r14, rdi
mov rdx, r14
lea rcx, [rbp - 0x20]
call r13
add r14, rdi
sub r12, 1
jne 0x1401c6322
mov r12, qword [rsp + 0x30]
xor r13d, r13d
mov rcx, qword [rbp - 0x78]
xorps xmm0, xmm0
mov rax, qword [rsp + 0x68]
add rax, rcx
mov qword [rbp - 0x48], rax
movups xmmword [rbp + 0xd0], xmm0
movups xmmword [rbp + 0xe0], xmm0
movups xmmword [rbp + 0xf0], xmm0
movups xmmword [rbp + 0x100], xmm0
cmp rcx, rax
ja 0x1401c662c
mov rax, qword [rsp + 0x60]
movaps xmmword [rsp + 0x3a0], xmm6
lea rdx, [rax + 1]
shr rax, 0x3f
mov qword [rsp + 0x50], rax
mov rax, rdi
sub rax, r12
shr rdx, 0x3f
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x68], rdx
mov rdx, qword [rsp + 0x60]
mov rax, rdx
sub rax, rdi
add rax, r12
lea rax, [rbp + rax + 0xc0]
mov qword [rbp - 0x50], rax
nop dword [rax]
mov r15, qword [rbp - 0x80]
mov rax, rcx
xor rax, qword [rbp - 0x60]
mov r9, r13
mov r13, qword [rsp + 0x58]
lea r11, [rax - 1]
not rax
shr rax, 0x3f
shr r11, 0x3f
and r11b, al
mov rax, rcx
xor rax, qword [rbp - 0x58]
neg r11b
lea r14, [rax - 1]
not rax
shr rax, 0x3f
shr r14, 0x3f
and r14b, al
neg r14b
movsx eax, r14b
movzx r12d, r14b
not r12b
or r12b, r11b
movd xmm6, eax
punpcklbw xmm6, xmm6
punpcklwd xmm6, xmm6
pshufd xmm6, xmm6, 0
xor r8b, r8b
cmp rbx, rsi
jae 0x1401c6432
movzx r8d, byte [rbx + r13]
jmp 0x1401c644c
mov rax, qword [rbp + 0x330]
add rax, rsi
cmp rbx, rax
jae 0x1401c644c
mov rax, r15
sub rax, rsi
movzx r8d, byte [rax + rbx]
mov rax, qword [rsp + 0x50]
mov r10, r9
mov r13, qword [rsp + 0x58]
sub r10, rdx
mov rcx, r10
mov rdx, r9
shr rcx, 0x3f
inc rbx
xor cl, al
shr rdx, 0x3f
xor al, dl
or cl, al
movzx eax, r11b
xor cl, dl
dec cl
movzx ecx, cl
and ecx, eax
mov dword [rsp + 0x30], ecx
not ecx
mov dword [rsp + 0x38], ecx
mov rcx, r9
mov eax, dword [rsp + 0x38]
and al, r8b
mov r8d, dword [rsp + 0x30]
and r8b, 0x80
or r8b, al
mov rax, qword [rsp + 0x60]
inc rax
sub rcx, rax
movzx eax, dl
xor al, byte [rsp + 0x68]
shr rcx, 0x3f
xor cl, byte [rsp + 0x68]
or cl, al
xor cl, dl
dec cl
and cl, r11b
not cl
and cl, r12b
and r8b, cl
cmp r9, qword [rsp + 0x70]
jb 0x1401c64f9
mov rcx, qword [rbp - 0x50]
movzx eax, r14b
mov dword [rsp + 0x30], eax
not eax
mov dword [rsp + 0x38], eax
mov eax, dword [rsp + 0x30]
movzx ecx, byte [r10 + rcx]
and cl, al
mov eax, dword [rsp + 0x38]
and r8b, al
or r8b, cl
mov rdx, qword [rsp + 0x60]
lea rax, [rbp + 0x210]
add rax, rdx
inc r9
mov byte [r10 + rax], r8b
cmp r9, rdi
jb 0x1401c6423
lea rdx, [rbp + 0x210]
lea rcx, [rbp - 0x20]
call qword [rsp + 0x28]
lea rdx, [rbp + 0x210]
lea rcx, [rbp - 0x20]
call qword [rsp + 0x40]
mov r15, qword [rsp + 0x48]
xor r13d, r13d
mov eax, r13d
cmp r15, 0x40
jb 0x1401c65e3
mov rcx, r15
and rcx, 0xffffffffffffffc0
movdqu xmm0, xmmword [rbp + rax + 0xd0]
movdqu xmm1, xmmword [rbp + rax + 0x210]
andps xmm1, xmm6
orps xmm1, xmm0
movdqu xmmword [rbp + rax + 0xd0], xmm1
movdqu xmm0, xmmword [rbp + rax + 0xe0]
movdqu xmm1, xmmword [rbp + rax + 0x220]
andps xmm1, xmm6
orps xmm1, xmm0
movdqu xmmword [rbp + rax + 0xe0], xmm1
movdqu xmm0, xmmword [rbp + rax + 0xf0]
movdqu xmm1, xmmword [rbp + rax + 0x230]
andps xmm1, xmm6
orps xmm1, xmm0
movdqu xmmword [rbp + rax + 0xf0], xmm1
movdqu xmm0, xmmword [rbp + rax + 0x100]
movdqu xmm1, xmmword [rbp + rax + 0x240]
andps xmm1, xmm6
orps xmm1, xmm0
movdqu xmmword [rbp + rax + 0x100], xmm1
add rax, 0x40
cmp rax, rcx
jb 0x1401c6552
cmp rax, r15
jae 0x1401c660a
nop dword [rax + rax]
movzx ecx, byte [rbp + rax + 0x210]
and cl, r14b
or byte [rbp + rax + 0xd0], cl
inc rax
cmp rax, r15
jb 0x1401c65f0
mov rcx, qword [rbp - 0x78]
mov rdx, qword [rsp + 0x60]
inc rcx
mov qword [rbp - 0x78], rcx
cmp rcx, qword [rbp - 0x48]
jbe 0x1401c63c0
movaps xmm6, xmmword [rsp + 0x3a0]
call fcn.1401ce900
mov rbx, rax
test rax, rax
je 0x1401c66c4
mov rcx, qword [rbp - 0x40]
call fcn.1401e92e0
mov rdx, rax
xor r8d, r8d
mov rcx, rbx
call fcn.1401ce360
test eax, eax
jle 0x1401c66c4
cmp byte [rbp + 0x348], 0
je 0x1401c66f1
mov rdi, qword [rbp - 0x70]
lea rcx, [rbp + 0x110]
mov r8, rdi
mov edx, 0x5c
call fcn.14030b3a0
mov r8, qword [rbp + 0x340]
mov rcx, rbx
mov rdx, qword [rbp - 0x68]
call fcn.1401ce590
test eax, eax
jle 0x1401c66c4
mov r8, rdi
lea rdx, [rbp + 0x110]
mov rcx, rbx
call fcn.1401ce590
test eax, eax
jle 0x1401c66c4
mov r8, r15
lea rdx, [rbp + 0xd0]
mov rcx, rbx
call fcn.1401ce590
test eax, eax
jg 0x1401c67a1
mov rcx, rbx
call fcn.1401ce8c0
xor eax, eax
mov rcx, qword [rbp + 0x290]
xor rcx, rsp
call fcn.1402ba9b0
add rsp, 0x3b8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
movdqa xmm2, xmmword [str.jjjjjjjjjjjjjjjjSRTP_AES128_CM_SHA1_80]
nop dword [rax]
movdqu xmm0, xmmword [rbp + r13 + 0x110]
movdqa xmm1, xmm2
xorps xmm0, xmm2
movdqu xmmword [rbp + r13 + 0x110], xmm0
movdqu xmm0, xmmword [rbp + r13 + 0x120]
xorps xmm1, xmm0
movdqu xmmword [rbp + r13 + 0x120], xmm1
movdqu xmm0, xmmword [rbp + r13 + 0x130]
movdqa xmm1, xmm2
xorps xmm1, xmm0
movdqu xmmword [rbp + r13 + 0x130], xmm1
movdqu xmm0, xmmword [rbp + r13 + 0x140]
xorps xmm0, xmm2
movdqu xmmword [rbp + r13 + 0x140], xmm0
add r13, 0x40
cmp r13, rdi
jb 0x1401c6700
mov r8, rdi
lea rdx, [rbp + 0x110]
mov rcx, rbx
call fcn.1401ce590
test eax, eax
jle 0x1401c66c4
mov r8, r15
lea rdx, [rbp + 0xd0]
mov rcx, rbx
call fcn.1401ce590
test eax, eax
jle 0x1401c66c4
mov rdx, qword [rbp - 0x38]
lea r8, [rsp + 0x78]
mov rcx, rbx
call fcn.1401ce180
test eax, eax
je 0x1401c67c6
mov rcx, qword [rbp - 0x30]
test rcx, rcx
je 0x1401c67c6
mov eax, dword [rsp + 0x78]
mov qword [rcx], rax
mov rcx, rbx
call fcn.1401ce8c0
mov eax, 1
jmp 0x1401c66ce