Function at 0x1800a8610
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x90
mov rax, qword [0x1801772b8]
xor rax, rsp
mov qword [rsp + 0x80], rax
movsxd rbx, dword [rsp + 0xf0]
xor esi, esi
mov qword [rsp + 0x48], rcx
mov ebp, r9d
mov rcx, qword [rsp + 0xf8]
mov qword [rsp + 0x38], r8
mov dword [rsp + 0x30], edx
lea eax, [rbx - 1]
mov qword [rsp + 0x40], rcx
cmp ebx, 0x29
jle 0x1800a8949
mov r13d, eax
lea edi, [rbx - 0x15]
sub r13d, r9d
cmovs ebp, eax
xor r15d, r15d
lea eax, [rbx - 1]
test r13d, r13d
cmovns r15d, r13d
add eax, edi
movsxd rcx, eax
call fcn.1800d829c
mov rsi, rax
test rax, rax
jne 0x1800a86bd
lea r9, str.________________________________________C:LibreSS5crypto_rsa_rsa_oaep.c
mov dword [rsp + 0x20], 0x7f
mov edx, 0xfff
lea ecx, [rax + 4]
lea r8d, [rax + 0x41]
call sym.version.dll_ERR_put_error
jmp 0x1800a8973
lea r12, [rbx - 0x15]
xor edx, edx
lea r14, [r12 + rax]
movsxd rbx, r15d
mov rcx, r14
mov r8, rbx
call fcn.1800d7430
mov rdx, qword [rsp + 0x38]
lea rcx, [rbx + r14]
movsxd r8, ebp
call fcn.1800d7020
lea r15, [r14 + 0x14]
mov ebx, reloc.WS2_32.dll_sendto
mov r8, r15
lea rcx, [rsp + 0x50]
mov edx, ebx
mov r9d, edi
call fcn.1800a8050
test eax, eax
jne 0x1800a8973
lea rax, [r14 + 0x13]
lea rcx, [rsp + 0x50]
cmp rcx, rax
ja 0x1800a8725
lea rax, [rsp + 0x63]
cmp rax, r14
jb 0x1800a8725
xor edx, edx
jmp 0x1800a873f
movdqu xmm1, xmmword [r14]
movdqu xmm0, xmmword [rsp + 0x50]
pxor xmm1, xmm0
movdqu xmmword [rsp + 0x50], xmm1
mov edx, reloc.WS2_32.dll_recv
lea rax, [rsp + 0x50]
sub r14, rax
nop word [rax + rax]
lea rcx, [rsp + 0x50]
add rcx, rdx
inc rdx
movzx eax, byte [r14 + rcx]
xor byte [rcx], al
cmp rdx, rbx
jl 0x1800a8750
mov r9d, ebx
lea r8, [rsp + 0x50]
mov edx, edi
mov rcx, rsi
call fcn.1800a8050
test eax, eax
jne 0x1800a8973
xor r8d, r8d
cmp edi, 0x40
jb 0x1800a8840
lea eax, [rdi - 1]
movsxd rcx, eax
lea rax, [rcx + r15]
lea rdx, [rcx + rsi]
cmp rsi, rax
ja 0x1800a87a9
cmp rdx, r15
jae 0x1800a8840
mov ecx, edi
and ecx, 0x8000003f
jge 0x1800a87ba
dec ecx
or ecx, 0xffffffc0
inc ecx
mov eax, edi
mov rdx, r15
sub eax, ecx
sub rdx, rsi
mov r9, 0xfffffffffffffff0
movsxd r10, eax
sub r9, rsi
lea rcx, [rsi + 0x10]
nop word [rax + rax]
movdqu xmm0, xmmword [rcx - 0x10]
add r8d, 0x40
movdqu xmm1, xmmword [rcx + rdx - 0x10]
movdqu xmm2, xmmword [rdx + rcx]
lea rcx, [rcx + 0x40]
pxor xmm1, xmm0
lea rax, [rcx + r9]
movdqu xmmword [rcx - 0x50], xmm1
movdqu xmm0, xmmword [rcx - 0x40]
movdqu xmm1, xmmword [rdx + rcx - 0x30]
pxor xmm2, xmm0
movdqu xmmword [rcx - 0x40], xmm2
movdqu xmm0, xmmword [rcx - 0x30]
pxor xmm1, xmm0
movdqu xmmword [rcx - 0x30], xmm1
movdqu xmm0, xmmword [rcx - 0x20]
movdqu xmm1, xmmword [rdx + rcx - 0x20]
pxor xmm1, xmm0
movdqu xmmword [rcx - 0x20], xmm1
cmp rax, r10
jl 0x1800a87e0
movsxd rcx, r8d
cmp rcx, r12
jge 0x1800a8871
sub r15, rsi
lea rax, [rcx + rsi]
mov rdx, r12
sub rdx, rcx
nop word [rax + rax]
movzx ecx, byte [r15 + rax]
xor byte [rax], cl
lea rax, [rax + 1]
sub rdx, 1
jne 0x1800a8860
call sym.version.dll_EVP_sha1
movsxd rdx, dword [rsp + 0x100]
lea r8, [rsp + 0x68]
mov rcx, qword [rsp + 0x40]
xor r9d, r9d
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], rax
call sym.version.dll_EVP_Digest
test eax, eax
je 0x1800a8973
mov r8, rbx
lea rdx, [rsp + 0x68]
mov rcx, rsi
call sym.version.dll_timingsafe_memcmp
test eax, eax
jne 0x1800a8949
test r13d, r13d
js 0x1800a8949
cmp r12, rbx
jle 0x1800a88e0
mov rax, rbx
nop
cmp byte [rax + rsi], 0
jne 0x1800a88e0
inc ebx
inc rax
cmp rax, r12
jl 0x1800a88d0
cmp ebx, edi
je 0x1800a8949
movsxd rax, ebx
cmp byte [rax + rsi], 1
jne 0x1800a8949
inc ebx
sub edi, ebx
cmp dword [rsp + 0x30], edi
jge 0x1800a892a
mov ecx, 4
mov dword [rsp + 0x20], 0xa7
lea r9, str.________________________________________C:LibreSS5crypto_rsa_rsa_oaep.c
mov edx, 0xfff
lea r8d, [rcx + 0x69]
call sym.version.dll_ERR_put_error
mov rcx, rsi
mov edi, 0xffffffff
call fcn.1800d8288
mov eax, edi
jmp 0x1800a8978
mov rcx, qword [rsp + 0x48]
movsxd rdx, ebx
add rdx, rsi
movsxd r8, edi
call fcn.1800d7020
mov rcx, rsi
call fcn.1800d8288
mov eax, edi
jmp 0x1800a8978
mov ecx, 4
mov dword [rsp + 0x20], 0xb5
lea r9, str.________________________________________C:LibreSS5crypto_rsa_rsa_oaep.c
mov edx, 0xfff
lea r8d, [rcx + 0x75]
call sym.version.dll_ERR_put_error
mov rcx, rsi
call fcn.1800d8288
mov eax, 0xffffffff
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.1800d61c0
mov rbx, qword [rsp + 0xd8]
add rsp, 0x90
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret