Function at 0x5e1360
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x18
call fcn.004e53e0
cmp dword [esp + 0x20], 0
push esi
mov dword [esp + 8], 0
jle 0x5e16d3
mov esi, dword [esp + 0x2c]
test esi, esi
jle 0x5e16d3
push ebx
mov ebx, dword [esp + 0x34]
cmp esi, ebx
jg 0x5e16b5
cmp ebx, 0xb
jl 0x5e16b5
push ebp
push 0x4e
push str.crypto_rsa_rsa_ssl.c
push ebx
call fcn.00560990
mov ebp, eax
add esp, 0xc
test ebp, ebp
jne 0x5e13d6
push 0x50
push str.crypto_rsa_rsa_ssl.c
push 0x41
push 0x72
push 4
call fcn.0056fc30
add esp, 0x14
or eax, 0xffffffff
pop ebp
pop ebx
pop esi
add esp, 0x18
ret
mov edx, dword [esp + 0x30]
add ebp, ebx
add edx, esi
mov dword [esp + 0x20], ebp
push edi
test ebx, ebx
jle 0x5e141a
mov edi, ebx
nop dword [eax]
mov eax, esi
lea ecx, [esi - 1]
not eax
shr ecx, 0x1f
shr eax, 0x1f
dec ebp
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 [ebp], al
sub edi, 1
jne 0x5e13f0
mov dword [esp + 0x24], ebp
movzx eax, byte [ebp + 1]
xor esi, esi
movzx ecx, byte [ebp]
xor eax, 2
mov edi, 2
mov dword [esp + 0x20], 0
mov dword [esp + 0x1c], 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
neg edx
and eax, ecx
neg eax
and edx, eax
mov dword [esp + 0x10], edx
mov eax, edx
not eax
mov dword [esp + 0x18], eax
cmp ebx, edi
jle 0x5e14d3
or esi, 0xffffffff
nop dword [eax + eax]
movzx edx, byte [edi + ebp]
mov eax, edx
not eax
shr eax, 0x1f
lea ecx, [edx - 1]
xor edx, 3
shr ecx, 0x1f
and ecx, eax
neg ecx
and esi, ecx
mov eax, esi
and esi, edi
not eax
inc edi
and eax, dword [esp + 0x14]
or eax, esi
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x20]
or eax, ecx
lea ecx, [edx - 1]
shr ecx, 0x1f
not edx
shr edx, 0x1f
mov esi, eax
and ecx, edx
mov dword [esp + 0x20], eax
neg ecx
not esi
or ecx, eax
mov eax, esi
and eax, 1
add eax, dword [esp + 0x1c]
and ecx, eax
mov dword [esp + 0x1c], ecx
cmp edi, ebx
jl 0x5e1470
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
lea eax, [esi - 8]
or eax, esi
mov edi, edx
xor eax, esi
or edi, dword [esp + 0x18]
shr eax, 0x1f
mov ecx, edx
dec eax
not ecx
and edx, eax
mov eax, ebx
sub eax, dword [esp + 0x14]
mov esi, edx
or esi, ecx
mov dword [esp + 0x10], edx
mov ecx, dword [esp + 0x30]
dec eax
sub ecx, eax
mov dword [esp + 0x1c], eax
xor ecx, eax
not edx
xor eax, dword [esp + 0x30]
or ecx, eax
mov eax, dword [esp + 0x10]
xor ecx, dword [esp + 0x30]
shr ecx, 0x1f
dec ecx
and eax, ecx
mov ecx, dword [esp + 0x18]
and ecx, edi
mov dword [esp + 0x10], eax
and ecx, 0x6b
or eax, edx
not edi
and edi, 0x71
or ecx, edi
mov edi, dword [esp + 0x30]
and ecx, esi
not esi
and esi, 0x73
or ecx, esi
and ecx, eax
not eax
and eax, 0x6d
or ecx, eax
mov dword [esp + 0x18], ecx
lea ecx, [ebx - 0xb]
mov edx, ecx
mov eax, ecx
sub edx, edi
xor eax, edi
xor edx, edi
or edx, eax
xor edx, ecx
lea ecx, [ebx - 0xb]
shr edx, 0x1f
mov eax, ecx
neg edx
mov esi, edx
and eax, edx
not esi
and esi, edi
or esi, eax
mov dword [esp + 0x30], esi
mov esi, 1
cmp ecx, esi
jle 0x5e15fc
mov eax, ebx
sub eax, dword [esp + 0x1c]
add eax, 0xfffffff5
mov dword [esp + 0x14], eax
nop dword [eax + eax]
and eax, esi
mov edi, ebx
sub edi, esi
lea ecx, [eax - 1]
not eax
shr ecx, 0x1f
shr eax, 0x1f
and ecx, eax
dec ecx
cmp edi, 0xb
jle 0x5e15ef
movzx ecx, cl
lea eax, [ebp + 0xb]
mov bl, cl
mov dword [esp + 0x20], ecx
not bl
add edi, 0xfffffff5
nop word [eax + eax]
mov dl, byte [eax + esi]
lea eax, [eax + 1]
and dl, cl
mov cl, bl
and cl, byte [eax - 1]
or dl, cl
mov ecx, dword [esp + 0x20]
mov byte [eax - 1], dl
sub edi, 1
jne 0x5e15d0
mov ebx, dword [esp + 0x3c]
lea eax, [ebx - 0xb]
add esi, esi
cmp esi, eax
mov eax, dword [esp + 0x14]
jl 0x5e15a0
xor esi, esi
cmp dword [esp + 0x30], esi
jle 0x5e1669
mov eax, dword [esp + 0x10]
mov ebx, dword [esp + 0x1c]
mov edi, dword [esp + 0x1c]
movzx eax, al
mov dword [esp + 0x20], eax
lea eax, [ebp + 0xb]
mov ebp, dword [esp + 0x20]
shr ebx, 0x1f
neg edi
mov dword [esp + 0x14], eax
mov ecx, esi
mov edx, edi
shr ecx, 0x1f
mov al, bl
xor al, cl
shr edx, 0x1f
xor dl, bl
inc edi
or dl, al
mov eax, dword [esp + 0x14]
xor dl, cl
neg dl
movzx ecx, dl
mov al, byte [eax + esi]
and ecx, ebp
mov edx, dword [esp + 0x2c]
and al, cl
not cl
and cl, byte [esi + edx]
or al, cl
mov byte [esi + edx], al
inc esi
cmp esi, dword [esp + 0x30]
jl 0x5e1627
mov ebp, dword [esp + 0x24]
mov ebx, dword [esp + 0x3c]
push 0xa5
push str.crypto_rsa_rsa_ssl.c
push ebx
push ebp
call fcn.00560a80
push 0xa6
push str.crypto_rsa_rsa_ssl.c
push dword [esp + 0x30]
push 0x72
push 4
call fcn.0056fc30
mov ebx, dword [esp + 0x34]
mov eax, ebx
and eax, 1
push eax
call fcn.005700b0
add esp, 0x28
mov eax, ebx
and eax, dword [esp + 0x1c]
not ebx
or eax, ebx
pop edi
pop ebp
pop ebx
pop esi
add esp, 0x18
ret
push 0x4a
push str.crypto_rsa_rsa_ssl.c
push 0x6f
push 0x72
push 4
call fcn.0056fc30
add esp, 0x14
or eax, 0xffffffff
pop ebx
pop esi
add esp, 0x18
ret
or eax, 0xffffffff
pop esi
add esp, 0x18
ret