Function at 0x64d660
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x38
call fcn.006d13f0
push ebx
mov ebx, dword [ebp + 0x18]
mov eax, ebx
shl eax, 4
add eax, 6
mov dword [ebp - 0x28], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0xc], ebx
push esi
push edi
cmp eax, 0x1555555
ja 0x64dd94
imul edi, ebx, 0x600
push 0x257
push str.....cryptoececp_nistz256.c
lea eax, [edi + 0x220]
push eax
call fcn.005e91f0
mov esi, eax
add esp, 0xc
mov dword [ebp - 0x1c], esi
test esi, esi
je 0x64dd94
mov eax, ebx
push 0x259
shl eax, 5
add eax, ebx
push str.....cryptoececp_nistz256.c
push eax
call fcn.005e91f0
mov esi, eax
add esp, 0xc
mov dword [ebp - 4], esi
test esi, esi
je 0x64dd94
push 0x25a
lea eax, [ebx*4]
push str.....cryptoececp_nistz256.c
push eax
call fcn.005e91f0
mov edx, eax
add esp, 0xc
mov dword [ebp - 0x20], edx
test edx, edx
je 0x64dd94
mov ecx, dword [ebp - 0x1c]
mov eax, ecx
and eax, 0x3f
mov dword [ebp - 0x18], 0
sub ecx, eax
add ecx, 0x40
mov dword [ebp - 8], ecx
lea esi, [edi + ecx]
mov dword [ebp - 0x34], esi
test ebx, ebx
je 0x64da52
mov eax, dword [ebp - 4]
mov ebx, dword [ebp + 0x10]
inc eax
mov dword [ebp - 0x30], eax
mov eax, edx
sub eax, ebx
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x24], eax
mov eax, dword [ebp + 0x14]
sub eax, ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp + 0x18], ecx
mov dword [ebp - 0x38], eax
nop word [eax + eax]
push dword [ebx]
call fcn.005f68c0
add esp, 4
cmp eax, 0x100
jg 0x64d793
push dword [ebx]
call fcn.005f6750
add esp, 4
test eax, eax
jne 0x64d793
mov eax, dword [ebx]
jmp 0x64d7c8
push dword [ebp + 0x1c]
call fcn.005f7190
add esp, 4
mov dword [ebp - 0x2c], eax
test eax, eax
je 0x64ddaf
mov ecx, dword [ebp + 8]
push dword [ebp + 0x1c]
push dword [ecx + 8]
push dword [ebx]
push eax
call fcn.00633d10
add esp, 0x10
test eax, eax
je 0x64dd86
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x18]
xor ebx, ebx
mov edx, dword [ebp - 0x20]
push eax
mov dword [edx + ecx*4], eax
call fcn.005d9c10
shl eax, 2
add esp, 4
test eax, eax
jle 0x64d849
mov edi, dword [ebp - 0x30]
add edi, dword [ebp - 0x10]
mov esi, dword [ebp - 0x14]
nop dword [eax]
mov eax, dword [ebp - 0x24]
push dword [eax + esi]
call fcn.005d9a00
mov ecx, ebx
test ecx, ecx
jns 0x64d804
add ecx, 3
sar ecx, 2
mov ecx, dword [eax + ecx*4]
mov eax, ecx
shr eax, 8
mov byte [edi + ebx], al
mov eax, ecx
shr eax, 0x10
mov byte [edi + ebx + 1], al
mov eax, dword [ebp - 0x24]
mov byte [edi + ebx - 1], cl
shr ecx, 0x18
mov byte [edi + ebx + 2], cl
add ebx, 4
push dword [eax + esi]
call fcn.005d9c10
shl eax, 2
add esp, 8
cmp ebx, eax
jl 0x64d7f0
mov esi, dword [ebp - 0x34]
mov edi, dword [ebp + 0x18]
cmp ebx, 0x21
jge 0x64d86b
mov edi, dword [ebp - 0x10]
mov ecx, 0x21
sub ecx, ebx
add edi, ebx
add edi, dword [ebp - 4]
mov edx, ecx
shr ecx, 2
xor eax, eax
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov edi, dword [ebp + 0x18]
mov ebx, dword [ebp - 0x38]
add ebx, dword [ebp - 0x14]
push 8
mov eax, dword [ebx]
push dword [eax + 8]
push esi
call fcn.00636f30
add esp, 0xc
test eax, eax
je 0x64dd75
mov eax, dword [ebx]
push 8
push dword [eax + 0xc]
lea eax, [esi + 0x20]
push eax
call fcn.00636f30
add esp, 0xc
test eax, eax
je 0x64dd75
mov eax, dword [ebx]
push 8
push dword [eax + 0x10]
lea eax, [esi + 0x40]
push eax
call fcn.00636f30
add esp, 0xc
test eax, eax
je 0x64dd75
push 1
push esi
push edi
call fcn.00441080
lea edi, [esi + 0x60]
push esi
push edi
call fcn.00441560
push 2
push edi
push dword [ebp + 0x18]
call fcn.00441080
push esi
lea ebx, [esi + 0xc0]
push edi
push ebx
call fcn.00441760
push 3
push ebx
push dword [ebp + 0x18]
call fcn.00441080
push edi
push edi
call fcn.00441560
add esp, 0x40
push 4
push edi
push dword [ebp + 0x18]
call fcn.00441080
push ebx
push ebx
call fcn.00441560
push 6
push ebx
push dword [ebp + 0x18]
call fcn.00441080
push esi
lea ebx, [esi + 0x120]
push edi
push ebx
call fcn.00441760
push 5
push ebx
push dword [ebp + 0x18]
call fcn.00441080
push esi
lea eax, [esi + 0xc0]
push eax
lea edi, [esi + 0x180]
push edi
call fcn.00441760
add esp, 0x44
push 7
push edi
push dword [ebp + 0x18]
call fcn.00441080
lea eax, [esi + 0x60]
push eax
push eax
call fcn.00441560
push 8
lea eax, [esi + 0x60]
push eax
push dword [ebp + 0x18]
call fcn.00441080
lea eax, [esi + 0xc0]
push eax
push eax
call fcn.00441560
push 0xc
lea eax, [esi + 0xc0]
push eax
push dword [ebp + 0x18]
call fcn.00441080
push ebx
push ebx
call fcn.00441560
push 0xa
push ebx
push dword [ebp + 0x18]
call fcn.00441080
add esp, 0x48
push edi
push edi
call fcn.00441560
push 0xe
push edi
push dword [ebp + 0x18]
call fcn.00441080
lea eax, [esi + 0xc0]
push esi
push eax
push eax
call fcn.00441760
push 0xd
lea eax, [esi + 0xc0]
push eax
push dword [ebp + 0x18]
call fcn.00441080
push esi
push ebx
push ebx
call fcn.00441760
push 0xb
push ebx
mov ebx, dword [ebp + 0x18]
push ebx
call fcn.00441080
add esp, 0x44
push esi
push edi
push edi
call fcn.00441760
push 0xf
push edi
push ebx
call fcn.00441080
push esi
lea edi, [esi + 0x60]
push edi
lea ebx, [esi + 0xc0]
push ebx
call fcn.00441760
push 9
push ebx
mov ebx, dword [ebp + 0x18]
push ebx
call fcn.00441080
push edi
push edi
call fcn.00441560
push 0x10
push edi
push ebx
call fcn.00441080
mov eax, dword [ebp - 0x18]
add ebx, 0x600
add dword [ebp - 0x10], 0x21
inc eax
mov dword [ebp + 0x18], ebx
add esp, 0x44
mov ebx, dword [ebp - 0x14]
add ebx, 4
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], ebx
cmp eax, dword [ebp - 0xc]
jb 0x64d770
mov eax, dword [ebp - 4]
mov edi, 0xff
mov dword [ebp - 0x14], edi
movzx ecx, byte [eax + 0x1f]
shr ecx, 6
mov eax, ecx
and ecx, 1
shr eax, 1
add eax, ecx
push eax
push dword [ebp - 8]
push esi
call fcn.004410d0
movups xmm0, xmmword [esi]
mov ebx, dword [ebp + 0xc]
add esp, 0xc
movups xmmword [ebx], xmm0
movups xmm0, xmmword [esi + 0x10]
movups xmmword [ebx + 0x10], xmm0
movups xmm0, xmmword [esi + 0x20]
movups xmmword [ebx + 0x20], xmm0
movups xmm0, xmmword [esi + 0x30]
movups xmmword [ebx + 0x30], xmm0
movups xmm0, xmmword [esi + 0x40]
movups xmmword [ebx + 0x40], xmm0
movups xmm0, xmmword [esi + 0x50]
movups xmmword [ebx + 0x50], xmm0
nop dword [eax + eax]
mov ecx, dword [ebp - 0xc]
xor eax, eax
cmp edi, 0xff
sete al
cmp eax, ecx
jae 0x64dc13
lea edx, [edi - 1]
mov edi, edx
shr edx, 3
and edi, 7
mov dword [ebp - 0x38], edx
mov dword [ebp - 0x34], edi
mov edx, eax
imul edi, eax, 0x600
shl edx, 5
add edx, eax
mov dword [ebp - 0x24], edx
add edi, dword [ebp - 8]
sub ecx, eax
mov dword [ebp + 0x18], edi
mov dword [ebp - 0x18], ecx
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 4]
add eax, edx
movzx edx, byte [eax + ecx + 1]
movzx eax, byte [eax + ecx]
mov ecx, dword [ebp - 0x34]
shl edx, 8
or edx, eax
shr edx, cl
mov ecx, 0x3f
and edx, 0x3f
mov edi, edx
sub ecx, edx
shr edi, 5
dec edi
not edi
mov eax, edi
and ecx, edi
not eax
and edi, 1
and eax, edx
or ecx, eax
mov eax, ecx
and ecx, 1
shr eax, 1
add eax, ecx
lea edi, [edi + eax*2]
mov eax, edi
shr eax, 1
push eax
push dword [ebp + 0x18]
push esi
call fcn.004410d0
lea eax, [esi + 0x20]
push eax
lea eax, [esi + 0x80]
push eax
call fcn.004403a0
mov ecx, dword [esi + 0x80]
and edi, 1
neg edi
and ecx, edi
mov edx, edi
not edx
mov eax, edx
and eax, dword [esi + 0x20]
xor ecx, eax
mov eax, edi
mov dword [esi + 0x20], ecx
and eax, dword [esi + 0x84]
mov ecx, dword [esi + 0x24]
and ecx, edx
xor ecx, eax
mov dword [esi + 0x24], ecx
mov ecx, dword [esi + 0x28]
mov eax, dword [esi + 0x88]
and ecx, edx
and eax, edi
xor ecx, eax
mov eax, edi
mov dword [esi + 0x28], ecx
mov ecx, edx
and ecx, dword [esi + 0x2c]
and eax, dword [esi + 0x8c]
xor ecx, eax
mov dword [esi + 0x2c], ecx
mov ecx, edx
and ecx, dword [esi + 0x30]
mov eax, dword [esi + 0x90]
and eax, edi
xor ecx, eax
mov dword [esi + 0x30], ecx
mov ecx, dword [esi + 0x94]
mov eax, dword [esi + 0x34]
and ecx, edi
and eax, edx
xor ecx, eax
mov dword [esi + 0x34], ecx
mov ecx, dword [esi + 0x38]
mov eax, dword [esi + 0x98]
and ecx, edx
and eax, edi
xor ecx, eax
mov dword [esi + 0x38], ecx
and edi, dword [esi + 0x9c]
and edx, dword [esi + 0x3c]
push esi
xor edi, edx
push ebx
push ebx
mov dword [esi + 0x3c], edi
call fcn.00441760
mov edx, dword [ebp - 0x24]
add esp, 0x20
add dword [ebp + 0x18], 0x600
add edx, 0x21
sub dword [ebp - 0x18], 1
mov dword [ebp - 0x24], edx
jne 0x64daf2
mov edi, dword [ebp - 0x14]
push ebx
sub edi, 5
push ebx
mov dword [ebp - 0x14], edi
call fcn.00441560
push ebx
push ebx
call fcn.00441560
push ebx
push ebx
call fcn.00441560
push ebx
push ebx
call fcn.00441560
push ebx
push ebx
call fcn.00441560
add esp, 0x28
cmp edi, 5
jae 0x64dab0
cmp dword [ebp - 0xc], 0
jbe 0x64dd6c
mov eax, dword [ebp - 4]
mov dword [ebp + 0x18], eax
nop dword [eax + eax]
movzx edx, byte [eax]
mov ecx, 0x3f
and edx, 0x1f
add edx, edx
mov edi, edx
sub ecx, edx
shr edi, 5
dec edi
not edi
mov eax, edi
and ecx, edi
not eax
and edi, 1
and eax, edx
or ecx, eax
mov eax, ecx
and ecx, 1
shr eax, 1
add eax, ecx
lea edi, [edi + eax*2]
mov eax, edi
shr eax, 1
push eax
push dword [ebp - 8]
push esi
call fcn.004410d0
lea eax, [esi + 0x20]
push eax
lea eax, [esi + 0x80]
push eax
call fcn.004403a0
mov ecx, dword [esi + 0x80]
and edi, 1
neg edi
and ecx, edi
mov edx, edi
not edx
mov eax, edx
and eax, dword [esi + 0x20]
xor ecx, eax
mov eax, edi
mov dword [esi + 0x20], ecx
and eax, dword [esi + 0x84]
mov ecx, dword [esi + 0x24]
and ecx, edx
xor ecx, eax
mov dword [esi + 0x24], ecx
mov ecx, edi
and ecx, dword [esi + 0x88]
mov eax, dword [esi + 0x28]
and eax, edx
xor ecx, eax
mov dword [esi + 0x28], ecx
mov ecx, edi
and ecx, dword [esi + 0x8c]
mov eax, dword [esi + 0x2c]
and eax, edx
xor ecx, eax
mov eax, edi
mov dword [esi + 0x2c], ecx
mov ecx, edx
and ecx, dword [esi + 0x30]
and eax, dword [esi + 0x90]
xor ecx, eax
mov eax, edi
mov dword [esi + 0x30], ecx
mov ecx, edx
and ecx, dword [esi + 0x34]
and eax, dword [esi + 0x94]
xor ecx, eax
mov eax, edi
mov dword [esi + 0x34], ecx
mov ecx, edx
and ecx, dword [esi + 0x38]
and eax, dword [esi + 0x98]
xor ecx, eax
mov dword [esi + 0x38], ecx
mov ecx, dword [esi + 0x9c]
mov eax, dword [esi + 0x3c]
and ecx, edi
and eax, edx
push esi
xor ecx, eax
push ebx
push ebx
mov dword [esi + 0x3c], ecx
call fcn.00441760
mov eax, dword [ebp + 0x18]
add esp, 0x20
add dword [ebp - 8], 0x600
add eax, 0x21
sub dword [ebp - 0xc], 1
mov dword [ebp + 0x18], eax
jne 0x64dc60
mov dword [ebp - 0x28], 1
jmp 0x64ddaf
push 0x289
push str.....cryptoececp_nistz256.c
push 0x92
jmp 0x64dda0
push 0x26c
push str.....cryptoececp_nistz256.c
push 3
jmp 0x64dda0
push 0x25b
push str.....cryptoececp_nistz256.c
push 0x41
push 0xf2
push 0x10
call fcn.005e34c0
add esp, 0x14
push 0x2eb
push str.....cryptoececp_nistz256.c
push dword [ebp - 0x1c]
call fcn.005e9230
push 0x2ec
push str.....cryptoececp_nistz256.c
push dword [ebp - 4]
call fcn.005e9230
push 0x2ed
push str.....cryptoececp_nistz256.c
push dword [ebp - 0x20]
call fcn.005e9230
mov eax, dword [ebp - 0x28]
add esp, 0x24
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret