Function at 0x100edd10
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x14
call fcn.1011d0a0
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x24]
mov edx, ecx
push ebx
xor ebx, ebx
mov dword [esp + 0x10], 0
test eax, eax
mov dword [esp + 4], ebx
push ebp
cmovne edx, eax
push ecx
mov dword [esp + 0x1c], edx
call sym.libcrypto_1_1.dll_CVP_MD_size
mov ebp, eax
add esp, 4
mov dword [esp + 0x30], ebp
test ebp, ebp
js 0x100edfd9
push edi
mov edi, dword [esp + 0x38]
cmp edi, 0xffffffff
jne 0x100edda7
mov edi, ebp
push esi
mov esi, dword [esp + 0x28]
push dword [esi + 0x10]
call sym.libcrypto_1_1.dll_CN_num_bits
dec eax
and eax, 7
push esi
mov dword [esp + 0x1c], eax
call sym.libcrypto_1_1.dll_CSA_size_1
mov esi, dword [esp + 0x34]
add esp, 8
mov ecx, eax
mov dword [esp + 0x18], ecx
cmp dword [esp + 0x14], ebx
jne 0x100edd96
mov byte [esi], bl
inc esi
dec ecx
mov dword [esp + 0x18], ecx
lea eax, [ebp + 2]
cmp ecx, eax
jge 0x100eddd3
push 0xb8
jmp 0x100ede29
cmp edi, 0xfffffffe
jne 0x100eddae
jmp 0x100edd60
jge 0x100edd60
push 0xac
push str.crypto_rsa_rsa_pss.c
push 0x88
push 0x98
push 4
call sym.libcrypto_1_1.dll_CRR_put_error
add esp, 0x14
jmp 0x100edfd8
mov ebp, ecx
sub ebp, dword [esp + 0x38]
lea eax, [ebp - 2]
cmp edi, 0xfffffffe
jne 0x100ede20
mov edi, eax
test edi, edi
jle 0x100ede56
push 0xc3
push str.crypto_rsa_rsa_pss.c
push edi
call sym.libcrypto_1_1.dll_CRYPTO_malloc
mov ebx, eax
add esp, 0xc
test ebx, ebx
jne 0x100ede44
push 0xc6
push str.crypto_rsa_rsa_pss.c
push 0x41
push 0x98
push 4
call sym.libcrypto_1_1.dll_CRR_put_error
add esp, 0x14
jmp 0x100edfd7
cmp edi, eax
jle 0x100edde3
push 0xbf
push str.crypto_rsa_rsa_pss.c
push 0x6e
push 0x98
push 4
call sym.libcrypto_1_1.dll_CRR_put_error
add esp, 0x14
jmp 0x100edfd7
push edi
push ebx
call sym.libcrypto_1_1.dll_CAND_bytes
add esp, 8
test eax, eax
jle 0x100edfd7
call sym.libcrypto_1_1.dll_CVP_MD_CTX_new
mov dword [esp + 0x10], eax
test eax, eax
je 0x100edfd7
push 0
push dword [esp + 0x38]
push eax
call sym.libcrypto_1_1.dll_CVP_DigestInit_ex
add esp, 0xc
test eax, eax
je 0x100edfd7
push 8
push 0x1017509c
push dword [esp + 0x18]
call sym.libcrypto_1_1.dll_CVP_DigestUpdate
add esp, 0xc
test eax, eax
je 0x100edfd7
push dword [esp + 0x38]
push dword [esp + 0x34]
push dword [esp + 0x18]
call sym.libcrypto_1_1.dll_CVP_DigestUpdate
add esp, 0xc
test eax, eax
je 0x100edfd7
test edi, edi
je 0x100edecf
push edi
push ebx
push dword [esp + 0x18]
call sym.libcrypto_1_1.dll_CVP_DigestUpdate
add esp, 0xc
test eax, eax
je 0x100edfd7
lea eax, [ebp - 1]
push 0
add eax, esi
push eax
push dword [esp + 0x18]
call sym.libcrypto_1_1.dll_CVP_DigestFinal_ex
add esp, 0xc
test eax, eax
je 0x100edfd7
push dword [esp + 0x20]
lea ecx, [ebp - 1]
push dword [esp + 0x3c]
lea eax, [ecx + esi]
push eax
push ecx
push esi
call sym.libcrypto_1_1.dll_CKCS1_MGF1
add esp, 0x14
test eax, eax
jne 0x100edfd7
sub ebp, edi
xor byte [esi + ebp - 2], 1
lea ecx, [esi + ebp]
lea eax, [ecx - 2]
dec ecx
test edi, edi
jle 0x100edfae
xor edx, edx
cmp edi, 0x40
jb 0x100edf9b
lea ebp, [eax + edi]
lea eax, [edi - 1]
add eax, ebx
cmp ecx, eax
ja 0x100edf39
cmp ebp, ebx
jae 0x100edf9b
mov eax, edi
and eax, 0x8000003f
jns 0x100edf47
dec eax
or eax, 0xffffffc0
inc eax
mov ebp, edi
sub ebp, eax
nop dword [eax + eax]
movups xmm0, xmmword [ecx]
movups xmm1, xmmword [ebx + edx]
pxor xmm1, xmm0
movups xmmword [ecx], xmm1
movups xmm0, xmmword [ecx + 0x10]
movups xmm1, xmmword [ebx + edx + 0x10]
pxor xmm1, xmm0
movups xmmword [ecx + 0x10], xmm1
movups xmm0, xmmword [ecx + 0x20]
movups xmm1, xmmword [ebx + edx + 0x20]
pxor xmm1, xmm0
movups xmmword [ecx + 0x20], xmm1
movups xmm0, xmmword [ecx + 0x30]
movups xmm1, xmmword [ebx + edx + 0x30]
add edx, 0x40
pxor xmm1, xmm0
movups xmmword [ecx + 0x30], xmm1
add ecx, 0x40
cmp edx, ebp
jl 0x100edf50
cmp edx, edi
jge 0x100edfae
nop
mov al, byte [edx + ebx]
lea ecx, [ecx + 1]
xor byte [ecx - 1], al
inc edx
cmp edx, edi
jl 0x100edfa0
mov eax, dword [esp + 0x14]
test eax, eax
je 0x100edfc6
mov ecx, 8
sub ecx, eax
mov eax, 0xff
sar eax, cl
and byte [esi], al
mov eax, dword [esp + 0x18]
mov dword [esp + 0x1c], 1
mov byte [eax + esi - 1], 0xbc
pop esi
pop edi
push dword [esp + 8]
call sym.libcrypto_1_1.dll_CVP_MD_CTX_free
push 0xf5
push str.crypto_rsa_rsa_pss.c
push ebx
call sym.libcrypto_1_1.dll_CRYPTO_free
mov eax, dword [esp + 0x24]
add esp, 0x10
pop ebp
pop ebx
add esp, 0x14
ret