Function at 0x10001c53
Capabilities:
Encode data using xor

Disassembly:
jmp 0x10148850
mov eax, 0x24
call fcn.101aa6d0
cmp dword [esp + 0x2c], 0
push esi
mov dword [esp + 8], 0
jle 0x10148c4b
mov esi, dword [esp + 0x38]
test esi, esi
jle 0x10148c4b
push ebx
mov ebx, dword [esp + 0x40]
cmp esi, ebx
jg 0x10148c2d
cmp ebx, 0xb
jl 0x10148c2d
push ebp
push 0x4e
push str...crypto_rsa_rsa_ssl.c
push ebx
call sym.libcrypto_1_1.dll_CRYPTO_malloc
mov ebp, eax
add esp, 0xc
test ebp, ebp
jne 0x101488c6
push 0x50
push str...crypto_rsa_rsa_ssl.c
push 0x41
push 0x72
push 4
call sym.libcrypto_1_1.dll_ERR_put_error
add esp, 0x14
or eax, 0xffffffff
pop ebp
pop ebx
pop esi
add esp, 0x24
ret
mov edx, dword [esp + 0x3c]
add ebp, ebx
add edx, esi
push edi
mov dword [esp + 0x20], ebp
test ebx, ebx
jle 0x10148908
mov edi, ebx
lea esp, [esp]
mov eax, esi
not eax
shr eax, 0x1f
lea ecx, [esi - 1]
shr ecx, 0x1f
and ecx, eax
dec ecx
mov eax, ecx
and eax, 1
sub edx, eax
sub esi, eax
mov al, byte [edx]
dec ebp
and al, cl
mov byte [ebp], al
dec edi
jne 0x101488e0
mov dword [esp + 0x20], ebp
movzx eax, byte [ebp + 1]
movzx ecx, byte [ebp]
xor eax, 2
xor esi, esi
lea edx, [eax - 1]
not eax
shr eax, 0x1f
shr edx, 0x1f
and edx, eax
lea eax, [ecx - 1]
shr eax, 0x1f
not ecx
shr ecx, 0x1f
and eax, ecx
neg eax
neg edx
and edx, eax
mov dword [esp + 0x1c], edx
mov eax, edx
not eax
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x1c]
mov eax, dword [esp + 0x24]
and eax, 0x6b
mov dword [esp + 0x30], eax
xor eax, eax
mov edi, 2
mov dword [esp + 0x10], edx
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], esi
cmp ebx, edi
jle 0x101489e5
or esi, 0xffffffff
lea ebx, [ebx]
movzx eax, byte [edi + ebp]
lea edx, [eax - 1]
not eax
shr eax, 0x1f
shr edx, 0x1f
and edx, eax
neg edx
and esi, edx
mov dword [esp + 0x28], esi
not esi
mov dword [esp + 0x2c], esi
mov ecx, dword [esp + 0x28]
mov eax, dword [esp + 0x2c]
and eax, dword [esp + 0x14]
and ecx, edi
or ecx, eax
movzx eax, byte [edi + ebp]
mov dword [esp + 0x14], ecx
mov ecx, dword [esp + 0x18]
or ecx, edx
xor eax, 3
mov esi, ecx
mov dword [esp + 0x18], ecx
lea ecx, [eax - 1]
not eax
shr ecx, 0x1f
shr eax, 0x1f
and ecx, eax
not esi
neg ecx
or ecx, dword [esp + 0x18]
mov eax, esi
and eax, 1
add eax, dword [esp + 0x1c]
inc edi
and ecx, eax
mov dword [esp + 0x1c], ecx
cmp edi, ebx
jl 0x10148970
mov edx, dword [esp + 0x10]
mov esi, ecx
mov ecx, dword [esp + 0x14]
lea eax, [ecx - 0xa]
or eax, ecx
xor eax, ecx
shr eax, 0x1f
dec eax
and edx, eax
mov dword [esp + 0x10], edx
or edx, dword [esp + 0x24]
mov edi, dword [esp + 0x10]
mov dword [esp + 0x2c], edx
not edx
mov dword [esp + 0x28], edx
mov edx, dword [esp + 0x2c]
and edx, dword [esp + 0x30]
mov eax, dword [esp + 0x28]
and eax, 0x71
or edx, eax
lea eax, [esi - 8]
or eax, esi
xor eax, esi
shr eax, 0x1f
dec eax
mov ecx, edi
and edi, eax
not ecx
mov eax, edi
or eax, ecx
mov dword [esp + 0x30], eax
mov ecx, dword [esp + 0x3c]
not eax
mov dword [esp + 0x2c], eax
mov esi, dword [esp + 0x30]
mov eax, dword [esp + 0x2c]
and esi, edx
and eax, 0x73
or esi, eax
mov dword [esp + 0x10], edi
mov edx, edi
mov edi, ebx
sub edi, dword [esp + 0x14]
not edx
dec edi
sub ecx, edi
xor ecx, edi
mov eax, edi
xor eax, dword [esp + 0x3c]
mov dword [esp + 0x24], edi
or ecx, eax
xor ecx, dword [esp + 0x3c]
mov eax, dword [esp + 0x10]
shr ecx, 0x1f
dec ecx
and eax, ecx
mov dword [esp + 0x10], eax
or eax, edx
mov dword [esp + 0x30], eax
not eax
mov dword [esp + 0x2c], eax
mov ecx, dword [esp + 0x30]
mov eax, dword [esp + 0x2c]
and ecx, esi
mov esi, dword [esp + 0x3c]
and eax, 0x6d
or ecx, eax
mov dword [esp + 0x1c], ecx
lea ecx, [ebx - 0xb]
mov edx, ecx
sub edx, esi
xor edx, esi
mov eax, ecx
xor eax, esi
or edx, eax
xor edx, ecx
shr edx, 0x1f
neg edx
mov dword [esp + 0x3c], edx
not edx
mov dword [esp + 0x30], edx
mov edx, dword [esp + 0x3c]
lea ecx, [ebx - 0xb]
mov eax, dword [esp + 0x30]
and eax, esi
and edx, ecx
or edx, eax
mov esi, 1
mov dword [esp + 0x3c], edx
cmp ecx, esi
jle 0x10148b5f
mov eax, ebx
sub eax, edi
add eax, 0xfffffff5
mov dword [esp + 0x28], eax
lea esp, [esp]
and eax, esi
mov edi, ebx
lea ecx, [eax - 1]
shr ecx, 0x1f
not eax
shr eax, 0x1f
and ecx, eax
sub edi, esi
dec ecx
cmp edi, 0xb
jle 0x10148b4a
movzx ebx, cl
mov dword [esp + 0x30], ebx
lea eax, [ebp + 0xb]
mov ebp, dword [esp + 0x30]
not ebx
add edi, 0xfffffff5
lea esp, [esp]
mov dword [esp + 0x30], ebp
mov dword [esp + 0x2c], ebx
mov ecx, dword [esp + 0x30]
mov dl, byte [eax + esi]
and dl, cl
mov ecx, dword [esp + 0x2c]
and cl, byte [eax]
lea eax, [eax + 1]
or cl, dl
mov byte [eax - 1], cl
dec edi
jne 0x10148b20
mov ebp, dword [esp + 0x20]
mov ebx, dword [esp + 0x48]
lea eax, [ebx - 0xb]
add esi, esi
cmp esi, eax
mov eax, dword [esp + 0x28]
jl 0x10148af0
mov edi, dword [esp + 0x24]
mov edx, dword [esp + 0x3c]
xor esi, esi
test edx, edx
jle 0x10148bd5
mov eax, dword [esp + 0x10]
movzx eax, al
mov ebx, edi
mov dword [esp + 0x30], eax
lea eax, [ebp + 0xb]
mov ebp, dword [esp + 0x30]
shr ebx, 0x1f
neg edi
mov dword [esp + 0x2c], eax
mov ecx, esi
shr ecx, 0x1f
mov edx, edi
shr edx, 0x1f
xor dl, bl
mov al, bl
xor al, cl
or dl, al
xor dl, cl
mov ecx, dword [esp + 0x2c]
neg dl
movzx eax, dl
mov edx, dword [esp + 0x38]
and eax, ebp
mov dword [esp + 0x30], eax
not eax
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x30]
mov cl, byte [ecx + esi]
and cl, al
mov eax, dword [esp + 0x28]
and al, byte [esi + edx]
inc esi
or al, cl
mov byte [esi + edx - 1], al
inc edi
cmp esi, dword [esp + 0x3c]
jl 0x10148b82
mov ebp, dword [esp + 0x20]
mov ebx, dword [esp + 0x48]
push 0xa5
push str...crypto_rsa_rsa_ssl.c
push ebx
push ebp
call sym.libcrypto_1_1.dll_CRYPTO_clear_free
push 0xa6
push str...crypto_rsa_rsa_ssl.c
push dword [esp + 0x34]
push 0x72
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.100015f5
add esp, 0x28
mov dword [esp + 0x3c], ebx
not ebx
mov dword [esp + 0x30], ebx
mov eax, dword [esp + 0x3c]
and eax, dword [esp + 0x24]
pop edi
or eax, dword [esp + 0x2c]
pop ebp
pop ebx
pop esi
add esp, 0x24
ret
push 0x4a
push str...crypto_rsa_rsa_ssl.c
push 0x6f
push 0x72
push 4
call sym.libcrypto_1_1.dll_ERR_put_error
add esp, 0x14
or eax, 0xffffffff
pop ebx
pop esi
add esp, 0x24
ret
or eax, 0xffffffff
pop esi
add esp, 0x24
ret