Function at 0x1400597e0
Capabilities:
Encode data using xor

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x28
mov rax, rdx
movsxd rdx, dword [rdx + 8]
test rdx, rdx
je 0x14005989b
mov r8, qword [rax]
cmp edx, 4
jae 0x140059809
xor r9d, r9d
xor r10d, r10d
jmp 0x140059860
mov r9, rdx
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 0x140059820
por xmm1, xmm0
pshufd xmm0, xmm1, 0xee
por xmm0, xmm1
movq r10, xmm0
cmp r9, rdx
je 0x14005986c
nop word cs:[rax + rax]
or r10, qword [r8 + r9*8]
inc r9
cmp rdx, r9
jne 0x140059860
test r10, r10
je 0x14005989b
test edx, edx
jle 0x14005987b
test byte [r8], 1
jne 0x1400598ca
mov dword [rsp + 0x20], 0xae
lea r9, str..._.._third_party_boringssl_src_crypto_fipsmodule_bn_montgomery.c
xor esi, esi
mov ecx, 3
xor edx, edx
mov r8d, 0x68
jmp 0x1400598b9
mov dword [rsp + 0x20], 0xaa
lea r9, str..._.._third_party_boringssl_src_crypto_fipsmodule_bn_montgomery.c
xor esi, esi
mov ecx, 3
xor edx, edx
mov r8d, 0x69
call fcn.140044b10
mov eax, esi
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r14
ret
cmp dword [rax + 0x10], 0
je 0x1400598f0
mov dword [rsp + 0x20], 0xb2
lea r9, str..._.._third_party_boringssl_src_crypto_fipsmodule_bn_montgomery.c
xor esi, esi
mov ecx, 3
xor edx, edx
mov r8d, WSAGetLastError
jmp 0x1400598b9
cmp edx, 0x401
jb 0x1400599a4
lea r10, [rdx - 0x400]
cmp r10, 4
jae 0x140059913
mov r9d, 0x400
xor esi, esi
jmp 0x140059970
mov r11, r10
and r11, 0xfffffffffffffffc
lea r9, [r11 + 0x400]
pxor xmm0, xmm0
xor esi, esi
pxor xmm1, xmm1
nop dword [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 0x140059930
por xmm1, xmm0
pshufd xmm0, xmm1, 0xee
por xmm0, xmm1
movq rsi, xmm0
cmp r10, r11
je 0x14005997c
nop dword [rax]
or rsi, qword [r8 + r9*8]
inc r9
cmp rdx, r9
jne 0x140059970
test rsi, rsi
je 0x1400599a4
mov dword [rsp + 0x20], 0xb6
lea r9, str..._.._third_party_boringssl_src_crypto_fipsmodule_bn_montgomery.c
xor esi, esi
mov ecx, 3
xor edx, edx
mov r8d, 0x66
jmp 0x1400598b9
lea rsi, [rcx + 0x18]
cmp rsi, rax
je 0x1400599e2
mov rbx, rax
mov rdi, rcx
mov rcx, rsi
call fcn.14004dbf0
test eax, eax
je 0x1400599e7
mov rdx, rbx
movsxd r8, dword [rbx + 8]
test r8, r8
je 0x140059a0a
shl r8, 3
mov rcx, qword [rsi]
mov rdx, qword [rdx]
call fcn.14025bfc0
mov rdx, rbx
mov eax, dword [rbx + 8]
jmp 0x140059a0c
mov eax, dword [rcx + 0x20]
jmp 0x140059a18
mov dword [rsp + 0x20], 0xbc
lea r9, str..._.._third_party_boringssl_src_crypto_fipsmodule_bn_montgomery.c
xor esi, esi
mov ecx, 3
xor edx, edx
mov r8d, 0x44
jmp 0x1400598b9
xor eax, eax
mov rcx, rdi
mov dword [rdi + 0x20], eax
mov edx, dword [rdx + 0x10]
mov dword [rdi + 0x28], edx
test eax, eax
jle 0x140059a40
mov rdx, qword [rsi]
nop
mov r8d, eax
cmp qword [rdx + r8*8 - 8], 0
jne 0x140059a4b
lea r8d, [rax - 1]
cmp eax, 1
mov eax, r8d
jg 0x140059a20
mov dword [rcx + 0x20], 0
jmp 0x140059a42
jne 0x140059a4e
mov dword [rcx + 0x28], 0
jmp 0x140059a4e
mov dword [rcx + 0x20], eax
mov rax, qword [rsi]
mov rax, qword [rax]
mov r11d, 1
mov r8d, 0x40
xor edx, edx
movabs r9, 0x8000000000000000
movabs r10, 0x4000000000000000
nop word cs:[rax + rax]
mov esi, r11d
and esi, 1
neg rsi
mov rdi, rax
and rdi, rsi
mov rbx, rdi
xor rbx, r11
shr rbx, 1
and rdi, r11
add rdi, rbx
mov ebx, edi
and ebx, 1
neg rbx
mov r11, rax
and r11, rbx
mov r14, r11
xor r14, rdi
shr r14, 1
and r11, rdi
add r11, r14
and rbx, r9
shr rdx, 2
and rsi, r10
or rdx, rsi
or rdx, rbx
add r8, 0xfffffffffffffffe
jne 0x140059a80
mov qword [rcx + 0x30], rdx
mov qword [rcx + 0x38], 0
mov esi, 1
jmp 0x1400598be