Function at 0x663d20
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x74
call fcn.006d13f0
mov eax, dword [0x7c0ab4]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x18]
push ebx
mov ebx, dword [ebp + 0x14]
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0x10]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x58], esi
mov dword [ebp - 0x74], eax
mov dword [ebp - 0x70], edi
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x4c], 0
call fcn.006194e0
mov dword [ebp - 0x50], eax
test eax, eax
je 0x66410a
test ebx, ebx
push edi
cmove ebx, edi
mov dword [ebp - 0x60], ebx
call fcn.005da290
mov edi, eax
add esp, 4
mov dword [ebp - 0x64], edi
test edi, edi
js 0x66410a
mov ebx, dword [ebp + 0x1c]
cmp ebx, 0xffffffff
jne 0x663de9
mov ebx, edi
mov dword [ebp + 0x1c], ebx
push dword [esi + 0x10]
call fcn.005f68c0
push dword [ebp - 0x58]
lea esi, [eax - 1]
and esi, 7
mov dword [ebp - 0x6c], esi
call fcn.005db910
mov edx, eax
mov ecx, esi
mov eax, 0xff
add esp, 8
shl eax, cl
mov ecx, dword [ebp - 0x48]
test byte [ecx], al
je 0x663e0b
push 0x46
push str.....crypto_rsa_rsa_pss.c
push 0x85
push 0x7e
push 4
call fcn.005e34c0
add esp, 0x14
jmp 0x66410a
cmp ebx, 0xfffffffd
jge 0x663d9e
push 0x3f
push str.....crypto_rsa_rsa_pss.c
push 0x88
push 0x7e
push 4
call fcn.005e34c0
add esp, 0x14
jmp 0x66410a
test esi, esi
jne 0x663e10
dec edx
mov eax, ecx
test esi, esi
lea ecx, [eax + 1]
cmovne ecx, eax
lea eax, [edi + 2]
mov dword [ebp - 0x58], ecx
cmp edx, eax
jge 0x663e3e
push 0x4e
push str.....crypto_rsa_rsa_pss.c
push 0x6d
push 0x7e
push 4
call fcn.005e34c0
add esp, 0x14
jmp 0x66410a
mov esi, edx
sub esi, edi
lea eax, [esi - 2]
cmp ebx, 0xfffffffd
jne 0x663e71
mov dword [ebp + 0x1c], eax
cmp byte [ecx + edx - 1], 0xbc
je 0x663e79
push 0x58
push str.....crypto_rsa_rsa_pss.c
push 0x86
push 0x7e
push 4
call fcn.005e34c0
add esp, 0x14
jmp 0x66410a
cmp ebx, eax
jle 0x663e4d
push 0x54
jmp 0x663e26
dec esi
push 0x5d
push str.....crypto_rsa_rsa_pss.c
push esi
mov dword [ebp - 0x54], esi
lea ebx, [ecx + esi]
call fcn.005e91f0
add esp, 0xc
mov dword [ebp - 0x4c], eax
test eax, eax
jne 0x663eb1
push 0x5f
push str.....crypto_rsa_rsa_pss.c
push 0x41
push 0x7e
push 4
call fcn.005e34c0
add esp, 0x14
jmp 0x66410a
push dword [ebp - 0x60]
push edi
push ebx
push esi
push eax
call fcn.00637560
add esp, 0x14
test eax, eax
js 0x66410a
xor ecx, ecx
mov dword [ebp - 0x48], ecx
test esi, esi
jle 0x663fa6
mov edx, dword [ebp - 0x4c]
cmp esi, 0x40
jb 0x663f8a
mov ecx, dword [ebp - 0x58]
xor eax, eax
mov dword [ebp - 0x48], eax
lea eax, [ecx - 1]
add eax, esi
cmp edx, eax
ja 0x663eff
lea eax, [edx - 1]
add eax, esi
cmp eax, ecx
jae 0x663f88
mov eax, esi
and eax, 0x8000003f
jns 0x663f0d
dec eax
or eax, 0xffffffc0
inc eax
mov edi, esi
sub edi, eax
mov eax, edx
mov dword [ebp - 0x68], edi
mov edi, ecx
sub edi, edx
add ecx, 0x20
mov dword [ebp - 0x48], edi
mov esi, edi
mov dword [ebp - 0x60], ecx
xor ecx, ecx
mov edi, dword [ebp - 0x60]
nop word [eax + eax]
movups xmm0, xmmword [eax]
lea eax, [eax + 0x40]
movups xmm1, xmmword [eax + esi - 0x40]
pxor xmm1, xmm0
movups xmmword [eax - 0x40], xmm1
movups xmm0, xmmword [eax - 0x30]
movups xmm1, xmmword [edi + ecx - 0x10]
pxor xmm1, xmm0
movups xmmword [eax - 0x30], xmm1
movups xmm0, xmmword [eax - 0x20]
movups xmm1, xmmword [edi + ecx]
pxor xmm1, xmm0
movups xmmword [eax - 0x20], xmm1
movups xmm0, xmmword [eax - 0x10]
movups xmm1, xmmword [edi + ecx + 0x10]
add ecx, 0x40
pxor xmm1, xmm0
movups xmmword [eax - 0x10], xmm1
cmp ecx, dword [ebp - 0x68]
jl 0x663f30
mov edi, dword [ebp - 0x64]
mov esi, dword [ebp - 0x54]
mov dword [ebp - 0x48], ecx
jmp 0x663f8a
xor ecx, ecx
cmp ecx, esi
jge 0x663fa6
mov edi, dword [ebp - 0x58]
add ecx, edx
sub edi, edx
sub esi, dword [ebp - 0x48]
mov al, byte [edi + ecx]
xor byte [ecx], al
inc ecx
sub esi, 1
jne 0x663f98
mov edi, dword [ebp - 0x64]
mov eax, dword [ebp - 0x6c]
test eax, eax
je 0x663fc2
mov ecx, 8
mov edx, 0xff
sub ecx, eax
mov eax, dword [ebp - 0x4c]
sar edx, cl
and byte [eax], dl
jmp 0x663fc5
mov eax, dword [ebp - 0x4c]
mov cl, byte [eax]
xor esi, esi
test cl, cl
mov ecx, dword [ebp - 0x54]
jne 0x663fde
lea edx, [ecx - 1]
cmp esi, edx
jge 0x663fde
inc esi
cmp byte [esi + eax], 0
je 0x663fd3
mov al, byte [esi + eax]
inc esi
cmp al, 1
je 0x664003
push 0x6a
push str.....crypto_rsa_rsa_pss.c
push 0x87
push 0x7e
push 4
call fcn.005e34c0
add esp, 0x14
jmp 0x66410a
mov eax, dword [ebp + 0x1c]
sub ecx, esi
mov dword [ebp - 0x54], ecx
cmp eax, 0xfffffffe
je 0x66401b
cmp ecx, eax
je 0x66401b
push 0x6e
jmp 0x663df0
push 0
push dword [ebp - 0x70]
push dword [ebp - 0x50]
call fcn.00618fe0
add esp, 0xc
test eax, eax
je 0x66410a
push 8
push 0x75595c
push dword [ebp - 0x50]
call fcn.00619180
add esp, 0xc
test eax, eax
je 0x66410a
push edi
push dword [ebp - 0x74]
push dword [ebp - 0x50]
call fcn.00619180
add esp, 0xc
test eax, eax
je 0x66410a
mov eax, dword [ebp - 0x54]
test eax, eax
je 0x664085
push eax
mov eax, dword [ebp - 0x4c]
add eax, esi
push eax
push dword [ebp - 0x50]
call fcn.00619180
add esp, 0xc
test eax, eax
je 0x66410a
push 0
lea eax, [ebp - 0x44]
push eax
push dword [ebp - 0x50]
call fcn.00618f40
add esp, 0xc
test eax, eax
je 0x66410a
lea ecx, [ebp - 0x44]
sub edi, 4
jb 0x6640b3
mov eax, dword [ecx]
cmp eax, dword [ebx]
jne 0x6640b8
add ecx, 4
add ebx, 4
sub edi, 4
jae 0x6640a2
cmp edi, 0xfffffffc
je 0x664103
mov al, byte [ecx]
cmp al, byte [ebx]
jne 0x6640e5
cmp edi, 0xfffffffd
je 0x664103
mov al, byte [ecx + 1]
cmp al, byte [ebx + 1]
jne 0x6640e5
cmp edi, 0xfffffffe
je 0x664103
mov al, byte [ecx + 2]
cmp al, byte [ebx + 2]
jne 0x6640e5
cmp edi, 0xffffffff
je 0x664103
mov al, byte [ecx + 3]
cmp al, byte [ebx + 3]
je 0x664103
push 0x7c
push str.....crypto_rsa_rsa_pss.c
push 0x68
push 0x7e
push 4
call fcn.005e34c0
add esp, 0x14
mov dword [ebp - 0x5c], 0
jmp 0x66410a
mov dword [ebp - 0x5c], 1
push 0x83
push str.....crypto_rsa_rsa_pss.c
push dword [ebp - 0x4c]
call fcn.005e9230
push dword [ebp - 0x50]
call fcn.006194c0
mov ecx, dword [ebp - 4]
add esp, 0x10
mov eax, dword [ebp - 0x5c]
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.006d0856
mov esp, ebp
pop ebp
ret