Function at 0x140060940
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 0x1400609fb
mov r8, qword [rax]
cmp edx, 4
jae 0x140060969
xor r9d, r9d
xor r10d, r10d
jmp 0x1400609c0
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 0x140060980
por xmm1, xmm0
pshufd xmm0, xmm1, 0xee
por xmm0, xmm1
movq r10, xmm0
cmp r9, rdx
je 0x1400609cc
nop word cs:[rax + rax]
or r10, qword [r8 + r9*8]
inc r9
cmp rdx, r9
jne 0x1400609c0
test r10, r10
je 0x1400609fb
test edx, edx
jle 0x1400609db
test byte [r8], 1
jne 0x140060a2a
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 0x140060a19
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.14004bbe0
mov eax, esi
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r14
ret
cmp dword [rax + 0x10], 0
je 0x140060a50
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 0x140060a19
cmp edx, 0x401
jb 0x140060b04
lea r10, [rdx - 0x400]
cmp r10, 4
jae 0x140060a73
mov r9d, 0x400
xor esi, esi
jmp 0x140060ad0
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 0x140060a90
por xmm1, xmm0
pshufd xmm0, xmm1, 0xee
por xmm0, xmm1
movq rsi, xmm0
cmp r10, r11
je 0x140060adc
nop dword [rax]
or rsi, qword [r8 + r9*8]
inc r9
cmp rdx, r9
jne 0x140060ad0
test rsi, rsi
je 0x140060b04
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 0x140060a19
lea rsi, [rcx + 0x18]
cmp rsi, rax
je 0x140060b42
mov rbx, rax
mov rdi, rcx
mov rcx, rsi
call fcn.140054cc0
test eax, eax
je 0x140060b47
mov rdx, rbx
movsxd r8, dword [rbx + 8]
test r8, r8
je 0x140060b6a
shl r8, 3
mov rcx, qword [rsi]
mov rdx, qword [rdx]
call fcn.14025fe70
mov rdx, rbx
mov eax, dword [rbx + 8]
jmp 0x140060b6c
mov eax, dword [rcx + 0x20]
jmp 0x140060b78
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 0x140060a19
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 0x140060ba0
mov rdx, qword [rsi]
nop
mov r8d, eax
cmp qword [rdx + r8*8 - 8], 0
jne 0x140060bab
lea r8d, [rax - 1]
cmp eax, 1
mov eax, r8d
jg 0x140060b80
mov dword [rcx + 0x20], 0
jmp 0x140060ba2
jne 0x140060bae
mov dword [rcx + 0x28], 0
jmp 0x140060bae
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 0x140060be0
mov qword [rcx + 0x30], rdx
mov qword [rcx + 0x38], 0
mov esi, 1
jmp 0x140060a1e