Function at 0x655410
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, 0xc4
call fcn.006bfd90
mov eax, dword [0x7f5314]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0x28]
mov dword [ebp - 0xc4], eax
mov eax, dword [ebp + 0x1c]
push esi
mov dword [ebp - 0x98], eax
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0xb4], eax
mov dword [ebp - 0xbc], 0xffffffff
mov dword [ebp - 0xb0], 0
mov dword [ebp - 0x90], 0
mov dword [ebp - 0x9c], 0
push edi
mov edi, dword [ebp + 0x18]
mov dword [ebp - 0xc0], edi
test eax, eax
jne 0x655488
call fcn.005dcc70
mov dword [ebp - 0xb4], eax
test ebx, ebx
push eax
cmove ebx, eax
mov dword [ebp - 0x88], ebx
call fcn.005ec720
add esp, 4
mov ebx, eax
cmp dword [ebp + 0xc], 0
mov dword [ebp - 0xa8], ebx
jle 0x655b3f
mov esi, dword [ebp + 0x14]
test esi, esi
jle 0x655b3f
cmp edi, esi
jl 0x655b24
lea eax, [ebx*2 + 2]
cmp edi, eax
jl 0x655b24
push 0x9d
sub edi, ebx
dec edi
push str.crypto_rsa_rsa_oaep.c
push edi
mov dword [ebp - 0xac], edi
call fcn.005d3c10
add esp, 0xc
mov dword [ebp - 0x8c], eax
test eax, eax
jne 0x655516
push 0x9f
push str.crypto_rsa_rsa_oaep.c
push 0x41
push 0x99
push 4
call fcn.005e4620
add esp, 0x14
jmp 0x655aac
push 0xa3
push str.crypto_rsa_rsa_oaep.c
push dword [ebp - 0xc0]
call fcn.005d3c10
add esp, 0xc
mov dword [ebp - 0x9c], eax
test eax, eax
jne 0x65553f
push 0xa6
jmp 0x6554fb
mov edx, dword [ebp + 0x10]
mov ecx, dword [ebp - 0xc0]
add edx, esi
add eax, ecx
mov dword [ebp - 0x9c], eax
test ecx, ecx
jle 0x65559b
mov ebx, ecx
mov edi, eax
nop word [eax + eax]
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
and cl, byte [edx]
mov byte [edi], cl
sub ebx, 1
jne 0x655560
mov ebx, dword [ebp - 0xa8]
mov dword [ebp - 0x9c], edi
mov edi, dword [ebp - 0xac]
mov eax, dword [ebp - 0x9c]
movzx eax, byte [eax]
push dword [ebp - 0x88]
push edi
lea ecx, [eax - 1]
not eax
shr eax, 0x1f
shr ecx, 0x1f
and ecx, eax
mov eax, dword [ebp - 0x9c]
neg ecx
mov dword [ebp - 0x90], ecx
lea esi, [eax + 1]
inc eax
add eax, ebx
push eax
mov dword [ebp - 0x94], eax
lea eax, [ebp - 0x44]
push ebx
push eax
call fcn.00654f20
add esp, 0x14
test eax, eax
jne 0x655aac
xor edx, edx
test ebx, ebx
jle 0x65567f
cmp ebx, 0x20
jb 0x655666
lea eax, [esi - 1]
lea edi, [ebp - 0x44]
add eax, ebx
cmp edi, eax
lea ecx, [ebp + ebx - 0x45]
mov edi, dword [ebp - 0xac]
ja 0x65560b
cmp ecx, esi
jae 0x655666
mov eax, ebx
and eax, 0x8000001f
jns 0x655619
dec eax
or eax, 0xffffffe0
inc eax
mov ecx, ebx
mov edi, esi
sub ecx, eax
lea eax, [ebp - 0x44]
sub edi, eax
nop dword [eax]
nop dword [eax + eax]
movups xmm0, xmmword [ebp + edx - 0x44]
lea eax, [edi + edx]
movups xmm1, xmmword [ebp + eax - 0x44]
pxor xmm1, xmm0
movups xmmword [ebp + edx - 0x44], xmm1
movups xmm1, xmmword [esi + edx + 0x10]
movups xmm0, xmmword [ebp + edx - 0x34]
pxor xmm1, xmm0
movups xmmword [ebp + edx - 0x34], xmm1
add edx, 0x20
cmp edx, ecx
jl 0x655630
mov edi, dword [ebp - 0xac]
cmp edx, ebx
jge 0x65567f
lea eax, [ebp - 0x44]
sub esi, eax
nop
lea ecx, [ebp - 0x44]
add ecx, edx
inc edx
mov al, byte [ecx + esi]
xor byte [ecx], al
cmp edx, ebx
jl 0x655670
push dword [ebp - 0x88]
mov esi, dword [ebp - 0x8c]
lea eax, [ebp - 0x44]
push ebx
push eax
push edi
push esi
call fcn.00654f20
add esp, 0x14
test eax, eax
jne 0x655aac
xor edx, edx
test edi, edi
jle 0x655774
cmp edi, 0x20
jb 0x655740
mov ecx, dword [ebp - 0x94]
dec esi
add esi, edi
lea eax, [ecx - 1]
add eax, edi
cmp dword [ebp - 0x8c], eax
ja 0x6556cf
cmp esi, ecx
jae 0x655740
mov eax, edi
and eax, 0x8000001f
jns 0x6556dd
dec eax
or eax, 0xffffffe0
inc eax
mov ebx, dword [ebp - 0x8c]
mov esi, edi
mov dword [ebp - 0x88], ecx
sub esi, eax
sub dword [ebp - 0x88], ebx
mov eax, ebx
add ecx, 0x10
mov dword [ebp - 0xa0], ecx
mov ecx, dword [ebp - 0x88]
mov ebx, dword [ebp - 0xa0]
nop word [eax + eax]
movups xmm0, xmmword [eax]
lea eax, [eax + 0x20]
movups xmm1, xmmword [ecx + eax - 0x20]
pxor xmm1, xmm0
movups xmmword [eax - 0x20], xmm1
movups xmm1, xmmword [ebx + edx]
add edx, 0x20
movups xmm0, xmmword [eax - 0x10]
pxor xmm1, xmm0
movups xmmword [eax - 0x10], xmm1
cmp edx, esi
jl 0x655710
mov ebx, dword [ebp - 0xa8]
cmp edx, edi
jge 0x655774
mov eax, dword [ebp - 0x8c]
mov esi, edi
mov ebx, dword [ebp - 0x94]
sub ebx, eax
sub esi, edx
lea ecx, [edx + eax]
nop dword [eax]
mov al, byte [ecx + ebx]
lea ecx, [ecx + 1]
xor byte [ecx - 1], al
sub esi, 1
jne 0x655760
mov ebx, dword [ebp - 0xa8]
push 0
push dword [ebp - 0xb4]
lea eax, [ebp - 0x84]
push 0
push eax
push dword [ebp + 0x20]
push dword [ebp - 0x98]
call fcn.005dc1c0
add esp, 0x18
test eax, eax
je 0x655aac
push ebx
lea eax, [ebp - 0x84]
push eax
push dword [ebp - 0x8c]
call fcn.00402a10
mov edx, dword [ebp - 0x90]
add esp, 0xc
mov esi, dword [ebp - 0xa8]
lea ecx, [eax - 1]
not eax
shr ecx, 0x1f
shr eax, 0x1f
and ecx, eax
neg ecx
and edx, ecx
xor ecx, ecx
mov dword [ebp - 0x90], edx
mov dword [ebp - 0x88], ecx
cmp esi, edi
jge 0x655874
nop word [eax + eax]
mov eax, dword [ebp - 0x8c]
not ecx
movzx esi, byte [ebx + eax]
mov eax, esi
xor eax, 1
lea edx, [eax - 1]
not eax
shr eax, 0x1f
shr edx, 0x1f
and edx, eax
neg edx
and ecx, edx
mov dword [ebp - 0x98], ecx
not ecx
mov dword [ebp - 0xa0], ecx
mov ecx, dword [ebp - 0x98]
mov eax, dword [ebp - 0xa0]
and ecx, ebx
and eax, dword [ebp - 0xb0]
inc ebx
or eax, ecx
mov ecx, dword [ebp - 0x88]
mov dword [ebp - 0xb0], eax
or ecx, edx
mov edx, dword [ebp - 0x90]
lea eax, [esi - 1]
shr eax, 0x1f
not esi
shr esi, 0x1f
and eax, esi
mov dword [ebp - 0x88], ecx
neg eax
or eax, ecx
and edx, eax
mov dword [ebp - 0x90], edx
cmp ebx, edi
jl 0x6557f0
mov esi, dword [ebp - 0xa8]
mov ecx, dword [ebp + 0xc]
mov eax, edi
sub eax, dword [ebp - 0xb0]
mov ebx, edi
dec eax
sub ebx, esi
sub ecx, eax
mov dword [ebp - 0xbc], eax
xor ecx, eax
mov dword [ebp - 0x94], ebx
xor eax, dword [ebp + 0xc]
or ecx, eax
mov eax, dword [ebp + 0xc]
xor ecx, eax
shr ecx, 0x1f
dec ecx
and ecx, dword [ebp - 0x88]
and edx, ecx
lea ecx, [ebx - 1]
mov dword [ebp - 0x90], edx
mov edx, ecx
sub edx, eax
xor edx, eax
mov eax, ecx
xor eax, dword [ebp + 0xc]
or edx, eax
xor edx, ecx
lea ecx, [ebx - 1]
shr edx, 0x1f
mov ebx, 1
neg edx
mov dword [ebp - 0xb8], ecx
mov dword [ebp - 0x98], edx
not edx
mov dword [ebp - 0xa0], edx
mov eax, dword [ebp - 0x98]
mov edx, dword [ebp - 0xa0]
and eax, ecx
and edx, dword [ebp + 0xc]
or edx, eax
mov dword [ebp - 0xb4], edx
cmp ecx, ebx
jle 0x6559c4
mov eax, dword [ebp - 0x94]
lea edx, [esi + 1]
sub eax, dword [ebp - 0xbc]
dec eax
mov dword [ebp - 0x88], edx
mov dword [ebp - 0xa4], eax
and eax, ebx
sub edi, ebx
lea ecx, [eax - 1]
not eax
shr ecx, 0x1f
shr eax, 0x1f
and ecx, eax
dec ecx
cmp edx, edi
jge 0x6559a4
mov esi, dword [ebp - 0x8c]
movzx ecx, cl
add esi, edx
mov eax, ecx
mov dword [ebp - 0xb0], ecx
not eax
sub edi, edx
mov dword [ebp - 0x94], eax
nop dword [eax]
nop word [eax + eax]
mov dword [ebp - 0x98], ecx
lea esi, [esi + 1]
mov dword [ebp - 0xa0], eax
movzx eax, byte [esi + ebx - 1]
mov edx, dword [ebp - 0x98]
mov ecx, dword [ebp - 0xa0]
and dl, al
movzx eax, byte [esi - 1]
and cl, al
mov eax, dword [ebp - 0x94]
or cl, dl
mov byte [esi - 1], cl
mov ecx, dword [ebp - 0xb0]
sub edi, 1
jne 0x655960
mov edx, dword [ebp - 0x88]
mov edi, dword [ebp - 0xac]
add ebx, ebx
mov eax, dword [ebp - 0xa4]
cmp ebx, dword [ebp - 0xb8]
jl 0x655920
mov edx, dword [ebp - 0xb4]
xor esi, esi
test edx, edx
jle 0x655a82
mov ecx, dword [ebp - 0x90]
mov eax, dword [ebp - 0xbc]
mov ebx, dword [ebp - 0xbc]
movzx ecx, cl
neg ebx
mov dword [ebp - 0xa4], ecx
mov ecx, dword [ebp - 0xa8]
mov edi, dword [ebp - 0xa4]
inc ecx
shr eax, 0x1f
add ecx, dword [ebp - 0x8c]
mov dword [ebp - 0x94], eax
mov dword [ebp - 0xb8], ecx
nop dword [eax]
mov edx, ebx
mov ecx, esi
shr edx, 0x1f
inc ebx
xor dl, al
shr ecx, 0x1f
mov al, cl
xor al, byte [ebp - 0x94]
or dl, al
xor dl, cl
neg dl
movzx eax, dl
and eax, edi
mov dword [ebp - 0xa4], eax
not eax
mov dword [ebp - 0x98], eax
mov eax, dword [ebp - 0xb8]
mov edx, dword [ebp - 0xa4]
mov ecx, dword [ebp - 0x98]
movzx eax, byte [eax + esi]
and dl, al
mov eax, dword [ebp - 0xc4]
movzx eax, byte [eax + esi]
and cl, al
mov eax, dword [ebp - 0xc4]
or cl, dl
mov byte [eax + esi], cl
inc esi
mov eax, dword [ebp - 0x94]
cmp esi, dword [ebp - 0xb4]
jl 0x655a10
mov edi, dword [ebp - 0xac]
push 0x107
push str.crypto_rsa_rsa_oaep.c
push 0x79
push 0x99
push 4
call fcn.005e4620
mov eax, dword [ebp - 0x90]
and eax, 1
push eax
call fcn.005e4a90
add esp, 0x18
lea eax, [ebp - 0x44]
push 0x40
push eax
call fcn.004029a0
push 0x10b
push str.crypto_rsa_rsa_oaep.c
push edi
push dword [ebp - 0x8c]
call fcn.005d3d20
push 0x10c
push str.crypto_rsa_rsa_oaep.c
push dword [ebp - 0xc0]
push dword [ebp - 0x9c]
call fcn.005d3d20
mov eax, dword [ebp - 0x90]
add esp, 0x28
mov dword [ebp - 0xa4], eax
not eax
mov dword [ebp - 0xb8], eax
mov ecx, dword [ebp - 0xa4]
and ecx, dword [ebp - 0xbc]
mov eax, dword [ebp - 0xb8]
pop edi
pop esi
or eax, ecx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.006c0fe0
mov esp, ebp
pop ebp
ret
push 0x98
push str.crypto_rsa_rsa_oaep.c
push 0x79
push 0x99
push 4
call fcn.005e4620
add esp, 0x14
mov ecx, dword [ebp - 4]
or eax, 0xffffffff
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.006c0fe0
mov esp, ebp
pop ebp
ret