Function at 0x100024b0
Capabilities:
Encode data using xor

Disassembly:
jmp 0x1012ac70
mov eax, 0x1c
call fcn.100011c0
mov eax, dword [esp + 0x24]
mov dword [esp + 4], 0
push ebp
mov ebp, dword [esp + 0x34]
push esi
test eax, eax
jle 0x1012af5a
mov esi, dword [esp + 0x34]
test esi, esi
jle 0x1012af5a
cmp esi, ebp
jg 0x1012af3f
cmp ebp, 0xb
jl 0x1012af3f
push ebx
push 0xb2
push str.crypto_rsa_rsa_pk1.c
push ebp
lfence
call sym.libcrypto_1_1.dll_CRYPTO_malloc
mov ebx, eax
add esp, 0xc
test ebx, ebx
jne 0x1012acf0
push 0xb4
push str.crypto_rsa_rsa_pk1.c
push 0x41
push 0x71
push 4
call sym.libcrypto_1_1.dll_ERR_put_error
add esp, 0x14
or eax, 0xffffffff
pop ebx
pop esi
pop ebp
add esp, 0x1c
ret
mov edx, dword [esp + 0x34]
push edi
add edx, esi
mov edi, ebp
lfence
add ebx, ebp
nop
mov eax, esi
lea ecx, [esi - 1]
not eax
shr ecx, 0x1f
shr eax, 0x1f
dec ebx
and ecx, eax
dec ecx
mov eax, ecx
and eax, 1
sub edx, eax
sub esi, eax
mov al, byte [edx]
and al, cl
mov byte [ebx], al
sub edi, 1
jne 0x1012ad00
movzx ecx, byte [ebx + 1]
mov esi, 2
xor ecx, 2
movzx eax, al
dec ecx
mov dword [esp + 0x18], ebx
dec eax
shr ecx, 0x1f
shr eax, 0x1f
neg ecx
neg eax
and ecx, eax
mov dword [esp + 0x10], ecx
nop word [eax + eax]
movzx edx, byte [ebx + esi]
mov eax, edi
dec edx
not eax
shr edx, 0x1f
neg edx
and eax, edx
or edi, edx
mov dword [esp + 0x1c], eax
not eax
mov dword [esp + 0x20], eax
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x20]
and ecx, esi
and eax, dword [esp + 0x14]
inc esi
or eax, ecx
mov dword [esp + 0x14], eax
cmp esi, ebp
jl 0x1012ad50
mov esi, dword [esp + 0x34]
mov edi, ebp
mov edx, dword [esp + 0x14]
sub edi, eax
dec edi
mov ecx, esi
sub ecx, edi
mov dword [esp + 0x1c], edi
xor ecx, edi
mov eax, edi
xor eax, esi
or ecx, eax
lea eax, [edx - 0xa]
or eax, edx
xor ecx, esi
xor eax, edx
shr ecx, 0x1f
shr eax, 0x1f
dec ecx
dec eax
and ecx, eax
and dword [esp + 0x10], ecx
lea ecx, [ebp - 0xb]
mov edx, ecx
mov eax, ecx
sub edx, esi
xor eax, esi
xor edx, esi
or edx, eax
xor edx, ecx
lea ecx, [ebp - 0xb]
shr edx, 0x1f
neg edx
mov dword [esp + 0x20], edx
not edx
mov dword [esp + 0x14], edx
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x14]
and eax, ecx
and edx, esi
mov esi, 1
or edx, eax
mov dword [esp + 0x14], edx
cmp ecx, esi
jle 0x1012ae73
mov eax, ebp
sub eax, edi
add eax, 0xfffffff5
mov dword [esp + 0x28], eax
and eax, esi
mov edi, ebp
sub edi, esi
lea ecx, [eax - 1]
not eax
shr ecx, 0x1f
shr eax, 0x1f
and ecx, eax
dec ecx
cmp edi, 0xb
jle 0x1012ae5e
movzx ebp, cl
lea eax, [ebx + 0xb]
mov dword [esp + 0x20], ebp
add edi, 0xfffffff5
mov ebx, dword [esp + 0x20]
not ebp
nop
mov dword [esp + 0x20], ebx
lea eax, [eax + 1]
mov dword [esp + 0x24], ebp
mov ecx, dword [esp + 0x20]
mov dl, byte [eax + esi - 1]
and dl, cl
mov ecx, dword [esp + 0x24]
and cl, byte [eax - 1]
or cl, dl
mov byte [eax - 1], cl
sub edi, 1
jne 0x1012ae30
mov ebx, dword [esp + 0x18]
mov ebp, dword [esp + 0x40]
lea eax, [ebp - 0xb]
add esi, esi
cmp esi, eax
mov eax, dword [esp + 0x28]
jl 0x1012ae02
mov edi, dword [esp + 0x1c]
mov edx, dword [esp + 0x14]
xor esi, esi
test edx, edx
jle 0x1012aee4
mov eax, edi
lea ecx, [ebx + 0xb]
mov ebx, dword [esp + 0x10]
mov ebp, ecx
shr eax, 0x1f
neg edi
mov dword [esp + 0x20], eax
mov dword [esp + 0x28], ecx
mov ecx, edi
mov edx, esi
shr ecx, 0x1f
inc edi
xor cl, al
shr edx, 0x1f
xor al, dl
or cl, al
movzx eax, bl
xor cl, dl
mov edx, dword [esp + 0x30]
neg cl
movzx ecx, cl
and ecx, eax
mov dword [esp + 0x28], ecx
not ecx
mov dword [esp + 0x24], ecx
mov eax, dword [esp + 0x28]
mov cl, byte [esi + ebp]
and cl, al
mov eax, dword [esp + 0x24]
and al, byte [esi + edx]
or al, cl
mov byte [esi + edx], al
inc esi
mov eax, dword [esp + 0x20]
cmp esi, dword [esp + 0x14]
jl 0x1012ae91
mov ebx, dword [esp + 0x18]
mov ebp, dword [esp + 0x40]
push 0xfa
push str.crypto_rsa_rsa_pk1.c
push ebp
push ebx
call sym.libcrypto_1_1.dll_CRYPTO_clear_free
push 0xfb
push str.crypto_rsa_rsa_pk1.c
push 0x9f
push 0x71
push 4
call sym.libcrypto_1_1.dll_ERR_put_error
mov ebx, dword [esp + 0x34]
mov eax, ebx
and eax, 1
push eax
call fcn.10006080
add esp, 0x28
mov dword [esp + 0x28], ebx
not ebx
mov dword [esp + 0x24], ebx
mov ecx, dword [esp + 0x28]
and ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x24]
pop edi
pop ebx
pop esi
or eax, ecx
pop ebp
add esp, 0x1c
ret
push 0xae
push str.crypto_rsa_rsa_pk1.c
push 0x9f
push 0x71
push 4
call sym.libcrypto_1_1.dll_ERR_put_error
add esp, 0x14
pop esi
or eax, 0xffffffff
pop ebp
add esp, 0x1c
ret