Function at 0x721930
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x54
mov ebp, dword [esp + 0x88]
mov esi, dword [esp + 0x84]
test esi, esi
jne 0x721950
call fcn.005c7e80
mov esi, eax
test ebp, ebp
cmove ebp, esi
push esi
call fcn.005c36b0
add esp, 4
test eax, eax
jle 0x72199d
mov edi, dword [esp + 0x70]
lea edx, [edi - 1]
lea ecx, [eax + eax]
mov ebx, ecx
not ebx
mov dword [esp], edx
add edx, ebx
cmp edx, dword [esp + 0x78]
jge 0x7219c2
call fcn.005b5b10
push str.ossl_rsa_padding_add_PKCS1_OAEP_mgf1_ex
push 0x57
push str.crypto_rsa_rsa_oaep.c
call fcn.005b5c10
add esp, 0xc
push 0
push 0x6e
jmp 0x721b71
call fcn.005b5b10
push str.ossl_rsa_padding_add_PKCS1_OAEP_mgf1_ex
push 0x51
push str.crypto_rsa_rsa_oaep.c
call fcn.005b5c10
add esp, 0xc
push 0
push 0xb5
jmp 0x721b71
or ecx, 1
cmp ecx, edi
jge 0x721b54
mov edx, dword [esp + 0x80]
mov ecx, dword [esp + 0x6c]
mov byte [ecx], 0
mov dword [esp + 4], eax
add eax, ecx
inc eax
push 0
push esi
mov esi, eax
push 0
push eax
push edx
push dword [esp + 0x90]
call fcn.005b9b70
add esp, 0x18
test eax, eax
je 0x721b85
mov edx, dword [esp + 0x6c]
lea eax, [edx + 1]
mov dword [esp + 0xc], eax
mov ecx, dword [esp + 4]
lea eax, [edx + ecx]
mov dword [esp + 0x10], eax
lea eax, [esi + ecx]
mov dword [esp + 8], esi
mov esi, dword [esp]
mov ecx, dword [esp + 0x78]
sub esi, ecx
add ebx, esi
push ebx
push 0
push eax
call fcn.00786b68
add esp, 0xc
mov ecx, dword [esp + 4]
mov eax, ecx
not eax
add esi, dword [esp + 8]
mov byte [eax + esi], 1
add edi, dword [esp + 0x10]
mov eax, dword [esp + 0x78]
sub edi, eax
sub edi, ecx
mov esi, ecx
push eax
push dword [esp + 0x78]
push edi
mov edi, dword [esp + 0x18]
call sub.api_ms_win_crt_private_l1_1_0.dll_memcpy
add esp, 0xc
push 0
push esi
push edi
push dword [esp + 0x74]
call fcn.00604150
add esp, 0x10
test eax, eax
jle 0x721b85
mov ebx, dword [esp]
sub ebx, dword [esp + 4]
push 0x72
push str.crypto_rsa_rsa_oaep.c
push ebx
call fcn.005db3a0
add esp, 0xc
test eax, eax
je 0x721bb8
mov esi, eax
push ebp
push dword [esp + 8]
push edi
push ebx
push eax
call fcn.00721ca0
add esp, 0x14
test eax, eax
js 0x721bc3
test ebx, ebx
mov eax, dword [esp + 8]
jle 0x721bd8
xor ecx, ecx
cmp ebx, 8
jb 0x721bcc
xor ecx, ecx
cmp ebx, 0x20
jb 0x721b2d
mov ecx, ebx
and ecx, 0x7fffffe0
mov edx, dword [esp + 0x6c]
mov eax, dword [esp + 4]
add edx, eax
add edx, 0x11
xor edi, edi
movups xmm0, xmmword [esi + edi]
movups xmm1, xmmword [esi + edi + 0x10]
movups xmm2, xmmword [edx + edi - 0x10]
xorps xmm2, xmm0
movups xmm0, xmmword [edx + edi]
xorps xmm0, xmm1
movups xmmword [edx + edi - 0x10], xmm2
movups xmmword [edx + edi], xmm0
add edi, 0x20
cmp ecx, edi
jne 0x721aec
cmp ebx, ecx
mov edi, dword [esp + 0xc]
mov eax, dword [esp + 8]
je 0x721bd8
test bl, 0x18
je 0x721bcc
mov edx, ecx
mov ecx, ebx
and ecx, 0x7ffffff8
movsd xmm0, qword [esi + edx]
movsd xmm1, qword [eax + edx]
xorps xmm1, xmm0
movlps qword [eax + edx], xmm1
add edx, 8
cmp ecx, edx
jne 0x721b37
jmp 0x721bd4
call fcn.005b5b10
push str.ossl_rsa_padding_add_PKCS1_OAEP_mgf1_ex
push 0x5c
push str.crypto_rsa_rsa_oaep.c
call fcn.005b5c10
add esp, 0xc
push 0
push 0x78
push 4
call fcn.005b5d00
add esp, 0xc
xor eax, eax
add esp, 0x54
pop esi
pop edi
pop ebx
pop ebp
ret
mov dword [esp], 0
xor esi, esi
xor ebx, ebx
lea eax, [esp + 0x14]
push 0x40
push eax
call fcn.005e8480
add esp, 8
push 0x87
push str.crypto_rsa_rsa_oaep.c
push ebx
push esi
call fcn.005db780
add esp, 0x10
mov eax, dword [esp]
jmp 0x721b7d
mov dword [esp], 0
xor esi, esi
jmp 0x721b90
mov dword [esp], 0
jmp 0x721b90
movzx edx, byte [esi + ecx]
xor byte [eax + ecx], dl
inc ecx
cmp ebx, ecx
jne 0x721bcc
mov dword [esp], 0
lea ecx, [esp + 0x14]
push ebp
push ebx
push eax
push dword [esp + 0x10]
push ecx
call fcn.00721ca0
add esp, 0x14
test eax, eax
js 0x721b90
mov edx, dword [esp + 4]
cmp edx, 2
mov eax, 1
cmovge eax, edx
xor ecx, ecx
cmp edx, 8
jl 0x721c7a
xor ecx, ecx
cmp edx, 0x20
jl 0x721c55
mov ecx, eax
and ecx, 0x7fffffe0
xor edx, edx
mov ebp, dword [esp + 0x6c]
movups xmm0, xmmword [esp + edx + 0x14]
movups xmm1, xmmword [esp + edx + 0x24]
movups xmm2, xmmword [ebp + edx + 1]
xorps xmm2, xmm0
movups xmm0, xmmword [ebp + edx + 0x11]
xorps xmm0, xmm1
movups xmmword [ebp + edx + 1], xmm2
movups xmmword [ebp + edx + 0x11], xmm0
add edx, 0x20
cmp ecx, edx
jne 0x721c22
cmp eax, ecx
je 0x721c87
test al, 0x18
je 0x721c7a
mov edx, ecx
mov ecx, eax
and ecx, 0x7ffffff8
movsd xmm0, qword [esp + edx + 0x14]
movsd xmm1, qword [edi + edx]
xorps xmm1, xmm0
movlps qword [edi + edx], xmm1
add edx, 8
cmp ecx, edx
jne 0x721c5f
jmp 0x721c83
movzx edx, byte [esp + ecx + 0x14]
xor byte [edi + ecx], dl
inc ecx
cmp eax, ecx
jne 0x721c7a
mov dword [esp], 1
jmp 0x721b90