Function at 0x100013e3
Capabilities:
Encode data using xor

Disassembly:
jmp 0x10168af0
mov eax, 0x70
call fcn.10001f96
mov eax, dword [0x1025e3d4]
xor eax, esp
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0x74]
mov ecx, dword [esp + 0x8c]
push ebx
mov ebx, dword [esp + 0x7c]
push ebp
mov ebp, dword [esp + 0x88]
dec ebx
push esi
mov esi, dword [esp + 0x9c]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x88]
push edi
mov dword [esp + 0x10], eax
xor edi, edi
mov eax, dword [esp + 0x94]
mov dword [esp + 0x28], ebp
mov dword [esp + 0x38], eax
mov dword [esp + 0x24], ecx
mov dword [esp + 0x34], 0
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x18], 0
test ecx, ecx
jne 0x10168b6e
call sym.libcrypto_1_1.dll_EVP_sha1
mov ecx, eax
mov dword [esp + 0x24], eax
test esi, esi
push ecx
cmove esi, ecx
mov dword [esp + 0x34], esi
call sym.libcrypto_1_1.dll_EVP_MD_size
mov esi, eax
mov ecx, ebx
add esp, 4
mov dword [esp + 0x1c], esi
lea eax, [esi + esi]
sub ecx, eax
mov dword [esp + 0x20], ecx
dec ecx
cmp ebp, ecx
jle 0x10168bc3
push 0x3e
push str.crypto_rsa_rsa_oaep.c
push 0x6e
push 0x9a
push 4
call sym.libcrypto_1_1.dll_ERR_put_error
add esp, 0x14
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x6c]
xor ecx, esp
call fcn.100032f1
add esp, 0x70
ret
inc eax
cmp ebx, eax
jge 0x10168bd3
push 0x44
push str.crypto_rsa_rsa_oaep.c
push 0x78
jmp 0x10168b9f
mov eax, dword [esp + 0x14]
push 0
push dword [esp + 0x28]
lea ebp, [eax + 1]
mov byte [eax], 0
push 0
add ebp, esi
lea ebx, [eax + 1]
push ebp
push dword [esp + 0xa8]
mov dword [esp + 0x28], ebx
push dword [esp + 0x4c]
call sym.libcrypto_1_1.dll_EVP_Digest
add esp, 0x18
test eax, eax
je 0x10168e6d
mov eax, dword [esp + 0x20]
sub eax, dword [esp + 0x28]
dec eax
push eax
lea eax, [esi + ebp]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
mov edx, dword [esp + 0x34]
mov eax, ebp
sub eax, edx
sub eax, esi
add eax, dword [esp + 0x38]
push edx
push dword [esp + 0x20]
push eax
mov byte [eax - 1], 1
call sub.VCRUNTIME140.dll_memcpy
push esi
push ebx
call sym.libcrypto_1_1.dll_RAND_bytes
add esp, 0x20
test eax, eax
jle 0x10168e6d
mov edi, dword [esp + 0x2c]
push 0x55
sub edi, esi
push str.crypto_rsa_rsa_oaep.c
push edi
call sym.libcrypto_1_1.dll_CRYPTO_malloc
add esp, 0xc
mov dword [esp + 0x18], eax
test eax, eax
jne 0x10168c89
push 0x57
push str.crypto_rsa_rsa_oaep.c
push 0x41
push 0x9a
push 4
call sym.libcrypto_1_1.dll_ERR_put_error
add esp, 0x14
jmp 0x10168e6d
push dword [esp + 0x30]
push esi
push ebx
push edi
push eax
call sym.libcrypto_1_1.dll_PKCS1_MGF1
add esp, 0x14
test eax, eax
js 0x10168e6d
xor ebx, ebx
test edi, edi
jle 0x10168d79
cmp edi, 0x40
jb 0x10168d5a
mov ecx, dword [esp + 0x18]
lea edx, [ebp - 1]
add edx, edi
lea eax, [ecx - 1]
add eax, edi
cmp ebp, eax
ja 0x10168cce
cmp edx, ecx
jae 0x10168d5a
mov eax, edi
and eax, 0x8000003f
jns 0x10168cdc
dec eax
or eax, 0xffffffc0
inc eax
mov edx, edi
sub edx, eax
lea eax, [ebp + 0x10]
mov dword [esp + 0x10], edx
lea edx, [ecx + 0x30]
sub ecx, ebp
mov dword [esp + 0x20], ecx
mov ecx, dword [esp + 0x10]
mov esi, dword [esp + 0x20]
nop dword [eax + eax]
movups xmm0, xmmword [eax - 0x10]
add ebx, 0x40
lea edx, [edx + 0x40]
lea eax, [eax + 0x40]
movups xmm1, xmmword [edx - 0x70]
pxor xmm1, xmm0
movups xmmword [eax - 0x50], xmm1
movups xmm0, xmmword [eax - 0x40]
movups xmm1, xmmword [esi + eax - 0x40]
pxor xmm1, xmm0
movups xmmword [eax - 0x40], xmm1
movups xmm0, xmmword [eax - 0x30]
movups xmm1, xmmword [edx - 0x50]
pxor xmm1, xmm0
movups xmm0, xmmword [edx - 0x40]
movups xmmword [eax - 0x30], xmm1
movups xmm1, xmmword [eax - 0x20]
pxor xmm1, xmm0
movups xmmword [eax - 0x20], xmm1
cmp ebx, ecx
jl 0x10168d00
mov esi, dword [esp + 0x1c]
mov dword [esp + 0x10], ebx
cmp ebx, edi
jge 0x10168d79
mov esi, dword [esp + 0x18]
lea ecx, [ebx + ebp]
mov edx, edi
sub esi, ebp
sub edx, ebx
mov al, byte [ecx + esi]
lea ecx, [ecx + 1]
xor byte [ecx - 1], al
sub edx, 1
jne 0x10168d67
mov esi, dword [esp + 0x1c]
push dword [esp + 0x30]
lea eax, [esp + 0x40]
push edi
push ebp
push esi
push eax
call sym.libcrypto_1_1.dll_PKCS1_MGF1
add esp, 0x14
test eax, eax
js 0x10168e6d
xor edx, edx
test esi, esi
jle 0x10168e65
mov ebp, dword [esp + 0x14]
cmp esi, 0x40
jb 0x10168e4c
lea ecx, [ebp - 1]
lea eax, [esp + esi + 0x3b]
add ecx, esi
cmp ebp, eax
ja 0x10168dc5
lea eax, [esp + 0x3c]
cmp ecx, eax
jae 0x10168e4c
mov eax, esi
and eax, 0x8000003f
jns 0x10168dd3
dec eax
or eax, 0xffffffc0
inc eax
mov ecx, esi
lea ebx, [esp + 0x3c]
sub ecx, eax
lea esi, [esp + 0x4c]
sub ebx, ebp
lea eax, [ebp + 0x20]
sub esi, ebp
mov dword [esp + 0x10], esi
mov esi, dword [esp + 0x1c]
mov ebp, dword [esp + 0x10]
movups xmm0, xmmword [eax - 0x20]
lea eax, [eax + 0x40]
movups xmm1, xmmword [esp + edx + 0x3c]
pxor xmm1, xmm0
movups xmmword [eax - 0x60], xmm1
movups xmm0, xmmword [eax - 0x50]
movups xmm1, xmmword [esp + edx + 0x4c]
add edx, 0x40
pxor xmm1, xmm0
movups xmmword [eax - 0x50], xmm1
movups xmm0, xmmword [eax - 0x40]
movups xmm1, xmmword [ebx + eax - 0x40]
pxor xmm1, xmm0
movups xmmword [eax - 0x40], xmm1
movups xmm0, xmmword [eax - 0x30]
movups xmm1, xmmword [eax + ebp - 0x40]
pxor xmm1, xmm0
movups xmmword [eax - 0x30], xmm1
cmp edx, ecx
jl 0x10168df2
mov ebp, dword [esp + 0x14]
mov dword [esp + 0x10], edx
cmp edx, esi
jge 0x10168e65
lea ebx, [esp + 0x3c]
sub ebx, ebp
lea ecx, [edx + ebp]
sub esi, edx
mov al, byte [ecx + ebx]
lea ecx, [ecx + 1]
xor byte [ecx - 1], al
sub esi, 1
jne 0x10168e57
mov dword [esp + 0x34], 1
lea eax, [esp + 0x3c]
push 0x40
push eax
call sym.libcrypto_1_1.dll_OPENSSL_cleanse
push 0x68
push str.crypto_rsa_rsa_oaep.c
push edi
push dword [esp + 0x2c]
call sym.libcrypto_1_1.dll_CRYPTO_clear_free
mov ecx, dword [esp + 0x94]
add esp, 0x18
mov eax, dword [esp + 0x34]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.100032f1
add esp, 0x70
ret