Function at 0x140033220
Capabilities:
Encode data using xor

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x28
movsxd rax, dword [rdx + 8]
test rax, rax
je 0x1400332db
mov r8, qword [rdx]
cmp eax, 4
jae 0x140033246
xor r9d, r9d
xor r10d, r10d
jmp 0x1400332a0
mov r9, rax
and r9, 0xfffffffffffffffc
pxor xmm0, xmm0
xor r10d, r10d
pxor xmm1, xmm1
nop dword [rax + rax]
movdqu xmm2, xmmword [r8 + r10*8]
por xmm0, xmm2
movdqu xmm2, xmmword [r8 + r10*8 + 0x10]
por xmm1, xmm2
add r10, 4
cmp r9, r10
jne 0x140033260
por xmm1, xmm0
pshufd xmm0, xmm1, 0xee
por xmm0, xmm1
movq r10, xmm0
cmp r9, rax
je 0x1400332ac
nop word cs:[rax + rax]
or r10, qword [r8 + r9*8]
inc r9
cmp rax, r9
jne 0x1400332a0
test r10, r10
je 0x1400332db
test eax, eax
jle 0x1400332bb
test byte [r8], 1
jne 0x14003330a
mov dword [rsp + 0x20], 0xae
lea r9, str..._.._third_party_boringssl_src_crypto_fipsmodule_bn_montgomery.c.inc
xor esi, esi
mov ecx, 3
xor edx, edx
mov r8d, 0x68
jmp 0x1400332f9
mov dword [rsp + 0x20], 0xaa
lea r9, str..._.._third_party_boringssl_src_crypto_fipsmodule_bn_montgomery.c.inc
xor esi, esi
mov ecx, 3
xor edx, edx
mov r8d, 0x69
call fcn.1400885a0
mov eax, esi
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r14
ret
cmp dword [rdx + 0x10], 0
je 0x140033330
mov dword [rsp + 0x20], 0xb2
lea r9, str..._.._third_party_boringssl_src_crypto_fipsmodule_bn_montgomery.c.inc
xor esi, esi
mov ecx, 3
xor edx, edx
mov r8d, WSASetLastError
jmp 0x1400332f9
cmp eax, 0x401
jb 0x1400333e4
lea r10, [rax - 0x400]
cmp r10, 4
jae 0x140033352
mov r9d, 0x400
xor esi, esi
jmp 0x1400333b0
mov r11, r10
and r11, 0xfffffffffffffffc
lea r9, [r11 + 0x400]
pxor xmm0, xmm0
xor esi, esi
pxor xmm1, xmm1
nop word [rax + rax]
movdqu xmm2, xmmword [r8 + rsi*8 + 0x2000]
por xmm0, xmm2
movdqu xmm2, xmmword [r8 + rsi*8 + 0x2010]
por xmm1, xmm2
add rsi, 4
cmp r11, rsi
jne 0x140033370
por xmm1, xmm0
pshufd xmm0, xmm1, 0xee
por xmm0, xmm1
movq rsi, xmm0
cmp r10, r11
je 0x1400333bc
nop dword [rax]
or rsi, qword [r8 + r9*8]
inc r9
cmp rax, r9
jne 0x1400333b0
test rsi, rsi
je 0x1400333e4
mov dword [rsp + 0x20], 0xb6
lea r9, str..._.._third_party_boringssl_src_crypto_fipsmodule_bn_montgomery.c.inc
xor esi, esi
mov ecx, 3
xor edx, edx
mov r8d, 0x66
jmp 0x1400332f9
mov rdi, rcx
lea rsi, [rcx + 0x18]
mov rcx, rsi
call fcn.140027620
test rax, rax
je 0x140033425
mov rax, rdi
mov ecx, dword [rdi + 0x20]
test ecx, ecx
jle 0x140033448
mov rdx, qword [rsi]
mov r8d, ecx
cmp qword [rdx + r8*8 - 8], 0
jne 0x140033453
lea r8d, [rcx - 1]
cmp ecx, 1
mov ecx, r8d
jg 0x140033405
mov dword [rax + 0x20], 0
jmp 0x14003344a
mov dword [rsp + 0x20], 0xbc
lea r9, str..._.._third_party_boringssl_src_crypto_fipsmodule_bn_montgomery.c.inc
xor esi, esi
mov ecx, 3
xor edx, edx
mov r8d, 0x44
jmp 0x1400332f9
jne 0x140033456
mov dword [rax + 0x28], 0
jmp 0x140033456
mov dword [rax + 0x20], ecx
mov rcx, qword [rsi]
mov rcx, qword [rcx]
mov r11d, 1
mov r8d, 0x40
xor edx, edx
movabs r9, 0x8000000000000000
movabs r10, 0x4000000000000000
nop
mov esi, r11d
and esi, 1
neg rsi
mov rdi, rcx
and rdi, rsi
mov rbx, rdi
and rbx, r11
xor rdi, r11
shr rdi, 1
add rdi, rbx
mov ebx, edi
and ebx, 1
neg rbx
mov r11, rcx
and r11, rbx
mov r14, r11
and r14, rdi
xor r11, rdi
shr r11, 1
add r11, r14
and rbx, r9
shr rdx, 2
and rsi, r10
or rdx, rsi
or rdx, rbx
add r8, 0xfffffffffffffffe
jne 0x140033480
mov qword [rax + 0x30], rdx
mov qword [rax + 0x38], 0
mov esi, 1
jmp 0x1400332fe