Function at 0x140250230
Capabilities:
Encode data using xor

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r13
push r14
mov eax, 0xb8
call fcn.1400be950
sub rsp, rax
mov rax, qword [0x140396c80]
xor rax, rsp
mov qword [rsp + 0x90], rax
mov r13, qword [rsp + 0x120]
lea esi, [rdx - 1]
mov rax, qword [rsp + 0x110]
mov ebx, r9d
mov rdi, qword [rsp + 0x128]
mov r14, rcx
mov dword [rsp + 0x30], ebx
mov qword [rsp + 0x48], r8
mov qword [rsp + 0x40], rax
test r13, r13
jne 0x140250294
call fcn.1401c5a90
mov r13, rax
test rdi, rdi
mov rcx, r13
cmove rdi, r13
mov qword [rsp + 0x38], rdi
call fcn.1401d94b0
movsxd rdi, eax
mov ebp, esi
lea eax, [rdi + rdi]
sub ebp, eax
lea ecx, [rbp - 1]
cmp ebx, ecx
jle 0x1402502e2
mov edx, 0x9a
mov dword [rsp + 0x20], reloc.WLDAP32.dll_Ordinal_60
lea r9, str.crypto_rsa_rsa_oaep.c
mov ecx, 4
lea r8d, [rdx - 0x2c]
call fcn.1401cf2c0
xor eax, eax
jmp 0x140250673
inc eax
cmp esi, eax
jge 0x140250311
mov edx, 0x9a
mov dword [rsp + 0x20], 0x42
lea r9, str.crypto_rsa_rsa_oaep.c
mov ecx, 4
lea r8d, [rdx - 0x22]
call fcn.1401cf2c0
xor eax, eax
jmp 0x140250673
movsxd rdx, dword [rsp + 0x118]
xor r9d, r9d
mov rcx, qword [rsp + 0x40]
mov rbx, rdi
mov byte [r14], 0
mov qword [rsp + 0xb0], r12
xor r12d, r12d
mov qword [rsp + 0xa8], r15
lea r15, [r14 + 1]
inc r14
mov qword [rsp + 0x28], r12
add r14, rdi
mov qword [rsp + 0x20], r13
mov r8, r14
call fcn.1401c4d60
test eax, eax
je 0x140250661
movsxd r13, dword [rsp + 0x30]
lea rcx, [rdi + r14]
sub ebp, r13d
xor edx, edx
dec ebp
movsxd r8, ebp
call sub.VCRUNTIME140.dll_memset
mov rdx, qword [rsp + 0x48]
mov eax, esi
sub eax, r13d
movsxd rcx, esi
sub rcx, r13
mov r8d, r13d
sub eax, edi
sub rcx, rbx
cdqe
add rcx, r14
mov byte [rax + r14 - 1], 1
call sub.VCRUNTIME140.dll_memcpy
mov edx, edi
mov rcx, r15
call fcn.1401cbbc0
test eax, eax
jle 0x140250661
sub esi, edi
lea r8d, [r12 + 0x57]
movsxd rbp, esi
lea rdx, str.crypto_rsa_rsa_oaep.c
mov rcx, rbp
call fcn.1401bebb0
mov r13, rax
test rax, rax
jne 0x1402503f8
lea r9, str.crypto_rsa_rsa_oaep.c
mov dword [rsp + 0x20], 0x59
mov edx, 0x9a
lea ecx, [rax + 4]
lea r8d, [r12 + 0x41]
call fcn.1401cf2c0
jmp 0x140250661
mov rax, qword [rsp + 0x38]
mov r9d, edi
mov r8, r15
mov qword [rsp + 0x20], rax
mov edx, esi
mov rcx, r13
call fcn.140250060
test eax, eax
js 0x14025064c
mov r8d, r12d
test esi, esi
jle 0x1402504e0
cmp esi, 0x40
jb 0x1402504e0
lea eax, [rsi - 1]
movsxd rcx, eax
lea rax, [rcx + r13]
lea rdx, [rcx + r14]
cmp r14, rax
ja 0x14025044a
cmp rdx, r13
jae 0x1402504e0
mov ecx, esi
and ecx, 0x8000003f
jge 0x14025045b
dec ecx
or ecx, 0xffffffc0
inc ecx
mov eax, esi
mov rdx, r13
sub eax, ecx
sub rdx, r14
mov r9, 0xfffffffffffffff0
movsxd r10, eax
sub r9, r14
lea rcx, [r14 + 0x10]
nop word [rax + rax]
movdqu xmm0, xmmword [rcx - 0x10]
add r8d, 0x40
movdqu xmm1, xmmword [rcx + rdx - 0x10]
movdqu xmm2, xmmword [rcx + rdx]
lea rcx, [rcx + 0x40]
pxor xmm1, xmm0
lea rax, [rcx + r9]
movdqu xmmword [rcx - 0x50], xmm1
movdqu xmm0, xmmword [rcx - 0x40]
movdqu xmm1, xmmword [rcx + rdx - 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 [rcx + rdx - 0x20]
pxor xmm1, xmm0
movdqu xmmword [rcx - 0x20], xmm1
cmp rax, r10
jl 0x140250480
movsxd rax, r8d
cmp rax, rbp
jge 0x140250510
mov rdx, r13
lea rcx, [rax + r14]
sub rdx, r14
sub rbp, rax
nop word [rax + rax]
movzx eax, byte [rcx + rdx]
xor byte [rcx], al
lea rcx, [rcx + 1]
sub rbp, 1
jne 0x140250500
mov rax, qword [rsp + 0x38]
lea rcx, [rsp + 0x50]
mov r9d, esi
mov qword [rsp + 0x20], rax
mov r8, r14
mov edx, edi
call fcn.140250060
test eax, eax
js 0x14025064c
test edi, edi
jle 0x140250602
cmp edi, 0x40
jb 0x140250602
lea eax, [rdi - 1]
movsxd rcx, eax
lea rax, [rsp + 0x50]
add rax, rcx
lea rdx, [rcx + r15]
cmp r15, rax
ja 0x14025056a
lea rax, [rsp + 0x50]
cmp rdx, rax
jae 0x140250602
mov eax, edi
and eax, 0x8000003f
jge 0x14025057a
dec eax
or eax, 0xffffffc0
inc eax
sub edi, eax
lea rdx, [rsp + 0x50]
lea r8, [rsp + 0x60]
movsxd r10, edi
sub rdx, r15
lea rcx, [r15 + 0x20]
sub r8, r15
mov r9, 0xffffffffffffffe0
sub r9, r15
nop dword [rax]
movdqu xmm0, xmmword [rcx - 0x20]
add r12d, 0x40
movdqu xmm1, xmmword [rdx + rcx - 0x20]
movdqu xmm2, xmmword [rdx + rcx]
lea rcx, [rcx + 0x40]
pxor xmm1, xmm0
lea rax, [r9 + rcx]
movdqu xmmword [rcx - 0x60], xmm1
movdqu xmm0, xmmword [rcx - 0x50]
movdqu xmm1, xmmword [r8 + rcx - 0x60]
pxor xmm1, xmm0
movdqu xmmword [rcx - 0x50], xmm1
movdqu xmm0, xmmword [rcx - 0x40]
movdqu xmm1, xmmword [r8 + rcx - 0x40]
pxor xmm2, xmm0
movdqu xmmword [rcx - 0x40], xmm2
movdqu xmm0, xmmword [rcx - 0x30]
pxor xmm1, xmm0
movdqu xmmword [rcx - 0x30], xmm1
cmp rax, r10
jl 0x1402505a0
movsxd rcx, r12d
cmp rcx, rbx
jge 0x140250630
lea rdx, [rsp + 0x50]
sub rdx, r15
lea rax, [rcx + r15]
sub rbx, rcx
nop dword [rax]
movzx ecx, byte [rax + rdx]
xor byte [rax], cl
lea rax, [rax + 1]
sub rbx, 1
jne 0x140250620
mov r8d, 0x67
lea rdx, str.crypto_rsa_rsa_oaep.c
mov rcx, r13
call fcn.1401bec00
mov eax, 1
jmp 0x140250663
mov r8d, WSAGetLastError
lea rdx, str.crypto_rsa_rsa_oaep.c
mov rcx, r13
call fcn.1401bec00
xor eax, eax
mov r12, qword [rsp + 0xb0]
mov r15, qword [rsp + 0xa8]
mov rcx, qword [rsp + 0x90]
xor rcx, rsp
call fcn.1400be7c0
add rsp, 0xb8
pop r14
pop r13
pop rdi
pop rsi
pop rbp
pop rbx
ret