Function at 0x1000bcd0
Capabilities:
Encode data using xor

Disassembly:
jmp 0x1012d5d0
mov eax, 0x70
call fcn.100011c0
mov eax, dword [0x102293a4]
xor eax, esp
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0x84]
push ebx
mov ebx, dword [esp + 0x84]
push ebp
push esi
mov esi, dword [esp + 0x80]
xor ebp, ebp
push edi
mov edi, dword [esp + 0x8c]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x88]
mov dword [esp + 0x1c], esi
mov dword [esp + 0x38], eax
mov dword [esp + 0x34], edi
mov dword [esp + 0x24], 0
call sym.libcrypto_1_1.dll_EVP_MD_CTX_new
mov dword [esp + 0x14], eax
test eax, eax
je 0x1012d9ef
test ebx, ebx
push edi
cmove ebx, edi
mov dword [esp + 0x2c], ebx
call sym.libcrypto_1_1.dll_EVP_MD_size
mov edi, eax
add esp, 4
mov dword [esp + 0x2c], edi
test edi, edi
js 0x1012d9ef
mov ebx, dword [esp + 0x98]
mov dword [esp + 0x20], ebx
cmp ebx, 0xffffffff
jne 0x1012d6bb
mov ebx, edi
mov dword [esp + 0x20], ebx
push dword [esi + 0x10]
call sym.libcrypto_1_1.dll_BN_num_bits
push dword [esp + 0x20]
lea esi, [eax - 1]
and esi, 7
mov dword [esp + 0x38], esi
call sym.libcrypto_1_1.dll_RSA_size
mov edx, eax
mov ecx, esi
mov eax, 0xff
add esp, 8
shl eax, cl
mov ecx, dword [esp + 0x10]
test byte [ecx], al
je 0x1012d6dd
push 0x46
push str.crypto_rsa_rsa_pss.c
push 0x85
push 0x7e
push 4
call sym.libcrypto_1_1.dll_ERR_put_error
add esp, 0x14
jmp 0x1012d9ef
cmp ebx, 0xfffffffd
jge 0x1012d66d
push 0x3f
push str.crypto_rsa_rsa_pss.c
push 0x88
push 0x7e
push 4
call sym.libcrypto_1_1.dll_ERR_put_error
add esp, 0x14
jmp 0x1012d9ef
test esi, esi
jne 0x1012d6e2
dec edx
mov eax, ecx
test esi, esi
lea ecx, [eax + 1]
cmovne ecx, eax
lea eax, [edi + 2]
mov dword [esp + 0x1c], ecx
cmp edx, eax
jge 0x1012d711
push 0x4e
push str.crypto_rsa_rsa_pss.c
push 0x6d
push 0x7e
push 4
call sym.libcrypto_1_1.dll_ERR_put_error
add esp, 0x14
jmp 0x1012d9ef
mov esi, edx
sub esi, edi
lea eax, [esi - 2]
cmp ebx, 0xfffffffd
jne 0x1012d745
mov dword [esp + 0x20], eax
cmp byte [ecx + edx - 1], 0xbc
je 0x1012d74d
push 0x58
push str.crypto_rsa_rsa_pss.c
push 0x86
push 0x7e
push 4
call sym.libcrypto_1_1.dll_ERR_put_error
add esp, 0x14
jmp 0x1012d9ef
cmp ebx, eax
jle 0x1012d721
push 0x54
jmp 0x1012d6f9
dec esi
push 0x5d
push str.crypto_rsa_rsa_pss.c
push esi
lfence
mov dword [esp + 0x24], esi
lea ebx, [ecx + esi]
call sym.libcrypto_1_1.dll_CRYPTO_malloc
mov ebp, eax
add esp, 0xc
test ebp, ebp
jne 0x1012d788
push 0x5f
push str.crypto_rsa_rsa_pss.c
push 0x41
push 0x7e
push 4
call sym.libcrypto_1_1.dll_ERR_put_error
add esp, 0x14
jmp 0x1012d9ef
push dword [esp + 0x28]
lfence
push edi
push ebx
push esi
push ebp
call sym.libcrypto_1_1.dll_PKCS1_MGF1
add esp, 0x14
test eax, eax
js 0x1012d9ef
xor ecx, ecx
mov dword [esp + 0x10], ecx
test esi, esi
jle 0x1012d871
mov edx, dword [esp + 0x1c]
cmp esi, 0x40
jb 0x1012d857
lea eax, [edx - 1]
mov dword [esp + 0x10], ecx
add eax, esi
cmp ebp, eax
ja 0x1012d7d8
lea eax, [ebp - 1]
add eax, esi
cmp eax, edx
jae 0x1012d857
mov eax, esi
and eax, 0x8000003f
jns 0x1012d7e6
dec eax
or eax, 0xffffffc0
inc eax
mov dword [esp + 0x10], esi
mov esi, edx
sub dword [esp + 0x10], eax
sub esi, ebp
mov dword [esp + 0x28], esi
mov eax, ebp
mov esi, dword [esp + 0x18]
mov edi, dword [esp + 0x28]
movups xmm0, xmmword [eax]
lea eax, [eax + 0x40]
movups xmm1, xmmword [eax + edi - 0x40]
pxor xmm1, xmm0
movups xmmword [eax - 0x40], xmm1
movups xmm0, xmmword [eax - 0x30]
movups xmm1, xmmword [edx + ecx + 0x10]
pxor xmm1, xmm0
movups xmmword [eax - 0x30], xmm1
movups xmm0, xmmword [eax - 0x20]
movups xmm1, xmmword [edx + ecx + 0x20]
pxor xmm1, xmm0
movups xmmword [eax - 0x20], xmm1
movups xmm0, xmmword [eax - 0x10]
movups xmm1, xmmword [edx + ecx + 0x30]
add ecx, 0x40
pxor xmm1, xmm0
movups xmmword [eax - 0x10], xmm1
cmp ecx, dword [esp + 0x10]
jl 0x1012d800
mov edi, dword [esp + 0x2c]
mov dword [esp + 0x10], ecx
cmp ecx, esi
jge 0x1012d871
add ecx, ebp
sub edx, ebp
sub esi, dword [esp + 0x10]
mov al, byte [ecx + edx]
lea ecx, [ecx + 1]
xor byte [ecx - 1], al
sub esi, 1
jne 0x1012d863
mov eax, dword [esp + 0x30]
test eax, eax
je 0x1012d88a
mov ecx, 8
sub ecx, eax
mov eax, 0xff
sar eax, cl
and byte [ebp], al
mov al, byte [ebp]
xor esi, esi
mov ecx, dword [esp + 0x18]
test al, al
jne 0x1012d8ab
lea eax, [ecx - 1]
nop word [eax + eax]
cmp esi, eax
jge 0x1012d8ab
inc esi
cmp byte [esi + ebp], 0
je 0x1012d8a0
mov al, byte [esi + ebp]
inc esi
cmp al, 1
je 0x1012d8d0
push 0x6a
push str.crypto_rsa_rsa_pss.c
push 0x87
push 0x7e
push 4
call sym.libcrypto_1_1.dll_ERR_put_error
add esp, 0x14
jmp 0x1012d9ef
mov eax, dword [esp + 0x20]
sub ecx, esi
mov dword [esp + 0x18], ecx
cmp eax, 0xfffffffe
je 0x1012d8ea
cmp ecx, eax
je 0x1012d8ea
push 0x6e
jmp 0x1012d6c2
push 0
push dword [esp + 0x38]
lfence
push dword [esp + 0x1c]
call sym.libcrypto_1_1.dll_EVP_DigestInit_ex
add esp, 0xc
test eax, eax
je 0x1012d9ef
push 8
push 0x101f2f64
push dword [esp + 0x1c]
call sym.libcrypto_1_1.dll_EVP_DigestUpdate
add esp, 0xc
test eax, eax
je 0x1012d9ef
push edi
push dword [esp + 0x3c]
lfence
push dword [esp + 0x1c]
call sym.libcrypto_1_1.dll_EVP_DigestUpdate
add esp, 0xc
test eax, eax
je 0x1012d9ef
mov eax, dword [esp + 0x18]
test eax, eax
je 0x1012d962
push eax
lea eax, [esi + ebp]
push eax
push dword [esp + 0x1c]
lfence
call sym.libcrypto_1_1.dll_EVP_DigestUpdate
add esp, 0xc
test eax, eax
je 0x1012d9ef
push 0
lea eax, [esp + 0x40]
push eax
push dword [esp + 0x1c]
call sym.libcrypto_1_1.dll_EVP_DigestFinal_ex
add esp, 0xc
test eax, eax
je 0x1012d9ef
lea ecx, [esp + 0x3c]
lfence
sub edi, 4
jb 0x1012d996
mov eax, dword [ecx]
cmp eax, dword [ebx]
jne 0x1012d99b
add ecx, 4
add ebx, 4
sub edi, 4
jae 0x1012d985
cmp edi, 0xfffffffc
je 0x1012d9e7
mov al, byte [ecx]
cmp al, byte [ebx]
jne 0x1012d9c8
cmp edi, 0xfffffffd
je 0x1012d9e7
mov al, byte [ecx + 1]
cmp al, byte [ebx + 1]
jne 0x1012d9c8
cmp edi, 0xfffffffe
je 0x1012d9e7
mov al, byte [ecx + 2]
cmp al, byte [ebx + 2]
jne 0x1012d9c8
cmp edi, 0xffffffff
je 0x1012d9e7
mov al, byte [ecx + 3]
cmp al, byte [ebx + 3]
je 0x1012d9e7
push 0x7c
push str.crypto_rsa_rsa_pss.c
push 0x68
push 0x7e
push 4
call sym.libcrypto_1_1.dll_ERR_put_error
add esp, 0x14
mov dword [esp + 0x24], 0
jmp 0x1012d9ef
mov dword [esp + 0x24], 1
push 0x83
push str.crypto_rsa_rsa_pss.c
push ebp
call sym.libcrypto_1_1.dll_CRYPTO_free
push dword [esp + 0x20]
call sym.libcrypto_1_1.dll_EVP_MD_CTX_free
mov ecx, dword [esp + 0x8c]
add esp, 0x10
mov eax, dword [esp + 0x24]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.1000b910
add esp, 0x70
ret