Function at 0x6550a0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x74
call fcn.006bfd90
mov eax, dword [0x7f5314]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0x20]
push ebx
mov ebx, dword [ebp + 0xc]
mov dword [ebp - 0x54], eax
dec ebx
mov eax, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 0x24]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp + 0x14]
push edi
mov dword [ebp - 0x60], eax
xor edi, edi
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x6c], ecx
mov dword [ebp - 0x74], 0
mov dword [ebp - 0x58], ebx
mov dword [ebp - 0x4c], 0
test ecx, ecx
jne 0x655100
call fcn.005dcc70
mov ecx, eax
mov dword [ebp - 0x6c], eax
test esi, esi
push ecx
cmove esi, ecx
mov dword [ebp - 0x70], esi
call fcn.005ec720
mov esi, eax
mov ecx, ebx
add esp, 4
mov dword [ebp - 0x64], esi
lea eax, [esi + esi]
sub ecx, eax
mov dword [ebp - 0x5c], ecx
dec ecx
cmp dword [ebp - 0x60], ecx
jle 0x655151
push 0x3e
push str.crypto_rsa_rsa_oaep.c
push 0x6e
push 0x9a
push 4
call fcn.005e4620
add esp, 0x14
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.006c0fe0
mov esp, ebp
pop ebp
ret
inc eax
cmp ebx, eax
jge 0x655161
push 0x44
push str.crypto_rsa_rsa_oaep.c
push 0x78
jmp 0x65512f
mov eax, dword [ebp - 0x54]
push 0
push dword [ebp - 0x6c]
lea ebx, [eax + 1]
mov byte [eax], 0
inc eax
mov dword [ebp - 0x54], ebx
add eax, esi
push 0
push eax
push dword [ebp + 0x1c]
mov dword [ebp - 0x48], eax
push dword [ebp - 0x68]
call fcn.005dc1c0
add esp, 0x18
test eax, eax
je 0x6553a5
mov eax, dword [ebp - 0x5c]
sub eax, dword [ebp - 0x60]
dec eax
push eax
mov eax, dword [ebp - 0x48]
add eax, esi
push 0
push eax
call fcn.006c2360
mov edx, dword [ebp - 0x60]
mov eax, dword [ebp - 0x48]
sub eax, edx
sub eax, esi
add eax, dword [ebp - 0x58]
push edx
push dword [ebp - 0x50]
push eax
mov byte [eax - 1], 1
call fcn.006c1de0
push esi
push ebx
call fcn.005e0f60
add esp, 0x20
test eax, eax
jle 0x6553a5
mov edi, dword [ebp - 0x58]
push 0x55
sub edi, esi
push str.crypto_rsa_rsa_oaep.c
push edi
mov dword [ebp - 0x58], edi
call fcn.005d3c10
add esp, 0xc
mov dword [ebp - 0x4c], eax
test eax, eax
jne 0x65520f
push 0x57
push str.crypto_rsa_rsa_oaep.c
push 0x41
push 0x9a
push 4
call fcn.005e4620
add esp, 0x14
jmp 0x6553a5
push dword [ebp - 0x70]
push esi
push ebx
push edi
push eax
call fcn.00654f20
add esp, 0x14
test eax, eax
js 0x6553a5
xor edx, edx
test edi, edi
jle 0x6552e4
mov ecx, dword [ebp - 0x48]
cmp edi, 0x20
jb 0x6552b6
lea eax, [ecx - 1]
add eax, edi
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x4c]
dec eax
add eax, edi
cmp ecx, eax
ja 0x655252
mov eax, dword [ebp - 0x4c]
cmp dword [ebp - 0x50], eax
jae 0x6552b9
mov eax, edi
and eax, 0x8000001f
jns 0x655260
dec eax
or eax, 0xffffffe0
inc eax
mov esi, edi
sub esi, eax
mov eax, ecx
mov dword [ebp - 0x68], esi
mov esi, dword [ebp - 0x4c]
mov ebx, esi
sub ebx, ecx
mov dword [ebp - 0x50], ebx
mov ebx, dword [ebp - 0x54]
lea ecx, [esi + 0x10]
mov esi, dword [ebp - 0x64]
mov dword [ebp - 0x5c], ecx
mov ecx, dword [ebp - 0x50]
mov edi, dword [ebp - 0x5c]
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 [edi + edx]
add edx, 0x20
movups xmm0, xmmword [eax - 0x10]
pxor xmm1, xmm0
movups xmmword [eax - 0x10], xmm1
cmp edx, dword [ebp - 0x68]
jl 0x655285
mov edi, dword [ebp - 0x58]
mov ecx, dword [ebp - 0x48]
mov eax, dword [ebp - 0x4c]
cmp edx, edi
jge 0x6552e4
mov esi, eax
mov ebx, edi
sub esi, dword [ebp - 0x48]
add ecx, edx
sub ebx, edx
nop dword [eax + eax]
mov al, byte [ecx + esi]
lea ecx, [ecx + 1]
xor byte [ecx - 1], al
sub ebx, 1
jne 0x6552d0
mov esi, dword [ebp - 0x64]
mov ebx, dword [ebp - 0x54]
push dword [ebp - 0x70]
lea eax, [ebp - 0x44]
push edi
push dword [ebp - 0x48]
push esi
push eax
call fcn.00654f20
add esp, 0x14
test eax, eax
js 0x6553a5
xor edx, edx
test esi, esi
jle 0x65539e
cmp esi, 0x20
jb 0x655381
lea ecx, [ebx - 1]
lea eax, [ebp + esi - 0x45]
add ecx, esi
cmp ebx, eax
ja 0x655323
lea eax, [ebp - 0x44]
cmp ecx, eax
jae 0x655381
mov eax, esi
and eax, 0x8000001f
jns 0x655331
dec eax
or eax, 0xffffffe0
inc eax
mov ecx, esi
lea esi, [ebp - 0x44]
sub esi, ebx
sub ecx, eax
mov dword [ebp - 0x50], esi
mov eax, ebx
lea esi, [ebp - 0x34]
sub esi, ebx
mov ebx, dword [ebp - 0x50]
mov dword [ebp - 0x5c], esi
mov esi, dword [ebp - 0x64]
mov edi, dword [ebp - 0x5c]
movups xmm0, xmmword [eax]
add edx, 0x20
lea eax, [eax + 0x20]
movups xmm1, xmmword [ebx + eax - 0x20]
pxor xmm1, xmm0
movups xmmword [eax - 0x20], xmm1
movups xmm0, xmmword [eax - 0x10]
movups xmm1, xmmword [edi + eax - 0x20]
pxor xmm1, xmm0
movups xmmword [eax - 0x10], xmm1
cmp edx, ecx
jl 0x655350
mov edi, dword [ebp - 0x58]
mov ebx, dword [ebp - 0x54]
cmp edx, esi
jge 0x65539e
lea ecx, [edx + ebx]
lea ebx, [ebp - 0x44]
sub ebx, dword [ebp - 0x54]
sub esi, edx
mov al, byte [ecx + ebx]
lea ecx, [ecx + 1]
xor byte [ecx - 1], al
sub esi, 1
jne 0x655390
mov dword [ebp - 0x74], 1
lea eax, [ebp - 0x44]
push 0x40
push eax
call fcn.004029a0
push 0x68
push str.crypto_rsa_rsa_oaep.c
push edi
push dword [ebp - 0x4c]
call fcn.005d3d20
mov ecx, dword [ebp - 4]
add esp, 0x18
mov eax, dword [ebp - 0x74]
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.006c0fe0
mov esp, ebp
pop ebp
ret