Function at 0x1000264e
Capabilities:
Encode data using xor

Disassembly:
jmp 0x101344b0
mov eax, 0x14
call fcn.101704b0
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x24]
push ebx
xor ebx, ebx
mov dword [esp + 0x10], 0
test eax, eax
mov dword [esp + 4], ebx
push ecx
cmove eax, ecx
mov dword [esp + 0x30], eax
call sym.libcrypto_1_1.dll_EVP_MD_size
add esp, 4
mov dword [esp + 8], eax
test eax, eax
js 0x10134760
push edi
mov edi, dword [esp + 0x34]
cmp edi, 0xffffffff
jne 0x10134548
mov edi, eax
push ebp
push esi
mov esi, dword [esp + 0x28]
push dword [esi + 0x10]
call sym.libcrypto_1_1.dll_BN_num_bits
push esi
lea ebp, [eax - 1]
and ebp, 7
mov dword [esp + 0x28], ebp
call sym.libcrypto_1_1.dll_RSA_size
add esp, 8
mov edx, eax
test ebp, ebp
mov dword [esp + 0x18], edx
mov ebp, dword [esp + 0x2c]
jne 0x10134533
mov byte [ebp], bl
inc ebp
dec edx
mov dword [esp + 0x18], edx
mov ecx, dword [esp + 0x14]
lea eax, [ecx + 2]
cmp edx, eax
jge 0x10134574
push 0xb8
jmp 0x101345c9
cmp edi, 0xfffffffe
jne 0x1013454f
jmp 0x101344fb
jge 0x101344fb
push 0xac
push str.crypto_rsa_rsa_pss.c
push 0x88
push 0x98
push 4
call sym.libcrypto_1_1.dll_ERR_put_error
add esp, 0x14
jmp 0x1013475f
mov esi, edx
sub esi, ecx
cmp edi, 0xfffffffe
jne 0x101345bd
lea edi, [esi - 2]
test edi, edi
jle 0x101345f6
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 0x101345e4
push 0xc6
push str.crypto_rsa_rsa_pss.c
push 0x41
push 0x98
push 4
call sym.libcrypto_1_1.dll_ERR_put_error
add esp, 0x14
jmp 0x1013475d
lea eax, [esi - 2]
cmp edi, eax
jle 0x10134580
push 0xbf
push str.crypto_rsa_rsa_pss.c
push 0x6e
push 0x98
push 4
call sym.libcrypto_1_1.dll_ERR_put_error
add esp, 0x14
jmp 0x1013475d
push edi
push ebx
call sym.libcrypto_1_1.dll_RAND_bytes
add esp, 8
test eax, eax
jle 0x1013475d
call sym.libcrypto_1_1.dll_EVP_MD_CTX_new
mov dword [esp + 0x10], eax
test eax, eax
je 0x1013475d
push 0
push dword [esp + 0x38]
push eax
call sym.libcrypto_1_1.dll_EVP_DigestInit_ex
add esp, 0xc
test eax, eax
je 0x1013475d
push 8
push 0x101bd28c
push dword [esp + 0x18]
call sym.libcrypto_1_1.dll_EVP_DigestUpdate
add esp, 0xc
test eax, eax
je 0x1013475d
push dword [esp + 0x14]
push dword [esp + 0x34]
push dword [esp + 0x18]
call sym.libcrypto_1_1.dll_EVP_DigestUpdate
add esp, 0xc
test eax, eax
je 0x1013475d
test edi, edi
je 0x1013466f
push edi
push ebx
push dword [esp + 0x18]
call sym.libcrypto_1_1.dll_EVP_DigestUpdate
add esp, 0xc
test eax, eax
je 0x1013475d
lea eax, [esi - 1]
push 0
add eax, ebp
push eax
push dword [esp + 0x18]
call sym.libcrypto_1_1.dll_EVP_DigestFinal_ex
add esp, 0xc
test eax, eax
je 0x1013475d
push dword [esp + 0x38]
lea ecx, [esi - 1]
push dword [esp + 0x18]
lea eax, [ecx + ebp]
push eax
push ecx
push ebp
call sym.libcrypto_1_1.dll_PKCS1_MGF1
add esp, 0x14
test eax, eax
jne 0x1013475d
sub esi, edi
xor byte [esi + ebp - 2], 1
lea ecx, [esi + ebp]
dec ecx
test edi, edi
jle 0x10134733
xor edx, edx
cmp edi, 0x20
jb 0x10134721
lea eax, [ebx - 1]
lea esi, [ecx - 1]
add eax, edi
add esi, edi
cmp ecx, eax
ja 0x101346d4
cmp esi, ebx
jae 0x10134721
mov eax, edi
and eax, 0x8000001f
jns 0x101346e2
dec eax
or eax, 0xffffffe0
inc eax
mov esi, edi
sub esi, eax
lea eax, [ebx + 0x10]
lea esp, [esp]
movdqu xmm0, xmmword [ecx]
add edx, 0x20
lea eax, [eax + 0x20]
movdqu xmm1, xmmword [eax - 0x30]
pxor xmm1, xmm0
movdqu xmmword [ecx], xmm1
movdqu xmm1, xmmword [eax - 0x20]
movdqu xmm0, xmmword [ecx + 0x10]
pxor xmm1, xmm0
movdqu xmmword [ecx + 0x10], xmm1
add ecx, 0x20
cmp edx, esi
jl 0x101346f0
cmp edx, edi
jge 0x10134733
mov al, byte [edx + ebx]
lea ecx, [ecx + 1]
xor byte [ecx - 1], al
inc edx
cmp edx, edi
jl 0x10134725
mov eax, dword [esp + 0x20]
test eax, eax
je 0x1013474c
mov ecx, 8
sub ecx, eax
mov eax, 0xff
sar eax, cl
and byte [ebp], al
mov eax, dword [esp + 0x18]
mov dword [esp + 0x1c], 1
mov byte [eax + ebp - 1], 0xbc
pop esi
pop ebp
pop edi
push dword [esp + 4]
call sym.libcrypto_1_1.dll_EVP_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 + 0x20]
add esp, 0x10
pop ebx
add esp, 0x14
ret