Function at 0x6382b0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x28
call fcn.006d13f0
cmp dword [ebp + 0xc], 0
push esi
mov dword [ebp - 4], 0
jle 0x638649
mov esi, dword [ebp + 0x14]
test esi, esi
jle 0x638649
push ebx
mov ebx, dword [ebp + 0x18]
cmp esi, ebx
jg 0x63862b
cmp ebx, 0xb
jl 0x63862b
push edi
push 0x4e
push str.....crypto_rsa_rsa_ssl.c
push ebx
call fcn.005e91f0
mov edi, eax
add esp, 0xc
test edi, edi
jne 0x638325
push 0x50
push str.....crypto_rsa_rsa_ssl.c
push 0x41
push 0x72
push 4
call fcn.005e34c0
add esp, 0x14
or eax, 0xffffffff
pop edi
pop ebx
pop esi
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp + 0x10]
add edi, ebx
add edx, esi
mov dword [ebp - 0x18], edi
test ebx, ebx
jle 0x63835b
mov eax, esi
lea ecx, [esi - 1]
not eax
shr ecx, 0x1f
shr eax, 0x1f
dec edi
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 [edi], al
sub ebx, 1
jne 0x638333
mov dword [ebp - 0x18], edi
movzx eax, byte [edi + 1]
xor esi, esi
movzx ecx, byte [edi]
xor eax, 2
lea ebx, [eax - 1]
not eax
shr eax, 0x1f
shr ebx, 0x1f
and ebx, eax
lea eax, [ecx - 1]
shr eax, 0x1f
neg ebx
neg eax
and ebx, eax
mov dword [ebp - 0x10], ebx
mov eax, ebx
not eax
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x10]
mov eax, dword [ebp - 0x1c]
and eax, 0x6b
mov dword [ebp - 0x10], esi
mov dword [ebp - 0x28], eax
xor eax, eax
mov dword [ebp - 8], eax
mov eax, 2
mov dword [ebp - 0xc], eax
cmp dword [ebp + 0x18], eax
jle 0x63841d
mov ebx, dword [ebp + 0x18]
or esi, 0xffffffff
movzx edx, byte [eax + edi]
dec edx
shr edx, 0x1f
neg edx
and esi, edx
mov dword [ebp - 0x20], esi
not esi
mov dword [ebp - 0x24], esi
mov ecx, dword [ebp - 0x20]
and ecx, eax
mov eax, dword [ebp - 0x24]
and eax, dword [ebp - 4]
or eax, ecx
mov ecx, dword [ebp - 8]
mov dword [ebp - 4], eax
or ecx, edx
mov eax, dword [ebp - 0xc]
mov esi, ecx
mov dword [ebp - 8], ecx
not esi
movzx eax, byte [eax + edi]
xor eax, 3
lea ecx, [eax - 1]
not eax
shr eax, 0x1f
shr ecx, 0x1f
and ecx, eax
mov eax, esi
and eax, 1
neg ecx
add eax, dword [ebp - 0x10]
or ecx, dword [ebp - 8]
and ecx, eax
mov eax, dword [ebp - 0xc]
inc eax
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0xc], eax
cmp eax, ebx
jl 0x6383b4
mov ebx, dword [ebp - 0x14]
mov esi, ecx
mov ecx, dword [ebp - 4]
lea eax, [ecx - 0xa]
or eax, ecx
xor eax, ecx
shr eax, 0x1f
dec eax
and ebx, eax
mov eax, ebx
mov ecx, ebx
or eax, dword [ebp - 0x1c]
not ecx
mov dword [ebp - 0x24], eax
not eax
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x24]
and eax, dword [ebp - 0x28]
mov edx, dword [ebp - 0x20]
and edx, 0x71
or edx, eax
lea eax, [esi - 8]
or eax, esi
xor eax, esi
shr eax, 0x1f
dec eax
and ebx, eax
mov eax, ebx
or eax, ecx
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x28], eax
not eax
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x28]
mov esi, dword [ebp - 0x24]
and eax, edx
and esi, 0x73
mov edx, ebx
or esi, eax
not edx
mov eax, dword [ebp + 0x18]
sub eax, dword [ebp - 4]
dec eax
sub ecx, eax
mov dword [ebp - 0x10], eax
xor ecx, eax
xor eax, dword [ebp + 0xc]
or ecx, eax
xor ecx, dword [ebp + 0xc]
shr ecx, 0x1f
dec ecx
and ebx, ecx
mov eax, ebx
mov dword [ebp - 0x14], ebx
or eax, edx
mov dword [ebp - 0x28], eax
not eax
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x24]
and eax, esi
mov esi, dword [ebp + 0xc]
and ecx, 0x6d
or ecx, eax
mov dword [ebp - 8], ecx
mov ecx, dword [ebp + 0x18]
add ecx, 0xfffffff5
mov edx, ecx
mov eax, ecx
sub edx, esi
xor eax, esi
xor edx, esi
or edx, eax
xor edx, ecx
shr edx, 0x1f
neg edx
mov dword [ebp - 0x28], edx
not edx
mov dword [ebp - 0x24], edx
mov edx, dword [ebp + 0x18]
mov eax, dword [ebp - 0x28]
lea ecx, [edx - 0xb]
mov dword [ebp - 0x1c], ecx
mov esi, dword [ebp - 0x24]
and eax, ecx
and esi, dword [ebp + 0xc]
or esi, eax
mov dword [ebp + 0xc], esi
mov esi, 1
cmp ecx, esi
jle 0x638568
mov eax, edx
sub eax, dword [ebp - 0x10]
add eax, 0xfffffff5
mov dword [ebp - 0xc], eax
and eax, esi
sub edx, esi
lea ecx, [eax - 1]
not eax
shr ecx, 0x1f
shr eax, 0x1f
and ecx, eax
dec ecx
cmp edx, 0xb
jle 0x638558
movzx ecx, cl
lea eax, [edi + 0xb]
mov ebx, ecx
mov dword [ebp - 0x20], ecx
not ebx
lea edi, [edx - 0xb]
nop dword [eax]
mov dword [ebp - 0x28], ecx
lea eax, [eax + 1]
mov dword [ebp - 0x24], ebx
mov ecx, dword [ebp - 0x28]
mov dl, byte [eax + esi - 1]
and dl, cl
mov ecx, dword [ebp - 0x24]
and cl, byte [eax - 1]
or cl, dl
mov byte [eax - 1], cl
mov ecx, dword [ebp - 0x20]
sub edi, 1
jne 0x638530
mov edi, dword [ebp - 0x18]
mov edx, dword [ebp + 0x18]
add esi, esi
mov eax, dword [ebp - 0xc]
cmp esi, dword [ebp - 0x1c]
jl 0x638505
mov ebx, dword [ebp - 0x14]
xor esi, esi
cmp dword [ebp + 0xc], esi
jle 0x6385da
mov eax, dword [ebp - 0x10]
shr eax, 0x1f
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x10]
neg eax
mov dword [ebp - 0x28], eax
lea eax, [edi + 0xb]
mov edi, dword [ebp - 0x28]
mov dword [ebp - 0x20], eax
nop dword [eax]
mov eax, dword [ebp - 0x24]
mov edx, edi
shr edx, 0x1f
mov ecx, esi
xor dl, al
shr ecx, 0x1f
xor al, cl
inc edi
or dl, al
movzx eax, bl
xor dl, cl
neg dl
movzx ecx, dl
mov edx, dword [ebp + 8]
and ecx, eax
mov dword [ebp - 0x28], ecx
not ecx
mov dword [ebp - 0x1c], ecx
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x20]
mov cl, byte [ecx + esi]
and cl, al
mov eax, dword [ebp - 0x1c]
and al, byte [esi + edx]
or al, cl
mov byte [esi + edx], al
inc esi
cmp esi, dword [ebp + 0xc]
jl 0x638590
mov edi, dword [ebp - 0x18]
push 0xa5
push str.....crypto_rsa_rsa_ssl.c
push dword [ebp + 0x18]
push edi
call fcn.005e9300
push 0xa6
push str.....crypto_rsa_rsa_ssl.c
push dword [ebp - 8]
push 0x72
push 4
call fcn.005e34c0
mov eax, ebx
and eax, 1
push eax
call fcn.005e3710
add esp, 0x28
mov dword [ebp + 0xc], ebx
not ebx
mov dword [ebp - 0x28], ebx
mov ecx, dword [ebp + 0xc]
and ecx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x28]
pop edi
pop ebx
or eax, ecx
pop esi
mov esp, ebp
pop ebp
ret
push 0x4a
push str.....crypto_rsa_rsa_ssl.c
push 0x6f
push 0x72
push 4
call fcn.005e34c0
add esp, 0x14
or eax, 0xffffffff
pop ebx
pop esi
mov esp, ebp
pop ebp
ret
or eax, 0xffffffff
pop esi
mov esp, ebp
pop ebp
ret